:root {
  --bg: #FFFBF0;
  --surface: #FFFFFF;
  --ink: #141414;
  --ink-soft: #6B615A;
  --red: #FF1E1E;
  --red-dark: #C90000;
  --mustard: #FFD400;
  --blue: #38BDF8;
  --line: #F0E3B4;
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-h: 64px;
  --top-h: 56px;
}

* { box-sizing: border-box; }


/* ===== PICK UP / DELIVERY CHOICE ===== */
.order-type-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}
.order-type-overlay[hidden] { display: none; }
.order-type-card {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border: 2px solid var(--mustard);
  border-radius: 20px;
  padding: 24px 18px 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 24px rgba(247,198,0,0.14);
}
.order-type-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .7px;
  margin-bottom: 14px;
}
.order-type-card h2 {
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.order-type-card > p {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 18px;
}
.order-type-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.order-type-btn {
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 14px;
  padding: 15px 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 700;
}
.order-type-btn:hover { border-color: var(--red); }
.order-type-btn.pickup { border-color: var(--mustard); }
.order-type-btn.delivery { border-color: var(--red); }
.order-type-btn .order-type-icon { font-size: 27px; line-height: 1; margin-bottom: 3px; }

.location-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.location-btn {
  border: 2px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 14px;
  padding: 15px 10px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}
.location-btn.exact { border-color: var(--red); }
.location-btn.manual { border-color: var(--mustard); }
.location-btn:hover { border-color: var(--red); }
.location-icon { font-size: 27px; line-height: 1; margin-bottom: 3px; }
.location-btn small { color: var(--ink-soft); font-size: 10.5px; font-weight: 500; }
.manual-location-form { margin-top: 14px; text-align: left; }
.manual-location-form label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.manual-location-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 14px; font-family: var(--font-body); background: var(--bg); color: var(--ink); resize: vertical; }
.location-continue-btn { width: 100%; margin-top: 9px; border: none; border-radius: 10px; padding: 12px; background: var(--red); color: #fff; font-weight: 700; }
.location-back-btn { margin-top: 12px; border: none; background: transparent; color: var(--ink-soft); font-weight: 600; padding: 8px 12px; }
.location-status { min-height: 18px; margin: 8px 0 0; font-size: 12px; color: var(--red); }
body.dark .location-btn { background: #262626; color: var(--ink); }
body.dark .manual-location-form textarea { background: #262626; color: var(--ink); }
.order-type-btn small {
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 500;
}
body.dark .order-type-card { background: var(--surface); }
body.dark .order-type-btn { background: #262626; color: var(--ink); }

/* ===== TAP GLOW ===== */
button, .btn, .chip, .size-btn, .add-btn, .nav-btn {
  transition: box-shadow .15s ease, transform .1s ease;
}
button:active, .btn:active, .chip:active, .size-btn:active, .add-btn:active, .nav-btn:active {
  box-shadow: 0 0 0 5px rgba(247, 198, 0, 0.45);
  transform: scale(0.97);
}
.cart-icon-btn:active {
  box-shadow: 0 0 0 5px rgba(247, 198, 0, 0.45);
  border-radius: 999px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

body {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  padding-top: var(--top-h);
  padding-bottom: calc(var(--nav-h) + 12px);
  position: relative;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: 0.2px;
}

p { margin: 0; }

button { font-family: var(--font-body); cursor: pointer; }

/* ===== TOP BAR ===== */
.topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: var(--top-h);
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 50;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.topbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
}
.topbar-brand span { color: var(--mustard); margin-left: 4px; font-weight: 500; }

.hamburger-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 6px;
  display: flex;
}

/* ===== SIDE DRAWER ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 90;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.side-drawer {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: 78%;
  max-width: 320px;
  background: #F2F2F2;
  z-index: 100;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 20px rgba(0,0,0,0.15);
}
.side-drawer.open { transform: translateX(0); }

.drawer-header {
  background: var(--ink);
  color: #fff;
  height: var(--top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.drawer-close { background: none; border: none; color: #fff; padding: 4px; }

.drawer-list { padding: 8px 0; overflow-y: auto; }
.drawer-item {
  width: 100%;
  background: #F2F2F2;
  border: none;
  border-bottom: 1px solid var(--mustard);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.drawer-item svg { color: var(--ink); }

.drawer-panel {
  background: #EAEAEA;
  padding: 12px 18px 16px;
  border-bottom: 1px solid var(--mustard);
}
.drawer-panel p {
  font-size: 13px;
  line-height: 1.6;
}
.drawer-panel p + p {
  margin-top: 8px;
}
.drawer-sub-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.theme-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
}

.switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  position: relative;
  transition: background .2s ease;
}
.switch.on { background: var(--red); }
.switch-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left .2s ease;
}
.switch.on .switch-knob { left: 23px; }

/* ===== DARK MODE ===== */
body.dark {
  --bg: #1E1E1E;
  --surface: #262626;
  --ink: #F5F1EA;
  --ink-soft: #A79E95;
  --line: #333333;
}
body.dark .side-drawer { background: #1E1E1E; }
body.dark .drawer-item { background: #1E1E1E; color: #F5F1EA; }
body.dark .drawer-panel { background: #262626; color: #F5F1EA; }
body.dark .theme-toggle-row { color: #F5F1EA; }
body.dark .home-strip,
body.dark .category-chips { border-color: var(--line); }
body.dark .chip { background: #2A2A2A; color: var(--ink); }
body.dark .chip.active { background: #000; border-color: #000; color: var(--mustard); }
body.dark .size-btn { background: #262626; }
body.dark .review-form input,
body.dark .review-form select,
body.dark .review-form textarea,
body.dark .cart-name-field input,
body.dark .cart-name-field textarea { background: #262626; color: var(--ink); }

body.dark .hero,
body.dark .home-deal { background: #121212; color: #F5F1EA; }

body.dark .hero h1 { color: #F5F1EA; }
body.dark .hero h1 span,
body.dark .hero p,
body.dark .home-deal .eyebrow,
body.dark .home-deal p { color: var(--mustard); }

body.dark .home-delivery-card {
  background: #1E1E1E;
  border-color: #333333;
  color: #F5F1EA;
}

body.dark .home-delivery-card span { color: #A79E95; }

body.dark .cart-summary { background: #121212; }

/* ===== TAB PANELS ===== */
.tab-panel { display: none; padding: 20px 16px 8px; }
.tab-panel.active { display: block; }

/* ===== HOME ===== */
.hero {
  background: var(--ink);
  color: #fff;
  margin: -20px -16px 0;
  padding: 32px 20px 26px;
  border-radius: 0 0 20px 20px;
}
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--mustard);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}
.hero h1 span { color: var(--mustard); }
.hero p {
  margin-top: 12px;
  color: var(--mustard);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  max-width: 34ch;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.hero .btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 14px;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:active { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-small { padding: 10px 14px; font-size: 13px; }
.btn-full { width: 100%; }


.home-deals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 8px;
}

.home-delivery-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 13px 16px;
}

.delivery-clock {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mustard);
  color: var(--ink);
  flex: none;
  box-shadow: 0 0 0 5px rgba(247,198,0,0.12);
}

.delivery-time-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.delivery-time-copy strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .5px;
}

.delivery-time-copy span {
  color: var(--mustard);
  font-size: 13px;
  font-weight: 700;
}

.home-deal {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
}

.home-deal .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--mustard);
  margin-bottom: 8px;
}

.home-deal h2 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.home-deal p {
  color: var(--mustard);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 16px;
}

.home-price {
  color: var(--mustard);
}

.btn-empty-cart {
  margin-top: 10px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-empty-cart:hover {
  border-color: var(--red);
  color: #fff;
}

/* ===== MENU ===== */
.menu-header { padding: 4px 0 14px; }
.menu-header h2 { font-size: 24px; }
.menu-header p { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }

.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.category-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--mustard); box-shadow: 0 3px 10px rgba(0,0,0,0.25); }

.menu-category { padding: 22px 0 6px; scroll-margin-top: 130px; }
.menu-category h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.item-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.item-name { font-weight: 600; font-size: 14.5px; }
.item-note { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

.size-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.size-btn {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 62px;
}
.size-btn span { font-weight: 400; color: #FFD9D6; font-size: 10.5px; }

.stepper {
  display: flex;
  align-items: center;
  background: var(--red);
  border-radius: 10px;
  overflow: hidden;
}
.stepper button {
  background: none;
  border: none;
  color: #fff;
  width: 30px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
}
.stepper .qty {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  min-width: 22px;
  text-align: center;
}

.single-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.price-tag { font-weight: 700; color: var(--red); font-size: 14px; }

.add-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== CART ===== */
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.cart-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 14px; }
.cart-item-meta { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }
.cart-item-price { font-weight: 700; font-size: 13px; color: var(--red); margin-top: 6px; }

.cart-name-field {
  margin-top: 14px;
}
.cart-name-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 14px;
}
.cart-name-field label:first-child { margin-top: 0; }
.required-star { color: var(--red); }
.optional-tag { color: var(--ink-soft); font-weight: 400; }
.cart-name-field input,
.cart-name-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--surface);
}
.cart-name-field input.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228,35,29,0.15);
}

.cart-summary {
  position: sticky;
  bottom: calc(var(--nav-h) + 12px);
  margin-top: 18px;
  background: var(--ink);
  border-radius: 16px;
  padding: 16px 18px;
  color: #fff;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
}
.cart-summary .btn-primary { background: var(--mustard); color: var(--ink); }

/* ===== FEEDBACK / FORM ===== */
.review-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.review-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin: 14px 0 6px;
}
.review-form label:first-of-type { margin-top: 0; }
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: var(--font-body);
  background: var(--bg);
}
.review-form button { margin-top: 16px; background: var(--red); color: #fff; }
.review-form button:hover { background: var(--red-dark); }
.review-form input.input-error,
.review-form textarea.input-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(228,35,29,0.15);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 520px;
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-btn {
  flex: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  position: relative;
}
.nav-btn.active { color: var(--red); }

.nav-badge[hidden] { display: none; }

.nav-badge {
  position: absolute;
  top: 2px;
  right: 26%;
  background: var(--mustard);
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   HADI BURGER & PIZZA — PREMIUM APP VISUAL LAYER
   Visual-only enhancement. Existing IDs/classes and behavior
   are intentionally preserved.
   ========================================================= */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #171717;
  --ink-soft: #6c727b;
  --red: #ff2028;
  --red-dark: #d90d16;
  --mustard: #ffc800;
  --blue: #25ace8;
  --line: #e9edf1;
  --nav-h: 74px;
  --top-h: 76px;
}

html, body {
  background:
    radial-gradient(circle at 90% 8%, rgba(37,172,232,.06), transparent 28%),
    #f7f8fa;
}

body {
  max-width: 520px;
  padding-top: var(--top-h);
  padding-bottom: calc(var(--nav-h) + 18px);
  color: var(--ink);
}

/* ---------- Top bar ---------- */
.topbar {
  height: var(--top-h);
  padding: 0 17px;
  background: var(--red);
  box-shadow: 0 7px 24px rgba(255,32,40,.18);
}

.topbar-left {
  gap: 10px;
}

.topbar-logo {
  width: 46px;
  height: 46px;
  border-width: 2.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}

.topbar-brand {
  font-size: 21px;
  letter-spacing: .2px;
  line-height: 1;
}

.topbar-brand span {
  color: var(--mustard);
  font-weight: 700;
  margin-left: 4px;
}

.hamburger-btn {
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,255,255,.11);
}

.hamburger-btn:active {
  background: rgba(255,255,255,.2);
}

/* ---------- Home panel ---------- */
#tab-home {
  padding: 0 14px 10px;
}

/* ---------- Hero: photo-led commercial restaurant look ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  margin: 0 -14px;
  padding: 31px 21px 27px;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(12,12,12,.96) 0%, rgba(12,12,12,.86) 42%, rgba(12,12,12,.34) 76%, rgba(12,12,12,.16) 100%),
    url("background.png") center/cover no-repeat;
  box-shadow: 0 16px 35px rgba(0,0,0,.16);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(255,200,0,.92);
  z-index: -1;
}

.hero-badge {
  color: #1a1a1a;
  background: var(--mustard);
  padding: 8px 13px;
  margin-bottom: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.15px;
  box-shadow: 0 7px 18px rgba(255,200,0,.18);
}

.hero h1 {
  max-width: 300px;
  font-size: clamp(43px, 11vw, 58px);
  line-height: .91;
  letter-spacing: -1px;
  text-transform: none;
  text-shadow: 0 4px 18px rgba(0,0,0,.22);
}

.hero h1 span {
  color: var(--mustard);
}

.hero p {
  max-width: 300px;
  margin-top: 17px;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}

.hero-actions {
  gap: 10px;
  margin-top: 22px;
}

.hero .btn {
  min-height: 50px;
  border-radius: 14px;
  padding: 13px 19px;
  font-size: 14px;
  font-weight: 800;
}

.hero .btn-primary {
  box-shadow: 0 10px 22px rgba(255,32,40,.3);
}

.hero .btn-ghost {
  border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(5px);
}

/* ---------- Home dynamic cards ---------- */
.home-deals {
  gap: 12px;
  margin-top: 15px;
  padding-bottom: 4px;
}

.home-delivery-card {
  position: relative;
  border: 0;
  border-radius: 18px;
  padding: 15px 16px;
  background: #171717;
  box-shadow: 0 10px 24px rgba(0,0,0,.09);
}

.delivery-clock {
  width: 46px;
  height: 46px;
  background: var(--mustard);
  box-shadow: 0 0 0 6px rgba(255,200,0,.10);
}

.delivery-time-copy strong {
  font-size: 14px;
}

.delivery-time-copy span {
  color: #fff;
  opacity: .76;
  font-size: 11px;
  font-weight: 500;
}

.home-deal {
  position: relative;
  overflow: hidden;
  min-height: 145px;
  border-radius: 21px;
  padding: 20px;
  background:
    linear-gradient(120deg, rgba(15,15,15,.98), rgba(31,31,31,.92)),
    #151515;
  box-shadow: 0 13px 28px rgba(0,0,0,.12);
}

.home-deal::after {
  content: "HOT DEAL";
  position: absolute;
  right: -18px;
  top: 18px;
  padding: 8px 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  transform: rotate(8deg);
}

.home-deal .eyebrow {
  color: var(--mustard);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.home-deal h2 {
  max-width: 82%;
  margin-top: 3px;
  font-size: 26px;
}

.home-deal p {
  max-width: 90%;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 500;
}

.home-price {
  color: var(--mustard);
}

/* ---------- Menu ---------- */
#tab-menu, #tab-cart, #tab-feedback {
  padding: 22px 15px 12px;
}

.menu-header {
  padding: 3px 2px 16px;
}

.menu-header h2 {
  font-size: 31px;
  letter-spacing: -.4px;
}

.menu-header p {
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.category-chips {
  gap: 9px;
  padding: 4px 1px 14px;
  border-bottom: 1px solid var(--line);
}

.chip {
  border: 1px solid #e1e5e9;
  background: #fff;
  padding: 9px 15px;
  border-radius: 999px;
  color: #3d434a;
  font-size: 11.5px;
  box-shadow: 0 4px 12px rgba(20,20,20,.04);
}

.chip.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 7px 16px rgba(255,32,40,.18);
}

.menu-category {
  padding: 24px 0 7px;
}

.menu-category h3 {
  font-size: 23px;
  letter-spacing: -.2px;
}

.item-card {
  position: relative;
  border: 1px solid #e7eaee;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 11px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(20,20,20,.055);
}

.item-top {
  gap: 14px;
}

.item-name {
  font-size: 15px;
  font-weight: 700;
}

.item-note {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.45;
}

.size-row {
  gap: 7px;
  margin-top: 13px;
}

.size-btn {
  border-radius: 12px;
  padding: 8px 12px;
  min-width: 67px;
  box-shadow: 0 5px 12px rgba(255,32,40,.12);
}

.single-row {
  margin-top: 13px;
}

.price-tag {
  font-size: 15px;
  font-weight: 800;
}

.add-btn {
  border-radius: 12px;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(255,32,40,.14);
}

/* ---------- Cart ---------- */
.cart-list {
  gap: 11px;
}

.cart-empty {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px dashed #dfe4e9;
  border-radius: 20px;
  background: #fff;
  padding: 40px 20px;
}

.cart-item {
  border: 1px solid #e7eaee;
  border-radius: 17px;
  padding: 14px 15px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(20,20,20,.045);
}

.cart-item-name {
  font-size: 14px;
  font-weight: 700;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
}

.cart-summary {
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 13px 30px rgba(0,0,0,.14);
}

.cart-summary .btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-empty-cart {
  border-color: rgba(255,255,255,.25);
}

/* ---------- Feedback ---------- */
.review-form {
  border: 1px solid #e6eaee;
  border-radius: 20px;
  padding: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20,20,20,.05);
}

.review-form input,
.review-form select,
.review-form textarea,
.cart-name-field input,
.cart-name-field textarea {
  border: 1px solid #dfe4e9;
  border-radius: 13px;
  padding: 12px 13px;
  background: #fbfcfd;
  outline: none;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus,
.cart-name-field input:focus,
.cart-name-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,172,232,.11);
}

/* ---------- Bottom navigation ---------- */
.bottom-nav {
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  border-top: 1px solid #e5e9ed;
  box-shadow: 0 -8px 25px rgba(20,20,20,.06);
  backdrop-filter: blur(14px);
}

.nav-btn {
  color: #777f88;
  font-size: 10px;
  gap: 4px;
}

.nav-btn svg {
  width: 23px;
  height: 23px;
  transition: transform .18s ease;
}

.nav-btn.active {
  color: var(--red);
}

.nav-btn.active svg {
  transform: translateY(-1px);
}

.nav-badge {
  top: 7px;
  right: 24%;
  min-width: 17px;
  height: 17px;
  background: var(--mustard);
  color: #171717;
  box-shadow: 0 2px 7px rgba(0,0,0,.12);
}

/* ---------- Drawer ---------- */
.side-drawer {
  width: min(86%, 350px);
  background: #fff;
  box-shadow: -14px 0 40px rgba(0,0,0,.18);
}

.drawer-header {
  height: var(--top-h);
  background: var(--red);
}

.drawer-list {
  padding: 10px 10px 20px;
}

.drawer-item {
  margin: 3px 0;
  width: 100%;
  border: 0;
  border-radius: 13px;
  background: #fff;
  padding: 15px 13px;
}

.drawer-item:hover {
  background: #fff5f5;
}

.drawer-panel {
  margin: -2px 4px 5px;
  border: 1px solid #eceff2;
  border-radius: 12px;
  background: #f8f9fa;
}

.drawer-sub-link {
  padding: 7px 0;
}

/* ---------- Order-type modal ---------- */
.order-type-overlay {
  background: rgba(10,10,10,.68);
  backdrop-filter: blur(5px);
}

.order-type-card {
  max-width: 410px;
  border: 0;
  border-top: 5px solid var(--red);
  border-radius: 24px;
  padding: 25px 19px 21px;
  box-shadow: 0 25px 65px rgba(0,0,0,.28);
}

.order-type-badge {
  background: var(--red);
  padding: 8px 14px;
}

.order-type-card h2 {
  font-size: 25px;
}

.order-type-btn,
.location-btn {
  border: 1px solid #e5e9ed;
  border-radius: 17px;
  background: #fff;
  padding: 17px 10px 15px;
  box-shadow: 0 6px 18px rgba(20,20,20,.05);
}

.order-type-btn.pickup {
  border-color: rgba(255,200,0,.8);
}

.order-type-btn.delivery {
  border-color: rgba(255,32,40,.55);
}

.order-type-btn.cod {
  border-color: rgba(255,200,0,.8);
}

.order-type-btn.online {
  border-color: rgba(255,32,40,.55);
}

.bank-details-card {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1.5px dashed var(--mustard);
  border-radius: 14px;
  background: var(--bg);
  text-align: left;
}
.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink);
}
.bank-row + .bank-row {
  border-top: 1px solid var(--line);
}
.bank-row span {
  color: var(--ink-soft);
}
.payment-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  text-align: left;
}
.payment-note a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.order-type-btn:hover,
.location-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20,20,20,.09);
}

.location-continue-btn {
  border-radius: 13px;
}

/* ---------- Dark mode remains supported ---------- */
body.dark {
  --bg: #121212;
  --surface: #1d1d1d;
  --ink: #f5f5f5;
  --ink-soft: #a9a9a9;
  --line: #303030;
}

body.dark,
body.dark .chip,
body.dark .item-card,
body.dark .cart-item,
body.dark .review-form,
body.dark .cart-empty,
body.dark .drawer-item,
body.dark .order-type-btn,
body.dark .location-btn {
  background-color: var(--surface);
}

body.dark html {
  background: #121212;
}

body.dark .item-card,
body.dark .cart-item,
body.dark .review-form,
body.dark .cart-empty {
  border-color: #303030;
}

body.dark .chip {
  border-color: #363636;
  color: #f5f5f5;
}

body.dark .menu-header p,
body.dark .item-note {
  color: #aaa;
}

body.dark .bottom-nav {
  background: rgba(29,29,29,.97);
  border-color: #303030;
}

body.dark .drawer-item:hover {
  background: #272727;
}

body.dark .review-form input,
body.dark .review-form select,
body.dark .review-form textarea,
body.dark .cart-name-field input,
body.dark .cart-name-field textarea {
  background: #262626;
  border-color: #3a3a3a;
  color: #f5f5f5;
}

/* ---------- Small-screen polish ---------- */
@media (max-width: 370px) {
  :root {
    --top-h: 70px;
    --nav-h: 70px;
  }

  .topbar {
    padding: 0 13px;
  }

  .topbar-logo {
    width: 42px;
    height: 42px;
  }

  .topbar-brand {
    font-size: 18px;
  }

  .hero {
    min-height: 365px;
    padding: 27px 17px 24px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero .btn {
    padding: 12px 15px;
  }
}

