/* ═══════════════════════════════════════════════════════════
   Il Tuo Ristorante — Premium CSS v2.0
   Mobile-first · Dark · Animated · Professional
   Fonts: Cormorant Garamond (display) + Inter (body)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ────────────────────────────────────────────── */
:root {
  --red:         #e63329;
  --red-d:       #c0392b;
  --red-glow:    rgba(230,51,41,0.2);
  --green:       #2ecc71;
  --green-d:     #27ae60;
  --green-glow:  rgba(46,204,113,0.15);
  --gold:        #c9a96e;
  --gold-light:  #e8c98a;
  --bg:          #080808;
  --bg2:         #0d0d0d;
  --bg3:         #121212;
  --bg4:         #181818;
  --white:       #ffffff;
  --off:         #f0ece4;
  --muted:       #888;
  --muted2:      #444;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);
  --radius:      4px;
  --radius-lg:   12px;
  --nav-h:       68px;
  --trans:       0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ────────────────────────────────────────────────── */
*,*::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(--white);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display:block; max-width:100%; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; font-family:inherit; border:none; background:none; }
ul { list-style:none; }
input,textarea,select { font-family:inherit; }

/* ── Typography ───────────────────────────────────────────── */
.font-display { font-family:'Cormorant Garamond',Georgia,serif; }

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width:1200px; margin:0 auto; padding:0 1.25rem; }
.section { position:relative; z-index:1; }
.sec-pad { padding:5rem 0; }
@media(max-width:768px){ .sec-pad { padding:3.5rem 0; } }

/* ── Section Headers ──────────────────────────────────────── */
.sec-eyebrow {
  display:inline-block; font-size:0.65rem; letter-spacing:0.5em;
  text-transform:uppercase; color:var(--red); font-weight:600;
  margin-bottom:0.8rem;
}
.sec-title {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.2rem,5vw,3.8rem);
  font-weight:700; line-height:1.1; color:var(--white);
}
.sec-title em { color:var(--green); font-style:italic; }
.sec-title strong { color:var(--red); }
.sec-desc { color:var(--muted); font-size:0.95rem; line-height:1.85; margin-top:1rem; }

/* Italian flag divider */
.flag-divider {
  display:flex; align-items:center; gap:4px; margin:1.2rem 0;
}
.flag-divider span { height:2px; border-radius:1px; }
.flag-divider .fr { width:32px; background:var(--red); }
.flag-divider .fw { width:32px; background:rgba(255,255,255,0.25); }
.flag-divider .fg { width:32px; background:var(--green); }

/* ── Animated BG ──────────────────────────────────────────── */
#canvas-bg {
  position:fixed; inset:0;
  pointer-events:none; z-index:0; opacity:0.5;
}
.bg-gradient {
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(230,51,41,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(46,204,113,0.05) 0%, transparent 60%);
  animation:bgshift 20s ease-in-out infinite alternate;
}
@keyframes bgshift {
  0%   { background-position:0% 0%; opacity:1; }
  50%  {
    background:
      radial-gradient(ellipse 55% 55% at 80% 30%, rgba(230,51,41,0.08) 0%, transparent 60%),
      radial-gradient(ellipse 45% 55% at 20% 70%, rgba(46,204,113,0.06) 0%, transparent 60%);
  }
  100% {
    background:
      radial-gradient(ellipse 50% 50% at 50% 60%, rgba(230,51,41,0.05) 0%, transparent 60%),
      radial-gradient(ellipse 60% 45% at 60% 20%, rgba(46,204,113,0.07) 0%, transparent 60%);
  }
}

/* ── Preloader ────────────────────────────────────────────── */
#preloader {
  position:fixed; inset:0; z-index:99999;
  background:var(--bg); display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:1.2rem;
  transition:opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.out { opacity:0; visibility:hidden; pointer-events:none; }
.preloader-logo {
  font-family:'Cormorant Garamond',serif; font-size:2rem;
  font-style:italic; color:var(--white);
}
.preloader-logo span { color:var(--red); }
.preloader-track { width:100px; height:2px; background:var(--bg3); overflow:hidden; }
.preloader-fill {
  height:100%; width:0;
  background:linear-gradient(90deg, var(--red), var(--green));
  animation:preload 1.4s ease forwards;
}
@keyframes preload { to { width:100%; } }

/* ── NAVBAR ───────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  /* 3 coloane: logo | links centrate | dreapta */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 2rem;
  transition: background var(--trans), backdrop-filter var(--trans), height var(--trans);
}
#nav.solid {
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  height: 58px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; justify-self: start; }
.nav-logo img { height: var(--logo-h, 52px); width: auto; object-fit: contain; transition: height var(--trans); }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; }
.nav-logo-text .script { font-style: italic; color: var(--red); font-size: 0.9rem; display: block; line-height: 1; }
.nav-logo-text .name { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.nav-logo-text .sub { font-size: 0.5rem; letter-spacing: 0.4em; color: var(--muted); text-transform: uppercase; }
.nav-logo-bar { display: flex; gap: 2px; margin-top: 3px; }
.nav-logo-bar span { height: 1.5px; width: 14px; }
.nav-logo-bar .r { background: var(--red); }
.nav-logo-bar .w { background: rgba(255,255,255,0.3); }
.nav-logo-bar .g { background: var(--green); }

/* Links — coloana din mijloc, centrate perfect */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  justify-self: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
  padding-bottom: 3px;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* Dreapta: tel + CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: end;
}

/* Telefon — pill subtil */
.nav-tel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-tel:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(46,204,113,0.06);
}
.nav-tel-ico { display: flex; align-items: center; opacity: 0.6; }

/* Comandă — pill roșu */
.nav-order {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1.05rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid var(--red);
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.nav-order::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.nav-order:hover {
  background: var(--red-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230,51,41,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; z-index: 1001;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.35s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE NAV ──────────────────────────────────────────── */
/* Pe mobile: nav e flex normal cu logo | CTA | hamburger */
@media(max-width:900px) {
  #nav {
    display: flex;
    justify-content: space-between;
    padding: 0 1.25rem;
  }
  .nav-links { display: none; }
  .nav-right  { display: none; }
  /* Buton Comandă acum vizibil pe mobile între logo și hamburger */
  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--red);
    color: var(--white);
    padding: 0.4rem 0.9rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    white-space: nowrap;
    margin-right: 0.5rem;
  }
  .hamburger { display: flex; }
}
@media(min-width:901px) {
  .nav-mobile-cta { display: none; }
}

/* Overlay menu mobil — fullscreen */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 998;
  background: rgba(5,5,5,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; }

/* Linkuri mari */
.mobile-menu-links {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.2rem;
  margin-bottom: 2rem;
}
.mobile-menu-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem; font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
  padding: 0.3rem 1rem;
  letter-spacing: 0.02em;
}
.mobile-menu-links a:hover,
.mobile-menu-links a.active { color: var(--white); }
.mobile-menu-links a.active { color: var(--red); }

/* Divider tricolor */
.mobile-menu-divider {
  display: flex; gap: 4px; margin-bottom: 1.8rem;
}
.mobile-menu-divider span { height: 1.5px; width: 28px; border-radius: 2px; }
.mobile-menu-divider .r { background: var(--red); }
.mobile-menu-divider .w { background: rgba(255,255,255,0.2); }
.mobile-menu-divider .g { background: var(--green); }

/* Acțiuni: telefon + WhatsApp */
.mobile-menu-actions {
  display: flex; flex-direction: column;
  align-items: center; gap: 0.7rem;
}
.mobile-menu-actions a {
  font-size: 0.88rem; color: var(--muted);
  letter-spacing: 0.05em; transition: color 0.2s;
}
.mobile-menu-actions a:hover { color: var(--white); }

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  transform-origin: center;
  animation: kenburns 28s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate(-8px, -4px); }
  to   { transform: scale(1.12) translate(8px, 4px); }
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 30%, rgba(8,8,8,0.5) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.3) 0%, rgba(8,8,8,0.65) 55%, rgba(8,8,8,0.95) 100%);
}
.hero-noise {
  position: absolute; inset: 0; z-index: 2; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Hero content — centrat vertical, cu spatiu pentru stats jos */
.hero-content {
  position: relative; z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 2rem) 1.25rem 2rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* Stats bar — în flux normal, nu absolute */
.hero-stats {
  position: relative; z-index: 3;
  display: flex;
  border-top: 1px solid var(--border);
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}
.hero-stat {
  flex: 1; padding: 1rem 0.5rem; text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--trans);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,0.03); }
.hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--red); line-height: 1;
}
.hero-stat-num.g { color: var(--green); }
.hero-stat-label {
  font-size: 0.58rem; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase; margin-top: 3px;
}

/* Mobile stats */
@media(max-width: 480px) {
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stat { border-right: 1px solid var(--border) !important; }
  .hero-stat:nth-child(3) { border-right: none !important; }
  .hero-stat:nth-child(4) { border-top: 1px solid var(--border); border-right: 1px solid var(--border) !important; }
  .hero-stat:nth-child(5) { border-top: 1px solid var(--border); grid-column: span 2; border-right: none !important; }
}

/* Flag bar */
.hero-flag {
  display:flex; justify-content:center; gap:6px; margin-bottom:1.8rem;
}
.hero-flag span { height:3px; width:36px; border-radius:2px; }
.hero-flag .r { background:var(--red); }
.hero-flag .w { background:rgba(255,255,255,0.4); }
.hero-flag .g { background:var(--green); }

.hero-eyebrow {
  font-family:'Cormorant Garamond',serif; font-style:italic;
  font-size:clamp(1.4rem,4vw,2rem); color:rgba(255,255,255,0.85);
  margin-bottom:0.5rem;
}
.hero-title {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(3rem,8vw,6rem);
  font-weight:700; line-height:1; text-transform:uppercase;
  letter-spacing:0.04em; color:var(--white);
}
.hero-title .red { color:var(--red); font-style:italic; font-weight:600; }
.hero-title .grn { color:var(--green); }

.hero-subtitle {
  font-size:clamp(0.75rem,2vw,0.85rem);
  letter-spacing:0.4em; text-transform:uppercase;
  color:rgba(255,255,255,0.5); margin:1.4rem 0;
}

/* Meniu zilei card în hero */
.hero-meniu-zilei {
  display:inline-flex; align-items:center; gap:0.8rem;
  background:rgba(201,169,110,0.1); border:1px solid rgba(201,169,110,0.3);
  padding:0.7rem 1.4rem; margin-bottom:1.5rem; border-radius:var(--radius);
}
.hero-meniu-zilei .badge { font-size:0.6rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--gold); }
.hero-meniu-zilei .name { font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--white); font-style:italic; }
.hero-meniu-zilei .price { font-size:0.85rem; color:var(--gold); font-weight:600; }

.hero-buttons {
  display:flex; gap:0.8rem; justify-content:center; flex-wrap:wrap;
}
.btn-hero-primary {
  background:var(--red); color:var(--white);
  padding:0.9rem 2rem; font-size:0.78rem; letter-spacing:0.18em;
  text-transform:uppercase; font-weight:600; border-radius:var(--radius);
  transition:all var(--trans); display:inline-flex; align-items:center; gap:0.5rem;
}
.btn-hero-primary:hover { background:var(--red-d); transform:translateY(-2px); box-shadow:0 10px 30px var(--red-glow); }
.btn-hero-ghost {
  background:rgba(255,255,255,0.08); color:var(--white);
  padding:0.9rem 2rem; font-size:0.78rem; letter-spacing:0.18em;
  text-transform:uppercase; border:1px solid rgba(255,255,255,0.2); border-radius:var(--radius);
  transition:all var(--trans); display:inline-flex; align-items:center; gap:0.5rem;
  backdrop-filter:blur(8px);
}
.btn-hero-ghost:hover { background:rgba(255,255,255,0.15); border-color:rgba(255,255,255,0.4); }

/* Hero scroll */
.hero-scroll {
  position:absolute; bottom:5.5rem; left:50%; transform:translateX(-50%);
  z-index:3; display:flex; flex-direction:column; align-items:center; gap:6px;
  font-size:0.6rem; letter-spacing:0.4em; color:rgba(255,255,255,0.3); text-transform:uppercase;
}
.hero-scroll-line {
  width:1px; height:40px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation:scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100%{opacity:0.3;transform:scaleY(0.5)} 50%{opacity:1;transform:scaleY(1)} }

/* Hero stat hover */
@media(max-width:480px){ .hero-stat-label { font-size:0.5rem; letter-spacing:0.1em; } }

/* ── DELIVERY BUTTONS SECTION ─────────────────────────────── */
.delivery-bar {
  background:var(--bg2); border-bottom:1px solid var(--border);
  padding:1rem 0;
}
.delivery-bar-inner {
  display:flex; align-items:center; justify-content:center;
  gap:0.75rem; flex-wrap:wrap;
}
.delivery-btn {
  display:inline-flex; align-items:center; gap:0.55rem;
  padding:0.65rem 1.3rem; border:1px solid var(--border2);
  font-size:0.75rem; letter-spacing:0.1em; text-transform:uppercase; font-weight:500;
  border-radius:var(--radius); transition:all var(--trans);
  color:var(--muted);
}
.delivery-btn:hover { color:var(--white); border-color:rgba(255,255,255,0.25); background:rgba(255,255,255,0.04); }
.delivery-btn img { width:18px; height:18px; object-fit:contain; border-radius:3px; }
.delivery-btn.glovo:hover { border-color:rgba(250,210,0,0.5); color:#fad200; }
.delivery-btn.bolt:hover { border-color:rgba(50,205,50,0.4); color:#32cd32; }
.delivery-btn.wa:hover { border-color:rgba(37,211,102,0.4); color:#25d166; }
.delivery-sep { width:1px; height:20px; background:var(--border); flex-shrink:0; }
@media(max-width:600px){ .delivery-sep { display:none; } }

/* ── CARDS / BUTTONS generic ──────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:0.5rem;
  padding:0.8rem 1.8rem; font-size:0.76rem; letter-spacing:0.16em;
  text-transform:uppercase; font-weight:600; border-radius:var(--radius);
  transition:all var(--trans); cursor:pointer; border:none;
}
.btn-red { background:var(--red); color:var(--white); border:1px solid var(--red); }
.btn-red:hover { background:var(--red-d); transform:translateY(-2px); box-shadow:0 8px 24px var(--red-glow); }
.btn-green { background:var(--green); color:#000; border:1px solid var(--green); }
.btn-green:hover { background:var(--green-d); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--white); border:1px solid var(--border2); }
.btn-ghost:hover { border-color:rgba(255,255,255,0.3); background:rgba(255,255,255,0.05); }
.btn-outline-red { background:transparent; color:var(--red); border:1px solid var(--red); }
.btn-outline-red:hover { background:var(--red); color:var(--white); }
.btn-outline-green { background:transparent; color:var(--green); border:1px solid var(--green); }
.btn-outline-green:hover { background:var(--green); color:#000; }
.btn-sm { padding:0.5rem 1rem; font-size:0.68rem; }
.btn-lg { padding:1rem 2.4rem; font-size:0.82rem; }
.btn-block { width:100%; }

/* Badges */
.badge {
  display:inline-block; padding:0.2rem 0.65rem;
  font-size:0.58rem; letter-spacing:0.2em; text-transform:uppercase;
  font-weight:700; border-radius:2px;
}
.badge-red   { background:rgba(230,51,41,0.14); color:var(--red); border:1px solid rgba(230,51,41,0.3); }
.badge-green { background:rgba(46,204,113,0.12); color:var(--green); border:1px solid rgba(46,204,113,0.3); }
.badge-gold  { background:rgba(201,169,110,0.12); color:var(--gold); border:1px solid rgba(201,169,110,0.3); }
.badge-gray  { background:rgba(255,255,255,0.06); color:var(--muted); border:1px solid var(--border); }

/* ── MENU SECTION ─────────────────────────────────────────── */
.menu-tabs-wrap {
  overflow-x:auto; scrollbar-width:none;
  border-bottom:1px solid var(--border); margin-bottom:2rem;
}
.menu-tabs-wrap::-webkit-scrollbar { display:none; }
.menu-tabs { display:flex; gap:0; width:max-content; min-width:100%; }
.menu-tab-btn {
  padding:0.9rem 1.4rem; font-size:0.7rem; letter-spacing:0.18em;
  text-transform:uppercase; color:var(--muted); font-weight:500;
  border-bottom:2px solid transparent; margin-bottom:-1px;
  white-space:nowrap; transition:all var(--trans);
  display:flex; align-items:center; gap:0.5rem;
}
.menu-tab-btn:hover { color:var(--white); }
.menu-tab-btn.active { color:var(--red); border-bottom-color:var(--red); }

.menu-grid { display:none; }
.menu-grid.active {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:1px; background:var(--border);
}
@media(max-width:640px){ .menu-grid.active { grid-template-columns:1fr; } }

/* Menu card */
.menu-card {
  background:var(--bg2); padding:1.4rem;
  display:flex; gap:1rem; align-items:flex-start;
  transition:background var(--trans); position:relative;
  overflow:hidden;
}
.menu-card::before {
  content:''; position:absolute; left:0; top:0; bottom:0; width:2px;
  background:var(--red); transform:scaleY(0); transform-origin:bottom;
  transition:transform 0.35s ease;
}
.menu-card:hover { background:var(--bg3); }
.menu-card:hover::before { transform:scaleY(1); }
.menu-card-img {
  width:72px; height:72px; object-fit:cover; border-radius:var(--radius);
  flex-shrink:0; background:var(--bg4);
}
.menu-card-img-ph {
  width:72px; height:72px; background:var(--bg4); border-radius:var(--radius);
  display:flex; align-items:center; justify-content:center;
  font-size:1.8rem; flex-shrink:0;
}
.menu-card-body { flex:1; min-width:0; }
.menu-card-name {
  font-family:'Cormorant Garamond',serif; font-size:1.05rem;
  font-weight:700; color:var(--white); line-height:1.2; margin-bottom:0.2rem;
}
.menu-card-it { font-size:0.7rem; color:var(--muted); font-style:italic; margin-bottom:0.4rem; }
.menu-card-desc { font-size:0.77rem; color:var(--muted); line-height:1.6; }
.menu-card-meta { display:flex; align-items:center; gap:0.5rem; margin-top:0.5rem; flex-wrap:wrap; }
.menu-card-right {
  display:flex; flex-direction:column; align-items:flex-end;
  gap:0.6rem; flex-shrink:0;
}
.menu-card-price {
  font-family:'Cormorant Garamond',serif; font-size:1.2rem;
  font-weight:700; color:var(--red); white-space:nowrap; line-height:1;
}
.menu-card-price .old { font-size:0.8rem; color:var(--muted); text-decoration:line-through; display:block; }
/* Add to cart button */
.btn-add {
  width:34px; height:34px; border-radius:50%;
  background:var(--red); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem; line-height:1; transition:all var(--trans);
  border:none; cursor:pointer; flex-shrink:0;
}
.btn-add:hover { background:var(--red-d); transform:scale(1.12); box-shadow:0 4px 16px var(--red-glow); }

/* ── CART SIDEBAR ─────────────────────────────────────────── */
#cart-overlay {
  display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6);
  backdrop-filter:blur(4px); z-index:800;
}
#cart-overlay.open { display:block; }
#cart-sidebar {
  position:fixed; top:0; right:0; bottom:0; width:min(400px, 100vw);
  background:var(--bg2); border-left:1px solid var(--border);
  z-index:801; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow:hidden;
}
#cart-sidebar.open { transform:translateX(0); }
.cart-header {
  padding:1.2rem 1.4rem; border-bottom:1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; flex-shrink:0;
}
.cart-header h3 { font-family:'Cormorant Garamond',serif; font-size:1.3rem; }
.cart-close { font-size:1.4rem; color:var(--muted); transition:color var(--trans); padding:4px; }
.cart-close:hover { color:var(--red); }
.cart-body { flex:1; overflow-y:auto; padding:1rem 1.4rem; }
.cart-item { display:flex; gap:0.8rem; padding:0.8rem 0; border-bottom:1px solid var(--border); align-items:center; }
.cart-item:last-child { border-bottom:none; }
.cart-item-name { flex:1; font-size:0.85rem; font-weight:500; color:var(--white); }
.cart-item-price { font-size:0.85rem; color:var(--red); white-space:nowrap; }
.cart-qty {
  display:flex; align-items:center; gap:0.4rem;
}
.cart-qty button {
  width:24px; height:24px; border-radius:50%;
  background:var(--bg3); border:1px solid var(--border);
  color:var(--white); font-size:0.9rem; display:flex; align-items:center; justify-content:center;
  transition:all var(--trans);
}
.cart-qty button:hover { background:var(--red); border-color:var(--red); }
.cart-qty-num { font-size:0.85rem; font-weight:600; min-width:20px; text-align:center; }
.cart-empty { text-align:center; padding:3rem 1rem; color:var(--muted); }
.cart-empty-icon { font-size:3rem; margin-bottom:0.8rem; }
.cart-footer {
  padding:1.2rem 1.4rem; border-top:1px solid var(--border); flex-shrink:0;
  background:var(--bg3);
}
.cart-total-row { display:flex; justify-content:space-between; margin-bottom:0.5rem; font-size:0.85rem; color:var(--muted); }
.cart-total-row.main { font-size:1rem; font-weight:600; color:var(--white); margin-top:0.5rem; padding-top:0.5rem; border-top:1px solid var(--border); }
.cart-total-row.main .amount { color:var(--red); font-family:'Cormorant Garamond',serif; font-size:1.2rem; }

/* Float cart button */
#cart-float {
  position:fixed; bottom:1.5rem; right:1.5rem; z-index:700;
  background:var(--red); color:var(--white);
  width:56px; height:56px; border-radius:50%;
  display:none; align-items:center; justify-content:center;
  font-size:1.3rem; box-shadow:0 8px 24px var(--red-glow);
  transition:all var(--trans); border:none; cursor:pointer;
}
#cart-float.show { display:flex; }
#cart-float:hover { transform:scale(1.1); background:var(--red-d); }
#cart-float .cart-count {
  position:absolute; top:-4px; right:-4px;
  background:var(--white); color:var(--red);
  width:20px; height:20px; border-radius:50%;
  font-size:0.65rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}

/* ── CHECKOUT FORM ────────────────────────────────────────── */
.checkout-wrap { max-width:560px; margin:0 auto; padding:0 1.25rem; }
.form-section { margin-bottom:1.5rem; }
.form-section h3 { font-family:'Cormorant Garamond',serif; font-size:1.2rem; margin-bottom:1rem; }
.form-group { margin-bottom:1rem; }
.form-label { display:block; font-size:0.72rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); margin-bottom:0.5rem; }
.form-control {
  width:100%; background:var(--bg3); border:1px solid var(--border);
  color:var(--white); padding:0.85rem 1rem; font-size:0.9rem; border-radius:var(--radius);
  transition:border-color var(--trans); outline:none; font-family:'Inter',sans-serif;
}
.form-control:focus { border-color:var(--red); }
.form-control::placeholder { color:var(--muted); }
.form-hint { font-size:0.72rem; color:var(--muted); margin-top:0.35rem; }
.form-required { color:var(--red); }
.order-summary-card {
  background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:1.4rem; margin-bottom:1.5rem;
}
.order-summary-item { display:flex; justify-content:space-between; padding:0.5rem 0; border-bottom:1px solid var(--border); font-size:0.85rem; }
.order-summary-item:last-child { border-bottom:none; }
.order-summary-total { display:flex; justify-content:space-between; padding-top:0.8rem; margin-top:0.3rem; border-top:1px solid var(--border2); }
.order-summary-total .label { font-weight:600; }
.order-summary-total .amount { font-family:'Cormorant Garamond',serif; font-size:1.3rem; color:var(--red); font-weight:700; }

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-mosaic {
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:220px 220px;
  gap:6px;
}
.about-mosaic-img {
  overflow:hidden; background:var(--bg3);
  position:relative;
}
.about-mosaic-img:first-child { grid-row:span 2; }
.about-mosaic-img img {
  width:100%; height:100%; object-fit:cover;
  transition:transform 0.6s ease;
}
.about-mosaic-img:hover img { transform:scale(1.05); }
.about-mosaic-placeholder {
  width:100%; height:100%; background:var(--bg4);
  display:flex; align-items:center; justify-content:center;
  font-size:3.5rem; font-family:'Cormorant Garamond',serif; color:var(--muted);
}
@media(max-width:640px){
  .about-mosaic { grid-template-columns:1fr; grid-template-rows:auto; }
  .about-mosaic-img:first-child { grid-row:auto; min-height:220px; }
  .about-mosaic-img { min-height:180px; }
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-scroll {
  display:flex; gap:1rem; overflow-x:auto;
  scrollbar-width:none; padding-bottom:0.5rem; scroll-snap-type:x mandatory;
}
.testimonials-scroll::-webkit-scrollbar { display:none; }
.testimonial-card {
  flex-shrink:0; width:min(320px, 85vw); scroll-snap-align:start;
  background:var(--bg3); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.5rem; position:relative;
  overflow:hidden;
}
.testimonial-card::before {
  content:'\201C'; position:absolute; top:-0.5rem; left:1rem;
  font-family:'Cormorant Garamond',serif; font-size:5rem;
  color:var(--red); opacity:0.12; line-height:1;
}
.t-stars { display:flex; gap:2px; margin-bottom:0.8rem; }
.t-star { color:var(--red); font-size:0.85rem; }
.t-text { font-size:0.85rem; line-height:1.8; color:var(--off); font-style:italic; }
.t-author { display:flex; justify-content:space-between; margin-top:1.2rem; padding-top:0.8rem; border-top:1px solid var(--border); }
.t-name { font-weight:600; font-size:0.83rem; }
.t-source { font-size:0.72rem; color:var(--muted); }

/* ── PROGRAM / CONTACT ────────────────────────────────────── */
.hours-table { border:1px solid var(--border); overflow:hidden; border-radius:var(--radius); }
.hours-row {
  display:flex; justify-content:space-between; align-items:center;
  padding:0.9rem 1.2rem; border-bottom:1px solid var(--border);
  transition:background var(--trans);
}
.hours-row:last-child { border-bottom:none; }
.hours-row:hover { background:rgba(255,255,255,0.02); }
.hours-row.today { background:rgba(230,51,41,0.05); }
.hours-day { font-size:0.85rem; color:var(--muted); display:flex; align-items:center; gap:0.6rem; }
.hours-row.today .hours-day { color:var(--white); }
.hours-time { font-family:'Cormorant Garamond',serif; font-size:1rem; color:var(--green); font-weight:600; }
.today-tag { background:var(--red); color:var(--white); font-size:0.55rem; padding:0.15rem 0.5rem; letter-spacing:0.15em; text-transform:uppercase; border-radius:2px; }

.contact-card { background:var(--bg3); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.contact-row { display:flex; gap:1rem; padding:1rem 1.2rem; border-bottom:1px solid var(--border); align-items:flex-start; }
.contact-row:last-child { border-bottom:none; }
.contact-ico { font-size:1.1rem; flex-shrink:0; }
.contact-info-label { font-size:0.6rem; letter-spacing:0.25em; text-transform:uppercase; color:var(--muted); margin-bottom:0.15rem; }
.contact-info-val { font-size:0.88rem; color:var(--white); }
.contact-info-val a { color:var(--green); transition:color var(--trans); }
.contact-info-val a:hover { color:#3de881; }

.order-btns { display:flex; flex-direction:column; gap:0.6rem; margin-top:1rem; }
.order-btn {
  display:flex; align-items:center; gap:0.8rem; padding:0.9rem 1.2rem;
  border:1px solid; border-radius:var(--radius); font-size:0.8rem;
  letter-spacing:0.08em; font-weight:500; transition:all var(--trans);
}
.order-btn-tel { border-color:rgba(230,51,41,0.35); color:var(--red); }
.order-btn-tel:hover { background:var(--red); color:var(--white); border-color:var(--red); }
.order-btn-wa { border-color:rgba(37,211,102,0.3); color:#25d166; }
.order-btn-wa:hover { background:#25d166; color:#000; border-color:#25d166; }

/* ── MAP ──────────────────────────────────────────────────── */
.map-wrap { position:relative; height:400px; border:1px solid var(--border); overflow:hidden; border-radius:var(--radius-lg); }
.map-wrap iframe { width:100%; height:100%; border:none; filter:grayscale(20%) contrast(1.05); }
@media(max-width:768px){ .map-wrap { height:280px; } }

/* ── GALLERY ──────────────────────────────────────────────── */
.gallery-mosaic {
  display:grid; gap:4px;
  grid-template-columns:repeat(3, 1fr);
  grid-template-rows:auto;
}
.gal-item { overflow:hidden; background:var(--bg3); aspect-ratio:1; cursor:pointer; position:relative; }
.gal-item:first-child { grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
.gal-item img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s ease; }
.gal-item:hover img { transform:scale(1.06); }
.gal-ph { width:100%; height:100%; min-height:160px; background:var(--bg4); display:flex; align-items:center; justify-content:center; font-size:3rem; }
.gal-overlay { position:absolute; inset:0; background:rgba(0,0,0,0); transition:background 0.4s; display:flex; align-items:flex-end; padding:0.8rem; }
.gal-item:hover .gal-overlay { background:rgba(0,0,0,0.45); }
.gal-caption { font-size:0.75rem; color:var(--white); letter-spacing:0.12em; opacity:0; transform:translateY(6px); transition:all 0.35s; }
.gal-item:hover .gal-caption { opacity:1; transform:translateY(0); }
@media(max-width:640px){ .gallery-mosaic { grid-template-columns:repeat(2,1fr); } .gal-item:first-child { grid-column:span 2; } }

/* Lightbox */
#lightbox { display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,0.97); align-items:center; justify-content:center; }
#lightbox.open { display:flex; }
#lb-img { max-width:92vw; max-height:88vh; object-fit:contain; border-radius:var(--radius); }
#lb-close { position:absolute; top:1.2rem; right:1.5rem; font-size:2rem; color:rgba(255,255,255,0.6); cursor:pointer; transition:color var(--trans); }
#lb-close:hover { color:var(--red); }
#lb-prev,#lb-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,0.08); border:1px solid var(--border2); color:var(--white); width:44px; height:44px; display:flex; align-items:center; justify-content:center; font-size:1.2rem; cursor:pointer; transition:all var(--trans); border-radius:var(--radius); }
#lb-prev { left:1rem; } #lb-next { right:1rem; }
#lb-prev:hover,#lb-next:hover { background:var(--red); border-color:var(--red); }

/* ── SOCIAL STRIP ─────────────────────────────────────────── */
.social-strip { background:var(--bg2); border-top:1px solid var(--border); padding:3rem 0; text-align:center; }
.social-strip-title { font-family:'Cormorant Garamond',serif; font-size:1.8rem; font-style:italic; margin-bottom:0.4rem; }
.social-strip-sub { font-size:0.72rem; letter-spacing:0.3em; text-transform:uppercase; color:var(--muted); margin-bottom:1.8rem; }
.social-btns { display:flex; gap:0.8rem; justify-content:center; flex-wrap:wrap; }
.social-btn { display:flex; align-items:center; gap:0.7rem; padding:0.8rem 1.8rem; border:1px solid var(--border); font-size:0.75rem; letter-spacing:0.12em; text-transform:uppercase; transition:all var(--trans); border-radius:var(--radius); }
.social-btn-fb:hover { border-color:#1877f2; color:#1877f2; background:rgba(24,119,242,0.06); }
.social-btn-tt:hover { border-color:#ff0050; color:#ff0050; background:rgba(255,0,80,0.06); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { background:#030303; border-top:1px solid var(--border); padding:3.5rem 0 2rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:2.5rem; border-bottom:1px solid var(--border); }
@media(max-width:900px){ .footer-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:500px){ .footer-grid { grid-template-columns:1fr; gap:2rem; } }
.footer-logo img { height:52px; width:auto; object-fit:contain; margin-bottom:1rem; }
.footer-logo-text .script { font-family:'Cormorant Garamond',serif; font-style:italic; color:var(--red); font-size:1rem; }
.footer-logo-text .name { font-family:'Cormorant Garamond',serif; font-size:1.4rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; }
.footer-logo-bar { display:flex; gap:3px; margin:5px 0 1rem; }
.footer-logo-bar span { height:2px; width:22px; }
.footer-logo-bar .r { background:var(--red); } .footer-logo-bar .w { background:rgba(255,255,255,0.2); } .footer-logo-bar .g { background:var(--green); }
.footer-brand p { font-size:0.82rem; color:var(--muted); line-height:1.8; }
.footer-col h5 { font-size:0.62rem; letter-spacing:0.4em; text-transform:uppercase; color:var(--red); margin-bottom:1.2rem; font-weight:600; }
.footer-col ul { display:flex; flex-direction:column; gap:0.65rem; }
.footer-col a { font-size:0.82rem; color:var(--muted); transition:color var(--trans); }
.footer-col a:hover { color:var(--white); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:0.8rem; padding-top:1.5rem; }
.footer-copy { font-size:0.7rem; color:var(--muted2); }
.footer-copy a { color:var(--muted); transition:color var(--trans); }
.footer-copy a:hover { color:var(--white); }
.footer-legal { display:flex; gap:1.2rem; flex-wrap:wrap; }
.footer-legal a { font-size:0.68rem; color:var(--muted2); letter-spacing:0.08em; transition:color var(--trans); }
.footer-legal a:hover { color:var(--white); }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero { padding:calc(var(--nav-h) + 3rem) 0 3rem; text-align:center; position:relative; border-bottom:1px solid var(--border); background:linear-gradient(to bottom, var(--bg), var(--bg2)); }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 60% 80% at 50% 0%, rgba(230,51,41,0.06) 0%, transparent 60%); }
.page-hero-content { position:relative; z-index:1; }
.breadcrumb { display:flex; align-items:center; justify-content:center; gap:0.5rem; font-size:0.7rem; letter-spacing:0.2em; text-transform:uppercase; color:var(--muted); margin-bottom:1.2rem; }
.breadcrumb a { color:var(--muted); transition:color var(--trans); }
.breadcrumb a:hover { color:var(--red); }
.breadcrumb .sep { color:var(--red); }

/* ── REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal,.reveal-l,.reveal-r,.reveal-s { opacity:0; transition:opacity 0.85s ease, transform 0.85s ease; }
.reveal   { transform:translateY(32px); }
.reveal-l { transform:translateX(-32px); }
.reveal-r { transform:translateX(32px); }
.reveal-s { transform:scale(0.96); }
.revealed { opacity:1 !important; transform:none !important; }

/* ── ALERTS ───────────────────────────────────────────────── */
.alert { padding:0.9rem 1.2rem; border-left:2px solid; margin-bottom:1.2rem; font-size:0.85rem; display:flex; align-items:flex-start; gap:0.7rem; border-radius:0 var(--radius) var(--radius) 0; }
.alert-success { background:rgba(46,204,113,0.08); border-color:var(--green); color:var(--green); }
.alert-error   { background:rgba(230,51,41,0.08);  border-color:var(--red);   color:var(--red); }
.alert-info    { background:rgba(255,255,255,0.04); border-color:var(--border); color:var(--muted); }

/* ── UTILS ────────────────────────────────────────────────── */
.text-center { text-align:center; }
.text-red { color:var(--red)!important; }
.text-green { color:var(--green)!important; }
.text-muted { color:var(--muted)!important; }
.mt-1{margin-top:1rem} .mt-2{margin-top:2rem} .mt-3{margin-top:3rem}
.mb-1{margin-bottom:1rem} .mb-2{margin-bottom:2rem}
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.grid-2-1 { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
@media(max-width:768px){ .grid-2,.grid-2-1 { grid-template-columns:1fr; gap:2rem; } }

/* ── BACK TO TOP ──────────────────────────────────────────── */
#back-top { position:fixed; bottom:6rem; right:1.5rem; z-index:699; width:42px; height:42px; background:var(--bg3); border:1px solid var(--border2); color:var(--muted); display:none; align-items:center; justify-content:center; font-size:1rem; cursor:pointer; border-radius:50%; transition:all var(--trans); }
#back-top.show { display:flex; }
#back-top:hover { background:var(--red); border-color:var(--red); color:var(--white); }

/* ── MOBILE SPECIFIC ──────────────────────────────────────── */
@media(max-width:480px){
  .hero-title { font-size:2.6rem; }
  .btn-hero-primary,.btn-hero-ghost { padding:0.85rem 1.4rem; font-size:0.73rem; }
  .hero-stats { display:grid; grid-template-columns:repeat(3,1fr); }
  .hero-stat { border-right:1px solid var(--border)!important; }
  .hero-stat:nth-child(3),.hero-stat:last-child { border-right:none!important; }
  .menu-card-img,.menu-card-img-ph { width:60px; height:60px; }
}

/* ── TOAST ────────────────────────────────────────────────── */
.toast { position:fixed; bottom:2rem; left:50%; transform:translateX(-50%) translateY(120%); z-index:9998; background:var(--bg3); border:1px solid var(--border2); padding:0.9rem 1.4rem; font-size:0.85rem; max-width:320px; width:90vw; transition:transform 0.4s cubic-bezier(0.4,0,0.2,1); border-radius:var(--radius-lg); display:flex; align-items:center; gap:0.8rem; box-shadow:0 20px 50px rgba(0,0,0,0.5); }
.toast.show { transform:translateX(-50%) translateY(0); }

/* ── Display fixes pentru elemente cu inline style initial ── */
#cart-overlay { display:none; }
#cart-overlay.open { display:block; }
#cart-float.show { display:flex !important; }
#back-top.show { display:flex !important; }
#lightbox.open { display:flex !important; }

/* Hero address strip — adresa cu link Maps/Waze */

/* ═══════════════════════════════════════
   HERO ADDRESS STRIP — în flux normal
═══════════════════════════════════════ */
.hero-address-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}
.hero-addr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}
.hero-addr-btn:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-addr-btn.gmaps { border-color: rgba(230,51,41,0.35); }
.hero-addr-btn.gmaps:hover { border-color: var(--red); background: rgba(230,51,41,0.1); }
.hero-addr-btn.waze { border-color: rgba(46,204,113,0.3); }
.hero-addr-btn.waze:hover { border-color: var(--green); background: rgba(46,204,113,0.08); color: var(--green); }
.hero-addr-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* ═══════════════════════════════════════
   Display fixes
═══════════════════════════════════════ */
#cart-overlay { display:none; }
#cart-overlay.open { display:block; }
#cart-float.show { display:flex !important; }
#back-top.show { display:flex !important; }
#lightbox.open { display:flex !important; }

/* ── CART FIX v2.1 ─────────────────────────────────────── */
#cart-overlay {
  display: none !important;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 800;
  cursor: pointer;
}
#cart-overlay.open {
  display: block !important;
}
#cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 100vw);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 801;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
  pointer-events: all;
}
#cart-sidebar.open { transform: translateX(0) !important; }

#cart-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 700; width: 56px; height: 56px;
  border-radius: 50%; border: none; cursor: pointer;
  background: var(--red); color: var(--white);
  align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(230,51,41,0.4);
  transition: all 0.3s ease;
  pointer-events: all;
}
#cart-float:not(.show) { display: none !important; }
#cart-float.show { display: flex !important; }
#cart-float:hover { transform: scale(1.1); background: var(--red-d); }


/* ── HERO ADDRESS mobile ────────────────────────────────── */
@media(max-width: 768px) {
  .hero-address-strip { gap: 0.4rem; }
  .hero-addr-btn { font-size: 0.7rem; padding: 0.45rem 0.85rem; }
}

/* ═══════════════════════════════════════
   MENU SEARCH v2.0
═══════════════════════════════════════ */
.menu-search-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.menu-search-inner {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 0.75rem 1.2rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.menu-search-wrap:focus-within .menu-search-inner {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,51,41,0.1);
}
.menu-search-ico {
  display: flex; align-items: center;
  color: var(--muted); flex-shrink: 0;
}
.menu-search-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 0.92rem; font-family: 'Inter', sans-serif;
  min-width: 0;
}
.menu-search-input::placeholder { color: var(--muted); }
.menu-search-clear {
  display: none; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: var(--muted);
  font-size: 0.75rem; cursor: pointer; flex-shrink: 0;
  transition: all 0.2s ease; border: none;
}
.menu-search-clear:hover { background: var(--red); color: var(--white); }

/* Sugestii */
.menu-suggestions {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: 16px; overflow: hidden;
  z-index: 200; display: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.suggestion-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1.1rem; cursor: pointer;
  transition: background 0.15s ease; border-bottom: 1px solid var(--border);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover, .suggestion-item:focus {
  background: rgba(230,51,41,0.06); outline: none;
}
.suggestion-icon { font-size: 1.1rem; flex-shrink: 0; width: 24px; text-align: center; }
.suggestion-text { flex: 1; min-width: 0; }
.suggestion-name { display: block; font-size: 0.85rem; font-weight: 500; color: var(--white); }
.suggestion-meta { display: block; font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.suggestion-arrow { color: var(--muted); font-size: 0.75rem; transition: transform 0.2s; flex-shrink: 0; }
.suggestion-item:hover .suggestion-arrow { transform: translateX(3px); color: var(--red); }

/* Search results header */
.search-results-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem; padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
#search-results-count {
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.1em;
}
.search-results-clear {
  font-size: 0.75rem; color: var(--red); cursor: pointer;
  background: none; border: none; transition: opacity 0.2s;
  letter-spacing: 0.05em;
}
.search-results-clear:hover { opacity: 0.7; }

/* Empty search */
.search-empty {
  text-align: center; padding: 3rem 1rem;
  color: var(--muted); font-size: 0.88rem;
}

/* ═══════════════════════════════════════
   HERO LAYOUT FIX — flux normal, fara overlap
═══════════════════════════════════════ */

/* Hero devine coloana flex — content creste, stats la baza */
#hero {
  height: auto !important;
  min-height: 100svh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

/* Content ocupa tot spatiul disponibil */
.hero-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding-top: calc(var(--nav-h) + 2rem) !important;
  padding-bottom: 2rem !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Stats bar — flux normal la baza, nu absolute */
.hero-stats {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 3 !important;
  flex-shrink: 0 !important;
}

/* Address strip — spatiu decent */
.hero-address-strip {
  margin-top: 1.6rem !important;
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

/* Mobile: titlu mai mic sa incapa */
@media(max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 10vw, 3rem) !important; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 280px; justify-content: center; }
  .hero-address-strip { flex-wrap: wrap; justify-content: center; }
  .hero-addr-btn:first-child { 
    flex: 0 1 auto;
    max-width: calc(100vw - 4rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
