/* ============================================
   KAISEKI — Ultra-Luxury Sushi Restaurant
   Design System & Styles
   ============================================ */

/* === CUSTOM PROPERTIES === */
:root {
  --black: #000000;
  --charcoal: #080808;
  --charcoal-light: #151515;
  --gold: #CC2222;
  --champagne: #ffffff;
  --gold-dim: rgba(204, 34, 34, 0.15);
  --gold-glow: rgba(204, 34, 34, 0.08);
  --offwhite: #f5f0e8;
  --text-muted: rgba(245, 240, 232, 0.6);
  --text-dim: rgba(245, 240, 232, 0.3);
  --heading: 'Shippori Mincho', 'Noto Serif JP', serif;
  --body: 'Cormorant Garamond', serif;
  --detail: 'Inter', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

html, body {
  width: 100%;
  max-width: 100%;
}

body {
  background: var(--black);
  color: var(--offwhite);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: clip;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

body.ov-hidden {
  overflow: hidden !important;
}

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

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

/* === GRAIN NOISE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 100 100'%3E%3Cpath d='M50 50c-27.614 0-50 22.386-50 50h10c0-22.091 17.909-40 40-40s40 17.909 40 40h10c0-27.614-22.386-50-50-50zM50 30c-38.66 0-70 31.34-70 70h10c0-33.137 26.863-60 60-60s60 26.863 60 60h10c0-38.66-31.34-70-70-70zM50 10c-49.706 0-90 40.294-90 90h10c0-44.183 35.817-80 80-80s80 35.817 80 80h10c0-49.706-40.294-90-90-90z' fill='%23CC2222' fill-opacity='1'/%3E%3C/svg%3E");
  background-size: 80px;
}

/* === AMBIENT GLOW === */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: -2;
  pointer-events: none;
  background: 
    radial-gradient(circle at 30% 70%, rgba(204, 34, 34, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(204, 34, 34, 0.04) 0%, transparent 40%);
  animation: ambientDrift 25s infinite alternate ease-in-out;
}

@keyframes ambientDrift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(15deg) scale(1.1); }
}

/* === CUSTOM CURSOR === */
.cursor {
  position: fixed;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--champagne);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.25s var(--ease-out-expo), opacity 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0;
  mix-blend-mode: difference;
}

.cursor.visible {
  opacity: 1;
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(2.8);
  background: rgba(230, 36, 41, 0.12);
  border-color: var(--champagne);
}

/* === LOADING SCREEN === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  pointer-events: all;
  transition: visibility 1.2s;
}

.loader-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transition: transform 2.2s cubic-bezier(0.7, 0, 0.15, 1);
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
}

/* === Top decorative panel (Kamoi 鴨居) === */
.door-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12%;
  background:
    linear-gradient(180deg, #0c0805 0%, #120d08 60%, #0a0604 100%);
  border-bottom: 2px solid rgba(204, 34, 34, 0.12);
  box-shadow:
    inset 0 -8px 20px rgba(0,0,0,0.7),
    0 4px 15px rgba(0,0,0,0.5);
  z-index: 3;
}

/* Top panel carved line detail */
.door-top::before {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204, 34, 34, 0.1), rgba(255, 220, 180, 0.06), rgba(204, 34, 34, 0.1), transparent);
}

/* === Center emblem (Mon 紋) === */
.door-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(204, 34, 34, 0.12);
  z-index: 2;
  animation: emblemPulse 5s ease-in-out infinite alternate;
}

.door-emblem::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(204, 34, 34, 0.08);
}

.door-emblem::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(204, 34, 34, 0.2);
  box-shadow: 0 0 10px rgba(204, 34, 34, 0.15);
}

@keyframes emblemPulse {
  0% { border-color: rgba(204, 34, 34, 0.08); }
  100% { border-color: rgba(204, 34, 34, 0.18); }
}

/* === Shoji paper panel grid === */
.loader-door-left::after,
.loader-door-right::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 20%;
  left: 0;
  right: 0;
  background-image:
    /* Horizontal kumiko bars */
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 78px,
      rgba(18, 12, 6, 0.85) 78px,
      rgba(18, 12, 6, 0.85) 82px
    ),
    /* Vertical kumiko bars */
    repeating-linear-gradient(
      to right,
      transparent 0px,
      transparent 98px,
      rgba(18, 12, 6, 0.8) 98px,
      rgba(18, 12, 6, 0.8) 102px
    ),
    /* Soft paper glow in each cell */
    repeating-linear-gradient(
      to bottom,
      rgba(255, 245, 230, 0.012) 0px,
      rgba(255, 245, 230, 0.025) 40px,
      rgba(255, 245, 230, 0.012) 80px
    );
  z-index: 1;
  pointer-events: none;
}

/* === Bottom panel (Koshi 腰板) === */
.loader-door::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background:
    /* Subtle chevron woodwork pattern */
    linear-gradient(135deg, rgba(30, 20, 12, 0.35) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, rgba(30, 20, 12, 0.35) 25%, transparent 25%) -10px 0,
    linear-gradient(to bottom, #0e0a07 0%, #050302 100%);
  background-size: 20px 20px, 20px 20px, 100% 100%;
  border-top: 2px solid rgba(204, 34, 34, 0.12);
  box-shadow:
    inset 0 10px 25px rgba(0,0,0,0.85),
    inset 0 2px 4px rgba(255, 245, 230, 0.015);
  z-index: 2;
}

.loader-door-left {
  left: 0;
  border: 10px solid #0a0604;
  border-right: 5px solid #0a0604;
  box-shadow:
    inset -20px 0 50px rgba(0,0,0,0.95),
    15px 0 40px rgba(0, 0, 0, 0.8);
  transform-origin: left;
  background:
    /* Paper-like inner glow */
    radial-gradient(ellipse at 70% 50%, rgba(60, 45, 30, 0.3) 0%, transparent 70%),
    /* Base wood gradient */
    radial-gradient(ellipse at right center, #2a1c12 0%, #0c0805 100%);
}

.loader-door-right {
  right: 0;
  border: 10px solid #0a0604;
  border-left: 5px solid #0a0604;
  box-shadow:
    inset 20px 0 50px rgba(0,0,0,0.95),
    -15px 0 40px rgba(0, 0, 0, 0.8);
  transform-origin: right;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(60, 45, 30, 0.3) 0%, transparent 70%),
    radial-gradient(ellipse at left center, #2a1c12 0%, #0c0805 100%);
}

/* === Door handle — Hikite (引手) === */
.door-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 70px;
  background: linear-gradient(135deg, #1a1510, #0a0805);
  border: 1px solid rgba(204, 34, 34, 0.25);
  border-radius: 3px;
  z-index: 4;
  box-shadow:
    inset 0 0 8px rgba(204, 34, 34, 0.08),
    0 0 12px rgba(0,0,0,0.6);
}

.loader-door-left .door-handle {
  right: 22px;
  box-shadow:
    inset 0 0 8px rgba(204, 34, 34, 0.08),
    0 0 12px rgba(0,0,0,0.6),
    -2px 0 8px rgba(0,0,0,0.5);
}

.loader-door-right .door-handle {
  left: 22px;
  box-shadow:
    inset 0 0 8px rgba(204, 34, 34, 0.08),
    0 0 12px rgba(0,0,0,0.6),
    2px 0 8px rgba(0,0,0,0.5);
}

/* === Kanji watermark on the doors === */
.door-kanji {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
  font-size: clamp(6rem, 16vw, 18rem);
  color: rgba(255, 255, 255, 0.025);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.15em;
  z-index: 1;
  text-shadow:
    0 0 30px rgba(204, 34, 34, 0.04),
    0 0 60px rgba(255, 255, 255, 0.015);
  user-select: none;
  pointer-events: none;
  animation: kanjiShimmer 6s ease-in-out infinite alternate;
}

@keyframes kanjiShimmer {
  0% { color: rgba(255, 255, 255, 0.02); }
  100% { color: rgba(255, 255, 255, 0.045); }
}

/* === Door opening animation === */
.loader.active .loader-door-left {
  transform: translateX(-100%);
}

.loader.active .loader-door-right {
  transform: translateX(100%);
}

.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Content fade-out when loaded */
.loader.active .loader-content {
  opacity: 0;
  transform: scale(0.94);
}

.loader.hide {
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  height: 120px;
  object-fit: contain;
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.95) translateY(10px);
  animation: loaderLogoCinematic 4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Redesigned loader line */
.loader-ring {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-top: 2rem;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(230, 36, 41, 0.5);
  animation: loadProgress 1.6s cubic-bezier(0.8, 0, 0.2, 1) forwards;
}

@keyframes cinematicReveal {
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1) translateY(0);
  }
}

@keyframes loaderLogoCinematic {
  0% {
    opacity: 0;
    filter: blur(10px) drop-shadow(0 0 0 rgba(204, 34, 34, 0));
    transform: scale(0.9) translateY(10px);
  }
  15% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 15px rgba(204, 34, 34, 0.3));
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 0 40px rgba(204, 34, 34, 0.9));
    transform: scale(1.08) translateY(0);
  }
}

@keyframes loadProgress {
  0% { width: 0; opacity: 0; }
  20% { opacity: 1; width: 40px; }
  80% { width: 140px; opacity: 1; }
  100% { width: 200px; opacity: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* === NAVBAR === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.4rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  filter: blur(10px);
  transition: all 0.9s var(--ease-out-expo), border-color 0.4s, background 0.4s;
  border-bottom: 1px solid transparent;
}

nav.show {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(230, 36, 41, 0.15);
  padding: 1rem 5%;
}

body.nav-hidden nav.show {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.logo {
  font-family: var(--heading);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--detail);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--offwhite);
  position: relative;
  padding-bottom: 6px;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 1px;
  background: var(--offwhite);
  transition: all 0.4s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--offwhite);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -15vh;
  bottom: -15vh;
  left: 0;
  right: 0;
  z-index: 0;
  will-change: transform;
  contain: layout style;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

@media (min-width: 992px) {
  .hero {
    height: 180vh;
    align-items: flex-start;
  }
  .hero-content {
    margin-top: 0;
    position: sticky;
    top: 50vh;
    transform: translateY(-70%);
  }
  .hero-bg img,
  .hero-bg video {
    object-position: center 65%;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: none; /* Removed black layer as requested */
  z-index: 1;
}

.hero-kanji {
  position: absolute;
  font-size: 28vw;
  color: var(--offwhite);
  opacity: 0.03;
  font-family: 'Noto Serif JP', serif;
  z-index: 0;
  user-select: none;
  line-height: 1;
}

.hero-kanji.k1 { top: 5%; left: 3%; }
.hero-kanji.k2 { bottom: 5%; right: 3%; }

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 2rem;
}

.hero-logo {
  width: clamp(100px, 18vw, 160px);
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
  opacity: 0;
  transform: scale(0.7);
  animation: logoReveal 1.2s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 0 25px rgba(230, 36, 41, 0.4));
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--offwhite);
  margin-bottom: 0.5rem;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
}

.hero h1 .letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: letterReveal 0.7s var(--ease-out-expo) forwards;
}

.gold-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.2rem auto;
  transition: width 1.8s var(--ease-out-expo);
}

.gold-line.drawn {
  width: 140px;
}

.hero-subtitle {
  font-family: var(--detail);
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--champagne);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s 2.2s var(--ease-out-expo) forwards;
}

.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  background: rgba(230, 36, 41, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 36, 41, 1);
  color: var(--offwhite);
  padding: 1.1rem 2.8rem;
  border-radius: 60px;
  font-family: var(--detail);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.8s 2.5s var(--ease-out-expo) forwards;
  z-index: 1;
  box-shadow: 0 0 20px rgba(230, 36, 41, 0.08), inset 0 0 20px rgba(230, 36, 41, 0.03);
}

/* Shimmer sweep effect */
.cta-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );
  animation: shimmerSweep 4s 3.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Fill background on hover */
.menu-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #CC2222, #aa1c1c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
  border-radius: 60px;
}

/* Glow ring on hover */
.menu-cta::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 64px;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.menu-cta:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(230, 36, 41, 0.45),
    0 0 60px rgba(230, 36, 41, 0.15);
  letter-spacing: 4.5px;
}

.menu-cta:hover::before {
  transform: scaleX(1);
}

.menu-cta:hover::after {
  border-color: rgba(230, 36, 41, 0.25);
  inset: -6px;
}

.menu-cta:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 20px rgba(230, 36, 41, 0.3);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-icon {
  display: flex;
  transition: transform 0.5s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}

.menu-cta:hover .cta-icon {
  transform: translateX(6px);
}

/* Side Scroll Indicator — bottom-right, compact */
.side-scroll-indicator {
  position: absolute;
  bottom: 2.5rem; /* pulled down to avoid overlapping nearby buttons */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeIn 1s 3s ease forwards;
}

.side-scroll-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.side-scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
}

.side-scroll-dot:first-child {
  background: var(--gold);
  box-shadow: 0 0 6px rgba(230, 36, 41, 0.5);
  animation: dotGlow 2.5s ease-in-out infinite;
}

.side-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--gold), rgba(255, 255, 255, 0.08));
  position: relative;
  overflow: hidden;
}

.side-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  animation: scrollSlide 2.5s ease-in-out infinite;
}

.side-scroll-text {
  font-size: 0.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--body);
}

@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 4px rgba(230, 36, 41, 0.3); }
  50% { box-shadow: 0 0 10px rgba(230, 36, 41, 0.6), 0 0 20px rgba(230, 36, 41, 0.2); }
}

@keyframes scrollSlide {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* === SECTIONS COMMON === */
section {
  padding: 9rem 6%;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-tag {
  font-family: var(--detail);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before,
.section-tag::after {
  content: '';
  display: inline-block;
  width: 15px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: var(--offwhite);
  margin-bottom: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-title .title-jp {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  letter-spacing: 8px;
  color: var(--text-dim);
  text-transform: none;
  font-weight: 200;
  margin-top: 0.8rem;
  -webkit-text-fill-color: var(--text-dim);
}

.section-line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  margin: 0 auto;
  position: relative;
}

.section-line::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: all 1.1s var(--ease-out-expo);
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* === ABOUT SECTION === */
.about {
  background: var(--charcoal);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-left {
  position: relative;
}

.about-quote {
  font-family: var(--heading);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--offwhite);
  margin-bottom: 2rem;
}

.about-quote span {
  color: var(--gold);
  font-style: italic;
}

.about-text {
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-muted);
}

.about-kanji {
  font-size: 12rem;
  opacity: 0.04;
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  font-family: serif;
  line-height: 1;
  user-select: none;
  color: var(--offwhite);
}

.about-right {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* Light black overlay */
  pointer-events: none;
  z-index: 1;
}

.about-img-wrapper img,
.about-img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.about-img-wrapper:hover img,
.about-img-wrapper:hover video {
  transform: scale(1.03);
}

.about-frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(230, 36, 41, 0.2);
  pointer-events: none;
  transition: inset 0.5s var(--ease-out-expo);
  z-index: 2;
}

.about-img-wrapper:hover .about-frame {
  inset: 8px;
  border-color: rgba(230, 36, 41, 0.35);
}

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


.madi-menu-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.menu-category {
  border-top: 1px solid rgba(230, 36, 41, 0.2);
  padding-top: 2rem;
}

.category-title {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.category-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .category-items {
    grid-template-columns: 1fr 1fr;
    column-gap: 4rem;
  }
}

.madi-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(245, 240, 232, 0.1);
}

.madi-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.madi-name {
  font-size: 1.1rem;
  color: var(--offwhite);
  font-weight: 400;
  letter-spacing: 1px;
}

.madi-price {
  font-size: 1.2rem;
  color: var(--gold);
  font-family: var(--detail);
  font-weight: 600;
}

.madi-desc {
  font-family: var(--detail);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === EXPERIENCE SECTION === */
.experience {
  background: var(--charcoal);
  text-align: center;
  overflow: hidden;
}

.experience .bg-kanji {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35vw;
  opacity: 0.02;
  font-family: serif;
  color: var(--offwhite);
  user-select: none;
  line-height: 1;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.exp-item {
  padding: 3rem 2rem;
  position: relative;
  transition: transform 0.4s var(--ease-out-expo);
}

.exp-item:hover {
  transform: translateY(-5px);
}

.exp-icon {
  width: 70px;
  height: 70px;
  border: 1px solid rgba(230, 36, 41, 0.25);
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--ease-out-expo);
}

.exp-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.exp-item:hover .exp-icon {
  background: rgba(230, 36, 41, 0.08);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(230, 36, 41, 0.1);
}

.exp-item h3 {
  font-family: var(--heading);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--offwhite);
}

.exp-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Dividers between items */
.exp-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(230, 36, 41, 0.15), transparent);
  align-self: stretch;
}

/* === CONTACT SECTION === */
.contact {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 9rem 6%;
}

/* Animated background glow orbs */
.contact-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.contact-bg-glow::before,
.contact-bg-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  animation: orbFloat 12s ease-in-out infinite;
}

.contact-bg-glow::before {
  width: 500px;
  height: 500px;
  background: #CC2222;
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.contact-bg-glow::after {
  width: 400px;
  height: 400px;
  background: #00f2ea;
  bottom: -10%;
  right: -5%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, 40px) scale(1.1); }
  50% { transform: translate(20px, -30px) scale(0.95); }
  75% { transform: translate(-40px, 20px) scale(1.05); }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* === CARD BASE === */
.contact-card {
  position: relative;
  border-radius: 20px;
  padding: 2.4rem 2rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #fff;
  min-height: 310px;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  transform: translateY(-8px) scale(1.02);
}

/* === CARD BRAND COLORS === */

/* Instagram */
.contact-card--ig {
  background: linear-gradient(135deg, #833ab4 0%, #CC2222 50%, #1a1a1a 100%);
  box-shadow: 0 8px 30px rgba(131, 58, 180, 0.25);
}
.contact-card--ig:hover {
  box-shadow: 0 20px 60px rgba(131, 58, 180, 0.5);
}

/* TikTok */
.contact-card--tk {
  background: linear-gradient(135deg, #010101 0%, #25f4ee 50%, #fe2c55 100%);
  box-shadow: 0 8px 30px rgba(37, 244, 238, 0.15);
}
.contact-card--tk:hover {
  box-shadow: 0 20px 60px rgba(37, 244, 238, 0.35);
}

/* Location */
.contact-card--loc {
  background: linear-gradient(135deg, #CC2222 0%, #ff6b35 50%, #1a1a1a 100%);
  box-shadow: 0 8px 30px rgba(204, 34, 34, 0.2);
}
.contact-card--loc:hover {
  box-shadow: 0 20px 60px rgba(204, 34, 34, 0.45);
}

/* Call Us */
.contact-card--call {
  background: linear-gradient(135deg, #0a4a3a 0%, #1a8a6a 50%, #0d0d0d 100%);
  box-shadow: 0 8px 30px rgba(26, 138, 106, 0.2);
}
.contact-card--call:hover {
  box-shadow: 0 20px 60px rgba(26, 138, 106, 0.45);
}

/* === FLOATING PARTICLES === */
.contact-card__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-card__particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: particleFloat 6s ease-in-out infinite;
}

.contact-card__particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 5s; width: 5px; height: 5px; }
.contact-card__particles span:nth-child(2) { left: 70%; top: 60%; animation-delay: -1s; animation-duration: 7s; width: 4px; height: 4px; }
.contact-card__particles span:nth-child(3) { left: 40%; top: 80%; animation-delay: -2s; animation-duration: 6s; width: 7px; height: 7px; }
.contact-card__particles span:nth-child(4) { left: 85%; top: 15%; animation-delay: -3s; animation-duration: 8s; width: 3px; height: 3px; }
.contact-card__particles span:nth-child(5) { left: 20%; top: 50%; animation-delay: -4s; animation-duration: 5.5s; width: 5px; height: 5px; }
.contact-card__particles span:nth-child(6) { left: 60%; top: 30%; animation-delay: -2.5s; animation-duration: 6.5s; width: 4px; height: 4px; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-35px) translateX(-8px); opacity: 0.4; }
  75% { transform: translateY(-15px) translateX(15px); opacity: 0.7; }
}

/* === CARD CONTENT === */
.contact-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: space-between;
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
}

.contact-card:hover .contact-card__icon {
  transform: scale(1.12) rotate(-8deg);
  background: rgba(255, 255, 255, 0.3);
}

.contact-card h3 {
  font-family: var(--heading);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: #fff;
  text-transform: uppercase;
}

.contact-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* CTA */
.contact-card__cta {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover .contact-card__cta {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-card__arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.9rem;
}

.contact-card:hover .contact-card__arrow {
  transform: translateX(6px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* === RESERVATIONS SECTION === */
.reservations {
  background: var(--black);
  position: relative;
}

.res-container {
  max-width: 650px;
  margin: 0 auto;
}

.res-form {
  display: grid;
  gap: 2.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.2rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(230, 36, 41, 0.15);
  color: var(--offwhite);
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.4s;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--charcoal);
  color: var(--offwhite);
}

.form-group label {
  position: absolute;
  top: 1.2rem;
  left: 0;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.4s var(--ease-out-expo);
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--gold);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.9rem;
  font-size: 0.6rem;
  color: var(--gold);
}

.form-group textarea {
  resize: none;
  height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.submit-btn {
  padding: 1.2rem 4rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--black);
  font-family: var(--body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s var(--ease-out-expo);
  justify-self: center;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: var(--champagne);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(230, 36, 41, 0.2);
}

/* === FOOTER === */
footer {
  padding: 5rem 6% 2.5rem;
  text-align: center;
  background: #000; /* changed to pure black per request */
  border-top: 1px solid rgba(230, 36, 41, 0.08);
}

.footer-logo {
  font-family: var(--heading);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 6px;
  margin-bottom: 2rem;
}

.footer-logo span {
  color: var(--gold);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.social-links a {
  color: var(--text-dim);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

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

.footer-divider {
  width: 40px;
  height: 1px;
  background: rgba(230, 36, 41, 0.2);
  margin: 0 auto 2rem;
}

.copyright {
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

body.menu-page footer {
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.1);
}
body.menu-page .footer-logo {
  color: #000;
}
body.menu-page .social-links a {
  color: #555;
}
body.menu-page .social-links a:hover {
  color: var(--gold);
}
body.menu-page .footer-divider {
  background: rgba(0,0,0,0.15);
}
body.menu-page .copyright {
  color: #666;
}

/* === KEYFRAMES === */
@keyframes letterReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

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

  section {
    padding: 6rem 5%;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .exp-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .exp-divider {
    display: none;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero {
    min-height: calc(var(--vh, 1vh) * 100);
  }

  /* Reduce kanji complexity on mobile */
  .hero-kanji {
    display: none;
  }

  html {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  section {
    padding: 5rem 5%;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  /* Smaller scroll indicator on mobile */
  .side-scroll-indicator {
    bottom: 1.5rem;
  }

  .side-scroll-line {
    height: 22px;
  }

  .side-scroll-dot {
    width: 3px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem 4%;
  }

  .logo {
    font-size: 1.3rem;
    letter-spacing: 4px;
  }

  .hero-subtitle {
    font-size: 0.6rem;
    letter-spacing: 3px;
  }

  .menu-cta {
    padding: 0.9rem 2rem;
    font-size: 0.6rem;
    letter-spacing: 2.5px;
    gap: 0.7rem;
  }

  .menu-cta:hover {
    letter-spacing: 2.5px;
  }
}

/* === MENU PAGE HERO === */
.menu-hero {
  padding: 12rem 6% 6rem;
  text-align: center;
  position: relative;
  background: url('menubg.jpg') center/cover no-repeat;
}
.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 0;
}
.menu-hero > * {
  position: relative;
  z-index: 1;
}
.menu-hero .menu-subtitle {
  color: rgba(255,255,255,0.8) !important;
}

body.menu-page {
  --black: #F8F5F0;
  --charcoal: #FFFFFF;
  --charcoal-light: #F2EFE9;
  --offwhite: #000000;
  --champagne: #000000;
  --text-muted: rgba(0, 0, 0, 0.85);
  --text-dim: rgba(0, 0, 0, 0.6);
  --gold-dim: rgba(204, 34, 34, 0.1);
  --gold-glow: rgba(204, 34, 34, 0.05);

  background-color: var(--black);
  color: var(--offwhite);
  background-image: url('assets/bambobg.jpg');
  background-size: 750px auto;
  background-repeat: repeat;
  background-attachment: scroll;
}
.menu-hero .bg-kanji {
  position: absolute;
  font-size: 30vw;
  color: var(--offwhite);
  opacity: 0.015;
  font-family: 'Noto Serif JP', serif;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
}
.menu-hero h1 {
  font-family: var(--heading);
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: 10px;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.menu-hero .menu-subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.menu-hero .hero-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* === MENU TABS === */
.tabs-wrapper {
  position: sticky;
  top: 77px; /* matches the scrolled navbar height */
  z-index: 90;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.8rem 0 1rem;
  transition: top 0.5s var(--ease-out-expo);
}

body.nav-hidden .tabs-wrapper {
  top: 0;
}
.swipe-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0 4% 0.5rem;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulseHint 2s infinite;
  pointer-events: none;
}
@keyframes pulseHint {
  0% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(5px); }
  100% { opacity: 0.4; transform: translateX(0); }
}
.menu-tabs-nav {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  height: 95px;
  gap: 0.6rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 4%;
}
.menu-tabs-nav::-webkit-scrollbar { display: none; }

.menu-tab-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  color: var(--text-muted);
  font-family: var(--body);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  transition: all 0.35s;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.65rem;
  white-space: nowrap;
}
.menu-tab-btn:hover {
  color: var(--offwhite);
  border-color: rgba(230, 36, 41, 0.3);
  background: rgba(255, 255, 255, 0.05);
}
.menu-tab-btn.active {
  color: var(--offwhite);
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 4px 15px rgba(230, 36, 41, 0.3);
}

/* === TAB CONTENT === */
.menu-tabs-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 4%;
}
.menu-tab-pane {
  display: none;
}
.menu-tab-pane.active {
  display: block;
  animation: menuFadeIn 0.4s ease forwards;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.pane-title {
  font-family: var(--heading);
  font-size: 1.8rem;
  color: var(--offwhite);
  margin-bottom: 0.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.pane-count {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 2.5rem;
}

/* === MENU GRID === */
.pane-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .pane-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
}

/* === MENU ITEM CARD === */
.madi-item.has-image {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: rgba(18, 18, 18, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .madi-item.has-image:hover {
    background: rgba(25, 25, 25, 0.75);
    border-color: rgba(230, 36, 41, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  }
}

/* image placeholder */
.madi-item-img-placeholder {
  width: 100%;
  height: 220px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: border-color 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .madi-item.has-image:hover .madi-item-img-placeholder {
    border-color: rgba(230, 36, 41, 0.3);
  }
}
.madi-item-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) and (pointer: fine) {
  .madi-item.has-image:hover .madi-item-img-placeholder img {
    transform: scale(1.08);
  }
}
.img-icon {
  width: 24px;
  height: 24px;
  fill: rgba(245, 240, 232, 0.12);
}

/* content */
.madi-item-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem;
  padding: 1.4rem;
  min-width: 0;
}
.madi-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.madi-name {
  font-size: 0.95rem;
  color: var(--offwhite);
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.madi-price {
  font-size: 1rem;
  color: var(--gold);
  font-family: var(--detail);
  white-space: nowrap;
  font-weight: 600;
  padding-top: 0.1rem;
}
.madi-desc {
  font-family: var(--detail);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === MENU FOOTER === */
.menu-page-footer {
  text-align: center;
  padding: 3rem 4% 2rem;
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.1);
  max-width: 100%;
  margin: 0;
}
.menu-page-footer p {
  color: #333;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* back to top for menu */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--champagne);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(230,36,41,0.4);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230,36,41,0.5);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 rgba(230, 36, 41, 0); }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 25px rgba(230, 36, 41, 0.5); }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 rgba(230, 36, 41, 0); }
}

@media (max-width: 768px) {
  .menu-tabs-content { padding: 2rem 3%; }
  .madi-item-img-placeholder { height: 180px; }
  .madi-item-content { padding: 1.2rem; }
  .madi-name { font-size: 0.85rem; }
  .madi-price { font-size: 0.9rem; }
}

/* === DISH FULLSCREEN MODAL === */
.dish-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal.active {
  opacity: 1;
  pointer-events: all;
}

/* Fullscreen background image */
.dish-modal-bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.dish-modal-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.8s ease, transform 10s ease-out;
}

@media (min-width: 992px) {
  .dish-modal-bg img {
    padding: 3rem;
    padding-bottom: 25vh;
  }
}

.dish-modal.active .dish-modal-bg img.loaded {
  opacity: 1;
  transform: scale(1.04);
}

/* Gradient overlay — bottom half fades to black */
.dish-modal-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Close button */
.dish-modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(-10px);
}

.dish-modal.active .dish-modal-close {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.dish-modal-close:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 30px rgba(230, 36, 41, 0.5);
}

/* Info section — bottom overlay */
.dish-modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 3rem 4rem;
  z-index: 5;
}

/* Brand tag */
.dish-modal-tag {
  font-family: var(--heading);
  font-size: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.8rem;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal.active .dish-modal-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Dish title */
.dish-modal-title {
  font-family: var(--heading);
  font-size: clamp(1.8rem, 5.5vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal.active .dish-modal-title {
  opacity: 1;
  transform: translateY(0);
}

/* Description */
.dish-modal-desc {
  font-family: var(--body);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 700px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal.active .dish-modal-desc {
  opacity: 1;
  transform: translateY(0);
}

.dish-modal-desc:empty {
  display: none;
}

/* Price */
.dish-modal-price {
  font-family: var(--body);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 1px;
  display: inline-block;
  padding: 0.45rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.dish-modal.active .dish-modal-price {
  opacity: 1;
  transform: translateY(0);
}

/* === Make Madi Items Clickable === */
.madi-item {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;
  border-radius: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .madi-item:hover {
    transform: translateY(-5px);
    background: rgba(230, 36, 41, 0.04);
  }
}

.madi-item:active {
  transform: translateY(-2px) scale(0.98);
}

/* === CART SYSTEM === */
.add-to-cart-btn {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-expo), background 0.3s;
  margin-left: auto;
  box-shadow: 0 4px 10px rgba(230, 36, 41, 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .add-to-cart-btn:hover {
    transform: scale(1.1);
    background: #c41e23;
  }
}
.madi-item-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.madi-name, .madi-price {
  flex: 0 0 auto;
}

.cart-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #800000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(128, 0, 0, 0.4);
  transition: transform 0.4s var(--ease-out-expo);
  opacity: 0;
  pointer-events: none;
}
.cart-floating-btn.visible {
  opacity: 1;
  pointer-events: all;
}
.cart-floating-btn:hover {
  transform: scale(1.08) translateY(-5px);
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2002;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.checkout-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: -webkit-fill-available;
  background: var(--charcoal);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: right 0.5s var(--ease-out-expo);
  border-left: 1px solid rgba(255,255,255,0.05);
}
.cart-drawer.active {
  right: 0;
}
.cart-header,
.checkout-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2,
.checkout-header h2 {
  font-family: var(--heading);
  font-size: 1.5rem;
  font-weight: 300;
}
.close-cart-btn,
.close-checkout-btn {
  background: none;
  border: none;
  color: var(--offwhite);
  cursor: pointer;
  transition: transform 0.3s;
}
.close-cart-btn:hover,
.close-checkout-btn:hover {
  transform: rotate(90deg);
  color: var(--gold);
}
.cart-items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.cart-drawer.active .cart-items {
  max-height: calc(100vh - 180px);
  max-height: calc(100dvh - 180px);
}
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.02);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.03);
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-family: var(--heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.cart-item-price {
  color: var(--gold);
  font-size: 0.9rem;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: var(--gold);
}
.cart-item-qty {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-footer {
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--black);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.checkout-trigger-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 60px;
  font-family: var(--body);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.checkout-trigger-btn:hover {
  background: #c41e23;
  transform: translateY(-2px);
}

/* === CHECKOUT MODAL === */
.checkout-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 2003;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}
.checkout-modal.active {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.checkout-header {
  padding: 2rem 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
}
.checkout-header h2 {
  font-family: var(--heading);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 2px;
}
.checkout-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
}
.checkout-modal .form-group {
  margin-bottom: 2rem;
  position: relative;
}
.checkout-modal .form-group label {
  display: block;
  position: static;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  pointer-events: auto;
}
.checkout-modal .form-group input,
.checkout-modal .form-group textarea,
.checkout-modal .form-group select {
  width: 100%;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--offwhite);
  border-radius: 0;
  font-family: var(--body);
  font-size: 1.1rem;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.checkout-modal .form-group select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4af37' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0 center;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.5rem;
}
.checkout-modal .form-group textarea {
  height: 60px;
  resize: vertical;
}
.checkout-modal .form-group input:focus,
.checkout-modal .form-group textarea:focus,
.checkout-modal .form-group select:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}
.checkout-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.checkout-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--detail);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}
.checkout-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.btn-call {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.btn-call:hover {
  background: rgba(255, 255, 255, 0.1);
}
.btn-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}
.btn-wa:hover {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    right: -100vw;
  }
  .cart-drawer.active {
    right: 0;
  }
  .cart-header,
  .cart-footer {
    padding: 1rem;
  }
  .cart-items {
    padding: 1rem;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .cart-item {
    padding: 0.7rem;
    gap: 0.5rem;
  }
  .cart-item-name {
    font-size: 0.9rem;
  }
  .cart-item-price {
    font-size: 0.8rem;
  }
  .cart-total {
    font-size: 1rem;
  }
  .checkout-trigger-btn {
    padding: 1rem;
    font-size: 0.9rem;
  }
  .checkout-modal {
    width: 96%;
    max-height: 96vh;
    border-radius: 16px;
  }
  .checkout-header {
    padding: 1.2rem 1.2rem 0;
  }
  .checkout-header h2 {
    font-size: 1.3rem;
  }
  .checkout-body {
    padding: 1rem 1.2rem 1.2rem;
  }
  .checkout-modal .form-group {
    margin-bottom: 1rem;
  }
  .checkout-modal .form-group label {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }
  .checkout-modal .form-group input,
  .checkout-modal .form-group textarea {
    font-size: 0.95rem;
    padding: 0.3rem 0;
  }
  .checkout-modal .form-group textarea {
    height: 45px;
  }
  .checkout-actions {
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
  }
  .checkout-action-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 380px) {
  .cart-item-name {
    font-size: 0.8rem;
  }
  .cart-item-price {
    font-size: 0.75rem;
  }
  .qty-btn {
    width: 24px;
    height: 24px;
  }
  .cart-item-qty {
    min-width: 16px;
    font-size: 0.85rem;
  }
  .cart-total {
    font-size: 0.9rem;
  }
}

/* === LIGHT MODE OVERRIDES FOR MENU PAGE === */
body.menu-page .tabs-wrapper {
  background: rgba(248, 245, 240, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
body.menu-page .menu-tab-btn {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}
body.menu-page .menu-tab-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--offwhite);
}
body.menu-page .menu-tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
body.menu-page nav.scrolled {
  background: rgba(248, 245, 240, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
body.menu-page .nav-links a {
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
body.menu-page .logo {
  color: #000000;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.9);
  font-weight: 500;
}
body.menu-page .hamburger span {
  background: #000000;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
body.menu-page .cart-drawer,
body.menu-page .checkout-modal,
body.menu-page .dish-modal-content {
  background: #ffffff;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}
body.menu-page .checkout-modal .form-group label {
  color: #555;
  font-weight: 600;
}
body.menu-page .cart-drawer .cart-item,
body.menu-page .cart-header,
body.menu-page .cart-footer,
body.menu-page .checkout-header,
body.menu-page .checkout-body {
  border-color: rgba(0, 0, 0, 0.05);
}
body.menu-page .cart-item-name,
body.menu-page .cart-header h2,
body.menu-page .checkout-header h2,
body.menu-page .cart-total-label,
body.menu-page .cart-total-value {
  color: #000000;
}
body.menu-page .qty-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
}
body.menu-page .qty-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}
body.menu-page .madi-item {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}
body.menu-page .madi-name,
body.menu-page .madi-price,
body.menu-page .madi-desc {
  text-shadow: none;
}
body.menu-page .menu-subtitle,
body.menu-page .pane-title,
body.menu-page .pane-count {
  text-shadow: none;
}
body.menu-page .madi-name,
body.menu-page .madi-price {
  font-weight: 600;
}
body.menu-page .menu-hero h1 {
  font-weight: 500;
  color: #fff;
}
body.menu-page .menu-subtitle {
  color: #444;
}
body.menu-page .mobile-menu {
  background: rgba(248, 245, 240, 0.98);
}
body.menu-page .mobile-menu a {
  color: #000000;
}
body.menu-page .close-modal-btn,
body.menu-page .close-cart-btn {
  color: #000000;
}
body.menu-page .checkout-body input,
body.menu-page .checkout-body textarea,
body.menu-page .checkout-body select {
  color: #000000;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
body.menu-page .checkout-body select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b5952f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0 center;
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.5rem;
}
body.menu-page .checkout-body select option {
  background: #ffffff;
  color: #000000;
}
body.menu-page .checkout-body input:focus,
body.menu-page .checkout-body textarea:focus,
body.menu-page .checkout-body select:focus {
  border-bottom-color: var(--gold);
}
body.menu-page .btn-call {
  color: #000;
  border: 1px solid rgba(0,0,0,0.2);
}
body.menu-page .btn-call:hover {
  background: rgba(0,0,0,0.05);
}
body.menu-page .img-icon {
  stroke: rgba(0,0,0,0.2);
}
body.menu-page .swipe-hint {
  color: var(--text-muted);
}

/* === STORE CLOSED BANNER & OVERRIDES === */
.store-closed-banner {
  display: none;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 36, 41, 0.3);
  padding: 12px 24px;
  border-radius: 40px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 25px auto;
  max-width: 90%;
  box-shadow: 0 8px 30px rgba(230, 36, 41, 0.15);
  animation: fadeInDown 0.5s ease forwards;
  z-index: 100;
  position: relative;
}

body.store-closed .store-closed-banner {
  display: flex;
}

.closed-badge {
  background: #E62429;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(230, 36, 41, 0.4);
}

.closed-text {
  color: #fff;
  font-family: var(--body, 'Inter', sans-serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

/* === STORE CLOSED OVERRIDES === */
body.store-closed .add-to-cart-btn,
body.store-closed .cart-floating-btn,
body.store-closed .qty-btn,
body.store-closed .variant-selector,
body.store-closed .checkout-trigger-btn,
body.store-closed .cart-drawer {
  display: none !important;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .store-closed-banner {
    flex-direction: column;
    padding: 16px;
    border-radius: 20px;
    gap: 12px;
    text-align: center;
  }
  .closed-text {
    font-size: 0.95rem;
  }
}
