/* Christmas gift-set modal and the pre-checkout add-on step. */
.gift-modal,.addon-step{position:fixed;inset:0;z-index:3000;background:rgba(8,6,12,.72);display:flex;align-items:flex-end;justify-content:center}
.gift-modal[hidden],.addon-step[hidden]{display:none!important}
.gift-sheet,.addon-sheet{position:relative;background:#fffaf3;color:#1c1c1c;width:min(980px,100%);max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);min-height:0;overflow:auto;border-radius:22px 22px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(0,0,0,.35);text-align:left;box-sizing:border-box}
.gift-x{position:absolute;top:10px;right:10px;z-index:2;width:48px;height:48px;border-radius:50%;border:2px solid #1c1c1c;background:#fff;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important;font-size:32px;font-weight:700;line-height:1;cursor:pointer;padding:0}
.gift-title,.addon-title{font-size:26px!important;line-height:1.15!important;margin:0 48px 6px 0;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important;font-weight:800!important}
.gift-lead,.addon-lead{margin:0 0 12px;color:#3a3a46;font-size:15px}
.gift-grid,.addon-grid{display:flex;flex-direction:column;gap:12px}
.gift-card,.addon-card{border:2px solid #1c1c1c;border-radius:16px;padding:12px;background:#fff;min-width:0;overflow:hidden}
.gift-badge{display:inline-block;background:#0e5c28;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:800;font-size:12px;letter-spacing:.02em;border-radius:999px;padding:4px 10px;margin:0 0 6px}
body.hunk-flow .addon-sheet p,body.hunk-flow .gift-sheet p,body.season-xmas.hunk-flow .addon-sheet p,body.season-xmas.hunk-flow .gift-sheet p{color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
body.hunk-flow .addon-sheet .gift-badge,body.hunk-flow .gift-sheet .gift-badge,body.season-xmas.hunk-flow .addon-sheet .gift-badge,body.season-xmas.hunk-flow .gift-sheet .gift-badge{background:#0e5c28!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.addon-sets{margin:0 0 10px;font-size:14px;font-weight:800;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
.gift-by{margin:0 0 8px;font-size:13px;font-weight:700;color:#1a7a3a!important;-webkit-text-fill-color:#1a7a3a!important}
.gift-name{font-weight:800;font-size:18px;margin:0 0 8px;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
.gift-mock{width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:1/1;object-fit:contain;object-position:center;border-radius:12px;background:#f4efe8;display:block}
.gift-mocks{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gift-mocks .gift-mock{max-width:none}
.shot-pair{max-width:560px;margin:0 auto 14px;text-align:center}
.shot-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}
.shot-grid figure{margin:0}
.shot-grid img{width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;border-radius:14px;background:#f4efe8;display:block}
.shot-grid figcaption{margin:6px 0 0;font-weight:800;font-size:14px;color:#fff!important;-webkit-text-fill-color:#fff!important}
.shot-grid figcaption small{display:block;font-weight:500;font-size:12px;opacity:.8}
.gift-strip[hidden]{display:none}
.gift-strip{display:flex;gap:8px;overflow-x:auto;padding:8px 0;max-width:100%;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory}
.gift-strip button{flex:0 0 auto;width:68px;height:68px;min-width:68px;min-height:48px;border-radius:12px;border:3px solid transparent;padding:0;position:relative;overflow:hidden;background:#111;scroll-snap-align:start}
.gift-strip button img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.gift-strip button span{position:absolute;left:0;right:0;bottom:0;font:800 10px Inter,sans-serif;color:#fff!important;-webkit-text-fill-color:#fff!important;background:rgba(0,0,0,.78);text-align:center;padding:2px 0}
.gift-strip button[aria-pressed=true]{border-color:var(--brand-deep,#7A1F2B);box-shadow:0 0 0 3px var(--brand-deep,#7A1F2B)}
.gift-price{font-weight:800;font-size:22px;margin:4px 0;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
.gift-price s{font-size:14px;font-weight:600;color:#5b5d75;margin-left:6px}
.gift-save{margin:0 0 8px;font-size:14px;color:#3a3a46}
.gift-add,.addon-continue,.addon-back{width:100%;min-height:48px;border-radius:999px;font-weight:800;font-size:16px;cursor:pointer;white-space:normal!important;line-height:1.2;padding:12px 14px}
.gift-add,.addon-continue{border:0;background:var(--brand-deep,#7A1F2B);color:#fff!important;-webkit-text-fill-color:#fff!important}
.gift-add:disabled{opacity:.55}
.gift-close,.addon-back{margin-top:8px;border:2px solid #1c1c1c;background:#fff;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
.gift-note{font-size:12px;color:#5b5d75;margin:4px 0 8px}
.addon-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px;position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));z-index:2;background:#fffaf3;padding:10px 0 calc(10px + env(safe-area-inset-bottom));box-shadow:0 -10px 14px -10px rgba(0,0,0,.18)}
.addon-added{font-weight:800;color:#1a7a3a!important;-webkit-text-fill-color:#1a7a3a!important;margin:8px 0 0}
.addon-total{font-weight:800;font-size:22px;margin:0 0 10px;color:#1c1c1c!important;-webkit-text-fill-color:#1c1c1c!important}
.buy-addon-add[aria-pressed=true]{background:#1a7a3a!important}
@media(min-width:800px){
  .gift-modal,.addon-step{align-items:flex-start;padding:64px 12px 12px}
  .gift-sheet,.addon-sheet{border-radius:22px;padding:18px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  .gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .addon-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .addon-grid:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
}

.copy-offer-sheet{max-width:520px;margin:0 auto}
.copy-offer-sheet .addon-title{margin-right:48px}
@media(min-width:800px){
  .copy-offer-sheet{padding:28px 24px 22px}
}
