/* RIPE Yogurt · inner pages. Built on the tokens in styles.css. */

/* ---------- page head ---------- */
.phead { position: relative; overflow: clip; padding-block: clamp(28px, 4.5vw, 64px) clamp(28px, 4vw, 56px);
  background: radial-gradient(90% 120% at 15% 0%, #FFF1E0 0, var(--cream) 60%); }
.phead__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); margin-block-end: 14px; padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-inline-end: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--leaf); }
.phead h1 { font-size: clamp(40px, 5.2vw, 76px); }
.phead h1 em { font-style: normal; color: var(--leaf); }
.phead__lead { color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); max-width: 52ch; margin-block-start: 14px; }
.phead__art { width: clamp(140px, 18vw, 260px); filter: drop-shadow(0 24px 22px rgb(58 16 51 / .25)); rotate: -6deg; }
.phead__ghost { position: absolute; inset-inline-start: 4%; bottom: -8%; z-index: 0; pointer-events: none;
  font: 400 clamp(110px, 16vw, 260px)/1 'Yellowtail', 'Brush Script MT', cursive; color: var(--plum); opacity: .05; rotate: -6deg; }
.phead__in > * { position: relative; z-index: 1; }

/* sticky jump chips under the header */
.jump { position: sticky; top: 64px; z-index: 20; background: rgb(251 243 230 / .94); backdrop-filter: blur(8px); border-block: 1px solid var(--line); }
.jump__in { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: none; }
.jump__in::-webkit-scrollbar { display: none; }
.jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; transition: all .2s; }
.jump a img { width: 26px; height: 26px; object-fit: contain; }
.jump a:hover, .jump a.is-current { border-color: var(--plum); background: var(--plum); color: var(--cream); }

.block { padding-block: clamp(48px, 6vw, 88px); scroll-margin-top: 130px; }
.block + .block { padding-block-start: 0; }
.block__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-block-end: 28px; }
.block__head h2 { font-size: var(--fs-h2); }
.block__head p { color: var(--muted); max-width: 52ch; margin-block-start: 8px; }

/* ---------- flavours (ice-cream page) ---------- */
.ftools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-block-end: 24px; }
.fsearch { position: relative; flex: 1 1 260px; max-width: 360px; }
.fsearch input { width: 100%; min-height: 48px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--paper); padding: 0 46px 0 18px; font: inherit; color: var(--plum); }
.fsearch input:focus { outline: none; border-color: var(--plum); }
.fsearch svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; }
.fcount { font-size: 14px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; padding: 0; margin: 0; list-style: none; }
.fcard { width: 100%; background: var(--paper); border: 0; border-radius: var(--r-card); box-shadow: var(--shadow); padding: 14px 10px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.fcard__ball { width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--tint, var(--cream-2)); display: grid; place-items: center; margin-block-end: 8px; }
.fcard__ball img { width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 8px 8px rgb(58 16 51 / .18)); transition: transform .6s var(--ease-soft); }
.fcard:hover .fcard__ball img { transform: scale(1.04) rotate(-3deg); }
.fcard h3 { font: 700 16px/1.25 var(--f-body); }
.fcard small { font-size: 12px; color: var(--muted); }
.fcard .sticker { font-size: 10px; padding: 2px 8px 1px; margin-block-start: 4px; }
.fempty { padding: 32px; text-align: center; color: var(--muted); }

/* dialog (flavour details) */
.dlg { border: 0; padding: 0; border-radius: 28px; width: min(760px, calc(100% - 32px)); background: var(--cream); color: var(--plum); box-shadow: var(--shadow-lift); }
.dlg::backdrop { background: rgb(42 10 37 / .5); }
.dlg__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.dlg__media { background: var(--tint, var(--tint-peach)); display: grid; place-items: center; padding: 28px; }
.dlg__media img { width: 100%; max-width: 280px; filter: drop-shadow(0 20px 18px rgb(58 16 51 / .25)); }
.dlg__body { padding: 32px 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.dlg__body h2 { font-size: 34px; }
.dlg__body p { color: var(--muted); }
.dlg__close { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--paper); box-shadow: var(--shadow); }
.dlg dl { margin: 0; display: grid; gap: 10px; font-size: 15px; }
.dlg dt { font-weight: 700; }
.dlg dd { margin: 0; color: var(--muted); }
.allergens { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.allergens li { font-size: 13px; padding: 4px 10px; border-radius: var(--r-pill); background: #F4E1E4; color: #8B1E3A; font-weight: 500; }
.allergens li.is-free { background: var(--tint-mint); color: var(--leaf); }

/* gift card art (also used as a product image fallback) */
.gift-hero { background: var(--plum); color: var(--cream); border-radius: 36px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.gift-hero h2 { font-size: var(--fs-h2); }
.gift-hero p { opacity: .8; margin-block: 10px 20px; }
.gift-hero img { width: min(100%, 420px); justify-self: center; rotate: -6deg; filter: drop-shadow(0 30px 30px rgb(0 0 0 / .35)); }
.gift-hero .pill { background: transparent; color: var(--cream); border-color: rgb(251 243 230 / .35); min-height: 44px; padding: 0 18px; font-size: 16px; }
.gift-hero .pill[aria-checked="true"] { background: var(--cream); color: var(--plum); }
.gift-hero__row { display: flex; align-items: center; gap: 16px; margin-block-start: 22px; flex-wrap: wrap; }
.gift-hero__price { font: 700 30px var(--f-display); color: var(--lime); }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: 16px clamp(48px, 6vw, 88px); }
.pdp__gallery { position: sticky; top: 92px; }
.pdp__stage { aspect-ratio: 1; border-radius: 32px; background: var(--tint, var(--tint-peach)); box-shadow: var(--shadow); display: grid; place-items: center; overflow: hidden; position: relative; }
.pdp__stage img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 30px 26px rgb(58 16 51 / .28)); transition: opacity .35s var(--ease-soft), transform .6s var(--ease-soft); }
.pdp__stage .pcard__tags { top: 22px; inset-inline-start: 22px; }
.pdp__thumbs { display: flex; gap: 10px; margin-block-start: 14px; padding: 0; list-style: none; flex-wrap: wrap; }
.pdp__thumbs button { width: 76px; height: 76px; border-radius: 18px; border: 2px solid transparent; background: var(--paper); box-shadow: var(--shadow); padding: 6px; }
.pdp__thumbs button[aria-current="true"] { border-color: var(--plum); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__info h1 { font-size: clamp(36px, 4vw, 58px); }
.pdp__desc { color: var(--muted); font-size: 18px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; }
.pdp__price bdi { font: 700 40px var(--f-display); }
.pdp__price small { color: var(--muted); font-size: 15px; }
.opt h2 { font: 700 17px var(--f-body); margin-block-end: 10px; display: flex; justify-content: space-between; gap: 12px; }
.opt h2 span { font-weight: 500; color: var(--muted); font-size: 15px; }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.size { flex: 1 1 120px; min-height: 64px; border-radius: 18px; border: 2px solid var(--line); background: var(--paper); padding: 10px 14px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px; font-weight: 700; transition: all .2s; }
.size small { font-weight: 400; font-size: 13px; color: var(--muted); }
.size:hover:not(:disabled) { border-color: var(--plum); }
.size[aria-checked="true"] { border-color: var(--plum); background: var(--plum); color: var(--cream); }
.size[aria-checked="true"] small { color: rgb(251 243 230 / .75); }
.size:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.fpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; margin: -4px; overscroll-behavior: contain; }
.fpick button { position: relative; border: 2px solid transparent; border-radius: 16px; background: var(--paper); box-shadow: 0 1px 3px rgb(58 16 51 / .08); padding: 8px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; line-height: 1.2; transition: border-color .2s, transform .3s var(--ease-soft); }
.fpick button img { width: 64px; height: 64px; object-fit: contain; }
.fpick button:hover { transform: translateY(-2px); }
.fpick button[aria-pressed="true"] { border-color: var(--leaf); background: var(--tint-mint); }
.fpick button[aria-pressed="true"]::after { content: '✓'; position: absolute; top: 6px; inset-inline-start: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf); color: var(--cream); font-size: 12px; line-height: 20px; }
.fpick button:disabled { opacity: .4; cursor: not-allowed; }
.fpick__msg { font-size: 14px; color: #9B1C3A; min-height: 1.3em; margin-block-start: 6px; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.buy .qty button { width: 44px; height: 44px; }
.buy .btn { flex: 1; min-height: 56px; font-size: 17px; }
.perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 0; list-style: none; }
.perks li { background: var(--paper); border-radius: 16px; padding: 12px; font-size: 14px; display: flex; gap: 8px; align-items: center; box-shadow: 0 1px 3px rgb(58 16 51 / .06); }
.perks svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fact { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 24px; }
.fact h3 { font-size: 22px; margin-block-end: 10px; }
.fact p { color: var(--muted); font-size: 15px; }
.stickybuy { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; background: var(--paper); box-shadow: 0 -10px 30px -12px rgb(58 16 51 / .3); padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 14px; translate: 0 110%; transition: translate .45s var(--ease-soft); }
.stickybuy.is-on { translate: 0 0; }
.stickybuy img { width: 48px; height: 48px; object-fit: contain; }
.stickybuy strong { display: block; font-size: 15px; }
.stickybuy bdi { font-weight: 700; color: var(--muted); font-size: 14px; }
.stickybuy .btn { margin-inline-start: auto; }

/* ---------- builder page ---------- */
.bld { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 8px clamp(48px, 6vw, 88px); }
.bld__stage { position: sticky; top: 84px; }
.bld__cup { position: relative; width: 100%; aspect-ratio: 1 / 1.08; max-height: calc(100svh - 120px); margin-inline: auto; }
.bld__plate { position: absolute; inset-inline: 6%; bottom: 3%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #FFE2C4 0, #FAD0B0 60%, #F6C3A3 100%); }
.bld__stack { position: absolute; bottom: 0; left: 50%; height: 100%; aspect-ratio: 525 / 1100; translate: -50% 0; scale: var(--scale, .92); transform-origin: 50% 100%; transition: scale .6s var(--ease-soft); }
.bld__stack > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s var(--ease-soft); }
.bld__stack > img.is-hidden { opacity: 0; }
.bld__photo { filter: drop-shadow(0 26px 22px rgb(58 16 51 / .25)); }
.bld__label { position: absolute; top: 4%; inset-inline-end: 2%; z-index: 2; }
.bld__ghost { position: absolute; left: 50%; top: 46%; translate: -50% -50%; rotate: -7deg; z-index: 0; font: 400 clamp(120px, 15vw, 240px)/1 'Yellowtail', cursive; color: var(--plum); opacity: .06; white-space: nowrap; pointer-events: none; }
.bld__panel { display: flex; flex-direction: column; gap: 22px; }
.chefs { display: flex; gap: 10px; flex-wrap: wrap; }
.chefs button { min-height: 42px; padding: 0 16px; border-radius: var(--r-pill); border: 1.5px dashed var(--plum); background: transparent; font-weight: 500; font-size: 15px; }
.chefs button:hover { background: var(--plum); color: var(--cream); border-style: solid; }
.steps-nav { display: flex; gap: 6px; padding: 0; margin: 0; list-style: none; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.steps-nav button { background: none; border: 0; padding: 12px 12px 14px; font-weight: 500; color: var(--muted); border-bottom: 3px solid transparent; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.steps-nav button b { width: 24px; height: 24px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 13px; color: var(--plum); }
.steps-nav button[aria-selected="true"] { color: var(--plum); border-color: var(--leaf); }
.steps-nav button[aria-selected="true"] b { background: var(--leaf); color: var(--cream); }
.steps-nav button.is-done b { background: var(--tint-mint); color: var(--leaf); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.tile { position: relative; width: 100%; border: 2px solid transparent; border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); padding: 12px 8px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; line-height: 1.2; text-align: center; transition: border-color .2s, transform .4s var(--ease-soft), background .2s; }
.tile img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 6px rgb(58 16 51 / .15)); }
.tile small { font-size: 12px; color: var(--muted); font-weight: 400; }
.tile:hover:not(:disabled) { transform: translateY(-3px); }
.tile[aria-pressed="true"], .tile[aria-checked="true"] { border-color: var(--leaf); background: var(--tint-mint); }
.tile[aria-pressed="true"]::after, .tile[aria-checked="true"]::after { content: '✓'; position: absolute; top: 8px; inset-inline-start: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--leaf); color: var(--cream); font-size: 13px; line-height: 22px; }
.tile:disabled { opacity: .45; cursor: not-allowed; }
.tile--size { padding-block: 18px; }
.tile--size strong { font: 700 22px var(--f-display); }
.tile--text { padding: 18px 12px; justify-content: center; min-height: 92px; }
.bld__hint { font-size: 14px; color: var(--muted); }
.bld__nav { display: flex; justify-content: space-between; gap: 10px; }
.summary { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 24px; }
.summary ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.summary li { display: inline-flex; align-items: center; gap: 6px; background: var(--cream); border-radius: var(--r-pill); padding: 4px 6px 4px 12px; font-size: 14px; }
.summary li button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--cream-2); font-size: 12px; line-height: 1; }
.summary__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.summary__price { font: 700 34px var(--f-display); }
.summary__note { font-size: 14px; color: var(--muted); }

/* ---------- cart page ---------- */
.stepper { display: flex; gap: 8px; align-items: center; padding: 0; margin: 0 0 26px; list-style: none; font-size: 15px; color: var(--muted); flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; }
.stepper li + li::before { content: ''; width: 28px; height: 2px; background: var(--line); }
.stepper b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--plum); font-size: 14px; }
.stepper .is-on { color: var(--plum); font-weight: 700; }
.stepper .is-on b { background: var(--leaf); color: var(--cream); }
.stepper .is-done b { background: var(--tint-mint); color: var(--leaf); }
.cartp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: 8px clamp(48px, 6vw, 88px); }
.cartp__lines { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); padding: 8px 24px; }
.cartp .line { grid-template-columns: 96px minmax(0, 1fr) auto; padding-block: 20px; }
.cartp .line:last-child { border-bottom: 0; }
.cartp .line__img { width: 96px; height: 96px; object-fit: contain; background: var(--cream); }
.cartp .line__name { font-size: 19px; }
.side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.box { background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.box h2 { font-size: 22px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice button { border: 2px solid var(--line); border-radius: 18px; background: var(--cream); padding: 12px; text-align: start; display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.choice button small { font-weight: 400; color: var(--muted); font-size: 13px; }
.choice button[aria-checked="true"] { border-color: var(--plum); background: var(--plum); color: var(--cream); }
.choice button[aria-checked="true"] small { color: rgb(251 243 230 / .75); }
.select { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); padding: 0 14px; font: inherit; color: var(--plum); }
.warn { font-size: 14px; background: #FFF1D6; color: #7A4B00; border-radius: 12px; padding: 10px 12px; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; }
.sumrows { display: grid; gap: 8px; margin: 0; }
.sumrows div { display: flex; justify-content: space-between; font-size: 16px; }
.sumrows dt { color: var(--muted); }
.sumrows dd { margin: 0; font-weight: 500; }
.sumrows .total { font-size: 20px; padding-block-start: 10px; border-top: 1px solid var(--line); }
.sumrows .total dt, .sumrows .total dd { color: var(--plum); font-weight: 700; }
.paylogos { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: 13px; color: var(--muted); }
.paylogos span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; font-weight: 700; }
.empty { text-align: center; padding: clamp(40px, 8vw, 96px) 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty img { width: 160px; rotate: -10deg; filter: drop-shadow(0 18px 16px rgb(58 16 51 / .2)); }
.empty h2 { font-size: var(--fs-h2); }
.empty p { color: var(--muted); }

/* ---------- forms (checkout, contact) ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; }
.field input, .field textarea, .field select { min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 10px 14px; font: inherit; color: var(--plum); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgb(30 122 70 / .18); }
.field .err { font-size: 13px; color: #9B1C3A; min-height: 1.2em; }
.field.is-bad input, .field.is-bad textarea, .field.is-bad select { border-color: #C0325A; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.fields .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf); flex: none; }
.co { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: 24px clamp(48px, 6vw, 88px); }
.co h1 { font-size: clamp(34px, 4vw, 52px); margin-block-end: 6px; }
.co section { background: var(--paper); border-radius: 26px; box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 16px; margin-block-start: 18px; }
.co section h2 { font-size: 24px; display: flex; gap: 10px; align-items: center; }
.co section h2 b { width: 30px; height: 30px; border-radius: 50%; background: var(--leaf); color: var(--cream); display: grid; place-items: center; font: 700 15px var(--f-body); }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slots button { min-height: 42px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--cream); font-weight: 500; }
.slots button[aria-checked="true"] { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.branchpick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.branchpick button { border: 2px solid var(--line); border-radius: 18px; background: var(--cream); padding: 12px; text-align: start; display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.branchpick button small { font-weight: 400; font-size: 13px; color: var(--muted); }
.branchpick button[aria-checked="true"] { border-color: var(--plum); background: var(--plum); color: var(--cream); }
.branchpick button[aria-checked="true"] small { color: rgb(251 243 230 / .75); }
.minilines { display: flex; flex-direction: column; gap: 10px; max-height: 320px; overflow-y: auto; }
.minilines div { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.minilines img { width: 52px; height: 52px; object-fit: contain; background: var(--cream); border-radius: 12px; }
.minilines small { display: block; color: var(--muted); font-size: 12px; }

/* payment-unavailable modal */
.paydlg .dlg__in { grid-template-columns: 1fr; }
.paydlg .dlg__body { text-align: center; align-items: center; padding: 40px 32px 32px; }
.paydlg img { width: 120px; rotate: -12deg; }
.wa-btn { background: #25D366; color: #fff; }
.wa-btn:hover { background: #1fb558; }

/* ---------- branches ---------- */
.brs { display: grid; gap: 24px; }
.br { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--paper); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.br:nth-child(even) .br__media { order: 2; }
.br__media { min-height: 320px; }
.br__media img { width: 100%; height: 100%; object-fit: cover; }
.br__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.br__body h2 { font-size: clamp(30px, 3vw, 42px); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hours { margin: 0; display: grid; gap: 4px; font-size: 15px; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-block: 3px; border-bottom: 1px dashed var(--line); }
.hours .is-today { font-weight: 700; color: var(--leaf); }
.hours dd { margin: 0; }
.br__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-block-start: auto; }
.next { background: var(--plum); color: var(--cream); border-radius: 30px; padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; margin-block-start: 24px; }
.next h2 { font-size: clamp(28px, 3vw, 40px); }
.next p { opacity: .8; margin-block-start: 8px; }
.next form { display: flex; gap: 10px; flex-wrap: wrap; }
.next input { flex: 1 1 160px; min-height: 52px; border-radius: var(--r-pill); border: 1.5px solid rgb(251 243 230 / .3); background: rgb(251 243 230 / .06); color: var(--cream); padding: 0 20px; font: inherit; }
.next input::placeholder { color: rgb(251 243 230 / .6); }
.next .msg { width: 100%; font-size: 14px; color: var(--lime); min-height: 1.3em; }

/* ---------- about ---------- */
.zig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.zig + .zig { margin-block-start: clamp(40px, 6vw, 88px); }
.zig:nth-child(even) .zig__media { order: 2; }
.zig__media img { width: 100%; border-radius: 30px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.zig__num { font: 700 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 2px var(--leaf); }
.zig h2 { font-size: clamp(30px, 3.4vw, 46px); margin-block: 10px 14px; }
.zig p { color: var(--muted); font-size: 18px; }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.promise { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 28px; }
.promise svg { width: 44px; height: 44px; fill: none; stroke: var(--leaf); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 24px; margin-block: 14px 8px; }
.promise p { color: var(--muted); }
.cta-band { background: var(--leaf); color: var(--cream); border-radius: 32px; padding: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 46px); }
.cta-band .btn--lime { min-height: 56px; padding: 0 30px; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-block: 8px clamp(48px, 6vw, 88px); }
.faq__cats { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 4px; }
.faq__cats a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 500; }
.faq__cats a:hover { background: var(--paper); }
.qgroup { scroll-margin-top: 100px; }
.qgroup + .qgroup { margin-block-start: 36px; }
.qgroup h2 { font-size: 30px; margin-block-end: 14px; }
.qa { background: var(--paper); border-radius: 18px; box-shadow: 0 1px 3px rgb(58 16 51 / .08); margin-block-end: 10px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; font-size: 20px; transition: rotate .4s var(--ease-soft); }
.qa[open] summary::after { rotate: 45deg; background: var(--leaf); color: var(--cream); }
.qa p { padding: 0 20px 20px; color: var(--muted); }
.qa.is-hidden, .qgroup.is-hidden { display: none; }
.help { margin-block-start: 36px; background: var(--plum); color: var(--cream); border-radius: 26px; padding: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.help h2 { font-size: 26px; }

/* ---------- contact ---------- */
.channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.channel { background: var(--paper); border-radius: var(--r-card); box-shadow: var(--shadow); padding: 22px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft); }
.channel:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.channel svg { width: 36px; height: 36px; fill: none; stroke: var(--leaf); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-block-end: 6px; }
.channel strong { font-size: 19px; }
.channel span { color: var(--muted); font-size: 15px; }
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-block-start: clamp(32px, 4vw, 56px); }
.contact form { background: var(--paper); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.contact form h2 { font-size: 30px; }
.thanks { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.thanks img { width: 120px; }
.thanks h2 { font-size: 30px; }

/* ---------- legal ---------- */
.legaldoc { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(24px, 4vw, 64px); padding-block: 8px clamp(48px, 6vw, 88px); align-items: start; }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.toc a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); }
.toc a:hover { background: var(--paper); color: var(--plum); }
.prose h2 { font-size: 28px; margin-block: 36px 12px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-block-start: 0; }
.prose p, .prose li { color: #4C3346; font-size: 17px; line-height: 1.75; }
.prose ul { padding-inline-start: 22px; }
.prose .updated { font-size: 14px; color: var(--muted); }

/* grid children may hold nowrap rows (steps, chips); don't let them widen the track */
.pdp > *, .bld > *, .cartp > *, .co > *, .contact > *, .faq > *, .legaldoc > * { min-width: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .jump { top: 64px; }
  .fgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pdp, .bld, .cartp, .co, .contact { grid-template-columns: 1fr; }
  .pdp__gallery, .bld__stage, .side { position: static; }
  .bld__cup { max-height: 52vh; aspect-ratio: 1 / 1; }
  .faq, .legaldoc { grid-template-columns: 1fr; }
  .faq__cats, .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .br, .zig, .gift-hero, .next { grid-template-columns: 1fr; }
  .br:nth-child(even) .br__media, .zig:nth-child(even) .zig__media { order: 0; }
  .promises, .facts { grid-template-columns: 1fr; }
  .dlg__in { grid-template-columns: 1fr; }
  .dlg__media { padding: 20px; }
  .dlg__media img { max-width: 180px; }
}
@media (max-width: 600px) {
  .phead__in { grid-template-columns: 1fr; }
  .phead__art { display: none; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .fields { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .branchpick { grid-template-columns: 1fr; }
  .channels { grid-template-columns: 1fr; }
  .cartp__lines { padding: 4px 14px; }
  .cartp .line { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .cartp .line__img { width: 72px; height: 72px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 8px 4px 10px; font-size: 13px; }
  .tile img { width: 56px; height: 56px; }
}

/* ---------- lean checkout chrome ---------- */
.header--lean .header__in { grid-template-columns: 1fr auto 1fr; }
.lean__secure { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--leaf); }
.lean__secure svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.lean__help { justify-self: end; text-decoration: none; font-size: 15px; }
.footer--lean { padding-block: 24px; margin-block-start: 0; }
@media (max-width: 600px) { .lean__secure { display: none; } .header--lean .header__in { grid-template-columns: 1fr auto; } }

/* builder: a price + add bar stays at the bottom on phones, where the summary box is far below the cup */
.stickybuy--build { display: none; }
@media (max-width: 960px) {
  .stickybuy--build { display: flex; translate: 0 0; }
  body:has(.stickybuy--build) .fab { bottom: 84px; }
  body:has(.stickybuy--build) .footer { padding-block-end: 100px; }
}
