/* ===============================================
   Garlic 'n Ginger — Custom styles beyond Tailwind
   =============================================== */

:root {
  /* Brand palette derived from the Garlic 'n Ginger logo —
     warm muted gold on deep chocolate brown. */
  --brand-50:  #fdf7e8;
  --brand-100: #f8e8c2;
  --brand-200: #eed28d;
  --brand-300: #e0ba5f;
  --brand-400: #d4a74a;   /* soft logo gold */
  --brand-500: #c9a04c;   /* primary logo gold */
  --brand-600: #a8822f;   /* deep gold / hover */
  --brand-700: #7d5f1f;
  --brand-900: #3d2e0c;

  /* Deep chocolate tones lifted from the logo background */
  --choco-900: #140903;
  --choco-800: #1f1208;
  --choco-700: #2a1805;
  --choco-500: #3d2612;

  --ink-900: #131108;
  --ink-700: #3a3320;
  --ink-500: #6b624a;
  --ink-300: #b8ae93;

  --cream:   #fbf6ee;
  --paper:   #ffffff;

  --shadow-sm: 0 2px 10px rgba(22, 14, 2, 0.08);
  --shadow-md: 0 10px 30px rgba(22, 14, 2, 0.16);
  --shadow-lg: 0 30px 60px rgba(22, 14, 2, 0.30);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: clip;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  color: var(--ink-900);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100vw;
}

.font-display {
  font-family: 'Playfair Display', ui-serif, Georgia, serif;
  letter-spacing: -0.01em;
}

.font-script {
  font-family: 'Pacifico', cursive;
  letter-spacing: 0.01em;
}

/* ---------- Navbar ---------- */
.nav-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 160, 76, 0.25);
}

.nav-brand { text-decoration: none; }

/* Theme toggle button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(253, 247, 232, 0.9), rgba(248, 232, 194, 0.8));
  color: var(--brand-700);
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 160, 76, 0.3);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s, color 0.25s, box-shadow 0.25s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 6px rgba(20, 9, 3, 0.1);
  flex-shrink: 0;
}
.theme-toggle:hover {
  transform: rotate(20deg) scale(1.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 4px 12px rgba(201, 160, 76, 0.25);
}
.theme-icon { transition: opacity 0.25s ease, transform 0.4s ease; }
.theme-icon-moon { display: none; }
[data-theme="dark"] .theme-toggle {
  background: linear-gradient(180deg, #2a1c0f, #1c120a);
  color: var(--brand-300);
  border-color: rgba(201, 160, 76, 0.4);
  box-shadow: inset 0 1px 0 rgba(201, 160, 76, 0.2), 0 2px 6px rgba(0, 0, 0, 0.4);
}
[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: block; }
.nav-logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--choco-900);
  background-image: url('images/logo.jpg');
  background-size: 200%;                 /* zoom so the centered monogram fills */
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(201, 160, 76, 0.45);
  box-shadow: 0 4px 12px rgba(20, 9, 3, 0.25),
              inset 0 0 0 2px rgba(212, 167, 74, 0.15);
  flex-shrink: 0;
  transition: background-image 0.3s ease;
}
@media (max-width: 640px) {
  .nav-logo-wrap { width: 38px; height: 38px; border-radius: 10px; }
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: var(--ink-900);
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--brand-500); }
.nav-link.active {
  color: var(--brand-500);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 28px;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
}

.btn-primary {
  background: var(--brand-500);
  color: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 20px rgba(201, 160, 76, 0.38);
  text-shadow: 0 1px 0 rgba(20, 9, 3, 0.25);
}
.btn-primary:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(168, 130, 47, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--brand-500);
  border: 1.5px solid var(--brand-500);
  border-radius: 999px;
  background: transparent;
  transition: all 0.2s ease;
}
.btn-ghost:hover {
  background: var(--brand-500);
  color: #fff;
}

/* Highlighted secondary CTA — gold outline, gold text, glass backdrop */
.btn-outline-gold {
  position: relative;
  color: var(--brand-300);
  background: rgba(20, 9, 3, 0.35);
  border: 2px solid var(--brand-400);
  border-radius: 999px;
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow:
    0 0 0 1px rgba(224, 186, 95, 0.2),
    0 8px 22px rgba(20, 9, 3, 0.35),
    0 0 30px rgba(201, 160, 76, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.btn-outline-gold:hover {
  color: var(--choco-900);
  background: var(--brand-400);
  border-color: var(--brand-300);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(253, 247, 232, 0.4),
    0 12px 26px rgba(168, 130, 47, 0.45),
    0 0 42px rgba(224, 186, 95, 0.5);
  text-shadow: none;
}
.btn-outline-gold:active { transform: translateY(0); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  filter: saturate(110%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,0,0,0.15), transparent 60%),
    linear-gradient(180deg, rgba(251, 246, 238, 0.75) 0%, rgba(251,246,238,0.25) 20%, rgba(0,0,0,0.35) 70%, rgba(0,0,0,0.55));
}

.hero-stack {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  touch-action: pan-y;          /* allow vertical page scroll, we own horizontal */
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.hero-stack.is-dragging { cursor: grabbing; }
.hero-stack.is-dragging .hero-card { transition: none; }
.hero-card { will-change: transform, opacity; -webkit-user-drag: none; }
.hero-card {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.92);
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1), opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.85) translateX(0) rotate(0deg);
}
.hero-card.is-prev {
  opacity: 1;
  transform: translateX(-22%) scale(0.86) rotate(-4deg);
  z-index: 1;
}
.hero-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0);
  z-index: 3;
}
.hero-card.is-next {
  opacity: 1;
  transform: translateX(22%) scale(0.86) rotate(4deg);
  z-index: 2;
}

.dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s ease;
  cursor: pointer;
}
.dot.is-active { background: var(--brand-500); width: 24px; border-radius: 999px; }

.offer-number {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 10vw, 7.5rem);
  line-height: 0.85;
  color: var(--brand-600);
  letter-spacing: -0.03em;
  text-shadow: 0 4px 30px rgba(201, 160, 76, 0.35);
  /* Playfair Display has generous ascender/leading — this negative margin
     pulls the glyphs up into the slack so the visible top of "50" sits
     close to the headline above it. */
  margin-top: -0.18em;
}
.offer-percent-label {
  display: inline-block;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--choco-900);
  background: var(--brand-400);
  padding: 6px 14px;
  border-radius: 12px;
  vertical-align: middle;
  margin-left: 14px;
  line-height: 1;
  box-shadow:
    0 1px 0 rgba(255, 247, 220, 0.55) inset,
    0 6px 18px rgba(201, 160, 76, 0.4);
  text-shadow: 0 1px 0 rgba(255, 247, 220, 0.35);
}

/* --- Offers section meta block (below the big 50% OFF) --- */
.offer-meta {
  padding-top: 4px;                     /* absorbs the baseline slack of the giant 50 */
}
.offer-when {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 500;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  letter-spacing: 0.005em;
}
.offer-sep {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, transparent, var(--brand-400), transparent);
  margin: 0 16px;
  vertical-align: middle;
  flex: 0 0 auto;
}
.offer-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}
.offer-price-now {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1;
}
.offer-price-was {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-500);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(168, 130, 47, 0.5);
}
.offer-price-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* ---------- Hero layout ---------- */
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 7rem);
}
.hero-grid { flex: 1 1 auto; align-self: stretch; }

/* ---------- Hero eyebrow (logo-gold pill on deep chocolate) ---------- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--choco-900);
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(224, 186, 95, 0.96) 0%,
    rgba(201, 160, 76, 0.96) 100%);
  border: 1px solid rgba(253, 247, 232, 0.55);
  box-shadow:
    0 8px 24px rgba(201, 160, 76, 0.35),
    0 2px 0 rgba(20, 9, 3, 0.25),
    inset 0 1px 0 rgba(255, 250, 230, 0.45);
  text-shadow: 0 1px 0 rgba(255, 247, 220, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
}
.hero-eyebrow:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 12px 30px rgba(201, 160, 76, 0.5),
    0 2px 0 rgba(20, 9, 3, 0.25),
    inset 0 1px 0 rgba(255, 250, 230, 0.55);
}
.hero-eyebrow:focus-visible {
  outline: 2px solid rgba(255, 247, 220, 0.85);
  outline-offset: 3px;
}
.hero-eyebrow-arrow {
  margin-left: 2px;
  opacity: 0.7;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.hero-eyebrow:hover .hero-eyebrow-arrow {
  transform: translateX(3px);
  opacity: 1;
}
.hero-eyebrow-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--choco-900);
  box-shadow: 0 0 0 4px rgba(20, 9, 3, 0.35);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(20, 9, 3, 0.35); }
  50%      { box-shadow: 0 0 0 9px rgba(20, 9, 3, 0); }
}

/* ---------- Wordmark (popping, embossed warm brand orange) ---------- */
.hero-brand {
  font-family: 'Pacifico', cursive;
  line-height: 1;
  font-size: clamp(2.6rem, 8.4vw, 7.2rem);
  margin: 28px 0 0 0;                /* pro breathing room from eyebrow */
  letter-spacing: -0.01em;
}

/* Wordmark: warm logo-gold fill + deep chocolate stroke so it reads
   crisply on any wall tone; gold glow halo adds luminosity. */
.hero-brand-script {
  display: inline-block;
  color: var(--brand-400);
  -webkit-text-fill-color: var(--brand-400);
  background: none;
  -webkit-text-stroke: 2px var(--choco-900);   /* deep chocolate stroke */
          text-stroke: 2px var(--choco-900);
  paint-order: stroke fill;                     /* stroke first so fill stays pure */
  text-shadow:
    0 3px 0 rgba(20, 9, 3, 0.85),              /* tight dark ridge — 3D lift */
    0 6px 0 rgba(20, 9, 3, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.65),           /* cast shadow on wall */
    0 22px 50px rgba(0, 0, 0, 0.45),
    0 0 55px rgba(201, 160, 76, 0.55),         /* warm gold glow halo */
    0 0 110px rgba(201, 160, 76, 0.25);
}

/* Italic "'n" accent in bright cream for two-tone contrast inside mark */
.hero-brand-n {
  font-style: italic;
  color: #fdf7e8;
  -webkit-text-fill-color: #fdf7e8;
  background: none;
  -webkit-text-stroke: 2px var(--choco-900);
          text-stroke: 2px var(--choco-900);
  paint-order: stroke fill;
  padding: 0 6px;
  text-shadow:
    0 3px 0 rgba(20, 9, 3, 0.85),
    0 6px 14px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(224, 186, 95, 0.75);
}

/* ---------- Tagline (high-contrast white + bold amber accent) ---------- */
.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  color: #ffffff;
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-top: 36px;                  /* pro spacing from wordmark */
  text-shadow:
    0 1px 0 rgba(0,0,0,0.6),
    0 2px 10px rgba(0,0,0,0.7),
    0 10px 30px rgba(0,0,0,0.55);
}
.hero-tagline em {
  color: var(--brand-300);
  font-style: italic;
  font-weight: 800;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.65),
    0 2px 14px rgba(0,0,0,0.75),
    0 0 30px rgba(201, 160, 76, 0.5);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;                  /* deliberate pro spacing under tagline */
}

/* ---------- Trust bar (bottom-centered, prominent) ---------- */
.trust-bar {
  margin-top: 64px;
  padding: 22px 36px;
  display: flex;
  justify-content: space-evenly;    /* equal breathing room on all sides */
  align-items: center;
  flex-wrap: wrap;
  row-gap: 20px;
  background: rgba(15, 10, 3, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}
.trust-chip-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(249,115,22,0.08));
  border: 1px solid rgba(253, 131, 32, 0.4);
  color: var(--brand-300);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.trust-chip-body {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.trust-chip-num {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.trust-chip-label {
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}
.trust-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.25), transparent);
}
@media (max-width: 768px) {
  .trust-bar {
    justify-content: center;          /* keeps chips readable when stacked */
    row-gap: 18px;
    column-gap: 24px;
    padding: 18px 20px;
    margin-top: 40px;
  }
  .trust-divider { display: none; }
  .trust-chip-icon { width: 44px; height: 44px; }
  .trust-chip-num { font-size: 1.4rem; }
  .trust-chip-label { font-size: 0.85rem; }
}

/* ---------- Compact offer ribbon ---------- */
.offer-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.offer-ribbon:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}
.offer-ribbon-badge {
  background: var(--brand-500);
  color: var(--choco-900);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(201, 160, 76, 0.45);
}
.offer-ribbon-text { white-space: nowrap; }

/* ---------- About section ---------- */
.about {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--choco-900);
}
/* Logo background is already very dark; use a warm vignette instead of flat black */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(61, 38, 18, 0.35) 0%, rgba(20, 9, 3, 0.85) 60%, rgba(20, 9, 3, 0.95) 100%),
    linear-gradient(180deg, rgba(20, 9, 3, 0.55), rgba(20, 9, 3, 0.85));
}

.glass-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94) 0%, rgba(248, 232, 194, 0.88) 100%);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 0;
  border-radius: 24px;
  padding: 36px 30px 34px;
  color: var(--ink-900);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  box-shadow:
    /* gold hairline + inner gloss */
    0 0 0 1px rgba(201, 160, 76, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(20, 9, 3, 0.08),
    /* stacked depth */
    0 2px 6px rgba(20, 9, 3, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 30px 80px rgba(0, 0, 0, 0.2);
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(20, 9, 3, 0.1),
    0 2px 8px rgba(20, 9, 3, 0.18),
    0 24px 50px rgba(0, 0, 0, 0.42),
    0 40px 90px rgba(201, 160, 76, 0.18);
}
.glass-badge {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffffff 0%, #faecc9 100%);
  padding: 11px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--choco-900);
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(168, 130, 47, 0.15),
    0 8px 22px rgba(20, 9, 3, 0.4);
}
.check-list li {
  position: relative;
  padding-left: 28px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ---------- Menu section (3 featured photos crossfading) ---------- */
.menu-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--choco-900);
}

/* Each meal owns its own full-cover bg layer; only the active one is opaque */
.menu-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 8s ease-out;
  pointer-events: none;
}
.menu-bg-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Dark overlay sits above the bg layers and below the content */
.menu-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 17, 8, 0.7), rgba(19, 17, 8, 0.6));
}

.menu-section > .relative { z-index: 2; }

/* Lift on-bg text to white when placed inside the dark menu section */
.menu-section .eyebrow { color: var(--brand-300); }
.menu-section .section-title { color: #ffffff; }
.menu-section .section-title + p,
.menu-section .text-ink-500 { color: rgba(255, 255, 255, 0.8) !important; }

/* ---------- Category scroller (horizontal) ---------- */
.cat-scroll-wrap {
  position: relative;
  padding: 0 48px;
}
.cat-scroller {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 14px;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cat-scroller.is-grabbing,
.cat-items.is-grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.cat-card {
  position: relative;
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 192px;
  padding: 18px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf7e8 100%);
  border: 0;
  color: var(--ink-900);
  text-align: left;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 10px 22px rgba(20, 9, 3, 0.22),
    0 20px 40px rgba(20, 9, 3, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
}
.cat-card::before {
  /* Subtle top-edge shimmer */
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 167, 74, 0.55), transparent);
  border-radius: 1px;
  transition: opacity 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 34px rgba(20, 9, 3, 0.3),
    0 30px 60px rgba(201, 160, 76, 0.18);
}
.cat-card.is-active {
  background: linear-gradient(145deg, var(--brand-400) 0%, var(--brand-500) 55%, var(--brand-700) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(253, 247, 232, 0.55),
    0 0 0 5px rgba(201, 160, 76, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(20, 9, 3, 0.2),
    0 22px 44px rgba(168, 130, 47, 0.5),
    0 30px 70px rgba(20, 9, 3, 0.35);
  text-shadow: 0 1px 0 rgba(20, 9, 3, 0.3);
}
.cat-card.is-active::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}
.cat-card.is-active .cat-card-icon {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(20, 9, 3, 0.2);
}
.cat-card.is-active .cat-card-count { color: rgba(253, 247, 232, 0.88); }

.cat-card-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, var(--brand-50), #f3dfab);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(168, 130, 47, 0.15),
    0 2px 4px rgba(20, 9, 3, 0.08);
}
.cat-card-name {
  display: block;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.cat-card-count {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-500);
  margin-top: 3px;
  letter-spacing: 0.02em;
}

.cat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  border: 1px solid rgba(201, 160, 76, 0.3);
  box-shadow: 0 6px 18px rgba(20, 9, 3, 0.3);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cat-nav:hover { background: var(--brand-500); color: #fff; transform: translateY(-50%) scale(1.05); }
.cat-nav-prev { left: 0; }
.cat-nav-next { right: 0; }

/* ---------- Category panel (items) ---------- */
.cat-panel {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(253, 247, 232, 0.97) 55%,
      rgba(248, 232, 194, 0.92) 100%);
  border-radius: 28px;
  padding: 32px 28px;
  border: 0;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.38),
    0 0 0 6px rgba(201, 160, 76, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(20, 9, 3, 0.08),
    0 40px 90px rgba(20, 9, 3, 0.45),
    0 20px 40px rgba(20, 9, 3, 0.25);
}
.cat-panel::before {
  /* Gold shimmer on top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
  opacity: 0.7;
}
.cat-panel::after {
  /* Soft amber glow in the top-right corner */
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 167, 74, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cat-panel > * { position: relative; z-index: 1; }

.cat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 22px;
  gap: 16px;
  position: relative;
}
.cat-panel-head::after {
  /* Gradient hairline under the header */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 160, 76, 0.55) 25%, rgba(201, 160, 76, 0.55) 75%, transparent);
}
.cat-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--choco-900);
  letter-spacing: -0.01em;
}
.cat-panel-count {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-top: 2px;
}
.cat-item-nav { display: flex; gap: 8px; }
.cat-item-nav-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-600);
  border: 1px solid rgba(201, 160, 76, 0.35);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 4px 12px rgba(20, 9, 3, 0.08);
}
.cat-item-nav-btn:hover { background: var(--brand-500); color: #fff; }
.cat-item-nav-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.cat-items {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 4px 4px;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.cat-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(201, 160, 76, 0.25);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 9, 3, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(20, 9, 3, 0.22);
}
.cat-item-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-100) 0%, var(--brand-300) 60%, var(--brand-500) 100%);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  color: rgba(61, 46, 12, 0.55);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.cat-item-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 247, 220, 0.6), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(20, 9, 3, 0.2), transparent 60%);
  pointer-events: none;
}
.cat-item-thumb svg { position: relative; z-index: 1; width: 44px; height: 44px; opacity: 0.85; }

/* Real photo variant — suppress the placeholder gradient overlays & icon */
.cat-item-thumb.has-photo {
  background-color: var(--choco-900);
}
.cat-item-thumb.has-photo::after {
  background: linear-gradient(180deg, transparent 55%, rgba(20, 9, 3, 0.35) 100%);
}
.cat-item-thumb.has-photo svg { display: none; }
.cat-item:hover .cat-item-thumb.has-photo { transform: scale(1.04); }
.cat-item-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  align-items: flex-start;
}
.cat-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}

/* Entry animation when items are swapped */
@keyframes itemFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  /* --- Category strip stays horizontal. Show compact arrows as a
         scroll affordance so users know more stations are offscreen. --- */
  .cat-scroll-wrap { padding: 0 42px; }
  .cat-nav {
    display: grid;
    width: 34px;
    height: 34px;
  }
  .cat-nav svg { width: 16px; height: 16px; }

  /* --- Panel chrome --- */
  .cat-panel { padding: 22px 14px; }
  .cat-panel-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cat-item-nav { display: none; }

  /* --- Items: flip from a horizontal card strip to a vertical list.
         Thumb sits on the left, name on the right — classic menu row. --- */
  .cat-items {
    flex-direction: column;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    gap: 10px;
    padding: 14px 0 4px;
    cursor: default;
    touch-action: auto;
  }
  .cat-item {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    scroll-snap-align: none;
    border-radius: 16px;
  }
  .cat-item-thumb {
    flex: 0 0 96px;
    width: 96px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0;
  }
  .cat-item-body {
    flex: 1 1 auto;
    padding: 12px 16px;
    align-items: center;
  }
  .cat-item-name {
    font-size: 1rem;
    line-height: 1.35;
  }
  .cat-item:hover {
    transform: none;
    box-shadow: 0 10px 26px rgba(20, 9, 3, 0.14);
  }
  .cat-item:hover .cat-item-thumb.has-photo { transform: none; }
}

/* ---------- (legacy) Meal tabs kept for back-compat, unused ---------- */
.meal-tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0e7d6;
}
.meal-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.meal-tab.is-active {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.dish-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dish-card .img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.dish-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dish-card:hover .img-wrap img { transform: scale(1.06); }

.price-pill {
  background: var(--brand-50);
  color: var(--brand-600);
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.85rem;
}

/* ---------- Gallery (masonry) ---------- */
.gallery-section {
  position: relative;
  background-image: url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--choco-900);
  isolation: isolate;
}
/* Warm chocolate vignette so the logo backdrop recedes and tiles/text pop */
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(61, 38, 18, 0.35) 0%, rgba(20, 9, 3, 0.85) 60%, rgba(20, 9, 3, 0.95) 100%),
    linear-gradient(180deg, rgba(20, 9, 3, 0.55), rgba(20, 9, 3, 0.85));
}
.gallery-section > .mx-auto { position: relative; z-index: 1; }

/* Lift gallery heading text against the dark backdrop */
.gallery-section .eyebrow { color: var(--brand-300); }
.gallery-section .section-title { color: #ffffff; }
.gallery-section .section-title + p { color: rgba(255, 255, 255, 0.8) !important; }

@media (max-width: 768px) {
  .gallery-section { background-attachment: scroll; }
}
.gallery-grid {
  column-count: 4;
  column-gap: 14px;
}
@media (max-width: 1024px) { .gallery-grid { column-count: 3; } }
@media (max-width: 680px)  { .gallery-grid { column-count: 2; column-gap: 10px; } }
@media (max-width: 380px)  { .gallery-grid { column-gap: 8px; } }

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  break-inside: avoid;
  background: var(--choco-900);
  box-shadow: 0 8px 22px rgba(20, 9, 3, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(20, 9, 3, 0.55)),
    radial-gradient(ellipse at 50% 120%, rgba(201, 160, 76, 0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(253, 247, 232, 0.0);
  border-radius: 12px;
  pointer-events: none;
  transition: border-color 0.35s ease;
}
.gallery-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 9, 3, 0.35);
}
.gallery-tile:hover img { transform: scale(1.06); filter: saturate(112%); }
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile:hover::before { border-color: rgba(253, 247, 232, 0.35); }
.gallery-tile:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 3px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 6, 2, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  animation: lbPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbPop {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: var(--brand-500); transform: rotate(90deg); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.lightbox-nav:hover { background: var(--brand-500); color: #fff; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 680px) {
  .lightbox-img { max-width: 94vw; max-height: 70vh; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- Reservation ---------- */
.reservation {
  position: relative;
  background-size: cover;
  background-position: center;
}
.reservation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19,17,8,0.65), rgba(19,17,8,0.55));
}
.form-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, rgba(253, 247, 232, 0.95) 100%);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 0;
  border-radius: 26px;
  padding: 42px 36px;
  box-shadow:
    /* gradient-rim effect via stacked shadows */
    0 0 0 1px rgba(201, 160, 76, 0.55),
    0 0 0 5px rgba(201, 160, 76, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(20, 9, 3, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 22px 44px rgba(201, 160, 76, 0.18);
}
.form-card::before {
  /* Gold shimmer on top edge */
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-300), transparent);
  border-radius: 1px;
}
.form-card::after {
  /* Soft warm glow top-left — sits behind content via negative z-index
     (form-card establishes its own stacking context via backdrop-filter,
     so -1 stays inside the card between bg and children). */
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(212, 167, 74, 0.15), transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: 26px;
}

.field-label {
  /* Shrink to its text so clicks in the empty area beside a label
     don't fire the associated <input> focus (standard <label for=>
     behavior triggers on the entire label box). */
  display: block;
  width: fit-content;
  max-width: 100%;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field-input,
.field-select,
input.field-input,
select.field-select {
  width: 100%;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid rgba(201, 160, 76, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #fdf9ee 100%);
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  box-shadow:
    inset 0 1px 2px rgba(20, 9, 3, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  line-height: 1.4;
}
/* Custom gold chevron on selects so we don't depend on native browser arrow */
.field-select,
select.field-select {
  padding-right: 42px;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"),
    linear-gradient(180deg, #ffffff 0%, #fdf9ee 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 14px, cover;
  cursor: pointer;
}
.field-input:hover,
.field-select:hover,
input.field-input:hover,
select.field-select:hover {
  border-color: rgba(201, 160, 76, 0.55);
}
.field-input:focus,
.field-select:focus,
input.field-input:focus,
select.field-select:focus {
  outline: none;
  border-color: var(--brand-500);
  background: #ffffff;
  box-shadow:
    inset 0 1px 2px rgba(20, 9, 3, 0.05),
    0 0 0 4px rgba(201, 160, 76, 0.22),
    0 4px 12px rgba(201, 160, 76, 0.15);
}
.field-select:focus,
select.field-select:focus {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"),
    linear-gradient(180deg, #ffffff, #ffffff);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 14px, cover;
}

/* Hybrid date field: visible text input shows DD/MM/YYYY, a native
   date input sits invisibly on top to provide the calendar picker. */
.field-date-wrap {
  position: relative;
}
/* Bumped to `input.field-date-display` (0,1,1) so it ties with
   `input.field-input` on the specificity ladder and wins on source
   order. Dual-background paints the calendar icon on top of the cream
   gradient in a single rule so neither gets lost to the cascade. */
input.field-date-display,
.field-date-display {
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  padding-right: 44px;               /* room for the calendar glyph on the right */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
    linear-gradient(180deg, #ffffff 0%, #fdf9ee 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 18px 18px, cover;
}
input.field-date-display:focus {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8822f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
    linear-gradient(180deg, #ffffff, #ffffff);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 18px 18px, cover;
}
.field-date-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;                        /* invisible but interactive */
  cursor: pointer;
  border: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
/* Keep focus ring on the visible input when the invisible one is focused */
.field-date-wrap:focus-within .field-date-display {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(201, 160, 76, 0.22);
}

/* ---------- Location ---------- */
.map-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  background: #f4efe4;
}
.contact-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
}
.contact-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5dcc6 20%, #e5dcc6 80%, transparent);
}

/* ---------- Footer ---------- */
.footer {
  background: #0f0d06;
  color: #d9cfb6;
}
.footer a { color: #d9cfb6; transition: color 0.2s; }
.footer a:hover { color: var(--brand-400); }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}
.social-btn:hover {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Section heads ---------- */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-500);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--ink-900);
}

/* ---------- Mobile nav — premium sheet ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  padding: 18px;
  background: rgba(10, 6, 2, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.is-open {
  display: flex;
  opacity: 1;
  flex-direction: column;
}
/* Inner card — the actual styled sheet */
.mobile-menu-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fdf7e8 0%, #f8e8c2 100%);
  border-radius: 28px;
  border: 1px solid rgba(201, 160, 76, 0.4);
  overflow: hidden;
  box-shadow:
    0 0 0 4px rgba(201, 160, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 40px 80px rgba(20, 9, 3, 0.45);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.mobile-menu.is-open .mobile-menu-inner {
  transform: translateY(0) scale(1);
  opacity: 1;
}
/* Decorative warm glows in corners */
.mobile-menu-inner::before,
.mobile-menu-inner::after {
  content: "";
  position: absolute;
  background: radial-gradient(ellipse, rgba(212, 167, 74, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.mobile-menu-inner::before {
  top: -25%; right: -20%;
  width: 70%; height: 55%;
}
.mobile-menu-inner::after {
  bottom: -20%; left: -20%;
  width: 65%; height: 45%;
  background: radial-gradient(ellipse, rgba(212, 167, 74, 0.18), transparent 70%);
}
.mobile-menu-inner > * { position: relative; z-index: 1; }

/* Header */
.mobile-menu-header {
  padding: 22px 22px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(201, 160, 76, 0.22);
}
.mobile-menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mobile-menu-brand-tile {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background-color: var(--choco-900);
  background-image: url('images/logo.jpg');
  background-size: 200%;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(201, 160, 76, 0.45);
  box-shadow: inset 0 0 0 2px rgba(212, 167, 74, 0.15), 0 4px 10px rgba(20, 9, 3, 0.25);
}
.mobile-menu-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.mobile-menu-brand-text .font-script {
  font-size: 1.4rem;
  color: var(--brand-600);
  line-height: 1;
}
.mobile-menu-brand-text .font-script em {
  color: var(--choco-900);
  font-style: italic;
  padding: 0 2px;
}
.mobile-menu-brand-sub {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.mobile-menu-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #faecc9);
  border: 1px solid rgba(201, 160, 76, 0.4);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.3s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 10px rgba(20, 9, 3, 0.15);
}
.mobile-menu-close:hover {
  background: var(--brand-500);
  color: #ffffff;
  transform: rotate(90deg);
}

/* Nav list */
.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  overflow-y: auto;
}
.mobile-menu-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px 20px 28px;        /* extra left padding to absorb the accent bar */
  border-radius: 16px;
  color: var(--ink-900);
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Vertical gold accent bar — slides in from behind when row is active */
.mobile-menu-link::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translate(-8px, -50%) scaleY(0);
  transform-origin: center;
  width: 3px;
  height: 60%;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-300), var(--brand-600));
  box-shadow: 0 0 12px rgba(201, 160, 76, 0.45);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.mobile-menu-link:hover::before,
.mobile-menu-link:active::before,
.mobile-menu-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%) scaleY(1);
}
/* Gradient hairline between links — matches the `.divider` style used
   in the Find-us contact section. Applied as a pseudo so the hover
   background still renders as a clean pill without a seam. */
.mobile-menu-link::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 160, 76, 0.28) 22%, rgba(201, 160, 76, 0.28) 78%, transparent);
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu-link:last-child::after { display: none; }
.mobile-menu-link:hover::after,
.mobile-menu-link:active::after,
.mobile-menu-link:focus-visible::after { opacity: 0; }

.mobile-menu-link:hover,
.mobile-menu-link:active,
.mobile-menu-link:focus-visible {
  background: linear-gradient(90deg, rgba(201, 160, 76, 0.22), rgba(201, 160, 76, 0.04));
  border-color: rgba(201, 160, 76, 0.4);
  color: var(--brand-700);
  transform: translateX(4px);
  outline: none;
}
.mobile-menu-label {
  flex: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.mobile-menu-arrow {
  flex-shrink: 0;
  color: var(--brand-500);
  opacity: 0;
  transform: translateX(-10px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-link:hover .mobile-menu-arrow,
.mobile-menu-link:active .mobile-menu-arrow,
.mobile-menu-link:focus-visible .mobile-menu-arrow {
  opacity: 1;
  transform: translateX(4px) scale(1.1);
}

/* Staggered link fade-in */
@keyframes mmLinkIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-menu.is-open .mobile-menu-link {
  opacity: 0;
  animation: mmLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-menu.is-open .mobile-menu-link:nth-child(1) { animation-delay: 0.12s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(2) { animation-delay: 0.17s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(3) { animation-delay: 0.22s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(4) { animation-delay: 0.27s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(5) { animation-delay: 0.32s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(6) { animation-delay: 0.37s; }

/* Footer */
.mobile-menu-footer {
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(201, 160, 76, 0.22);
}
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.mobile-menu-social {
  display: flex;
  gap: 10px;
}
.mobile-menu-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 160, 76, 0.12);
  border: 1px solid rgba(201, 160, 76, 0.3);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.mobile-menu-social a:hover {
  background: var(--brand-500);
  color: #ffffff;
  transform: translateY(-2px);
}
.mobile-menu-meta {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-align: center;
}

/* ---- Dark mode ---- */
[data-theme="dark"] .mobile-menu {
  background: rgba(10, 6, 2, 0.75);
}
[data-theme="dark"] .mobile-menu-inner {
  background: linear-gradient(180deg, #1a120a 0%, #0f0a04 100%);
  border-color: rgba(201, 160, 76, 0.32);
  box-shadow:
    0 0 0 4px rgba(201, 160, 76, 0.06),
    inset 0 1px 0 rgba(212, 167, 74, 0.15),
    0 40px 80px rgba(0, 0, 0, 0.85);
}
[data-theme="dark"] .mobile-menu-header,
[data-theme="dark"] .mobile-menu-footer {
  border-color: rgba(201, 160, 76, 0.2);
}
[data-theme="dark"] .mobile-menu-brand-text .font-script { color: var(--brand-300); }
[data-theme="dark"] .mobile-menu-brand-text .font-script em { color: #f5e6c9; }
[data-theme="dark"] .mobile-menu-brand-sub { color: #9e967f; }
[data-theme="dark"] .mobile-menu-close {
  background: linear-gradient(180deg, #2e2013, #1c120a);
  border-color: rgba(201, 160, 76, 0.4);
  color: var(--brand-300);
  box-shadow: inset 0 1px 0 rgba(212, 167, 74, 0.18), 0 4px 10px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .mobile-menu-close:hover { background: var(--brand-500); color: #ffffff; }
[data-theme="dark"] .mobile-menu-link { color: #f5e6c9; }
[data-theme="dark"] .mobile-menu-link:hover,
[data-theme="dark"] .mobile-menu-link:active,
[data-theme="dark"] .mobile-menu-link:focus-visible {
  background: linear-gradient(90deg, rgba(240, 168, 74, 0.22), rgba(240, 168, 74, 0.04));
  border-color: rgba(201, 160, 76, 0.45);
  color: var(--brand-300);
}
[data-theme="dark"] .mobile-menu-arrow { color: var(--brand-300); }
[data-theme="dark"] .mobile-menu-link::after {
  background: linear-gradient(90deg, transparent, rgba(201, 160, 76, 0.22) 22%, rgba(201, 160, 76, 0.22) 78%, transparent);
}
[data-theme="dark"] .mobile-menu-social a {
  background: rgba(201, 160, 76, 0.12);
  border-color: rgba(201, 160, 76, 0.3);
  color: var(--brand-300);
}
[data-theme="dark"] .mobile-menu-social a:hover { background: var(--brand-500); color: #ffffff; }
[data-theme="dark"] .mobile-menu-meta { color: #7d705a; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

@media (max-width: 768px) {
  html { scroll-padding-top: 88px; }
  .about { background-attachment: scroll; }
  .glass-card { padding: 24px; }
  .form-card { padding: 24px; }
  .hero-stack { width: 88%; }
}

/* ==========================================================
   Order page — immersive full-viewport delivery landing
   ========================================================== */
.order-page {
  position: relative;
  min-height: 100vh;
  padding: 110px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/logo.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--choco-900);
  background-attachment: fixed;
  isolation: isolate;
  overflow: hidden;
}
/* Warm chocolate vignette + soft gold halo — matches the About/Gallery
   treatment so the order page feels like part of the same world. */
.order-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(61, 38, 18, 0.35) 0%, rgba(20, 9, 3, 0.85) 55%, rgba(20, 9, 3, 0.95) 100%),
    linear-gradient(180deg, rgba(20, 9, 3, 0.55), rgba(20, 9, 3, 0.85));
}
/* Two corner amber glows — decorative, adds atmosphere without busy-ness */
.order-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 10% 15%, rgba(212, 167, 74, 0.2), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(212, 167, 74, 0.16), transparent 60%);
}
.order-page > .mx-auto { position: relative; z-index: 1; width: 100%; }

/* Intro — centered in the viewport */
.order-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: #ffffff;
}
.order-intro .eyebrow {
  color: var(--brand-300);
  font-size: 0.88rem;
  letter-spacing: 0.28em;
}
.order-intro .section-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.55),
    0 10px 40px rgba(0, 0, 0, 0.4);
}
.order-intro-script {
  display: inline-block;
  font-family: 'Pacifico', cursive;
  color: var(--brand-300);
  font-size: 1.05em;
  padding: 0 4px;
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--choco-900);
          text-stroke: 1.5px var(--choco-900);
  paint-order: stroke fill;
  text-shadow:
    0 2px 0 rgba(20, 9, 3, 0.6),
    0 6px 16px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(212, 167, 74, 0.4);
}
.order-intro-script em {
  color: #fdf7e8;
  font-style: italic;
  padding: 0 2px;
  -webkit-text-stroke: 1.5px var(--choco-900);
          text-stroke: 1.5px var(--choco-900);
  paint-order: stroke fill;
}
.order-intro-sub {
  color: rgba(253, 247, 232, 0.86);
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.order-intro-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}

/* Badges — floating glass pills on dark bg */
.order-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.order-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(253, 247, 232, 0.08);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(253, 247, 232, 0.2);
  color: rgba(253, 247, 232, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 1px 0 rgba(253, 247, 232, 0.12),
    0 8px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.25s ease, transform 0.25s ease;
}
.order-badge:hover {
  background: rgba(253, 247, 232, 0.14);
  transform: translateY(-2px);
}
.order-badge svg { color: var(--brand-300); flex-shrink: 0; }

@media (max-width: 640px) {
  .order-page {
    padding: 104px 0 64px;
    background-attachment: scroll;
  }
  .order-intro-cta { gap: 10px; margin-top: 32px; }
  .order-badges { gap: 8px; margin-top: 32px; }
  .order-badge { padding: 8px 14px; font-size: 0.76rem; }
}

/* Light mode — swap the dark vignette for a warm cream wash so the
   logo is still visible but the heading stays legible. */
:root:not([data-theme="dark"]) .order-page::before {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(253, 247, 232, 0.55) 0%, rgba(251, 246, 238, 0.82) 55%, rgba(251, 246, 238, 0.93) 100%),
    linear-gradient(180deg, rgba(251, 246, 238, 0.55), rgba(251, 246, 238, 0.85));
}
:root:not([data-theme="dark"]) .order-page::after {
  background:
    radial-gradient(ellipse at 10% 15%, rgba(212, 167, 74, 0.28), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(212, 167, 74, 0.22), transparent 60%);
}
:root:not([data-theme="dark"]) .order-intro { color: var(--ink-900); }
:root:not([data-theme="dark"]) .order-intro .section-title {
  color: var(--choco-900);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.35);
}
:root:not([data-theme="dark"]) .order-intro-script {
  color: var(--brand-600);
  -webkit-text-stroke-color: rgba(253, 247, 232, 0.6);
          text-stroke-color: rgba(253, 247, 232, 0.6);
  text-shadow:
    0 2px 0 rgba(253, 247, 232, 0.45),
    0 6px 18px rgba(168, 130, 47, 0.28);
}
:root:not([data-theme="dark"]) .order-intro-script em {
  color: var(--choco-900);
  -webkit-text-stroke-color: rgba(253, 247, 232, 0.6);
          text-stroke-color: rgba(253, 247, 232, 0.6);
}
:root:not([data-theme="dark"]) .order-intro-sub {
  color: var(--ink-700);
  text-shadow: none;
}
:root:not([data-theme="dark"]) .order-badge {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(253, 247, 232, 0.85));
  border-color: rgba(201, 160, 76, 0.4);
  color: var(--ink-700);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(20, 9, 3, 0.15);
}
:root:not([data-theme="dark"]) .order-badge svg { color: var(--brand-600); }
:root:not([data-theme="dark"]) .order-badge:hover {
  background: linear-gradient(180deg, #ffffff, rgba(253, 247, 232, 0.95));
}

/* ---------- Scroll to top (floating action) ---------- */
.scroll-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 55;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 160, 76, 0.45);
  background: linear-gradient(180deg, rgba(201, 160, 76, 0.55), rgba(168, 130, 47, 0.55));
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    box-shadow 0.25s ease;
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 22px rgba(20, 9, 3, 0.35),
    0 0 0 4px rgba(201, 160, 76, 0.08);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top:hover {
  background: linear-gradient(180deg, rgba(201, 160, 76, 0.88), rgba(168, 130, 47, 0.92));
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 32px rgba(201, 160, 76, 0.5),
    0 0 0 6px rgba(201, 160, 76, 0.14);
}
.scroll-top:active { transform: translateY(-1px) scale(0.98); }
.scroll-top:focus-visible {
  outline: 2px solid rgba(255, 247, 220, 0.85);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .scroll-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   DARK THEME OVERRIDES
   Gold-on-chocolate inversion of the light cream system.
   All brand-gold accents stay the same across both themes.
   ========================================================= */
:root { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

[data-theme="dark"] {
  --cream: #0f0a04;
  --paper: #1a120a;
  --ink-900: #f5e6c9;
  --ink-700: #d9cfb6;
  --ink-500: #9e967f;
  --ink-300: #6b624a;

  /* Warmer amber/marigold brand palette to match logo 2's accent */
  --brand-50:  #3d280f;
  --brand-100: #5a3c18;
  --brand-200: #8a5b22;
  --brand-300: #f5c570;
  --brand-400: #f0a84a;
  --brand-500: #e89c3d;
  --brand-600: #c47e20;
  --brand-700: #925e14;
  --brand-900: #3d2408;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 36px 70px rgba(0, 0, 0, 0.75);
}


[data-theme="dark"] body { background: #0f0a04; color: #f5e6c9; }
[data-theme="dark"] .bg-cream   { background-color: #0f0a04 !important; }
[data-theme="dark"] .bg-white   { background-color: #160f06 !important; }
[data-theme="dark"] .text-ink-900 { color: #f5e6c9 !important; }
[data-theme="dark"] .text-ink-700 { color: #d9cfb6 !important; }
[data-theme="dark"] .text-ink-500 { color: #9e967f !important; }
[data-theme="dark"] .text-ink-300 { color: #6b624a !important; }

/* Navbar */
[data-theme="dark"] .nav-pill {
  background: rgba(20, 13, 6, 0.88);
  border: 1px solid rgba(201, 160, 76, 0.35);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .nav-link { color: #f5e6c9; }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active { color: var(--brand-300); }
[data-theme="dark"] .nav-link.active::after { background: var(--brand-400); }
[data-theme="dark"] .font-script.text-brand-600 { color: var(--brand-300) !important; }
[data-theme="dark"] .text-choco-700 { color: #f5e6c9 !important; }
[data-theme="dark"] .mobile-menu { background: rgba(10, 6, 2, 0.95); }
/* Hamburger — Tailwind's bg-brand-50/text-brand-600 bake in light values,
   so explicitly override for dark mode. */
[data-theme="dark"] #navToggle {
  background: linear-gradient(180deg, #2e2013, #1c120a);
  color: var(--brand-300);
  border: 1px solid rgba(201, 160, 76, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(212, 167, 74, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.45);
}

/* About — glass cards */
[data-theme="dark"] .glass-card {
  background: linear-gradient(180deg, rgba(36, 24, 12, 0.92) 0%, rgba(20, 13, 6, 0.9) 100%);
  color: #f5e6c9;
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.32),
    inset 0 1px 0 rgba(212, 167, 74, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 30px 80px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .glass-card .text-ink-700 { color: #d9cfb6 !important; }
[data-theme="dark"] .glass-badge {
  background: linear-gradient(180deg, #2a1c0f, #1c120a);
  color: var(--brand-300);
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.45),
    inset 0 1px 0 rgba(212, 167, 74, 0.25),
    0 8px 22px rgba(0, 0, 0, 0.6);
}

/* Menu */
[data-theme="dark"] .cat-card {
  background: linear-gradient(180deg, #241810 0%, #160e06 100%);
  color: #f5e6c9;
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.28),
    inset 0 1px 0 rgba(212, 167, 74, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.6);
}
[data-theme="dark"] .cat-card:hover {
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.55),
    inset 0 1px 0 rgba(212, 167, 74, 0.25),
    0 18px 34px rgba(0, 0, 0, 0.7),
    0 30px 60px rgba(201, 160, 76, 0.12);
}
[data-theme="dark"] .cat-card-icon {
  background: linear-gradient(180deg, #2f2013, #1f1409);
  color: var(--brand-300);
  box-shadow:
    inset 0 1px 0 rgba(212, 167, 74, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .cat-card-count { color: #9e967f; }
[data-theme="dark"] .cat-panel {
  background: linear-gradient(180deg, rgba(26, 18, 10, 0.98) 0%, rgba(18, 12, 6, 0.97) 55%, rgba(10, 6, 2, 0.95) 100%);
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.32),
    0 0 0 6px rgba(201, 160, 76, 0.05),
    inset 0 1px 0 rgba(212, 167, 74, 0.18),
    0 40px 90px rgba(0, 0, 0, 0.75);
}
[data-theme="dark"] .cat-panel-title { color: #f5e6c9; }
[data-theme="dark"] .cat-panel-count { color: #9e967f; }
[data-theme="dark"] .cat-panel-head::after {
  background: linear-gradient(90deg, transparent, rgba(201, 160, 76, 0.4) 25%, rgba(201, 160, 76, 0.4) 75%, transparent);
}
[data-theme="dark"] .cat-item {
  background: #1a120a;
  border-color: rgba(201, 160, 76, 0.2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}
[data-theme="dark"] .cat-item-name { color: #f5e6c9; }
[data-theme="dark"] .cat-nav,
[data-theme="dark"] .cat-item-nav-btn {
  background: #241810;
  color: var(--brand-300);
  border-color: rgba(201, 160, 76, 0.3);
}
[data-theme="dark"] .cat-nav:hover,
[data-theme="dark"] .cat-item-nav-btn:hover { background: var(--brand-500); color: #fff; }
[data-theme="dark"] .menu-section::before {
  background: linear-gradient(180deg, rgba(10, 6, 2, 0.78), rgba(10, 6, 2, 0.7));
}

/* Offers */
[data-theme="dark"] #offers { background: #0f0a04 !important; }
[data-theme="dark"] .btn-ghost { color: var(--brand-300); border-color: var(--brand-300); }
[data-theme="dark"] .btn-ghost:hover { background: var(--brand-400); color: var(--choco-900); }
[data-theme="dark"] .offer-price-was { color: #9e967f; text-decoration-color: rgba(201, 160, 76, 0.45); }
[data-theme="dark"] .offer-price-now { color: #f5e6c9; }
[data-theme="dark"] .offer-when { color: #d9cfb6; }

/* Reservation */
[data-theme="dark"] .form-card {
  background: linear-gradient(180deg, #1a120a 0%, rgba(15, 10, 4, 0.97) 100%);
  box-shadow:
    0 0 0 1px rgba(201, 160, 76, 0.5),
    0 0 0 5px rgba(201, 160, 76, 0.08),
    inset 0 1px 0 rgba(212, 167, 74, 0.2),
    0 40px 80px rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .field-label { color: #d9cfb6; }
[data-theme="dark"] .field-input,
[data-theme="dark"] .field-select {
  background: linear-gradient(180deg, #241810, #1a120a);
  color: #f5e6c9;
  border-color: rgba(201, 160, 76, 0.4);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(212, 167, 74, 0.1);
}
[data-theme="dark"] .field-select {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a84a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"),
    linear-gradient(180deg, #241810, #1a120a);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 14px, cover;
}
[data-theme="dark"] .field-select:focus {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a84a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"),
    linear-gradient(180deg, #2a1c0f, #1a120a);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 14px, cover;
}
[data-theme="dark"] .field-input::placeholder { color: #6b624a; }
[data-theme="dark"] .field-select option {
  background-color: #1a120a;
  color: #f5e6c9;
}
/* Keep the dark chocolate gradient on focus in dark mode so cream text
   stays readable — the brighter fill the light rule applies ("#ffffff")
   would clash with #f5e6c9 text. */
[data-theme="dark"] .field-input:focus,
[data-theme="dark"] .field-select:focus,
[data-theme="dark"] input.field-input:focus,
[data-theme="dark"] select.field-select:focus,
[data-theme="dark"] input.field-date-display:focus {
  background: linear-gradient(180deg, #2e2113, #1a120a);
  color: #ffffff;
  border-color: var(--brand-400);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(240, 168, 74, 0.25),
    0 4px 12px rgba(201, 160, 76, 0.2);
}
[data-theme="dark"] .field-date::-webkit-calendar-picker-indicator {
  filter: invert(1) sepia(1) saturate(2.5) hue-rotate(2deg);
}

/* Re-apply the calendar glyph on the date display in dark mode — the
   .field-input shorthand above resets background-image; this restores
   the icon using the warmer amber stroke that matches the dark palette. */
[data-theme="dark"] .field-date-display,
[data-theme="dark"] input.field-date-display {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
    linear-gradient(180deg, #241810, #1a120a);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 18px 18px, cover;
}
/* Keep the icon visible in dark-mode focus state too (brighter gradient) */
[data-theme="dark"] input.field-date-display:focus {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='3'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>"),
    linear-gradient(180deg, #2e2113, #1a120a);
  background-repeat: no-repeat, no-repeat;
  background-position: right 14px center, 0 0;
  background-size: 18px 18px, cover;
}

/* Contact */
[data-theme="dark"] #contact { background: #0f0a04; }
[data-theme="dark"] .contact-icon {
  background: rgba(201, 160, 76, 0.14);
  color: var(--brand-300);
}
[data-theme="dark"] .divider {
  background: linear-gradient(90deg, transparent, rgba(201, 160, 76, 0.25) 20%, rgba(201, 160, 76, 0.25) 80%, transparent);
}
[data-theme="dark"] .map-card { background: #1a120a; }

/* Section headings on dark pages */
[data-theme="dark"] .section-title { color: #f5e6c9; }

/* Legacy dish-card fallback */
[data-theme="dark"] .dish-card { background: #1a120a; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55); }
[data-theme="dark"] .price-pill { background: rgba(201, 160, 76, 0.18); color: var(--brand-300); }

/* Scroll to top — warmer amber tint for dark mode */
[data-theme="dark"] .scroll-top {
  background: linear-gradient(180deg, rgba(240, 168, 74, 0.4), rgba(196, 126, 32, 0.45));
  border-color: rgba(240, 168, 74, 0.5);
  color: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.25),
    0 8px 22px rgba(0, 0, 0, 0.6),
    0 0 0 4px rgba(240, 168, 74, 0.08);
}
[data-theme="dark"] .scroll-top:hover {
  background: linear-gradient(180deg, rgba(240, 168, 74, 0.88), rgba(196, 126, 32, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.4),
    0 14px 32px rgba(240, 168, 74, 0.45),
    0 0 0 6px rgba(240, 168, 74, 0.14);
}

/* =========================================================
   Custom select (replaces native <select> popup with a
   pill-shaped, fully styleable dropdown panel).
   ========================================================= */
.cs {
  position: relative;
}
.cs-native {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 22px;      /* chevron lives inside button, not as bg */
  background: linear-gradient(180deg, #ffffff 0%, #fdf9ee 100%);
  background-image: none;   /* kill the bg-image chevron from .field-select */
  text-align: left;
  cursor: pointer;
  color: var(--ink-900);
  line-height: 1.4;
}
.cs-trigger:focus { outline: none; }
.cs-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-value.is-placeholder { color: rgba(20, 9, 3, 0.45); }
.cs-chev {
  color: var(--brand-600);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cs.is-open .cs-chev { transform: rotate(180deg); }
.cs.is-open .cs-trigger {
  border-color: var(--brand-500);
  box-shadow:
    inset 0 1px 2px rgba(20, 9, 3, 0.05),
    0 0 0 4px rgba(201, 160, 76, 0.22),
    0 4px 12px rgba(201, 160, 76, 0.15);
  background: #ffffff;
}

.cs-panel {
  list-style: none;
  margin: 8px 0 0;
  padding: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf9ee 100%);
  border: 1px solid rgba(201, 160, 76, 0.38);
  box-shadow:
    0 0 0 4px rgba(201, 160, 76, 0.08),
    0 18px 40px rgba(20, 9, 3, 0.28),
    0 30px 60px rgba(20, 9, 3, 0.18);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 280px;
  overflow-y: auto;
}
.cs.is-open .cs-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cs-opt {
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-900);
  font-size: 0.95rem;
  line-height: 1.3;
  transition: background 0.18s ease, color 0.18s ease;
  user-select: none;
}
.cs-opt:hover {
  background: rgba(201, 160, 76, 0.12);
  color: var(--brand-700);
}
.cs-opt[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(201, 160, 76, 0.18), rgba(201, 160, 76, 0.06));
  color: var(--brand-700);
  font-weight: 600;
}
.cs-opt-placeholder {
  color: rgba(20, 9, 3, 0.5);
}

/* ---- Dark mode ---- */
[data-theme="dark"] .cs-trigger {
  background: linear-gradient(180deg, #241810, #1a120a);
  color: #f5e6c9;
}
[data-theme="dark"] .cs-value.is-placeholder { color: rgba(245, 230, 201, 0.45); }
[data-theme="dark"] .cs-chev { color: var(--brand-300); }
[data-theme="dark"] .cs.is-open .cs-trigger {
  background: linear-gradient(180deg, #2e2113, #1a120a);
  border-color: var(--brand-400);
  color: #ffffff;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.4),
    0 0 0 4px rgba(240, 168, 74, 0.25),
    0 4px 12px rgba(201, 160, 76, 0.2);
}
[data-theme="dark"] .cs-panel {
  background: linear-gradient(180deg, #241810 0%, #1a120a 100%);
  border-color: rgba(201, 160, 76, 0.4);
  box-shadow:
    0 0 0 4px rgba(201, 160, 76, 0.08),
    0 18px 40px rgba(0, 0, 0, 0.7),
    0 30px 60px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .cs-opt { color: #f5e6c9; }
[data-theme="dark"] .cs-opt:hover {
  background: rgba(240, 168, 74, 0.15);
  color: var(--brand-300);
}
[data-theme="dark"] .cs-opt[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(240, 168, 74, 0.22), rgba(240, 168, 74, 0.06));
  color: var(--brand-300);
}
[data-theme="dark"] .cs-opt-placeholder { color: rgba(245, 230, 201, 0.4); }
