/* ================================================
   RAZMAOUI PRO — Redesigned Styles (CloudKitchen inspired)
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #E8A020;
  --gold2:   #F5B840;
  --gold-dk: #B87A10;
  --wa:      #25D366;
  --accent:  var(--restaurant-accent, #E8A020);

  --bg:    #111111;
  --bg2:   #1a1a1a;
  --bg3:   #222222;
  --card:  #1c1c1c;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.13);
  --text:  #f2f2f2;
  --text2: #aaaaaa;
  --text3: #666666;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font:         'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Syne', var(--font);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ══ NAV ══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,160,32,0.15);
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font-size: 12px; font-weight: 600;
  color: var(--text2); border: 1px solid var(--border2);
  border-radius: 6px; padding: 4px 10px; transition: all .2s;
}
.lang-btn:hover { color: var(--gold); border-color: var(--gold); }

/* ══ HERO ══ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-bg {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  opacity: 0.35;
}
.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-bg-img:nth-child(2) { opacity: 0.9; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.7) 55%, rgba(10,10,10,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 80px 24px;
  max-width: 1140px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before {
  content: ''; width: 32px; height: 2px; background: var(--gold); border-radius: 1px;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800; letter-spacing: -2px;
  line-height: 1.0; margin-bottom: 20px;
  color: #fff;
}
.hero-title .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.65);
  max-width: 480px; margin-bottom: 36px;
  line-height: 1.65;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #111;
  font-size: 15px; font-weight: 800;
  padding: 15px 32px; border-radius: 50px;
  transition: all .25s; letter-spacing: 0.3px;
}
.hero-cta:hover { background: var(--gold2); transform: translateY(-2px); }
.hero-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500;
  margin-right: 16px; transition: color .2s;
}
.hero-cta-secondary:hover { color: var(--gold); }
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--text2); margin-top: 3px; }

/* ══ SECTION HEADER ══ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  letter-spacing: -1px; color: var(--text);
}
.section-title span { color: var(--gold); }
.section-sub { font-size: 15px; color: var(--text2); margin-top: 10px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ══ RESTAURANTS SECTION ══ */
.restaurants-section { padding: 80px 0; background: var(--bg); }
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.restaurant-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.restaurant-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,160,32,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(232,160,32,0.1);
}
.card-img-wrap { position: relative; height: 220px; overflow: hidden; background: var(--bg3); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.restaurant-card:hover .card-img-wrap img { transform: scale(1.06); }
.card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
}
.card-closed-banner {
  position: absolute; top: 14px; left: 14px;
  background: rgba(0,0,0,0.85);
  color: #ff6b6b; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid rgba(255,107,107,0.4);
  backdrop-filter: blur(4px);
}
.card-img-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--gold); color: #111;
  font-size: 10px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--text); margin-bottom: 5px;
}
.card-tag { font-size: 13px; color: var(--text2); margin-bottom: 14px; }
.card-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.card-meta-item {
  font-size: 12px; color: var(--text3);
  display: flex; align-items: center; gap: 5px;
}
.card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: auto; padding: 13px;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 700;
  transition: all .2s; letter-spacing: 0.3px;
  color: #111; background: var(--gold);
}
.restaurant-card:hover .card-cta { background: var(--gold2); }
.card-cta.closed {
  background: var(--bg3); color: var(--text3);
  cursor: not-allowed; pointer-events: none;
}

/* ══ HOW IT WORKS ══ */
.how-section { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.how-steps { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; position: relative; }
.how-steps::before {
  content: '';
  position: absolute; top: 36px; left: 20%; right: 20%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}
.how-step {
  flex: 1; min-width: 160px; max-width: 220px;
  text-align: center; padding: 0 20px;
}
.step-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: rgba(232,160,32,0.1);
  border: 1px solid rgba(232,160,32,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
  transition: all .3s;
}
.how-step:hover .step-icon-wrap {
  background: rgba(232,160,32,0.2);
  border-color: rgba(232,160,32,0.5);
  transform: translateY(-3px);
}
.how-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.how-step p  { font-size: 13px; color: var(--text2); line-height: 1.5; }
.step-num {
  font-size: 11px; font-weight: 800; color: var(--gold);
  letter-spacing: 1px; margin-bottom: 8px;
}

/* ══ FEATURED DISHES STRIP ══ */
.featured-section { padding: 80px 0; background: var(--bg); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.featured-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: all .3s;
}
.featured-card:hover { border-color: rgba(232,160,32,0.3); transform: translateY(-3px); }
.featured-img {
  width: 100%; height: 160px; object-fit: cover;
  background: var(--bg3);
}
.featured-body { padding: 14px 16px; }
.featured-rest { font-size: 10px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.featured-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.featured-desc { font-size: 12px; color: var(--text2); }
.featured-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.featured-order {
  font-size: 12px; font-weight: 700; color: var(--gold);
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.featured-order:hover { color: var(--gold2); }

/* ══ WHY CHOOSE US ══ */
.why-section { padding: 80px 0; background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.why-card {
  text-align: center; padding: 32px 20px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: all .3s;
}
.why-card:hover { border-color: rgba(232,160,32,0.3); transform: translateY(-4px); }
.why-icon { font-size: 36px; margin-bottom: 14px; }
.why-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-desc { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ══ RESTAURANT PAGE ══ */
.rest-hero { position: relative; height: 320px; overflow: hidden; }
.rest-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rest-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10,10,10,0.6) 55%, rgba(10,10,10,0.2) 100%);
}
.rest-hero-content { position: absolute; bottom: 28px; left: 0; right: 0; padding: 0 24px; }
.rest-hero-content h1 { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.rest-meta-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rest-meta-pill {
  font-size: 12px; color: var(--text2);
  background: rgba(255,255,255,0.08);
  padding: 5px 12px; border-radius: 20px;
  border: 1px solid var(--border2);
  backdrop-filter: blur(4px);
}
.rest-meta-pill.open { color: var(--wa); border-color: rgba(37,211,102,0.3); background: rgba(37,211,102,0.08); }
.rest-meta-pill.closed { color: #ff6b6b; border-color: rgba(255,107,107,0.3); }

/* ══ CATEGORY NAV ══ */
.cat-nav {
  position: sticky; top: 64px; z-index: 90;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,160,32,0.15);
  overflow-x: auto; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner { display: flex; gap: 4px; padding: 10px 20px; white-space: nowrap; }
.cat-btn {
  font-size: 13px; font-weight: 500; color: var(--text2);
  padding: 7px 16px; border-radius: 8px;
  border: 1px solid transparent; transition: all .2s;
}
.cat-btn:hover { background: var(--bg3); color: var(--text); }
.cat-btn.active {
  background: rgba(232,160,32,0.1);
  color: var(--gold); border-color: rgba(232,160,32,0.3);
}

/* ══ MENU ══ */
.menu-content { padding: 28px 20px 140px; max-width: 720px; margin: 0 auto; }
.menu-section { margin-bottom: 44px; }
.menu-section-title {
  font-size: 20px; font-weight: 800; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.menu-section-title::before {
  content: ''; width: 4px; height: 20px;
  background: var(--gold); border-radius: 2px;
}
.menu-list { display: flex; flex-direction: column; gap: 10px; }
.menu-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  transition: border-color .2s, transform .2s;
}
.menu-item:hover { border-color: rgba(232,160,32,0.25); transform: translateX(3px); }
.menu-item.unavailable { opacity: 0.4; pointer-events: none; }
.item-img {
  width: 74px; height: 74px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  background: var(--bg3);
}
.item-info { flex: 1; min-width: 0; }
.item-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.item-desc { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.item-price { font-size: 16px; font-weight: 800; color: var(--gold); }
.item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border2); color: var(--text);
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: all .15s; line-height: 1;
}
.qty-btn:hover { background: var(--bg3); border-color: var(--gold); color: var(--gold); }
.qty-btn:active { transform: scale(0.9); }
.qty-value { min-width: 24px; text-align: center; font-size: 15px; font-weight: 700; }

/* ══ FLOATING CART ══ */
.floating-cart {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 200; display: none; align-items: center; gap: 14px;
  background: var(--gold); color: #111;
  border-radius: 50px; padding: 15px 28px;
  font-size: 15px; font-weight: 800;
  box-shadow: 0 8px 32px rgba(232,160,32,0.4);
  cursor: pointer; transition: all .25s; white-space: nowrap;
}
.floating-cart:hover { background: var(--gold2); transform: translateX(-50%) translateY(-3px); box-shadow: 0 14px 40px rgba(232,160,32,0.5); }
.floating-cart:active { transform: translateX(-50%) scale(0.97); }
.floating-cart.show { display: flex; }
.cart-count-bubble {
  background: #111; color: var(--gold);
  font-size: 12px; font-weight: 900;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ══ CART SIDEBAR ══ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw); background: var(--bg2);
  border-left: 1px solid rgba(232,160,32,0.15);
  z-index: 400; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--border);
}
.cart-sidebar-title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cart-count-pill {
  background: var(--gold); color: #111;
  font-size: 11px; font-weight: 900;
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-close-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--border2); color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: all .15s;
}
.cart-close-btn:hover { background: var(--bg3); color: var(--text); }
.cart-sidebar-items { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.sidebar-empty { text-align: center; padding: 60px 20px; color: var(--text3); font-size: 14px; }
.sidebar-item {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: border-color .2s;
}
.sidebar-item:hover { border-color: rgba(232,160,32,0.2); }
.sidebar-item-name { font-size: 13px; font-weight: 700; margin-bottom: 3px; }
.sidebar-item-price { font-size: 12px; color: var(--text2); }
.sidebar-item-price strong { color: var(--gold); }
.sidebar-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sq-btn {
  width: 28px; height: 28px; border-radius: 7px;
  border: 1px solid var(--border2); color: var(--text);
  font-size: 16px; display: flex; align-items: center; justify-content: center;
  transition: all .15s; line-height: 1;
}
.sq-btn:hover { background: var(--bg); border-color: var(--gold); color: var(--gold); }
.sidebar-qty { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; }
.sidebar-remove { width: 28px; height: 28px; border-radius: 7px; color: var(--text3); font-size: 12px; display: flex; align-items: center; justify-content: center; transition: color .15s; }
.sidebar-remove:hover { color: #ff6b6b; }
.cart-sidebar-footer { padding: 18px 18px 22px; border-top: 1px solid var(--border); }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text2); padding: 4px 0; }
.cart-summary-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 800; color: var(--gold); padding: 12px 0 16px; border-top: 1px solid var(--border); margin-top: 6px; }
.cart-checkout-btn {
  width: 100%; background: var(--gold); color: #111;
  font-size: 15px; font-weight: 800; padding: 15px;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s;
}
.cart-checkout-btn:hover { background: var(--gold2); transform: translateY(-1px); }

/* ══ ORDER MODAL ══ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px); z-index: 500;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2); border-radius: 28px 28px 0 0;
  width: 100%; max-width: 600px; max-height: 92vh; overflow-y: auto;
  padding: 28px 26px 44px;
  border: 1px solid rgba(232,160,32,0.15); border-bottom: none;
  transform: translateY(100%); transition: transform .35s cubic-bezier(.34,1.2,.64,1);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-handle { width: 44px; height: 4px; background: var(--border2); border-radius: 2px; margin: 0 auto 22px; }
.modal-title { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.recap-box { background: var(--bg3); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 22px; border: 1px solid var(--border); }
.recap-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--text2); }
.recap-row.total { font-weight: 800; font-size: 16px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--border); color: var(--gold); }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 7px; }
.form-input, .form-textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); color: var(--text); font-size: 15px;
  padding: 12px 15px; outline: none; transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input.error { border-color: #ff6b6b; }
.form-textarea { resize: vertical; min-height: 72px; }
.delivery-pills { display: flex; gap: 10px; }
.delivery-pill {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .2s;
}
.delivery-pill input { display: none; }
.delivery-pill.selected { border-color: var(--gold); color: var(--gold); background: rgba(232,160,32,0.08); }
.submit-btn {
  width: 100%; background: var(--gold); color: #111;
  font-size: 16px; font-weight: 800; padding: 16px;
  border-radius: var(--radius); margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s;
}
.submit-btn:hover { background: var(--gold2); }
.submit-btn:active { transform: scale(0.98); }
.submit-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ══ MERCI PAGE ══ */
.merci-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
.merci-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.merci-sub { color: var(--text2); font-size: 15px; margin-bottom: 36px; max-width: 400px; }
.merci-steps { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.merci-step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; width: 170px; text-align: center; }
.merci-step-num { font-size: 28px; font-weight: 900; color: var(--gold); margin-bottom: 8px; }
.merci-step-title { font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.merci-step-desc { font-size: 12px; color: var(--text2); }
.track-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; width: 100%; max-width: 430px; margin-bottom: 26px; }
.track-status-row { display: flex; align-items: center; gap: 14px; }
.track-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--text3); flex-shrink: 0; transition: all .4s; }
.track-dot.active { background: var(--gold); }
.track-dot.current { background: var(--gold); box-shadow: 0 0 0 5px rgba(232,160,32,0.2); }
.track-label { font-size: 14px; color: var(--text2); }
.track-label.active { color: var(--text); font-weight: 600; }

/* ══ ABOUT ══ */
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 44px; }
.about-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: border-color .2s; }
.about-card:hover { border-color: rgba(232,160,32,0.25); }
.about-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--gold); }
.about-card p { font-size: 14px; color: var(--text2); }

/* ══ CLOSED BANNER ══ */
.closed-page-banner {
  background: rgba(255,107,107,0.07); border: 1px solid rgba(255,107,107,0.2);
  border-radius: var(--radius); padding: 14px 20px;
  margin: 14px 20px; text-align: center; color: #ff9999; font-size: 14px;
}

/* ══ FOOTER ══ */
footer {
  background: #0a0a0a; border-top: 1px solid rgba(232,160,32,0.15);
  padding: 48px 24px 32px;
}
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.footer-logo { font-family: var(--font-display); font-size: 24px; font-weight: 900; color: var(--gold); margin-bottom: 8px; }
.footer-tagline { font-size: 13px; color: var(--text2); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { font-size: 13px; color: var(--text2); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--text3); margin-top: 24px; text-align: center; border-top: 1px solid var(--border); padding-top: 20px; max-width: 1140px; margin-left: auto; margin-right: auto; }

/* ══ IG LINK ══ */
.ig-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #e1306c; padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(193,53,132,0.3); background: rgba(193,53,132,0.06); transition: all .2s; }
.ig-link:hover { background: rgba(193,53,132,0.12); }
.ig-icon { width: 14px; height: 14px; fill: #c13584; }

/* ══ TOAST ══ */
.toast { position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%) translateY(12px); background: var(--bg3); border: 1px solid var(--border2); color: var(--text); font-size: 14px; font-weight: 600; padding: 11px 22px; border-radius: 12px; z-index: 999; opacity: 0; transition: opacity .2s, transform .2s; white-space: nowrap; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: rgba(232,160,32,0.4); color: var(--gold); }
.toast.error { border-color: rgba(255,107,107,0.4); color: #ff6b6b; }

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero-stats { gap: 20px; }
  .restaurants-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .featured-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .merci-steps { flex-direction: column; align-items: center; }
  .merci-step { width: 100%; max-width: 300px; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .hero-title { letter-spacing: -1px; }
}



/* ══ COUPON BANNER ══ */
.coupon-banner {
  margin: 0 20px 20px; padding: 14px 18px;
  background: linear-gradient(135deg, rgba(232,160,32,0.12) 0%, rgba(232,160,32,0.06) 100%);
  border: 1px solid rgba(232,160,32,0.35); border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  max-width: 680px; margin-left: auto; margin-right: auto;
  position: relative; overflow: hidden;
}
.coupon-banner::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px;
  background: var(--gold); border-radius: 0 2px 2px 0;
}
.coupon-icon { font-size: 28px; flex-shrink: 0; }
.coupon-info { flex: 1; }
.coupon-label { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 3px; }
.coupon-desc { font-size: 12px; color: var(--text2); }
.coupon-code-badge {
  background: var(--gold); color: #111;
  font-size: 13px; font-weight: 900;
  padding: 6px 14px; border-radius: 8px;
  letter-spacing: 1px; white-space: nowrap; flex-shrink: 0;
}


.closed-order-text { font-size: 14px; color: #ff9999; font-weight: 600; margin-bottom: 4px; }
.closed-order-sub { font-size: 12px; color: var(--text3); }



/* ══ SIDEBAR DROITE — VERSION FINALE ══ */
.rest-sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 350;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.rest-sidebar-overlay.open {
  opacity: 1; pointer-events: all;
}
.rest-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--bg2);
  border-left: 1px solid rgba(232,160,32,0.18);
  z-index: 360;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.rest-sidebar.open { transform: translateX(0); }
.rest-sidebar-header {
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--bg2); z-index: 1;
}
.rest-sidebar-title { font-size: 15px; font-weight: 700; }
.rest-sidebar-close {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border2); color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; transition: all .15s;
}
.rest-sidebar-close:hover { background: var(--bg3); color: var(--text); }
.rest-sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid transparent; transition: all .2s;
  cursor: pointer; text-decoration: none; margin-bottom: 6px;
}
.rest-sidebar-item:hover { background: var(--bg3); border-color: var(--border2); }
.rest-sidebar-item.active { background: rgba(232,160,32,0.08); border-color: rgba(232,160,32,0.25); }
.rest-sidebar-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--bg3); }
.rest-sidebar-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.rest-sidebar-status { font-size: 11px; font-weight: 700; }
.rest-sidebar-status.open  { color: var(--wa); }
.rest-sidebar-status.closed { color: #ff6b6b; }

/* Closed order block */
.closed-order-block {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 210;
  background: rgba(17,17,17,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,107,107,0.3);
  padding: 14px 20px; text-align: center;
  display: none;
}
.closed-order-block.show { display: block; }
.closed-order-text { font-size: 14px; color: #ff9999; font-weight: 600; margin-bottom: 3px; }
.closed-order-sub  { font-size: 12px; color: var(--text3); }

/* Tablet (768px) + Mobile: sidebar becomes bottom sheet */
@media (max-width: 768px) {
  .rest-sidebar {
    top: auto !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-height: 85vh;
    border-left: none;
    border-top: 1px solid rgba(232,160,32,0.25);
    border-radius: 20px 20px 0 0;
    transform: translateY(100%) !important;
    transition: transform .32s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
  }
  .rest-sidebar.open {
    transform: translateY(0) !important;
    display: flex !important;
  }
  /* Handle drag indicator */
  .rest-sidebar::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin: 10px auto 0;
    flex-shrink: 0;
  }
}

/* ══ SKELETON LOADING ══ */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 25%, rgba(255,255,255,0.04) 50%, var(--bg3) 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.skeleton-section { margin-bottom: 44px; }
.skeleton-title   { height: 22px; width: 160px; margin-bottom: 16px; }
.skeleton-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px;
}
.skeleton-item-info  { flex: 1; }
.skeleton-item-name  { height: 15px; width: 55%; margin-bottom: 8px; }
.skeleton-item-desc  { height: 12px; width: 75%; }
.skeleton-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.skeleton-price      { height: 16px; width: 50px; }
.skeleton-controls   { height: 32px; width: 96px; border-radius: 8px; }
/* ══ VARIANT SELECT ══ */
.variant-select {
  margin-top: 6px;
  width: 100%;
  background: var(--bg3, #1e1e1e);
  border: 1px solid var(--border2, #333);
  border-radius: 8px;
  color: var(--text, #eee);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center;
  padding-left: 28px;
}
.variant-select:focus {
  border-color: var(--accent, #ff4d4d);
}