/* The Holiday Heap storefront. */
:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --ink: #1f2b24;
  --ink-soft: #56645b;
  --line: #e9dfcc;
  --wine: #7f0c11;
  --red: #c8202a;
  --pine: #1e4a35;
  --pine-deep: #13281d;
  --gold: #c9a04b;
  --gold-soft: #f2dfae;
  --sage: #dbe3d6;
  --blush: #f5ddd5;
  --good: #2f7a52;

  --f-script: 'Yellowtail', 'Brush Script MT', cursive;
  --f-caps: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 30, 20, .10);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 15.5px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.fx-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* ---------- type */
.script { font-family: var(--f-script); font-weight: 400; letter-spacing: .01em; }
.caps {
  font-family: var(--f-caps); font-stretch: 75%; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
}
.caps-sm { font-family: var(--f-caps); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--ink-soft); }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--f-caps); font-stretch: 75%; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--pine);
}
.eyebrow-gold { color: var(--gold-soft); }
.section-title {
  margin: 0 0 8px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em;
  text-wrap: balance; line-height: 1.05;
}
.section-title .caps { font-size: clamp(30px, 5vw, 50px); color: var(--pine); }
.section-title .script { font-size: clamp(36px, 6vw, 60px); color: var(--red); }
.section-lede { max-width: 60ch; margin: 0 0 28px; color: var(--ink-soft); }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--wine); color: #fff; box-shadow: 0 6px 16px rgba(127, 12, 17, .25); }
.btn-primary:hover { background: #941016; }
.btn-ghost { background: transparent; border-color: var(--pine); color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--pine-deep); }
.btn-gold:hover { background: #d8b363; }
.btn-wa { background: #1f8f4e; color: #fff; box-shadow: 0 6px 16px rgba(31, 143, 78, .3); }
.btn-wa:hover { background: #197a42; }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- announcement + header */
.announce { background: var(--wine); color: #fbe9e2; font-size: 13px; }
.announce-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding-block: 8px; text-align: center; }
.announce .dot { color: var(--gold); }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(251, 246, 236, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--red); position: relative; margin: 0; }
.logo-the { font-family: var(--f-script); font-size: 18px; color: var(--red); }
.logo-name { font-family: var(--f-script); font-size: 30px; line-height: 1; color: var(--red); }
.logo-flake { width: 16px; height: 16px; color: var(--good); align-self: flex-start; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: 14.5px; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); color: var(--pine); cursor: pointer; font-size: 14px; font-weight: 500;
}
.icon-btn svg { width: 18px; height: 18px; }
.music-btn[aria-pressed="true"] { background: var(--pine); color: var(--cream); border-color: var(--pine); }
.music-btn[aria-pressed="true"] svg { animation: bob 1s ease-in-out infinite; }
.music-btn.nudge { animation: nudge 2.4s ease-in-out 3; }
.snow-btn[aria-pressed="false"] { opacity: .5; }
@keyframes bob { 50% { transform: translateY(-2px) rotate(-6deg); } }
@keyframes nudge { 0%, 80%, 100% { box-shadow: 0 0 0 0 rgba(201, 160, 75, 0); } 40% { box-shadow: 0 0 0 6px rgba(201, 160, 75, .35); } }
.cart-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 14px;
  border-radius: 999px; border: 0; background: var(--red); color: #fff; font-weight: 600; cursor: pointer;
}
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--paper); color: var(--red); font-size: 12.5px; display: inline-grid; place-items: center; padding: 0 6px; font-variant-numeric: tabular-nums; }
.cart-btn.pop { animation: pop .5s ease; }
@keyframes pop { 30% { transform: scale(1.12) rotate(-3deg); } 60% { transform: scale(.96) rotate(2deg); } }

/* ---------- hero gift */
.hero { padding-block: 26px 10px; }
.gift {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(201, 160, 75, .10) 0 2px, transparent 3px) 0 0 / 46px 46px,
    linear-gradient(180deg, #fffdf8, #fbf3e3);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 104px clamp(20px, 4vw, 56px) 48px;
}
.ribbon { position: absolute; z-index: 0; }
.ribbon-v {
  top: 0; bottom: 0; right: 24%; width: 48px;
  background: linear-gradient(90deg, #8f0b12 0%, #c8202a 18%, #e5454c 40%, #b8121b 62%, #d0262e 82%, #8f0b12 100%);
  box-shadow: 0 0 18px rgba(127, 12, 17, .25);
}
.ribbon-h {
  left: 0; right: 0; top: 34px; height: 48px;
  background: linear-gradient(180deg, #8f0b12 0%, #c8202a 18%, #e5454c 40%, #b8121b 62%, #d0262e 82%, #8f0b12 100%);
  box-shadow: 0 0 18px rgba(127, 12, 17, .25);
}
.bow {
  position: absolute; z-index: 2; width: 190px; height: auto;
  top: -6px; right: calc(24% + 24px); transform: translateX(50%);
  filter: drop-shadow(0 6px 8px rgba(80, 10, 14, .35));
  transform-origin: 50% 40%;
  animation: bow-in .9s cubic-bezier(.3, 1.6, .5, 1) both;
}
@keyframes bow-in { from { transform: translateX(50%) scale(.6) rotate(-8deg); } to { transform: translateX(50%) scale(1) rotate(0); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.hero-title { margin: 0 0 14px; font-size: clamp(48px, 7.4vw, 92px); line-height: .98; color: var(--red); text-wrap: balance; }
.hero-title span { display: block; color: var(--pine); }
.lede { margin: 0 0 24px; max-width: 46ch; font-size: 17px; color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 20px 0 0; font-size: 14px; color: var(--ink-soft); }
.hero-note strong { font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 22px; color: var(--red); margin-right: 2px; }

.polaroids { position: relative; height: 420px; }
.polaroid {
  position: absolute; margin: 0; width: 56%; padding: 10px 10px 4px;
  background: #fff; border-radius: 4px; box-shadow: 0 14px 30px rgba(40, 20, 10, .18);
  transition: transform .3s ease;
}
.polaroid img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--sage); }
.polaroid figcaption { text-align: center; font-size: 22px; color: var(--pine); padding: 4px 0 2px; }
.polaroid.p1 { left: 0; top: 30px; transform: rotate(-6deg); z-index: 2; }
.polaroid.p2 { right: 0; top: 0; transform: rotate(5deg); z-index: 1; }
.polaroid.p3 { left: 24%; top: 170px; transform: rotate(2deg); z-index: 3; }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 4; }

/* ---------- pathways */
.paths { padding-block: 56px 20px; }
.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.path-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; text-decoration: none;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.path-card strong { font-family: var(--f-script); font-weight: 400; font-size: 34px; line-height: 1.1; color: var(--red); }
.path-card > span:not(.path-kicker):not(.path-go) { color: var(--ink-soft); font-size: 14.5px; }
.path-kicker { font-family: var(--f-caps); font-stretch: 75%; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; color: var(--pine); }
.path-go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--wine); }
.path-santa { background: var(--blush); border-color: #efcabf; }
.path-org { background: var(--sage); border-color: #c8d3c3; }

/* ---------- shop */
.shop { padding-block: 56px 40px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.deal-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.deal-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--gold-soft); color: var(--pine-deep); font-size: 13.5px; font-weight: 500;
}
.deal-pill b { background: var(--wine); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 12.5px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; min-width: 0;
}
.card-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; background: var(--paper); }
.card-media::before {
  content: ""; position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--sage);
}
.card:nth-child(even) .card-media::before { background: var(--blush); }
.card-media img {
  position: relative; width: 86%; aspect-ratio: 1; object-fit: contain;
  border-radius: 50%; mix-blend-mode: multiply; transition: transform .35s ease;
}
.card:hover .card-media img { transform: scale(1.04) rotate(-1.5deg); }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: var(--wine); color: #fff;
}
.badge-gold { background: var(--gold); color: var(--pine-deep); }
.badge-soft { background: var(--pine); color: var(--cream); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 4px 18px 18px; flex: 1; }
.card-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card-title h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.price { font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 24px; color: var(--red); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-blurb { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.deal-tag { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--wine); background: var(--blush); border-radius: 6px; padding: 2px 8px; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px; cursor: pointer;
  padding: 4px 10px; font-size: 12.5px; font-weight: 500; color: var(--ink);
}
.swatch-img { padding: 2px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.swatch[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 2px var(--blush); }
.swatch:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.variant-name { font-size: 13px; color: var(--ink-soft); margin: -4px 0 0; }
.stock-note { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.stock-note.low { color: var(--red); }
.stock-note.pre { color: var(--pine); }
.card-actions { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 42px; background: var(--cream); }
.qty button { width: 36px; height: 100%; border: 0; background: none; font-size: 18px; color: var(--pine); cursor: pointer; border-radius: 999px; }
.qty output, .qty span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-actions .btn { flex: 1; min-height: 42px; padding: 0 14px; }

/* ---------- glow band */
.glow-band { background: radial-gradient(circle at 75% 50%, #2a1416 0%, #120a0b 60%); color: #f6ece3; margin-block: 30px; }
.glow-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; padding-block: 44px; }
.glow-title { margin: 0 0 8px; font-size: clamp(56px, 8vw, 96px); line-height: 1; color: #ffd98a; text-shadow: 0 0 18px rgba(255, 196, 92, .55), 0 0 42px rgba(255, 120, 80, .35); }
.glow-copy p { max-width: 42ch; color: #e8d9cf; }
.glow-deal { font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 28px; color: #fff !important; text-transform: uppercase; margin: 6px 0 18px; }
.glow-img { border-radius: 20px; width: 100%; max-width: 520px; justify-self: center; }

/* ---------- builder (Secret Santa) */
.santa { padding-block: 56px 30px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.step-label { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--pine); color: var(--cream); font-size: 13px; font-weight: 700; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 22px; }
.tier {
  border: 2px solid var(--line); background: var(--cream); border-radius: 16px; padding: 12px 10px; cursor: pointer; text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.tier:hover { transform: translateY(-2px); }
.tier b { display: block; font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 30px; color: var(--red); line-height: 1.1; }
.tier small { color: var(--ink-soft); font-size: 12px; }
.tier[aria-pressed="true"] { border-color: var(--red); background: var(--blush); }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pick {
  display: grid; grid-template-rows: auto auto auto; gap: 6px; padding: 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream);
}
.pick.on { border-color: var(--pine); background: #f1f5ee; }
.pick img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: #fff; mix-blend-mode: multiply; }
.pick-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.pick-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.pick-row .qty { height: 34px; }
.pick-row .qty button { width: 30px; }
.pick select { width: 100%; font-size: 12.5px; padding: 4px 6px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }

.giftbox { position: sticky; top: 92px; }
.box-visual { position: relative; height: 150px; margin: 4px auto 14px; width: 190px; }
.box-body { position: absolute; bottom: 0; left: 10px; right: 10px; height: 104px; border-radius: 6px; background: var(--sage); overflow: hidden; border: 2px solid #b7c4b2; }
.box-fill { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(180deg, #f2c7bd, #e79f92); transition: height .45s cubic-bezier(.3, 1.4, .5, 1); }
.box-lid { position: absolute; left: 0; right: 0; top: 18px; height: 30px; border-radius: 6px; background: #c9d4c4; border: 2px solid #b7c4b2; transition: transform .45s ease; transform-origin: 10% 100%; }
.box-ribbon { position: absolute; top: 18px; bottom: 0; left: 50%; width: 18px; transform: translateX(-50%); background: linear-gradient(90deg, #8f0b12, #d4252e, #8f0b12); z-index: 2; }
.box-visual.full .box-lid { transform: rotate(-14deg) translateY(-6px); }
.meter { height: 10px; border-radius: 999px; background: var(--sage); overflow: hidden; margin: 6px 0; }
.meter i { display: block; height: 100%; background: var(--good); border-radius: 999px; transition: width .3s ease; }
.meter.over i { background: var(--red); }
.box-figures { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.box-status { font-size: 14px; font-weight: 500; margin: 10px 0 14px; min-height: 2.6em; }
.box-status.ok { color: var(--good); }
.box-status.warn { color: var(--red); }
.box-list { list-style: none; margin: 0 0 14px; padding: 0; font-size: 13.5px; display: grid; gap: 4px; }
.box-list li { display: flex; justify-content: space-between; gap: 8px; }

.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field .label { font-size: 13.5px; font-weight: 600; }
.field .hint { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 13px; font-size: 15px;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); outline: none; box-shadow: 0 0 0 3px rgba(30, 74, 53, .15); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wrap-options { display: flex; flex-wrap: wrap; gap: 8px; }
.error { color: var(--red); font-size: 13.5px; font-weight: 500; margin: 6px 0 0; }

/* ---------- organizations */
.org { padding-block: 56px 40px; }
.org-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1.5px solid var(--line); background: var(--cream); padding: 9px 14px; border-radius: 12px; cursor: pointer; font-weight: 500; font-size: 14px; }
.seg button[aria-pressed="true"] { border-color: var(--pine); background: var(--pine); color: var(--cream); }
.quote { background: var(--pine); color: #eef3ec; border-color: var(--pine); position: sticky; top: 92px; }
.quote h3 { margin: 0 0 4px; font-family: var(--f-script); font-weight: 400; font-size: 34px; color: var(--gold-soft); }
.quote dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 14px 0; font-variant-numeric: tabular-nums; }
.quote dt { color: #c7d5c8; }
.quote dd { margin: 0; text-align: right; font-weight: 600; }
.quote .total { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 10px; font-size: 18px; color: #fff; }
.quote .deposit { color: var(--gold-soft); }
.quote p { font-size: 13.5px; color: #c7d5c8; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--pine); }

.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; border-radius: 999px; border: 0; padding: 0 18px; height: 46px; background: #fff; color: var(--ink); }

/* ---------- referral */
.refer { background: var(--wine); color: #fbe9e2; margin-top: 40px; }
.refer-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 48px; }
.refer-title { margin: 0 0 10px; font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: #fff; }
.refer-title .script { font-weight: 400; color: var(--gold-soft); font-size: 1.1em; }
.refer p { max-width: 50ch; }
.refer-lookup label { display: block; font-weight: 600; margin-bottom: 8px; }
.refer-result { margin-top: 12px; min-height: 1.6em; }
.code-chip { display: inline-block; font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 28px; letter-spacing: .04em; background: #fff; color: var(--wine); padding: 4px 16px; border-radius: 10px; margin: 6px 0 10px; }
.share-card { margin: 18px auto 0; max-width: 420px; background: var(--blush); border-radius: 16px; padding: 16px; }

/* ---------- faq + footer */
.faq { padding-block: 56px; }
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 14px; color: var(--ink-soft); }
.site-footer { background: var(--pine-deep); color: #d9e3da; padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.logo-footer .logo-name, .logo-footer .logo-the { color: var(--gold-soft); }
.footer-contact { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-contact a { color: #fff; font-weight: 600; }
.site-footer .caps-sm { color: #9fb3a5; }

.wa-float {
  position: fixed; z-index: 55; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 0 16px 0 12px; height: 48px; border-radius: 999px;
  background: #1f8f4e; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 24px; height: 24px; }

/* ---------- drawer + modal */
.scrim { position: fixed; inset: 0; background: rgba(20, 12, 10, .45); z-index: 70; }
.drawer {
  position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--cream); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px);
  animation: slide-in .28s ease;
}
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 34px; color: var(--red); }
.drawer-body { flex: 1; overflow: auto; padding: 14px 20px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; background: var(--paper); }
.cart-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart-line img, .cart-line .thumb { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; background: var(--sage); mix-blend-mode: multiply; }
.thumb { display: grid; place-items: center; font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; color: var(--wine); font-size: 18px; background: var(--blush) !important; }
.cart-line h4 { margin: 0; font-size: 14.5px; font-weight: 600; }
.cart-line .meta { font-size: 12.5px; color: var(--ink-soft); }
.cart-line .line-price { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.cart-line .remove { font-size: 12.5px; }
.cart-line .qty { height: 32px; margin-top: 6px; }
.cart-line .qty button { width: 28px; }
.empty { text-align: center; padding: 40px 10px; color: var(--ink-soft); }
.empty .script { font-size: 34px; color: var(--pine); display: block; }
.progress { margin-bottom: 12px; font-size: 13.5px; }
.progress .meter { margin-top: 6px; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 14px; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.totals dt { color: var(--ink-soft); }
.totals dd { margin: 0; text-align: right; }
.totals .save { color: var(--good); }
.totals .grand { font-weight: 700; font-size: 18px; color: var(--ink); }
.totals .deposit-row { color: var(--wine); font-weight: 600; }

.modal { position: fixed; inset: 0; z-index: 90; background: rgba(20, 12, 10, .5); display: grid; place-items: center; padding: 16px; overflow: auto; }
.modal-card {
  width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--cream); border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .3); animation: rise .3s ease;
}
@keyframes rise { from { transform: translateY(20px); opacity: .6; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 0; }
.modal-head h2 { margin: 0; font-family: var(--f-script); font-weight: 400; font-size: 36px; color: var(--red); }
.steps { display: flex; gap: 6px; padding: 10px 22px 0; }
.steps span { flex: 1; height: 5px; border-radius: 999px; background: var(--line); }
.steps span.on { background: var(--pine); }
.modal-body { padding: 18px 22px 22px; }
.modal-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: 14px; }
.summary-list li { display: flex; justify-content: space-between; gap: 10px; }
.pay-box { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: 14px; margin-bottom: 14px; }
.pay-box b { color: var(--pine); }
.thanks { text-align: center; padding: 30px 22px 26px; }
.thanks .script { font-size: 54px; color: var(--red); margin: 0; line-height: 1.1; }
.order-no { display: inline-block; margin: 8px 0 14px; font-family: var(--f-caps); font-stretch: 75%; font-weight: 900; font-size: 26px; color: var(--pine); letter-spacing: .04em; }
.thanks ol { text-align: left; max-width: 420px; margin: 0 auto 18px; padding-left: 20px; color: var(--ink-soft); }
.thanks .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.send-note { max-width: 440px; margin: 0 auto 16px; background: var(--gold-soft); color: var(--pine-deep); border-radius: 14px; padding: 12px 14px; font-size: 14px; }

.toast {
  position: fixed; z-index: 95; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  background: var(--pine-deep); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25); max-width: calc(100% - 32px);
}

/* ---------- responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .builder, .org-layout { grid-template-columns: minmax(0, 1fr); }
  .giftbox, .quote { position: static; }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .polaroids { height: 250px; max-width: 460px; width: 100%; margin: 0 auto; }
  .polaroid { width: 42%; }
  .polaroid.p1 { top: 20px; }
  .polaroid.p3 { left: 29%; top: 60px; }
  .path-grid { grid-template-columns: minmax(0, 1fr); }
  .glow-inner, .refer-inner { grid-template-columns: minmax(0, 1fr); }
  .ribbon-v { right: 16px; width: 30px; }
  .ribbon-h { top: 24px; height: 30px; }
  .bow { width: 96px; right: 31px; top: -4px; }
  .gift { padding-top: 76px; padding-right: 62px; }
  .polaroids { margin-right: -40px; width: calc(100% + 40px); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .announce { font-size: 12px; }
  .announce .opt { display: none; }
  .announce-inner { flex-direction: column; gap: 0; padding-block: 6px; }
  .header-inner { gap: 10px; min-height: 60px; }
  .logo { white-space: nowrap; }
  .logo-flake { display: none; }
  .logo-the { font-size: 14px; }
  .header-actions { gap: 6px; }
  .icon-btn { min-width: 38px; height: 38px; padding: 0 8px; }
  .music-label { display: none; }
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 0 12px; }
  .logo-name { font-size: 24px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 2px 12px 14px; gap: 8px; }
  .card-title { flex-direction: column; gap: 2px; }
  .card-title h3 { font-size: 15px; }
  .price { font-size: 21px; }
  .card-blurb { display: none; }
  .card-actions { flex-direction: column; align-items: stretch; }
  .card-actions .qty { justify-content: space-between; }
  .swatch-img { width: 34px; height: 34px; }
  .pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pick { padding: 8px; }
  .panel { padding: 16px; }
  .wa-float span { display: none; }
  .wa-float { padding: 0 12px; }
  .hero-title { font-size: 52px; }
}
