/* ============================================
   BEIRUT BITES — Dark Lebanese Food Truck Theme
   Matching logo: deep forest green + white + warm accents
   ============================================ */

:root {
  --bg: #14432a;
  --bg-deep: #0d2e1c;
  --bg-soft: #1a5636;
  --text: #f0f7f3;
  --text-secondary: #c8ddd1;
  --muted: #9ab8a8;
  --brand: #2ecc71;
  --brand-light: #5dde9e;
  --brand-dark: #1B4332;
  --accent: #e8b931;
  --accent-soft: rgba(232, 185, 49, 0.15);
  --card: rgba(255, 255, 255, 0.06);
  --card-solid: #1a5636;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --ok: #2ecc71;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  --glow: 0 0 60px rgba(46, 204, 113, 0.12);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

body {
  font-family: "Inter", "Cairo", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Inter", serif;
  line-height: 1.15;
  margin-top: 0;
  color: #fff;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.bg-shape { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.bg-shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; background: radial-gradient(circle, rgba(46,204,113,0.08) 0%, transparent 70%); }
.bg-shape-2 { width: 500px; height: 500px; bottom: -100px; left: -150px; background: radial-gradient(circle, rgba(232,185,49,0.06) 0%, transparent 70%); }

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

/* -- Topbar -- */
.topbar {
  width: min(1120px, 92vw);
  margin: 18px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(10, 35, 20, 0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 12px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--brand-dark);
}

.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text small { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 16px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.nav a:hover { color: var(--accent); }

.lang-toggle { position: relative; }
.lang-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all .2s;
}
.lang-toggle-btn:hover { border-color: var(--accent); }
.lang-flag { font-size: 1.05rem; line-height: 1; }
.lang-code { letter-spacing: .04em; }
.lang-chevron { transition: transform .2s; flex-shrink: 0; }
.lang-toggle.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 150px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 1000;
}
.lang-toggle.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-option:hover { background: rgba(255,255,255,.08); color: var(--text); }
.lang-option.active { background: var(--accent); color: var(--brand-dark); }
.lang-option span { font-size: 1.1rem; }

.auth-trigger {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-trigger:hover { border-color: var(--accent); color: var(--accent); }

.points-chip {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(232,185,49,0.3);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.85rem;
}

.cart-button {
  border: none;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.cart-button:hover { background: #e8b931; transform: scale(1.08); }
.cart-icon { flex-shrink: 0; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: #e74c3c;
  color: #fff;
  pointer-events: none;
}

/* -- Social Strip -- */
.social-strip {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.social-strip-inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}
.social-strip a { color: var(--text-secondary); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.social-strip a:hover { color: var(--accent); }

/* -- Hero -- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 28px;
  padding-top: 96px;
}
.hero-copy h1 { font-size: clamp(2rem, 6vw, 4.4rem); margin-bottom: 14px; }
.hero-copy p { max-width: 60ch; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.hero-actions { margin-top: 22px; display: flex; gap: 12px; }

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: #e8b931; color: #000000; }
.btn-primary:hover { background: #e8b931; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* -- Hero Card -- */
.hero-card {
  background: linear-gradient(145deg, rgba(26,86,54,0.5), rgba(13,46,28,0.7));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}
.hero-card h2 { color: #fff; }
.hero-card ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  color: #fff;
}
.hero-card span { color: var(--muted); }
.hero-card strong { color: var(--accent); }

/* -- Section Head -- */
.section-head { margin-bottom: 26px; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.8rem); margin-bottom: 8px; color: #fff; }
.section-head p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; }

/* -- Menu Grid -- */
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.menu-tools { margin-bottom: 16px; }
.menu-tools-label { margin: 0 0 8px; color: var(--muted); font-weight: 700; }
.menu-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* -- Category Tabs -- */
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tab {
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: .02em;
}
.category-tab:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,185,49,.1); }
.category-tab.active { border-color: var(--accent); color: var(--brand-dark); background: var(--accent); box-shadow: 0 2px 12px rgba(232,185,49,.3); }

/* -- Menu Category -- */
.menu-category { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: rgba(255,255,255,0.03); transition: opacity 0.35s ease, max-height 0.4s ease; overflow: hidden; }
.menu-category.category-hidden { display: none; }
.menu-category-title { margin: 2px 6px 12px; font-size: 1.2rem; color: var(--accent); }
.menu-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* -- Menu Card -- */
.menu-card {
  background: linear-gradient(165deg, rgba(26,86,54,0.6), rgba(13,46,28,0.7));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}
.menu-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.menu-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--brand-dark);
}
.menu-image { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; transition: transform 0.35s; transform: scale(0.88); }
.menu-card:hover .menu-image { transform: scale(1.05); }

.menu-card h3 { margin: 0; color: #fff; }

.menu-options { display: grid; gap: 8px; margin-top: 2px; }
.option-inline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.option-inline label { color: var(--muted); font-size: 0.86rem; font-weight: 700; }
.option-inline select {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 5px 8px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
}
.check-inline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.86rem; font-weight: 700; }

.menu-meta { display: flex; align-items: center; justify-content: space-between; }
.menu-meta strong { color: var(--accent); font-size: 1.05rem; }
.menu-card button { margin-top: auto; }
.menu-card .btn-primary { background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }
.menu-card .btn-primary:hover { background: #f0c942; }

/* -- RTL / Arabic typography -- */
html[dir="rtl"] body {
  text-align: right;
  font-family: "Cairo", "Inter", -apple-system, sans-serif;
  letter-spacing: 0;
  line-height: 1.8;
  word-spacing: 0.02em;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
  font-family: "Cairo", serif;
  letter-spacing: 0;
  line-height: 1.3;
  font-weight: 800;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0.04em; }
html[dir="rtl"] .nav a,
html[dir="rtl"] .btn,
html[dir="rtl"] .auth-button,
html[dir="rtl"] .lang-toggle-btn,
html[dir="rtl"] .lang-option,
html[dir="rtl"] .category-tab,
html[dir="rtl"] .auth-tab,
html[dir="rtl"] .social-auth-btn { font-family: "Cairo", sans-serif; font-weight: 700; }
html[dir="rtl"] .field-row input,
html[dir="rtl"] .field-row textarea,
html[dir="rtl"] .auth-form input { font-family: "Cairo", sans-serif; text-align: right; }
html[dir="rtl"] .hero-card li,
html[dir="rtl"] .menu-meta,
html[dir="rtl"] .total-row { flex-direction: row-reverse; }
html[dir="rtl"] .option-inline { flex-direction: row-reverse; }
html[dir="rtl"] .qty-controls { direction: ltr; }
html[dir="rtl"] .topbar { flex-direction: row-reverse; }
html[dir="rtl"] .brand { flex-direction: row-reverse; }
html[dir="rtl"] .cart-header { flex-direction: row-reverse; }
html[dir="rtl"] .auth-head { flex-direction: row-reverse; }

/* -- About Split -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.split-card h2, .split-card h3 { color: #fff; }
.split-card p { color: var(--text-secondary); }
.split-card.accent {
  background: linear-gradient(150deg, rgba(26,86,54,0.5), rgba(232,185,49,0.08));
  border-color: rgba(232,185,49,0.2);
}
.split-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

/* -- Catering -- */
.catering {
  border: 1px solid rgba(232,185,49,0.2);
  background: linear-gradient(125deg, rgba(26,86,54,0.7) 0%, rgba(232,185,49,0.08) 100%);
  border-radius: 20px;
  padding: 42px;
}
.catering h2 { margin-bottom: 10px; color: var(--accent); }
.catering p { max-width: 68ch; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; }

/* -- Contact -- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-grid a {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  cursor: pointer;
}
.contact-grid a:hover { border-color: var(--accent); color: var(--brand-dark); background: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(232,185,49,.25); }
.contact-icon { flex-shrink: 0; opacity: .85; }
.contact-grid a:hover .contact-icon { opacity: 1; }

/* -- Cart Panel -- */
.cart-panel {
  position: fixed;
  right: 0; top: 0;
  height: 100dvh;
  width: min(420px, 94vw);
  background: linear-gradient(180deg, #1a5636, #0d2e1c);
  border-left: 1px solid var(--line-strong);
  box-shadow: -12px 0 45px rgba(0, 0, 0, 0.45);
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto;
  transform: translateX(102%);
  transition: transform 0.28s ease;
  color: #fff;
}
.cart-panel.open { transform: translateX(0); }

.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 40; }

.cart-header, .cart-footer { padding: 18px; }
.cart-header {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h2 { color: #fff; }
.icon-btn { border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 1.1rem; transition: color 0.2s; }
.icon-btn:hover { color: var(--accent); }

.cart-items { overflow: auto; padding: 12px 18px; }
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border-bottom: 1px dashed var(--line);
  padding: 12px 0;
  color: #fff;
}

.qty-controls { display: inline-flex; align-items: center; gap: 6px; }
.qty-controls button {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}
 qty-controls button:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* -- Cart Form Fields -- */
.field-row { display: grid; gap: 6px; margin-bottom: 10px; }
.field-row label { font-size: 0.86rem; color: var(--muted); }
.field-row input, .field-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.06);
  color: #fff;
}
.field-row input::placeholder, .field-row textarea::placeholder { color: var(--muted); }
.field-row input:focus, .field-row textarea:focus { outline: 2px solid rgba(232, 185, 49, 0.3); border-color: var(--accent); }

.total-row { display: flex; justify-content: space-between; margin: 12px 0; color: #fff; }
.total-row strong { color: var(--accent); font-size: 1.1rem; }

.loyalty-status { margin: 0 0 10px; color: var(--muted); font-size: 0.9rem; }

.cart-footer .btn-primary { background: var(--accent); color: var(--brand-dark); font-size: 1rem; padding: 14px 22px; }
.cart-footer .btn-primary:hover { background: #f0c942; box-shadow: 0 6px 24px rgba(232, 185, 49, 0.35); }
.cart-footer .btn-pay-online { background: #635bff; color: #fff; font-size: 1rem; padding: 14px 22px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; margin-top: 8px; transition: all 0.2s; }
.cart-footer .btn-pay-online:hover { background: #7a73ff; box-shadow: 0 6px 24px rgba(99, 91, 255, 0.35); }

/* -- Auth Modal -- */
.auth-modal { position: fixed; inset: 0; z-index: 70; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); }
.auth-card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 92vw);
  background: linear-gradient(165deg, #1a5636, #0d2e1c);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  padding: 28px;
}
.auth-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.auth-head h2 { margin: 0; color: #fff; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.auth-tab {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-tab:hover { border-color: var(--accent); color: var(--accent); }
.auth-tab.active { background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }
.auth-form { display: grid; gap: 10px; }
.auth-form label { color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; }
.auth-form input {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: border-color 0.2s;
}
.auth-form input::placeholder { color: var(--muted); }
.auth-form input:focus { outline: 2px solid rgba(232, 185, 49, 0.3); border-color: var(--accent); }
.auth-form .btn-primary { margin-top: 6px; padding: 12px; font-size: 0.95rem; background: var(--accent); color: var(--brand-dark); border-color: var(--accent); }
.auth-form .btn-primary:hover { background: #f0c942; }

.auth-divider { margin: 16px 0; text-align: center; color: var(--muted); font-size: 0.86rem; position: relative; }
.auth-divider::before, .auth-divider::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--line); }
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.social-auth { display: grid; gap: 8px; }
.social-auth-btn {
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.social-auth-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }

.phone-auth { display: grid; gap: 10px; }
.phone-auth label { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.phone-auth input {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.06);
  color: #fff;
  transition: border-color 0.2s;
}
.phone-auth input::placeholder { color: var(--muted); }
.phone-auth input:focus { outline: 2px solid rgba(232, 185, 49, 0.3); border-color: var(--accent); }
.phone-auth .btn-primary { margin-top: 4px; }

.auth-message { min-height: 20px; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.auth-body p { margin: 0 0 8px; color: var(--text-secondary); }
#profile-points { color: var(--accent); font-weight: 800; font-size: 1.3rem; }
.auth-body .btn-ghost { color: var(--text-secondary); border-color: var(--line-strong); }
.auth-body .btn-ghost:hover { border-color: #e74c3c; color: #e74c3c; }

/* -- Rewards Section -- */
.rewards-section { margin-top: 12px; }
.rewards-progress { margin-bottom: 12px; }
.rewards-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.rewards-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #f0c942);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.rewards-text { color: var(--muted); font-size: 0.85rem; margin: 0; }
#redeem-reward:disabled { opacity: 0.45; cursor: not-allowed; }

/* -- Order History -- */
.order-history-list { max-height: 180px; overflow-y: auto; }
.order-history-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.order-history-item strong { color: var(--accent); }

/* -- Utility -- */
.full { width: 100%; }
.empty { color: var(--muted); }

/* -- Animations -- */
.reveal, .reveal-delay {
  opacity: 1;
  transform: translateY(0);
}
.reveal-hidden {
  opacity: 0 !important;
  transform: translateY(24px) !important;
}
.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-delay.reveal-visible {
  transition-delay: 0.15s;
}

/* -- Header Scroll Effect -- */
.topbar {
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.topbar-scrolled {
  background: rgba(10, 35, 20, 0.95) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border-color: var(--line-strong) !important;
}

/* -- Popular Badge -- */
.popular-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(232, 185, 49, 0.35);
}
.menu-card { position: relative; }

/* -- Menu Description -- */
.menu-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  min-height: 0;
  margin: 0;
}

/* -- Toast Notification -- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--brand-dark);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* -- Cart Bounce -- */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.2); }
  50% { transform: scale(0.95); }
  70% { transform: scale(1.08); }
}
.cart-bounce {
  animation: cartBounce 0.5s ease;
}

/* -- Back to Top -- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(10, 35, 20, 0.9);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  backdrop-filter: blur(8px);
}
.back-to-top:hover {
  background: var(--accent);
  color: var(--brand-dark);
  border-color: var(--accent);
}
.btt-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* -- Enhanced Footer -- */
.footer {
  width: min(1120px, 92vw);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 42px 0 24px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  margin: 0 0 12px;
}
.footer-about {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.footer-hours span { color: var(--text-secondary); }
.footer-hours strong { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
}
.admin-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.78rem;
  opacity: .4;
  transition: opacity .2s;
}
.admin-link:hover { opacity: 1; color: var(--accent); }

/* -- Responsive -- */
@media (max-width: 980px) {
  .topbar { flex-wrap: wrap; }
  .nav { gap: 10px; font-size: 0.85rem; }
  .hero, .split, .menu-category-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .catering { padding: 28px; }
  .social-strip-inner { flex-wrap: wrap; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .topbar {
    padding: 7px 8px;
    margin: 6px auto 0;
    border-radius: 12px;
    gap: 8px;
  }
  .brand-logo, .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand-text {
    display: none;
  }
  .nav { gap: 6px; font-size: 0.78rem; }
  .lang-toggle-btn { padding: 5px 9px; font-size: 0.78rem; }
  .lang-dropdown { right: -8px; min-width: 130px; }
  .auth-button, .cart-button {
    font-size: 1rem;
    min-width: 0;
  }
  .points-chip {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .menu-category-grid { grid-template-columns: 1fr; }
  .back-to-top { bottom: 16px; right: 16px; }
}

/* ── Daily Specials Banner ── */
.specials-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: -24px auto 32px;
  padding: 16px 24px;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  color: var(--text);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.specials-icon { font-size: 1.6rem; flex-shrink: 0; }
.specials-content { flex: 1; }
.specials-content strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; margin-bottom: 2px; }
.specials-content span { font-size: 1rem; font-weight: 600; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; border-radius: 10px; flex-shrink: 0; }

/* ── Reviews Section ── */
.reviews-section { text-align: center; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.review-stars { color: #f9a825; font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-author strong { color: var(--text); font-size: 0.9rem; }
.review-source {
  font-size: 0.75rem;
  padding: 2px 8px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  color: var(--muted);
}

/* ── Map Section ── */
.map-container {
  max-width: 720px;
  margin: 32px auto 0;
}
.map-container h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}
.map-embed {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* ── RTL adjustments for new sections ── */
[dir="rtl"] .review-card { text-align: right; }
[dir="rtl"] .specials-banner { flex-direction: row-reverse; }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .specials-banner { flex-direction: column; text-align: center; gap: 12px; margin: -16px 16px 24px; }
  [dir="rtl"] .specials-banner { flex-direction: column; }
}
