/* ============================================================
 * BEIT EL ZAYTOUN - customer site styles (mobile first)
 * Palette: olive, cream, beige, gold
 * ============================================================ */
:root {
  --olive-900: #26300f; --olive-800: #2f3b14; --olive-700: #3d4a1c; --olive-600: #4a5a23; --olive-500: #5d7029; --olive-100: #e7ebd6;
  --cream: #fbf7ee; --cream-2: #f5eedf; --beige: #ebe0c8; --beige-2: #d9c9a6;
  --gold: #b8913a; --gold-2: #d6b25e; --gold-soft: #f3e6c4;
  --ink: #2a2a1f; --muted: #6f6a58; --line: #e4d9c1; --white: #fff;
  --danger: #b3412e; --success: #3f7a3a; --warn: #b07b16;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(47, 59, 20, .25);
  --shadow-sm: 0 4px 14px -6px rgba(47, 59, 20, .2);
  --serif: 'Cormorant Garamond', 'Amiri', Georgia, serif;
  --sans: 'Jost', 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
}
[dir="rtl"] { --serif: 'Amiri', 'Cormorant Garamond', serif; --sans: 'Tajawal', 'Jost', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 110px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 16px; }
body.no-scroll, body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--olive-600); text-decoration: none; }
a:hover { color: var(--olive-800); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--olive-800); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: .78rem; font-weight: 600; color: var(--gold-2); margin: 0 0 .6rem; }
.eyebrow.gold { color: var(--gold); }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.35rem; border-radius: 999px; border: 1px solid var(--olive-700);
  background: var(--olive-700); color: #fff; font-weight: 600; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; text-align: center; min-height: 44px; }
.btn:hover { background: var(--olive-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: var(--gold); color: #241c06; }
.btn-gold:hover { background: var(--gold); color: #1a1404; }
.btn-ghost { background: transparent; color: var(--olive-700); }
.btn-ghost:hover { background: var(--olive-100); color: var(--olive-800); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-danger { background: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #8f3323; }
.btn-sm { padding: .45rem .9rem; min-height: 36px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }
.link-btn { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: .85rem; padding: 0 .4rem; }
.icon-btn { background: var(--cream-2); border: 0; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; font-size: 1rem; display: grid; place-items: center; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: flex; align-items: center; gap: .6rem; color: var(--olive-800); }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo strong { font-family: 'Cormorant Garamond', serif; font-size: 1.22rem; letter-spacing: .06em; }
.logo small { font-family: 'Amiri', serif; color: var(--gold); font-size: .95rem; }
.nav-links { display: none; gap: 1.6rem; }
.nav-links a { color: var(--ink); font-weight: 500; position: relative; padding: .3rem 0; }
.nav-links a.active, .nav-links a:hover { color: var(--olive-600); }
.nav-links a.active::after { content: ''; position: absolute; inset: auto 0 -4px; height: 2px; background: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.btn-lang { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; cursor: pointer; font-weight: 600; color: var(--olive-700); min-height: 38px; }
.cart-btn { position: relative; background: var(--olive-700); color: #fff; border: 0; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.cart-count { position: absolute; top: -4px; inset-inline-end: -4px; background: var(--gold); color: #1a1404; font-size: .72rem; font-weight: 700; border-radius: 999px; min-width: 20px; height: 20px; display: none; place-items: center; padding: 0 5px; }
.cart-count.show { display: grid; }
.burger { background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--olive-700); width: 40px; height: 40px; }
@media (max-width: 859px) {
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--header-h); inset-inline: 0; background: var(--cream); padding: 1rem 18px 1.4rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); gap: .9rem; }
}
@media (min-width: 860px) { .nav-links { display: flex; } .burger { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--olive-900); }
.hero-bg { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(25, 32, 9, .92) 0%, rgba(38, 48, 15, .82) 45%, rgba(38, 48, 15, .45) 100%); }
[dir="rtl"] .hero::after { background: linear-gradient(-100deg, rgba(25, 32, 9, .92) 0%, rgba(38, 48, 15, .82) 45%, rgba(38, 48, 15, .45) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 74px 18px 64px; max-width: 1200px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6vw, 3.8rem); max-width: 14ch; margin-bottom: .4em; }
.hero .lead { font-size: 1.1rem; max-width: 46ch; color: #efe9d6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.status-pill { display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .45rem .95rem; border-radius: 999px; font-size: .92rem; }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #8fd16a; box-shadow: 0 0 0 4px rgba(143, 209, 106, .25); }
.status-pill.closed .dot { background: #e48a6b; box-shadow: 0 0 0 4px rgba(228, 138, 107, .25); }
@media (min-width: 860px) { .hero-inner { padding: 120px 18px 110px; } .hero-bg { grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr; } }

/* ---------- Menu ---------- */
.menu-section { padding-bottom: 3rem; }
.menu-toolbar { position: sticky; top: var(--header-h); z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); padding: .8rem 0 .2rem; }
.toolbar-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.search { flex: 1 1 240px; display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 1rem; color: var(--muted); min-height: 44px; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; padding: .65rem 0; color: var(--ink); }
.search:focus-within { border-color: var(--olive-500); box-shadow: 0 0 0 3px var(--olive-100); }
.veg-toggle { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; font-size: .92rem; min-height: 44px; }
.veg-toggle input { accent-color: var(--olive-600); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .75rem 0 .6rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .92rem; white-space: nowrap; }
.chips a.active, .chips a:hover { background: var(--olive-700); color: #fff; border-color: var(--olive-700); }

.cat-block { padding-top: 2.2rem; }
.cat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.cat-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.cat-head h2 { font-size: 1.9rem; margin: 0; }
.cat-head p { margin: 0; color: var(--gold); font-family: 'Amiri', serif; font-size: 1.1rem; }
[dir="rtl"] .cat-head p { font-family: 'Cormorant Garamond', serif; }
.food-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .food-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .food-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .food-grid { grid-template-columns: repeat(4, 1fr); } }

.food-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; cursor: pointer; transition: transform .2s, box-shadow .2s; border: 1px solid #f0e8d6; }
.food-card:hover, .food-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); outline: none; }
.food-card.unavailable { opacity: .65; cursor: default; }
.fc-img { position: relative; aspect-ratio: 4 / 3; background: var(--cream-2); overflow: hidden; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.food-card:hover .fc-img img { transform: scale(1.05); }
.badge-soldout { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(42, 42, 31, .85); color: #fff; padding: .2rem .6rem; border-radius: 999px; font-size: .78rem; }
.fc-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.fc-title { display: flex; gap: .5rem; align-items: flex-start; }
.fc-title h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink); margin: 0; }
.fc-alt { margin: .1rem 0 0; color: var(--gold); font-size: .92rem; font-family: 'Amiri', 'Tajawal', serif; }
[dir="rtl"] .fc-alt { font-family: var(--sans); font-size: .82rem; color: var(--muted); }
.fc-desc { font-size: .88rem; color: var(--muted); margin: .35rem 0 0; }
.size-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.size-tags span { font-size: .75rem; background: var(--olive-100); color: var(--olive-700); padding: .12rem .5rem; border-radius: 999px; }
.fc-foot { margin-top: auto; padding-top: .8rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 700; color: var(--olive-700); }
.price .from { font-weight: 400; font-size: .8rem; color: var(--muted); }
.veg-dot { flex: none; width: 15px; height: 15px; border: 1.5px solid; border-radius: 3px; display: inline-grid; place-items: center; margin-top: 4px; }
.veg-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.veg-dot.veg { color: #2f8a3a; }
.veg-dot.nonveg { color: #a5342a; }
.veg-dot.nonveg::after { border-radius: 0; width: 0; height: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }

.skeleton-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding-top: 2rem; }
.sk { height: 290px; border-radius: var(--radius); background: linear-gradient(90deg, var(--cream-2), #fff, var(--cream-2)); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.empty.err, .err { color: var(--danger); }

/* ---------- About / contact ---------- */
.about { background: var(--olive-800); color: #ece6d2; padding: 4rem 0; }
.about h2 { color: #fff; font-size: 2.3rem; }
.about-grid { display: grid; gap: 2rem; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.about-photos img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; }
.about-photos img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact { padding: 4rem 0; background: var(--cream-2); }
.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.5rem; border: 1px solid #f0e8d6; }
.contact-card h3 { margin-top: 1.5rem; font-size: 1.4rem; }
.addr { font-size: 1.02rem; }
.contact-btns { display: flex; flex-wrap: wrap; gap: .6rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: end; font-weight: 500; }
.hours tr.today td { color: var(--olive-600); font-weight: 700; }
.map-wrap { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow-sm); background: var(--beige); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-900); color: #cfc8b0; padding: 3rem 0 1.2rem; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer a { color: var(--gold-2); }
.footer-grid { display: grid; gap: 1.8rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.copy { text-align: center; font-size: .82rem; margin-top: 2rem; opacity: .7; }
.wa-fab { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
body.drawer-open .wa-fab { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(28, 30, 18, .55); display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; animation: fade .2s; }
.modal-card { position: relative; background: var(--cream); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; animation: up .25s ease-out; }
@media (min-width: 640px) { .modal { align-items: center; } .modal-card { border-radius: 22px; } }
.modal-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.modal-x { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.92); }
.modal-body { padding: 1.2rem 1.3rem 1.4rem; }
.modal-body h3 { font-size: 1.7rem; margin-bottom: .1rem; }
.opt-group { border: 0; padding: 0; margin: 1rem 0; }
.opt-group legend { font-weight: 600; margin-bottom: .5rem; color: var(--olive-800); }
.opt { display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; margin-bottom: .45rem; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--olive-600); background: var(--olive-100); }
.opt input { accent-color: var(--olive-600); width: 18px; height: 18px; }
.opt span { flex: 1; }
.modal-actions { display: flex; gap: .8rem; align-items: center; margin-top: 1.2rem; position: sticky; bottom: 0; background: var(--cream); padding-top: .6rem; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; margin: .8rem 0; font-weight: 500; font-size: .93rem; }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: .72rem .9rem; font-weight: 400; min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--olive-500); box-shadow: 0 0 0 3px var(--olive-100); }
.field small { color: var(--muted); font-weight: 400; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.row2 { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Qty ---------- */
.qty { display: inline-flex; align-items: center; gap: .3rem; }
.qty button:not(.link-btn) { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; line-height: 1; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }
.qty.big button { width: 42px; height: 42px; font-size: 1.2rem; }

/* ---------- Drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28, 30, 18, .45); z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; width: min(420px, 100%); background: var(--cream); z-index: 75; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
[dir="rtl"] .drawer { transform: translateX(-105%); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: .6rem 1.2rem; }
.drawer-foot { padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.cart-line { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.cart-line img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; }
.cl-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.cl-info small { color: var(--muted); }
.cl-price { font-weight: 600; white-space: nowrap; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; text-transform: uppercase; min-width: 0; }
.coupon-msg { font-size: .85rem; min-height: 1.2em; margin: .35rem 0; }
.coupon-msg.ok { color: var(--success); } .coupon-msg.err { color: var(--danger); }
.totals { margin: .4rem 0 1rem; }
.totals .row { display: flex; justify-content: space-between; padding: .25rem 0; }
.totals .row.disc { color: var(--success); }
.totals .row.muted { color: var(--muted); font-size: .9rem; }
.totals .row.grand { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .6rem; color: var(--olive-800); }

/* ---------- Toasts / misc ---------- */
#toasts { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; width: min(92vw, 420px); pointer-events: none; }
.toast { background: var(--olive-800); color: #fff; padding: .8rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow); animation: up .25s; transition: opacity .3s, transform .3s; font-size: .95rem; }
.toast-success { background: var(--success); } .toast-error { background: var(--danger); } .toast-warn { background: var(--warn); }
.toast.out { opacity: 0; transform: translateY(-10px); }
.config-warning { background: #fff3cd; color: #6b4e00; padding: .7rem 1rem; text-align: center; font-weight: 600; border-bottom: 1px solid #f0d98a; position: relative; z-index: 60; }
.gate { max-width: 460px; margin: 15vh auto; text-align: center; padding: 2rem; }

/* ---------- Inner pages (checkout, account, login, track) ---------- */
.page { padding: 2rem 0 4rem; min-height: 70vh; }
.page h1 { font-size: 2.3rem; }
.page-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .page-grid { grid-template-columns: 1.4fr 1fr; } .sticky-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.section-title { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .2rem; }
.section-title .num { width: 28px; height: 28px; border-radius: 50%; background: var(--olive-700); color: #fff; display: grid; place-items: center; font-family: var(--sans); font-size: .85rem; }
.pay-opts { display: grid; gap: .6rem; }
.summary-line { display: flex; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary-line small { display: block; color: var(--muted); }
.notice { padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--gold-soft); color: #6b4e00; font-size: .93rem; margin: .8rem 0; }
.notice.err { background: #f8e0da; color: var(--danger); }
.notice.ok { background: #e3f0dc; color: var(--success); }
.auth-wrap { max-width: 440px; margin: 0 auto; }
.tabs { display: flex; background: var(--cream-2); border-radius: 999px; padding: 4px; margin-bottom: 1.2rem; }
.tabs button { flex: 1; border: 0; background: none; padding: .6rem; border-radius: 999px; cursor: pointer; font-weight: 600; color: var(--muted); }
.tabs button.active { background: #fff; color: var(--olive-800); box-shadow: var(--shadow-sm); }
.order-card { display: flex; flex-direction: column; gap: .4rem; }
.order-card + .order-card { margin-top: 1rem; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--olive-100); color: var(--olive-700); }
.badge.s-pending, .badge.s-awaiting_payment { background: #fff1cc; color: #8a6200; }
.badge.s-accepted, .badge.s-preparing, .badge.s-ready { background: #e2ecf8; color: #2c5a8a; }
.badge.s-picked_up, .badge.s-on_the_way { background: #ede3f6; color: #6a3d8f; }
.badge.s-delivered { background: #e3f0dc; color: var(--success); }
.badge.s-rejected, .badge.s-cancelled { background: #f8e0da; color: var(--danger); }
.stepper { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-direction: column; gap: 0; }
.stepper li { display: flex; gap: .9rem; position: relative; padding-bottom: 1.2rem; color: var(--muted); }
.stepper li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--beige-2); background: #fff; z-index: 1; }
.stepper li::after { content: ''; position: absolute; top: 22px; bottom: 0; inset-inline-start: 10px; width: 2px; background: var(--beige-2); }
.stepper li:last-child::after { display: none; }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { background: var(--olive-600); border-color: var(--olive-600); }
.stepper li.done::after { background: var(--olive-600); }
.stepper li.current::before { box-shadow: 0 0 0 5px var(--olive-100); animation: pulse 1.6s infinite; }
.stepper li small { display: block; color: var(--muted); font-size: .82rem; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(93, 112, 41, .08); } }
.live-dot { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--success); }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }

/* ---------- Refinements ---------- */
.hero-bg img { filter: blur(1.5px) saturate(1.05); transform: scale(1.04); }
.page-grid > *, .row2 > * { min-width: 0; }
.field select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 420px) {
  .logo strong { font-size: .9rem; letter-spacing: .02em; white-space: nowrap; }
  .logo small { font-size: .82rem; }
  .logo img { width: 34px; height: 34px; }
  .nav-actions { gap: .35rem; }
  .btn-lang { padding: .3rem .6rem; font-size: .85rem; }
}
/* Phones: compact list rows so the full 118-item menu stays easy to scroll */
@media (max-width: 559px) {
  .food-grid { gap: .7rem; }
  .food-card { flex-direction: row; min-height: 118px; }
  .fc-img { flex: none; width: 112px; aspect-ratio: auto; }
  .fc-body { padding: .7rem .8rem; min-width: 0; }
  .fc-title h4 { font-size: .97rem; }
  .fc-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .fc-foot { padding-top: .5rem; }
  .size-tags span { font-size: .7rem; }
  .cat-head img { width: 52px; height: 52px; }
  .cat-head h2 { font-size: 1.6rem; }
}
