/* Pinkaholic: the can. Soft can-pink grounds, frosted-label panels, raspberry ink, wine for depth.
   Shapes from the can: pill buttons like the lid, tall rounded frames like the tube. */
:root {
  --can: #F9D5DF;        /* page ground, like the backdrop and lid */
  --blush: #FFEAF0;
  --label: #FFF6F8;      /* the frosted label: panels */
  --white: #FFFFFF;
  --rasp: #E2306F;       /* logo pink: display type, rose, outlines (large text only) */
  --berry: #C81D57;      /* buttons */
  --deep: #B8164E;       /* small links and labels, dark band */
  --wine: #5C1834;       /* body text, footer */
  --wine-soft: #7A3A55;  /* secondary text */
  --petal: #FFD6E3;      /* text on dark */
  --line: #F0B9CA;       /* hairlines */
  --leaf: #2E9E5B;

  --display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --head-h: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scrollbar-color: var(--rasp) var(--blush); }
section[id] { scroll-margin-top: calc(var(--head-h) + 8px); }
body {
  margin: 0;
  background: var(--can);
  color: var(--wine);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--rasp);
  accent-color: var(--berry);
}
::selection { background: var(--rasp); color: var(--white); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }
.defs { position: absolute; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: var(--white); padding: 10px 16px; z-index: 50; border-radius: 999px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -0.015em; font-optical-sizing: auto; }
h2 { font-size: clamp(38px, 5.2vw, 68px); }
h3 { font-size: 26px; }
p { text-wrap: pretty; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px;
  background: var(--berry); color: var(--white);
  font: 600 16px/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(92, 24, 52, .4);
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--deep); color: var(--white); box-shadow: 0 10px 22px -10px rgba(92, 24, 52, .45); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--wine-soft); cursor: default; box-shadow: none; }
.btn--wide { width: 100%; min-height: 58px; font-size: 17px; }
.link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: 600 15px var(--sans); color: var(--deep);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link:hover { color: var(--wine); }

/* Notice and header */
.notice { margin: 0; text-align: center; background: var(--wine); color: var(--petal); font-size: 14px; font-weight: 500; padding: 8px var(--gutter); }
.top {
  position: sticky; top: 0; z-index: 30; height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); background: var(--can);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top__logo { display: block; padding: 6px 0; }
.top__logo img { width: 176px; height: auto; }
.top__nav { display: flex; gap: 6px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--wine); font-weight: 600; font-size: 16px; text-decoration: none; }
.top__nav a:hover { background: var(--blush); }
.top__actions { display: flex; align-items: center; gap: 6px; }
.menu-btn, .bag-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  background: none; border: 0; border-radius: 999px; color: var(--wine); cursor: pointer;
  font: 600 16px var(--sans);
}
.menu-btn { display: none; }
.menu-btn:hover, .bag-btn:hover { background: var(--blush); }
.bag-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.bag-btn__count {
  min-width: 24px; height: 24px; border-radius: 12px; background: var(--berry); color: var(--white);
  display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; padding: 0 7px; font-variant-numeric: tabular-nums;
}
.bag-btn__count.is-empty { background: var(--white); color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--line); }

/* Hero: the name on the ball, with the can beside it */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center;
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--max); margin: 0 auto; padding: clamp(24px, 5vw, 72px) var(--gutter) clamp(56px, 7vw, 104px);
}
.hero h1 { font-size: clamp(46px, 5.4vw, 84px); font-weight: 800; line-height: 0.94; letter-spacing: -0.025em; }
.hero__lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 30em; margin: 24px 0 30px; }
.try { max-width: 520px; }
.try__label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.try__row {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--rasp), 0 14px 30px -18px rgba(92, 24, 52, .45);
}
.try__row:focus-within { box-shadow: inset 0 0 0 2px var(--berry), 0 0 0 4px rgba(226, 48, 111, .18), 0 14px 30px -18px rgba(92, 24, 52, .45); }
.try input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 18px; font: 500 19px var(--sans); color: var(--wine); border-radius: 999px; }
.try input:focus { outline: none; }
.try input::placeholder { color: var(--wine-soft); opacity: .75; }
.try__note { margin: 12px 0 0 6px; font-size: 15px; color: var(--wine-soft); }

.hero__art { position: relative; justify-self: center; width: min(560px, 100%); aspect-ratio: 1; }
/* A boutique window: a soft-lit arch with a fine inner line, the ball resting at its foot. */
.hero__art::before, .hero__art::after { content: ""; position: absolute; border-radius: 999px 999px 24px 24px; pointer-events: none; }
.hero__art::before {
  inset: -2% 18% 4% 4%;
  background: radial-gradient(90% 60% at 50% 34%, var(--label) 0%, var(--blush) 52%, rgba(255, 234, 240, .55) 100%);
  box-shadow: 0 30px 60px -30px rgba(92, 24, 52, .28);
}
.hero__art::after { inset: calc(-2% + 10px) calc(18% + 10px) calc(4% + 10px) calc(4% + 10px); border: 1px solid rgba(226, 48, 111, .32); }
.hero__art > * { z-index: 1; }
.ball-canvas.hero__ball { position: absolute; inset: 6% 14% 10% 0; width: 86%; }
.hero__can {
  position: absolute; right: -6%; bottom: -8%; width: 21%; height: auto; aspect-ratio: 200 / 612;
  transform: rotate(7deg); filter: drop-shadow(0 22px 22px rgba(92, 24, 52, .22));
}
.ball-canvas { width: 100%; height: auto; aspect-ratio: 1; }

/* Designer */
.designer { background: var(--blush); padding: clamp(56px, 8vw, 112px) var(--gutter); border-radius: 48px 48px 0 0; }
.designer__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(28px, 5vw, 72px);
  max-width: var(--max); margin: 0 auto; align-items: start;
}
.designer__stage { position: sticky; top: calc(var(--head-h) + 24px); }
.stage {
  border-radius: 999px 999px 56px 56px; padding: 12% 6% 10%;
  background: radial-gradient(circle at 50% 42%, var(--white) 0, var(--can) 72%);
  box-shadow: inset 0 0 0 1.5px var(--rasp);
}
.preview-note { text-align: center; font-size: 14px; color: var(--wine-soft); margin: 12px 0 0; }
.designer__form { background: var(--label); border-radius: 32px; box-shadow: inset 0 0 0 1.5px var(--rasp); padding: clamp(22px, 3.5vw, 44px); }
.designer__head h2 { font-size: clamp(38px, 4.4vw, 56px); }
.designer__head p { margin: 10px 0 0; color: var(--wine-soft); }

.ideas { margin: 26px 0 30px; }
.ideas__label { margin: 0 0 10px; font-weight: 600; font-size: 15px; }
.ideas__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); color: var(--wine);
  font: 600 15px var(--sans); transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--rasp); background: var(--blush); }
.ideas__undo { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font-size: 15px; color: var(--wine-soft); }

fieldset { border: 0; padding: 0 0 26px; margin: 0 0 26px; min-width: 0; border-bottom: 1px solid var(--line); }
legend { font: 700 26px/1.2 var(--display); padding: 0; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.opt { font: 500 14px var(--sans); color: var(--wine-soft); }
.field { position: relative; margin-bottom: 16px; }
.field label, .range-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
input[type="text"] {
  width: 100%; font: 500 18px var(--sans); color: var(--wine);
  padding: 13px 68px 13px 16px; border: 1.5px solid var(--line); background: var(--white); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]:focus { outline: none; border-color: var(--rasp); box-shadow: 0 0 0 4px rgba(226, 48, 111, .18); }
input[type="text"][aria-invalid="true"] { border-color: var(--deep); }
.count { position: absolute; right: 14px; top: 44px; font-size: 14px; color: var(--wine-soft); font-variant-numeric: tabular-nums; pointer-events: none; }
.count.is-over { color: var(--deep); font-weight: 700; }
.field__error { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--deep); }

.options { display: grid; gap: 10px; }
.options--fonts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.options--inks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt-card, .swatch { position: relative; cursor: pointer; }
.opt-card input, .swatch input, .seg input, .sets input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card span {
  display: grid; place-items: center; min-height: 60px; border-radius: 14px; background: var(--white);
  border: 1.5px solid var(--line); font-size: 21px; transition: border-color .2s, background .2s;
}
.opt-card:hover span { border-color: var(--rasp); }
.opt-card input:checked + span { border: 2px solid var(--berry); background: var(--blush); }
.opt-card input:focus-visible + span, .seg input:focus-visible + span, .sets input:focus-visible + span { outline: 2px solid var(--wine); outline-offset: 3px; }
.swatch input:focus-visible ~ i { outline: 2px solid var(--wine); outline-offset: 5px; }
.f-script { font-family: "Great Vibes", cursive; font-size: 27px !important; }
.f-serif { font-family: var(--display); font-style: italic; font-weight: 600; }
.f-caps { font-family: "Cinzel", serif; font-weight: 600; font-size: 15px !important; letter-spacing: 0.08em; }
.f-modern { font-family: var(--sans); font-weight: 600; font-size: 13px !important; letter-spacing: 0.16em; text-transform: uppercase; }
.swatch { display: grid; justify-items: center; gap: 8px; font-size: 15px; font-weight: 500; padding: 4px 0; }
.swatch i { width: 44px; height: 44px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(92, 24, 52, .2); transition: box-shadow .2s; }
.swatch input:checked ~ i { box-shadow: inset 0 0 0 1px rgba(92, 24, 52, .2), 0 0 0 3px var(--label), 0 0 0 5px var(--berry); }
.swatch input:checked ~ span { font-weight: 700; }

.upload { display: grid; gap: 6px; }
.upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__drop {
  display: grid; justify-items: center; gap: 4px; padding: 22px 18px; border-radius: 18px;
  border: 1.5px dashed var(--rasp); background: var(--white); cursor: pointer; text-align: center; transition: background .2s;
}
.upload__drop img { width: 34px; height: auto; margin-bottom: 4px; }
.upload__drop:hover, .upload.is-over .upload__drop { background: var(--blush); }
.upload input:focus-visible + .upload__drop { outline: 2px solid var(--wine); outline-offset: 3px; }
.upload__drop strong { font: 700 20px var(--display); overflow-wrap: anywhere; }
.upload__drop span { font-size: 14px; color: var(--wine-soft); }
.upload .link { justify-self: center; }
.logo-opts { display: grid; gap: 14px; margin-top: 16px; }
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; gap: 4px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.seg label { cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 6px; border-radius: 999px; text-align: center; font-size: 15px; font-weight: 600; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--berry); color: var(--white); }
input[type="range"] { width: 100%; min-height: 32px; }
.checks { display: grid; gap: 4px; font-size: 15px; }
.checks label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.checks input { width: 20px; height: 20px; margin: 0; }
.hint { font-size: 14px; color: var(--wine-soft); margin: 0; }

.sets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sets label { cursor: pointer; }
.sets span { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); height: 100%; transition: border-color .2s, background .2s; }
.sets label:hover span { border-color: var(--rasp); }
.sets b { font: 700 21px var(--display); }
.sets small { font-size: 14px; color: var(--wine-soft); }
.sets em { font-style: normal; font-weight: 700; color: var(--deep); font-size: 13px; }
.sets input:checked + span { border: 2px solid var(--berry); background: var(--blush); }

.order { padding-top: 2px; }
.order__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 2px; font-weight: 600; }
.order__total strong { font: 700 44px var(--display); }
.order__ship { margin: 0 0 18px; font-size: 15px; color: var(--wine-soft); }
.order__eta { text-align: center; font-size: 15px; margin: 14px 0 0; color: var(--wine-soft); }
.order__eta b { color: var(--wine); font-weight: 700; }
.order__editing { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--blush); border-radius: 14px; padding: 4px 16px; font-size: 15px; margin: 0 0 14px; }
.order__soon { background: var(--blush); border-radius: 14px; padding: 12px 16px; font-size: 15px; margin: 16px 0 0; }

/* Phone-only sticky price bar */
.buybar { display: none; }

/* Sets */
.packs { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.packs__head, .occasions__head { max-width: var(--max); margin: 0 auto 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 16px 48px; align-items: end; }
.packs__head p, .occasions__head p { margin: 0; color: var(--wine-soft); }
.pack-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: var(--max); margin: 0 auto; align-items: stretch; }
.pack {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 26px 24px 24px;
  background: var(--label); border-radius: 28px;
}
.pack--featured { background: var(--white); box-shadow: inset 0 0 0 2px var(--rasp), 0 24px 40px -28px rgba(184, 22, 78, .55); }
.pack__badge { position: absolute; top: -13px; left: 24px; background: var(--berry); color: var(--white); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pack__look { height: 112px; display: flex; align-items: center; margin-bottom: 14px; }
.pack__balls { display: grid; grid-template-columns: repeat(var(--cols, 1), 26px); gap: 5px; }
/* The same ball photo as the designer, scaled so the ball fills the circle. */
.pack__balls i { width: 26px; height: 26px; border-radius: 50%; background: url("assets/ball.webp") center / 112% no-repeat; box-shadow: 0 3px 6px -3px rgba(92, 24, 52, .4); }
.pack__can { height: 112px; width: auto; transform: rotate(-6deg); filter: drop-shadow(0 12px 12px rgba(92, 24, 52, .2)); }
.pack h3 { font-size: 30px; }
.pack__qty { font-weight: 600; color: var(--wine-soft); font-size: 15px; }
.pack p { margin: 6px 0 0; color: var(--wine-soft); font-size: 15px; }
.pack__price { font: 700 40px/1 var(--display); margin-top: auto; padding-top: 18px; }
.pack__each { font-size: 14px; color: var(--wine-soft); margin-top: 4px; }
.pack .btn { margin-top: 18px; }
.packs__more { max-width: var(--max); margin: 28px auto 0; font-size: 16px; }

/* Occasions: staggered pairs of ball and words */
.occasions { background: var(--label); padding: clamp(64px, 9vw, 120px) var(--gutter); border-radius: 48px; margin: 0 clamp(0px, 1.5vw, 20px); }
.occ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 5vw, 80px); max-width: var(--max); margin: 0 auto; }
.occ { display: grid; grid-template-columns: minmax(120px, 230px) minmax(0, 1fr); gap: 20px clamp(16px, 2.4vw, 32px); align-items: center; }
.occ:nth-child(even) { transform: translateY(clamp(0px, 8vw, 110px)); }
.occ h3 { font-size: clamp(26px, 2.6vw, 34px); }
.occ p { margin: 8px 0 2px; color: var(--wine-soft); font-size: 16px; }
.occasions { padding-bottom: calc(clamp(64px, 9vw, 120px) + clamp(0px, 8vw, 110px)); }

/* How it works */
.how { background: var(--deep); color: var(--white); padding: clamp(64px, 9vw, 120px) var(--gutter); margin-top: clamp(64px, 9vw, 120px); }
.how h2 { max-width: var(--max); margin: 0 auto 48px; color: var(--white); }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.steps__num { display: block; font: italic 700 clamp(72px, 8vw, 112px)/0.9 var(--display); color: var(--petal); margin-bottom: 8px; }
.steps h3 { color: var(--white); font-size: 28px; }
.steps p { margin: 10px 0 0; color: var(--petal); }

/* Questions */
.faq { background: var(--blush); padding: clamp(64px, 9vw, 120px) var(--gutter); }
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 32px clamp(32px, 6vw, 96px); }
.faq > * { max-width: none; }
.faq__aside { align-self: start; position: sticky; top: calc(var(--head-h) + 32px); }
.faq__aside p { color: var(--wine-soft); margin: 16px 0 24px; max-width: 24em; }
.faq__aside img { width: 140px; height: auto; transform: rotate(-10deg); }
@media (min-width: 1328px) { .faq { padding-inline: calc((100vw - var(--max)) / 2); } }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 0; position: relative; font: 600 22px/1.3 var(--display); }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; background: var(--rasp); border-radius: 2px; transition: transform .25s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
summary:hover { color: var(--deep); }
details p { margin: 0 0 22px; max-width: 62ch; }

/* Footer */
.foot { background: var(--wine); color: var(--petal); text-align: center; padding: 72px var(--gutter) 40px; }
.foot__logo { margin: 0 auto 18px; width: 240px; height: auto; }
.foot p { margin: 0 auto 22px; max-width: 32em; }
.foot a { color: var(--petal); }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin-bottom: 22px; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; text-decoration: none; border-radius: 999px; }
.foot__nav a:hover { background: rgba(255, 214, 227, .14); color: var(--white); }
.foot__small { font-size: 14px; }
.foot :focus-visible { outline-color: var(--petal); }

/* Bag drawer */
html.bag-open { overflow: hidden; }
.bag { position: fixed; inset: 0; z-index: 100; }
.bag__scrim { position: absolute; inset: 0; background: rgba(92, 24, 52, 0.36); opacity: 0; transition: opacity .3s ease; }
.bag__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: grid; grid-template-rows: auto 1fr auto; background: var(--label);
  transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -24px 0 60px rgba(92, 24, 52, 0.18);
}
.bag.is-open .bag__scrim { opacity: 1; }
.bag.is-open .bag__panel { transform: none; }
.bag__head {
  display: grid; grid-template-columns: 1fr auto 44px; align-items: center; gap: 12px;
  background: var(--can); padding: 12px 12px 12px 22px; padding-top: calc(12px + env(safe-area-inset-top, 0px));
}
.bag__head h2 { font-size: 30px; }
.bag__close { width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); border: 0; border-radius: 50%; color: var(--wine); cursor: pointer; }
.bag__close:hover { background: var(--blush); }
.bag__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.8; }
.bag__n { font-size: 15px; font-weight: 600; color: var(--wine-soft); }
.bag__body { overflow-y: auto; padding: 4px 22px; }
.bag__undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding: 4px 6px 4px 16px; background: var(--blush); border-radius: 14px; font-size: 15px; }
.bag__items { list-style: none; margin: 0; padding: 0; }
.bag-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.bag-item__img { width: 92px; height: 92px; object-fit: contain; background: var(--can); border-radius: 22px; }
.bag-item__body { display: grid; gap: 2px; min-width: 0; }
.bag-item__name { margin: 0; font: 700 23px/1.1 var(--display); }
.bag-item__meta { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--wine-soft); }
.bag-item__detail { margin: 0; font-size: 15px; color: var(--wine-soft); overflow-wrap: anywhere; }
.bag-item__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.bag-item__price { font: 700 24px var(--display); }
.bag-item__actions { display: flex; gap: 24px; }
.stepper { display: inline-grid; grid-template-columns: 44px auto 44px; align-items: center; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.stepper button { height: 44px; background: none; border: 0; border-radius: 50%; color: var(--wine); font: 500 20px var(--sans); cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--blush); }
.stepper button:disabled { color: var(--line); cursor: default; }
.stepper span { padding: 0 6px; text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bag__empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 56px 16px; color: var(--wine-soft); }
.bag__empty img { width: 110px; height: auto; margin-bottom: 6px; }
.bag__empty p { margin: 0; max-width: 28ch; }
.bag__empty-title { font: 700 30px var(--display); color: var(--wine); }
.bag__empty .btn { margin-top: 18px; }
.bag__foot { padding: 18px 22px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; background: var(--white); box-shadow: 0 -1px 0 var(--line); }
.bag__line { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 600; }
.bag__line strong { font: 700 32px var(--display); }
.bag__line--small { font-size: 15px; font-weight: 500; color: var(--wine-soft); }
.bag__eta { margin: 0 0 6px; font-size: 15px; color: var(--wine-soft); }
.bag__eta b { color: var(--wine); }
.bag__how { background: var(--blush); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.bag__how p { margin: 0; }
.bag__error { margin: 0; font-size: 15px; font-weight: 600; color: var(--deep); background: var(--blush); padding: 10px 14px; border-radius: 14px; }
.bag__secure { margin: 0; text-align: center; font-size: 14px; color: var(--wine-soft); }

/* Policies and thank-you pages */
.doc-page .top { position: sticky; }
.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.doc h1 { font-size: clamp(44px, 7vw, 76px); font-weight: 800; margin-bottom: 18px; }
.doc h2 { font-size: clamp(30px, 4vw, 40px); margin: 52px 0 12px; }
.doc .draft { background: var(--label); border-radius: 14px; padding: 12px 16px; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--line); }
.doc ul { padding-left: 1.2em; }
.lede { font-size: 19px; max-width: 32em; margin: 0 0 28px; }
.thanks { text-align: center; display: grid; justify-items: center; }
.thanks img { width: 150px; height: auto; margin-bottom: 18px; }

/* Responsive */
@media (max-width: 860px) {
  .pack-cards { grid-template-columns: minmax(0, 520px); justify-content: center; row-gap: 28px; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .top__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 18px; background: var(--can); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(92, 24, 52, .5);
  }
  .top__nav.is-open { display: flex; }
  .top__nav a { min-height: 52px; font-size: 20px; font-family: var(--display); padding: 0 6px; border-radius: 12px; }
  .faq { grid-template-columns: 1fr; }
  .faq__aside { position: static; }
  .faq__aside img { display: none; }
}
@media (max-width: 860px) {
  :root { --head-h: 60px; }
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 12px; }
  .hero__art { order: -1; width: min(270px, 72%); margin-bottom: -4px; }
  .hero__lede { margin: 18px 0 22px; }
  .designer { border-radius: 32px 32px 0 0; padding-top: 40px; }
  .designer__grid { grid-template-columns: 1fr; gap: 0; }
  /* The preview stays in view while the form scrolls under it. */
  .designer__stage {
    top: var(--head-h); z-index: 5; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 10px;
    background: var(--blush); box-shadow: 0 1px 0 var(--line);
  }
  .stage { width: 168px; margin: 0 auto; padding: 0; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--white) 0, var(--can) 72%); }
  .preview-note { display: none; }
  .designer__form { margin-top: 16px; }
  .buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--wine); color: var(--white);
    transform: translateY(110%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .buybar.is-visible { transform: none; visibility: visible; }
  .buybar__price { margin: 0; display: grid; line-height: 1.2; }
  .buybar__price span { font-size: 14px; color: var(--petal); }
  .buybar__price strong { font: 700 26px var(--display); }
  .buybar .btn { background: var(--white); color: var(--deep); box-shadow: none; }
  .packs__head, .occasions__head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; }
  .steps__num { grid-row: span 2; font-size: 64px; }
  .steps p { margin-top: 4px; }
  .occ-grid { grid-template-columns: 1fr; gap: 28px; }
  .occ:nth-child(even) { transform: none; }
  .occasions { padding-bottom: clamp(64px, 9vw, 120px); }
}
@media (max-width: 520px) {
  .notice__more { display: none; }
  .notice { font-size: 13px; }
  .top__logo img { width: 138px; }
  .menu-btn, .bag-btn { padding: 0 10px; }
  .pack-cards { grid-template-columns: minmax(0, 1fr); }
  .pack { display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; padding: 22px 20px; }
  .pack > * { grid-column: 2; }
  .pack__look { grid-column: 1; grid-row: 1 / span 5; height: auto; align-self: start; justify-content: center; margin: 4px 0 0; }
  .pack__price { padding-top: 12px; }
  .pack .btn { grid-column: 1 / -1; }
  .pack__balls { grid-template-columns: repeat(min(var(--cols, 1), 3), 22px); gap: 4px; }
  .pack__balls i { width: 22px; height: 22px; }
      .pack__can { height: 120px; }
  .options--fonts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sets { grid-template-columns: 1fr; }
  .seg span { font-size: 14px; }
  .occ { grid-template-columns: 120px minmax(0, 1fr); }
  .try__row { flex-direction: column; border-radius: 26px; }
  .try input { min-height: 52px; }
  .try .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
.thanks .lede { margin-inline: auto; }
.thanks__words { margin: 0 auto 28px; max-width: 34em; }
.doc-page .top .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
