/* ===========================================================
   LORENZZA — Trattoria Artesanal Italiana
   Palette: Pergamena / Inchiostro / Oro Antico / Vino / Oliva
   =========================================================== */

:root {
  --header-h: 75px;
  --bg: #F6EFDD;
  --surface: #FBF7EC;
  --ink: #1C1712;
  --ink-soft: #3A322A;
  --gold: #B7913A;
  --gold-deep: #8C6B24;
  --gold-light: #D9BE7C;
  --wine: #6E1B26;
  --wine-deep: #521219;
  --olive: #6B7052;
  --line: rgba(28, 23, 18, 0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Work Sans', -apple-system, sans-serif;

  --max-width: 1180px;
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--wine);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1rem;
}
.eyebrow-dark { color: var(--gold-deep); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary {
  background: var(--wine);
  color: #F6EFDD;
  border-color: var(--wine);
}
.btn-primary:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--gold-light);
  border-color: rgba(217, 190, 124, 0.5);
}
.btn-ghost:hover {
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.about .btn-ghost, .locations .btn-ghost {
  color: var(--wine);
  border-color: var(--wine);
}

/* ===================== SCROLL REVEAL ===================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.14s; }
.reveal-delay-2 { transition-delay: 0.24s; }

/* ===================== HEADER ===================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.scrolled {
  background: rgba(28, 23, 18, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}
.brand-mark { display: flex; align-items: center; }
.brand-logo {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.main-nav {
  display: none;
  gap: 2.2rem;
}
.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.main-nav a:hover { border-color: var(--gold-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
/* .lang-toggle trae "margin: 1.6rem auto 0" de cuando vivía centrado debajo
   del hero/menu-header — acá va en línea con el nav, sin ese margen. */
.header-actions .lang-toggle { margin: 0; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--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); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: rgba(28, 23, 18, 0.98);
  display: flex;
  flex-direction: column;
  transition: max-height 0.35s var(--ease);
}
.mobile-nav.open { max-height: 300px; }
.mobile-nav a {
  padding: 1rem 1.5rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-top: 1px solid rgba(217,190,124,0.15);
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 7rem 1.25rem 4rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 15%, rgba(183,145,58,0.16), transparent 45%),
    radial-gradient(circle at 82% 85%, rgba(110,27,38,0.28), transparent 50%),
    linear-gradient(180deg, rgba(18,14,10,0.72) 0%, rgba(18,14,10,0.6) 45%, rgba(18,14,10,0.85) 100%);
}

.video-toggle {
  position: absolute;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18,14,10,0.5);
  border: 1px solid rgba(217,190,124,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.video-toggle:hover { border-color: var(--gold-light); background: rgba(18,14,10,0.75); }
.video-toggle svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-light);
}
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }

.hero-lang-toggle {
  position: absolute;
  top: calc(var(--header-h) + 1rem);
  right: 1.5rem;
  z-index: 3;
  margin: 0;
  background: rgba(18,14,10,0.5);
  backdrop-filter: blur(2px);
}

.hero-frame {
  position: absolute;
  inset: clamp(0.9rem, 2.4vw, 2rem);
  pointer-events: none;
  z-index: 2;
}
.frame-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.frame-rect {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.12;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: draw-frame 2.4s var(--ease) 0.3s forwards;
}
@keyframes draw-frame {
  to { stroke-dashoffset: 0; }
}
.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: corner-fade 0.6s var(--ease) 2.4s forwards;
}
.corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
@keyframes corner-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .frame-rect { stroke-dashoffset: 0; animation: none; }
  .corner { opacity: 1; animation: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 108px;
  height: 108px;
  object-fit: contain;
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
  border-radius: 50%;
  background: var(--bg);
  padding: 8px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1.3rem;
  color: #FBF7EC;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(246, 239, 221, 0.78);
  max-width: 520px;
  margin: 0 0 2.3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
  background: rgba(217,190,124,0.4);
  overflow: hidden;
}
.scroll-cue span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--gold-light);
  animation: cue-move 2s ease-in-out infinite;
}
@keyframes cue-move {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* ===================== ABOUT ===================== */

.about {
  scroll-margin-top: var(--header-h);
  padding: 6.5rem 1.5rem;
  background: var(--bg);
}
.about-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  color: var(--ink-soft);
  max-width: 52ch;
}
.about-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.stat { border-left: 2px solid var(--gold); padding-left: 0.9rem; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--wine);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.about-visual { display: flex; justify-content: center; }
.visual-frame {
  position: relative;
  width: min(340px, 80vw);
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.visual-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.visual-rabbit {
  width: 70%;
  opacity: 0.92;
}

@media (min-width: 900px) {
  .about-inner { grid-template-columns: 1.15fr 0.85fr; }
}

/* ===================== MENU TEASER (home) ===================== */

.menu-teaser {
  scroll-margin-top: var(--header-h);
  padding: 6rem 1.5rem 6.5rem;
  background: var(--bg);
}
.menu-teaser-head {
  max-width: var(--max-width);
  margin: 0 auto 2.6rem;
  text-align: center;
}
.menu-teaser-lede {
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto;
}

.menu-teaser-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (min-width: 780px) {
  .menu-teaser-grid { grid-template-columns: repeat(4, 1fr); }
}

.dish-card {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--ink);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.dish-card:hover, .dish-card:focus-visible { transform: translateY(-4px); border-color: var(--gold); }

.dish-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(28, 23, 18, 0.05);
}
.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s var(--ease), transform 0.9s var(--ease);
}
.dish-card__media img.is-loaded { opacity: 1; }
.dish-card:hover .dish-card__media img.is-loaded { transform: scale(1.06); }

.dish-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold-deep);
  text-align: center;
  padding: 0.5rem;
}
.dish-card__placeholder svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.dish-card__placeholder span { font-size: 0.66rem; letter-spacing: 0.02em; color: var(--ink-soft); }

.dish-card__tag {
  padding: 0.85rem 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-top: 1px solid var(--line);
  text-align: center;
}

.menu-teaser-foot {
  max-width: var(--max-width);
  margin: 2.8rem auto 0;
  display: flex;
  justify-content: center;
}

/* ===================== MENU ===================== */

.menu-section {
  scroll-margin-top: var(--header-h);
  padding: 6.5rem 1.5rem 5rem;
  background: var(--bg);
  color: var(--ink);
  position: relative;
}
.menu-header {
  max-width: var(--max-width);
  margin: 0 auto 2.6rem;
  text-align: center;
}
.menu-intro {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
}

.menu-search { margin: 1.6rem auto 0; position: relative; max-width: 420px; }
.menu-search svg { position: absolute; left: 1.1em; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-soft); pointer-events: none; }
.menu-search input {
  width: 100%;
  padding: 0.85em 1em 0.85em 2.75em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  min-height: 44px;
}
.menu-search input:focus-visible { outline: none; border-color: var(--wine); }
.menu-search input::placeholder { color: var(--ink-soft); }

/* Base (fondo oscuro): usado por .hero-lang-toggle en index.html */
.lang-toggle {
  display: inline-flex;
  gap: 0.2rem;
  margin: 1.6rem auto 0;
  padding: 0.25rem;
  background: rgba(246,239,221,0.06);
  border: 1px solid rgba(217,190,124,0.3);
  border-radius: 999px;
}
.lang-btn {
  padding: 0.4rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  /* Opaco (no rgba pálido) porque el header es transparente y vive tanto
     sobre el video oscuro del hero como directamente sobre el fondo claro
     de menu.html/reservas.html — el mismo tono que ya usa .main-nav a,
     que funciona en ambos casos. */
  color: var(--gold-light);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-btn:hover { color: var(--gold); }
.lang-btn.active {
  background: var(--gold);
  color: var(--ink);
}

/* Override (fondo claro): menu.html y reservas.html, ambos dentro de .menu-section */
.menu-section .lang-toggle {
  display: inline-flex;
  gap: 0.2rem;
  margin: 1.6rem auto 0;
  padding: 0.25rem;
  background: rgba(28,23,18,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.menu-section .lang-btn {
  padding: 0.4rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.menu-section .lang-btn:hover { color: var(--ink); }
.menu-section .lang-btn.active {
  background: var(--gold);
  color: var(--ink);
}

.menu-tabs-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: rgba(246,239,221,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0 0.8rem;
  margin-bottom: 2rem;
}
.menu-tabs {
  display: inline-flex;
  max-width: var(--max-width);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}

.menu-tab {
  flex: 0 0 auto;
  padding: 0.6rem 1.3rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.menu-tab:hover { color: var(--ink); }
.menu-tab.active {
  background: var(--wine);
  color: var(--bg);
}

.menu-quicknav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-top: 0.8rem;
}
.menu-quicknav::-webkit-scrollbar { display: none; }
.menu-quicknav a {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.menu-quicknav a:hover, .menu-quicknav a.is-active {
  border-color: var(--wine);
  color: var(--wine);
}

.menu-panels { max-width: var(--max-width); margin: 0 auto; }
.menu-panel { display: none; }
.menu-panel.active {
  display: block;
  animation: panel-in 0.45s var(--ease);
}

.menu-category { padding-block: 2.4rem; border-bottom: 1px solid var(--line); scroll-margin-top: 220px; }
.menu-category:last-child { border-bottom: none; }
.menu-category__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.menu-category__title { font-size: 1.5rem; color: var(--ink); }
.menu-category__count {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.menu-empty { text-align: center; padding-block: 3.5rem; color: var(--ink-soft); display: none; max-width: var(--max-width); margin: 0 auto; }
.menu-empty.is-visible { display: block; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 780px) {
  .dish-grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}

.dish-row {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.dish-row:hover, .dish-row:focus-visible {
  background: rgba(28,23,18,0.03);
  outline: none;
}
.dish-info { min-width: 0; }

.dish-qty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--bg);
  background: var(--wine);
  border-radius: 999px;
}
.dish-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.dish-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}
.house-tag {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine-deep);
  background: var(--gold-light);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.dish-leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  margin: 0 0.4rem;
  transform: translateY(-4px);
}
.dish-price-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.dish-price {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold-deep);
  white-space: nowrap;
}
.dish-quickadd {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: none;
  background: var(--wine);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.dish-quickadd svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.dish-quickadd:hover { background: var(--wine-deep); }
.dish-quickadd:active { transform: scale(0.88); }
.dish-quickadd.is-added { background: var(--gold-deep); }
.dish-desc {
  margin: 0.3rem 0 0;
  font-size: 0.87rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.dish-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--gold-deep);
  font-style: italic;
}

/* Spirits layout */
.spirit-group { margin-bottom: 2.4rem; }
.spirit-group-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--wine);
  margin: 0 0 0.3rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.spirit-group-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0 0 0.8rem;
  font-style: italic;
}
.spirit-table { width: 100%; border-collapse: collapse; }
.spirit-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 0;
}
.spirit-table th:not(:first-child), .spirit-table td:not(:first-child) {
  text-align: right;
  width: 90px;
}
.spirit-table td {
  padding: 0.55rem 0.5rem 0.55rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.spirit-table td:first-child { color: var(--ink); font-weight: 500; }
.spirit-table td:not(:first-child) { color: var(--gold-deep); font-variant-numeric: tabular-nums; }

/* ===================== LOCATIONS ===================== */

.locations {
  scroll-margin-top: var(--header-h);
  padding: 6.5rem 1.5rem;
  background: var(--bg);
}
.locations .menu-header .section-title { color: var(--ink); }
.locations-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}
@media (min-width: 780px) {
  .locations-grid { grid-template-columns: 1fr 1fr; }
}

.location-card {
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 2.2rem;
  position: relative;
}
.location-card::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.location-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.location-address {
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}
.location-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.location-hours li {
  padding: 0.3rem 0;
  border-top: 1px dashed var(--line);
}
.location-hours li:first-child { border-top: none; }

.location-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.6rem;
  border: 1px solid var(--line);
  overflow: hidden;
  filter: grayscale(0.35) contrast(1.05);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.location-hours-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.location-actions .btn { flex: 1 1 auto; text-align: center; }

/* ===================== CONTACT CTA ===================== */

.contact-cta {
  background: var(--wine);
  color: var(--bg);
  padding: 5.5rem 1.5rem;
  text-align: center;
}
.contact-inner { max-width: 560px; margin: 0 auto; }
.contact-cta .eyebrow { color: var(--gold-light); }
.contact-title { color: var(--bg); }
.contact-copy { color: rgba(246,239,221,0.8); margin-bottom: 2rem; }
.contact-cta .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.contact-cta .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ===================== FOOTER ===================== */

.site-footer {
  background: var(--ink);
  color: rgba(246,239,221,0.6);
  padding: 3rem 1.5rem 2.2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
}
.footer-logo {
  height: 52px;
  width: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--bg);
  padding: 4px;
}
.footer-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ===================== CART ===================== */

body.no-scroll { overflow: hidden; }

.cart-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 300;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: 1px solid var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.cart-fab:hover { background: var(--gold-light); transform: translateY(-2px); }
.cart-fab svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cart-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: #F6EFDD;
  background: var(--wine-deep);
  border: 2px solid var(--bg);
  border-radius: 999px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: rgba(18,14,10,0.55);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: 100%;
  max-width: 400px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -12px 0 40px rgba(0,0,0,0.3);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.modal-close:hover { border-color: var(--wine); color: var(--wine); }

.cart-scroll {
  flex: 1;
  overflow-y: auto;
}
.cart-items {
  padding: 0.5rem 1.5rem;
}
.cart-checkout-fields {
  margin: 0 1.5rem 1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.cart-checkout-fields[hidden] { display: none; }
.cart-checkout-fields .field:last-child { margin-bottom: 0; }
.cart-empty {
  color: var(--ink-soft);
  padding: 2rem 0;
  text-align: center;
}
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.3rem; }
.cart-item-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; }
.cart-item-price { font-size: 0.8rem; color: var(--ink-soft); }
.cart-item-note { font-size: 0.78rem; color: var(--gold-deep); font-style: italic; }
.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.2rem;
}
.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty button:hover { background: var(--gold-light); }
.cart-item-qty span { min-width: 1.2rem; text-align: center; font-weight: 600; }
.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
}
.cart-item-remove:hover { color: var(--wine); }

.cart-footer {
  padding: 1.2rem 1.5rem 1.6rem;
  border-top: 1px solid var(--line);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.cart-total-value { color: var(--wine); font-weight: 600; }
.cart-send-prompt {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0 0 0.7rem;
}
.cart-send-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.cart-send-btn { width: 100%; }
.cart-clear-btn {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.3rem 0;
}
.cart-clear-btn:hover { color: var(--wine); }

/* ===================== ITEM DETAIL MODAL ===================== */

.item-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(18,14,10,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
}
.item-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
}
.item-modal .modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 1;
  background: var(--surface);
}

.item-modal-body { padding: 1.8rem 1.6rem 1.7rem; }
.modal-category {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.item-modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  max-width: 85%;
  margin: 0.2rem 0 0.5rem;
}
.item-modal-body p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 0.6rem;
}
.item-modal-field { margin-top: 1.1rem; }
.item-modal-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.item-modal-field textarea {
  width: 100%;
  padding: 0.7em 0.9em;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 56px;
}
.item-modal-field textarea:focus-visible { outline: none; border-color: var(--gold); }
.item-modal-field textarea::placeholder { color: var(--ink-soft); opacity: 0.75; }

.item-modal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.item-modal-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}
.item-modal-qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold-deep);
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.item-modal-qty button:hover { background: var(--gold-light); }
.item-modal-qty span { min-width: 1.2rem; text-align: center; font-weight: 600; }
.item-modal-add { flex: 1 1 auto; }
.item-modal-add:disabled { opacity: 0.7; cursor: default; }

@media (min-width: 480px) {
  .cart-send-buttons { flex-direction: row; }
}
.footer-copy { font-size: 0.78rem; margin: 0; }
