/* ==========================================================================
   EMBER & OAK — LUXURY MODERN FIRE KITCHEN
   PRODUCTION FRONTEND STYLESHEET
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM & CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-obsidian: #0A0A0B;
  --bg-card: #131215;
  --bg-card-hover: #1A191E;
  --bg-elevated: #1F1E24;
  --bg-glass: rgba(19, 18, 21, 0.85);

  /* Gold & Ember Accents */
  --gold-primary: #D4AF37;
  --gold-hover: #E5BF45;
  --gold-dark: #A68620;
  --gold-light: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.18);

  --ember-orange: #E05A10;
  --ember-glow: 0 0 30px rgba(224, 90, 16, 0.25);

  /* Typography Colors */
  --text-main: #F7F4EE;
  --text-muted: #A39E93;
  --text-subtle: #757168;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(212, 175, 55, 0.25);

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cinzel', serif;

  /* Transitions & Shadows */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.7);

  /* Layout */
  --header-height: 90px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-obsidian);
}

::selection {
  background-color: var(--gold-primary);
  color: var(--bg-obsidian);
}

/* Focus outline for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 4px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}

.section-header {
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-top: 16px;
  font-weight: 300;
}

.text-center {
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Dividers */
.gold-divider {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  margin-top: 24px;
  margin-bottom: 24px;
}

.gold-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* Grids */
.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.align-center {
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), #B89327);
  color: var(--bg-obsidian);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-hover), var(--gold-primary));
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--gold-border);
  color: var(--text-main);
  background: rgba(19, 18, 21, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  background: var(--gold-light);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 20px 44px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
  height: 76px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 8px rgba(224, 90, 16, 0.4));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-icon {
  transform: scale(1.1) rotate(5deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-main);
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-accent);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--gold-primary);
  margin-top: 3px;
}

/* Nav Desktop */
.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--gold-primary);
  transition: width var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  z-index: 1100;
}

.mobile-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all var(--transition-fast);
}

.mobile-toggle.active .bar-1 {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active .bar-2 {
  opacity: 0;
}

.mobile-toggle.active .bar-3 {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Slide Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1050;
  visibility: hidden;
  transition: visibility var(--transition-smooth);
}

.mobile-drawer.open {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--gold-border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open .drawer-content {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  font-size: 2.5rem;
  color: var(--text-muted);
  line-height: 1;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--text-main);
}

.drawer-link:hover {
  color: var(--gold-primary);
  padding-left: 8px;
}

.drawer-info {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.drawer-info span {
  color: var(--gold-primary);
  font-family: var(--font-accent);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s infinite alternate cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at center, rgba(10, 10, 11, 0.3) 0%, rgba(10, 10, 11, 0.85) 75%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.7) 0%, rgba(10, 10, 11, 0.3) 50%, var(--bg-obsidian) 100%);
}

.ember-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold-primary);
}

.eyebrow-text {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.25rem, 8vw, 6.25rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-main);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.title-italic {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 660px;
  margin: 0 auto 44px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  z-index: 3;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: var(--gold-primary);
}

.scroll-text {
  font-family: var(--font-accent);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

.scroll-chevron {
  animation: chevronBounce 2s infinite;
}

@keyframes chevronBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

/* --------------------------------------------------------------------------
   6. STORY SECTION
   -------------------------------------------------------------------------- */
.story-section {
  background-color: var(--bg-obsidian);
}

.story-grid {
  align-items: center;
  gap: 64px;
}

.story-image-wrap {
  position: relative;
}

.image-frame-gold {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--gold-border);
  z-index: 1;
  pointer-events: none;
}

.story-img-main {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-img-main img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-image-wrap:hover .story-img-main img {
  transform: scale(1.04);
}

.story-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  z-index: 3;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.badge-year {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.badge-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.story-floating-card {
  position: absolute;
  bottom: -24px;
  right: -20px;
  z-index: 3;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}

.card-text strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.card-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.story-lead {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 20px;
}

.story-body {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 300;
}

.story-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.pillar-num {
  font-family: var(--font-accent);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.pillar-info h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.chef-quote {
  padding: 24px 28px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
}

.chef-quote p {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 8px;
}

.chef-quote cite {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  font-style: normal;
}

/* --------------------------------------------------------------------------
   7. SIGNATURE DISHES
   -------------------------------------------------------------------------- */
.signature-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sig-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.sig-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-8px);
  box-shadow: var(--shadow-card), var(--gold-glow);
}

.sig-image-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.sig-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sig-card:hover .sig-image-wrap img {
  transform: scale(1.08);
}

.sig-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
}

.sig-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.sig-card:hover .sig-overlay {
  opacity: 1;
}

.sig-content {
  padding: 24px;
}

.sig-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sig-cat {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
}

.sig-badge {
  font-size: 0.625rem;
  background: var(--gold-light);
  color: var(--gold-primary);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--gold-border);
}

.sig-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.25;
}

.sig-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sig-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.6875rem;
  color: var(--text-subtle);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   8. MENU EXPERIENCE
   -------------------------------------------------------------------------- */
.menu-section {
  background-color: var(--bg-obsidian);
}

.menu-tabs-wrap {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}

.menu-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-tab {
  padding: 10px 24px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.menu-tab:hover {
  color: var(--text-main);
}

.menu-tab.active {
  background: linear-gradient(135deg, var(--gold-primary), #B89327);
  color: var(--bg-obsidian);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

/* Menu Items List Grid */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  margin-bottom: 64px;
}

.menu-item-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  gap: 20px;
}

.menu-item-card:hover {
  border-color: var(--gold-border);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.menu-item-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-info {
  flex-grow: 1;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  border-bottom: 1px stroke var(--border-subtle);
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-main);
}

.menu-item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted var(--border-gold);
  margin: 0 12px;
  opacity: 0.5;
}

.menu-item-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.menu-item-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.menu-item-footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 40px;
}

.dietary-note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 24px;
}

.menu-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. RESTAURANT EXPERIENCE
   -------------------------------------------------------------------------- */
.exp-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.exp-grid {
  gap: 40px;
}

.exp-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: all var(--transition-smooth);
}

.exp-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}

.exp-img {
  position: relative;
  height: 100%;
  min-height: 280px;
}

.exp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exp-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 4px;
}

.exp-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exp-content h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.exp-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-list li {
  font-size: 0.8125rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-list li::before {
  content: '✦';
  color: var(--gold-primary);
  font-size: 0.65rem;
}

/* --------------------------------------------------------------------------
   10. MEDIA GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-section {
  background-color: var(--bg-obsidian);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gal-filter {
  padding: 8px 20px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.gal-filter.active, .gal-filter:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 20px;
}

.gal-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gal-item:hover img {
  transform: scale(1.08);
}

.gal-tall {
  grid-row: span 2;
}

.gal-wide {
  grid-column: span 2;
}

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 11, 0.95) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gal-item:hover .gal-overlay {
  opacity: 1;
}

.gal-cat-name {
  font-family: var(--font-accent);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.gal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
}

.gal-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Lightbox Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: var(--text-main);
  z-index: 2020;
  transition: color var(--transition-fast);
}

.modal-close:hover {
  color: var(--gold-primary);
}

.lightbox-container {
  position: relative;
  z-index: 2010;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  text-align: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 2020;
}

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-nav:hover {
  background: var(--gold-primary);
  color: var(--bg-obsidian);
}

/* Dish Quick View Modal */
.dish-modal-content {
  position: relative;
  z-index: 2010;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  max-width: 800px;
  width: 90%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dish-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dish-modal-img-wrap {
  height: 100%;
  min-height: 380px;
}

.dish-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-modal-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.modal-dish-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  margin: 6px 0;
}

.modal-dish-price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 16px;
}

.modal-dish-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dish-details-block {
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.dish-details-block h5 {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 4px;
}

.dish-details-block p {
  font-size: 0.875rem;
  color: var(--text-main);
}

.modal-reserve-cta {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   11. TESTIMONIALS
   -------------------------------------------------------------------------- */
.test-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.test-card {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  transition: all var(--transition-fast);
}

.test-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
}

.test-quote-icon {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold-primary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 24px;
  line-height: 1;
}

.test-stars {
  color: var(--gold-primary);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.test-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
}

.test-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.test-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. RESERVATIONS
   -------------------------------------------------------------------------- */
.res-section {
  background-color: var(--bg-obsidian);
}

.res-info {
  padding-right: 32px;
}

.res-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  font-weight: 300;
}

.res-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.res-detail-item {
  display: flex;
  gap: 16px;
}

.detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.res-detail-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-main);
  margin-bottom: 2px;
}

.res-detail-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.res-form-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg), var(--gold-glow);
  position: relative;
}

.form-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.form-input option {
  background: var(--bg-card);
  color: var(--text-main);
}

.error-msg {
  display: none;
  font-size: 0.75rem;
  color: #FF5A5A;
  margin-top: 4px;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-group.has-error .form-input {
  border-color: #FF5A5A;
}

/* Success State Card */
.res-success-card {
  text-align: center;
  padding: 32px 16px;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--gold-glow);
}

.success-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.success-subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.success-summary {
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.sum-row:last-child {
  border-bottom: none;
}

.sum-row span {
  color: var(--text-muted);
}

.sum-row strong {
  color: var(--gold-primary);
}

.success-notice {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. LOCATION, CONTACT & MAP
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.contact-grid {
  gap: 48px;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-block h4 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.contact-block p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-block a {
  color: var(--gold-primary);
}

.hours-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.875rem;
}

.closed-tag {
  color: var(--ember-orange);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: var(--text-main);
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* Custom Styled Vector Map Placeholder */
.contact-map-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-placeholder {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
}

.map-svg-bg {
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.6));
  animation: pinFloat 3s ease-in-out infinite alternate;
}

@keyframes pinFloat {
  0% { transform: translate(-50%, -100%); }
  100% { transform: translate(-50%, -115%); }
}

.map-card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-card-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--text-main);
}

.map-card-badge span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.map-directions-btn {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.map-directions-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-obsidian);
}

.valet-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-obsidian);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #060607;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  gap: 40px;
  margin-bottom: 60px;
}

.footer-manifesto {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 16px 0 24px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.footer-socials a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-col p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-col p span {
  color: var(--text-main);
}

.newsletter-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.newsletter-form .input-wrap {
  display: flex;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 12px 16px;
  font-size: 0.8125rem;
  background: var(--bg-obsidian);
  color: var(--text-main);
}

.newsletter-form button {
  padding: 0 20px;
  background: var(--gold-primary);
  color: var(--bg-obsidian);
  font-weight: bold;
  transition: background var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--gold-hover);
}

.news-feedback {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-primary);
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a:hover {
  color: var(--text-main);
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-card);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-primary);
  color: var(--bg-obsidian);
}

/* --------------------------------------------------------------------------
   15. ANIMATIONS & REVEAL EFFECTS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .exp-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gal-wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .nav-desktop, .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .story-grid {
    gap: 40px;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
  }

  .menu-item-card {
    flex-direction: column;
  }

  .menu-item-img {
    width: 100%;
    height: 160px;
  }

  .res-wrapper {
    grid-template-columns: 1fr;
  }

  .res-info {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .res-form-card {
    padding: 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gal-tall {
    grid-row: span 1;
  }

  .dish-modal-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  /* Fix (Phase 2): the dish quick-view modal's new Add to Cart controls make
     the modal taller than some phone screens. Without this, body scroll is
     locked while a modal is open and .dish-modal-content clips overflow, so
     content past the fold (including Add to Cart) would be unreachable. */
  .modal {
    align-items: flex-start;
    overflow-y: auto;
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .sig-price {
    font-size: 1rem;
    padding: 4px 10px;
  }
}

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   CMS-DRIVEN ADDITIVE STYLES
   These rules only affect elements that render when an admin fills in an
   optional field (signature-experience button, testimonial avatar, server-
   side form error). They are invisible/no-op on the default seeded content,
   so the original design is unchanged unless the admin opts in.
   ========================================================================== */

.exp-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-primary);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.exp-link:hover {
  color: var(--gold-hover);
  border-color: var(--gold-primary);
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-border);
  margin: 0 auto 12px;
  display: block;
}

.form-server-error {
  display: none;
  text-align: center;
  font-size: 0.8125rem;
  color: #FF5A5A;
  background: rgba(255, 90, 90, 0.08);
  border: 1px solid rgba(255, 90, 90, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 16px;
}

.form-server-error.visible {
  display: block;
}

.news-feedback.is-error {
  color: #FF5A5A;
}

/* ==========================================================================
   PHASE 2 — ONLINE ORDERING (CART / CHECKOUT / CONFIRMATION / LOOKUP)
   Additive only: existing selectors above are untouched. Reuses the same
   design tokens, .btn/.form-input classes and card treatment as the rest
   of the site so these new pages read as part of the same product.
   ========================================================================== */

/* ---- Header cart icon ---- */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.cart-link:hover {
  color: var(--gold-primary);
}

.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--gold-primary);
  color: var(--bg-obsidian);
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.drawer-link .cart-count-badge {
  position: static;
  display: inline-flex;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---- Menu card / dish modal add-to-cart controls ---- */
.menu-item-footer {
  flex-wrap: wrap;
  row-gap: 10px;
}

.menu-item-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.add-cart-btn.is-added {
  background: linear-gradient(135deg, #3ECF8E, #1E9E6B) !important;
  color: #08150F !important;
  box-shadow: none !important;
}

.ordering-disabled-note {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.modal-cart-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.modal-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  flex-shrink: 0;
}

.modal-qty-stepper input {
  width: 30px;
  text-align: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}

.modal-qty-stepper input:focus {
  outline: none;
}

.modal-cart-controls .add-cart-btn {
  flex-grow: 1;
}

/* ---- Shared quantity stepper (cart page + checkout summary) ---- */
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ---- Secondary page shell (cart / checkout / confirmation / lookup) ---- */
.order-page-wrap {
  padding: calc(var(--header-height) + 60px) 0 100px;
  min-height: 60vh;
}

.order-page-title {
  text-align: center;
  margin-bottom: 48px;
}

.order-page-title .section-eyebrow {
  display: block;
  margin-bottom: 12px;
}

.order-page-title h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-main);
  font-weight: 600;
}

.order-page-title p {
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---- Cart page ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.cart-row-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.cart-row-name {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--text-main);
}

.cart-row-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-row-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-val {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}

.cart-row-subtotal {
  font-family: var(--font-accent);
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.cart-row-remove {
  background: transparent;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 6px;
  transition: color var(--transition-fast);
}

.cart-row-remove:hover {
  color: #FF5A5A;
}

.cart-summary-card,
.checkout-summary-card,
.order-lookup-card,
.checkout-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
}

.cart-summary-card {
  position: sticky;
  top: 110px;
}

.cart-summary-card h3,
.checkout-summary-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 18px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cart-summary-row span:last-child {
  color: var(--text-main);
}

.cart-summary-row.total {
  border-top: 1px solid var(--border-subtle);
  margin-top: 10px;
  padding-top: 16px;
  font-family: var(--font-accent);
  font-size: 1.0625rem;
}

.cart-summary-row.total span {
  color: var(--gold-primary) !important;
}

.cart-summary-note {
  font-size: 0.75rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.cart-empty-state,
.checkout-empty-notice {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.cart-empty-state h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.cart-stale-notice {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ---- Checkout page ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.checkout-summary-card {
  position: sticky;
  top: 110px;
}

.order-type-choice {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.order-type-option {
  flex: 1;
  position: relative;
}

.order-type-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.order-type-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-type-option input:checked + label {
  border-color: var(--gold-primary);
  background: var(--gold-light);
  color: var(--gold-primary);
}

.order-type-option input:focus-visible + label {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

#delivery-fields {
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
  padding-top: 20px;
}

.checkout-summary-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.checkout-summary-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-subtle);
}

.checkout-summary-qty {
  color: var(--gold-primary);
  font-weight: 600;
  min-width: 26px;
}

.checkout-summary-name {
  flex-grow: 1;
  color: var(--text-main);
}

.checkout-summary-price {
  color: var(--text-muted);
  white-space: nowrap;
}

.checkout-totals {
  margin-top: 16px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.checkout-total-row span:last-child {
  color: var(--text-main);
}

.checkout-total-row.grand {
  font-family: var(--font-accent);
  font-size: 1.0625rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 8px;
  padding-top: 14px;
}

.checkout-total-row.grand span {
  color: var(--gold-primary) !important;
}

/* ---- Order confirmation / order lookup ---- */
.order-summary-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.order-summary-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.order-number-label {
  font-family: var(--font-accent);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.order-number-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--gold-primary);
}

.order-totals,
.order-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.order-detail-row span:last-child {
  color: var(--text-main);
  text-align: right;
}

.order-grand-total {
  font-family: var(--font-accent);
  font-size: 1.0625rem;
}

.order-grand-total span {
  color: var(--gold-primary) !important;
}

.order-status-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--gold-light);
  color: var(--gold-primary) !important;
  font-size: 0.75rem;
  font-weight: 600;
}

.confirmation-actions,
.lookup-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.order-lookup-card {
  max-width: 480px;
  margin: 0 auto;
}

.order-lookup-layout {
  grid-template-columns: 1fr !important;
  max-width: 560px;
  margin: 0 auto;
}

#order-lookup-result {
  margin-top: 32px;
}

#order-lookup-result:empty {
  margin-top: 0;
}

/* ---- Phase 2 responsive ---- */
@media (max-width: 1024px) {
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card,
  .checkout-summary-card {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
  }

  .cart-row-img {
    flex: 0 0 52px;
  }

  .cart-row-img img {
    width: 52px;
    height: 52px;
  }

  .cart-row-info {
    flex: 1 1 140px;
    min-width: 140px;
  }

  .cart-row-qty {
    order: 3;
  }

  .cart-row-subtotal {
    order: 4;
    margin-left: auto;
  }

  .cart-row-remove {
    order: 5;
  }

  .order-type-choice {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .order-page-wrap {
    padding: calc(var(--header-height) + 40px) 0 70px;
  }

  .cart-summary-card,
  .checkout-summary-card,
  .checkout-form-card,
  .order-summary-card,
  .order-lookup-card {
    padding: 20px;
  }
}

/* ==========================================================================
   PHASE 3 — PAYMENT METHOD SELECTION (checkout) + payment status display
   ========================================================================== */

.payment-method-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-method-option {
  position: relative;
}

.payment-method-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.payment-method-option label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 44px;
  justify-content: center;
}

.payment-method-option .pm-name {
  font-family: var(--font-accent);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--text-main);
}

.payment-method-option .pm-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.payment-method-option input:checked + label {
  border-color: var(--gold-primary);
  background: var(--gold-light);
}

.payment-method-option input:checked + label .pm-name {
  color: var(--gold-primary);
}

.payment-method-option input:focus-visible + label {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* Order confirmation / lookup: payment status block */
.payment-status-card {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.payment-status-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.payment-status-pill.status-paid { background: rgba(46, 160, 90, 0.16); color: #4ec97e; }
.payment-status-pill.status-pending, .payment-status-pill.status-awaiting_confirmation { background: var(--gold-light); color: var(--gold-primary); }
.payment-status-pill.status-failed { background: rgba(220, 70, 70, 0.16); color: #f07272; }
.payment-status-pill.status-refunded { background: rgba(139, 143, 163, 0.2); color: #b5b8c6; }

.payment-retry-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.payment-retry-note .btn { margin-top: 12px; }

.whatsapp-order-note {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gold-border);
  background: var(--gold-light);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-main);
}
