/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* FIX: stops the off-canvas mobile nav from
                          widening the page's scrollable area */
  width: 100%;
  background: var(--ivory); /* FIX: matches body so an overscroll bounce
                                past the top/bottom shows ivory, not the
                                browser's default white canvas */
  overscroll-behavior-y: none; /* FIX: stops that bounce/rubber-band
                                   scroll past the end of the page entirely */
  scrollbar-gutter: stable; /* reserves the scrollbar's width permanently so
                               locking scroll (cart/walkthrough overlays set
                               overflow:hidden here) can't shift the layout */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:root{
  --wine: #C8102E;
  --wine-deep: #7A0A1D;
  --wine-bright: #E31837;
  --ink: #18130F;
  --ivory: #FBF4E9;
  --ivory-dim: #F1E5D2;
  --gold: #C7A155;
  --gold-soft: #E8D9B5;
  --gold-line: rgba(199,161,85,0.4);
  --text-muted: #6b5f52;
  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
  --shadow-card: 0 24px 48px -24px rgba(24,19,15,0.35);
  --container: 1180px;
  --ticker-h: 34px;
}

body{
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: hidden makes <body> a scroll container, which
     silently stops position:sticky working for anything inside it
     (the gallery filter bar) — clip contains overflow the same way
     without taking scrolling away from the viewport. */
  overflow-x: clip;
  width: 100%;
  max-width: 100vw; /* FIX: hard safety cap so no descendant, fixed or
                        otherwise, can push the page wider than the
                        viewport */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; font-variation-settings: "WONK" 0; line-height: 1.15; color: var(--ink); }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(2rem, 4vw, 2.9rem); margin-top: 14px; }
.section-head p{ margin-top: 18px; color: var(--text-muted); font-size: 1.02rem; max-width: 52ch; }
.section-head.center p{ margin-left:auto; margin-right:auto; }

section{ padding: 118px 0; position: relative; scroll-margin-top: calc(84px + var(--ticker-h)); overflow-x: clip; }

/* Reveal-on-scroll */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ============================================================
   LOGO — signature mark
============================================================ */
.logo-img{
  height: 44px; width: auto; flex-shrink: 0; display: block;
}
.logo-img.logo-lg{ height: 108px; }

/* ============================================================
   NEWS TICKER — scrolling promo strip, sits above the nav.
   Content is built in JS from NEWS_ITEMS (see index.js/gallery.js),
   shuffled on each load; the track is duplicated so the CSS loop
   is seamless.
============================================================ */
.news-ticker{
  position: fixed; top: 0; left: 0; right: 0; z-index: 260;
  height: var(--ticker-h); overflow: hidden;
  background: linear-gradient(90deg, var(--wine-deep), var(--wine) 55%, var(--wine-deep));
  border-bottom: 1px solid var(--gold-line);
  display:flex; align-items:center;
}
.news-ticker-track{
  display:inline-flex; align-items:center; white-space:nowrap;
  animation: news-ticker-scroll 34s linear infinite;
  will-change: transform;
}
.news-ticker:hover .news-ticker-track{ animation-play-state: paused; }
.news-ticker-item{
  display:inline-flex; align-items:center; gap:10px; padding: 0 26px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ivory); font-weight: 500; cursor: pointer;
}
.news-ticker-item:hover{ color: var(--gold-soft); }
.news-ticker-item .tag{ color: var(--gold); font-weight:600; }
.news-ticker-item .sep{ color: var(--gold-line); font-size: 0.7rem; }
@keyframes news-ticker-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .news-ticker-track{ animation: none; } }

/* ============================================================
   NAV
============================================================ */
.nav{
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 200;
  padding: 20px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.scrolled{
  background: rgba(251, 244, 233, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 8px 30px -18px rgba(24,19,15,0.4);
}
.nav .container{ position: relative; max-width: none; display:flex; align-items:center; justify-content: flex-start; }
/* index.html's nav carries .hero-toggle — the brand text shows alone
   while the hero question is in view, and past-hero (toggled in
   index.js via an IntersectionObserver on #home) swaps it for the nav
   links. gallery.html's nav has no nav-brand at all, so nav-links are
   just always visible there (nothing gates them) — only its logo mark
   is gated by .past-hero (toggled in gallery.js via an
   IntersectionObserver on .gallery-hero), same as index.html's. Fades
   via opacity; the hidden one is also pulled out of flow with
   position:absolute so it stops reserving flex space in
   .nav .container — otherwise the visible one stays pinned in the
   space-between layout as if the hidden element were still there. */
.nav-brand, .nav-links{ opacity: 1; transition: opacity .35s ease; }
.nav.past-hero .nav-brand,
.nav.hero-toggle:not(.past-hero) .nav-links{
  opacity: 0; visibility: hidden; pointer-events: none; position: absolute;
}
/* gallery.html has no nav-brand to justify-content:flex-start against,
   so its nav-links are centered from the very first paint — only the
   logo mark (left-pinned, see .nav-logo below) fades in later. */
.gallery-nav .container{ justify-content: center; }
/* Persistent brand mark, pinned to the left independent of the
   nav-brand/nav-links flex flow (same absolute-pin technique as
   .cart-widget on the right) so it never shifts either of them.
   Both pages show it only once past-hero (after scrolling past the
   hero), replacing the wordmark, with the nav links centered. */
.nav-logo{
  position: absolute; top: 50%; left: 28px; transform: translateY(-50%);
  display:flex; align-items:center; opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}
.nav-logo img{ height: 32px; width:auto; display:block; }
.nav.past-hero .nav-logo{ opacity: 1; pointer-events: auto; }
.nav.past-hero .container{ justify-content: center; }
@media (max-width: 480px){
  .nav-logo{ top: 0; transform: none; }
}
.nav-brand{ display:flex; align-items:center; gap:14px; }
.nav-brand .name{
  font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.04em;
  color: var(--ivory); transition: color .3s ease;
}
.nav-brand .name em{ font-style: normal; color: var(--gold-soft); transition: color .3s ease; }
.nav-links{ display:flex; align-items:center; gap: 32px; }
.nav-links a{
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory); position: relative; padding: 4px 0; transition: color .3s ease;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:1px;
  background: var(--gold-soft); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:hover::after{ transform: scaleX(1); }
.nav-links a.active{ color: var(--gold-soft); }
.nav-links a.active::after{ transform: scaleX(1); }
.nav.scrolled .nav-links a.active{ color: var(--wine); }
.nav-cta{
  display:flex; align-items:center; gap:8px;
  background: var(--wine); color: var(--ivory);
  padding: 11px 22px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--wine); border-radius: 3px;
  transition: background .3s ease, color .3s ease, transform .2s ease;
}
.nav-cta:hover{ background: var(--wine-bright); transform: translateY(-1px); }

/* Once scrolled, the nav gets its solid ivory background (see
   .nav.scrolled above) — switch all this text back to the dark
   palette so it stays readable against it. */
.nav.scrolled .nav-brand .name{ color: var(--ink); }
.nav.scrolled .nav-brand .name em{ color: var(--wine); }
.nav.scrolled .nav-links a{ color: var(--ink); }
.nav.scrolled .nav-links a::after{ background: var(--wine); }

@media (max-width: 480px){
  .nav .container{ flex-direction: column; align-items:center; row-gap: 12px; }
  .nav-links{ gap: 18px; }
  .nav-links a{ font-size: 0.68rem; letter-spacing: 0.08em; }
}

/* ============================================================
   HERO
============================================================ */
.hero{
  min-height: 100vh; display:flex; align-items:center; justify-content:flex-start;
  text-align:left; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(199,161,85,0.16), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(199,161,85,0.12), transparent 45%),
    linear-gradient(160deg, var(--wine-deep) 0%, var(--wine) 46%, var(--ink) 130%);
  padding-top: calc(90px + var(--ticker-h));
  padding-left: clamp(28px, 8vw, 100px);
  padding-right: clamp(28px, 8vw, 100px);
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 44px);
  pointer-events:none;
}
/* .hero-content is the thing .hero actually vertically centers — tags
   and hero-inner both live in its normal document flow (not absolute),
   so hero-tags always renders a real margin above the H1 no matter the
   viewport height or how many lines the H1 wraps to. Previously
   .hero-tags was position:absolute at a guessed offset from the nav,
   which overlapped .hero-inner on shorter viewports since centering
   made .hero-inner's own position height-dependent. */
.hero-content{ position: relative; z-index: 2; width: 100%; display:flex; flex-direction:column; }
.hero-tags{
  align-self: flex-end; margin-bottom: 44px;
  display:flex; flex-direction:column; align-items:flex-end; gap: 6px;
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-soft); opacity:0; animation: fadeUp .8s ease .35s forwards;
}
.hero-inner{ max-width: 780px; }
.hero .eyebrow{ color: var(--gold-soft); opacity:0; animation: fadeUp .8s ease .5s forwards; }
.hero h1{
  color: var(--ivory); font-size: clamp(2.6rem, 6vw, 4.6rem); margin-top: 20px;
  font-weight: 500; letter-spacing: 0.01em;
  opacity:0; animation: fadeUp .9s ease .7s forwards;
}
.hero h1 em{ font-style: italic; color: var(--gold-soft); }
.hero .divider{
  width: 70px; height: 1px; background: var(--gold); margin: 26px 0;
  opacity:0; animation: fadeUp .8s ease .9s forwards;
}
.hero p.lede{
  color: rgba(251,244,233,0.82); font-size: 1.08rem; max-width: 46ch; margin: 0;
  opacity:0; animation: fadeUp .8s ease 1.05s forwards;
}
@keyframes fadeUp{ from{ opacity:0; transform: translateY(16px);} to{ opacity:1; transform: translateY(0);} }
.hero-ctas{
  display:flex; gap:18px; justify-content:flex-start; margin-top: 42px; flex-wrap: wrap;
  opacity:0; animation: fadeUp .8s ease 1.2s forwards;
}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 15px 30px; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 3px; transition: all .3s ease; border: 1px solid transparent;
}
.btn-gold{ background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover{ background: transparent; color: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-2px); }
.btn-outline{ border-color: rgba(251,244,233,0.5); color: var(--ivory); }
.btn-outline:hover{ border-color: var(--ivory); background: rgba(251,244,233,0.08); transform: translateY(-2px); }
.btn-wine{ background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.btn-wine:hover{ background: var(--wine-bright); border-color: var(--wine-bright); transform: translateY(-2px); }

.scroll-cue{
  position:absolute; bottom: 34px; left:50%; transform: translateX(-50%);
  color: rgba(251,244,233,0.6); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase;
  display:flex; flex-direction:column; align-items:center; gap:10px; z-index: 2;
}
.scroll-cue .line{ width:1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 51%{ transform-origin: bottom;} 100%{ transform: scaleY(0); transform-origin: bottom;} }

/* ============================================================
   ABOUT
============================================================ */
.about{ background: var(--ivory); }
.about-grid{ display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items:center; }
.about-frame{
  position: relative; aspect-ratio: 4/5; border-radius: 3px; overflow: hidden;
  background: linear-gradient(150deg, var(--wine) 0%, var(--wine-deep) 100%);
  box-shadow: var(--shadow-card);
}
.about-frame::after{
  content:""; position:absolute; inset: 14px; border: 1px solid var(--gold-line); pointer-events:none;
}
.about-frame .placeholder-icon{ opacity: 0.9; }
.about-copy .eyebrow{ margin-bottom: 4px; }
.about-copy h2{ font-size: clamp(2rem, 3.6vw, 2.7rem); margin: 14px 0 22px; }
.about-copy p{ color: var(--text-muted); margin-bottom: 16px; max-width: 54ch; }
.about-points{ margin-top: 32px; display:grid; gap: 18px; }
.about-point{ display:flex; gap: 16px; align-items:flex-start; }
.about-point .dot{ width: 7px; height:7px; border-radius:50%; background: var(--wine); margin-top: 9px; flex-shrink:0; }
.about-point strong{ display:block; font-family: var(--font-display); font-size: 1.12rem; font-weight:600; margin-bottom: 2px; }
.about-point span{ color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 860px){
  .about-grid{ grid-template-columns: 1fr; gap: 44px; }
}

/* ============================================================
   PLACEHOLDER MEDIA (used across gallery / about until real
   photos & videos are added)
============================================================ */
.placeholder-icon{ color: var(--gold-soft); width: 46px; height:46px; }
.media-frame{
  position: relative; overflow:hidden; border-radius: 2px;
  background: linear-gradient(155deg, var(--wine) 0%, var(--wine-deep) 100%);
  display:flex; align-items:center; justify-content:center; flex-direction:column; gap: 14px;
}
.media-frame.tone-b{ background: linear-gradient(155deg, #2a201a 0%, var(--ink) 100%); }
.media-frame.tone-c{ background: linear-gradient(155deg, var(--wine-bright) 0%, var(--wine-deep) 100%); }
.media-frame img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:1; transition: opacity .35s ease; }
/* Skeleton shimmer shown from the moment a dynamically-inserted
   .media-frame gains its <img>/<video> until that media actually
   finishes loading — see bindMediaSkeleton() in config.js. */
.media-frame.skel{
  background: linear-gradient(100deg, rgba(255,255,255,0.05) 30%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.05) 70%);
  background-size: 200% 100%;
  animation: skeletonShine 1.4s ease-in-out infinite;
}
.media-frame.skel img, .media-frame.skel video{ opacity: 0; }
/* Reel clips keep their poster visible while the shimmer runs behind it. */
.reel-item.skel video{ opacity: 1; }
@keyframes skeletonShine{ 0%{ background-position: 200% 0; } 100%{ background-position: -200% 0; } }
.media-frame .cap{
  color: var(--gold-soft); font-size: 0.72rem; letter-spacing: 0.06em; text-align:center; padding: 0 16px;
  font-style: italic; font-family: var(--font-display); font-size: 0.95rem;
}
.media-frame .ring{ position:absolute; inset: 10px; border: 1px solid rgba(232,217,181,0.25); pointer-events:none; }
.play-badge{
  width: 58px; height:58px; border-radius:50%; border: 1px solid var(--gold-soft);
  display:flex; align-items:center; justify-content:center;
}

/* ============================================================
   GALLERY / TESTIMONIALS
============================================================ */
.gallery{ background: var(--ink); color: var(--ivory); }
.gallery .section-head p{ color: rgba(251,244,233,0.65); }
.gallery .eyebrow{ color: var(--gold); }

.reel-title{ margin-top: 0; }
.reel{
  display:flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory;
}
.reel::-webkit-scrollbar{ height: 5px; }
.reel::-webkit-scrollbar-thumb{ background: var(--gold-line); border-radius: 4px; }
.reel-item{
  flex: 0 0 280px; aspect-ratio: 9/13; scroll-snap-align: start; position: relative;
  border-radius: 3px; overflow: hidden; background: var(--ink);
}
.reel-item video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.reel-item::after{
  content:""; position:absolute; inset:0; pointer-events:none; z-index: 1;
  background: linear-gradient(0deg, rgba(24,19,15,0.8) 0%, rgba(24,19,15,0.2) 42%, transparent 65%);
}
.reel-item .cap{ position:absolute; bottom:18px; left:18px; right:18px; text-align:left; z-index: 2; }
.reel-item .who{ display:block; color: var(--ivory); font-family: var(--font-body); font-size: 0.72rem; letter-spacing:0.1em; text-transform: uppercase; margin-top: 4px; font-style: normal; opacity: .7;}

.testimonial-title{ margin-top: 96px; }
.t-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.t-grid.t-grid--pair{ grid-template-columns: repeat(2, minmax(0, 360px)); justify-content:center; max-width: 760px; margin: 0 auto; }
.t-card{
  border: 1px solid rgba(232,217,181,0.16); padding: 32px 28px; border-radius: 2px;
  background: rgba(251,244,233,0.02);
}
.t-card .quote-mark{ font-family: var(--font-display); font-size: 3rem; color: var(--gold); line-height: 0.5; display:block; margin-bottom: 14px; }
.t-card p{ font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: rgba(251,244,233,0.9); }
.t-card .who{ margin-top: 20px; display:flex; align-items:center; gap: 12px; }
.t-card .who .name{ font-size: 0.85rem; letter-spacing: 0.04em; }
.t-card .who .event{ font-size: 0.74rem; color: rgba(251,244,233,0.5); }

@media (max-width: 860px){ .t-grid, .t-grid.t-grid--pair{ grid-template-columns: 1fr; } }

/* ============================================================
   MENU SECTIONS (shared)
============================================================ */
.menu-section{ background: var(--ivory-dim); }
.menu-section.alt{ background: var(--ivory); }
.menu-layout{ display:grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: flex-start; }
@media (max-width: 980px){ .menu-layout{ grid-template-columns: 1fr; } }

.chip-row{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  padding: 9px 18px; border: 1px solid var(--gold-line); border-radius: 30px;
  font-size: 0.78rem; letter-spacing:0.03em; color: var(--text-muted); background: transparent;
  transition: all .25s ease;
}
.chip:hover{ border-color: var(--wine); color: var(--wine); }
.chip.active{ background: var(--wine); color: var(--ivory); border-color: var(--wine); }

/* Cake flavor chips display */
.flavor-showcase{ margin: 34px 0 10px; }
.flavor-showcase h4{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 14px; font-family: var(--font-body); font-weight: 500;}

/* Order card (form container) */
.order-card{
  background: var(--ivory); border: 1px solid var(--gold-line); border-radius: 3px;
  padding: 40px; box-shadow: var(--shadow-card); position: relative;
}
.order-card::before{
  content:""; position:absolute; top:10px; left:10px; right:10px; bottom:10px;
  border: 1px solid rgba(199,161,85,0.18); pointer-events:none; border-radius: 2px;
}
.order-card .eyebrow{ display:block; margin-bottom: 14px; }
.order-card h3{ font-size: 1.5rem; margin-bottom: 6px; }
.order-card .sub{ color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }

/* Cakes has no separate section-head above the box (its "Cake Menu"
   label now lives inside .order-card instead — see the eyebrow rule
   above), so the generic 118px section padding leaves a much bigger
   gap here than intended. Trimmed to roughly the same visual gap the
   gallery section already has between its own content and its
   bottom edge. */
#cakes{ padding-top: 64px; }

.field{ margin-bottom: 20px; }
.field label{
  display:block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 8px; font-weight: 500;
}
.field .req{ color: var(--wine); }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea{
  width: 100%; padding: 13px 14px; border: 1px solid rgba(24,19,15,0.16); border-radius: 2px;
  background: #fff; color: var(--ink); font-size: 0.94rem; transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--wine); }
.field textarea{ resize: vertical; min-height: 84px; }

/* Briefly rings a field/field-group that failed validation, so
   scrollIntoView()-ing it into frame is followed by something the
   eye actually catches (see flagInvalidField() in index.js/gallery.js). */
@keyframes fieldInvalidPulse{
  0%, 100%{ outline-color: rgba(122,26,26,0.85); }
  50%{ outline-color: rgba(122,26,26,0.15); }
}
.field-invalid{
  outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 2px;
  animation: fieldInvalidPulse 0.6s ease-in-out 2;
}
.field-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .field-row{ grid-template-columns: 1fr; } }

.tier-select{ display:flex; gap:10px; flex-wrap: wrap; }
.tier-option{
  flex:1; min-width: 64px; text-align:center; padding: 14px 8px; border: 1px solid rgba(24,19,15,0.16);
  border-radius: 8px; font-size: 0.85rem; transition: all .2s ease; background:#fff;
}
.tier-option:hover{ border-color: var(--wine); }
.tier-option input{ display:none; }
.tier-option.selected{ border-color: var(--wine); background: var(--wine); color: var(--ivory); }
.tier-option.tier-option--disabled{ opacity: 0.35; pointer-events: none; }

.tier-custom-field{ margin-top: 12px; margin-bottom: 0; max-width: 180px; }

.tier-config{ margin-top: 14px; display:flex; flex-direction:column; gap: 12px; }
.tier-config .tier-row{
  position: relative; display:flex; gap: 14px; align-items:flex-end; flex-wrap: wrap;
  padding: 14px 16px; border: 1px solid rgba(24,19,15,0.1); border-radius: 3px; background: rgba(255,255,255,0.5);
}
.tier-config .tier-row-label{
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
  width: 100%; margin-bottom: 2px; font-weight: 500;
}
.tier-config .tier-row .field{ margin-bottom: 0; flex:1; min-width: 130px; }

.gallery-peek-btn{
  display:inline-flex; align-items:center; gap: 8px; margin-top: 10px;
  font-size: 0.78rem; letter-spacing: 0.04em; color: var(--wine); text-decoration: underline;
  text-underline-offset: 3px;
}
.gallery-peek-btn:hover{ color: var(--wine-bright); }

.submit-row{ margin-top: 30px; }
.submit-row .btn{ width: 100%; justify-content:center; }
.submit-row .cake-actions{ display:flex; gap: 14px; flex-wrap:wrap; }
.submit-row .cake-actions .btn{ flex: 1; min-width: 160px; width:auto; }
.form-note{ font-size: 0.78rem; color: var(--text-muted); margin-top: 14px; text-align:center; }
.form-note svg{ vertical-align: -3px; margin-right:4px; }

/* Menu item list (finger foods / catering) */
.menu-list{ display:flex; flex-direction:column; gap: 14px; }
.menu-item{
  display:flex; flex-wrap: wrap; gap: 20px; align-items:center; background: var(--ivory);
  border: 1px solid rgba(24,19,15,0.08); border-radius: 8px; padding: 18px 22px;
  transition: border-color .2s ease;
}
.menu-item:hover{ border-color: var(--gold-line); }
.menu-item .m-body{ flex: 1; min-width:0; }
.menu-item .m-body h4{ font-size: 1.12rem; font-weight: 600; }
.menu-item .m-body p{ color: var(--text-muted); font-size: 0.86rem; margin-top: 2px; }
.menu-item .m-price{ font-size: 0.82rem; color: var(--wine); margin-top: 6px; letter-spacing: 0.02em; }

/* Every menu-item's icon/body/qty-control row lives in .m-top, kept
   as its own flex row so it lays out the same whether or not the
   item also has a .m-extra block below it. */
.menu-item .m-top{ display:flex; flex-wrap: wrap; gap: 20px; align-items:center; width: 100%; }

/* Items that reveal extra choices (protein, sides, filling) once a
   base selection is made — icon/body/price row on top, extras below. */
.menu-item.has-extra{ flex-direction: column; align-items: stretch; gap: 0; }
.menu-item .m-extra{ margin-top: 16px; padding-top: 16px; border-top: 1px dashed rgba(24,19,15,0.12); }
.menu-item .m-extra + .m-extra{ margin-top: 12px; padding-top: 12px; }
.menu-item .m-extra-label{
  display:block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text-muted); margin-bottom: 8px; font-weight: 500;
}
.cart-add-btn{
  display:flex; align-items:center; justify-content:center; width:100%;
  margin-top: 14px; padding: 10px 16px; border-radius: 30px;
  background: var(--wine); color: #fff; font-size: 0.78rem; letter-spacing: 0.04em;
  transition: background .2s ease;
}
.cart-add-btn:hover{ background: var(--wine-bright); }
.menu-item .m-extra .field{ margin-bottom: 0; }
.menu-item .m-qty-row{ display:flex; flex-wrap: wrap; align-items:center; justify-content:space-between; gap: 16px; }
.menu-item .m-qty-row .m-price{ margin-top: 0; }

.qty-control{ display:flex; align-items:center; gap: 0; border: 1px solid rgba(24,19,15,0.16); border-radius: 30px; overflow:hidden; flex-shrink:0; }
.qty-control button{ width: 24px; height: 24px; display:flex; align-items:center; justify-content:center; font-size: 1.1rem; color: var(--wine); }
.qty-control button:hover{ background: var(--ivory-dim); }
.qty-control .qty-val{ width: 30px; text-align:center; font-size: 0.9rem; }

.qty-with-label{ display:flex; align-items:center; gap: 10px; flex-shrink:0; }
.qty-with-label .qty-label{ font-size: 0.8rem; color: var(--text-muted); }

.sc-picker-row{ display:flex; gap: 28px; flex-wrap:wrap; }
.sc-note{ font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; max-width: 32ch; text-align:left; }

/* What's in each pack, listed under the style chips (see
   RICE_STYLE_NOTES in index.js) — the pack name carries the weight so
   the two options can be told apart at a glance. */
.pack-contents{ list-style:none; margin-top: 12px; display:grid; gap: 6px; }
.pack-contents li{ display:flex; gap: 10px; align-items:baseline; font-size: 0.82rem; }
.pack-contents strong{ color: var(--ink); font-weight: 600; min-width: 68px; flex-shrink:0; }
.pack-contents span{ color: var(--text-muted); }

.liter-chips{ display:flex; gap:8px; flex-wrap:wrap; flex-shrink:0; }
.liter-chip{
  padding: 8px 13px; border: 1px solid rgba(24,19,15,0.16); border-radius: 20px; font-size: 0.78rem;
  transition: all .2s ease; background: #fff;
}
.liter-chip:hover{ border-color: var(--wine); }
.liter-chip.selected{ background: var(--wine); border-color: var(--wine); color: var(--ivory); }

/* ============================================================
   FINGER FOOD PREVIEW — round "see it" button beside each dish
   name, and the one shared photo viewer it opens (openFfPreview()
   in index.js). The button stays 28px so it reads as tappable on
   a phone without crowding the dish name.
============================================================ */
.m-head{ display:flex; align-items:center; gap: 8px; }
.ff-peek{
  width: 28px; height: 28px; flex-shrink:0; border-radius: 50%;
  border: 1px solid var(--gold-line); background: rgba(199,161,85,0.12);
  color: var(--wine-deep); display:inline-flex; align-items:center; justify-content:center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.ff-peek svg{ width: 15px; height: 15px; }
.ff-peek:hover, .ff-peek:focus-visible{ background: var(--wine); border-color: var(--wine); color: var(--ivory); }
.ff-peek:active{ transform: scale(0.92); }

.ff-peek-wrap{ position: relative; display: inline-flex; }

/* First time a dish is chosen it lights up like the cart icon does,
   with a toast pointing at it — see maybeShowFfPeekCallout(). */
.ff-peek.is-highlighted{
  background: var(--wine); border-color: var(--wine); color: var(--ivory);
  animation: ffPeekRing 1.6s ease-out infinite;
}
@keyframes ffPeekRing{
  0%{ box-shadow: 0 0 0 0 rgba(200,16,46,0.45); }
  70%{ box-shadow: 0 0 0 10px rgba(200,16,46,0); }
  100%{ box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}
.ff-peek-toast{
  position:absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%);
  z-index: 3; width: max-content; max-width: 132px; padding: 6px 11px; border-radius: 20px;
  background: var(--ink); color: var(--ivory); font-size: 0.72rem; line-height: 1.3;
  letter-spacing: 0.02em; cursor: pointer; text-align: left;
  box-shadow: 0 8px 18px -8px rgba(24,19,15,0.5);
  animation: ffToastIn .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ff-peek-toast::before{
  content:''; position:absolute; right: 100%; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-right-color: var(--ink);
}
@keyframes ffToastIn{ from{ opacity:0; transform: translateY(-50%) translateX(-4px); } to{ opacity:1; transform: translateY(-50%); } }

.ff-preview-modal{
  position: fixed; inset:0; z-index: 650;
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.ff-preview-modal.open{ opacity:1; pointer-events:auto; }
.ff-preview-backdrop{ position:absolute; inset:0; background: rgba(24,19,15,0.82); }
.ff-preview-panel{
  position: relative; width: 100%; max-width: 680px; max-height: 86vh; overflow-y: auto;
  background: var(--ivory); border-radius: 4px; padding: 0 28px 28px; box-shadow: var(--shadow-card);
  transform: translateY(12px); transition: transform .3s ease;
}
.ff-preview-modal.open .ff-preview-panel{ transform: none; }
.ff-preview-panel > .checkout-head{
  position: sticky; top: 0; z-index: 2;
  background: var(--ivory); padding: 22px 0 14px; border-bottom: 1px solid var(--gold-line);
}
.ff-preview-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.ff-preview-grid[hidden]{ display:none; }
.ff-preview-grid .media-frame{ aspect-ratio: 4 / 3; border-radius: 3px; }
.ff-preview-empty{ margin-top: 20px; text-align:center; }
.ff-preview-empty p{ color: var(--text-muted); font-size: 0.9rem; max-width: 40ch; margin: 0 auto 20px; }
@media (max-width: 640px){
  .ff-preview-modal{ padding: 0; align-items:flex-end; }
  .ff-preview-panel{ max-width: none; max-height: 88vh; border-radius: 10px 10px 0 0; padding: 0 20px 24px; }
  .ff-preview-panel > .checkout-head{ padding: 18px 0 12px; }
  .ff-preview-grid{ grid-template-columns: repeat(2, 1fr); }
}

.menu-group-title{
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--wine);
  margin: 34px 0 16px; font-weight: 500;
}
.menu-group-title:first-child{ margin-top: 0; }

/* Event-catering CTA — the catering section's own way in, for hosts who
   want a quote rather than a litres-and-proteins cart. Sits between the
   section intro and the soup list so it's the first thing you meet. */
.catering-book{
  display:flex; align-items:center; justify-content:space-between;
  gap: 20px 28px; flex-wrap:wrap;
  margin-bottom: 52px; padding: 26px 30px;
  border: 1px solid var(--gold-line); border-radius: 14px;
  background: linear-gradient(135deg, rgba(199,161,85,0.13), rgba(199,161,85,0.03));
}
.catering-book h3{ font-family: var(--font-display); font-size: 1.34rem; }
.catering-book p{ margin-top: 7px; color: var(--text-muted); font-size: 0.92rem; max-width: 50ch; }
.catering-book .btn{ flex: 0 0 auto; }
@media (max-width: 620px){
  .catering-book{ padding: 22px 20px; }
  .catering-book .btn{ width: 100%; justify-content: center; }
}

/* Order summary drawer */
.order-summary{
  position: sticky; top: 100px; background: var(--ink); color: var(--ivory);
  border-radius: 3px; padding: 30px; box-shadow: var(--shadow-card);
}
.order-summary h3{ color: var(--ivory); font-size: 1.3rem; display:flex; align-items:center; justify-content:space-between;}
.order-summary .count-badge{
  background: var(--gold); color: var(--ink); font-family: var(--font-body); font-size: 0.72rem;
  padding: 3px 10px; border-radius: 20px; font-weight: 600;
}
.summary-empty{ color: rgba(251,244,233,0.5); font-size: 0.88rem; margin-top: 18px; }
.summary-list{ margin-top: 20px; display:flex; flex-direction:column; gap: 12px; max-height: 220px; overflow-y:auto; }
.summary-list::-webkit-scrollbar{ width: 4px; }
.summary-list::-webkit-scrollbar-thumb{ background: rgba(232,217,181,0.3); }
.summary-row{ display:flex; justify-content:space-between; gap: 10px; font-size: 0.86rem; border-bottom: 1px solid rgba(251,244,233,0.08); padding-bottom: 10px; }
.summary-row .s-name{ color: rgba(251,244,233,0.9); }
.summary-row .s-meta{ color: rgba(251,244,233,0.5); font-size: 0.76rem; }
.summary-row .s-remove{ color: var(--gold); font-size: 0.76rem; text-decoration: underline; flex-shrink:0; }
.summary-divider{ height:1px; background: rgba(251,244,233,0.12); margin: 20px 0; }
.summary-total{ display:flex; justify-content:space-between; font-size: 0.92rem; margin-bottom: 22px; }
.summary-total strong{ color: var(--gold-soft); font-family: var(--font-display); font-size: 1.2rem; }

/* ============================================================
   CONTACT / FOOTER
============================================================ */
.contact{
  background: linear-gradient(160deg, var(--wine-deep) 0%, var(--ink) 100%);
  color: var(--ivory); text-align:center;
}
.contact .crest-wrap{ display:flex; justify-content:center; margin-bottom: 22px; }
.contact .eyebrow{ justify-content:center; color: var(--gold); }
.contact h2{ color: var(--ivory); font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0 20px; }
.contact p.lede{ color: rgba(251,244,233,0.7); max-width: 50ch; margin: 0 auto 36px; }
.contact-info{ display:flex; justify-content:center; gap: 48px; flex-wrap: wrap; margin-top: 56px; }
.contact-info .c-block h4{ font-size: 0.7rem; text-transform:uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 10px; font-family: var(--font-body); font-weight:500; }
.contact-info .c-block p{ color: rgba(251,244,233,0.85); font-size: 0.95rem; }

.map-preview{
  display:block; position: relative; width: 220px; height: 220px;
  margin: 44px auto 0; border-radius: 10px; overflow: hidden;
  border: 1px solid rgba(232,217,181,0.25); box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.map-preview:hover{ transform: translateY(-4px); box-shadow: 0 32px 56px -22px rgba(0,0,0,0.55); }
.map-preview iframe{
  width: 100%; height: 100%; border: 0; pointer-events: none; /* decorative — the <a> handles the click */
  filter: grayscale(0.2) contrast(1.05) brightness(0.96);
}
.map-preview-cta{
  position: absolute; left:0; right:0; bottom:0; padding: 12px 14px;
  background: linear-gradient(to top, rgba(24,19,15,0.9), rgba(24,19,15,0));
  color: var(--ivory); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center;
}
@media (max-width: 480px){
  .map-preview{ width: 180px; height: 180px; }
}
.contact-social{ display:flex; justify-content:center; gap: 18px; margin-top: 40px; }
.contact-social a{
  width: 42px; height:42px; border-radius: 50%; border: 1px solid rgba(232,217,181,0.3);
  display:flex; align-items:center; justify-content:center; transition: all .25s ease;
}
.contact-social a:hover{ border-color: var(--gold); background: rgba(199,161,85,0.1); transform: translateY(-2px); }
.footer-bottom{
  margin-top: 90px; padding-top: 28px; border-top: 1px solid rgba(251,244,233,0.1);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap: 12px;
  font-size: 0.76rem; color: rgba(251,244,233,0.45);
}

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox{
  position: fixed; inset:0; background: rgba(24,19,15,0.92); z-index: 500;
  display:flex; flex-direction:column; align-items:center; justify-content:center; padding: 40px;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.lightbox.open{ opacity:1; pointer-events:auto; }
.lightbox-inner{ max-width: 640px; width:100%; }
.lightbox-close{
  position:absolute; top: 26px; right: 30px; color: var(--ivory); font-size: 1.6rem;
  width: 44px; height:44px; display:flex; align-items:center; justify-content:center;
}
.lightbox-info{ text-align:center; margin-top: 18px; max-width: 640px; }
.lightbox-caption{ color: var(--ivory); font-family: var(--font-display); font-size: 1.25rem; }
.lightbox-sub{ color: rgba(251,244,233,0.6); font-size: 0.86rem; margin-top: 4px; }
.lightbox-order{
  display:inline-flex; align-items:center; justify-content:center;
  margin-top: 16px; padding: 11px 24px; border-radius: 30px;
  background: var(--wine); color: #fff;
  font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background .2s ease;
}
.lightbox-order:hover{ background: var(--wine-bright); }
.lightbox-order[hidden]{ display:none; } /* display:inline-flex above would otherwise beat the UA [hidden] rule */

/* One-shot ring around the menu the gallery's Order button sent you to. */
@keyframes arrivalPulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(199,161,85,0); }
  25%, 65%{ box-shadow: 0 0 0 5px rgba(199,161,85,0.5); }
}
.arrival-pulse{ animation: arrivalPulse 1.3s ease-in-out 2; border-radius: 14px; }
.lightbox-nav{
  position: absolute; top:50%; transform: translateY(-50%); color: var(--ivory);
  width: 46px; height:46px; border-radius:50%; border: 1px solid rgba(251,244,233,0.3);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem; transition: all .25s ease;
}
.lightbox-nav:hover{ border-color: var(--gold); background: rgba(199,161,85,0.12); }
.lightbox-prev{ left: 30px; }
.lightbox-next{ right: 30px; }
@media (max-width: 640px){
  .lightbox-nav{ width:38px; height:38px; }
  .lightbox-prev{ left:8px; }
  .lightbox-next{ right:8px; }
}

/* ============================================================
   CHECKOUT — one shared modal for Finger Foods + Catering (see
   openCheckoutModal() in index.js). Never sits inline on the page;
   only appears when a Checkout / Checkout All button is clicked.
============================================================ */
.checkout-modal{
  position: fixed; inset:0; z-index: 600;
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.checkout-modal.open{ opacity:1; pointer-events:auto; }

/* Order challenge gate — the only overlay with no dismiss control, so it
   needs its own lock: a full-screen fixed panel whose card scrolls if the
   Turnstile widget plus the text is taller than a small phone. */
.order-gate{
  position: fixed; inset:0; z-index: 900;
  display:flex; align-items:center; justify-content:center;
  padding: 24px; background: rgba(24,19,15,0.92);
  overscroll-behavior: contain;
}
.order-gate-card{
  background: var(--ivory); border-radius: 4px;
  max-width: 520px; width:100%; max-height: 88vh; overflow-y:auto;
  padding: 32px 28px; text-align: center;
}
.order-gate-card h2{ font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; margin: 0 0 12px; }
.order-gate-card p{ color: var(--ink); font-size: .95rem; line-height: 1.6; margin: 0 0 16px; }
#orderGateWidget{ display:flex; justify-content:center; min-height: 65px; margin: 8px 0 16px; }
.order-gate-note{ font-size: .85rem; color: var(--text-muted); }
.order-gate-wa{ display:inline-block; margin-top: 8px; font-size: .9rem; color: var(--wine); text-decoration: underline; }
.checkout-backdrop{ position:absolute; inset:0; background: rgba(24,19,15,0.85); }
.checkout-panel{
  position: relative; background: var(--ivory); border-radius: 4px;
  max-width: 560px; width:100%; max-height: 88vh; overflow-y:auto;
  padding: 0 36px 36px; box-shadow: var(--shadow-card);
}
.checkout-head{ display:flex; align-items:flex-start; justify-content:space-between; gap: 16px; margin-bottom: 20px; }
/* The close × lives in the head, and the panel is the thing that
   scrolls — without this it scrolls away on a phone and there is no
   way out until the user scrolls back to the top. Sticking the head
   keeps one close control in reach at every scroll position. */
.checkout-panel > .checkout-head,
.cake-gallery-panel > .checkout-head{
  position: sticky; top: 0; z-index: 6;
  background: var(--ivory);
  padding: 28px 0 16px;
  border-bottom: 1px solid var(--gold-line);
}
.checkout-head h3{ font-size: 1.5rem; }
.checkout-close{
  font-size: 1.6rem; color: var(--text-muted); width: 36px; height:36px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; transition: color .2s ease;
}
.checkout-close:hover{ color: var(--wine); }
.checkout-review{
  display:flex; flex-direction:column; gap: 10px; max-height: 180px; overflow-y:auto;
  padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px dashed var(--gold-line);
}
.checkout-review-row{ display:flex; justify-content:space-between; gap: 12px; font-size: 0.88rem; color: var(--text-muted); }
.checkout-total{
  display:flex; justify-content:space-between; align-items:baseline;
  font-size: 0.92rem; margin-bottom: 26px;
}
.checkout-total strong{ font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
/* Says where a prefilled field came from (currently the cake order's
   delivery), so a carried-over answer reads as a question to confirm
   rather than a silent setting. */
.checkout-carry-note{
  margin-top: 12px; padding: 10px 14px;
  border-left: 3px solid var(--gold); border-radius: 0 4px 4px 0;
  background: rgba(199,161,85,0.14);
  font-size: 0.82rem; line-height: 1.5; color: var(--text-muted);
}
.checkout-carry-note[hidden]{ display: none; }
@media (max-width: 640px){
  .checkout-panel{ padding: 0 26px 26px; }
  .checkout-panel > .checkout-head{ padding: 20px 0 14px; }
}

/* ============================================================
   CAKE DESIGN GALLERY — grid of "Cakes"-category photos pulled
   from gallery-data.js (see openCakeGallery() in index.js).
   Reuses the checkout modal's overlay/head/close styling.
============================================================ */
.cake-gallery-modal{
  position: fixed; inset:0; z-index: 600;
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.cake-gallery-modal.open{ opacity:1; pointer-events:auto; }
.cake-gallery-backdrop{ position:absolute; inset:0; background: rgba(24,19,15,0.85); }
.cake-gallery-panel{
  position: relative; background: var(--ivory); border-radius: 4px;
  max-width: 780px; width:100%; max-height: 88vh; overflow-y:auto;
  padding: 0 36px 36px; box-shadow: var(--shadow-card);
}
.cgm-filters{
  position: static; background: none; backdrop-filter: none; border-bottom: none;
  padding: 0 0 18px; gap: 8px;
}
.cgm-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.cgm-tile{ position:relative; aspect-ratio: 4/5; border-radius: 3px; overflow:hidden; }
.cgm-tile .media-frame{ position:absolute; inset:0; border-radius: 3px; }
#cgmSentinel{ height: 1px; }
@media (max-width: 640px){
  .cake-gallery-panel{ padding: 0 22px 0; }
  .cake-gallery-panel > .checkout-head{ padding: 18px 0 12px; }
  .cgm-grid{ grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* Thumb-reach close for the tall gallery panel on phones: the head's ×
   is always on screen now, but at arm's length the bottom of the screen
   is what a thumb actually reaches. Hidden on desktop, where the panel
   is short enough that the head is never far away. */
.modal-close-bar{ display:none; }
@media (max-width: 640px){
  .modal-close-bar{
    display:block; position: sticky; bottom: 0; z-index: 6;
    margin: 14px -22px 0; padding: 12px 22px 22px;
    background: linear-gradient(to top, var(--ivory) 68%, rgba(251,244,233,0));
    /* Only the button itself should catch taps — the bar's faded top
       edge sits over the last row of tiles while scrolling. */
    pointer-events: none;
  }
  .modal-close-bar .btn{ width: 100%; justify-content: center; pointer-events: auto; }
}

/* ============================================================
   NEWS POPUP — auto-dismissing announcement modal. Content comes
   from a random pick out of NEWS_ITEMS (see index.js/gallery.js);
   shows once per browser session, closes itself after a few
   seconds (see the shrinking bar at the bottom), or on click.
============================================================ */
.news-modal{
  position: fixed; inset:0; z-index: 700;
  display:flex; align-items:center; justify-content:center; padding: 24px;
  opacity:0; pointer-events:none; transition: opacity .35s ease;
}
.news-modal.open{ opacity:1; pointer-events:auto; }
.news-modal-backdrop{ position:absolute; inset:0; background: rgba(24,19,15,0.78); }
.news-modal-panel{
  position: relative; background: var(--ivory); border-radius: 18px;
  max-width: 420px; width:100%; overflow:hidden;
  box-shadow: var(--shadow-card);
  transform: translateY(10px); transition: transform .35s ease;
}
.news-modal.open .news-modal-panel{ transform: translateY(0); }
.news-modal-close{
  position:absolute; top: 10px; right: 12px; z-index: 2;
  font-size: 1.4rem; color: var(--ivory); width: 32px; height:32px;
  display:flex; align-items:center; justify-content:center;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5); transition: opacity .2s ease;
}
.news-modal-close:hover{ opacity: 0.7; }
.news-modal-gallery{ display:flex; height: 150px; }
.news-modal-gallery img{ flex:1; height:100%; object-fit:cover; min-width:0; }
.news-modal-body{ padding: 26px 26px 4px; }
/* Near-pill, not the base .btn's 3px corners, so it reads as the one
   thing in the popup worth tapping. */
.news-modal-cta{ margin: 10px 26px 24px; width: calc(100% - 52px); justify-content:center; border-radius: 999px; }
.news-modal-tag{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wine); font-weight: 600;
}
.news-modal-tag::before{ content:""; width: 18px; height:1px; background: var(--wine); display:inline-block; }
.news-modal-panel h3{ font-size: 1.7rem; margin: 10px 0 4px; }
.news-modal-price{ color: var(--wine); font-family: var(--font-display); font-size: 1.15rem; }
.news-modal-blurb{ color: var(--text-muted); font-size: 0.9rem; margin-top: 10px; }
.news-modal-timer{ height: 3px; background: var(--gold-line); }
.news-modal-timer span{
  display:block; height:100%; width:100%; background: var(--wine);
  transform-origin: left; transform: scaleX(1);
}
/* Duration is set inline (style.animationDuration) from the popup's
   own AUTO_DISMISS_MS in index.js/gallery.js, so the bar always
   matches the real auto-dismiss delay. */
.news-modal.open .news-modal-timer span{ animation-name: news-timer-shrink; animation-timing-function: linear; animation-fill-mode: forwards; }
@keyframes news-timer-shrink{ from{ transform: scaleX(1); } to{ transform: scaleX(0); } }
@media (max-width: 480px){
  .news-modal-gallery{ height: 120px; }
}

/* ============================================================
   TOAST (confirmation feedback)
============================================================ */
/* ============================================================
   BACK TO TOP — shown once the page has scrolled a bit (see the
   scroll listener in index.js/gallery.js), hidden with the [hidden]
   attribute (not just opacity) below that so it's never in the tab
   order or hit-testable while off-screen.
============================================================ */
.scroll-top-btn{
  position: fixed; bottom: 26px; right: 26px; z-index: 300;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--wine); color: var(--ivory);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.scroll-top-btn.show{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top-btn:hover{ background: var(--wine-bright); }
.scroll-top-btn[hidden]{ display:none; } /* this rule's own display:flex otherwise wins over the UA [hidden] rule */

.toast{
  position: fixed; bottom: 100px; right: 26px; z-index: 400;
  background: var(--ink); color: var(--ivory); padding: 16px 22px; border-radius: 3px;
  font-size: 0.86rem; max-width: 280px; box-shadow: var(--shadow-card);
  transform: translateY(20px); opacity:0; pointer-events:none; transition: all .3s ease;
  border-left: 3px solid var(--gold);
}
.toast.show{ transform: translateY(0); opacity:1; }

/* ============================================================
   GALLERY PAGE (gallery.html — hero, filters, grid, breaks)
============================================================ */
.gallery-hero{
  background:
    radial-gradient(circle at 18% 22%, rgba(199,161,85,0.16), transparent 42%),
    linear-gradient(160deg, var(--wine-deep) 0%, var(--wine) 46%, var(--ink) 130%);
  color: var(--ivory); text-align:center; padding: calc(90px + var(--ticker-h)) 0 70px;
}
.gallery-hero .crest-wrap{ display:flex; justify-content:center; margin-bottom: 24px; }
.gallery-hero .eyebrow{ justify-content:center; color: var(--gold-soft); }
.gallery-hero h1{ color: var(--ivory); font-size: clamp(2.3rem, 5vw, 3.4rem); margin-top: 16px; }
.gallery-hero p{ color: rgba(251,244,233,0.75); max-width: 52ch; margin: 18px auto 0; }

/* The bar's wrapper, not the bar itself, is the sticky element: a
   sticky child only travels inside its own parent's box, so wrapping
   it would otherwise pin it to the wrapper's height and stop it
   sticking at all. The wrapper is also what the "Swipe →" hint is
   positioned against, so it doesn't scroll away with the tabs. */
.filter-bar{ position: relative; }
.filter-sticky{
  position: sticky; top: var(--ticker-h); z-index: 150;
  background: rgba(251,244,233,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(24,19,15,0.08);
}
.gal-filters{
  display:flex; gap: 10px; flex-wrap: wrap; justify-content:center;
  padding: 18px 28px;
}
/* Shown only while the bar can actually scroll (initScrollableFilters
   in config.js sets .is-scrollable) and until the user has swiped it
   once (.filters-scrolled). pointer-events:none so it never swallows a
   tap meant for the tab underneath. */
.filter-more{
  display:none; align-items:center; justify-content:center;
  position:absolute; top:50%; right:6px; transform: translateY(-50%);
  padding: 6px 12px 6px 22px;
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--wine); white-space: nowrap;
  background: linear-gradient(90deg, rgba(251,244,233,0), rgba(251,244,233,0.97) 38%);
  border-radius: 999px; pointer-events:none; z-index: 2;
}
.filter-bar.is-scrollable:not(.filters-scrolled) .filter-more{ display:flex; }
.gal-filter{
  padding: 9px 18px; border: 1px solid var(--gold-line); border-radius: 30px;
  font-size: 0.78rem; letter-spacing: 0.03em; color: var(--text-muted); background: transparent;
  display:inline-flex; align-items:center; gap: 8px; transition: all .25s ease;
}
.gal-filter:hover{ border-color: var(--wine); color: var(--wine); }
.gal-filter.active{ background: var(--wine); color: var(--ivory); border-color: var(--wine); }
.gal-filter .gf-count{ font-size: 0.66rem; background: rgba(24,19,15,0.08); padding: 1px 7px; border-radius: 20px; }
.gal-filter.active .gf-count{ background: rgba(251,244,233,0.2); }

/* ---- Masonry feed --------------------------------------------
   `.gal-grid` holds a vertical sequence of `.masonry-block`s
   (one per loaded batch) plus full-width `.gal-break` / `.gal-quote`
   / `.gal-end` elements in normal flow between them. Each block's
   own `.gi` children are absolutely positioned + sized by JS
   (see layoutBlock() in gallery.js) from their `aspect` ratio. */
.gallery .container{ max-width: 1320px; }
.gal-grid{ max-width: 1320px; margin: 0 auto; padding: 56px 28px 0; }
.masonry-block{ position: relative; }

.gi{
  position:absolute; top:0; left:0; border-radius: 3px; overflow:hidden; cursor:pointer;
  opacity: 0; transition: opacity .6s ease, box-shadow .3s ease;
  box-shadow: 0 18px 40px -26px rgba(24,19,15,0.5);
}
.gi.gi-in{ opacity: 1; }
.gi .media-frame{ position:absolute; inset:0; border-radius:0; }
/* Combines with (not replaces) .media-frame img's own opacity
   transition — a plain `transition: transform` here would silently
   kill the skeleton's fade-in, since the shorthand overwrites rather
   than merges. */
.gi .media-frame img{ transition: opacity .35s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.gi:hover .media-frame img{ transform: scale(1.06); }

.gi-overlay{
  position:absolute; inset:0; z-index:1; display:flex; flex-direction:column; justify-content:flex-end;
  padding: 20px; background: linear-gradient(0deg, rgba(24,19,15,0.88) 0%, rgba(24,19,15,0.25) 45%, transparent 70%);
  opacity:0.82; transition: opacity .3s ease;
}
.gi:hover .gi-overlay{ opacity:1; }
.gi-index{
  display:block; color: var(--gold-soft); font-family: var(--font-display); font-style: italic;
  font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 6px; opacity: .85;
}
.gi-cap{ color: var(--ivory); font-family: var(--font-display); font-size: 1.15rem; line-height:1.2; }
.gi-sub{ color: rgba(251,244,233,0.7); font-size: 0.82rem; margin-top: 4px; }
.gi-label{
  position:absolute; top:14px; left:14px; z-index:2; background: var(--gold); color: var(--ink);
  font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight:600;
  padding: 5px 11px; border-radius: 20px;
}
.gi-label--soon{ background: rgba(24,19,15,0.55); color: var(--ivory); border: 1px solid rgba(251,244,233,0.4); }
.gi-cat{
  position:absolute; top:14px; right:14px; z-index:2; color: rgba(251,244,233,0.9);
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-shadow: 0 1px 5px rgba(0,0,0,0.65);
}

/* ---- Editorial section breaks & pull-quotes ------------------- */
.gal-break{
  position: relative; display:flex; align-items:center; gap: 24px;
  padding: 64px 4px 34px; margin-top: 12px;
}
.gb-num{
  font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5.2rem); line-height:1;
  color: transparent; -webkit-text-stroke: 1px var(--gold-line); flex-shrink:0;
}
.gb-mid{ flex:1; min-width:0; }
.gb-text{
  display:block; font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ivory); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.gb-line{ margin-top: 12px; height:1px; background: rgba(251,244,233,0.15); }
.gb-count{
  flex-shrink:0; font-size: 0.7rem; letter-spacing: 0.12em; text-transform:uppercase;
  color: var(--gold-soft); white-space:nowrap;
}

.gal-quote{
  max-width: 780px; margin: 44px auto; padding: 0 28px; text-align:center;
}
.gq-mark{ font-family: var(--font-display); font-size: 3.4rem; color: var(--gold); line-height:0.5; display:block; margin-bottom: 16px; }
.gal-quote p{
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--ivory); line-height: 1.45;
}
.gq-who{ display:block; margin-top: 18px; font-size: 0.76rem; letter-spacing: 0.1em; text-transform:uppercase; color: rgba(251,244,233,0.55); }

/* ---- End card --------------------------------------------------
   (the loading-dots spinner that used to live here was tied to an
   artificial delay in loadMore() — removed along with it, since
   galleryItems is a local array with no real fetch to wait on) */
#galSentinel{ height: 1px; }

.gal-end{
  max-width: 640px; margin: 40px auto 100px; padding: 56px 32px; text-align:center;
  border: 1px solid rgba(251,244,233,0.14); border-radius: 4px;
  opacity: 0; animation: fadeUp .7s ease forwards;
}
.gal-end h3{ color: var(--ivory); font-size: clamp(1.5rem, 3vw, 2rem); margin: 16px 0 12px; }
.gal-end p{ color: rgba(251,244,233,0.65); max-width: 46ch; margin: 0 auto; }
.gal-end-ctas{ display:flex; gap: 14px; justify-content:center; flex-wrap:wrap; margin-top: 30px; }

@media (max-width: 560px){
  .gal-filters{
    padding: 14px 16px; justify-content:flex-start; flex-wrap:nowrap;
    overflow-x:auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .gal-filter{ scroll-snap-align: center; }
  /* Edge fades so it's visible that the tab strip continues past the
     screen — the classes ride along with the real scroll position. */
  .gal-filters.can-scroll-right{
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 46px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 46px), transparent);
  }
  .gal-filters.can-scroll-left{
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px);
    mask-image: linear-gradient(to right, transparent 0, #000 24px);
  }
  .gal-filters.can-scroll-left.can-scroll-right{
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 46px), transparent);
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 46px), transparent);
  }
  .gal-grid{ padding: 40px 16px 0; }
  .gal-break{ padding: 44px 4px 26px; gap:16px; }
  .gb-text{ white-space:normal; }
}

.gallery-closing{ text-align:center; }
.gallery-closing .btn{ margin: 6px 8px; }

/* Utility */
.mt-lg{ margin-top: 60px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
/* ============================================================
   CART WIDGET — nav icon + dropdown, shared by Finger Foods and
   Catering (cakes skip this entirely — that flow goes straight to
   WhatsApp). One combined cart across both menus, since a customer
   can be building both at once.

   Desktop (>=981px): the icon is click-to-toggle like normal, but
   adding an item also auto-opens the dropdown and self-dismisses a
   few seconds later — see scheduleCartAutoDismiss()/cartDropdown
   mouseenter-mouseleave in index.js, which pauses the countdown
   while the cursor is over it.
   Mobile: identical icon/dropdown, just without the auto-open —
   nothing should pop open uninvited on a small screen.
   Both: click outside the widget, or Escape, closes it.
============================================================ */

/* Desktop: keep the existing summary panel in view while scrolling */
@media (min-width: 981px){
  .order-summary{ position: sticky; top: calc(96px + var(--ticker-h)); }
}

/* Taken out of .nav .container's flex flow entirely (rather than
   sitting as a third flex item) so it's pinned to the same top-right
   spot at all times — hero or scrolled, mobile or desktop — instead
   of following wherever the brand/links crossfade or the mobile
   column-stack happens to put it. That mobile column-stack
   (align-items:center, see the 480px breakpoint above) was also why
   .cart-dropdown's `right:0` used to render off-screen: it centered
   .cart-widget horizontally, so "flush right of the icon" landed
   nowhere near the real right edge. */
.cart-widget{
  position: absolute; top: 50%; right: 28px; transform: translateY(-50%);
}
@media (max-width: 480px){
  .cart-widget{ top: 0; transform: none; }
}
.cart-icon-btn{
  position: relative; width: 38px; height: 38px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--ivory); transition: color .3s ease, background .2s ease;
}
.cart-icon-btn:hover{ background: rgba(251,244,233,0.12); }
.nav.scrolled .cart-icon-btn{ color: var(--ink); }
.nav.scrolled .cart-icon-btn:hover{ background: rgba(24,19,15,0.06); }

/* Periodic attention nudge — see the cart-icon pulse interval in
   index.js — a quick scale/ring pulse, not a loop, so it reads as a
   nudge rather than a distraction. */
@keyframes cartIconPulse{
  0%{ box-shadow: 0 0 0 0 rgba(155,30,30,0.45); }
  70%{ box-shadow: 0 0 0 10px rgba(155,30,30,0); }
  100%{ box-shadow: 0 0 0 0 rgba(155,30,30,0); }
}
.cart-icon-btn.cart-pulse{ animation: cartIconPulse 1s ease-out; }

.cart-icon-badge{
  position:absolute; top:-2px; right:-4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--wine); color: #fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 0.64rem; font-weight: 600; font-variant-numeric: tabular-nums;
  border: 2px solid var(--wine-deep);
}
.cart-icon-badge.pop{ animation: cartPop .34s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes cartPop{ 0%{transform:scale(1);} 40%{transform:scale(1.24);} 100%{transform:scale(1);} }

/* Sits just under .nav's own stacking context (z-index 200) so the
   fixed nav — and the cart dropdown inside it — stays on top while
   this darkens everything else. See the HTML comment on
   #cartBackdrop for why it isn't nested inside .cart-widget. */
.cart-backdrop{
  position: fixed; inset:0; z-index: 190;
  background: rgba(24,19,15,0.55);
  opacity:0; pointer-events:none; transition: opacity .25s ease;
}
.cart-backdrop.open{ opacity:1; pointer-events:auto; }
.cart-backdrop[hidden]{ display:none; }

.cart-dropdown{
  position:absolute; top: calc(100% + 16px); right: 0; z-index: 250;
  width: min(360px, 88vw); max-height: 72vh; display:flex; flex-direction:column;
  background: var(--ivory); border-radius: 6px; border: 1px solid var(--gold-line);
  box-shadow: var(--shadow-card);
  opacity:0; transform: translateY(-8px); pointer-events:none;
  transition: opacity .22s ease, transform .22s ease;
}
.cart-dropdown.open{ opacity:1; transform: translateY(0); pointer-events:auto; }
.cart-dropdown[hidden]{ display:none; } /* .cart-dropdown's own display:flex otherwise wins over the UA [hidden] rule */
.cart-dropdown-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 18px; flex:none; border-bottom: 1px solid var(--gold-line);
}
.cart-dropdown-head h3{ font-size: 1.05rem; }
.cart-dropdown-head-actions{ display:flex; align-items:center; gap: 14px; }
.cart-clear-btn{
  font-size: 0.74rem; letter-spacing: 0.03em; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease;
}
.cart-clear-btn:hover{ color: var(--wine); }
.cart-dropdown-close{
  font-size: 1.3rem; color: var(--text-muted); width: 28px; height: 28px;
  display:flex; align-items:center; justify-content:center; transition: color .2s ease;
}
.cart-dropdown-close:hover{ color: var(--wine); }
.cart-dropdown-body{ flex:1; overflow-y:auto; overscroll-behavior: contain; padding: 8px 18px; }
.cart-dropdown-empty{ padding: 40px 18px; text-align:center; color: var(--text-muted); font-size: 0.9rem; }

.cart-dd-section + .cart-dd-section{ margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(24,19,15,0.12); }
.cart-dd-section-head{ display:flex; align-items:baseline; justify-content:space-between; gap: 10px; margin-bottom: 8px; }
.cart-dd-section-head span{ font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 500; }

.cart-dd-line{ display:flex; align-items:center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(24,19,15,0.06); }
.cart-dd-line:last-child{ border-bottom: none; }
.cart-dd-line-body{ flex:1; min-width:0; }
.cart-dd-line-name{ font-size: 0.88rem; }
.cart-dd-line-price{ font-size: 0.76rem; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.cart-dd-line-qty{ display:flex; align-items:center; gap: 2px; flex:none; }
.cart-dd-line-qty button{
  width: 30px; height: 30px; border: 1px solid var(--gold-line);
  color: var(--ink); font-size: 0.95rem; transition: border-color .25s ease, color .25s ease;
}
.cart-dd-line-qty button:hover{ border-color: var(--wine); color: var(--wine); }
.cart-dd-line-qty span{ min-width: 26px; text-align:center; font-size: 0.86rem; font-variant-numeric: tabular-nums; }

.cart-dropdown-foot{
  flex:none; padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--gold-line);
  font-size: 0.86rem; color: var(--text-muted);
}
.cart-dropdown-total-row{ display:flex; justify-content:space-between; align-items:baseline; margin-bottom: 12px; }
.cart-dropdown-total-row strong{ font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }

@media (max-width: 400px){
  .cart-dropdown{ right: -8px; }
}

/* ============================================================
   ONBOARDING WALKTHROUGH — one-time spotlight + tooltip pointing at
   a target element (currently just the cart icon, on its first-ever
   item). Positioned via JS (see showWalkthroughStep() in index.js)
   against the target's live bounding box, so it stays correctly
   placed at any viewport size without separate breakpoint rules.
============================================================ */
.walkthrough-backdrop{
  position: fixed; inset:0; z-index: 195;
  background: rgba(24,19,15,0.6);
  opacity:0; pointer-events:none; transition: opacity .3s ease;
}
.walkthrough-backdrop.open{ opacity:1; pointer-events:auto; }
.walkthrough-backdrop[hidden]{ display:none; }

/* Sits above .nav's own stacking context (200) so it's never hidden
   behind the bar it's usually pointing up at. */
.walkthrough-tip{
  position: fixed; z-index: 260;
  width: max-content; max-width: min(280px, calc(100vw - 32px));
  background: var(--ivory); color: var(--ink); border-radius: 8px;
  padding: 16px 18px; box-shadow: var(--shadow-card);
  opacity:0; transform: translateY(-6px); pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
}
.walkthrough-tip.open{ opacity:1; transform: translateY(0); pointer-events:auto; }
.walkthrough-tip[hidden]{ display:none; }
.walkthrough-tip::before{
  content:""; position:absolute; width:14px; height:14px; background: var(--ivory);
  transform: rotate(45deg); top:-6px; left: var(--wt-arrow-left, 26px);
}
.walkthrough-tip.walkthrough-tip--above::before{ top:auto; bottom:-6px; }
.walkthrough-tip p{ position:relative; margin:0 0 14px; font-size: 0.86rem; line-height:1.5; }
.walkthrough-tip-dismiss{
  position: relative; display:inline-flex; align-items:center; justify-content:center;
  padding: 8px 18px; border-radius: 30px; background: var(--wine); color:#fff;
  font-size: 0.7rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:500;
  transition: background .2s ease;
}
.walkthrough-tip-dismiss:hover{ background: var(--wine-bright); }

/* The spotlighted element itself — a glowing ring that reads above
   the dimmed backdrop since the nav (and everything in it, including
   the cart icon) already stacks above .walkthrough-backdrop. */
.walkthrough-highlight{
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(251,244,233,0.95), 0 0 0 9px var(--wine);
  border-radius: 50%;
  animation: walkthroughPulse 1.6s ease-in-out infinite;
}
@keyframes walkthroughPulse{
  0%, 100%{ box-shadow: 0 0 0 6px rgba(251,244,233,0.95), 0 0 0 9px var(--wine); }
  50%{ box-shadow: 0 0 0 6px rgba(251,244,233,0.95), 0 0 0 13px var(--wine); }
}
@media (prefers-reduced-motion: reduce){
  .walkthrough-highlight{ animation: none; }
}

/* ---- In-place add feedback (no toast) ---- */
.menu-item.in-cart{ border-left: 2px solid var(--wine); }
.qty-val.bump{ display:inline-block; animation: qtyBump .24s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes qtyBump{ 0%{transform:scale(1);} 45%{transform:scale(1.24);} 100%{transform:scale(1);} }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}