/* Buy X, Get Y offers: /offers, /offers/{id}, the home offers widget, the
   product-card promotion chip, the PDP promotion box and the cart offer
   notes. Theme tokens only, so light and dark need no separate rules. */
.ds-offers{color:var(--theme-text)}
.ds-offers-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:20px;margin:24px 0}
.ds-offers-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--theme-text-muted)}
.ds-offers h1{font-size:clamp(24px,3vw,32px);font-weight:700;margin:6px 0 10px;line-height:1.2;color:var(--theme-text-strong)}
.ds-offers-lead{max-width:700px;color:var(--theme-text-muted);line-height:1.65;margin:0}
.ds-offers-search{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ds-offers-search input{width:240px;max-width:100%;min-height:42px;border:1px solid var(--theme-border-strong);border-radius:var(--theme-radius-pill);padding:9px 16px;background:var(--theme-surface);color:var(--theme-text-strong)}
.ds-offers-search input::placeholder{color:var(--theme-text-subtle)}
.ds-offers-search input:focus{outline:none;border-color:var(--theme-primary);box-shadow:0 0 0 3px var(--theme-focus)}
.ds-offers .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.ds-offers-steps{display:flex;gap:12px 28px;flex-wrap:wrap;border-block:1px solid var(--theme-border);padding:16px 0;margin-bottom:28px;font-size:13px;color:var(--theme-text)}
.ds-offers-steps strong{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;margin-inline-end:8px;background:var(--theme-accent-soft);border:1px solid var(--theme-accent-border);color:var(--theme-text-strong);font-size:11px}
.ds-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ds-offer-card{border:1px solid var(--theme-border);border-radius:var(--theme-radius-2xl);background:var(--theme-surface);box-shadow:var(--theme-shadow-sm);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ds-offer-top{padding:22px 22px 18px;background:var(--theme-accent-soft);border-bottom:1px solid var(--theme-accent-border)}
.ds-offer-badge{display:inline-flex;align-items:center;gap:7px;border-radius:var(--theme-radius-pill);padding:4px 10px;background:var(--theme-accent-strong);color:var(--theme-on-accent);font-size:11px;font-weight:700}
.ds-offer-card h2,.ds-offer-card h3{font-size:22px;line-height:1.25;font-weight:700;margin:12px 0 0;color:var(--theme-text-strong)}
.ds-offer-body{padding:20px 22px;display:flex;flex-direction:column;gap:12px;flex:1}
.ds-offer-name{font-size:16px;font-weight:650;margin:0;color:var(--theme-text-strong)}
.ds-offer-description{font-size:13px;color:var(--theme-text-muted);margin:0;line-height:1.65}
.ds-offer-images{display:flex;gap:10px;min-height:76px}
.ds-offer-images img{width:76px;height:76px;object-fit:contain;border-radius:var(--theme-radius-lg);background:#fff;border:1px solid var(--theme-border)}
.ds-offer-images .ds-offer-gift{width:76px;height:76px;display:grid;place-items:center;border-radius:var(--theme-radius-lg);background:var(--theme-accent-soft);font-size:28px;color:var(--theme-accent)}
.ds-offer-meta{display:flex;flex-wrap:wrap;gap:5px 14px;color:var(--theme-text-muted);font-size:12px;line-height:1.6}
.ds-offer-action{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px}
.ds-offer-action small{color:var(--theme-text-muted)}
.ds-offer-action a,.ds-offer-action a:visited,.ds-cart-offer a,.ds-cart-offer a:visited{font-weight:700;color:var(--theme-accent)}
.ds-offer-action a:hover,.ds-cart-offer a:hover{color:var(--theme-accent-hover)}
.ds-offer-terms{border:1px solid var(--theme-border);border-radius:var(--theme-radius-2xl);padding:20px;background:var(--theme-surface);margin-bottom:24px;color:var(--theme-text)}
.ds-offer-terms strong{color:var(--theme-text-strong)}
.ds-offer-terms ul{padding-inline-start:20px;margin:10px 0 0;font-size:13px;line-height:1.9}
.ds-offer-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}
.ds-offer-tabs a,.ds-offer-tabs a:visited{border:1px solid var(--theme-border-strong);padding:9px 18px;border-radius:var(--theme-radius-pill);background:var(--theme-surface);color:var(--theme-text);font-size:13px;font-weight:600;text-decoration:none}
.ds-offer-tabs a:hover{border-color:var(--theme-primary);color:var(--theme-primary)}
.ds-offer-tabs a[aria-current=page]{background:var(--theme-primary);color:var(--theme-on-primary);border-color:var(--theme-primary)}
.ds-offer-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.ds-offer-product{min-width:0}
.ds-offer-options{padding:10px 4px;font-size:12px;line-height:1.7;color:var(--theme-text-muted)}
.ds-offer-options a,.ds-offer-options a:visited{display:inline-block;padding:3px 10px;margin:3px;border:1px solid var(--theme-border-strong);border-radius:var(--theme-radius-pill);color:var(--theme-text);background:var(--theme-surface);text-decoration:none}
.ds-offer-options a:hover{border-color:var(--theme-primary);color:var(--theme-primary)}
.ds-offer-pagination .pagination{flex-wrap:wrap;gap:4px;margin:25px 0}
.ds-offer-empty{padding:44px 20px;text-align:center;border:1px dashed var(--theme-border-strong);border-radius:var(--theme-radius-2xl);background:var(--theme-surface)}
.ds-offer-empty p{color:var(--theme-text-muted)}
/* Promotion chip on product cards */
.ds-promotion-card-link,.ds-promotion-card-link:visited{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:700;padding:3px 10px;border-radius:var(--theme-radius-pill);background:var(--theme-accent-soft);border:1px solid var(--theme-accent-border);color:var(--theme-text-strong);margin:0 0 10px;line-height:1.4;max-width:100%;white-space:normal;text-decoration:none}
.ds-promotion-card-link i{color:var(--theme-accent)}
.ds-promotion-card-link:hover{border-color:var(--theme-accent);color:var(--theme-text-strong);text-decoration:none}
/* Promotion box on the product page */
.ds-promo-box{padding:14px 16px;margin-bottom:12px;border:1px solid var(--theme-accent-border);border-radius:var(--theme-radius-xl);background:var(--theme-accent-soft);color:var(--theme-text)}
.ds-promo-box strong{color:var(--theme-text-strong)}
.ds-promo-box strong i{color:var(--theme-accent)}
.ds-promo-box small{color:var(--theme-text-muted)}
.ds-promo-box a,.ds-promo-box a:visited{color:var(--theme-accent)}
/* Offer notes in the cart */
.ds-cart-offers{margin-bottom:20px}
.ds-cart-offer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border:1px solid var(--theme-accent-border);background:var(--theme-accent-soft);border-radius:var(--theme-radius-xl);padding:16px 18px;margin-bottom:10px;color:var(--theme-text)}
.ds-cart-offer p{font-size:13px;margin:4px 0 0;color:var(--theme-text-muted)}
.ds-cart-offer a{font-size:13px}
@media(max-width:991px){.ds-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ds-offer-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:575px){.ds-offer-grid{grid-template-columns:minmax(0,1fr)}.ds-offer-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ds-offers-head{margin-top:20px}.ds-offers-search{width:100%}.ds-offers-search input{flex:1;min-width:0;width:auto}.ds-offer-top,.ds-offer-body{padding:18px}.ds-offers-steps{gap:12px;font-size:12px}.ds-offers-steps span{width:100%}.ds-offer-tabs a{flex:1;text-align:center}.ds-cart-offer{padding:14px}.ds-offer-images img{width:64px;height:64px}}
.ds-offer-grid--single{grid-template-columns:minmax(0,1fr)}
.ds-offer-grid--single>.ds-offer-card{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.ds-offer-grid--single .ds-offer-top{padding:28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-bottom:0;border-inline-end:1px solid var(--theme-accent-border)}
.ds-offer-grid--single .ds-offer-card h3{font-size:clamp(24px,3vw,32px)}
@media(max-width:575px){.ds-offer-grid--single>.ds-offer-card{grid-template-columns:minmax(0,1fr)}.ds-offer-grid--single .ds-offer-top{padding:20px;border-inline-end:0;border-bottom:1px solid var(--theme-accent-border)}}
