/* ==========================================================
   LaCasa Burger — "Premium Urban Burger" identity
   Deep charcoal surfaces · brand red · warm ivory type
   ========================================================== */
:root{
  /* Charcoal surfaces */
  --bg-950: #0e0c0d;
  --bg-900: #161315;
  --bg-800: #1e1a1c;
  --bg-700: #272225;
  --bg-650: #2f292c;
  --line: rgba(255,255,255,0.09);
  --line-soft: rgba(255,255,255,0.06);

  /* Brand red (sampled from logo) */
  --red: #E2241F;
  --red-bright: #FF3B34;
  --red-deep: #8E1310;
  --red-glow: rgba(226,36,31,0.45);

  /* Ivory type */
  --ivory: #F6EEE2;
  --ivory-dim: #C9C0B4;
  --muted: #948C84;

  /* Status */
  --green: #33D17A;
  --amber: #E0A458;

  --radius-card: 22px;
  --radius-control: 16px;
  --shadow-soft: 0 10px 28px rgba(0,0,0,0.35);
  --shadow-pop: 0 -16px 50px rgba(0,0,0,0.55);
  --shadow-glow: 0 8px 24px var(--red-glow);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

/* ==========================================================
   سلوك اللمس أقرب إلى تطبيق (بدون كسر التمرير أو السحب)
   ========================================================== */

/* يمنع تكبير النقر المزدوج (double-tap zoom) على كل عنصر تفاعلي،
   مع إبقاء التمرير العمودي/الأفقي طبيعياً داخل كل عنصر. */
button, a, input, select, .cat-pill, .product-card, .btn-add, .btn-pill-add,
.qty-btn, .icon-btn, .pill, .status-pill, .sound-toggle, .dish-arrow, .dish-dot,
.dish-autoplay-toggle, .cart-fab, .search-clear, .inline-stepper button,
.cart-item-stepper button, .option-row, .btn-hero-cta{
  touch-action: manipulation;
}

/* حاويات السحب/التمرير الأفقي: تُبقي الاتجاه المقصود فقط دون تكبير بالإصبعين */
.categories{ touch-action: pan-x; }
.dish-stage{ touch-action: pan-y; }
.sheet-body{ touch-action: pan-y; }

/* في وضع "مثبّت على الشاشة الرئيسية" (standalone/PWA) فقط:
   نمنع تقريب الصفحة بالإصبعين على المستوى العام، دون التأثير على
   العناصر أعلاه التي حدّدت سلوكها الخاص (سحب الكاروسيل، تمرير النوافذ...). */
html.is-standalone{
  touch-action: pan-x pan-y;
}

[hidden]{ display: none !important; }

body{
  margin:0;
  font-family: var(--font);
  background: var(--bg-950);
  color: var(--ivory);
  -webkit-tap-highlight-color: transparent;
  padding-bottom: 90px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

img{ max-width: 100%; display:block; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; color: inherit; }
input, textarea{ font-family: inherit; }
a{ color: inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   HERO — مدمج، شعار مركزي، عرض أكلات سينمائي
   ========================================================== */
.hero{
  position: relative;
  overflow: hidden;
  padding: calc(22px + env(safe-area-inset-top)) 20px 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(226,36,31,0.20) 0%, rgba(226,36,31,0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(226,36,31,0.12) 0%, rgba(226,36,31,0) 60%),
    linear-gradient(180deg, var(--bg-950) 0%, var(--bg-900) 55%, var(--bg-950) 100%);
}

.hero-noise{
  position:absolute; inset:0;
  opacity: 0.05;
  pointer-events:none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
}

.logo-badge{
  width: 68px; height:68px;
  border-radius: 50%;
  background:#fff;
  border: 2.5px solid rgba(255,255,255,0.9);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  margin-bottom: 10px;
}
.logo-badge img{ width:100%; height:100%; object-fit:cover; }

.hero-title{
  font-size: 23px;
  font-weight: 900;
  color: var(--ivory);
  margin: 0 0 4px;
  letter-spacing: 0.2px;
}

.hero-tagline{
  font-size: 13px;
  color: var(--ivory-dim);
  margin: 0 0 12px;
  font-weight: 500;
}

.hero-meta{ display:flex; justify-content:center; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom: 14px; }

.status-pill{
  display:inline-flex; align-items:center; gap:6px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ivory);
  transition: transform .15s ease, border-color .15s ease;
}
.status-pill:active{ transform: scale(0.96); }
.status-pill svg{ color: var(--muted); }

.status-dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--muted);
  flex-shrink:0;
}
.status-dot.is-open{ background: var(--green); box-shadow: 0 0 0 0 rgba(51,209,122,0.5); animation: pulseDot 2.4s ease-out infinite; }
.status-dot.is-closed{ background: #9b6b6b; }
.status-dot.lg{ width:14px; height:14px; }

@keyframes pulseDot{
  0%{ box-shadow: 0 0 0 0 rgba(51,209,122,0.45); }
  70%{ box-shadow: 0 0 0 8px rgba(51,209,122,0); }
  100%{ box-shadow: 0 0 0 0 rgba(51,209,122,0); }
}

.hours-pill{
  display:inline-flex; align-items:center; gap:6px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ivory-dim);
}
.hours-pill svg{ color: var(--muted); flex-shrink:0; }

.sound-toggle{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-800);
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: transform .15s ease, color .15s ease;
}
.sound-toggle:active{ transform: scale(0.92); }
.sound-toggle.is-muted{ color: var(--muted); }

/* ---- عرض الأكلات السينمائي ---- */
.dish-carousel{
  position: relative;
  width: 100%;
  height: 190px;
  margin: 4px 0 10px;
  perspective: 900px;
}
.dish-stage{
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.dish-slide{
  position: absolute;
  inset: 0;
  margin: 0 auto;
  width: 168px; height: 168px;
  top: 50%; left: 50%;
  margin-top: -84px; margin-left: -84px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-700);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0,0,0,0.5);
  transition: transform .72s cubic-bezier(.22,.75,.2,1), opacity .72s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.dish-slide img{ width:100%; height:100%; object-fit: cover; }
.dish-slide.is-active{
  box-shadow: 0 18px 46px rgba(226,36,31,0.28), 0 10px 26px rgba(0,0,0,0.55);
  border-color: rgba(226,36,31,0.4);
}

.dish-arrow{
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 34px; height:34px;
  border-radius:50%;
  background: rgba(20,17,18,0.7);
  border: 1px solid var(--line);
  color: var(--ivory);
  display:flex; align-items:center; justify-content:center;
  z-index: 6;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .15s ease, background .15s ease;
}
.dish-arrow:active{ transform: translateY(-50%) scale(0.92); }
.dish-arrow-prev{ right: 2px; }
.dish-arrow-next{ left: 2px; }

.dish-name{
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ivory);
  margin: 0 0 10px;
  min-height: 20px;
}

.dish-dots{
  display:flex; justify-content:center; align-items:center;
  gap: 6px;
  margin-bottom: 10px;
}
.dish-dot{
  width:6px; height:6px; border-radius:50%;
  background: var(--bg-650);
  transition: all .25s ease;
  padding:0;
}
.dish-dot.active{ width:18px; background: var(--red-bright); }

.dish-autoplay-toggle{
  display:inline-flex; align-items:center; gap:6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 4px 8px;
}
.dish-autoplay-toggle:active{ opacity: 0.7; }

.hero-actions{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-top: 16px; }
.pill{
  display:inline-flex; align-items:center; gap:6px;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  color: var(--ivory);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  max-width: 47%;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.pill span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pill:active{ transform: scale(0.96); }
.pill svg{ color: var(--red-bright); flex-shrink: 0; }
.pill:hover{ border-color: rgba(226,36,31,0.5); }

.btn-hero-cta{
  display:inline-flex; align-items:center; gap:8px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-glow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-hero-cta:active{ transform: scale(0.97); }
.btn-hero-cta svg{ animation: bob 1.8s ease-in-out infinite; }

@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(3px); }
}

/* ---- Reveal-on-load staggered entrance ---- */
.reveal{ opacity:0; transform: translateY(14px); animation: revealUp .6s cubic-bezier(.2,.7,.2,1) forwards; }
.r1{ animation-delay: .05s; }
.r2{ animation-delay: .11s; }
.r3{ animation-delay: .17s; }
.r4{ animation-delay: .23s; }
.r5{ animation-delay: .29s; }
.r6{ animation-delay: .35s; }
.r7{ animation-delay: .41s; }

@keyframes revealUp{
  to{ opacity:1; transform: translateY(0); }
}

/* ---- عنوان بداية المنيو ---- */
.menu-intro{ padding: 22px 16px 0; max-width: 720px; margin: 0 auto; }
.menu-intro-title{
  font-size: 19px;
  font-weight: 800;
  color: var(--ivory);
  margin: 0;
  text-align: center;
}

/* ==========================================================
   SEARCH
   ========================================================== */
.search-wrap{ padding: 16px 16px 8px; background: var(--bg-950); }
.search-box{
  position: relative;
  display:flex; align-items:center; gap:8px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 13px 44px 13px 14px;
}
.search-box svg{ color: var(--muted); flex-shrink:0; }
.search-box input{
  border:none; background:transparent; outline:none;
  width: 100%; font-size: 16px; color: var(--ivory);
  text-align: right;
}
.search-box input::placeholder{ color: var(--muted); }
.search-clear{
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  width:26px; height:26px; border-radius:50%;
  background: var(--bg-700);
  color: var(--ivory-dim);
  display:flex; align-items:center; justify-content:center;
}

/* ==========================================================
   CATEGORIES
   ========================================================== */
.categories{
  position: sticky; top: env(safe-area-inset-top); z-index: 20;
  display:flex; gap:10px;
  overflow-x: auto;
  padding: 14px 16px;
  background: rgba(14,12,13,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  scrollbar-width: none;
}
.categories::-webkit-scrollbar{ display:none; }

.cat-pill{
  flex-shrink:0;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-pill:active{ transform: scale(0.95); }
.cat-pill.active{
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px var(--red-glow);
}

/* ==========================================================
   PRODUCT SECTIONS / CARDS
   ========================================================== */
.menu-sections{ padding: 8px 16px 20px; max-width: 720px; margin: 0 auto; }

.menu-section{ margin-top: 24px; scroll-margin-top: 78px; }
.menu-section-title{
  font-size: 18.5px; font-weight: 800;
  margin: 0 0 4px;
  display:flex; align-items:center; gap:10px;
  color: var(--ivory);
}
.menu-section-title::after{
  content:"";
  flex:1;
  height: 1px;
  background: var(--line);
}

.product-card{
  display:flex; flex-direction: row-reverse;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease, border-color .2s ease, box-shadow .2s ease;
}
.product-card.reveal-init{ opacity:0; transform: translateY(18px); }
.product-card.reveal-in{ opacity:1; transform: translateY(0); }
.product-card:hover{ border-color: rgba(226,36,31,0.4); box-shadow: 0 12px 32px rgba(0,0,0,0.45); }

.product-image{
  width: 128px; height: 128px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-700);
}
.product-image img{ width:100%; height:100%; object-fit: cover; }

.product-info{
  flex: 1;
  display:flex; flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  text-align: right;
  min-width: 0;
}
.product-name{ font-size: 15.5px; font-weight: 800; margin:0; color: var(--ivory); }
.product-price{ font-size: 14.5px; font-weight: 800; color: var(--red-bright); margin:0; }
.product-price small{ font-weight: 600; color: var(--muted); font-size:11.5px; }

.product-actions{ display:flex; align-items:center; gap:8px; }

.btn-pill-add{
  display:inline-flex; align-items:center; gap:6px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color:#fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px var(--red-glow);
  transition: transform .12s ease;
}
.btn-pill-add:active{ transform: scale(0.94); }
.btn-pill-add svg{ flex-shrink:0; }

.customizable-tag{
  font-size: 11.5px;
  color: var(--amber);
  font-weight: 700;
  margin:0;
}

.inline-stepper{
  display:none;
  align-items:center;
  gap:10px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 4px 14px var(--red-glow);
}
.inline-stepper.show{ display:flex; }
.inline-stepper button{
  color:#fff; font-size:16px; font-weight:800;
  width:24px; height:24px; display:flex; align-items:center; justify-content:center;
}
.inline-stepper .inline-qty{ color:#fff; font-weight:800; font-size:14px; min-width:14px; text-align:center; }

.empty-state{ text-align:center; padding: 60px 20px; color: var(--muted); }
.empty-state svg{ color: var(--bg-700); margin-bottom: 10px; }
.empty-state p{ margin:0; font-size:14.5px; }

/* ==========================================================
   FLOATING CART BUTTON
   ========================================================== */
.cart-fab{
  position: fixed;
  bottom: calc(18px + var(--safe-bottom));
  left: 16px; right: 16px;
  max-width: 688px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color:#fff;
  border-radius: 999px;
  padding: 14px 20px;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow: 0 14px 36px rgba(226,36,31,0.45);
  z-index: 40;
  animation: popIn .25s ease;
}
@keyframes popIn{ from{ transform: translateY(20px); opacity:0;} to{ transform: translateY(0); opacity:1; } }
.cart-fab.pulse{ animation: fabPulse .4s ease; }
@keyframes fabPulse{ 0%{ transform:scale(1);} 35%{ transform:scale(1.05);} 100%{ transform:scale(1);} }

.cart-fab-count{
  background:#fff; color: var(--red-deep);
  border-radius:50%;
  width: 24px; height:24px;
  font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  margin-inline-end: 8px;
}
.cart-fab-total{ font-weight:800; font-size:14.5px; margin-inline-start:auto; }
.cart-fab svg{ margin-inline-end: 4px; }

/* ==========================================================
   OVERLAY + BOTTOM SHEETS
   ========================================================== */
.overlay{
  position: fixed; inset:0;
  background: rgba(0,0,0,0.6);
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
  z-index: 60;
}
.overlay.show{ opacity:1; pointer-events:auto; }

.sheet{
  position: fixed;
  left:0; right:0; bottom:0;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: var(--shadow-pop);
  transform: translateY(105%);
  transition: transform .32s cubic-bezier(.32,.72,0,1);
  z-index: 70;
  max-height: 88vh;
  max-height: 88dvh;
  display:flex; flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  right: 0; left: 0;
}
.sheet.open{ transform: translateY(0); }
.sheet-tall{ max-height: 92vh; max-height: 92dvh; }
.sheet-compact .sheet-body{ padding-bottom: 24px; }

.sheet-handle{
  width: 44px; height:5px; border-radius:3px;
  background: var(--bg-650);
  margin: 10px auto 0;
  flex-shrink:0;
}

.sheet-header{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-soft);
  flex-shrink:0;
}
.sheet-header h2{ font-size:17px; font-weight:800; margin:0; color: var(--ivory); }
.icon-btn{
  width:34px; height:34px;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  background: var(--bg-700);
  color: var(--ivory-dim);
}

.sheet-body{
  overflow-y: auto;
  padding: 16px;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.sheet-product-image{
  width:100%; aspect-ratio: 16/9;
  max-height: 220px;
  border-radius: 16px;
  overflow:hidden;
  background: var(--bg-700);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.sheet-product-image img{ width:100%; height:100%; object-fit: cover; }

.options-block{ margin-bottom: 20px; }
.options-title{ font-size:15px; font-weight:800; margin: 0 0 10px; color: var(--ivory); }

.options-list{ display:flex; flex-direction:column; gap:0; border-top:1px solid var(--line-soft); }
.option-row{
  display:flex; align-items:center; justify-content:space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line-soft);
  cursor:pointer;
}
.option-row .radio{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid var(--bg-650);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
  transition: border-color .15s ease;
}
.option-row .radio::after{
  content:""; width:10px; height:10px; border-radius:50%;
  background: var(--red-bright);
  transform: scale(0);
  transition: transform .15s ease;
}
.option-row.selected .radio{ border-color: var(--red-bright); }
.option-row.selected .radio::after{ transform: scale(1); }
.option-row .option-label{ font-size:14.5px; font-weight:600; flex:1; text-align:right; color: var(--ivory); }
.option-row .option-price{ font-size:14px; font-weight:700; color: var(--muted); margin-inline-end:12px; }
.option-row.selected .option-price{ color: var(--red-bright); }

textarea, .checkout-form input{
  width:100%;
  border:1px solid var(--line);
  background: var(--bg-700);
  border-radius: var(--radius-control);
  padding: 13px 14px;
  font-size:16px;
  color: var(--ivory);
  outline:none;
  resize:none;
  text-align:right;
  transition: border-color .15s ease;
}
textarea:focus, .checkout-form input:focus{ border-color: var(--red-bright); }
.checkout-form input{ margin-bottom: 10px; }
.checkout-form input::placeholder, textarea::placeholder{ color: var(--muted); }

.field-hint{
  display:block;
  color: var(--red-bright);
  font-size: 12px;
  font-weight: 600;
  margin: -6px 0 10px;
}

.closed-banner{
  margin: 0 16px 14px;
  padding: 12px 14px;
  background: rgba(224,164,88,0.12);
  border: 1px solid rgba(224,164,88,0.35);
  color: var(--amber);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.sheet-footer{
  display:flex; align-items:center; gap:12px;
  padding: 14px 16px calc(14px + var(--safe-bottom));
  border-top: 1px solid var(--line-soft);
  flex-shrink:0;
  background: transparent;
}
.sheet-footer.single .btn-add{ width:100%; }

.btn-add{
  flex:1;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color:#fff;
  font-weight:800;
  font-size:15px;
  border-radius: 999px;
  padding: 15px 18px;
  display:flex; align-items:center; justify-content:center;
  gap:8px;
  box-shadow: var(--shadow-glow);
  transition: transform .12s ease;
}
.btn-add:active{ transform: scale(0.97); }
.btn-add.full{ width:100%; }
.btn-add:disabled{ background:var(--bg-700); box-shadow:none; cursor:not-allowed; color: var(--muted); }

.qty-stepper{
  display:flex; align-items:center; gap:0;
  background: var(--bg-700);
  border-radius: 999px;
  overflow:hidden;
}
.qty-btn{
  width:44px; height:44px;
  background: var(--bg-650);
  color:var(--ivory); font-size:20px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
}
.qty-value{ width:36px; text-align:center; font-weight:800; font-size:15px; color: var(--ivory); }

/* ---- status detail sheet ---- */
.status-detail{ display:flex; align-items:flex-start; gap:12px; margin-bottom: 18px; }
.status-detail-text{ font-size:16px; font-weight:800; margin:2px 0 4px; color: var(--ivory); }
.status-detail-sub{ font-size:13px; color: var(--muted); margin:0; }
.status-hours-card{
  display:flex; align-items:center; gap:8px;
  background: var(--bg-700);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ivory-dim);
}
.status-hours-card svg{ color: var(--muted); flex-shrink:0; }

/* ==========================================================
   CART ITEMS
   ========================================================== */
.cart-item{
  border: 1px solid var(--line);
  background: var(--bg-700);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
  position: relative;
}
.cart-item-top{ display:flex; justify-content:space-between; align-items:flex-start; gap: 10px; }
.cart-item-name{ font-size:15px; font-weight:800; margin:0 0 4px; color: var(--ivory); }
.cart-item-meta{ font-size:12.5px; color: var(--muted); line-height:1.7; margin:0; }
.cart-item-price{ font-size:14.5px; font-weight:800; color: var(--red-bright); white-space:nowrap; }
.cart-item-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.cart-item-remove{
  font-size:12.5px; color: var(--muted); text-decoration: underline;
}
.cart-item-stepper{ display:flex; align-items:center; gap:12px; background:var(--bg-650); border-radius:999px; padding:4px 6px; }
.cart-item-stepper button{ width:26px; height:26px; border-radius:50%; background: var(--red); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; }
.cart-item-stepper span{ font-weight:800; min-width:14px; text-align:center; color: var(--ivory); }

.cart-empty{ text-align:center; padding: 50px 10px; color: var(--muted); }
.cart-empty svg{ margin-bottom: 10px; color: var(--bg-700); }

.cart-total-row{
  display:flex; justify-content:space-between; align-items:center;
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
  font-weight:800; font-size:16px;
  flex-shrink:0;
  color: var(--ivory);
}
.cart-total-row span:last-child{ color: var(--red-bright); }

.checkout-form{ padding: 4px 16px 10px; flex-shrink:0; max-height: 40vh; overflow-y:auto; }

/* ==========================================================
   TOAST
   ========================================================== */
.toast{
  position: fixed;
  bottom: calc(90px + var(--safe-bottom));
  left:50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-700);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight:600;
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 90;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.toast.show{ opacity:1; transform: translateX(-50%) translateY(0); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer{
  text-align: center;
  padding: 24px 16px 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.site-footer p{ margin:0; }
.brand-link{
  color: #6EA8FE;
  font-weight: 800;
  text-decoration: none;
  margin-inline-start: 4px;
  transition: opacity .15s ease;
}
.brand-link:active{ opacity: 0.7; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 720px){
  .hero{ border-radius: 0 0 32px 32px; padding-top: 30px; padding-bottom: 30px; }
  .hero-inner{ max-width: 480px; }
  .logo-badge{ width: 80px; height:80px; }
  .hero-title{ font-size: 27px; }
  .dish-carousel{ height: 230px; }
  .dish-slide{ width: 200px; height: 200px; margin-top:-100px; margin-left:-100px; }
  .product-card{ padding: 18px; }
  .product-image{ width:144px; height:144px; }
}

@media (min-width: 900px){
  .menu-sections{ max-width: 860px; }
}

@media (hover:hover){
  .cat-pill:hover{ background: var(--bg-700); color: var(--ivory); }
  .pill:hover{ background: var(--bg-700); }
  .btn-pill-add:hover, .btn-add:hover, .btn-hero-cta:hover{ filter: brightness(1.08); }
}
