/* ============================================================
   NEOSHI SUSHI — Asian & Street Food
   Design System & Stylesheet
   Colors: #BB1E10 (Brand Red) + #FDF0DD (Cream)
   Fonts: Fredoka (brand name) + Poppins (body & headings)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --red: #BB1E10;
  --red-dark: #991508;
  --red-light: rgba(187, 30, 16, 0.12);
  --cream: #FDF0DD;
  --cream-dark: #F5E2C0;

  /* Text */
  --text-dark: #1E1B18;
  --text-mid: #4A3F35;
  --text-light: #8C7B6A;

  /* UI */
  --white: #FFFFFF;
  --border: rgba(187, 30, 16, 0.18);
  --border-soft: rgba(78, 60, 50, 0.1);
  --shadow-sm: 0 2px 8px rgba(30, 27, 24, 0.08);
  --shadow-md: 0 8px 32px rgba(30, 27, 24, 0.12);
  --shadow-lg: 0 24px 64px rgba(30, 27, 24, 0.18);
  --shadow-red: 0 8px 32px rgba(187, 30, 16, 0.25);

  /* Layout */
  --navbar-h: 72px;
  --mascot-h: 60px;
  --container-max: 1200px;
  --section-gap: 6rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17.5px; }
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }

/* ---------- Layout Utilities ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--section-gap) 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--navbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: #FDF0DD;
  border-bottom: 1px solid var(--border);
  z-index: 900;
  transition: box-shadow var(--duration) var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.logo-mascot {
  height: var(--mascot-h);
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logo-main {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
}
.logo-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-light);
  white-space: nowrap;
}

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.95rem; font-weight: 600; color: var(--text-dark);
  position: relative; transition: color var(--duration) var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--red);
  transition: width var(--duration) var(--ease);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 1rem; }

/* Custom Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-trigger {
  background: transparent;
  border: 1.5px solid var(--red);
  color: var(--red);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  outline: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-trigger:hover, .lang-trigger:focus-visible {
  background: var(--red-light);
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  display: inline-block;
  border: 1px solid rgba(187, 30, 16, 0.2);
}

.lang-chevron {
  font-size: 0.6rem;
  transition: transform var(--duration) var(--ease);
}

.lang-dropdown.active .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--cream);
  border: 1.5px solid var(--red);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  list-style: none;
  padding: 0.25rem 0;
  margin: 0;
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--duration) var(--ease);
  z-index: 1000;
}

.lang-dropdown.active .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  outline: none;
}

.lang-option:hover, .lang-option:focus-visible {
  background: var(--red);
  color: var(--cream);
}

.lang-option:hover .lang-flag, .lang-option:focus-visible .lang-flag {
  border-color: rgba(253, 240, 221, 0.3);
}

.lang-option[aria-selected="true"] {
  background: var(--red-light);
}

.lang-option[aria-selected="true"]:hover {
  background: var(--red);
  color: var(--cream);
}


.cart-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--red-light);
  transition: all var(--duration) var(--ease);
}
.cart-btn:hover { background: var(--red); }
.cart-btn:hover .cart-icon { filter: brightness(10); }
.cart-icon { font-size: 1.2rem; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--red); color: var(--cream);
  font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  transform: scale(0); transition: transform var(--duration) var(--ease);
}
.cart-badge.visible { transform: scale(1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all var(--duration) var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; top: var(--navbar-h); left: 0; width: 100%;
  background: var(--cream); border-bottom: 1px solid var(--border);
  flex-direction: column; z-index: 850;
  transform: translateY(-8px); opacity: 0;
  transition: all var(--duration) var(--ease); pointer-events: none;
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-nav-link { padding: 1rem 5%; font-weight: 600; border-bottom: 1px solid var(--border-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: var(--navbar-h);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.hero-img.active {
  opacity: 1;
  z-index: 2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 27, 24, 0.55) 0%,
    rgba(30, 27, 24, 0.72) 60%,
    rgba(30, 27, 24, 0.4) 100%
  );
  z-index: 3;
}
.hero-content {
  position: relative; z-index: 4; text-align: center;
  padding: 2rem 1.5rem; max-width: 800px;
}
.hero-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: rgba(253, 240, 221, 0.7);
  margin-bottom: 0.75rem;
}
.hero-title {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(3.5rem, 11vw, 7.5rem); font-weight: 700;
  color: var(--cream); line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}
.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 300;
  color: rgba(253, 240, 221, 0.9); margin-bottom: 2.5rem; line-height: 1.5;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block; width: 24px; height: 40px; border: 2px solid rgba(253, 240, 221, 0.5);
  border-radius: var(--radius-full); position: relative;
}
.hero-scroll-hint span::before {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(253, 240, 221, 0.7);
  border-radius: var(--radius-full);
  animation: scroll-hint 2s ease infinite;
}
@keyframes scroll-hint { 0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; } 100% { transform: translateX(-50%) translateY(12px); opacity: 0; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-size: 1rem; font-weight: 700;
  border-radius: var(--radius-full); transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red); color: var(--cream); border: 2px solid var(--red);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(187, 30, 16, 0.35); }
.btn-outline { background: transparent; color: var(--cream); border: 2px solid rgba(253, 240, 221, 0.6); }
.btn-outline:hover { background: rgba(253, 240, 221, 0.15); border-color: var(--cream); transform: translateY(-2px); }
.link-btn { color: var(--red); font-weight: 600; text-decoration: underline; display: inline; padding: 0; background: none; border: none; cursor: pointer; font-family: inherit; font-size: inherit; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.marquee-wrapper {
  background: var(--red); color: var(--cream);
  overflow: hidden; padding: 0.75rem 0;
}
.marquee-track {
  display: flex; gap: 2rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span { font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.marquee-track .divider { opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem;
}
.section-title { color: var(--text-dark); margin-bottom: 0.75rem; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 540px; margin: 0 auto; }

/* ============================================================
   MENU
   ============================================================ */
.menu-section { background: var(--cream); }

/* Tabs */
.menu-tabs {
  display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.55rem 1.3rem; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-full); border: 1.5px solid var(--border);
  background: transparent; color: var(--text-mid);
  transition: all var(--duration) var(--ease);
}
.tab-btn:hover { border-color: var(--red); color: var(--red); }
.tab-btn.active { background: var(--red); color: var(--cream); border-color: var(--red); box-shadow: var(--shadow-red); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Menu info footer */
.menu-info-footer {
  margin-top: 2rem;
  text-align: center;
  padding: 1.25rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: center;
}
.menu-info-footer p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}
.menu-ai-notice {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem !important;
  font-size: 0.82rem !important;
  color: #a08050 !important;
  font-style: italic;
  opacity: 0.85;
}

/* Menu Item Card */
.menu-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.menu-card-img-wrap { position: relative; height: 200px; overflow: hidden; }
.menu-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.menu-card:hover .menu-card-img-wrap img { transform: scale(1.05); }

.menu-card-badges {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; gap: 0.4rem; flex-wrap: wrap;
}
.badge-icon {
  background: rgba(253, 240, 221, 0.92);
  font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full); backdrop-filter: blur(4px);
}

.menu-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.menu-card-name { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.menu-card-desc { font-size: 1rem; color: var(--text-light); flex: 1; line-height: 1.5; }
.menu-card-allergens { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.menu-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.5rem; }
.menu-card-price { font-size: 1.45rem; font-weight: 800; color: var(--red); letter-spacing: -0.02em; }

.add-to-cart-btn {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--red); color: var(--cream);
  font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease); border: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(187, 30, 16, 0.3);
}
.add-to-cart-btn:hover { background: var(--red-dark); transform: scale(1.1); }
.add-to-cart-btn:active { transform: scale(0.95); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--cream-dark); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-images { position: relative; }
.about-img-main { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.about-img-accent {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 200px; height: 200px; object-fit: cover;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.about-content { display: flex; flex-direction: column; gap: 1.25rem; }
.about-text { color: var(--text-mid); font-size: 1.05rem; }
.about-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.badge {
  background: var(--white); border: 1.5px solid var(--border);
  padding: 0.4rem 1rem; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; color: var(--text-mid);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); height: 260px; overflow: hidden;
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-strip img:hover { transform: scale(1.06); }

/* ============================================================
   LOCATION
   ============================================================ */
.location-section { background: var(--cream); }
.location-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.location-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--white); padding: 1.25rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border-soft);
}
.info-icon { font-size: 1.5rem; flex-shrink: 0; }
.info-card strong { display: block; margin-bottom: 0.25rem; color: var(--red); }
.info-card a { color: var(--text-dark); transition: color var(--duration) var(--ease); }
.info-card a:hover { color: var(--red); }
.directions-btn { margin-top: 0.5rem; align-self: flex-start; }
.map-embed { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); height: 420px; }
.map-embed iframe { border-radius: var(--radius-md); }
.map-blurred-wrapper { position: relative; }
.map-blurred-wrapper iframe { filter: blur(8px); transform: scale(1.05); pointer-events: none; }
.map-blur-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(30, 27, 24, 0.45);
  backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--cream); font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5); text-align: center; padding: 1.5rem;
}
.hourglass-icon { font-size: 3rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }



/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { background: var(--cream-dark); }
.contact-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-mid); }
.required { color: var(--red); }
.form-group input, .form-group textarea {
  padding: 0.8rem 1rem; border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm); background: var(--white);
  font-size: 0.95rem; color: var(--text-dark);
  transition: border-color var(--duration) var(--ease);
  outline: none; resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-light); }
.form-check { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); flex-shrink: 0; }
.form-submit { align-self: flex-start; }
.form-success { background: #e8f5e9; color: #2e7d32; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--text-dark); color: rgba(253, 240, 221, 0.85); padding: 3rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-brand .logo-main { color: var(--red); }
.footer-brand .logo-sub { color: rgba(253, 240, 221, 0.5); }
.footer-address { font-size: 0.85rem; color: rgba(253, 240, 221, 0.6); margin-top: 0.5rem; }
.footer-brand a { font-size: 0.85rem; color: rgba(253, 240, 221, 0.6); transition: color var(--duration) var(--ease); }
.footer-brand a:hover { color: var(--red); }

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.footer-legal-btn {
  color: rgba(253, 240, 221, 0.6); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; transition: color var(--duration) var(--ease);
  background: none; border: none; cursor: pointer;
}
.footer-legal-btn:hover { color: var(--red); }
.footer-copy { font-size: 0.78rem; color: rgba(253, 240, 221, 0.35); text-align: right; align-self: end; }

/* ============================================================
   CART DRAWER
   ============================================================ */
.overlay {
  position: fixed; inset: 0; background: rgba(30, 27, 24, 0.5);
  z-index: 950; opacity: 0; pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  backdrop-filter: blur(2px);
}
.overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100vw);
  background: var(--cream); z-index: 960;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(30, 27, 24, 0.2);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--border-soft);
  background: var(--white);
}
.cart-header h2 { font-family: 'Poppins', sans-serif; font-size: 1.4rem; }
.cart-close-btn {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: var(--red-light); color: var(--red);
  font-size: 1rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
}
.cart-close-btn:hover { background: var(--red); color: var(--cream); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.cart-empty { text-align: center; color: var(--text-light); padding: 3rem 0; font-size: 1rem; }

/* Cart Item Row */
.cart-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); padding: 0.75rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 0.85rem; color: var(--red); font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: var(--radius-full);
  background: var(--red-light); color: var(--red); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
}
.qty-btn:hover { background: var(--red); color: var(--cream); }
.qty-display { font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--text-light); font-size: 0.85rem; padding: 0.2rem;
  transition: color var(--duration) var(--ease);
}
.cart-item-remove:hover { color: var(--red); }

.cart-footer { padding: 1.25rem; border-top: 1px solid var(--border-soft); background: var(--white); display: flex; flex-direction: column; gap: 1rem; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; }
.cart-total strong { font-size: 1.4rem; color: var(--red); }
.cart-note-group { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.cart-note-group label { font-weight: 600; color: var(--text-mid); }
#cart-note {
  border: 1.5px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem; resize: none; font-size: 0.9rem; outline: none;
}
#cart-note:focus { border-color: var(--red); }
.checkout-btn { width: 100%; font-size: 1rem; }
.cart-disclaimer { font-size: 0.75rem; color: var(--text-light); text-align: center; }
.cart-max-note { font-size: 0.8rem; color: var(--text-light); text-align: center; font-style: italic; margin-top: 0.25rem; }

/* Hours text — preserve line breaks from i18n */
.hours-text { white-space: pre-line; line-height: 1.7; }

/* ============================================================
   MODALS (QR Hub, Legal)
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(30, 27, 24, 0.6);
  z-index: 1000; display: flex; align-items: flex-start; justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0; pointer-events: none;
  transition: opacity var(--duration) var(--ease);
  backdrop-filter: blur(4px);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 2.5rem; position: relative; width: 100%; max-height: none;
  transform: scale(0.95) translateY(12px); transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
  margin: auto; /* center vertically when content is short */
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px; border-radius: var(--radius-full);
  background: var(--red-light); color: var(--red);
  font-size: 0.9rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
}
.modal-close:hover { background: var(--red); color: var(--cream); }

/* QR Hub Modal */
.qr-modal { max-width: 560px; text-align: center; }
.qr-modal h2 { font-family: 'Poppins', sans-serif; margin-bottom: 0.5rem; }
.qr-modal p { color: var(--text-light); margin-bottom: 2rem; }
.qr-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.qr-option-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1.5rem 1rem; background: var(--white); border-radius: var(--radius-md);
  border: 2px solid var(--border-soft); text-decoration: none; color: var(--text-dark);
  transition: all var(--duration) var(--ease);
}
.qr-option-card:hover { border-color: var(--red); box-shadow: var(--shadow-red); transform: translateY(-3px); }
.qr-option-icon { font-size: 2.5rem; }
.qr-option-card strong { font-size: 1rem; font-weight: 700; }
.qr-option-card span { font-size: 0.78rem; color: var(--text-light); }

/* Legal Modals */
.legal-modal { max-width: 680px; }
.legal-modal h2 { font-family: 'Poppins', sans-serif; margin-bottom: 1.5rem; }
.legal-content { display: flex; flex-direction: column; gap: 1rem; }
.legal-content h3 { font-size: 1rem; font-weight: 700; color: var(--red); margin-top: 0.5rem; }
.legal-content p, .legal-content a { font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-note { background: var(--red-light); padding: 0.75rem 1rem; border-radius: var(--radius-sm); border-left: 3px solid var(--red); font-size: 0.85rem !important; }

/* Allergen table */
.allergen-table { display: flex; flex-direction: column; gap: 0.5rem; }
.allergen-row { display: flex; gap: 1rem; align-items: flex-start; font-size: 0.88rem; color: var(--text-mid); }
.allergen-code {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: var(--radius-full);
  background: var(--red); color: var(--cream);
  font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   CHECKOUT VERIFICATION MODAL
   ============================================================ */
.checkout-modal {
  max-width: 600px;
  padding: 0;
  overflow: visible; /* let the overlay handle scrolling */
}

.checkout-modal-header {
  background: var(--red); color: var(--cream);
  padding: 2rem 2rem 1.5rem; text-align: center;
}
.checkout-icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.checkout-modal-header h2 { color: var(--cream); font-size: 1.6rem; margin-bottom: 0.25rem; }
.checkout-modal-header p { color: rgba(253, 240, 221, 0.8); font-size: 0.9rem; }
.checkout-modal .modal-close { color: var(--cream); background: rgba(255,255,255,0.2); }
.checkout-modal .modal-close:hover { background: rgba(255,255,255,0.4); color: var(--cream); }

/* Order Summary Strip */
.checkout-summary {
  background: var(--cream-dark); padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.88rem; display: flex; flex-direction: column; gap: 0.3rem;
  max-height: 160px; overflow-y: auto;
}
.checkout-summary-row { display: flex; justify-content: space-between; color: var(--text-mid); }
.checkout-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: var(--red); padding-top: 0.5rem;
  border-top: 1px solid var(--border); margin-top: 0.25rem; font-size: 1rem;
}

/* Form section inside checkout modal */
.checkout-modal form {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%; /* ensure form fills modal width */
}
/* Confirm button always full-width */
.checkout-confirm-btn {
  width: 100% !important;
  font-size: 1rem;
  display: block;
}

/* Visible validation error banner */
.form-error-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff0f0;
  border: 2px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.5;
  animation: bannerShake 0.35s ease;
}
.form-error-banner-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}
@keyframes bannerShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

/* Input error state */
.form-group input.error,
.form-group textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(187, 30, 16, 0.15);
}

/* CAPTCHA */
.captcha-box {
  background: var(--white); border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.captcha-label { font-size: 0.88rem; font-weight: 600; color: var(--text-mid); }
.captcha-question { display: flex; align-items: center; gap: 0.75rem; }
.captcha-question span { font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.captcha-question input {
  width: 80px; padding: 0.5rem; border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm); font-size: 1.1rem; font-weight: 700;
  text-align: center; outline: none;
  transition: border-color var(--duration) var(--ease);
}
.captcha-question input:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-light); }
.captcha-hint { font-size: 0.82rem; color: var(--red); font-weight: 600; }


/* ============================================================
   ANIMATIONS
   ============================================================ */
.animate-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 900px) {
  html { font-size: 16.5px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .about-img-main { height: 300px; }

  .location-grid { grid-template-columns: 1fr; }
  .map-embed { height: 300px; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .directions-btn { align-self: center; }

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

@media (max-width: 600px) {
  html { font-size: 15.5px; }
  :root { --section-gap: 4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .qr-options { grid-template-columns: 1fr 1fr; }
  .gallery-strip { height: 200px; }
  .menu-grid { grid-template-columns: 1fr; }
  .about-img-main { height: 240px; }
}

@media (max-width: 480px) {
  .navbar { padding: 0 3%; }
  .logo-mascot { height: 44px; }
  .logo-main { font-size: 1.1rem; }
  .logo-sub { font-size: 0.55rem; letter-spacing: 1px; }
  .navbar-actions { gap: 0.6rem; }
}

/* ============================================================
   ADD-TO-CART TOAST NOTIFICATION
   ============================================================ */
.add-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text-dark);
  color: var(--cream);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: var(--shadow-md);
}
.add-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   CART BUTTON PULSE (when item added)
   ============================================================ */
@keyframes cartPulse {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35); }
  60%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.cart-btn.cart-pulse { animation: cartPulse 0.45s var(--ease); }

/* ============================================================
   CHECKOUT TOGGLE GROUPS (order type + payment)
   ============================================================ */
.checkout-toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.checkout-toggle-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.toggle-btn-group {
  display: flex;
  gap: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--border);
}
.toggle-btn-group button {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text-mid);
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.toggle-btn-group button + button {
  border-left: 2px solid var(--border);
}
.toggle-btn-group button.active {
  background: var(--red);
  color: var(--cream);
}
.toggle-btn-group button:hover:not(.active):not(:disabled) {
  background: var(--cream-dark);
}
.toggle-btn-group button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: var(--cream-dark);
  color: var(--text-light);
}

.checkout-info-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--red-light);
  border: 2px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Italic-i-in-circle badge for info banner */
.info-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 2px solid var(--red);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -0.05em;
}

/* Prep time notice banner variant */
.checkout-prep-banner {
  background: rgba(245, 197, 24, 0.12);
  border-color: #e6a817;
  color: #7a5900;
  margin-top: 0.5rem;
  align-items: flex-start;
}

.prep-clock-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 0.05rem;
}
