/* ================================================
   Zone-57 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 Pills — New Design ── */
.hero-stats-new {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 36px;
}
.hero-stat-pill {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px; padding: 10px 20px;
  backdrop-filter: blur(8px);
  transition: all .2s;
}
.hero-stat-pill:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,160,32,0.3);
}
.hero-stat-pill-icon {
  font-size: 18px; line-height: 1; flex-shrink: 0;
}
.hero-stat-pill-val {
  font-family: var(--font-display, sans-serif);
  font-size: 18px; font-weight: 900;
  color: var(--gold); line-height: 1;
  white-space: nowrap;
}
.hero-stat-pill-lbl {
  font-size: 12px; color: rgba(255,255,255,0.5);
  white-space: nowrap; margin-top: 2px;
}

/* ══ 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 (REDESIGNED) ══ */
.cat-nav {
  position: sticky; top: 64px; z-index: 91;
  background: rgba(17,17,17,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: visible;
}
.cat-nav-inner {
  display: flex; gap: 12px; padding: 16px 20px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; flex-shrink: 0;
  min-width: 95px; height: 95px; padding: 0 16px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 22px;
  color: var(--text2);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.cat-icon {
  font-size: 28px;
  transition: transform .3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cat-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.8px;
  white-space: nowrap; overflow: hidden; /* No ellipsis here to allow more text or we use small text */
  width: auto;
}
.cat-btn:hover {
  background: var(--bg2);
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-4px);
}
.cat-btn:hover .cat-icon { transform: scale(1.15); }
.cat-btn.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(232,160,32,0.3);
}
.cat-btn.active .cat-icon { transform: scale(1.1); }

/* ══ SEARCH BAR ══ */
.search-container {
  padding: 12px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 64px; /* Just below header */
  z-index: 90;
  backdrop-filter: blur(10px);
  background: rgba(17,17,17,0.85);
}
.search-wrapper {
  position: relative;
  max-width: 680px; margin: 0 auto;
}
.search-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 12px 14px 12px 42px;
  color: #fff; font-size: 14px;
  transition: all .2s;
}
.search-input:focus {
  border-color: var(--gold);
  background: #252525;
}
.search-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text3); font-size: 16px;
}
.search-clear {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text3); cursor: pointer;
  display: none;
}
.search-clear.active { display: block; }

/* ══ MENU (MODERN CARD DESIGN) ══ */
.menu-content { padding: 28px 20px 140px; max-width: 1000px; margin: 0 auto; }
.menu-section { margin-bottom: 44px; scroll-margin-top: 190px; }
.menu-section-title {
  font-size: 22px; font-weight: 800; margin-bottom: 24px;
  color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.menu-section-title::after {
  content: ''; height: 1px; flex: 1;
  background: linear-gradient(90deg, var(--border2), transparent);
}
.menu-list { 
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 900px) {
  .menu-list { grid-template-columns: repeat(2, 1fr); }
}

.menu-item {
  display: flex; align-items: stretch; gap: 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 14px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.menu-item:hover {
  border-color: rgba(232,160,32,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.menu-item.unavailable { opacity: 0.4; pointer-events: none; }
.menu-item.is-promo {
  border: 1px solid rgba(232,160,32,0.2);
  background: linear-gradient(135deg, var(--card) 0%, rgba(232,160,32,0.04) 100%);
}

.item-offer-badge {
  position: absolute; top: -10px; left: 14px; z-index: 10;
  background: #ff4757; color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 10px;
  border-radius: 8px; box-shadow: 0 4px 12px rgba(255,71,87,0.3);
}

/* ══ ENHANCED MENU ITEM IMAGE ══ */
.item-img {
  width: 110px; height: 110px; border-radius: 16px;
  object-fit: cover; flex-shrink: 0;
  background: var(--bg3);
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 480px) {
  .item-img { width: 130px; height: 130px; }
}

.menu-item:hover .item-img {
  transform: scale(1.05);
}

.item-info { 
  flex: 1; min-width: 0; padding-top: 4px;
  display: flex; flex-direction: column;
}
.item-name { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.2; }
.item-desc { 
  font-size: 13px; color: var(--text2); line-height: 1.5; 
  margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 
}
.item-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.item-meta-item {
  font-size: 11px; font-weight: 600; color: var(--text3);
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.03);
  padding: 3px 8px; border-radius: 6px;
}

.variant-select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
  margin-bottom: 20px; /* IMPORTANT: create space from bottom! */
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E8A020' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all .2s;
}
.variant-select:hover { border-color: var(--gold); background-color: rgba(255,255,255,0.02); }

.item-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.02);
  padding-top: 12px;
}
.item-price { font-size: 19px; font-weight: 900; color: var(--gold); }

/* ══ QTY CONTROLS ══ */
.item-controls { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.03); padding: 4px; border-radius: 12px; border: 1px solid var(--border); }
.qty-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg3); color: var(--text);
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  transition: all .2s; font-weight: 700;
}
.qty-btn:hover { background: var(--gold); color: #111; }
.qty-value { min-width: 24px; text-align: center; font-size: 14px; font-weight: 800; }

/* ══ 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-sauces { font-size: 11px; color: var(--text2); margin-bottom: 2px; }
.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); }

/* ══ WHATSAPP FLOAT BUTTON & MENU (CHOICE MENU) ══ */
.wa-float-wrapper {
  position: fixed;
  bottom: 32px; right: 28px;
  z-index: 1500;
  display: flex; flex-direction: column; align-items: flex-end;
}
.whatsapp-float {
  width: 64px; height: 64px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--wa), #128C7E);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative !important;
  bottom: auto !important; right: auto !important;
  padding: 0; outline: none;
}
.whatsapp-float:hover {
  transform: translateY(-5px) rotate(5deg);
  box-shadow: 0 16px 40px rgba(37,211,102,0.4);
  border-color: rgba(255,255,255,0.3);
}
.whatsapp-float:active { transform: scale(0.92); }
.whatsapp-float.open {
  transform: rotate(90deg);
  background: linear-gradient(135deg, #333, #111);
  border-color: var(--border2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}

.wa-choice-menu {
  position: absolute;
  bottom: 80px; right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 290px;
  padding: 18px 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(.34,1.56,.64,1);
}
.wa-choice-menu.show {
  opacity: 1; pointer-events: auto;
  transform: translateY(0) scale(1);
}
.wa-menu-title {
  font-size: 14px; font-weight: 800; color: var(--text);
  margin-bottom: 8px; text-align: center;
}
.wa-menu-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 14px;
  background: var(--bg); border: 1px solid var(--border2);
  text-decoration: none; color: var(--text);
  transition: all 0.2s;
}
.wa-menu-item:hover {
  background: var(--card); border-color: var(--gold);
  transform: translateX(-4px);
}
.wa-menu-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.wa-menu-text {
  display: flex; flex-direction: column; flex: 1;
}
.wa-menu-text strong { display:block; font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.wa-menu-text span { display:block; font-size: 11px; color: var(--text3); }

/* Mobile */
@media (max-width: 640px) {
  .wa-float-wrapper { bottom: 20px; right: 20px; }
  .wa-choice-menu { width: 270px; }
}

/* ══ MERCI PAGE IMPROVEMENTS ══ */
.merci-page {
  max-width: 520px;
  margin: 60px auto 80px;
  padding: 0 20px;
  text-align: center;
}
.merci-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.merci-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.merci-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.merci-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.merci-step {
  background: var(--bg3);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.merci-step-num {
  font-size: 24px;
  font-weight: 900;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.merci-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.merci-step-desc {
  font-size: 12px;
  color: var(--text2);
}
.merci-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.merci-btn {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.merci-btn-primary {
  background: var(--gold);
  color: #111;
}
.merci-btn-primary:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232,160,32,0.3);
}
.merci-btn-secondary {
  background: var(--bg3);
  color: var(--text2);
  border: 1px solid var(--border2);
}
.merci-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232,160,32,0.05);
}

/* ══ 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); }

/* ══ FILTER BAR (PURPLE REDESIGN) ══ */
.filter-bar {
  display: flex; gap: 10px; padding: 12px 20px;
  overflow-x: auto; scrollbar-width: none;
  background: var(--bg);
}
.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  padding: 10px 22px; border-radius: 14px;
  background: var(--bg3); color: var(--text2);
  font-size: 14px; font-weight: 700;
  white-space: nowrap; border: 1px solid var(--border);
  transition: all .3s ease;
}
.filter-btn:hover {
  border-color: #a55eea;
  color: #fff;
}
.filter-btn.active {
  background: #a55eea;
  color: #fff;
  border-color: #a55eea;
  box-shadow: 0 8px 20px rgba(165,94,234,0.3);
}

/* Special featured categories e.g. Red/Glow style */
.cat-btn.is-special-feat {
  border-color: rgba(255,71,87,0.2) !important;
  background: rgba(255,71,87,0.03);
}
.cat-btn.is-special-feat .cat-label {
  color: #ff4757;
}
.cat-btn.is-special-feat:hover {
  border-color: #ff4757 !important;
  box-shadow: 0 10px 40px rgba(255,71,87,0.25);
}
/* Metadata for items */
.item-meta-icon { font-size: 10px; color: var(--gold); }
.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; }

  .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 - ENHANCED ══ */
@keyframes shimmer {
  0%   { background-position: -1200px 0; }
  100% { background-position:  1200px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg3) 0%, var(--bg3) 40%, rgba(255,255,255,0.08) 50%, var(--bg3) 60%, var(--bg3) 100%);
  background-size: 1200px 100%;
  animation: shimmer 1.8s infinite linear;
  border-radius: 8px;
  pointer-events: none;
}

.skeleton-section { margin-bottom: 48px; }
.skeleton-title {
  height: 24px;
  width: 180px;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* ══ Enhanced Skeleton Item (Matches New Card Size) ══ */
.skeleton-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color .3s;
}
.skeleton-item:hover { border-color: rgba(232,160,32,0.15); }

/* Large skeleton image (120px) */
.skeleton-item-img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--bg3) 0%, var(--bg3) 40%, rgba(255,255,255,0.08) 50%, var(--bg3) 60%, var(--bg3) 100%);
  background-size: 1200px 100%;
  animation: shimmer 1.8s infinite linear;
}

.skeleton-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-item-name {
  height: 18px;
  width: 60%;
  border-radius: 8px;
}

.skeleton-item-desc {
  height: 12px;
  width: 85%;
  margin-bottom: 4px;
  border-radius: 6px;
}

.skeleton-variant {
  height: 14px;
  width: 45%;
  border-radius: 6px;
}

.skeleton-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.skeleton-price {
  height: 20px;
  width: 60px;
  border-radius: 8px;
}

.skeleton-controls {
  height: 40px;
  width: 110px;
  border-radius: 10px;
}
/* ══ 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);
}

/* ══ PWA UI - ENHANCED MODAL ══ */
.pwa-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.pwa-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ── Bottom Sheet ── */
.pwa-install-modal {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #161616;
  border-top: 1px solid rgba(232,160,32,0.2);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.32,0,.67,0), opacity .3s ease;
  overflow: hidden;
}
.pwa-install-modal.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}

/* ── Desktop: center as card ── */
@media (min-width: 560px) {
  .pwa-install-modal {
    left: 50%;
    right: auto;
    bottom: 32px;
    border-radius: 20px;
    border: 1px solid rgba(232,160,32,0.2);
    transform: translateX(-50%) translateY(40px);
    transition: transform .4s cubic-bezier(.32,0,.67,0), opacity .3s ease;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  }
  .pwa-install-modal.show {
    transform: translateX(-50%) translateY(0);
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
  }
}

/* ── Handle ── */
.pwa-sheet-handle {
  width: 40px; height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: 14px auto 0;
}
@media (min-width: 560px) {
  .pwa-sheet-handle { display: none; }
}

/* ── Header ── */
.pwa-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 0;
}
.pwa-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pwa-brand-name {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}
.pwa-brand-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}
.pwa-sheet-dismiss {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.pwa-sheet-dismiss:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ── Body ── */
.pwa-sheet-body {
  padding: 20px 22px 0;
}
.pwa-sheet-title {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  line-height: 1.2;
}
.pwa-sheet-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-bottom: 22px;
}

/* ── Features Row ── */
.pwa-features-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.pwa-feat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 14px 8px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: border-color .2s, background .2s;
}
.pwa-feat:hover {
  border-color: rgba(232,160,32,0.3);
  background: rgba(232,160,32,0.05);
  color: rgba(255,255,255,0.8);
}
.pwa-feat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(232,160,32,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #E8A020;
}

/* ── Footer ── */
.pwa-sheet-footer {
  display: flex;
  gap: 10px;
  padding: 0 22px 28px;
}
@media (max-width: 360px) {
  .pwa-sheet-footer { flex-direction: column; }
}

/* ── Buttons ── */
.pwa-btn {
  flex: 1;
  padding: 13px 18px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  font-family: var(--font, 'DM Sans', sans-serif);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pwa-btn-primary {
  background: #E8A020;
  color: #111;
  box-shadow: 0 4px 16px rgba(232,160,32,0.3);
}
.pwa-btn-primary:hover {
  background: #F5B840;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
}
.pwa-btn-primary:active { transform: scale(0.98); }
.pwa-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.pwa-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
}

/* Old banner fallback */
.pwa-install-banner {
  position: fixed;
  left: 50%; bottom: 20px;
  transform: translateX(-50%) translateY(100px);
  z-index: 2000;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 16px; padding: 12px 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  display: flex !important; align-items: center; gap: 14px;
  transition: transform 0.6s cubic-bezier(0.18,0.89,0.32,1.28), opacity 0.4s;
  width: 90vw; max-width: 440px;
  opacity: 0; pointer-events: none;
}
.pwa-install-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1; pointer-events: auto;
}
.pwa-install-btn {
  background: var(--gold); color: #111;
  font-size: 13px; font-weight: 800;
  padding: 10px 20px; border-radius: 12px;
  transition: all .2s; border: none; flex-shrink: 0;
}
.pwa-install-btn:hover { background: var(--gold2); transform: scale(1.05); }

.pwa-update-toast {
  position: fixed; top: 15px; left: 50%; transform: translateX(-50%) translateY(-150px);
  z-index: 3000; background: #1a1a1a; border: 1px solid var(--gold);
  border-radius: 14px; padding: 12px 18px;
  display: flex; align-items: center; gap: 15px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.8);
  transition: transform 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.3s;
  width: min(380px, 92vw);
  opacity: 0; pointer-events: none;
  direction: rtl;
  text-align: right;
}
.pwa-update-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
.pwa-update-btn {
  background: var(--gold); color: #111;
  font-size: 13px; font-weight: 800;
  padding: 8px 16px; border-radius: 10px;
  border: none;
}
.pwa-update-btn:hover { transform: scale(1.05); }

@media (max-width: 600px) {
  .pwa-install-banner { bottom: 15px; padding: 10px 15px; gap: 10px; }
  .pwa-install-banner .text { font-size: 12px; }
  .pwa-install-btn { padding: 8px 14px; font-size: 12px; }
}