/* Gelato Lab by Mama, Concept C: Chirashi Flyer */
:root {
  --navy: #1B2A5E;
  --black: #2A2422;
  --pink: #F2B8C6;
  --beige: #F5F0E4;
  --white: #FFFFFF;
  --rule: 3px;
  --display: "Zen Maru Gothic", "Zen Kaku Gothic New", system-ui, sans-serif;
  --text: "Zen Kaku Gothic New", system-ui, sans-serif;
  --mincho: "Zen Old Mincho", serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 106px;
  --strip-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; scrollbar-color: var(--navy) var(--beige); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font: 400 16px/1.55 var(--text);
  font-variant-numeric: tabular-nums;
  caret-color: var(--navy);
  overflow-x: hidden;
}
::selection { background: var(--pink); color: var(--navy); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--beige); }
::-webkit-scrollbar-thumb { background: var(--navy); border: 3px solid var(--beige); border-radius: 12px; }

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fine { font-size: 13px; line-height: 1.45; opacity: .9; }

/* Focus, themed per surface */
:focus-visible { outline: 3px solid var(--focus, var(--navy)); outline-offset: 3px; border-radius: 6px; }
.on-dark, .cell--navy, .band--navy, .band--black, .mast, .sup__banner, .bag__head, .foot { --focus: var(--pink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--pink); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Masthead ---------- */
.top { background: var(--navy); color: var(--beige); }
.util {
  display: flex; gap: 8px 28px; align-items: center; flex-wrap: wrap;
  min-height: 34px; padding: 6px 24px;
  background: var(--beige); color: var(--navy);
  font-size: 13.5px; border-bottom: var(--rule) solid var(--black);
}
.util p { display: flex; gap: 8px; align-items: center; }
.util__sample { margin-left: auto; font-weight: 500; }
.mast {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  height: 72px; padding: 0 24px;
}
.mast__logo img { height: 56px; width: auto; }
.mast__nav { display: flex; gap: 6px; justify-self: center; }
.mast__nav a {
  font: 700 17px/1 var(--display); text-decoration: none; padding: 10px 14px; border-radius: 999px;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out);
}
.mast__nav a:hover { background: var(--beige); color: var(--navy); }
.bagbtn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: var(--navy); border: 0; border-radius: 999px;
  padding: 9px 10px 9px 16px; font: 700 16px/1 var(--display);
  transition: transform .2s var(--ease-out);
}
.bagbtn:hover { transform: translateY(-1px); }
.bagbtn__n {
  min-width: 28px; height: 28px; display: inline-grid; place-items: center;
  background: var(--navy); color: var(--beige); border-radius: 999px; padding: 0 6px; font-size: 15px;
}
.bagbtn.bump .bagbtn__n { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }

/* ---------- Shared cell grammar ---------- */
main { display: grid; gap: var(--rule); background: var(--black); }
.cell { position: relative; overflow: hidden; }
.cell--navy, .band--navy { background: var(--navy); color: var(--beige); }
.cell--pink, .band--pink { background: var(--pink); color: var(--navy); }
.cell--beige, .band--beige { background: var(--beige); color: var(--navy); }
.band--black { background: var(--black); color: var(--beige); }

.code span { white-space: nowrap; }
.code {
  display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
  border-top: 1.5px solid currentColor; padding-top: 6px;
  font: 500 12.5px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase;
}
.code s { text-decoration-thickness: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1.1 var(--display); text-decoration: none; white-space: nowrap;
  transition: transform .18s var(--ease-out), background-color .18s var(--ease-out), color .18s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--pink { background: var(--pink); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--beige); }
.btn--ghost-l { border-color: var(--beige); color: var(--beige); background: transparent; }
.btn--ghost-l:hover { background: var(--beige); color: var(--navy); }
.btn--ghost-d { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost-d:hover { background: var(--navy); color: var(--beige); }
.btn--wide { width: 100%; min-height: 50px; font-size: 17px; }
.btn[disabled] { cursor: not-allowed; opacity: .55; transform: none; }

/* Burst price flash */
.burst {
  position: absolute; z-index: 3; width: var(--b, 92px); aspect-ratio: 1;
  display: grid; place-items: center; color: var(--navy);
  transform: rotate(-8deg);
  filter: drop-shadow(0 6px 10px rgba(42, 36, 34, .28));
}
.burst svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--pink); }
.burst svg.burst__ring { inset: 9%; width: 82%; height: 82%; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .55; }
.burst--beige svg:not(.burst__ring) { fill: var(--beige); }
.burst__t { position: relative; text-align: center; line-height: 1; font-family: var(--display); font-weight: 900; }
.burst__t small { display: block; font: 700 calc(var(--b, 92px) * .12)/1.1 var(--display); letter-spacing: .03em; margin-bottom: 2px; }
.burst__t b { font-size: calc(var(--b, 92px) * .27); letter-spacing: -.03em; }
.burst__t sup { font-size: .5em; vertical-align: .62em; margin-left: 1px; letter-spacing: 0; }
.burst.pop { animation: pop .68s var(--ease-out); }
@keyframes pop {
  0% { transform: rotate(-8deg) scale(1); }
  28% { transform: rotate(-16deg) scale(1.32); }
  52% { transform: rotate(-4deg) scale(.9); }
  74% { transform: rotate(-9deg) scale(1.06); }
  100% { transform: rotate(-8deg) scale(1); }
}

/* IN YOUR BAG stamp */
.stamp {
  position: absolute; z-index: 4; left: 12px; top: 14px;
  padding: 7px 12px 6px; border: 3px solid var(--navy); border-radius: 6px;
  background: var(--beige); color: var(--navy);
  font: 900 15px/1 var(--display); letter-spacing: .1em; white-space: nowrap;
  outline: 1.5px solid var(--navy); outline-offset: -7px;
  transform: rotate(-10deg); opacity: 0; visibility: hidden; pointer-events: none;
}
.in-bag > .stamp, .in-bag .stamp { opacity: 1; visibility: visible; }
.in-bag.just .stamp { animation: stamp .5s var(--ease-out); }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-4deg) scale(1.9); }
  55% { opacity: 1; transform: rotate(-11deg) scale(.93); }
  100% { opacity: 1; transform: rotate(-10deg) scale(1); }
}

/* ---------- Page 1: the spread ---------- */
.spread {
  display: grid; gap: var(--rule); background: var(--black);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, clamp(310px, calc((100svh - var(--header-h) - var(--strip-h)) / 2), 440px));
}
.cell--title { grid-column: 1 / 4; grid-row: 1; background: var(--pink); color: var(--navy); padding: 24px 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.cell--hero { grid-column: 4 / 9; grid-row: 1 / 3; }
.fc-1 { grid-column: 9 / 11; grid-row: 1; }
.fc-2 { grid-column: 11 / 13; grid-row: 1; }
.fc-3 { grid-column: 9 / 11; grid-row: 2; }
.fc-4 { grid-column: 11 / 13; grid-row: 2; }
.fc-5 { grid-column: 1 / 4; grid-row: 2; }

.cell--title h1 { font-size: clamp(2.4rem, 3.4vw, 3.4rem); line-height: .98; letter-spacing: -.02em; }
.title__lede { font-size: 15.5px; line-height: 1.5; max-width: 30ch; font-weight: 500; }
.title__sample { margin-top: auto; font-size: 13px; font-weight: 700; max-width: 14ch; line-height: 1.35; }
.title__pint { position: absolute; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(42, 36, 34, .3)); }
.title__pint--big { right: 14px; bottom: -30px; height: 40%; width: auto; transform: rotate(5deg); }
.title__pint--small { right: calc(14px + 31%); bottom: -10px; height: 19%; width: auto; transform: rotate(-6deg); }
.title__lede { position: relative; z-index: 1; }

/* Flavour cell */
.fcell { display: flex; flex-direction: column; background: var(--black); }
.fcell__photo { position: relative; flex: 1 1 auto; min-height: 120px; background-size: cover; background-position: center; }
.fcell__band { padding: 13px 14px 14px; display: grid; gap: 9px; }
.fcell__band h3 { font-size: 21px; line-height: 1.08; }
.fcell .burst { top: 8px; right: 8px; }
.fcell .stamp { top: auto; bottom: 14px; }
.fcell__btns { display: flex; gap: 6px; }
.fcell__btns .btn { flex: 1 1 0; padding: 0 8px; min-height: 40px; font-size: 14.5px; }
.fc-5 .fcell__band { grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
.fc-5 .fcell__band h3 { font-size: 26px; grid-column: 1 / -1; }
.fc-5 .code { grid-column: 1 / -1; }
.fc-5 .fcell__btns { grid-column: 1 / -1; }

/* Hero cell */
.cell--hero { display: flex; flex-direction: column; background: var(--navy); }
.hero__photo { position: relative; flex: 1 1 auto; background: url("/shared/img/flavours/uji-matcha.webp") center / cover; min-height: 260px; }
.hero__pints { position: absolute; right: 5%; bottom: -6px; height: 78%; display: flex; align-items: flex-end; gap: 0; pointer-events: none; }
.hero__pints img { height: 100%; width: auto; filter: drop-shadow(0 22px 26px rgba(42, 36, 34, .42)); }
.hero__pints img + img { height: 42%; margin-left: -9%; transform: rotate(-4deg); }
.cell--hero .burst { --b: clamp(140px, 13vw, 184px); left: 22px; top: 22px; transform: rotate(-10deg); }
.cell--hero .stamp { left: 26px; top: auto; bottom: 26px; font-size: 18px; }
.hero__band { position: relative; z-index: 2; padding: 20px 26px 24px; display: grid; gap: 12px; color: var(--beige); }
.hero__band h3 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); letter-spacing: -.025em; line-height: .95; }
.hero__band p.hero__sizes { font-size: 15px; }
.hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__btns .btn { min-height: 48px; font-size: 16px; padding: 0 22px; }

/* Pickup strip */
.strip {
  display: flex; align-items: center; gap: 10px 34px; flex-wrap: wrap;
  min-height: var(--strip-h); padding: 12px 24px;
  background: var(--beige); color: var(--navy); font-weight: 500;
}
.strip p, .strip a { display: inline-flex; gap: 9px; align-items: center; }
.strip__main { font: 700 clamp(17px, 1.45vw, 21px)/1.25 var(--display); margin-right: auto; }
.strip a { text-decoration: none; }
.strip a:hover { text-decoration: underline; }

/* ---------- Blocks ---------- */
.block { display: grid; gap: var(--rule); grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--black); }
.cell--head { padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.cell--head h2, .block h2 { font-size: clamp(2.2rem, 3.6vw, 3.6rem); letter-spacing: -.02em; }
.cell--head p:not(.fine):not(.lane) { font-size: 17px; max-width: 34ch; }
.lane {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  margin-top: auto; padding: 8px 14px; border-radius: 999px;
  border: 2px solid currentColor; font: 700 14.5px/1 var(--display);
}
.lane--ondark { color: var(--pink); }

/* Cakes */
.block--cakes .cell--head { grid-column: 1 / 5; }
.cake { grid-column: span 4; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 360px; }
.cake__swatch { position: relative; background-size: cover; background-position: center; transition: background-image .3s; }
.cake .burst { --b: 104px; right: -18px; top: 18px; }
.cake__body { padding: 26px 22px 22px 34px; display: flex; flex-direction: column; gap: 12px; }
.cake__size { font: 900 clamp(2.6rem, 3.8vw, 3.6rem)/.95 var(--display); letter-spacing: -.03em; }
.cake__size small { display: block; font-size: 17px; letter-spacing: 0; margin-top: 6px; font-weight: 700; }
.cake .code { margin-top: auto; }
.cake__lead { font-size: 13.5px; font-weight: 500; margin-top: -4px; }
.fld { display: grid; gap: 5px; }
.fld label { font: 700 14px/1.2 var(--display); }
.fld input, .fld select, .sel {
  width: 100%; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  border: 2px solid currentColor; background: var(--white); color: var(--navy);
  font-size: 15.5px;
}
.cell--navy .fld input { border-color: var(--beige); }
.fld input::placeholder { color: #5b6283; opacity: 1; }

/* Catering + gift */
.cell--cater { grid-column: 1 / 8; display: flex; flex-direction: column; }
.cater__img { width: 100%; height: 230px; object-fit: cover; object-position: center 62%; }
.cater__body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; padding: 30px 28px 30px; flex: 1; }
.cater__copy { display: flex; flex-direction: column; gap: 14px; }
.cater__copy p:not(.fine):not(.lane) { font-size: 17px; }
.cater__copy .lane { margin-top: 4px; }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; align-content: start; }
.quote .btn { grid-column: 1 / -1; min-height: 48px; justify-self: start; }
.quote__msg { grid-column: 1 / -1; font-weight: 500; min-height: 1.4em; color: var(--pink); }
.quote__msg.ok { color: var(--beige); }

.cell--gift { grid-column: 8 / 13; padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 14px; }
.cell--gift > p { font-size: 17px; }
.giftrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 8px; }
.gift {
  position: relative; display: grid; justify-items: center; gap: 8px; padding: 4px 0 0;
  background: none; border: 0; color: var(--navy);
}
.gift .burst { position: relative; --b: 116px; }
.gift__add { font: 700 14.5px/1 var(--display); display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--navy); color: var(--beige); transition: transform .18s var(--ease-out); }
.gift:hover .gift__add { transform: translateY(-2px); }
.gift .stamp { left: 50%; top: 30%; translate: -50% 0; font-size: 12px; padding: 5px 8px 4px; }
.gcard { margin-top: auto; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--black); color: var(--beige); padding: 20px 22px; border-radius: 14px; }
.gcard img { width: 60px; height: 60px; }
.gcard h3 { font-size: 24px; margin-bottom: 6px; }

/* ---------- Supplies page ---------- */
.supplies { background: var(--beige); }
.sup__banner {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 30px; align-items: center;
  background: var(--navy); color: var(--beige); padding: 34px 28px;
  background-image: url("/shared/img/brand/gelato-lab-pattern-navy.svg"); background-size: 120px auto;
}
.sup__truck { width: 88px; height: 88px; fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sup__banner h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); letter-spacing: -.025em; }
.sup__banner h2 span { display: block; color: var(--pink); }
.sup__banner p { max-width: 58ch; margin-top: 12px; font-size: 17px; }
.sup__banner .sup__fine { align-self: end; max-width: 24ch; font-size: 13.5px; margin: 0; text-align: right; }
.sup__filters { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 24px; border-bottom: var(--rule) solid var(--black); border-top: var(--rule) solid var(--black); }
.chip {
  border: 2px solid var(--navy); background: transparent; color: var(--navy);
  border-radius: 999px; padding: 8px 15px; font: 700 14.5px/1 var(--display);
  transition: background-color .18s var(--ease-out), color .18s var(--ease-out);
}
.chip:hover { background: var(--pink); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--beige); }
.sup__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rule); background: var(--black); border-bottom: var(--rule) solid var(--black); }
.sitem { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; min-height: 250px; background: var(--beige); color: var(--navy); }
.sitem:nth-child(4n+2), .sitem:nth-child(4n+4) { background: var(--white); }
.sitem:nth-child(8n+3) { background: var(--pink); }
.sitem:nth-child(8n+6) { background: var(--pink); }
.sitem:nth-child(8n+3) .burst svg:not(.burst__ring), .sitem:nth-child(8n+6) .burst svg:not(.burst__ring) { fill: var(--beige); }
.sitem .code { border-top: 0; border-bottom: 1.5px solid currentColor; padding: 0 0 7px; }
.sitem__cat { display: inline-flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 500; }
.sitem__cat .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.sitem h3 { font-size: 21px; line-height: 1.12; max-width: 13ch; }
.sitem__size { font-size: 15px; }
.sitem .burst { --b: 88px; right: 12px; top: 54px; }
.sitem .btn { margin-top: auto; align-self: flex-start; }
.sitem .stamp { left: auto; right: 14px; top: auto; bottom: 18px; font-size: 13px; }
.sitem.sold .burst { opacity: .45; }
.sitem.sold .code span:first-child { opacity: .8; }
.sitem[hidden] { display: none; }
.sup__biz { padding: 16px 24px 18px; color: var(--navy); font-weight: 500; }

/* ---------- In store ---------- */
.cell--menu { grid-column: 1 / 7; background: var(--beige) url("/shared/img/brand/gelato-lab-pattern-rice.svg") 0 0 / 120px auto; padding: 40px 28px; display: grid; place-items: center; }
.menubox {
  width: min(100%, 520px); background: var(--white); color: var(--navy);
  border: var(--rule) solid var(--navy); outline: 1.5px solid var(--navy); outline-offset: -10px;
  padding: 32px 34px 30px; border-radius: 4px;
}
.menubox h2 { font-size: clamp(2rem, 2.8vw, 2.6rem); margin-bottom: 18px; }
.menubox h3 { font-size: 19px; margin: 20px 0 8px; }
.menu__cups li, .menu__extras li { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1.5px dotted rgba(27, 42, 94, .45); }
.menu__cups li b { font: 900 22px/1.1 var(--display); }
.menu__cups li span { font-size: 15px; }
.menu__cups li i, .menu__extras li i { flex: 1; }
.menu__cups li em, .menu__extras li em { font-style: normal; font: 900 20px/1 var(--display); }
.menu__extras li { font-size: 15.5px; }
.menu__extras li em { font-size: 17px; }
.menu__note { margin-top: 16px; font-weight: 500; font-size: 15px; }
.cell--photo { grid-column: 7 / 13; min-height: 420px; }
.cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visit ---------- */
.cell--visit { grid-column: 1 / 8; padding: 40px 28px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.visit__addr { font: 600 clamp(1.4rem, 2vw, 1.8rem)/1.3 var(--mincho); margin-bottom: 8px; }
.visit__link, .visit__hours { display: inline-flex; gap: 10px; align-items: center; font-size: 18px; }
.visit__link { text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
.visit__link:hover { text-decoration: underline; }
.cell--visit .btn { margin-top: 6px; }
.cell--lanes { grid-column: 8 / 13; padding: 36px 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.lanes__mon { width: 110px; height: 110px; }
.lanes { display: grid; gap: 18px; }
.lanes dt { display: flex; gap: 8px; align-items: center; font: 900 20px/1.1 var(--display); margin-bottom: 4px; }
.lanes dd { margin: 0; font-size: 15.5px; }

/* ---------- Footer ---------- */
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center; padding: 40px 28px; background: var(--black); color: var(--beige); border-top: var(--rule) solid var(--black); }
.foot__logo { width: 130px; height: auto; }
.foot__tag { font: 600 18px/1.4 var(--mincho); margin-bottom: 6px; }
.foot__txt p + p { margin-top: 4px; }
.foot__nav { display: flex; gap: 6px 18px; flex-wrap: wrap; font: 700 15px/1 var(--display); }
.foot__nav a { text-decoration: none; padding: 6px 0; }
.foot__nav a:hover { text-decoration: underline; }

/* ---------- Bag drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(42, 36, 34, .55); opacity: 0; transition: opacity .3s var(--ease-out); }
.scrim.on { opacity: 1; }
.bag {
  position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--beige); color: var(--navy);
  border-left: var(--rule) solid var(--black);
  transform: translateX(102%); transition: transform .42s var(--ease-out);
  box-shadow: -18px 0 40px rgba(42, 36, 34, .25);
}
.bag.on { transform: none; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 16px 22px; background: var(--navy); color: var(--beige); }
.bag__head h2 { font-size: 28px; }
.iconbtn { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 2px solid currentColor; background: transparent; }
.iconbtn .ic { width: 20px; height: 20px; }
.bag__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 0 12px; }
.bag__empty { padding: 28px 22px; display: grid; gap: 10px; }
.bag__empty b { font: 900 22px/1.15 var(--display); }
.bgroup { border-bottom: var(--rule) solid var(--black); }
.bgroup__h { display: flex; gap: 9px; align-items: center; padding: 12px 22px; font: 900 18px/1.2 var(--display); }
.bgroup--pickup .bgroup__h { background: var(--pink); color: var(--navy); }
.bgroup--delivery .bgroup__h { background: var(--black); color: var(--beige); }
.bgroup__note { padding: 10px 22px 0; font-size: 14px; }
.bline { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 22px; border-bottom: 1.5px dotted rgba(27, 42, 94, .4); }
.bline__name { font: 700 16px/1.25 var(--display); }
.bline__meta { font-size: 13.5px; grid-column: 1; }
.bline__price { font: 900 17px/1.2 var(--display); text-align: right; grid-row: 1; grid-column: 2; }
.qty { grid-column: 2; display: flex; align-items: center; gap: 4px; justify-self: end; }
.qty button { width: 32px; height: 32px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; display: grid; place-items: center; }
.qty button .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.bwhen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 22px 4px; }
.bwhen .fine { grid-column: 1 / -1; }
.bwhen select.sel { background: var(--white); }
.bwhen .err { grid-column: 1 / -1; color: var(--navy); font-weight: 700; font-size: 14px; background: var(--pink); padding: 8px 12px; border-radius: 8px; }
.bmix { margin: 14px 22px 4px; padding: 12px 14px; border: 2px solid var(--navy); border-radius: 10px; font-size: 14.5px; font-weight: 500; }
.bag__foot { padding: 16px 22px 20px; border-top: var(--rule) solid var(--black); display: grid; gap: 8px; background: var(--white); }
.bag__sub { display: flex; justify-content: space-between; font: 900 22px/1.2 var(--display); }
.bag__msg { font-size: 14.5px; font-weight: 500; min-height: 1.2em; }

/* ---------- Mid widths ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 0px; }
  .spread { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .cell--title { grid-column: 1 / 3; grid-row: 1; min-height: 520px; }
  .cell--hero { grid-column: 3 / 7; grid-row: 1; min-height: 520px; }
  .fc-1, .fc-2, .fc-3 { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .fc-4, .fc-5 { grid-column: span 3; grid-row: auto; min-height: 340px; }
  .fc-5 .fcell__band h3 { font-size: 21px; }
  .block--cakes .cell--head { grid-column: 1 / -1; }
  .cake { grid-column: span 6; }
  .cell--cater, .cell--gift { grid-column: 1 / -1; }
  .sup__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--visit { grid-column: 1 / 8; }
  .mast__nav a { padding: 10px 9px; font-size: 16px; }
}

@media (max-width: 900px) {
  .mast { grid-template-columns: 1fr auto; height: auto; padding: 10px 16px; row-gap: 8px; }
  .mast__nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: space-between; gap: 0; }
  .mast__logo img { height: 36px; }
  .util { padding: 6px 16px; gap: 2px 16px; font-size: 12.5px; }
  .util__sample { margin-left: 0; }
  .cake { grid-column: 1 / -1; }
  .cater__body { grid-template-columns: 1fr; }
  .block--store .cell--menu, .block--store .cell--photo { grid-column: 1 / -1; }
  .cell--photo { min-height: 300px; }
  .cell--visit, .cell--lanes { grid-column: 1 / -1; }
  .sup__banner { grid-template-columns: 1fr; }
  .sup__banner .sup__fine { text-align: left; max-width: none; }
  .sup__truck { width: 64px; height: 64px; }
  .foot { grid-template-columns: 1fr; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .mast__nav a { font-size: 15px; padding: 9px 6px; }
  .spread { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--title { grid-column: 1 / -1; grid-row: auto; min-height: 0; padding: 22px 16px 18px; }
  .cell--title h1 { font-size: 2.6rem; }
  .title__lede { max-width: 25ch; font-size: 15px; }
  .title__pint--big { height: 150px; right: 12px; bottom: -22px; }
  .title__pint--small { height: 64px; right: 132px; bottom: -6px; }
  .title__sample { margin-top: 6px; max-width: 13ch; }
  .cell--hero { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .hero__photo { min-height: 330px; }
  .hero__band { padding: 18px 16px 20px; }
  .hero__btns .btn { flex: 1 1 100%; }
  .cell--hero .burst { --b: 128px; left: 14px; top: 14px; }
  .fc-1, .fc-2, .fc-3, .fc-4 { grid-column: span 1; min-height: 320px; }
  .fc-5 { grid-column: 1 / -1; min-height: 340px; }
  .fcell__band { padding: 11px 11px 12px; gap: 8px; }
  .fcell__band h3 { font-size: 18px; }
  .fcell__btns { flex-direction: column; }
  .fcell .burst { --b: 78px; top: 6px; right: 6px; }
  .fcell .code { font-size: 11.5px; letter-spacing: .03em; flex-wrap: wrap; gap: 2px 8px; }
  .fc-5 .fcell__btns { flex-direction: row; }
  .stamp { font-size: 13px; left: 8px; top: 10px; }
  .strip { padding: 14px 16px; gap: 8px 20px; }
  .cell--head, .cell--gift { padding: 26px 16px 22px; }
  .cake { grid-template-columns: 1fr 1.25fr; min-height: 300px; }
  .cake__body { padding: 20px 14px 18px 22px; }
  .cake .burst { --b: 84px; right: -12px; top: 12px; }
  .cater__body { padding: 24px 16px; }
  .quote { grid-template-columns: 1fr; }
  .cater__img { height: 180px; }
  .giftrow { gap: 4px; }
  .gift__add { padding: 8px 11px; font-size: 13.5px; }
  .gcard { padding: 18px 16px; gap: 14px; }
  .sup__banner { padding: 26px 16px; }
  .sup__filters { padding: 14px 16px; }
  .sitem { padding: 14px 12px 14px; min-height: 230px; gap: 10px; }
  .sitem h3 { font-size: 17px; }
  .sitem .burst { --b: 74px; position: relative; right: auto; top: auto; margin: -2px 0 -4px -4px; }
  .sitem .code span + span { display: none; }
  .sitem.sold .code span + span { display: inline; }
  .sitem .btn { padding: 0 12px; font-size: 14px; min-height: 40px; }
  .sitem .code { font-size: 11px; letter-spacing: .02em; }
  .sitem__cat { font-size: 12.5px; }
  .sitem .stamp { right: 8px; bottom: 70px; font-size: 11.5px; }
  .sup__biz { padding: 14px 16px; }
  .cell--menu { padding: 28px 16px; }
  .menubox { padding: 26px 20px 24px; }
  .cell--visit, .cell--lanes { padding: 30px 16px; }
  .cell--lanes { grid-template-columns: 1fr; }
  .lanes__mon { width: 80px; height: 80px; }
  .foot { padding: 32px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
