/* ==========================================================================
   Strawberry Rhino — main stylesheet
   Palette: juicy strawberry reds, whipped vanilla cream, vanilla-bean brown.
   Type: Shrikhand (display), Figtree (text).
   ========================================================================== */

:root {
  --berry: #C8102E;        /* ripe strawberry */
  --berry-deep: #8A0A20;   /* strawberry core */
  --flesh: #F06272;        /* cut strawberry flesh */
  --blush: #FFE3E6;        /* strawberry milk */
  --seed: #F5D76E;         /* seeds */
  --whip: #FFFCF5;         /* whipped cream */
  --whip-shade: #F2E6D3;   /* cream shadow */
  --vanilla: #F8EBD2;      /* vanilla custard */
  --bean: #2B1A14;         /* vanilla bean */
  --muted: #6B564C;
  --leaf: #2F6B3A;         /* calyx green, used sparingly */

  --font-display: "Shrikhand", "Cooper Black", Georgia, serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(2rem, 3.6vw, 2.9rem);
  --step-4: clamp(2.6rem, 6.4vw, 5.4rem);

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7rem);

  --r-lg: 34px;
  --r-md: 20px;
  --r-sm: 12px;
  --glow: 0 22px 44px -26px rgba(138, 10, 32, .45);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 var(--step-0)/1.65 var(--font-text);
  color: var(--bean);
  background-color: var(--whip);
  /* vanilla bean specks */
  background-image:
    radial-gradient(circle at 50% 50%, rgba(43, 26, 20, .16) .7px, transparent 1.3px),
    radial-gradient(circle at 50% 50%, rgba(43, 26, 20, .10) .6px, transparent 1.2px);
  background-size: 31px 37px, 23px 19px;
  background-position: 0 0, 11px 7px;
}
img { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--berry-deep); }
:focus-visible { outline: 3px solid var(--seed); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bean); color: var(--whip); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; }

.h2 { font: 400 var(--step-3)/1.05 var(--font-display); color: var(--berry); letter-spacing: -.005em; }
.h3 { font-weight: 800; font-size: var(--step-2); letter-spacing: -.01em; }
.fine { font-size: var(--step--1); color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.5em; border: 2px solid var(--berry); border-radius: 999px;
  background: var(--berry); color: var(--whip);
  font: 700 1rem/1.1 var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:hover { background: var(--berry-deep); border-color: var(--berry-deep); color: var(--whip); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: .95em 1.8em; font-size: 1.06rem; }
.btn--small { padding: .6em 1.15em; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--cream { background: var(--whip); border-color: var(--whip); color: var(--berry-deep); }
.btn--cream:hover { background: var(--vanilla); border-color: var(--vanilla); color: var(--berry-deep); }
.btn--ghost { background: transparent; color: var(--berry); }
.btn--ghost:hover { background: var(--blush); color: var(--berry-deep); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 252, 245, .7); color: var(--whip); }
.btn--ghost-light:hover { background: rgba(255, 252, 245, .14); border-color: var(--whip); color: var(--whip); }
.link-strong { font-weight: 700; }

/* ---------- Strawberry surface (seeds + gloss) ---------- */
.hero, .page-hero, .site-foot {
  position: relative;
  color: var(--whip);
  background-color: var(--berry);
  background-image:
    radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, .22), transparent 46%),
    radial-gradient(ellipse 2.4px 4px at 50% 50%, rgba(245, 215, 110, .85) 80%, transparent 100%),
    radial-gradient(ellipse 2.4px 4px at 50% 50%, rgba(245, 215, 110, .65) 80%, transparent 100%),
    linear-gradient(165deg, var(--flesh) -25%, var(--berry) 42%, var(--berry-deep) 112%);
  background-size: 100% 100%, 56px 62px, 56px 62px, 100% 100%;
  background-position: 0 0, 0 0, 28px 31px, 0 0;
  isolation: isolate;
}
/* optional photo texture from assets/img/textures/strawberry-texture.* */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--tex-berry) center / 560px repeat;
  opacity: .32; mix-blend-mode: soft-light;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 245, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--whip-shade);
}
.site-head__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand__logo { width: 52px; height: 52px; object-fit: contain; }
.brand__name { font: 400 1.55rem/1 var(--font-display); color: var(--berry); white-space: nowrap; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--bean); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--berry); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--flesh); }
.nav-box { display: inline-flex; align-items: center; gap: .45rem; }
.nav-box__count {
  display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--berry); color: var(--whip); font-size: .8rem; font-weight: 800;
}
.site-nav .nav-call { padding: .5rem 1rem; border: 2px solid var(--berry); border-radius: 999px; color: var(--berry); }
.site-nav .nav-call:hover { background: var(--berry); color: var(--whip); }
.nav-toggle { display: none; }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 1rem; }
.flash { padding: .8rem 1.1rem; border-radius: var(--r-sm); margin-bottom: .75rem; font-weight: 600; background: #E7F3E8; color: #1F4D27; border-left: 5px solid var(--leaf); }
.flash--error { background: var(--blush); color: var(--berry-deep); border-left-color: var(--berry); }

/* ---------- Hero (the one big moment) ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(6rem, 11vw, 9rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__status {
  display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.4rem;
  padding: .4rem .9rem; border-radius: 999px; background: rgba(43, 26, 20, .22); font-weight: 600; font-size: .95rem;
}
.dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--seed); }
.dot--live { background: #7BE38A; box-shadow: 0 0 0 4px rgba(123, 227, 138, .25); }
.hero__title {
  font: 400 var(--step-4)/.98 var(--font-display);
  letter-spacing: -.01em; margin-bottom: .35em;
  text-shadow: 0 3px 0 rgba(138, 10, 32, .55);
  max-width: 12ch;
}
.hero__lede { font-size: var(--step-1); max-width: 36ch; opacity: .95; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__media { position: relative; }
/* strawberry silhouette: broad shoulders, rounded point */
.hero__berry {
  aspect-ratio: 4 / 4.6;
  border-radius: 50% 50% 48% 48% / 42% 42% 58% 58%;
  overflow: hidden;
  border: 8px solid var(--whip);
  box-shadow: 0 30px 60px -20px rgba(43, 26, 20, .55);
  background: var(--flesh);
}
.hero__berry .hero__img, .hero__berry .img-ph { width: 100%; height: 100%; object-fit: cover; }
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(44px, 6vw, 86px); color: var(--whip); }

/* page-load sequence: cream pipes across, then the copy settles in */
@media (prefers-reduced-motion: no-preference) {
  .hero__edge { animation: pipe 1.3s cubic-bezier(.6, .05, .2, 1) .15s both; }
  .hero__copy > * { animation: rise .7s ease-out both; }
  .hero__copy > :nth-child(2) { animation-delay: .1s; }
  .hero__copy > :nth-child(3) { animation-delay: .2s; }
  .hero__copy > :nth-child(4) { animation-delay: .3s; }
  .hero__berry { animation: plump .9s cubic-bezier(.3, 1.4, .5, 1) .25s both; }
}
@keyframes pipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes plump { from { opacity: 0; transform: scale(.92) rotate(-3deg); } to { opacity: 1; transform: none; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(2.8rem, 6vw, 4.5rem) 0 clamp(4.5rem, 8vw, 6.5rem); overflow: hidden; }
.page-hero--short { padding-bottom: clamp(4rem, 7vw, 5.5rem); }
.page-hero__title { font: 400 var(--step-4)/1 var(--font-display); text-shadow: 0 3px 0 rgba(138, 10, 32, .5); margin-bottom: .3em; }
.page-hero__lede { font-size: var(--step-1); max-width: 52ch; margin: 0; }
.page-hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(36px, 5vw, 64px); color: var(--whip); }

/* ---------- Image placeholder (until ChatGPT images are uploaded) ---------- */
.img-ph {
  display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; padding: 1rem;
  text-align: center; font-size: .82rem; font-weight: 600; color: var(--berry-deep);
  background:
    radial-gradient(ellipse 2px 3.4px at 50% 50%, rgba(138, 10, 32, .35) 80%, transparent 100%) 0 0 / 26px 30px,
    linear-gradient(160deg, var(--blush), var(--vanilla));
}
.img-ph span { max-width: 24ch; background: rgba(255, 252, 245, .85); padding: .35rem .6rem; border-radius: 8px; }

/* ---------- Sticker (weekend special) ---------- */
.sticker {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  display: grid; place-items: center; width: 6.4rem; height: 6.4rem; border-radius: 50%;
  background: var(--seed); color: var(--berry-deep); text-align: center;
  font: 700 .78rem/1.15 var(--font-text); transform: rotate(10deg);
  box-shadow: 0 0 0 4px var(--whip), 0 10px 22px -10px rgba(43, 26, 20, .5);
}
.sticker b { font: 400 1.35rem/1 var(--font-display); }
.sticker--lg { width: 8rem; height: 8rem; font-size: .9rem; top: -1.5rem; right: -1rem; }
.sticker--lg b { font-size: 1.9rem; }

/* ---------- Weekend special band ---------- */
.special { padding: var(--space) 0 calc(var(--space) * .7); }
.special__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.special__media { position: relative; }
.special__media .special__img, .special__media .img-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--glow); }
.special__name { font-size: var(--step-2); font-weight: 800; }
.special__blurb { font-style: italic; color: var(--muted); }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { padding: calc(var(--space) * .6) 0 var(--space); }
.steps__list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.steps__list li { counter-increment: step; position: relative; padding-top: 4.4rem; }
.steps__list li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  font: 400 1.7rem/1 var(--font-display); color: var(--whip); background: var(--berry);
  box-shadow: inset 0 -5px 0 var(--berry-deep);
}
.steps__list h3 { font-size: var(--step-1); font-weight: 800; }
.steps__list p { color: var(--muted); max-width: 34ch; }

/* ---------- Menu cards ---------- */
.preview { padding: 0 0 var(--space); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.section-head .h2 { margin: 0; }
.menu-page { padding: calc(var(--space) * .55) 0 var(--space); }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }

.dish {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 1px 0 var(--whip-shade), var(--glow);
  scroll-margin-top: 96px;
}
.dish__media { position: relative; padding: .7rem .7rem 0; }
.dish__media .dish__img, .dish__media .img-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--r-lg) - 8px); }
.dish__badge {
  position: absolute; left: 1.4rem; top: 1.4rem;
  padding: .3rem .75rem; border-radius: 999px; background: var(--whip); color: var(--berry-deep);
  font-size: .82rem; font-weight: 700;
}
.dish__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.4rem 1.4rem; }
.dish__name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .2rem; }
.dish__tag { color: var(--berry); font-weight: 600; margin-bottom: .6rem; }
.dish__desc { font-size: .98rem; }
.dish__why { font-size: .86rem; color: var(--muted); font-style: italic; border-left: 3px solid var(--seed); padding-left: .7rem; }
.dish__form { margin-top: auto; }
.dish__allergens { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }

/* the weekend special spans two columns on the menu page */
.dish--wide { grid-column: span 2; flex-direction: row; background: var(--vanilla); }
.dish--wide .dish__media { flex: 0 0 48%; padding: .8rem; }
.dish--wide .dish__media .dish__img, .dish--wide .dish__media .img-ph { height: 100%; min-height: 100%; }
.dish--wide .dish__body { padding: 1.8rem 1.8rem 1.8rem .8rem; }
.dish--wide .dish__name { font: 400 var(--step-3)/1.05 var(--font-display); color: var(--berry); }

/* tier picker */
.tiers { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tier { position: relative; cursor: pointer; }
.tier input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tier__label, .tier__price { display: block; text-align: center; }
.tier {
  padding: .55rem .4rem .6rem; border-radius: var(--r-sm); border: 2px solid var(--whip-shade);
  background: var(--whip); transition: border-color .12s, background-color .12s;
}
.tier__label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.tier__label small { font-size: inherit; }
.tier__price { font-weight: 800; font-size: 1.06rem; }
.tier__price s { font-weight: 500; color: var(--muted); font-size: .82rem; }
.tier:has(input:checked) { border-color: var(--berry); background: var(--blush); }
.tier:has(input:checked) .tier__label { color: var(--berry-deep); }
.tier:has(input:focus-visible) { outline: 3px solid var(--seed); outline-offset: 2px; }

.dish__actions { display: flex; gap: .6rem; align-items: center; }
.dish__actions .btn { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--whip-shade); border-radius: 999px; background: var(--whip); }
.stepper__btn { width: 2.3rem; height: 2.5rem; border: 0; background: none; font-size: 1.2rem; font-weight: 700; color: var(--berry); cursor: pointer; border-radius: 999px; }
.stepper__btn:hover { background: var(--blush); }
.stepper__input { width: 2.4rem; border: 0; background: none; text-align: center; font: 700 1rem var(--font-text); color: var(--bean); -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.menu-note { margin-top: 2.5rem; padding: 1.2rem 1.5rem; border-radius: var(--r-md); background: var(--vanilla); }
.menu-note p { margin: 0; }

/* ---------- Box sizes ---------- */
.sizes { padding: var(--space) 0; background: var(--vanilla); }
.sizes__lede { font-size: var(--step-1); color: var(--muted); }
.sizes__row { display: grid; grid-template-columns: .85fr 1fr 1.25fr; gap: 1.25rem; align-items: end; margin-top: 2rem; }
.size { display: flex; flex-direction: column; padding: 1.5rem 1.6rem 1.7rem; border-radius: var(--r-lg); background: var(--whip); border: 2px solid var(--whip-shade); }
.size__n { font: 400 clamp(3.4rem, 7vw, 5.6rem)/1 var(--font-display); color: var(--berry); }
.size--12 .size__n { font-size: clamp(4.2rem, 8.5vw, 7rem); }
.size--48 { background: var(--berry); border-color: var(--berry); color: var(--whip); }
.size--48 .size__n { color: var(--whip); font-size: clamp(5rem, 10vw, 8.6rem); text-shadow: 0 4px 0 var(--berry-deep); }
.size__l { font-weight: 800; font-size: var(--step-1); margin-top: .3rem; }
.size__d { color: var(--muted); font-size: .95rem; }
.size--48 .size__d { color: var(--blush); }

/* ---------- Loyalty + special orders pair ---------- */
.duo { padding: var(--space) 0; }
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); }
.duo__card { padding: 1rem 1rem 1.8rem; border-radius: var(--r-lg); }
.duo__card > :not(.duo__img):not(.img-ph) { margin-inline: .8rem; }
.duo__card--loyal { background: var(--blush); }
.duo__card--special { background: var(--vanilla); }
.duo__card .duo__img, .duo__card .img-ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: calc(var(--r-lg) - 10px); margin-bottom: 1.4rem; }

/* ---------- Delivery ---------- */
.delivery { padding: 0 0 var(--space); }
.delivery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.delivery__media .delivery__img, .delivery__media .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.hours { margin: 1.4rem 0; display: grid; gap: .3rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed rgba(107, 86, 76, .35); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }
.hours--lg { max-width: 420px; font-size: var(--step-1); }

/* ---------- Forms ---------- */
.form-page { padding: calc(var(--space) * .55) 0 var(--space); }
.form-page__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.form-page__aside .aside__img, .form-page__aside .img-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 1.6rem; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 1px 0 var(--whip-shade), var(--glow); }
.form-card--small { margin-top: 2rem; background: var(--vanilla); box-shadow: none; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .75rem; height: .9rem; background: var(--berry); border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"]:not(.stepper__input), input:not([type]), select, textarea {
  width: 100%; padding: .72rem .9rem; border: 2px solid var(--whip-shade); border-radius: var(--r-sm);
  background: var(--whip); font: inherit; color: var(--bean);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px rgba(200, 16, 46, .15); }
textarea { resize: vertical; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--berry); flex: none; }
.status-pill { padding: .7rem 1rem; border-radius: var(--r-sm); background: var(--whip); font-weight: 700; }
.status-pill--on { background: #E7F3E8; color: #1F4D27; }

/* ---------- Cart ---------- */
.cart-page, .thanks { padding: calc(var(--space) * .55) 0 var(--space); }
.cart-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.line { display: grid; grid-template-columns: 72px 1fr auto auto; grid-template-areas: "img info qty total" "img info rm rm"; gap: .2rem 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--whip-shade); }
.line__img { grid-area: img; }
.line__img .line__pic, .line__img .img-ph { width: 72px; height: 72px; min-height: 0; object-fit: cover; border-radius: 16px; font-size: 0; padding: 0; }
.line__img .img-ph span { display: none; }
.line__info { grid-area: info; }
.line__name { font-weight: 800; margin: 0; }
.line__meta { font-size: .9rem; color: var(--muted); margin: 0; }
.line__qty { grid-area: qty; }
.line__qty input { width: 4.2rem; text-align: center; padding: .45rem; }
.line__total { grid-area: total; font-weight: 800; margin: 0; min-width: 5.5rem; text-align: right; }
.line__remove { grid-area: rm; justify-self: end; border: 0; background: none; color: var(--berry); font: 600 .85rem var(--font-text); cursor: pointer; text-decoration: underline; }
.totals { margin: 1.5rem 0 1rem; display: grid; gap: .35rem; }
.totals div { display: flex; justify-content: space-between; }
.totals dd { margin: 0; font-weight: 700; }
.totals__save { color: var(--leaf); }
.totals__grand { padding-top: .6rem; border-top: 2px solid var(--bean); font-size: var(--step-1); }
.totals__grand dd { font-weight: 800; }
.checkout { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 1px 0 var(--whip-shade), var(--glow); position: sticky; top: 96px; }
.empty { text-align: center; padding: 3rem 1rem; }
.empty p { font-size: var(--step-1); }

.thanks__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.receipt { background: #fff; border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 1px 0 var(--whip-shade), var(--glow); }
.receipt__when { font-weight: 700; color: var(--berry); }
.receipt__lines { list-style: none; padding: 0; margin: 0; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dashed var(--whip-shade); }

/* ---------- Footer ---------- */
.site-foot { padding: clamp(6rem, 10vw, 8rem) 0 1.5rem; margin-top: 0; background-color: var(--berry-deep); }
.site-foot__drips { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(60px, 8vw, 110px); color: var(--whip); }
.site-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot__name { font: 400 2rem/1 var(--font-display); margin-bottom: .6rem; }
.site-foot__h { font-size: 1.05rem; font-weight: 800; margin-bottom: .4rem; }
.site-foot__note { font-weight: 600; color: var(--seed); margin-bottom: .2rem; }
.site-foot__list { list-style: none; padding: 0; margin: 0; }
.site-foot__list li { margin-bottom: .35rem; }
.site-foot a { color: var(--whip); }
.site-foot .hours { margin: .4rem 0 0; }
.site-foot .hours div { border-bottom-color: rgba(255, 252, 245, .25); }
.site-foot__base { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 252, 245, .2); font-size: .85rem; opacity: .8; }
.site-foot__base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-grid; gap: 6px; place-content: center; width: 46px; height: 46px;
    border: 2px solid var(--whip-shade); border-radius: 50%; background: var(--whip); cursor: pointer;
  }
  .nav-toggle__bar { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--berry); transition: transform .2s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem; background: var(--whip); border-bottom: 1px solid var(--whip-shade);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .85rem 0; border-bottom: 1px solid var(--whip-shade); }
  .site-nav .nav-call { margin-top: 1rem; text-align: center; border-bottom: 2px solid var(--berry); }

  .hero__grid, .special__grid, .delivery__grid, .form-page__grid, .cart-layout, .thanks__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; justify-self: center; width: 100%; }
  .steps__list { grid-template-columns: 1fr; }
  .duo__grid { grid-template-columns: 1fr; }
  .dish--wide { grid-column: auto; flex-direction: column; }
  .dish--wide .dish__media { flex: none; padding: .7rem .7rem 0; }
  .dish--wide .dish__media .dish__img, .dish--wide .dish__media .img-ph { height: auto; aspect-ratio: 1; }
  .dish--wide .dish__body { padding: 1.2rem 1.4rem 1.4rem; }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
  .checkout { position: static; }
  .sticker--lg { right: .5rem; top: -1rem; }
}
@media (max-width: 600px) {
  .sizes__row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .brand__name { font-size: 1.3rem; }
  .brand__logo { width: 42px; height: 42px; }
  .line { grid-template-columns: 60px 1fr auto; grid-template-areas: "img info info" "img qty total" "img rm rm"; }
  .line__img .line__pic, .line__img .img-ph { width: 60px; height: 60px; }
}

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

/* optional photo texture from assets/img/textures/whipped-cream-texture.* */
.sizes { position: relative; isolation: isolate; }
.sizes::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--tex-whip) center / 640px repeat; opacity: .4;
}
