/* Offer flow uses the live retail catalogue; no price or gift is inferred from artwork. */
.offer-banner{margin:24px auto 12px;border-radius:28px;padding:30px 34px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:center;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 20% 10%,#7150df 0,transparent 60%),linear-gradient(125deg,#241254,#4b2acb);color:#fff;box-shadow:0 16px 40px #34206c18}
.offer-banner:before{content:"";position:absolute;width:440px;height:440px;border:1px solid #ffffff22;border-radius:50%;left:-180px;bottom:-300px;z-index:-1}
.offer-banner .offer-kicker{display:inline-flex;border:1px solid #ffffff44;background:#ffffff14;border-radius:30px;padding:6px 12px;color:#ddf45b;font-size:13px;font-weight:700}
.offer-banner h2{font-size:clamp(25px,3vw,36px);line-height:1.4;margin:10px 0 4px;text-wrap:balance;color:#fff;max-inline-size:21ch}
.offer-banner h2 em{font-style:normal;color:#ddf45b}
.offer-banner p{color:#eee9ff;font-size:14px;line-height:1.7;margin:8px 0 16px}
.offer-banner .offer-cta{background:#ddf45b;color:#241254;min-height:48px;border:0;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 20px;font-weight:800;font-size:15px;cursor:pointer;transition:background-color .18s,box-shadow .18s}
.offer-banner .offer-cta:hover{background:#edff88;box-shadow:0 4px 20px #0002}
.offer-art{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:center;gap:8px;width:100%;max-width:350px;justify-self:center;position:relative}
.offer-art figure{margin:0;background:#fff;padding:12px 9px;border-radius:18px;box-shadow:0 8px 18px #160a3d33;text-align:center;color:#241254;min-width:0}
.offer-art img{width:100%;height:108px;object-fit:contain;display:block}
.offer-art figcaption{font-size:15px;font-weight:800;margin-top:8px;line-height:1.6}.offer-art figcaption em{font-style:normal;display:block;color:#4b2acb;font-size:14px}
.offer-art .offer-plus{font-size:30px;font-weight:600;color:#ddf45b;text-align:center}
.offer-art .offer-gift-figure{border:3px solid #ddf45b;padding:9px 6px}
.offer-mini{display:flex;align-items:center;gap:14px;justify-content:space-between;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:16px 20px;margin:12px 0 24px;color:var(--ink)}
.offer-mini strong{font-size:17px}.offer-mini small{display:block;color:var(--muted);margin-top:5px}.offer-mini button{border:0;background:var(--lime);color:#241254;font:inherit;font-weight:800;border-radius:12px;padding:12px 18px;min-height:48px;white-space:nowrap;cursor:pointer}
#offer-dialog{max-width:600px;color:var(--ink);background:var(--paper)}
#offer-dialog .sheet-header h2{font-size:24px;line-height:1.4;margin:4px 0}
#offer-dialog .sheet-header .eyebrow{color:var(--blue)}
.offer-fields{display:grid;gap:20px}.offer-fields .field{font-weight:700;font-size:15px}
.offer-fields select{width:100%;min-height:50px;font:inherit;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px}
.offer-fields fieldset{margin:0;padding:0;border:0;min-width:0}.offer-fields legend{font-size:15px;font-weight:700;margin-bottom:10px}
.offer-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.offer-size-grid>.helper{grid-column:1/-1}
.offer-size{font:inherit;text-align:right;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:13px;padding:12px;min-height:76px;cursor:pointer;line-height:1.6}
.offer-size span{display:block;font-size:14px}.offer-size strong{font-size:16px;display:block;color:var(--blue)}.offer-size small{font-size:11px;color:var(--muted);font-weight:400}
.offer-size[aria-pressed=true]{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue);background:color-mix(in srgb,var(--blue) 9%,var(--white))}
.offer-quantity{display:flex;justify-content:space-between;align-items:center;gap:14px}.offer-quantity>div:first-child{min-width:0}.offer-quantity h3{margin:0;font-size:15px}.offer-quantity p{font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0 0}
.offer-stepper{display:flex;align-items:center;gap:4px;flex-shrink:0;border:1px solid var(--line);border-radius:14px;padding:3px;background:var(--white);direction:ltr}
.offer-stepper button{width:46px;height:46px;flex-shrink:0;border:0;border-radius:10px;color:var(--ink);background:transparent;font-size:23px;cursor:pointer}.offer-stepper button:disabled{opacity:.35;cursor:default}
.offer-stepper input{width:45px;text-align:center;background:transparent;border:0;font:inherit;font-weight:800;font-size:19px;color:var(--ink);height:46px;padding:0}
.offer-stepper input[aria-invalid=true]{box-shadow:inset 0 -2px var(--danger)}
.offer-selected{display:flex;align-items:center;gap:16px;margin-top:22px;padding:12px;background:var(--white);border:1px solid var(--line);border-radius:16px}
.offer-selected img{width:96px;height:76px;object-fit:contain;background:white;border-radius:10px;padding:4px}.offer-selected h3{margin:0 0 6px;font-size:18px}.offer-selected p{margin:0;font-size:13px;color:var(--muted)}
.offer-totals{margin:18px 0 0;display:grid;gap:11px}.offer-totals>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px}.offer-totals dt{font-size:14px;color:var(--muted)}.offer-totals dd{margin:0;font-weight:800;font-size:15px;text-align:left}.offer-totals .offer-total{border-top:1px solid var(--line);padding-top:13px}.offer-total dd{font-size:24px;color:var(--blue)}.offer-totals .offer-gift dd{color:var(--blue);font-size:14px}
#offer-dialog .offer-footer{display:block;padding-top:14px}.offer-footer p{font-size:13px;color:var(--muted);text-align:center;line-height:1.6;margin:0 0 10px}
#offer-whatsapp{display:flex;align-items:center;justify-content:center;gap:12px;background:#ddf45b;color:#241254;min-height:52px;font-weight:800;width:100%}
#offer-whatsapp[aria-disabled=true]{opacity:.45;pointer-events:none;cursor:default}
.offer-image-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:10px}
.offer-image-actions button,.offer-image-actions a{font:inherit;font-size:12px;font-weight:700;min-height:38px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);cursor:pointer;text-decoration:none}.offer-image-actions button:disabled{opacity:.4;cursor:default}
#offer-image-status{font-size:11px;margin:7px 0 0}
.offer-location{border-top:1px solid var(--line);padding-top:12px}.offer-location summary{cursor:pointer;font-size:13px;font-weight:700;min-height:40px;line-height:40px}.offer-location .field{display:block;padding-top:4px}
#offer-footer-summary{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 10px;font-size:13px;color:var(--muted)}#offer-footer-summary strong{font-size:23px;color:var(--blue)}
#offer-dialog [hidden]{display:none!important}
@media(max-width:600px){.offer-banner{grid-template-columns:1fr;padding:24px;margin-top:16px;gap:16px}.offer-banner h2{font-size:27px}.offer-banner p{margin-bottom:13px}.offer-banner .offer-cta{width:100%}.offer-art{display:none}.offer-mini{padding:14px;align-items:flex-start}.offer-mini strong{font-size:15px}.offer-mini small{font-size:12px;line-height:1.7}.offer-mini button{padding-inline:12px;font-size:13px}#offer-dialog .sheet-body{padding:18px}.offer-quantity{gap:8px}.offer-quantity p{font-size:11px}.offer-stepper button{width:40px}.offer-stepper input{width:37px}.offer-size span{font-size:13px}}
@media(prefers-reduced-motion:reduce){.offer-banner .offer-cta{transition:none}}
@media(max-width:600px){.offer-banner{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:14px}.offer-banner>div:first-child{display:contents}.offer-banner .offer-kicker{align-self:flex-start;order:0}.offer-banner h2{order:1;margin:0;max-inline-size:none}.offer-banner .offer-art{display:grid;order:2;max-width:none;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);gap:6px}.offer-banner p{order:3;font-size:12px;margin:0}.offer-banner .offer-cta{order:4}.offer-art img{height:94px}.offer-art figcaption{font-size:14px}.offer-art figcaption em{font-size:12px}}

/* Compact offer card: product preview, sizes, quantity, then a stable action area. */
.offer-art{max-width:300px;gap:6px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}
.offer-art figure{padding:8px;border-radius:14px}.offer-art img{height:76px}.offer-art figcaption{font-size:13px;line-height:1.4;margin-top:5px}.offer-art figcaption em{font-size:11px}.offer-art .offer-plus{font-size:25px}.offer-art .offer-gift-figure{padding:5px}
#offer-dialog{width:min(100% - 24px,560px);height:auto;max-height:calc(100dvh - 24px);inset:0;margin:auto;border-radius:24px;overflow:hidden}
#offer-dialog[open]{display:flex;flex-direction:column}
#offer-dialog .sheet-handle{display:none}
#offer-dialog .sheet-header{padding:12px 18px;min-height:64px;gap:8px}
#offer-dialog .sheet-header h2{font-size:20px;margin:2px 0 0}
#offer-dialog .sheet-header .eyebrow{font-size:11px}
#offer-dialog .sheet-body{padding:12px 18px;overflow:auto;overscroll-behavior:contain;min-height:0}
.offer-fields{gap:10px}.offer-product-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px}
.offer-fields .field{font-size:13px;margin:0}
.offer-fields select{min-height:44px;font-size:14px;padding:8px;margin-top:6px}
.offer-selected{margin:0;padding:6px;display:flex;flex-direction:column;gap:3px;background:#fff;border-radius:14px;color:#241254}
.offer-selected img{width:100%;height:96px;padding:0;object-fit:contain;border-radius:8px}
.offer-selected figcaption{text-align:center;width:100%}.offer-selected h3{font-size:14px;line-height:1.4;margin:0}.offer-selected p{font-size:11px;line-height:1.4;color:#605575;margin:0}
#offer-image-note{font-size:11px;line-height:1.4;margin:0}
.offer-fields legend{font-size:13px;margin-bottom:6px}
.offer-size-grid{gap:6px}.offer-size{min-height:50px;padding:6px 9px;border-radius:10px;line-height:1.4}.offer-size span{font-size:12px}.offer-size strong{font-size:14px;line-height:1.5}.offer-size small{font-size:10px}
.offer-quantity h3{font-size:13px}.offer-quantity p{font-size:11px;margin-top:2px}.offer-stepper{padding:0;border-radius:10px}.offer-stepper button{width:44px;height:44px}.offer-stepper input{width:32px;height:44px;font-size:17px}
.offer-totals{margin:0;padding:9px 10px;border-radius:12px;background:color-mix(in srgb,var(--blue) 6%,var(--white));gap:5px}.offer-totals>div{align-items:center;gap:8px}.offer-totals dt{font-size:12px}.offer-totals dd{font-size:13px}.offer-totals .offer-gift dd{font-size:12px}.offer-totals .offer-total{display:none}
.offer-location{padding:0;border:0}.offer-location summary{font-size:12px;min-height:30px;line-height:30px}.offer-location .field{padding:2px 0 6px}
#offer-dialog .offer-footer{padding:10px 18px calc(10px + env(safe-area-inset-bottom));background:var(--white);border-top:1px solid var(--line)}
#offer-footer-summary{margin-bottom:6px;font-size:12px}#offer-footer-summary strong{font-size:22px}
.offer-footer p{font-size:12px;margin-bottom:6px;line-height:1.4}
#offer-whatsapp{min-height:46px;padding:10px 12px;font-size:14px;border-radius:12px}
.offer-image-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:8px;margin-top:8px}
.offer-image-actions button,.offer-image-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;font-size:12px;padding:8px 10px;border-radius:10px;background:var(--paper);border-color:var(--line)}
#offer-image-share{background:var(--blue);color:#fff;border-color:var(--blue)}
#offer-image-status:empty{display:none}#offer-image-status{font-size:11px;margin-top:5px;line-height:1.4}.offer-footer small{font-size:10px;line-height:1.4;margin-top:6px}
@media(max-width:600px){.offer-banner .offer-art{max-width:300px;align-self:center;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}.offer-art img{height:72px}.offer-art figcaption{font-size:13px}.offer-art figcaption em{font-size:11px}.offer-banner{padding:20px;gap:12px}.offer-banner h2{font-size:25px}}
@media(max-height:760px){#offer-dialog .sheet-header{min-height:54px;padding-block:8px}#offer-dialog .sheet-body{padding-block:8px}.offer-fields{gap:7px}.offer-selected img{height:68px}.offer-selected h3{font-size:13px}.offer-size{min-height:46px;padding-block:4px}.offer-totals{padding-block:6px}#offer-dialog .offer-footer{padding-block:8px}.offer-footer small{margin-top:4px}}
@media(max-width:359px){#offer-dialog{width:calc(100% - 12px)}#offer-dialog .sheet-header,#offer-dialog .sheet-body,#offer-dialog .offer-footer{padding-inline:12px}.offer-size{padding-inline:6px}.offer-size span{font-size:11px}.offer-quantity{gap:5px}.offer-quantity p{font-size:10px}.offer-product-top{gap:8px}}
@media(prefers-reduced-motion:reduce){#offer-product-image.image-changing{animation:none}}

#offer-dialog .offer-fields{gap:8px}
/* Shared cart receipt actions keep a clear primary action and paired image tools. */
#order-preview-dialog .receipt-image-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:10px}
#order-preview-dialog .receipt-image-button{min-height:46px;padding:10px 12px;line-height:1.5;text-align:center;background:var(--paper);color:var(--ink)}
#order-preview-dialog #share-receipt{background:var(--blue);color:#fff;border-color:var(--blue)}
#order-preview-dialog .receipt-edit{display:block;min-height:44px;width:100%;margin-top:8px;text-align:center;border-radius:10px;background:transparent;color:var(--muted)}
@media(max-height:760px){#offer-dialog .offer-fields{gap:6px}}

#offer-dialog .offer-image-actions{margin-bottom:0}
@media(max-height:760px){
 #offer-dialog .offer-selected h3{display:none}
 #offer-dialog .offer-selected img{height:60px}
 #offer-dialog .offer-selected{padding:5px}
 #offer-dialog .offer-size-grid.has-many{grid-template-columns:repeat(3,minmax(0,1fr))}
 #offer-dialog .has-many .offer-size{padding:5px;min-height:58px}
 #offer-dialog .has-many .offer-size span{font-size:11px}
 #offer-dialog .has-many .offer-size strong{font-size:13px}
 #offer-dialog .has-many .offer-size small{font-size:9px}
 #offer-dialog .offer-totals{display:flex;justify-content:space-between;gap:8px;padding:7px 9px}
 #offer-dialog .offer-totals>div{display:block}
 #offer-dialog .offer-totals dt,#offer-dialog .offer-totals .offer-total{display:none}
 #offer-dialog .offer-totals dd{font-size:12px;line-height:1.5}
 #offer-dialog .offer-footer small{font-size:10px}
}

@media(max-width:359px) and (max-height:760px){#offer-dialog{max-height:calc(100dvh - 12px)}#offer-dialog .offer-fields{gap:4px}#offer-dialog .offer-selected img{height:48px}#offer-dialog .sheet-header{padding-block:6px;min-height:52px}#offer-dialog .sheet-header h2{font-size:18px}#offer-dialog .sheet-header .eyebrow{font-size:10px}}

#offer-dialog{height:fit-content}
#offer-image-status.is-ready{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

#offer-dialog .offer-image-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));align-items:stretch}

/* Decorative rings must not create a focus-scroll area inside the banner. */
.offer-banner{overflow:clip}
