/* ============ Tokens ============ */
:root {
  --cream: #F7E6C4;
  --paper: #FFFBF2;
  --card-cream: #FBF2DF;
  --cocoa: #3A2317;
  --cocoa-deep: #241309;
  --cocoa-dim: rgba(58, 35, 23, 0.68);
  --mustard: #F3C94A;
  --mustard-dark: #D9A82E;
  --blush: #F2A0C0;
  --blush-dark: #DD82A4;
  --lavender: #BFC0EF;
  --lavender-dark: #9D9EDB;
  --maroon: #8C3A28;
  --veg: #3F8F4A;
  --line: rgba(58, 35, 23, 0.14);
  --line-strong: rgba(58, 35, 23, 0.26);
  --line-on-dark: rgba(247, 230, 196, 0.18);

  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --header-h: 64px;
  --radius-card: 22px;
  --radius-media: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 22px rgba(36, 19, 9, 0.16);
  --shadow-soft-sm: 0 6px 14px rgba(36, 19, 9, 0.16);
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* ============ Reset ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

:focus-visible {
  outline: 2px solid var(--maroon);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--mustard);
  color: var(--cocoa);
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

[id] { scroll-margin-top: var(--header-h); }

.section-eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 0 0 6px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1.08;
  color: var(--cocoa);
  margin: 0 0 20px;
}
.section-title .accent { color: var(--blush-dark); }

/* Dark showcase panels (Menu, Bestsellers, Our Story) flip the text tokens
   for everything nested inside, so the shared component classes above stay
   readable without needing separate light/dark component variants. */
.menu-section,
.bestsellers-section,
.story-section {
  background: var(--cocoa);
  color: var(--card-cream);
  border-radius: var(--radius-card);
  padding: 36px 24px;
}
.menu-section .section-eyebrow,
.bestsellers-section .section-eyebrow,
.story-section .section-eyebrow { color: var(--mustard); }
.menu-section .section-title,
.bestsellers-section .section-title,
.story-section .section-title { color: var(--card-cream); }
.menu-section .section-title .accent,
.bestsellers-section .section-title .accent,
.story-section .section-title .accent { color: var(--mustard); }
@media (min-width: 640px) {
  .menu-section, .bestsellers-section, .story-section { padding: 44px 36px; }
}

/* ============ Checkerboard divider (used once, between Story and Order) ============ */
.checker-strip {
  height: 30px;
  background-color: var(--cream);
  background-image:
    linear-gradient(45deg, var(--cocoa) 25%, transparent 25%, transparent 75%, var(--cocoa) 75%, var(--cocoa)),
    linear-gradient(45deg, var(--cocoa) 25%, transparent 25%, transparent 75%, var(--cocoa) 75%, var(--cocoa));
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(36, 19, 9, 0.22); }
.btn:active { transform: translateY(1px); box-shadow: 0 4px 10px rgba(36, 19, 9, 0.18); }

.btn-primary { background: var(--mustard); color: var(--cocoa); }
.btn-whatsapp { background: #25D366; color: #06210F; }
.btn-outline { background: transparent; border-color: var(--line-strong); color: inherit; box-shadow: none; }
.btn-outline:hover { border-color: var(--maroon); transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: transparent; box-shadow: none; color: inherit; padding-left: 4px; padding-right: 4px; }
.btn-ghost:hover { transform: none; box-shadow: none; color: var(--maroon); }
.play-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 10px;
  margin-right: 2px;
}
.btn-sm { padding: 9px 18px; font-size: 11.5px; box-shadow: var(--shadow-soft-sm); }

/* ============ Header / Nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 251, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--cocoa);
}
.logo em { color: var(--maroon); font-style: normal; }
.logo-mark { flex-shrink: 0; }
.nav-panel {
  align-items: center;
  gap: 18px;
  font-weight: 600;
  font-size: 14px;
}
@media (min-width: 1024px) {
  .nav-panel { gap: 26px; }
}
.nav-panel a { padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.nav-panel a:hover, .nav-panel a.is-active { color: var(--maroon); border-color: var(--maroon); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; display: inline-flex; padding: 8px; color: var(--cocoa); }
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--maroon);
  color: var(--card-cream);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cocoa);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.desktop-only { display: none; }

@media (max-width: 767px) {
  .nav-panel {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 251, 242, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 16px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }
  .nav-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }
  .nav-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
@media (min-width: 768px) {
  .nav-panel { display: flex; }
  .desktop-only { display: inline-flex; }
  .mobile-only { display: none; }
}

/* ============ Page layout: main column + sidebar ============ */
.page-layout { padding: 32px 20px 0; display: flex; flex-direction: column; gap: 44px; }
.main-col { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

@media (min-width: 1100px) {
  .page-layout { flex-direction: row; align-items: flex-start; gap: 36px; padding-top: 40px; }
  .main-col { flex: 1; min-width: 0; }
  .side-col { flex: 0 0 350px; position: sticky; top: calc(var(--header-h) + 24px); }
}

.side-card {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-soft-sm);
}

/* ============ Hero ============ */
.hero { position: relative; display: flex; flex-direction: column; gap: 30px; padding-top: 8px; }
.hero-inner { position: relative; display: flex; flex-direction: column; min-width: 0; }

/* Small checker accent echoing the divider motif — desktop only, kept quiet */
.hero-inner::after {
  content: '';
  display: none;
  position: absolute;
  top: -6px;
  right: -4px;
  width: 92px;
  height: 40px;
  background-image:
    linear-gradient(45deg, var(--mustard) 25%, transparent 25%, transparent 75%, var(--mustard) 75%, var(--mustard)),
    linear-gradient(45deg, var(--mustard) 25%, transparent 25%, transparent 75%, var(--mustard) 75%, var(--mustard));
  background-size: 14px 14px;
  background-position: 0 0, 7px 7px;
  transform: rotate(-9deg);
  opacity: 0.9;
  border-radius: 6px;
}
@media (min-width: 1300px) { .hero-inner::after { display: block; } }

.eyebrow-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  color: var(--maroon);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(32px, 6.2vw, 48px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  color: var(--cocoa);
  margin: 0 0 18px;
}
.hero-title .accent { color: var(--blush-dark); }
.hero-sub {
  max-width: 420px;
  color: var(--cocoa-dim);
  font-size: 16px;
  margin-bottom: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 26px; }
.hero-actions .btn-primary { margin-right: 8px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-badges li { display: flex; align-items: center; gap: 9px; color: var(--maroon); }
.trust-badges strong { display: block; font-size: 13px; color: var(--cocoa); font-weight: 700; }
.trust-badges span { display: block; font-size: 11.5px; color: var(--cocoa-dim); }

.hero-media.media {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-card);
}
.hero-media.media::before {
  content: '';
  position: absolute;
  inset: -12%;
  z-index: -1;
  background:
    radial-gradient(closest-side, rgba(243, 201, 74, 0.55), transparent),
    radial-gradient(closest-side, rgba(242, 160, 192, 0.4), transparent 70%);
  background-position: 20% 25%, 80% 80%;
  background-repeat: no-repeat;
  background-size: 65% 65%, 60% 60%;
  filter: blur(26px);
}
.hero-media.media img {
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000 62%, transparent 100%);
}

/* Hero goes side-by-side either below the sidebar's own 1100px breakpoint
   (plenty of width, no competition yet) or well above it (1300px+, once
   there's room for both at once) — the 1100–1299px gap is deliberately left
   stacked, since that's exactly the range where hero-inner and the sidebar
   would otherwise fight over the same width and the headline would overflow. */
@media (min-width: 860px) and (max-width: 1099.98px), (min-width: 1300px) {
  .hero { flex-direction: row; align-items: center; gap: 40px; }
  .hero-inner { flex: 1.3; }
  .hero-media.media { flex: 1; aspect-ratio: 1 / 1; }
}

/* ============ Ticker ============ */
.ticker {
  background: var(--blush);
  overflow: hidden;
  border-radius: 10px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker-content {
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--cocoa);
  white-space: nowrap;
}
.tdot { color: var(--cocoa); opacity: 0.6; margin: 0 16px; font-size: 10px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Browse (Explore Our Menu) ============ */
.browse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .browse-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .browse-grid { grid-template-columns: repeat(5, 1fr); } }
.browse-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft-sm);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.browse-card:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.browse-card .media { aspect-ratio: 1 / 1; border-radius: 0; }
.browse-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--cocoa);
  padding: 12px 12px 2px;
}
.browse-card-meta { font-family: var(--font-mono); font-size: 11px; color: var(--cocoa-dim); padding: 0 12px 14px; }

/* ============ Why HomeD ============ */
.why-list { display: grid; gap: 18px; margin-top: 16px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--cream);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-list h4 { font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 0.01em; margin-bottom: 3px; color: var(--cocoa); }
.why-list p { color: var(--cocoa-dim); font-size: 13px; }
.side-card-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 19px; color: var(--maroon); margin-bottom: 4px; }
.side-card-sub { color: var(--cocoa-dim); font-size: 13px; margin-bottom: 14px; }

/* ============ Veg / Non-veg mark ============ */
.veg-mark {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.veg-mark.veg { color: var(--veg); }
.veg-mark.nonveg { color: var(--maroon); }
.veg-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ============ Menu cards ============ */
.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 22px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12.5px;
  letter-spacing: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-on-dark);
  color: var(--card-cream);
  opacity: 0.7;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.menu-tab.is-active { background: var(--mustard); border-color: var(--mustard); color: var(--cocoa); opacity: 1; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

.menu-card {
  position: relative;
  background: var(--card-cream);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(36, 19, 9, 0.3); }
.media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream), var(--card-cream));
  border-radius: var(--radius-media) var(--radius-media) 0 0;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  background: repeating-linear-gradient(135deg, var(--cream) 0 10px, var(--card-cream) 10px 20px);
}
.media.img-fallback::before {
  content: attr(data-fallback-label);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--maroon);
}
.media.img-fallback::after {
  content: '🍽';
  position: absolute;
  font-size: 22px;
  opacity: 0.5;
  top: 10px;
  right: 12px;
}

/* Price sticker, pinned to the photo itself so it never collides with the
   bestseller rank badge (top-left) or favourite icon (top-right) on top.
   Lavender = everyday menu item, pink = bestseller/featured (see below). */
.menu-card-price {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  background: var(--lavender);
  color: var(--cocoa);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft-sm);
}
.menu-card-bestseller .menu-card-price,
.menu-card-special .menu-card-price {
  background: var(--blush);
}

.menu-card-body { padding: 13px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.menu-card-head { display: flex; align-items: center; gap: 7px; }
.menu-card-name { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 13.5px; letter-spacing: 0; line-height: 1.2; color: var(--cocoa); }
.menu-card-tagline { font-size: 12px; color: var(--cocoa-dim); line-height: 1.35; }

.btn-add {
  width: 100%;
  margin-top: auto;
  background: var(--mustard);
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 10px;
  border-radius: var(--radius-pill);
  transition: transform 0.1s ease;
}
.btn-add-pulse { animation: add-pulse 0.32s ease; }
@keyframes add-pulse { 0% { transform: scale(1); } 40% { transform: scale(0.94); } 100% { transform: scale(1); } }

/* Today's Special — the one "featured" card, lifted onto its own mustard
   side-card (see .special-card) so it reads the same as the dark panel's
   centre card. */
.special-card { background: var(--mustard); border-color: transparent; }
.special-card .side-card-title,
.special-card .section-eyebrow { color: var(--cocoa); }
.special-card .side-card-sub { color: var(--cocoa-dim); }
.menu-card-special { max-width: none; background: transparent; box-shadow: none; }
.menu-card-special .media { border-radius: var(--radius-media); background: var(--card-cream); }
.menu-card-special .btn-add { background: var(--card-cream); color: var(--cocoa); }

/* ============ Bestsellers ============ */
.bestsellers-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
}
.bestsellers-strip::-webkit-scrollbar { display: none; }
.menu-card-bestseller { flex: 0 0 clamp(170px, 62vw, 220px); scroll-snap-align: start; }
@media (min-width: 1024px) {
  .bestsellers-strip { flex-wrap: nowrap; }
}
.bestseller-index {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--cocoa);
  color: var(--mustard);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
}
.bestseller-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(58, 35, 23, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--card-cream);
}
.ask-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cocoa-dim);
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  padding: 6px 8px;
  text-align: center;
}
.ask-actions { display: flex; gap: 8px; margin-top: auto; }
.btn-ask { flex: 1; padding: 9px 6px; font-size: 10.5px; box-shadow: none; border-width: 1.5px; }

/* ============ Gallery — tilted, pinned photos ============ */
.gallery-section { padding-top: 14px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 16px;
  padding: 10px 6px 6px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; } }

.gallery-item {
  margin: 0;
  background: var(--cream);
  padding: 8px 8px 22px;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: rotate(var(--tilt, -3deg));
}
.gallery-item:nth-child(3n+1) { --tilt: -3deg; }
.gallery-item:nth-child(3n+2) { --tilt: 2.5deg; }
.gallery-item:nth-child(3n+3) { --tilt: -1.5deg; }
.gallery-item::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 calc(50% - 7px);
  border-radius: 50%;
  background: var(--maroon);
  border: 2px solid var(--mustard);
  box-shadow: 0 2px 3px rgba(36, 19, 9, 0.3);
}
.gallery-item .media {
  aspect-ratio: 1 / 1;
  border-radius: 2px;
  background: var(--cream);
}
.gallery-item .media img { transition: transform 0.3s ease; }
.gallery-item:hover {
  transform: rotate(0deg) scale(1.04) translateY(-4px);
  box-shadow: 0 18px 30px rgba(36, 19, 9, 0.28);
  z-index: 3;
  position: relative;
}

/* ============ Reviews (sidebar) ============ */
.rating-block { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rating-number { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--maroon); line-height: 1; }
.stars { color: var(--mustard-dark); letter-spacing: 2px; font-size: 14px; }
.rating-count { color: var(--cocoa-dim); font-size: 12.5px; margin-top: 4px; }
.reviews-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card {
  position: relative;
  flex: 0 0 calc(100% - 4px);
  scroll-snap-align: start;
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 18px 16px;
}
.review-quote { font-size: 14px; color: var(--cocoa); margin-bottom: 10px; }
.review-author { font-family: var(--font-mono); font-size: 12px; color: var(--cocoa-dim); }
.sample-tag {
  position: absolute;
  top: -9px;
  right: 14px;
  background: var(--paper);
  border: 1px dashed var(--maroon);
  color: var(--maroon);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  transform: rotate(-4deg);
}

/* ============ Offers (sidebar) ============ */
.offers-grid { display: flex; flex-direction: column; gap: 14px; }
.offer-card {
  position: relative;
  border-radius: var(--radius-card);
  border: 1.5px dashed var(--line-strong);
  padding: 18px 16px;
  background:
    linear-gradient(180deg, rgba(58, 35, 23, 0.55), rgba(58, 35, 23, 0.88)),
    var(--offer-image, none) center/cover no-repeat,
    var(--cream);
}
.offer-tag { font-family: var(--font-mono); font-size: 10.5px; color: var(--mustard); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 8px; }
.offer-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 17px; margin-bottom: 6px; color: var(--card-cream); }
.offer-desc { color: rgba(247, 230, 196, 0.75); font-size: 13px; margin-bottom: 14px; }
.offer-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--cocoa);
  background: var(--mustard);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}

/* ============ Our Story ============ */
.story-section { position: relative; overflow: hidden; }
.story-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 19, 9, 0.75), rgba(36, 19, 9, 0.94)),
    url('../images/story-bg.jpg') center/cover no-repeat,
    var(--cocoa);
}
.story-inner { position: relative; max-width: 640px; }
.story-text { color: rgba(247, 230, 196, 0.78); font-size: 15px; margin: 14px 0 30px; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 640px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stats-row li { border-left: 3px solid var(--mustard); padding-left: 14px; }
.stats-row li:nth-child(2n) { border-left-color: var(--blush); }
.stat-number { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 4vw, 34px); color: var(--card-cream); line-height: 1.05; }
.stat-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: rgba(247, 230, 196, 0.65); letter-spacing: 0.04em; }

/* ============ Find Us (sidebar) ============ */
.find-us-line { margin: 0 0 8px; color: var(--cocoa-dim); font-size: 13.5px; }
.find-us-line a { color: var(--cocoa); font-weight: 600; }
.find-us-map {
  position: relative;
  border-radius: var(--radius-media);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  margin-bottom: 14px;
}
.find-us-map iframe { width: 100%; height: 100%; border: 0; }
.find-us-actions { display: flex; gap: 8px; margin-top: 12px; }
.find-us-actions .btn { flex: 1; }

/* ============ Order bar ============ */
.order-bar-section { padding: 48px 0 80px; }
.order-channels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .order-channels { grid-template-columns: repeat(5, 1fr); } }
.channel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-soft-sm);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--cocoa);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.channel-btn:hover { border-color: var(--maroon); transform: translateY(-2px); }

/* ============ Footer ============ */
.site-footer { padding: 48px 0 0; background: var(--cocoa); color: var(--card-cream); }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
.footer-brand .logo { margin-bottom: 4px; color: var(--card-cream); }
.footer-brand .logo em { color: var(--mustard); }
.footer-tag { color: rgba(247, 230, 196, 0.7); font-size: 13px; margin-top: 8px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--mustard); }
.footer-contact p { color: rgba(247, 230, 196, 0.7); font-size: 14px; margin-bottom: 8px; }
.footer-contact a { color: var(--card-cream); font-weight: 600; }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(247, 230, 196, 0.65);
}
.footer-feedback { color: rgba(247, 230, 196, 0.65); text-decoration: underline; text-underline-offset: 3px; }
.footer-feedback:hover { color: var(--mustard); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ============ Floating WhatsApp ============ */
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #06210F;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(36, 19, 9, 0.35);
}
.floating-wa::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============ Cart drawer ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 19, 9, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 110;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: var(--paper);
  color: var(--cocoa);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cart-drawer-head h2 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 18px; }
.cart-close { width: 32px; height: 32px; font-size: 16px; }
.cart-empty { color: var(--cocoa-dim); font-size: 14px; padding: 24px 0; text-align: center; }
.cart-lines { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cart-line-name { font-size: 13.5px; font-weight: 600; }
.cart-line-price { font-size: 12px; color: var(--cocoa-dim); }
.cart-line-qty { display: flex; align-items: center; gap: 8px; grid-column: 1; }
.qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-btn:hover { border-color: var(--maroon); }
.qty-value { font-family: var(--font-mono); font-weight: 700; min-width: 16px; text-align: center; }
.cart-line-total { grid-column: 2; grid-row: 1 / 3; font-family: var(--font-mono); font-weight: 700; color: var(--maroon); align-self: center; }

.cart-summary { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; }
.cart-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--cocoa-dim); margin-bottom: 8px; }
.cart-row-total { color: var(--cocoa); font-weight: 700; font-size: 17px; font-family: var(--font-mono); }
.cart-send { width: 100%; margin-top: 12px; }

body.cart-open { overflow: hidden; }

/* ============ Motion / a11y ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .floating-wa::before { animation: none; display: none; }
  .btn, .btn:hover, .btn:active, .btn-add-pulse { transition: none; animation: none; transform: none; }
  .gallery-item { transition: none; }
}
