/* ============================================================
   NOIR BAKEHOUSE — CINEMATIC STYLE SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500&family=Bebas+Neue&display=swap');

/* ── CSS VARIABLES & THEMES ─────────────────────────────────── */
:root {
  /* Default: Noir Classic (Fallback) */
  --bg:        #0d0c0b;
  --bg2:       #141210;
  --surface:   #1a1714;
  --surface2:  #221f1b;
  --border:    #2e2a25;
  --text:      #f0ebe3;
  --text-dim:  #8a8178;
  --text-mute: #4a4540;
  --accent:    #c8956c;
  --accent2:   #e8b97a;
  --accent3:   #d4a0a0;
  --green:     #6ea87a;
  --red:       #c47070;
  --white:     #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:   6px;
  --radius-lg: 12px;
  --gap:      clamp(16px, 4vw, 32px);

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── THEME PRESETS ─────────────────────────────────────────── */

/* 1. Taxi Theme (Yellow + Black) - Energetic Food Street Vibe */
[data-theme="taxi"] {
  --bg:        #000000;
  --bg2:       #080808;
  --surface:   #101010;
  --surface2:  #181818;
  --border:    #222222;
  --text:      #ffffff;
  --text-dim:  #b0b0b0;
  --text-mute: #666666;
  --accent:    #ffcc00; /* Pure High-Contrast Taxi Yellow */
  --accent2:   #ffd633;
  --accent3:   #ff4d4d;
  --font-display: 'Bebas Neue', sans-serif;
}

/* 2. Matcha Theme (Green + White) - Calm Modern Cafe */
[data-theme="matcha"] {
  --bg:        #f9f9f9;
  --bg2:       #f0f0f0;
  --surface:   #ffffff;
  --surface2:  #eff3ef;
  --border:    #e0e5e0;
  --text:      #1a1a1a;
  --text-dim:  #5c635c;
  --text-mute: #9aa39a;
  --accent:    #6b8e6d; /* Soft Matcha Green */
  --accent2:   #81a684;
  --accent3:   #a8c3a9;
  --font-display: 'DM Sans', sans-serif;
}

/* 3. Spicy Theme (Warm Red/Orange) - Vibrant Food Branding */
[data-theme="spicy"] {
  --bg:        #120808;
  --bg2:       #1c0f0f;
  --surface:   #261515;
  --surface2:  #321b1b;
  --border:    #402424;
  --text:      #fff5f5;
  --text-dim:  #d6baba;
  --text-mute: #a37a7a;
  --accent:    #e63946; /* Vibrant Red */
  --accent2:   #f4a261; /* Spicy Orange */
  --accent3:   #e76f51;
  --font-display: 'Bebas Neue', sans-serif;
}

/* 4. Cool Theme (Blue/Cyan) - Smooth Modern Restaurant */
[data-theme="cool"] {
  --bg:        #0a1118;
  --bg2:       #0f1922;
  --surface:   #162430;
  --surface2:  #1e2f3d;
  --border:    #283b4c;
  --text:      #f0f4f8;
  --text-dim:  #a1b5c9;
  --text-mute: #6b88a4;
  --accent:    #00d2ff; /* Electric Cyan */
  --accent2:   #3a7bd5; /* Cool Blue */
  --accent3:   #4facfe;
  --font-display: 'DM Sans', sans-serif;
}

/* 5. Minimalist Theme (Black + White) - Elegant Minimal */
[data-theme="minimalist"] {
  --bg:        #ffffff;
  --bg2:       #fcfcfc;
  --surface:   #ffffff;
  --surface2:  #f5f5f5;
  --border:    #eeeeee;
  --text:      #000000;
  --text-dim:  #444444;
  --text-mute: #888888;
  --accent:    #000000;
  --accent2:   #333333;
  --accent3:   #666666;
  --font-display: 'DM Sans', sans-serif;
  --radius: 0; /* Sharp corners for minimalist */
  --radius-lg: 0;
}

/* Default Theme Alias (Noir Classic) */
[data-theme="default"] {
  --bg:        #0d0c0b;
  --bg2:       #141210;
  --surface:   #1a1714;
  --surface2:  #221f1b;
  --border:    #2e2a25;
  --text:      #f0ebe3;
  --text-dim:  #8a8178;
  --text-mute: #4a4540;
  --accent:    #c8956c;
  --accent2:   #e8b97a;
  --accent3:   #d4a0a0;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  
  /* FOUC PREVENTION */
  opacity: 0;
  transition: opacity 0.5s ease;
}
body.is-loaded {
  opacity: 1;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.t-hero {
  font-family: var(--font-display);
  font-size: clamp(72px, 22vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--text);
}
.t-display {
  font-family: var(--font-display);
  font-size: clamp(48px, 12vw, 120px);
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.t-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.15;
  font-weight: 700;
}
.t-subheading {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3.5vw, 28px);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.t-body {
  font-size: clamp(14px, 2.2vw, 17px);
  color: var(--text-dim);
  line-height: 1.75;
}
.t-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.t-accent { color: var(--accent); }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gap);
}
.section {
  padding: clamp(60px, 12vw, 120px) 0;
  position: relative;
}

/* ── LOADING SCREEN ─────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  /* Exit transition — triggered by JS adding .loader-exit class */
  transition: opacity 0.9s cubic-bezier(0.77, 0, 0.175, 1),
              transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}
#loader.loader-exit {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

/* Logo — slides up + fades in */
.loader-logo {
  font-family: var(--font-display);
  font-size: 52px;
  letter-spacing: 0.1em;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  animation: loaderLogoIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.loader-logo span { color: var(--accent); }

/* Tagline — fades in slightly after logo */
.loader-tagline {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  opacity: 0;
  animation: loaderFadeIn 0.7s ease 0.55s forwards;
}

/* Progress bar */
.loader-bar-wrap {
  width: 140px; height: 1px;
  background: var(--border);
  overflow: hidden;
  border-radius: 1px;
}
.loader-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 1px;
  /* Animates from 0→70% via CSS, then JS drives it to 100% */
  animation: loaderBarAuto 1.6s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards;
}

/* Percentage counter */
.loader-percent {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  opacity: 0;
  animation: loaderFadeIn 0.5s ease 0.4s forwards;
  min-width: 40px;
  text-align: center;
}

@keyframes loaderLogoIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
@keyframes loaderBarAuto {
  0%   { width: 0%; }
  60%  { width: 65%; }
  80%  { width: 75%; }
  100% { width: 82%; }   /* JS takes over to push to 100% then exit */
}

/* ── NAV ────────────────────────────────────────────────────── */
.header-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.header-main.header-hidden {
  transform: translateY(-100%);
}
.nav {
  position: relative;
  width: 100%;
  padding: 20px var(--gap);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: var(--bg);
  opacity: 0.98;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-status {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.nav-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.nav-status-dot.open { background: var(--green); }
.nav-status-dot.closed { background: var(--red); animation: none; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.nav-hamburger {
  width: 32px; height: 20px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 100%; height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 800;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: var(--gap) calc(var(--gap) * 2);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(36px, 10vw, 64px);
  line-height: 1.1;
  color: var(--text-mute);
  transition: color 0.2s;
  display: block; padding: 6px 0;
}
.mobile-menu a:hover { color: var(--accent); }

/* PWA Install Button */
.btn-pwa-install {
  display: none;
  align-items: center; gap: 12px;
  width: fit-content; margin-top: 32px; padding: 16px 28px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 40px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-pwa-install:hover {
  background: var(--accent);
  color: var(--bg);
}
.btn-pwa-install .icon {
  width: 18px; height: 18px;
}

.mobile-menu-bottom {
  position: absolute; bottom: 40px; left: calc(var(--gap) * 2);
}
.mobile-menu-bottom p { font-size: 12px; color: var(--text-mute); }

/* ── ANNOUNCEMENT BANNER ────────────────────────────────────── */
.announcement {
  background: var(--accent);
  color: var(--bg);
  text-align: center;
  padding: 12px var(--gap);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  position: relative; z-index: 100;
}

/* ── ICONS ─────────────────────────────────────────────────── */
.icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  stroke: currentColor;
  display: inline-block;
  margin-top: -2px; /* Subtle optical alignment */
}
.footer-social .icon {
  width: 18px;
  height: 18px;
  transition: stroke 0.2s ease;
}
.footer-social a:hover .icon {
  stroke: var(--accent);
}
.contact-info-icon .icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gap) clamp(40px, 8vw, 80px);
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('');
  background-size: cover; background-position: center;
  transform: scale(1.1);
  transition: transform 0.1s linear;
  will-change: transform;
}

.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

.parallax-container {
  overflow: hidden;
  position: relative;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.hero-label::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 18vw, 160px);
  line-height: 0.88;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .word {
  display: inline-block;
  transform: translateY(110%) scale(0.9);
  transition: transform 1.2s var(--ease-out);
}
.hero-headline .word.visible { transform: translateY(0) scale(1); }
.hero-sub {
  max-width: 420px;
  font-size: clamp(14px, 2.5vw, 16px);
  color: rgba(255,255,255,0.7);
  margin: 24px 0 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out);
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 30px; right: var(--gap);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  writing-mode: vertical-rl; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mute); z-index: 2;
}
.hero-scroll::after {
  content: ''; display: block; width: 1px; height: 40px;
  background: var(--text-mute);
  animation: scrollLine 1.5s ease infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.btn-primary {
  background: var(--accent); color: var(--bg);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after {
  transform: rotate(45deg) translate(50%, 50%);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline:active { transform: scale(0.95); transition-duration: 0.1s; }
.btn-ghost { color: var(--text-dim); padding: 14px 0; }
.btn-ghost:hover { color: var(--accent); }
.btn-ghost:active { transform: scale(0.98); }
.btn-icon {
  width: 48px; height: 48px; padding: 0;
  border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center;
}


/* ── TICKER ─────────────────────────────────────────────────── */
.ticker {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 14px 0; background: var(--bg2);
}
.ticker-inner {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 20px);
  letter-spacing: 0.08em;
  padding: 0 32px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 24px;
}
.ticker-item::after {
  content: '✦'; color: var(--accent); font-size: 10px;
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── FAVORITES STRIP ────────────────────────────────────────── */
.favorites-strip {
  padding: 0 var(--gap);
  overflow: hidden;
}
.favorites-scroll {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
}
.favorites-scroll::-webkit-scrollbar { display: none; }
.fav-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--spring), border-color 0.3s;
  will-change: transform;
}
.fav-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.fav-card:active { transform: scale(0.97); transition-duration: 0.1s; }
.fav-card-img {
  width: 100%; height: 180px; object-fit: cover;
  background: var(--surface2);
  cursor: pointer;
}
.fav-card-body { padding: 16px; cursor: pointer; }
.fav-card-name { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.fav-card-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; margin-bottom: 12px; }
.fav-card-footer { display: flex; align-items: center; justify-content: space-between; }
.fav-card-price { font-size: 18px; font-weight: 700; color: var(--accent); }
.fav-card-btn { font-size: 11px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
.fav-card-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tag {
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 40px;
  border: 1px solid var(--border); color: var(--text-mute);
}
.tag.bestseller { border-color: var(--accent); color: var(--accent); }
.tag.new { border-color: var(--accent3); color: var(--accent3); }
.tag.popular { border-color: var(--accent2); color: var(--accent2); }
.tag.vegan { border-color: var(--green); color: var(--green); }
.tag.signature { border-color: var(--accent); color: var(--accent); }
.tag.offer { border-color: #ff4757; color: #ff4757; font-weight: 700; }

/* ── ABOUT SECTION ──────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(40px, 8vw, 80px);
  align-items: center;
}
.about-image-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}
.about-image {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s var(--ease-out);
}
.about-image-wrap:hover .about-image { transform: scale(1.02); }
.about-image-label {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(0,0,0,0.8);
  padding: 10px 16px; border-radius: var(--radius);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--border);
}
.about-stats {
  display: flex; gap: 32px; margin-top: 40px;
  flex-wrap: wrap;
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px);
  color: var(--accent); line-height: 1;
}
.stat-label { font-size: 12px; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* ── MENU PAGE ──────────────────────────────────────────────── */
.menu-header { padding: clamp(100px, 15vw, 140px) var(--gap) clamp(40px, 6vw, 60px); }
.category-tabs {
  display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
  padding: 0 var(--gap) 24px;
}
.category-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 28px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.cat-tab:hover { border-color: var(--accent); color: var(--text); }
.cat-tab.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.cat-icon { display: none; }

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px; background: var(--border);
}
.menu-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px var(--gap);
  background: var(--bg);
  cursor: pointer;
  transition: background 0.2s;
}
.menu-item:hover { background: var(--surface); }
.menu-item.unavailable { opacity: 0.4; pointer-events: none; }
.menu-item-img {
  flex: 0 0 80px; width: 80px; height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface2);
  cursor: pointer;
}
.menu-item-info { flex: 1; cursor: pointer; }
.menu-item-name {
  font-family: var(--font-serif); font-size: 17px;
  font-weight: 700; margin-bottom: 4px;
}
.menu-item-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 8px; }
.menu-item-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.menu-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.menu-item-price { font-size: 17px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.menu-item-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; color: var(--bg);
  transition: transform 0.2s var(--spring);
}
.menu-item-add:hover { transform: scale(1.15); }
.menu-item-add:active { transform: scale(0.9); }

/* ── GALLERY ────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.gallery-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1; cursor: zoom-in;
  transition: transform 0.4s var(--spring);
  will-change: transform;
}
.gallery-item:active { transform: scale(0.96); transition-duration: 0.1s; }
.gallery-item:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.gallery-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(240,235,227,0.7);
  transform: translateY(100%); transition: transform 0.3s var(--ease-out);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-out);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  font-size: 24px; color: var(--text-dim); cursor: pointer;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--text); }
.lightbox-caption {
  position: absolute; bottom: 30px;
  font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-grid {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border);
}
.testimonial-item {
  padding: 32px var(--gap); background: var(--bg);
}
.testimonial-stars { color: var(--accent2); font-size: 14px; margin-bottom: 12px; }
.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 3vw, 20px);
  font-style: italic; font-weight: 400;
  line-height: 1.5; color: var(--text);
  margin-bottom: 16px;
}
.testimonial-name { font-size: 12px; letter-spacing: 0.12em; color: var(--text-mute); text-transform: uppercase; }

/* ── FLOATING CART / ORDER CTA ──────────────────────────────── */
.floating-cta {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  display: flex; align-items: center; gap: 14px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s var(--spring), box-shadow 0.3s, opacity 0.3s;
  white-space: nowrap; cursor: pointer;
  opacity: 0; pointer-events: none;
  will-change: transform, opacity;
}
.floating-cta.visible { opacity: 1; pointer-events: all; }
.floating-cta:hover { transform: translateX(-50%) translateY(-5px); box-shadow: 0 12px 50px rgba(0,0,0,0.5); }
.floating-cta:active { transform: translateX(-50%) scale(0.94); }

.cart-count {
  background: var(--bg); color: var(--accent);
  border-radius: 50%; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  transition: transform 0.3s var(--spring);
}
.cart-count.bump {
  animation: countBump 0.4s var(--spring);
}
@keyframes countBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* ── ORDER MODAL ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,0.85);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

/* Product Detail Modal */
.detail-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -40%) scale(0.9);
  width: 92%; max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease, transform 0.6s var(--spring);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  will-change: transform, opacity;
}
.detail-modal.open {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}
.detail-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface2);
  position: relative;
}
.detail-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.detail-modal.open .detail-img { transform: scale(1.08); }
.detail-content {
  padding: 32px;
}
.detail-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 12px; gap: 16px;
}
.detail-name {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1;
}
.detail-price {
  font-size: 22px; font-weight: 700; color: var(--accent);
}
.detail-desc {
  font-size: 15px; line-height: 1.6; color: var(--text-dim);
  margin-bottom: 32px;
}
.detail-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}
.detail-close:hover { background: rgba(0,0,0,0.8); transform: scale(1.1); }

.modal {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 850;
  background: var(--surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-top: 1px solid var(--border);
  padding: 24px var(--gap) calc(var(--gap) + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
  max-height: 90svh; overflow-y: auto;
}
.modal.open { transform: translateY(0); }
.modal-handle {
  width: 36px; height: 3px;
  background: var(--border); border-radius: 2px;
  margin: 0 auto 24px;
}
.modal-title {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  margin-bottom: 4px;
}
.modal-subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }
.order-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.order-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px; background: var(--surface2);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.order-item-name { font-size: 15px; font-weight: 600; }
.order-item-price { font-size: 14px; color: var(--accent); }
.order-item-qty {
  display: flex; align-items: center; gap: 12px; font-size: 14px;
}
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border); color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: background 0.2s;
}
.qty-btn:hover { background: var(--accent); color: var(--bg); }
.order-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.order-total-label { font-size: 14px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.order-total-amount { font-family: var(--font-display); font-size: 28px; color: var(--accent); }
.order-name-input {
  width: 100%; padding: 14px 16px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
  outline: none; margin-bottom: 12px;
  transition: border-color 0.2s;
}
.order-name-input:focus { border-color: var(--accent); }
.order-name-input::placeholder { color: var(--text-mute); }

/* ── SKELETON ───────────────────────────────────────────────── */
.skeleton {
  background: var(--surface2);
  border-radius: var(--radius);
  animation: shimmer 1.4s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.skeleton::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.04) 50%, transparent 100%);
  animation: shimmerSlide 1.4s ease-in-out infinite;
}
@keyframes shimmerSlide {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0; 
  transform: translateY(40px) scale(0.94) rotate(0.002deg); /* Added microscopic rotate to fix subpixel rendering blur */
  transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.reveal.visible { 
  opacity: 1; 
  transform: translateY(0) scale(1) rotate(0); 
}
.reveal-delay-1 { --d: 0.1s; }
.reveal-delay-2 { --d: 0.2s; }
.reveal-delay-3 { --d: 0.3s; }
.reveal-delay-4 { --d: 0.4s; }

/* ── DIVIDER ────────────────────────────────────────────────── */
.divider {
  width: 100%; height: 1px;
  background: var(--border); border: none; margin: 0;
}

/* ── ADMIN LIVE PREVIEW SYSTEM ──────────────────────────── */
.admin-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.admin-app-layout {
  display: flex;
  flex: 1;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.admin-main-view {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
}

.admin-preview {
  width: 440px; /* Increased to fit phone mockup with padding */
  background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: width 0.3s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 850;
  flex-shrink: 0;
}

.admin-preview.fullscreen {
  position: fixed;
  inset: 0;
  width: 100% !important;
  z-index: 2000;
}

.preview-header {
  height: 60px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg2);
}

.preview-toggles {
  display: flex;
  gap: 8px;
  background: var(--surface);
  padding: 4px;
  border-radius: 30px;
}

.preview-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.preview-toggle:hover {
  color: var(--text);
}

.preview-toggle.active {
  background: var(--accent);
  color: var(--bg);
}

.preview-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.phone-mockup {
  width: 375px;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 375 / 667;
  background: #fff;
  border-radius: 40px;
  border: 12px solid #1a1a1a;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--spring);
  transform-origin: center;
  flex-shrink: 0;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 150px; height: 30px;
  background: #1a1a1a;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-mockup iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: var(--bg);
}

/* Preview Sizes */
.preview-tablet .phone-mockup { 
  width: 768px; 
  aspect-ratio: 768 / 1024; 
  height: auto;
  border-radius: 20px; 
  border-width: 16px; 
}
.preview-desktop .phone-mockup { 
  width: 100%; 
  height: 100%; 
  max-width: none;
  max-height: none;
  border-radius: 0; 
  border: none; 
}
.preview-desktop .phone-mockup::after { display: none; }

@media (max-width: 1024px) {
  .admin-preview { width: 320px; }
}

@media (max-width: 768px) {
  .admin-preview {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    transform: translateY(100%);
    border-left: none;
  }
  .admin-preview.open {
    transform: translateY(0);
  }
  .preview-body { padding: 0; }
  .phone-mockup { border: none; border-radius: 0; width: 100%; height: 100%; }
  .phone-mockup::after { display: none; }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: clamp(60px, 12vw, 120px) var(--gap) 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.footer-logo span { color: var(--accent); }
.footer-tagline { 
  font-family: var(--font-serif); 
  font-style: italic; 
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
}
.footer-heading { 
  font-family: var(--font-display);
  font-size: 13px; 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  color: var(--text-mute); 
  margin-bottom: 24px; 
  font-weight: 600;
}
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a, .footer-links span { 
  font-size: 15px; 
  color: var(--text-dim); 
  transition: all 0.3s var(--ease-out); 
}
.footer-links a:hover { color: var(--accent); transform: translateX(4px); }
.footer-hours { display: flex; flex-direction: column; gap: 8px; }
.footer-hours-item { 
  display: flex; 
  justify-content: space-between; 
  gap: 24px; 
  font-size: 14px; 
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  padding-bottom: 8px;
}
.footer-hours-day { color: var(--text-mute); font-weight: 500; }
.footer-social { display: flex; gap: 20px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text-dim);
  transition: all 0.3s var(--ease-out);
}
.footer-social a:hover { 
  border-color: var(--accent); 
  color: var(--accent); 
  background: rgba(200,149,108,0.05);
  transform: translateY(-4px);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-copy { 
  font-size: 12px; 
  color: var(--text-mute); 
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; text-align: center; gap: 50px; }
  .footer-social { justify-content: center; }
  .footer-hours-item { justify-content: center; gap: 40px; }
  .footer-links a:hover { transform: none; }
}

/* ── PAGE HEADER (generic) ──────────────────────────────────── */
.page-header {
  padding: clamp(100px, 15vw, 140px) var(--gap) clamp(40px, 6vw, 60px);
  border-bottom: 1px solid var(--border);
}
.page-header-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.page-header-label::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}

/* ── CONTACT / ABOUT STORY SECTION ─────────────────────────── */
.story-block {
  display: grid; grid-template-columns: 1fr;
  gap: 40px; align-items: start;
}
.story-quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 36px);
  font-style: italic; font-weight: 400;
  line-height: 1.4; color: var(--text);
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* ── CONTACT INFO ───────────────────────────────────────────── */
.contact-grid {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border);
}
.contact-item {
  padding: 24px var(--gap); background: var(--bg);
  display: flex; align-items: flex-start; gap: 20px;
}
.contact-item-icon {
  font-size: 20px; margin-top: 2px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; color: var(--text); }
.contact-item-value a { color: var(--accent); transition: opacity 0.2s; }
.contact-item-value a:hover { opacity: 0.75; }

/* ── ADMIN STYLES (Modern B&W Studio) ─────────────────────── */
.admin-body {
  --admin-bg: #fdfdfd;
  --admin-surface: #ffffff;
  --admin-surface-alt: #f8f8f8;
  --admin-border: #eeeeee;
  --admin-text: #000000;
  --admin-text-dim: #555555;
  --admin-text-mute: #999999;
  --admin-accent: #000000;
  --admin-red: #ff3b30;
  --admin-green: #34c759;
  
  background: var(--admin-bg);
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--admin-text);
  overflow-x: hidden;
}

.admin-wrapper {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--admin-bg);
}

.admin-sidebar {
  position: relative;
  width: 260px;
  height: 100vh;
  background: var(--admin-surface);
  border-right: 1px solid var(--admin-border);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out);
  z-index: 1000;
  flex-shrink: 0;
  overflow-y: auto;
}

.admin-sidebar-logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  padding: 0 24px 32px;
  border-bottom: 1px solid var(--admin-border);
  margin-bottom: 24px;
  text-transform: uppercase;
  color: var(--admin-text);
}
.admin-sidebar-logo span { color: var(--admin-text-mute); font-weight: 400; }

.admin-nav-group { margin-bottom: 32px; }
.admin-nav-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--admin-text-mute);
  padding: 0 24px 12px;
  font-weight: 700;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  cursor: pointer;
  font-size: 14px;
  color: var(--admin-text-dim);
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
}
.admin-nav-item:hover {
  background: var(--admin-surface-alt);
  color: var(--admin-text);
}
.admin-nav-item.active {
  background: var(--admin-surface-alt);
  color: var(--admin-text);
  border-left-color: var(--admin-text);
}
.admin-nav-icon { font-size: 18px; width: 24px; opacity: 0.7; }

.admin-main-view {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  background: var(--admin-bg);
}

.admin-content {
  padding: 48px 40px;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--admin-border);
}
.admin-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ── ADMIN CARDS & FORMS ─────────────────────────────────── */
.admin-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.admin-card-title {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--admin-text);
  margin-bottom: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Accordion/Section Styling */
.admin-section {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--admin-surface);
}
.admin-section-header {
  padding: 16px 24px;
  background: var(--admin-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: background 0.2s;
}
.admin-section-header:hover { background: var(--admin-surface-alt); }
.admin-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-section-content {
  padding: 24px;
  border-top: 1px solid var(--admin-border);
  display: none;
}
.admin-section.open .admin-section-content { display: block; }
.admin-section.open .admin-section-icon { transform: rotate(180deg); }
.admin-section-icon { transition: transform 0.3s var(--ease-out); font-size: 12px; color: var(--admin-text-mute); }

.admin-form-group { margin-bottom: 24px; }
.admin-form-group:last-child { margin-bottom: 0; }
.admin-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--admin-text-mute);
  margin-bottom: 10px;
  font-weight: 700;
}

.admin-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background: var(--admin-bg);
  border: 1px solid var(--admin-border);
  border-radius: 6px;
  color: var(--admin-text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}
.admin-input:focus {
  border-color: var(--admin-text);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}
.admin-textarea {
  min-height: 100px;
  padding: 12px 14px;
  height: auto;
  resize: vertical;
}
.admin-helper-text {
  font-size: 12px;
  color: var(--admin-text-mute);
  margin-top: 8px;
  line-height: 1.5;
}

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── STATS & LISTS ───────────────────────────────────────── */
.admin-stat-card {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}
.admin-stat-val {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--admin-text);
  line-height: 1;
  margin-bottom: 8px;
}
.admin-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--admin-text-mute);
  font-weight: 700;
}

.admin-menu-item {
  background: var(--admin-surface);
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.admin-menu-item:hover { border-color: var(--admin-text-mute); }
.admin-menu-thumb {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
  background: var(--admin-surface-alt);
}
.admin-menu-info { flex: 1; }
.admin-menu-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.admin-menu-cat { font-size: 12px; color: var(--admin-text-mute); text-transform: uppercase; letter-spacing: 0.05em; }

.admin-actions { display: flex; gap: 8px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  background: var(--admin-text) !important;
  color: #fff !important;
  border: none;
}
.btn-outline {
  background: transparent !important;
  border: 1px solid var(--admin-border) !important;
  color: var(--admin-text) !important;
}
.btn-outline:hover {
  background: var(--admin-surface-alt) !important;
  border-color: var(--admin-text) !important;
}

/* ── SAVE BAR ────────────────────────────────────────────── */
#adminSaveBar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--admin-surface);
  border: 1px solid var(--admin-text);
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.5s var(--ease-out);
  opacity: 0;
  min-width: 340px;
}
#adminSaveBar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.save-status-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--admin-text);
}
.admin-save-btn {
  background: var(--admin-text);
  color: #fff;
  height: 36px;
  padding: 0 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
}

/* ── MODALS ──────────────────────────────────────────────── */
.modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: 500px;
  background: var(--admin-surface);
  border-radius: 24px 24px 0 0;
  padding: 32px;
  z-index: 1500;
  transition: transform 0.5s var(--ease-out);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}
.modal.open { transform: translate(-50%, 0); }

/* ── MOBILE RESPONSIVENESS ───────────────────────────────── */
.admin-mobile-header {
  display: none;
  height: 60px;
  background: var(--admin-surface);
  border-bottom: 1px solid var(--admin-border);
  position: sticky;
  top: 0;
  z-index: 1100;
  align-items: center;
  padding: 0 20px;
}
.admin-mobile-title {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    width: 280px;
    z-index: 1500;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { padding: 32px 20px 100px; }
  .admin-mobile-header { display: flex; }
  .admin-grid-2, .admin-grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .admin-header { margin-bottom: 32px; }
  
  .admin-menu-item { flex-direction: column; align-items: flex-start; padding: 12px; }
  .admin-menu-thumb { width: 100%; height: 180px; }
  .admin-actions { width: 100%; justify-content: space-between; margin-top: 12px; }
  
  #adminSaveBar {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    min-width: 0;
    transform: translateY(100px);
  }
  #adminSaveBar.visible { transform: translateY(0); }
  
  .modal {
    max-width: none;
    border-radius: 0;
    height: 100%;
    max-height: 100%;
    padding: 24px 20px;
  }
}

/* ── PREVIEW (SPLIT VIEW) ────────────────────────────────── */
.admin-preview {
  width: 400px;
  background: #f0f0f0;
  border-left: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
}
.preview-header {
  height: 60px;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.preview-body {
  flex: 1;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.phone-mockup {
  width: 320px;
  height: 640px;
  background: #fff;
  border-radius: 32px;
  border: 8px solid #000;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}
.phone-mockup iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 1200px) {
  .admin-preview { display: none; }
}

/* ── UTILS ───────────────────────────────────────────────── */
.hide-mob { display: inline-flex; }
@media (max-width: 768px) { .hide-mob { display: none; } }
iOS zoom */
}
x; } /* Prevents iOS zoom */
}
iOS zoom */
}
