/* ============ FONTS (limetray brand fonts) ============ */
@font-face {
  font-family: 'Flame';
  src: url('https://assets.limetray.com/tap/global/fonts/Flame-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Flame';
  src: url('https://assets.limetray.com/tap/global/fonts/Flame-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'FlameSans';
  src: url('https://assets.limetray.com/tap/global/fonts/FlameSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

/* ============ RESET + TOKENS ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #ff8732;
  --orange-dark: #e67628;
  --orange-light: #fff2e6;
  --red: #d62300;
  --brown: #502314;
  --yellow: #ffaa00;
  --cream: #f5ebdc;
  --text: #333;
  --text-mute: #888;
  --border: #dbdbdb;
  --border-lite: #eee;
  --bg: #fff;
  --bg-mute: #f7f7f7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 60px;
  --sidebar-w: 240px;
  --cart-w: 340px;
}

body {
  font-family: 'FlameSans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
}
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: 'Flame', 'FlameSans', sans-serif; font-weight: 700; }

/* ============ HEADER ============ */
.site-header {
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border-lite);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-link { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.delivery-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}
.mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius);
}
.mode-btn.active { background: var(--orange-light); }
.to-label { color: var(--text-mute); font-size: 13px; }
.loc-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.loc-btn:hover { background: var(--bg-mute); }
.loc-text { font-size: 13px; font-weight: 600; color: var(--text); }
.loc-change { font-size: 11px; color: var(--orange); font-weight: 700; letter-spacing: 0.4px; }

.download-app-btn {
  padding: 8px;
  color: var(--orange);
  border-radius: var(--radius);
  transition: background 0.15s;
}
.download-app-btn:hover { background: var(--orange-light); }

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  padding: 6px 10px;
  border-radius: var(--radius);
  font-weight: 500;
}
.lang-btn:hover { background: var(--orange-light); }
.login-btn {
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.15s;
}
.login-btn:hover { background: var(--orange); color: #fff; }

/* ============ PAGE LAYOUT ============ */
.page-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--cart-w);
  gap: 20px;
  align-items: start;
}

/* ============ SIDEBAR ============ */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
}
.sidebar-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-lite);
  color: var(--text);
}
.sidebar-head h4 { font-size: 14px; font-weight: 700; }
.cat-menu {
  list-style: none;
  padding: 6px 0;
}
.cat-menu li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.12s, border-color 0.12s;
  font-size: 13px;
}
.cat-menu li:hover { background: var(--bg-mute); }
.cat-menu li.active {
  background: var(--orange-light);
  border-left-color: var(--orange);
  color: var(--orange);
  font-weight: 600;
}
.cat-menu .cat-count {
  background: var(--bg-mute);
  color: var(--text-mute);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 24px;
  text-align: center;
}
.cat-menu li.active .cat-count {
  background: transparent;
  color: #2f2f2f;
  font-weight: 700;
  padding: 0;
}
/* Beef up the left-active indicator so it reads as a bold orange bar */
body:not(.bk-full-ui) .cat-menu li { border-left-width: 4px !important; }
body:not(.bk-full-ui) .cat-menu li.active { border-left-color: #ff8732 !important; }
/* Chevron for expandable categories (e.g. Offers and Deals) — absolutely
   positioned so it does NOT shift the text of that row vs other rows */
body:not(.bk-full-ui) .cat-menu li { position: relative; }
body:not(.bk-full-ui) .cat-menu li .cat-chevron {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  transition: transform 0.15s, color 0.15s;
}
body:not(.bk-full-ui) .cat-menu li.has-subs.active .cat-chevron {
  transform: translateY(-50%) rotate(90deg);
  color: #ff8732;
}
/* RTL: chevron flips horizontally, sits on the right edge */
[dir="rtl"] body:not(.bk-full-ui) .cat-menu li .cat-chevron {
  left: auto;
  right: 6px;
  transform: translateY(-50%) scaleX(-1);
}
[dir="rtl"] body:not(.bk-full-ui) .cat-menu li.has-subs.active .cat-chevron {
  transform: translateY(-50%) scaleX(-1) rotate(90deg);
}

/* ============ BANNER SLIDER ============ */
.banner-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1200 / 400;
  background: var(--bg-mute);
  box-shadow: var(--shadow-sm);
}
.banner-track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.banner-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
}
.ban-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  font-size: 22px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 0.15s;
}
.ban-arrow:hover { background: #fff; }
.ban-arrow.prev { left: 12px; }
.ban-arrow.next { right: 12px; }
.ban-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.ban-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s;
}
.ban-dots span.active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* ============ SEARCH ============ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text);
}
.search-bar input::placeholder { color: #999; }

/* ============ CATEGORY SECTIONS ============ */
.cats-wrap { margin-top: 20px; }
.cat-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
  margin-bottom: 32px;
}
.cat-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-lite);
  margin-bottom: 16px;
}
.cat-section-head img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
}
.cat-section-head .cat-icon-fallback {
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
}
.cat-section-head h3 {
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
}
.cat-section-head .cat-num {
  color: var(--text-mute);
  font-size: 13px;
  font-weight: 500;
}

.sub-cat-head {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 12px;
  margin: 12px 0;
  background: var(--bg-mute);
  border-radius: var(--radius);
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  gap: 12px;
  transition: box-shadow 0.15s, border-color 0.15s;
  min-height: 130px;
}
.product-card {
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--orange);
  transform: translateY(-2px);
}
body.dark .product-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.pc-img {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-mute);
  cursor: pointer;
  position: relative;
}
.pc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-img.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 11px;
  border: 1px dashed var(--border);
}
.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.pc-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.pc-title p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.pc-veg {
  width: 14px;
  height: 14px;
  border: 1px solid #d63a1e;
  padding: 1px;
  flex-shrink: 0;
}
.pc-veg::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: #d63a1e;
  border-radius: 50%;
}
.pc-veg.veg { border-color: #0a8;}
.pc-veg.veg::after { background: #0a8; }
.pc-desc {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
  margin-bottom: 8px;
}
.pc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}
.pc-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.pc-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.pc-add-btn {
  color: var(--orange);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.15s;
  background: #fff;
}
.pc-add-btn:hover {
  border-color: var(--orange);
  background: var(--orange-light);
}
.pc-customisable {
  font-size: 10px;
  color: var(--text-mute);
}
.qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.qty-ctrl button {
  width: 28px;
  height: 28px;
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qty-ctrl .qty-num {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  color: var(--orange);
  font-size: 13px;
}

/* ============ CART PANEL ============ */
.cart-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - var(--header-h) - 40px);
  display: flex;
  flex-direction: column;
}
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-lite);
}
.cart-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.cart-head-left h5 { font-size: 14px; font-weight: 700; text-transform: none; }
.cart-head-right { text-align: right; }
.cart-total-line { display: inline-flex; gap: 6px; align-items: baseline; }
.cart-total-num { font-size: 15px; font-weight: 700; color: var(--text); }
.cart-orig-num { font-size: 12px; color: var(--text-mute); text-decoration: line-through; }
.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-badge {
  position: absolute;
  top: -6px; right: -8px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: #ff8732;
  color: #fff;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
/* Customized ▽ expandable label under item name */
.cart-item-addons {
  font-size: 11px;
  color: #999;
  line-height: 1.4;
  margin-top: 2px;
}
.cart-addon-chip { color: #ff8732; }
.cart-addon-qty { color: #ff8732; }
.cart-item-customized {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  margin-top: 4px;
  background: transparent;
  border: 0;
  color: #666;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
}
.cart-item-customized:hover { color: #ff8732; }
.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: #2f2f2f;
  margin-top: 6px;
}
.min-order { font-size: 11px; color: var(--text-mute); }
.min-order span { color: var(--text); font-weight: 600; }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 12px;
  color: var(--text-mute);
}
.cart-empty h4 { font-size: 14px; color: var(--text); margin: 14px 0 6px; font-weight: 700; }
.cart-empty p { font-size: 12px; }

.cart-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-lite);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.cart-item-price { font-size: 12px; color: var(--text-mute); }
.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-foot {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border-lite);
}
.promo-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  outline: none;
  font-size: 13px;
  margin-bottom: 10px;
  background: #fafafa;
}
.promo-row input:focus { border-color: var(--orange); border-style: solid; background: #fff; }
.proceed-btn {
  width: 100%;
  padding: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s;
  font-size: 13px;
}
.proceed-btn:hover { background: var(--orange-dark); }
.proceed-btn:disabled {
  background: var(--border);
  color: #999;
  cursor: not-allowed;
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  font-size: 16px;
  color: var(--text);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.modal-body { overflow-y: auto; }
.modal-hero {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-mute);
  object-fit: cover;
}
.modal-inner-body { padding: 20px; }
.modal-inner-body h2 {
  font-size: 20px;
  margin-bottom: 6px;
}
.modal-inner-body .mp-desc {
  font-size: 13px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 16px;
}
.modal-inner-body .mp-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px;
}
.modal-add-btn {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 14px;
  transition: background 0.15s;
}
.modal-add-btn:hover { background: var(--orange-dark); }

/* ============ MOBILE FAB ============ */
.mobile-cart-fab {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  align-items: center;
  justify-content: center;
  z-index: 90;
  position: fixed;
}
.mobile-cart-fab span {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #fff;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .page-layout { grid-template-columns: 220px 1fr 300px; }
  :root { --sidebar-w: 220px; --cart-w: 300px; }
}
@media (max-width: 1000px) {
  .page-layout { grid-template-columns: 200px 1fr; --cart-w: 0px; }
  .cart-panel { display: none; }
  .mobile-cart-fab { display: flex; }
  .mobile-cart-fab[hidden] { display: none; }
}
@media (max-width: 720px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 12px !important;
    gap: 12px !important;
  }
  .page-layout > * { min-width: 0 !important; }
  .cats-wrap, .cat-section, .product-grid, .product-card, .pc-img, .pc-body {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .product-card img, .pc-img img { max-width: 100% !important; height: auto !important; }
  .sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .cat-menu {
    display: flex;
    overflow-x: auto;
    padding: 8px 12px;
    gap: 8px;
  }
  .cat-menu li {
    flex-shrink: 0;
    padding: 8px 14px;
    border-left: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
  }
  .cat-menu li.active { border-color: var(--orange); }
  .sidebar-head { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 0 12px; gap: 8px; }
  .delivery-toggle .mode-btn span,
  .to-label,
  .header-right .lang-btn span { display: none; }
  .login-btn { padding: 6px 10px; font-size: 12px; }
  .brand-logo { height: 36px; }
  .header-right { gap: 6px; }
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* ============ CHECKOUT MODAL ============ */
.checkout-card {
  max-width: 560px;
  max-height: 92vh;
}
.checkout-card .modal-body { padding: 24px 28px; }
.checkout-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: 0.3px;
}
.checkout-summary {
  background: var(--bg-mute);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.checkout-summary h4 {
  font-size: 13px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
  font-weight: 700;
}
.checkout-summary .ck-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
}
.checkout-summary .ck-item .name { flex: 1; }
.checkout-summary .ck-item .qty { color: var(--text-mute); margin: 0 8px; }
.checkout-totals {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.ct-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-mute);
}
.ct-row.total {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.checkout-form h4 {
  font-size: 13px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  font-weight: 700;
}
.checkout-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.checkout-form label > span { display: block; margin-bottom: 6px; }
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus { border-color: var(--orange); }
.checkout-form textarea { resize: vertical; font-family: inherit; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-row label { margin-bottom: 14px; }
.place-order-btn {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 14px;
  transition: background 0.15s;
  margin-top: 4px;
}
.place-order-btn:hover { background: var(--orange-dark); }

/* ============ CHECKOUT STEPPER ============ */
.stepper-progress {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 4px;
}
.sp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 70px;
}
.sp-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s;
}
.sp-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.25s;
}
.sp-step.active .sp-dot {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255,135,50,0.15);
}
.sp-step.active .sp-label { color: var(--orange); }
.sp-step.done .sp-dot {
  background: #0a8;
  border-color: #0a8;
  color: #fff;
  font-size: 0;
}
.sp-step.done .sp-dot::before {
  content: '✓';
  font-size: 16px;
}
.sp-step.done .sp-label { color: #0a8; }
.sp-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: -14px 4px 0;
  transition: background 0.3s;
  align-self: flex-start;
  margin-top: 16px;
  border-radius: 1px;
}
.sp-line.done { background: #0a8; }

.stepper-panel { display: none; animation: stepFade 0.25s ease-out; }
.stepper-panel.active { display: block; }
@keyframes stepFade {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Payment radio-cards */
.payment-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.pay-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  background: #fff;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  margin: 0;
}
.pay-card input { display: none; }
.pay-icon {
  font-size: 22px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}
.pay-check {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.15s;
}
.pay-card:hover { border-color: var(--orange); background: var(--orange-light); }
.pay-card input:checked ~ .pay-check { opacity: 1; }
.pay-card:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-light);
}
body.dark .pay-card { background: #1e1810; border-color: var(--border); }
body.dark .pay-card:has(input:checked) { background: var(--orange-light); }

/* Checkout promo row (in step 2) */
.promo-h4 { margin-top: 20px; }
.checkout-promo-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.checkout-promo-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  outline: none;
  font-family: monospace;
}
.checkout-promo-row input:focus { border-color: var(--orange); }
.checkout-promo-row button {
  padding: 11px 20px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  transition: background 0.15s;
}
.checkout-promo-row button:hover { background: var(--orange-dark); }
body.dark .checkout-promo-row input { background: #1e1810; color: var(--text); }

/* Review blocks */
.review-block {
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  padding: 12px 14px;
  margin-bottom: 12px;
  background: var(--bg-mute);
}
.review-block-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.review-edit {
  color: var(--orange);
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: background 0.12s;
}
.review-edit:hover { background: var(--orange-light); }
.review-body {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}
.review-body .rb-name { font-weight: 700; margin-bottom: 2px; }
.review-body .rb-line { color: var(--text-mute); font-size: 12px; }
.review-items .ri-item {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.review-items .ri-item:last-child { border-bottom: none; }
.review-items .ri-name { flex: 1; color: var(--text); }
.review-items .ri-addons { font-size: 11px; color: var(--text-mute); margin-top: 2px; line-height: 1.4; }
.review-items .ri-qty { color: var(--text-mute); margin: 0 8px; }
.review-items .ri-price { color: var(--text); font-weight: 600; min-width: 70px; text-align: right; }

.review-totals {
  padding: 12px 14px;
  background: var(--orange-light);
  border-radius: var(--radius-lg);
  margin-top: 8px;
}
.rt-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-mute);
}
.rt-row.rt-discount { color: var(--orange); font-weight: 600; }
.rt-row.rt-total {
  padding-top: 8px;
  margin-top: 6px;
  border-top: 1px solid var(--orange);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

/* Stepper actions */
.stepper-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-lite);
}
.stepper-back {
  padding: 12px 22px;
  background: transparent;
  color: var(--text-mute);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  transition: all 0.15s;
}
.stepper-back:hover { border-color: var(--orange); color: var(--orange); }
.stepper-next {
  flex: 1;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background 0.15s;
}
.stepper-next:hover { background: var(--orange-dark); }
#stepperSubmit { flex: 1; margin: 0; }

/* RTL flip for stepper */
[dir="rtl"] .sp-label,
[dir="rtl"] .sp-dot { direction: ltr; }
[dir="rtl"] .stepper-panel { animation-name: stepFadeRtl; }
@keyframes stepFadeRtl {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile stepper */
@media (max-width: 720px) {
  .payment-cards { grid-template-columns: 1fr; }
  .sp-label { font-size: 10px; }
  .sp-step { min-width: 60px; }
  .stepper-actions { flex-direction: column-reverse; }
  .stepper-back { width: 100%; }
}

/* checkout success */
.checkout-success {
  padding: 30px 20px;
  text-align: center;
}
.success-crown {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.checkout-success h2 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.checkout-success p {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 20px;
}
.order-id-box {
  background: var(--orange-light);
  color: var(--orange);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 12px;
}
.eta-box {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 24px;
}
.continue-btn {
  padding: 12px 32px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: background 0.15s;
}
.continue-btn:hover { background: var(--orange-dark); }

/* ============ MOBILE CART DRAWER ============ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  z-index: 195;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }
[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-105%);
  box-shadow: 4px 0 20px rgba(0,0,0,0.15);
}
[dir="rtl"] .cart-drawer.open { transform: translateX(0); }
.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-mute);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { background: var(--border); }

/* ============ RTL SUPPORT ============ */
[dir="rtl"] body { font-family: 'FlameSans', 'Segoe UI', Tahoma, sans-serif; }
[dir="rtl"] .page-layout {
  grid-template-columns: var(--cart-w) 1fr var(--sidebar-w);
}
[dir="rtl"] .cat-menu li {
  border-left: none;
  border-right: 3px solid transparent;
}
[dir="rtl"] .cat-menu li.active {
  border-right-color: var(--orange);
}
[dir="rtl"] .ban-arrow.prev { left: auto; right: 12px; }
[dir="rtl"] .ban-arrow.next { right: auto; left: 12px; }
[dir="rtl"] .ban-arrow.prev::before { content: '›'; }
[dir="rtl"] .ban-arrow.next::before { content: '‹'; }
[dir="rtl"] .ban-arrow.prev,
[dir="rtl"] .ban-arrow.next { font-size: 0; }
[dir="rtl"] .ban-arrow::before { font-size: 22px; }
[dir="rtl"] .header-right { margin-left: 0; margin-right: auto; }
[dir="rtl"] .delivery-toggle { margin-left: 0; margin-right: 20px; }
[dir="rtl"] .search-bar input { text-align: right; }
[dir="rtl"] .modal-close { right: auto; left: 12px; }
[dir="rtl"] .cart-item-info { text-align: right; }

@media (max-width: 1000px) {
  [dir="rtl"] .page-layout { grid-template-columns: 1fr var(--sidebar-w); }
  [dir="rtl"] .sidebar { order: 2; }
}
@media (max-width: 720px) {
  [dir="rtl"] .page-layout { grid-template-columns: 1fr; }
}

/* ============ CUSTOMIZATION MODAL ============ */
.customize-card {
  max-width: 520px;
  max-height: 92vh;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.customize-card .modal-body {
  padding: 0;
  flex: 1;
  overflow-y: auto;
}
.cz-hero {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-mute);
}
.cz-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cz-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85));
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.cz-hero-overlay h2 {
  font-size: 22px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.cz-hero-overlay p {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cz-groups { padding: 16px 20px 20px; }
.cz-group { margin-bottom: 22px; }
.cz-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-lite);
  margin-bottom: 10px;
}
.cz-group-head .cz-group-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.cz-group-head .cz-group-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--bg-mute);
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.cz-group-head .cz-group-badge.required {
  background: var(--orange-light);
  color: var(--orange);
}
.cz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 6px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.12s;
}
.cz-option:hover { background: var(--bg-mute); }
.cz-option input { display: none; }
.cz-option .cz-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}
.cz-option.check-mode .cz-mark { border-radius: 4px; }
.cz-option input:checked ~ .cz-mark {
  border-color: var(--orange);
  background: var(--orange);
}
.cz-option input:checked ~ .cz-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.cz-option.check-mode input:checked ~ .cz-mark::after {
  border-radius: 2px;
  inset: 0;
  background: none;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(3px, -2px);
  width: 10px;
  height: 6px;
  top: 5px;
  left: 4px;
}
.cz-option .cz-opt-name {
  flex: 1;
  font-size: 13px;
  color: var(--text);
}
.cz-option .cz-opt-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
}
.cz-option .cz-opt-price.free { color: #0a8; }
.cz-option .cz-opt-price.up { color: var(--orange); }

.cz-foot {
  border-top: 1px solid var(--border-lite);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}
.cz-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cz-qty button {
  width: 36px;
  height: 42px;
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}
.cz-qty span {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}
.cz-add {
  flex: 1;
  padding: 12px 16px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.4px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
.cz-add:hover { background: var(--orange-dark); }
.cz-add:disabled { background: var(--border); cursor: not-allowed; color: #999; }
.cz-add-price {
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 3px;
  font-weight: 800;
}

/* ============ LOGIN MODAL ============ */
.login-card {
  max-width: 420px;
  max-height: 92vh;
}
.login-card .modal-body { padding: 28px 28px 24px; }
.login-header { text-align: center; margin-bottom: 20px; }
.login-crown { display: flex; justify-content: center; margin-bottom: 10px; }
.login-header h2 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}
.login-header p {
  font-size: 13px;
  color: var(--text-mute);
}
.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-lite);
}
.login-tab {
  padding: 10px 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  margin-bottom: -1px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.login-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.login-form label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.login-form label[hidden] { display: none !important; }
.login-form label > span { display: block; margin-bottom: 6px; }
.login-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.login-form input:focus { border-color: var(--orange); }
.login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  margin-bottom: 18px;
}
.login-submit {
  flex: 1;
  padding: 12px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 13px;
  transition: background 0.15s;
}
.login-submit:hover { background: var(--orange-dark); }
.forgot-link {
  font-size: 12px;
  color: var(--orange);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
  white-space: nowrap;
}
.login-divider {
  text-align: center;
  color: var(--text-mute);
  font-size: 12px;
  margin: 18px 0;
  position: relative;
}
.login-divider::before,
.login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border-lite);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-divider span {
  padding: 0 10px;
  background: #fff;
  position: relative;
}
.social-btn {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: background 0.12s, border-color 0.12s;
}
.social-btn:hover { background: var(--bg-mute); border-color: var(--border); }
.social-btn > span:first-child {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}
.google-btn > span:first-child {
  background: #fff;
  border: 1px solid var(--border);
  color: #4285F4;
}
.apple-btn > span:first-child {
  background: #000;
  color: #fff;
  font-size: 16px;
}

.header-user-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 13px;
}
.header-user-btn[hidden], .login-btn[hidden] { display: none !important; }
.header-user-btn .user-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* ============ TRACKING MODAL ============ */
.track-card {
  max-width: 480px;
  max-height: 92vh;
}
.track-card .modal-body { padding: 24px 24px 20px; }
.track-header {
  margin-bottom: 16px;
}
.track-order-id {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  margin-bottom: 6px;
}
.track-status-label {
  font-size: 13px;
  color: var(--text-mute);
}
.track-status-label strong {
  color: var(--orange);
}

.track-map {
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-lite);
  margin-bottom: 20px;
  position: relative;
}
.track-map-inner { width: 100%; height: 100%; }
.track-map-inner svg { width: 100%; height: 100%; display: block; }
#driverMarker { transition: transform 1s linear; }

.track-timeline {
  display: grid;
  gap: 0;
  margin-bottom: 18px;
}
.track-step {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 6px 0;
}
.ts-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s;
}
.track-step.done .ts-dot {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.track-step.active .ts-dot {
  background: #fff;
  color: var(--orange);
  border-color: var(--orange);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 135, 50, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 135, 50, 0); }
}
.ts-body { flex: 1; }
.ts-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.track-step:not(.done):not(.active) .ts-title { color: var(--text-mute); }
.ts-time {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}
.track-connector {
  width: 2px;
  height: 20px;
  margin-left: 16px;
  background: var(--border);
  transition: background 0.3s;
}
.track-connector.done { background: var(--orange); }

.track-eta {
  text-align: center;
  padding: 12px;
  background: var(--bg-mute);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  margin-bottom: 12px;
}
.track-eta strong { color: var(--orange); font-size: 14px; }

.track-order-btn {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
  transition: all 0.15s;
}
.track-order-btn:hover { background: var(--orange); color: #fff; }

/* RTL adjustments for new modals */
[dir="rtl"] .cz-hero-overlay { text-align: right; }
[dir="rtl"] .track-connector { margin-left: 0; margin-right: 16px; }

/* ============ THEME TOGGLE ============ */
.theme-btn {
  padding: 8px;
  color: var(--orange);
  border-radius: var(--radius);
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-btn:hover { background: var(--orange-light); }
.theme-btn .theme-moon { display: none; }
body.dark .theme-btn .theme-sun { display: none; }
body.dark .theme-btn .theme-moon { display: block; }

/* ============ DARK MODE ============ */
body.dark {
  --text: #f0e9df;
  --text-mute: #a09488;
  --border: #3a3126;
  --border-lite: #2a231b;
  --bg: #14100c;
  --bg-mute: #1e1810;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.5);
  --shadow-lg: 0 4px 16px rgba(0,0,0,0.6);
  --orange-light: #2b1f14;
  background: var(--bg);
}
body.dark { background: var(--bg); }
body.dark .site-header,
body.dark .sidebar,
body.dark .cart-panel,
body.dark .search-bar,
body.dark .product-card,
body.dark .modal-card,
body.dark .cart-drawer {
  background: #1a1510;
  border-color: var(--border-lite);
  color: var(--text);
}
body.dark .cat-menu li:hover,
body.dark .cz-option:hover,
body.dark .social-btn:hover { background: var(--bg-mute); }
body.dark .cat-menu li.active { background: var(--orange-light); }
body.dark .checkout-summary,
body.dark .track-eta { background: var(--bg-mute); }
body.dark .filter-chip { background: #1e1810; border-color: var(--border); color: var(--text); }
body.dark .filter-chip.active { background: var(--orange); color: #fff; border-color: var(--orange); }
body.dark .search-bar input { background: transparent; color: var(--text); }
body.dark .checkout-form input,
body.dark .checkout-form textarea,
body.dark .checkout-form select,
body.dark .login-form input,
body.dark .promo-row input {
  background: #1e1810;
  border-color: var(--border);
  color: var(--text);
}
body.dark .brand-logo { filter: brightness(1.1); }
body.dark .login-divider span { background: #1a1510; }
body.dark .cart-empty svg circle { stroke: var(--border) !important; }
body.dark .track-map { background: #1a1510; }
body.dark .track-map svg rect { fill: #1a1510 !important; }
body.dark .track-map svg path[fill="none"][stroke="#e5e5e5"] { stroke: var(--border) !important; }

/* ============ FILTER BAR ============ */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.filter-bar::-webkit-scrollbar { height: 0; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}
.filter-chip:hover { border-color: var(--orange); color: var(--orange); }
.filter-chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.fchip-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid currentColor;
  position: relative;
}
.fchip-dot::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 1px;
}
.fchip-dot.green { color: #0a8; }
.fchip-dot.green::after { background: #0a8; border-radius: 50%; }
.fchip-dot.red { color: #d63a1e; }
.fchip-dot.red::after { background: #d63a1e; border-radius: 50%; }

/* ============ FAVORITES HEART ============ */
.heart-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s;
  z-index: 3;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.heart-btn:hover { transform: scale(1.15); }
.heart-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #d63a1e;
  stroke-width: 2;
  transition: fill 0.2s;
}
.heart-btn.active svg { fill: #d63a1e; animation: heartPop 0.35s ease; }
@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.pc-img { position: relative; }

/* ============ AUTOCOMPLETE ============ */
.autocomplete-wrap {
  position: relative;
}
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 10;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.autocomplete-dropdown.open { display: block; }
.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-lite);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.hover { background: var(--bg-mute); }
.autocomplete-item .pin { color: var(--orange); flex-shrink: 0; }
.autocomplete-item .area { color: var(--text-mute); font-size: 11px; margin-left: auto; }
body.dark .autocomplete-dropdown { background: #1a1510; border-color: var(--border); }

/* ============ FLY-TO-CART BUBBLE ============ */
.fly-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
}
.fly-bubble {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 135, 50, 0.5);
  transition: transform 0.7s cubic-bezier(0.4, 0.1, 0.6, 1), opacity 0.7s;
  transform: translate(0, 0) scale(1);
  opacity: 1;
}
.cart-icon-bump {
  animation: cartBump 0.4s ease;
}
@keyframes cartBump {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  60% { transform: scale(0.92); }
  100% { transform: scale(1); }
}

/* ============ ORDER HISTORY ============ */
.history-card { max-width: 520px; max-height: 92vh; }
.history-card .modal-body { padding: 24px 28px; }
.history-title {
  font-size: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}
.history-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-mute);
}
.history-order {
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
  background: var(--bg-mute);
}
.history-order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.history-oid {
  font-weight: 700;
  color: var(--orange);
  font-size: 13px;
}
.history-odate {
  font-size: 11px;
  color: var(--text-mute);
}
.history-oitems {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: 8px;
}
.history-ofoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}
.history-ototal {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}
.history-otrack {
  padding: 6px 14px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0.4px;
}
.history-otrack:hover { background: var(--orange-dark); }

/* ============ USER MENU DROPDOWN ============ */
.user-menu {
  position: fixed;
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 180px;
  z-index: 300;
}
.user-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text);
  transition: background 0.12s;
}
.user-menu button:hover { background: var(--bg-mute); color: var(--orange); }
body.dark .user-menu { background: #1a1510; }

[dir="rtl"] .user-menu button { text-align: right; }
[dir="rtl"] .heart-btn { right: auto; left: 6px; }

/* ============ MODE TOGGLE (Delivery / Pickup) ============ */
.mode-toggle {
  display: flex;
  background: var(--bg-mute);
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.mode-toggle .mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  border-radius: 4px;
  transition: all 0.15s;
  background: transparent;
}
.mode-toggle .mode-btn.active {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 1px 3px rgba(255,135,50,0.35);
}

/* ============ RATING CARD ============ */
.rating-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  margin-top: 16px;
  box-shadow: var(--shadow-sm);
}
.rating-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.rating-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--orange-light);
  border-radius: 6px;
}
.star-num {
  font-weight: 700;
  color: var(--orange);
  font-size: 15px;
}
.rating-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rating-count { font-weight: 700; color: var(--text); font-size: 13px; }
.rating-tag { color: var(--text-mute); font-size: 11px; }
.rating-see-all {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background 0.15s;
  white-space: nowrap;
}
.rating-see-all:hover { background: var(--orange-light); }
body.dark .rating-card { background: #1a1510; }

/* ============ REVIEWS MODAL ============ */
.reviews-card { max-width: 560px; max-height: 92vh; }
.reviews-card .modal-body { padding: 24px 28px; }
.reviews-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-lite);
  margin-bottom: 18px;
}
.reviews-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.reviews-hero-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.reviews-hero-stars { color: #ffb400; font-size: 18px; letter-spacing: 2px; }
.reviews-hero-meta { font-size: 11px; color: var(--text-mute); margin-top: 2px; }
.rating-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rbar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-mute);
}
.rbar > span:first-child { width: 8px; font-weight: 600; }
.rbar > span:last-child { width: 32px; text-align: right; font-weight: 600; }
.rbar-bg {
  flex: 1;
  height: 6px;
  background: var(--bg-mute);
  border-radius: 3px;
  overflow: hidden;
}
.rbar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffb400);
  border-radius: 3px;
}
.reviews-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}
.review-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-lite);
}
.review-item:last-child { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name { font-weight: 700; color: var(--text); font-size: 13px; }
.review-date { font-size: 11px; color: var(--text-mute); }
.review-stars { color: #ffb400; font-size: 13px; letter-spacing: 1px; }
.review-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

/* ============ RECENTLY VIEWED CAROUSEL ============ */
.recent-section {
  margin-bottom: 24px;
}
.recent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-lite);
}
.recent-head h3 {
  font-size: 15px;
  font-weight: 700;
}
.recent-head .cat-num { font-size: 12px; color: var(--text-mute); }
.recent-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.recent-carousel::-webkit-scrollbar { height: 4px; }
.recent-carousel .recent-card {
  flex: 0 0 160px;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  padding: 10px;
  background: #fff;
  scroll-snap-align: start;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}
.recent-carousel .recent-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.recent-card .recent-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-mute);
  margin-bottom: 8px;
}
.recent-card .recent-img img { width: 100%; height: 100%; object-fit: cover; }
.recent-card .recent-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.recent-card .recent-price {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}
body.dark .recent-carousel .recent-card { background: #1a1510; }

/* ============ COMBO DISCOUNT BANNER ============ */
.combo-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fff2e6 0%, #fdd4a8 100%);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--orange-dark);
  font-weight: 600;
}
.combo-banner-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.combo-banner-text { flex: 1; }
.combo-banner-save {
  font-weight: 800;
  background: var(--orange);
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
}
body.dark .combo-banner {
  background: linear-gradient(135deg, #2b1f14 0%, #3d2b1a 100%);
  color: var(--orange);
}

/* ============ PICKUP STORES MODAL ============ */
.pickup-card { max-width: 520px; max-height: 92vh; }
.pickup-card .modal-body { padding: 24px 24px 20px; }
.pickup-title { font-size: 18px; margin-bottom: 16px; letter-spacing: 0.3px; }
.pickup-map {
  aspect-ratio: 2.1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-lite);
  margin-bottom: 18px;
  position: relative;
}
.pickup-map svg { width: 100%; height: 100%; display: block; }
.pickup-pin {
  cursor: pointer;
  transition: transform 0.2s;
}
.pickup-pin:hover { transform: scale(1.2); }
.pickup-pin.selected circle:first-child { fill: var(--orange); }
.pickup-list {
  max-height: 260px;
  overflow-y: auto;
}
.pickup-store {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius);
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.pickup-store:hover {
  border-color: var(--orange);
  background: var(--orange-light);
}
.pickup-store.selected {
  border-color: var(--orange);
  background: var(--orange-light);
}
.pickup-store-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.pickup-store.selected .pickup-store-icon {
  background: var(--orange);
  color: #fff;
}
.pickup-store-body { flex: 1; min-width: 0; }
.pickup-store-name { font-weight: 700; color: var(--text); font-size: 13px; }
.pickup-store-addr { font-size: 11px; color: var(--text-mute); margin-top: 2px; }
.pickup-store-meta {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-mute);
}
.pickup-store-meta strong { color: var(--orange); }
body.dark .pickup-store { background: #1a1510; }

/* ============ SKELETON LOADER ============ */
.skeleton-wrap { padding: 20px 0; }
.sk-title {
  width: 180px;
  height: 22px;
  border-radius: 6px;
  margin-bottom: 20px;
  background: var(--bg-mute);
  animation: shimmer 1.4s infinite;
}
.sk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sk-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-lg);
  background: #fff;
}
.sk-img {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  background: var(--bg-mute);
  animation: shimmer 1.4s infinite;
}
.sk-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.sk-line {
  height: 12px;
  border-radius: 4px;
  background: var(--bg-mute);
  animation: shimmer 1.4s infinite;
}
.sk-line.w80 { width: 80%; }
.sk-line.w60 { width: 60%; }
.sk-line.w40 { width: 40%; margin-top: auto; }
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
body.dark .sk-title,
body.dark .sk-img,
body.dark .sk-line { background: #2a231b; }
body.dark .sk-card { background: #1a1510; }

/* ============ LEAFLET REAL MAPS ============ */
.pickup-map, .track-map {
  aspect-ratio: 2.1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-lite);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.leaflet-container {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  font-family: inherit;
}
body.dark .leaflet-tile {
  filter: brightness(0.7) invert(1) contrast(0.9) hue-rotate(180deg) saturate(0.4) brightness(0.8);
}
.leaflet-popup-content {
  font-family: inherit;
  font-size: 12px;
  margin: 8px 12px;
}
.leaflet-popup-content strong {
  color: var(--orange);
  display: block;
  margin-bottom: 4px;
}
.bk-marker {
  width: 32px;
  height: 32px;
  background: #ff8732;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  cursor: pointer;
  transform: translate(-16px, -16px);
}
.bk-marker.selected {
  background: #d62300;
  transform: translate(-16px, -16px) scale(1.15);
}
.driver-marker {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 3px solid #ff8732;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 12px rgba(255,135,50,0.5);
  transform: translate(-16px, -16px);
  animation: driverPulse 1.5s infinite;
}
@keyframes driverPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(255,135,50,0.5); }
  50% { box-shadow: 0 2px 16px rgba(255,135,50,0.9); }
}
.home-marker {
  width: 32px;
  height: 32px;
  background: #502314;
  border: 3px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transform: translate(-16px, -16px);
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast-layer {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 340px;
}
[dir="rtl"] .toast-layer { right: auto; left: 20px; }
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-left: 4px solid var(--orange);
  animation: toastIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.3);
  pointer-events: auto;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.toast.leaving { animation: toastOut 0.25s forwards; }
.toast.success { border-left-color: #0a8; }
.toast.error { border-left-color: #d63a1e; }
.toast.info { border-left-color: #2a8bff; }
.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  background: var(--orange);
}
.toast.success .toast-icon { background: #0a8; }
.toast.error .toast-icon { background: #d63a1e; }
.toast.info .toast-icon { background: #2a8bff; }
.toast-text { flex: 1; line-height: 1.35; }
@keyframes toastIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(120%); opacity: 0; }
}
body.dark .toast {
  background: #1a1510;
  color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
[dir="rtl"] .toast {
  border-left: none;
  border-right: 4px solid var(--orange);
}
[dir="rtl"] .toast.success { border-right-color: #0a8; }
[dir="rtl"] .toast.error { border-right-color: #d63a1e; }
[dir="rtl"] .toast.info { border-right-color: #2a8bff; }
[dir="rtl"] @keyframes toastIn {
  from { transform: translateX(-120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============ LIVE SEARCH SUGGESTIONS ============ */
.search-bar { position: relative; }
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-height: 360px;
  overflow-y: auto;
  display: none;
  z-index: 50;
}
.search-suggestions.open { display: block; }
.search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-lite);
  transition: background 0.12s;
}
.search-suggestion:last-child { border-bottom: none; }
.search-suggestion:hover, .search-suggestion.hover { background: var(--bg-mute); }
.ss-img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--bg-mute);
  flex-shrink: 0;
  overflow: hidden;
}
.ss-img img { width: 100%; height: 100%; object-fit: cover; }
.ss-body { flex: 1; min-width: 0; }
.ss-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-cat { font-size: 11px; color: var(--text-mute); }
.ss-price { font-weight: 700; color: var(--orange); font-size: 13px; }
body.dark .search-suggestions { background: #1a1510; }

/* Highlight animation when scrolled from suggestion */
.product-card.highlight {
  animation: cardPulse 1.5s ease;
}
@keyframes cardPulse {
  0%, 100% { box-shadow: none; }
  30%, 60% { box-shadow: 0 0 0 3px var(--orange); }
}

/* ============ KEYBOARD SHORTCUTS MODAL ============ */
.shortcuts-card { max-width: 420px; }
.shortcuts-card .modal-body { padding: 24px 28px; }
.shortcuts-title { font-size: 18px; margin-bottom: 18px; }
.shortcuts-list { display: flex; flex-direction: column; gap: 10px; }
.sc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border-lite);
}
.sc-row:last-child { border-bottom: none; }
.kbd {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bg-mute);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 11px;
  color: var(--text);
  font-weight: 600;
  min-width: 26px;
  text-align: center;
  margin: 0 2px;
  box-shadow: 0 1px 0 var(--border);
}

/* ============ PWA INSTALL BUTTON ============ */
.pwa-install {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 16px;
  background: var(--orange);
  color: #fff;
  border-radius: 24px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255,135,50,0.4);
  z-index: 100;
  animation: pwaBounce 2s infinite;
}
@keyframes pwaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
[dir="rtl"] .pwa-install { left: auto; right: 20px; }

/* ============ SOUND MUTE INDICATOR ============ */
.sound-btn {
  padding: 8px;
  color: var(--orange);
  border-radius: var(--radius);
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.sound-btn:hover { background: var(--orange-light); opacity: 1; }
.sound-btn.muted { opacity: 0.4; }
.sound-btn .sound-x {
  position: absolute;
  color: #d63a1e;
  font-weight: 700;
  font-size: 18px;
  display: none;
}
.sound-btn.muted .sound-x { display: block; }

/* Promo applied badge */
.promo-applied {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #fff2e6, #fdd4a8);
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-dark);
}
.promo-applied .promo-code { font-family: monospace; font-weight: 800; }
.promo-applied .promo-remove {
  margin-left: auto;
  padding: 2px 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
  color: var(--text);
  font-weight: 700;
}
body.dark .promo-applied {
  background: linear-gradient(135deg, #2b1f14, #3d2b1a);
  color: var(--orange);
}

/* ============ CART MINI SUMMARY ============ */
.cart-mini-summary {
  background: var(--bg-mute);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  border: 1px solid var(--border-lite);
}
.cart-mini-summary .ms-row {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--text-mute);
}
.cart-mini-summary .ms-row.ms-discount {
  color: var(--orange);
  font-weight: 600;
}
.cart-mini-summary .ms-row.ms-total {
  padding-top: 6px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.ms-strike { text-decoration: line-through; opacity: 0.5; margin-right: 4px; font-size: 11px; }
.ms-free {
  color: #0a8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 11px;
}
body.dark .cart-mini-summary { background: #1e1810; border-color: var(--border); }

/* ============ CART DARK POLISH ============ */
body.dark .cart-panel,
body.dark .cart-drawer {
  background: #14100c;
  border-color: #2a2019;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
body.dark .cart-head { border-bottom-color: #2a2019; }
body.dark .cart-item { border-bottom-color: #2a2019; }
body.dark .cart-foot { border-top-color: #2a2019; }
body.dark .cart-mini-summary {
  background: #1c1610;
  border: 1px solid #2a2019;
}
body.dark .cart-mini-summary .ms-row.ms-total { border-top-color: #2a2019; }
body.dark .promo-row input {
  background: #1c1610;
  border: 1px solid #2a2019;
  color: var(--text);
}
body.dark .promo-row input::placeholder { color: #7a6f61; }
body.dark .cart-item-thumb,
body.dark .cart-item img { background: #1c1610; border-radius: 6px; }
body.dark .cart-qty,
body.dark .cart-qty-control {
  background: #1c1610;
  border: 1px solid #2a2019;
  border-radius: 6px;
}
body.dark .cart-empty { color: #8a7f71; }
body.dark .cart-empty h4 { color: #d0c8bd; }

/* ============ NO RESULTS STATE ============ */
.no-results {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-mute);
}
.no-results-icon {
  color: var(--border);
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.no-results h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.no-results p {
  font-size: 13px;
  margin-bottom: 20px;
}
.no-results-clear {
  padding: 10px 22px;
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  transition: background 0.15s;
}
.no-results-clear:hover { background: var(--orange-dark); }

/* ============ IMPROVED NO-IMAGE PLACEHOLDER ============ */
.pc-img.no-img {
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-mute), var(--border-lite));
  border: none;
}
.pc-img.no-img::before {
  content: '🍔';
  font-size: 42px;
  opacity: 0.35;
  filter: grayscale(0.5) contrast(0.8);
}
.pc-img.no-img .heart-btn {
  font-size: initial;
}
body.dark .pc-img.no-img {
  background: linear-gradient(135deg, #1e1810, #2a231b);
}

/* ============ FOCUS OUTLINES (a11y) ============ */
:focus { outline: none; }
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}
.cat-menu li:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline-offset: 0;
}

/* Screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============ FAVORITES EMPTY HINT ============ */
.fav-empty-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 8px 12px 12px;
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  background: var(--orange-light);
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  animation: hintPulse 3s ease-in-out infinite;
}
.fav-empty-hint svg { flex-shrink: 0; fill: none; }
@keyframes hintPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* ============ SHARE BUTTON ON SUCCESS ============ */
.share-order-btn {
  width: 100%;
  padding: 11px;
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  transition: all 0.15s;
}
.share-order-btn:hover { background: var(--orange); color: #fff; }

/* Toast layer: shift down on mobile so it doesn't cover header actions */
@media (max-width: 720px) {
  .toast-layer { top: 70px; right: 10px; left: 10px; max-width: none; }
  [dir="rtl"] .toast-layer { right: 10px; left: 10px; }
  .cart-mini-summary { font-size: 11px; }
  .cart-mini-summary .ms-row.ms-total { font-size: 13px; }
}
.skeleton-wrap.gone {
  animation: fadeOut 0.4s forwards;
}
@keyframes fadeOut {
  to { opacity: 0; height: 0; overflow: hidden; padding: 0; margin: 0; }
}

/* ============================================================
   BK PAYMENT — PizzaHut-style gateway redirect block
   Matches meryal-payment gateway integration pattern
   ============================================================ */
.bk-pay { margin-bottom: 6px; }

.bk-pay-hero {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #fff5ec 0%, #fef8e7 100%);
  border: 1.5px solid #f5d3ac;
  border-radius: 10px;
  margin-bottom: 14px;
}
.bk-pay-lock {
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--orange);
}
.bk-pay-copy b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}
.bk-pay-copy span {
  display: block;
  font-size: 12.5px;
  color: var(--text-mute);
  line-height: 1.4;
}
.bk-pay-badge {
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.bk-pay-brands {
  padding: 14px 16px;
  background: var(--bg-mute);
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.bk-pay-brands img {
  max-width: 100%;
  height: 30px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.02);
}

.bk-pay-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.bk-pay-trust-row {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: var(--bg-mute);
  border-radius: 8px;
  border: 1px solid var(--border-lite);
}
.bk-pay-trust-row > svg { margin-top: 2px; flex-shrink: 0; }
.bk-pay-trust-row b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1px;
}
.bk-pay-trust-row span {
  display: block;
  font-size: 11px;
  color: var(--text-mute);
  line-height: 1.35;
}

.bk-pay-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-mute);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.5;
}
.bk-pay-note svg { flex-shrink: 0; margin-top: 2px; }

body.dark .bk-pay-hero {
  background: linear-gradient(135deg, #2a1e10 0%, #221a10 100%);
  border-color: #4a3a20;
}
body.dark .bk-pay-lock { background: #1e1810; }
body.dark .bk-pay-brands,
body.dark .bk-pay-trust-row,
body.dark .bk-pay-note { background: #1a140e; border-color: #3a3226; }
body.dark .bk-pay-brands img { filter: contrast(1.02) brightness(1.6); }

@media (max-width: 640px) {
  .bk-pay-trust { grid-template-columns: 1fr; }
  .bk-pay-hero { grid-template-columns: 40px 1fr; }
  .bk-pay-badge { grid-column: 2; justify-self: start; margin-top: 6px; }
  .bk-pay-brands img { height: 22px; }
}

/* ============================================================
   BK-QATAR 1:1 VISUAL OVERRIDE (added 2026-08-10)
   Purpose: match https://burgerkingdelivery.qa/order-online/menu look
   Everything hidden here is preserved in HTML/JS — flip .body class
   `body.bk-full-ui` to bring the extras back.
   ============================================================ */

/* --- Header trim: no theme / sound / user-btn / Pickup / star-save ---
   NOTE: DOWNLOAD APP btn is now KEPT (original has it as small orange link) */
body:not(.bk-full-ui) #themeBtn,
body:not(.bk-full-ui) .theme-btn,
body:not(.bk-full-ui) #soundBtn,
body:not(.bk-full-ui) .sound-btn,
body:not(.bk-full-ui) #modePickup,
body:not(.bk-full-ui) #userBtn,
body:not(.bk-full-ui) .header-user-btn,
body:not(.bk-full-ui) .loc-btn > .loc-save,
body:not(.bk-full-ui) .loc-btn > .star,
body:not(.bk-full-ui) .loc-save-star {
  display: none !important;
}

/* Download-app button — original shows "📱 DOWNLOAD APP" small orange link */
body:not(.bk-full-ui) .download-app-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  color: #ff8732 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border: none !important;
  padding: 6px 10px !important;
  letter-spacing: .04em;
}
/* download-app-btn text now comes from HTML <span>; do not add via ::after */
body:not(.bk-full-ui) .download-app-btn::after { content: none !important; }
body:not(.bk-full-ui) .download-app-btn svg { stroke: #ff8732 !important; fill: none !important; }

/* Delivery pill — grey/white with black bike icon (NOT orange) as in original */
body:not(.bk-full-ui) .mode-toggle {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}
body:not(.bk-full-ui) .mode-btn.active[data-mode="delivery"],
body:not(.bk-full-ui) #modeDelivery {
  background: #ececec !important;
  color: #222 !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
body:not(.bk-full-ui) #modeDelivery svg { stroke: #222 !important; }

/* --- Content trim: rating card / filter chips / recently viewed / fav hint / PWA button --- */
body:not(.bk-full-ui) #ratingCard,
body:not(.bk-full-ui) .rating-card,
body:not(.bk-full-ui) #filterBar,
body:not(.bk-full-ui) .filter-bar,
body:not(.bk-full-ui) .recent-section,
body:not(.bk-full-ui) #cat-recent,
body:not(.bk-full-ui) .fav-empty-hint,
body:not(.bk-full-ui) #favEmptyHint,
body:not(.bk-full-ui) .pwa-install,
body:not(.bk-full-ui) #pwaInstall {
  display: none !important;
}

/* --- White-brick running-bond backdrop (matches original) --------
   One 120x92 SVG tile = two rows of bricks in a proper running bond.
   Mortar lines are subtle greyish; base fill is warm off-white. */
body:not(.bk-full-ui) {
  background-color: #f7f5f2 !important;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='92' viewBox='0 0 120 92'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.08' stroke-width='2'%3E%3Cpath d='M0 46 H120 M0 92 H120'/%3E%3Cpath d='M60 0 V46'/%3E%3Cpath d='M0 46 V92 M120 46 V92'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: repeat !important;
  background-attachment: fixed !important;
}
body.dark:not(.bk-full-ui) {
  background:
    repeating-linear-gradient(0deg,
      rgba(255,255,255,.03) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.03) 0 1px, transparent 1px 92px),
    #0f0b07 !important;
  background-attachment: fixed !important;
}

/* Cards keep clean solid background against the brick backdrop */
body:not(.bk-full-ui) .cats-wrap,
body:not(.bk-full-ui) .side-menu,
body:not(.bk-full-ui) .cart-panel,
body:not(.bk-full-ui) .side-cart {
  background: rgba(255,255,255,.98);
}

/* --- Banner: original shows TWO panels side-by-side (fruity + wraps).
   We keep the existing JS-driven translateX slider on desktop but wrap
   it in a 2-col grid: left = current slide, right = next slide preview.
   The right preview is a static <img> we inject via ::after using the
   2nd image src from the track. Simpler working alternative: show two
   copies of the track staggered — implemented below via container grid. */
/* --- Banner: responsive 2-panel layout (matches original) -------
   Container uses aspect-ratio so height ALWAYS scales with width.
   No hardcoded heights → images never overflow their panels. */
body:not(.bk-full-ui) .banner-slider {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative;
  aspect-ratio: 5 / 1.4 !important;   /* two panels 3:1 each, with gap */
  height: auto !important;
  min-height: 0 !important;
  width: 100%;
}

body:not(.bk-full-ui) .banner-track {
  grid-column: 1 / 2 !important;
  display: block !important;
  transform: none !important;
  height: 100% !important;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
body:not(.bk-full-ui) .banner-track > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;    /* fills panel, may crop */
  object-position: center !important;
  opacity: 0;
  transition: opacity .5s ease;
}
body:not(.bk-full-ui) .banner-track > img.active,
body:not(.bk-full-ui) .banner-track > img:first-child {
  opacity: 1;
}
body:not(.bk-full-ui) .banner-slider::after {
  content: '';
  grid-column: 2 / 3 !important;
  height: 100%;
  background:
    var(--bk-next-banner,
      url('https://cdn.limetray.com/production/6523_burger_king_qatar/product_2/1783021259845_bk_chilli_mayo_wraps_app_banner_1.jpg'))
      center/cover no-repeat;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* Slider dots + arrows sit on left panel only */
body:not(.bk-full-ui) .banner-slider .banner-arrow,
body:not(.bk-full-ui) .banner-slider .banner-dots {
  z-index: 3;
}
/* Original has NO visible prev/next arrows on the banner — hide */
body:not(.bk-full-ui) .banner-slider .ban-arrow { display: none !important; }
/* Dots: match original — small round black dots below banner, first active bigger/dark */
body:not(.bk-full-ui) .banner-slider .ban-dots {
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  display: flex !important;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
body:not(.bk-full-ui) .banner-slider .ban-dots > * {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,.25) !important;
  transition: background .15s;
}
body:not(.bk-full-ui) .banner-slider .ban-dots > .active {
  background: rgba(0,0,0,.7) !important;
}

/* Mobile: back to single column */
@media (max-width: 900px) {
  body:not(.bk-full-ui) .banner-slider {
    grid-template-columns: 1fr !important;
  }
  body:not(.bk-full-ui) .banner-slider::after { display: none !important; }
}

/* ============================================================
   BK-QATAR 1:1 VISUAL OVERRIDE — Round 2 (Product card + brick + misc)
   ============================================================ */

/* --- Product card: VERTICAL layout (image top full-width, body bottom) --- */
body:not(.bk-full-ui) .product-card {
  flex-direction: column !important;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  min-height: 0 !important;
}
body:not(.bk-full-ui) .pc-img {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: 190px !important;
  border-radius: 0 !important;
  background: #fff !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body:not(.bk-full-ui) .pc-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;   /* original shows entire product on white */
  padding: 12px;
}
body:not(.bk-full-ui) .pc-body {
  padding: 4px 16px 14px !important;
  gap: 6px;
}

/* Hide heart + veg dot (original menu doesn't show them per-card) */
body:not(.bk-full-ui) .heart-btn,
body:not(.bk-full-ui) .pc-veg {
  display: none !important;
}

/* Title with orange up-triangle badge on the right — matches original */
body:not(.bk-full-ui) .pc-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 !important;
}
body:not(.bk-full-ui) .pc-title p {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #222 !important;
  margin: 0;
  flex: 1;
}
body:not(.bk-full-ui) .pc-title::after {
  content: '▲';
  color: #ff8732;
  font-size: 9px;
  padding: 3px 6px;
  border: 1px solid #ff8732;
  border-radius: 4px;
  line-height: 1;
  flex-shrink: 0;
}

/* Hide long description in card (original shows only on modal) */
body:not(.bk-full-ui) .pc-desc {
  display: none !important;
}

/* Bottom: price left, ADD-button + "Customisable" stacked right */
body:not(.bk-full-ui) .pc-bottom {
  padding: 0 !important;
  margin-top: 6px !important;
  align-items: flex-start !important;
}
body:not(.bk-full-ui) .pc-price {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222 !important;
  padding-top: 4px;
}
body:not(.bk-full-ui) .pc-actions {
  align-items: flex-end !important;
  gap: 2px !important;
}
body:not(.bk-full-ui) .pc-add-btn {
  padding: 5px 22px !important;
  font-size: 12px !important;
  border-color: #ff8732 !important;
  color: #ff8732 !important;
  background: #fff !important;
  letter-spacing: .5px;
}
body:not(.bk-full-ui) .pc-customisable {
  font-size: 10px !important;
  color: #ff8732 !important;
  text-transform: none;
}

/* --- Brick backdrop: use the ORIGINAL BK Qatar brick-wall.png tile ---- */
body:not(.bk-full-ui) {
  background-color: #ececec !important;
  background-image: url("https://assets.limetray.com/assets/image_manager/uploads/21680/brick-wall.png") !important;
  background-repeat: repeat !important;
  background-attachment: fixed !important;
}

/* --- Cart empty-state: plate icon with fork+knife (matches original) --- */
body:not(.bk-full-ui) .empty-cart-icon,
body:not(.bk-full-ui) .cart-empty-icon,
body:not(.bk-full-ui) .cart-empty svg,
body:not(.bk-full-ui) #cartEmpty svg {
  display: none !important;   /* hide current empty svg — replace via ::before */
}
body:not(.bk-full-ui) #cartEmpty::before,
body:not(.bk-full-ui) .cart-empty::before {
  content: '';
  display: block;
  width: 110px;
  height: 110px;
  margin: 0 auto 12px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='47' fill='%23e7ecf1'/%3E%3Cg fill='none' stroke='%236b7783' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M35 25 L35 55 Q35 63 43 63 L43 78'/%3E%3Cpath d='M28 25 V42 M35 25 V42 M42 25 V42'/%3E%3Cpath d='M65 25 Q57 25 57 40 Q57 55 65 55 L65 78'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}

/* Menu Categories: fork+knife icon (matches original) — replace hamburger */
body:not(.bk-full-ui) .sidebar-head svg {
  display: none !important;
}
body:not(.bk-full-ui) .sidebar-head {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
body:not(.bk-full-ui) .sidebar-head::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23333'%3E%3Crect x='6' y='2' width='2.5' height='28' rx='1'/%3E%3Cpath d='M4 2 h1 v10 h1 V2 h1 v10 h1 V2 h1 v12 c0 1.5 -1 2.5 -2.5 2.5 s-2.5 -1 -2.5 -2.5 z' fill='%23333'/%3E%3Cpath d='M25 2 c-3 0 -4 3 -4 8 c0 3.5 1.5 5 3 5 v15 h2 V15 c1.5 0 3 -1.5 3 -5 c0 -5 -1 -8 -4 -8 z' fill='%23333'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* --- Cart proceed button text uppercase like original ---- */
body:not(.bk-full-ui) .proceed-btn {
  text-transform: uppercase !important;
  letter-spacing: .5px;
}
/* Original keeps button orange even when cart is empty; visually match */
body:not(.bk-full-ui) .proceed-btn:disabled {
  background: #ff8732 !important;
  color: #fff !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

/* --- Location pill: white bg like original, orange CHANGE ---- */
body:not(.bk-full-ui) .loc-btn {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 999px 0 0 999px !important;
  padding: 6px 8px 6px 14px !important;
  gap: 8px;
}
body:not(.bk-full-ui) .loc-btn .loc-change {
  background: #ff8732 !important;
  color: #fff !important;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}

/* --- Customize modal: 2-col layout matching original ------------- */
body:not(.bk-full-ui) #customizeModal .modal-card.customize-card {
  max-width: 900px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden;
  position: relative;
}
/* Title bar "Customize" on top (created via ::before on card) */
body:not(.bk-full-ui) #customizeModal .modal-card.customize-card::before {
  content: 'Customize';
  display: block;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 800;
  color: #222;
  border-bottom: 1px solid #eee;
  background: #fff;
  font-family: inherit;
}
body:not(.bk-full-ui) #customizeModal .modal-close {
  top: 14px !important;
  right: 18px !important;
  z-index: 5;
}
/* Body becomes 2-col grid — left hero, right groups */
body:not(.bk-full-ui) #customizeModal .modal-body {
  display: grid !important;
  grid-template-columns: 38% 62% !important;
  gap: 0 !important;
  padding: 0 !important;
  max-height: 62vh;
  overflow: hidden;
}
/* Left hero: image + name + desc stacked (no overlay) */
body:not(.bk-full-ui) #customizeModal .cz-hero {
  position: relative !important;
  padding: 24px 20px !important;
  background: #fff !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  border-right: 1px solid #eee;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
}
body:not(.bk-full-ui) #customizeModal #czImage {
  width: 100% !important;
  max-width: 260px !important;
  height: 220px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  position: static !important;
}
body:not(.bk-full-ui) #customizeModal .cz-hero-overlay {
  position: static !important;
  background: transparent !important;
  padding: 0 !important;
  color: #222 !important;
  width: 100%;
  text-align: left;
}
body:not(.bk-full-ui) #customizeModal .cz-hero-overlay h2 {
  color: #222 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  margin: 0 0 6px !important;
  text-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
body:not(.bk-full-ui) #customizeModal .cz-hero-overlay h2::after {
  content: '▲';
  color: #ff8732;
  font-size: 10px;
  padding: 3px 6px;
  border: 1px solid #ff8732;
  border-radius: 4px;
}
body:not(.bk-full-ui) #customizeModal .cz-hero-overlay p {
  color: #888 !important;
  font-size: 13px !important;
  line-height: 1.4;
  text-shadow: none !important;
  margin: 0;
}
/* Right column: scrollable groups */
body:not(.bk-full-ui) #customizeModal .cz-groups {
  padding: 20px 24px !important;
  overflow-y: auto;
  max-height: 62vh;
}
body:not(.bk-full-ui) #customizeModal .cz-group {
  margin-bottom: 20px;
}
body:not(.bk-full-ui) #customizeModal .cz-group-head {
  background: transparent !important;
  padding: 10px 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body:not(.bk-full-ui) #customizeModal .cz-group-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222 !important;
}
body:not(.bk-full-ui) #customizeModal .cz-group-badge {
  font-size: 12px !important;
  font-weight: 700;
}
body:not(.bk-full-ui) #customizeModal .cz-group-badge.required {
  color: #16a34a !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
/* Option rows: radio | product thumbnail | name | price */
body:not(.bk-full-ui) #customizeModal .cz-option {
  display: grid !important;
  grid-template-columns: 24px 40px 1fr auto !important;
  gap: 12px !important;
  align-items: center;
  padding: 12px 8px !important;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  border-radius: 0 !important;
  background: transparent !important;
}
body:not(.bk-full-ui) #customizeModal .cz-mark {
  order: 1;
  width: 20px; height: 20px;
  border: 1.5px solid #cbcbcb;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background: #fff;
  transition: border-color 0.12s;
}
body:not(.bk-full-ui) #customizeModal .cz-option.check-mode .cz-mark {
  border-radius: 4px;
}
body:not(.bk-full-ui) #customizeModal .cz-option:hover .cz-mark {
  border-color: #ff8732;
}
/* Radio: filled circle + orange ring */
body:not(.bk-full-ui) #customizeModal .cz-option input:checked ~ .cz-mark {
  border-color: #ff8732 !important;
  background: #ff8732 !important;
}
body:not(.bk-full-ui) #customizeModal .cz-option:not(.check-mode) input:checked ~ .cz-mark::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  right: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
}
body:not(.bk-full-ui) #customizeModal .cz-option:not(.check-mode) input:checked ~ .cz-mark::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px;
  right: 6px; bottom: 6px;
  background: #ff8732;
  border-radius: 50%;
  z-index: 1;
}
/* Checkbox: white check on orange bg */
body:not(.bk-full-ui) #customizeModal .cz-option.check-mode input:checked ~ .cz-mark::after {
  content: '';
  position: absolute;
  top: 2px; left: 6px;
  width: 5px; height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
/* Real product thumbnail image (from BK_ADDON_IMAGES mapping) */
body:not(.bk-full-ui) #customizeModal .cz-opt-img {
  order: 2;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  border-radius: 4px;
  background: #fff;
}
body:not(.bk-full-ui) #customizeModal .cz-opt-img-fallback {
  display: inline-block;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23f2f2f2' stroke='%23ddd' stroke-width='1'/%3E%3Ctext x='16' y='21' font-size='16' text-anchor='middle' fill='%23bbb'%3E•%3C/text%3E%3C/svg%3E") center/contain no-repeat;
}
body:not(.bk-full-ui) #customizeModal .cz-opt-name {
  order: 3;
  font-size: 14px;
  color: #222;
}
body:not(.bk-full-ui) #customizeModal .cz-opt-price {
  order: 4;
  font-weight: 700 !important;
}
body:not(.bk-full-ui) #customizeModal .cz-opt-price.free {
  color: #16a34a !important;
}
body:not(.bk-full-ui) #customizeModal .cz-opt-price.up {
  color: #ff8732 !important;
}

/* Footer: QTY + orange full-width "QRxx.xx | ADD ITEM" */
body:not(.bk-full-ui) #customizeModal .cz-foot {
  padding: 12px 20px !important;
  border-top: 1px solid #eee;
  background: #fff;
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: 12px !important;
  align-items: center;
}
body:not(.bk-full-ui) #customizeModal .cz-qty {
  border: 1px solid #ff8732;
  border-radius: 6px;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
body:not(.bk-full-ui) #customizeModal .cz-qty button {
  color: #ff8732 !important;
  background: transparent !important;
  border: none !important;
  width: 26px; height: 26px;
  font-size: 18px;
  font-weight: 700;
}
body:not(.bk-full-ui) #customizeModal .cz-qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  color: #222;
}
body:not(.bk-full-ui) #customizeModal .cz-add {
  background: #ff8732 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
  border: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  flex-direction: row !important;
  text-transform: uppercase;
}
body:not(.bk-full-ui) #customizeModal .cz-add::before { content: none !important; }
body:not(.bk-full-ui) #customizeModal .cz-add-price {
  font-weight: 800;
}
body:not(.bk-full-ui) #customizeModal .cz-add-orig {
  color: rgba(255,255,255,.75);
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 600;
}
body:not(.bk-full-ui) #customizeModal .cz-add-sep {
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin: 0 4px;
}

/* Mobile: single column stack */
@media (max-width: 760px) {
  body:not(.bk-full-ui) #customizeModal .modal-body {
    grid-template-columns: 1fr !important;
    max-height: none;
  }
  body:not(.bk-full-ui) #customizeModal .cz-hero { border-right: none; border-bottom: 1px solid #eee; }
}

/* --- Customize modal — Round 3 fine-tuning ------------------------ */
/* Section counter "(N/M)" inline next to name */
body:not(.bk-full-ui) #customizeModal .cz-group-count {
  color: #666 !important;
  font-weight: 500 !important;
  font-size: 13px;
  margin-left: 4px;
}

/* Summary line — grey text above QTY/ADD footer */
body:not(.bk-full-ui) #customizeModal .cz-summary {
  padding: 8px 20px 0;
  font-size: 12px;
  color: #666;
  border-top: 1px solid #eee;
  background: #fff;
  min-height: 26px;
  line-height: 1.4;
}
body:not(.bk-full-ui) #customizeModal .cz-summary:empty {
  display: none;
}
body:not(.bk-full-ui) #customizeModal .cz-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
body:not(.bk-full-ui) #customizeModal .cz-sum-chips {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
body:not(.bk-full-ui) #customizeModal .cz-sum-more {
  color: #ff8732;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}
/* Footer border: was 1px top — now already provided by summary */
body:not(.bk-full-ui) #customizeModal .cz-foot {
  border-top: none !important;
  padding-top: 8px !important;
}

/* Section headers now match original: name bold, "REQUIRED" green all-caps */
body:not(.bk-full-ui) #customizeModal .cz-group-name {
  text-transform: none;
}
body:not(.bk-full-ui) #customizeModal .cz-group-badge.required {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
body:not(.bk-full-ui) #customizeModal .cz-group-badge:not(.required) {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 12px !important;
  color: #ff8732 !important;
}

/* --- Mega Deals discount price rendering ------------------------- */
body:not(.bk-full-ui) .pc-price-now {
  color: #222 !important;
  font-weight: 700;
}
body:not(.bk-full-ui) .pc-price-orig {
  color: #999 !important;
  font-weight: 500;
  font-size: 12px !important;
  margin-left: 4px;
}

/* --- "Detect" icon inline on location button (like original) -----
   Original shows a tiny GPS-crosshair icon next to Select Location that,
   when tapped, opens the location picker. We keep our existing loc-btn
   flow but add a leading icon so the visual matches. */
body:not(.bk-full-ui) .loc-btn::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8732' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
}

/* ============================================================
   BK-QATAR — Round 6: Location modal + functional header
   Matches https://burgerkingdelivery.qa location dialog 1:1
   ============================================================ */

.bk-loc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.bk-loc-modal-backdrop.open { display: flex; }

.bk-loc-modal {
  background: #fff;
  border-radius: 12px;
  width: 92vw;
  max-width: 620px;
  padding: 30px 32px 24px;
  box-shadow: 0 12px 44px rgba(0,0,0,.35);
  animation: bkPop .18s ease-out;
}
@keyframes bkPop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

/* Tabs row: DELIVERY | TAKE-AWAY | DINE-IN */
.bk-loc-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.bk-loc-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  color: #666;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .5px;
  border-bottom: 3px solid transparent;
  margin-bottom: -14px;
  background: none;
  border-radius: 0;
}
.bk-loc-tab.active {
  color: #ff8732;
  border-bottom-color: #ff8732;
}
.bk-loc-tab svg { flex-shrink: 0; }

/* Input row: pin + input + Detect */
.bk-loc-input-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}
.bk-loc-input {
  border: none;
  outline: none;
  padding: 6px 0;
  font-size: 14px;
  min-width: 0;
}
.bk-loc-pin { line-height: 0; }
.bk-loc-detect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff8732;
  font-weight: 700;
  font-size: 13px;
  padding-left: 12px;
  border-left: 1px solid #eee;
}
.bk-loc-detect:hover { color: #e67628; }

.bk-loc-suggest {
  max-height: 240px;
  overflow-y: auto;
  margin-top: 10px;
}
.bk-loc-suggest-item {
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bk-loc-suggest-item:hover { background: #fff7ef; color: #ff8732; }
.bk-loc-suggest-item svg { color: #ff8732; flex-shrink: 0; }

.bk-loc-skip {
  display: block;
  margin: 22px auto 0;
  color: #ff8732;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
}

/* Header clickable pill styling — override the earlier grey-Delivery rule */
body:not(.bk-full-ui) #modeDelivery {
  cursor: pointer;
}
body:not(.bk-full-ui) .loc-btn {
  cursor: pointer;
}

/* ============================================================
   BK-QATAR — Round 7: correct VEG/NON-VEG food marks
   Replaces the ORANGE triangle-in-frame I added by mistake with
   the real BK Qatar Non-Veg (brown triangle) / Veg (green circle)
   symbols, which are mandatory food-safety indicators in Qatar/India.
   ============================================================ */

/* Kill the old ::after triangle I added to pc-title */
body:not(.bk-full-ui) .pc-title::after { content: none !important; }
body:not(.bk-full-ui) #customizeModal .cz-hero-overlay h2::after { content: none !important; }
/* Also unhide the pc-veg dot in case someone re-enables .bk-full-ui — but keep new marker instead */
body:not(.bk-full-ui) .pc-veg { display: none !important; }

/* The correct BK-Qatar food mark (SVG inside .bk-food-mark span) */
body:not(.bk-full-ui) .bk-food-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
body:not(.bk-full-ui) .bk-food-mark svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   BK-QATAR — Round 8: Header layout fixes to match original
   ============================================================ */

/* Kill the GPS crosshair pseudo I added to Select Location — original has NO icon there */
body:not(.bk-full-ui) .loc-btn::before { content: none !important; }

/* Push DOWNLOAD APP button all the way to the right (into the right-group visually) */
body:not(.bk-full-ui) .download-app-btn {
  margin-left: auto !important;
}

/* Header inner: normalize gaps + prevent squishing */
body:not(.bk-full-ui) .header-inner {
  gap: 14px !important;
  padding: 0 20px !important;
}
body:not(.bk-full-ui) .delivery-toggle {
  margin-left: 8px !important;
  gap: 8px !important;
}

/* Logo size — match original ~50px height */
body:not(.bk-full-ui) .brand-logo {
  height: 48px !important;
  width: auto !important;
}

/* Location pill: white bg + subtle border + horizontal layout with CHANGE pill on right */
body:not(.bk-full-ui) .loc-btn {
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
}
body:not(.bk-full-ui) .loc-btn .loc-text {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 999px 0 0 999px;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}
body:not(.bk-full-ui) .loc-btn .loc-change {
  background: #ff8732;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 0 999px 999px 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .5px;
  margin-left: -6px;   /* fuse with loc-text */
}

/* Delivery pill — refined (was too big on the previous pass) */
body:not(.bk-full-ui) #modeDelivery {
  padding: 8px 16px !important;
  gap: 6px !important;
  font-size: 13px !important;
}
body:not(.bk-full-ui) #modeDelivery svg { width: 16px; height: 16px; }

/* English lang pill — grey pill with globe + text */
body:not(.bk-full-ui) .lang-btn {
  background: #ececec !important;
  color: #222 !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  gap: 6px !important;
}

/* LOGIN / SIGN UP: orange border pill */
body:not(.bk-full-ui) .login-btn {
  border: 1.5px solid #ff8732 !important;
  color: #ff8732 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: .3px;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-transform: uppercase;
  white-space: nowrap;
}
body:not(.bk-full-ui) .login-btn:hover {
  background: #ff8732 !important;
  color: #fff !important;
}

/* DOWNLOAD APP: small orange link with phone icon (HTML provides icon+text) */
body:not(.bk-full-ui) .download-app-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px !important;
  background: transparent !important;
  color: #ff8732 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .3px;
  padding: 6px 8px !important;
  border: 0 !important;
  white-space: nowrap;
}
body:not(.bk-full-ui) .download-app-btn > svg {
  stroke: #ff8732 !important;
  fill: none !important;
}
body:not(.bk-full-ui) .download-app-btn:hover {
  color: #e67628 !important;
  background: transparent !important;
}
body:not(.bk-full-ui) .download-app-btn:hover > svg { stroke: #e67628 !important; }
/* Remove old margin-left auto — it now lives inside header-right group */
body:not(.bk-full-ui) .header-right .download-app-btn { margin-left: 0 !important; }

/* ---------- Responsive breakpoints ---------- */
@media (max-width: 1200px) {
  body:not(.bk-full-ui) .download-app-btn::after { display: none; }  /* hide text, keep phone icon */
}
@media (max-width: 900px) {
  body:not(.bk-full-ui) .to-label { display: none !important; }
  body:not(.bk-full-ui) .header-inner { gap: 10px !important; padding: 0 12px !important; }
  body:not(.bk-full-ui) .loc-btn .loc-text { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
  body:not(.bk-full-ui) .lang-btn span { display: none; }
}
@media (max-width: 640px) {
  body:not(.bk-full-ui) #modeDelivery span { display: none !important; }  /* icon only */
  body:not(.bk-full-ui) .loc-btn .loc-text { max-width: 90px; }
  body:not(.bk-full-ui) .login-btn { font-size: 11px !important; padding: 6px 10px !important; }
  body:not(.bk-full-ui) .download-app-btn { display: none !important; }
}

/* --- Round 10: food-mark pixel-identical to BK Qatar original (16x16, no color override) ---- */
body:not(.bk-full-ui) .bk-food-mark {
  width: 16px !important;
  height: 16px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body:not(.bk-full-ui) .bk-food-mark svg {
  width: 16px !important;
  height: 16px !important;
  display: block;
}

/* ============================================================
   BK-QATAR LOCATION MODAL v2 — richer suggest + step-2 details
   ============================================================ */
.bk-loc-suggest {
  max-height: 260px;
  overflow-y: auto;
}
.bk-loc-suggest-item {
  padding: 10px 12px !important;
  gap: 10px;
  align-items: flex-start !important;
}
.bk-loc-suggest-item > div:last-child { min-width: 0; flex: 1; }
.bk-loc-si-title {
  font-size: 14px;
  font-weight: 500;
  color: #2f2f2f;
  line-height: 1.3;
}
.bk-loc-si-sub {
  font-size: 12px;
  color: #8a8a8a;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-loc-suggest-item:hover .bk-loc-si-title { color: #ff8732; }
.bk-loc-empty {
  padding: 28px 12px;
  text-align: center;
  color: #a0a0a0;
  font-size: 13px;
}
.bk-loc-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #f2f2f2;
  border-top-color: #ff8732;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
  animation: bk-loc-spin 0.7s linear infinite;
}
@keyframes bk-loc-spin { to { transform: rotate(360deg); } }

/* Nearest BK outlets in step 2 */
.bk-loc-outlets {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.bk-loc-outlet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s;
  font-family: inherit;
  text-transform: none;
  font-weight: normal;
  color: #2f2f2f;
  gap: 12px;
}
.bk-loc-outlet:hover {
  border-color: #ff8732;
  background: #fff9f2;
}
.bk-loc-outlet.active {
  border-color: #ff8732;
  background: #fff7ef;
  box-shadow: inset 0 0 0 1px #ff8732;
}
.bk-loc-outlet-info { min-width: 0; flex: 1; }
.bk-loc-outlet-name {
  font-size: 13px;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.3;
}
.bk-loc-outlet-area {
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 2px;
}
.bk-loc-outlet-dist {
  font-size: 12px;
  font-weight: 600;
  color: #ff8732;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================================
   BK-QATAR LOCATION MODAL v3 — Map step + Outlet+Order step
   ============================================================ */

/* STEP 2: MAP */
.bk-loc-step-map {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px;
}
.bk-loc-map-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bk-loc-map-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #2f2f2f;
  flex: 1;
}
.bk-loc-map-close {
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  color: #888;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bk-loc-map-close:hover { color: #ff8732; background: #f5f5f5; }
.bk-loc-map-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
}
.bk-loc-map-addr-input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2f2f2f;
  padding: 0;
  min-width: 0;
}
.bk-loc-map-edit {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #888;
  padding: 4px;
}
.bk-loc-map-edit:hover { color: #ff8732; }
.bk-loc-map {
  width: 100%;
  height: 340px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  overflow: hidden;
  z-index: 0;
}
.bk-map-pin {
  background: transparent;
  border: 0;
}
.bk-map-pin svg { filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25)); }
.bk-loc-map-save {
  padding: 14px;
  border: 0;
  background: #ff8732;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: none;
}
.bk-loc-map-save:hover { background: #e67628; }

/* STEP 3: OUTLET + ORDER */
.bk-loc-step-outlet {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 4px 8px;
}
.bk-loc-outlet-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.bk-loc-outlet-addr {
  font-size: 13px;
  font-weight: 500;
  color: #2f2f2f;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-loc-outlet-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
.bk-loc-outlet-picker {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.bk-loc-outlet-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: #2f2f2f;
  font-family: inherit;
}
.bk-loc-outlet-summary:hover { background: #fafafa; }
.bk-loc-outlet-icon {
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #f5f5f5;
  border-radius: 6px;
  flex-shrink: 0;
}
.bk-loc-outlet-summary-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bk-loc-outlet-summary-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-loc-outlet-summary-area {
  font-size: 12px;
  color: #8a8a8a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bk-loc-outlet-summary-eta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}
.bk-loc-outlet-caret {
  color: #888;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.bk-loc-outlet-summary.open .bk-loc-outlet-caret { transform: rotate(180deg); }
.bk-loc-outlet-list {
  border-top: 1px solid #f0f0f0;
  max-height: 200px;
  overflow-y: auto;
}
.bk-loc-outlet-opt {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border: 0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: #2f2f2f;
  font-family: inherit;
  border-bottom: 1px solid #fafafa;
}
.bk-loc-outlet-opt:hover { background: #fff9f2; }
.bk-loc-outlet-opt.active {
  background: #fff7ef;
  color: #ff8732;
}
.bk-loc-outlet-opt-name { font-size: 13px; font-weight: 600; }
.bk-loc-outlet-opt-meta { font-size: 11px; color: #8a8a8a; }
.bk-loc-outlet-opt.active .bk-loc-outlet-opt-meta { color: #d67728; }
.bk-loc-cta-row {
  display: flex;
  gap: 10px;
}
.bk-loc-cta {
  flex: 1;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.15s;
  color: #fff;
}
.bk-loc-cta-now   { background: #ff8732; }
.bk-loc-cta-now:hover { background: #e67628; }
.bk-loc-cta-later { background: #fff; color: #ff8732; border: 1px solid #ff8732; }
.bk-loc-cta-later:hover { background: #fff7ef; }

/* Mobile tweaks */
@media (max-width: 640px) {
  .bk-loc-map { height: 260px; }
  .bk-loc-cta { padding: 12px 8px; font-size: 12px; }
}

/* STEP 2: address details form */
.bk-loc-step[hidden],
.bk-loc-step-details[hidden],
.bk-loc-step-search[hidden] { display: none !important; }
.bk-loc-step-details {
  padding: 4px 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bk-loc-modal {
  max-height: 90vh;
  overflow-y: auto;
}
.bk-loc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  align-self: flex-start;
  text-transform: none;
}
.bk-loc-back:hover { color: #ff8732; }
.bk-loc-picked {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fff7ef;
  border: 1px solid #ffddb8;
  border-radius: 8px;
}
.bk-loc-picked-pin { line-height: 0; margin-top: 2px; }
.bk-loc-picked-text { min-width: 0; flex: 1; }
.bk-loc-picked-title {
  font-size: 14px;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.3;
}
.bk-loc-picked-sub {
  font-size: 12px;
  color: #8a8a8a;
  margin-top: 2px;
}
.bk-loc-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bk-loc-field-row {
  display: flex;
  gap: 10px;
}
.bk-loc-field-row .bk-loc-field { flex: 1; min-width: 0; }
.bk-loc-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bk-loc-field label {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  text-transform: none;
}
.bk-loc-field label .req { color: #d84545; margin-left: 2px; }
.bk-loc-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: #2f2f2f;
}
.bk-loc-field input:focus { border-color: #ff8732; }
.bk-loc-field-err {
  border-color: #d84545 !important;
  animation: bk-shake 0.3s;
}
@keyframes bk-shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.bk-loc-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.bk-loc-tag {
  padding: 6px 12px;
  border: 1px solid #e2e2e2;
  background: #fff;
  border-radius: 20px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
  text-transform: none;
  font-weight: 400;
}
.bk-loc-tag:hover { border-color: #ff8732; color: #ff8732; }
.bk-loc-tag.active {
  border-color: #ff8732;
  background: #fff7ef;
  color: #ff8732;
  font-weight: 600;
}
.bk-loc-save {
  padding: 12px 16px;
  border: 0;
  background: #ff8732;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  text-transform: none;
}
.bk-loc-save:hover { background: #e67628; }
.bk-loc-save:active { transform: translateY(1px); }

/* Ensure address chip in header truncates cleanly */
#locBtn #locText {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 640px) {
  #locBtn #locText { max-width: 130px; }
}

/* ============================================================
   BK-QATAR LOGIN MODAL v2 — Mobile/Email tabs + OTP flow
   ============================================================ */
body:not(.bk-full-ui) #loginModal .modal-card.login-card {
  max-width: 440px;
  width: 92vw;
  border-radius: 10px;
  padding: 8px;
}
body:not(.bk-full-ui) #loginModal .modal-body { padding: 24px 28px 20px !important; }
body:not(.bk-full-ui) #loginModal .modal-close {
  position: absolute;
  top: 12px; right: 12px;
  background: transparent;
  border: 0;
  color: #666;
  font-size: 20px;
  cursor: pointer;
}
.bk-login-step { display: flex; flex-direction: column; gap: 16px; }
.bk-login-step[hidden] { display: none !important; }
.bk-login-title {
  font-size: 18px;
  font-weight: 700;
  color: #2f2f2f;
  margin: 0;
  text-align: left;
}
.bk-login-tabs {
  display: flex;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f5f5f5;
}
.bk-login-tab {
  flex: 1;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  transition: all 0.15s;
  text-transform: none;
}
.bk-login-tab.active {
  background: #ff8732;
  color: #fff;
}
.bk-login-hint {
  font-size: 13px;
  color: #666;
  margin: 0;
}
.bk-login-input-row {
  display: flex;
  align-items: stretch;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.bk-login-input-row[hidden] { display: none !important; }
.bk-login-cc {
  padding: 10px 14px;
  background: #f5f5f5;
  color: #2f2f2f;
  font-size: 14px;
  font-weight: 600;
  border-right: 1px solid #e2e2e2;
  display: inline-flex;
  align-items: center;
}
.bk-login-input-row input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: #2f2f2f;
  background: #fff;
  min-width: 0;
}
.bk-login-continue {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 6px;
  background: #ff8732;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition: background 0.15s, opacity 0.15s;
}
.bk-login-continue:hover:not(:disabled) { background: #e67628; }
.bk-login-continue:disabled {
  background: #dcdcdc;
  color: #999;
  cursor: not-allowed;
}
.bk-login-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: #666;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  align-self: flex-start;
}
.bk-login-back:hover { color: #ff8732; }
.bk-login-target {
  color: #ff8732;
  font-weight: 600;
}
.bk-login-otp-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 8px 0 4px;
}
.bk-login-otp-digit {
  width: 46px;
  height: 52px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 1.5px solid #e2e2e2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #2f2f2f;
  transition: border-color 0.15s;
}
.bk-login-otp-digit:focus { border-color: #ff8732; }
.bk-login-resend {
  font-size: 12px;
  color: #666;
  text-align: center;
  margin: 0;
}
.bk-login-resend a {
  color: #ff8732;
  font-weight: 600;
  text-decoration: none;
}
.bk-login-timer { color: #999; margin-left: 4px; }

/* Ensure [hidden] wins over display: inline-block / flex in login modal */
#loginModal [hidden] { display: none !important; }

/* Trust signal + links + spinner */
.bk-login-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #7a9a7a;
  margin: 4px 0 0;
}
.bk-login-secure svg { color: #4aa35a; }
.bk-login-links {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 0;
}
.bk-login-links a {
  color: #ff8732;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.bk-login-links a:hover { text-decoration: underline; }

.bk-login-continue {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.bk-login-continue-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bk-login-spin 0.7s linear infinite;
}
@keyframes bk-login-spin { to { transform: rotate(360deg); } }
.bk-login-continue.loading { cursor: wait; opacity: .95; }

/* ============================================================
   PROMO -90% FIRST ORDER — top ribbon + product badge + cart line
   ============================================================ */
.promo-ribbon {
  position: sticky;
  top: 0;
  z-index: 110;
  background: linear-gradient(90deg, #d84545 0%, #ff3b3b 50%, #d84545 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(216,69,69,.35);
  font-family: 'Flame', 'FlameSans', 'Helvetica Neue', sans-serif;
  overflow: hidden;
}
.promo-ribbon[hidden] { display: none !important; }
.promo-ribbon-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.promo-ribbon-gift {
  display: inline-flex;
  animation: promo-shake 2.5s ease-in-out infinite;
}
@keyframes promo-shake {
  0%, 100% { transform: rotate(0); }
  4%, 12%  { transform: rotate(-14deg); }
  8%, 16%  { transform: rotate(14deg); }
  20% { transform: rotate(0); }
}
.promo-ribbon-text {
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.promo-ribbon-text b { font-weight: 900; font-size: 15px; }
.promo-ribbon-sep { opacity: .6; margin: 0 2px; }
.promo-ribbon-timer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(0,0,0,.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .promo-ribbon-inner { padding: 6px 12px; gap: 8px; }
  .promo-ribbon-text { font-size: 11px; }
  .promo-ribbon-text b { font-size: 13px; }
  .promo-ribbon-timer { font-size: 11px; padding: 3px 8px; }
}

/* Product-card price when in promo mode */
body:not(.bk-full-ui) .pc-price-promo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
body:not(.bk-full-ui) .pc-price-promo .pc-price-now {
  color: #ff8732;
  font-weight: 800;
  font-size: 16px;
}
body:not(.bk-full-ui) .pc-price-promo .pc-price-orig {
  color: #999;
  font-size: 12px;
  text-decoration: line-through;
}
body:not(.bk-full-ui) .pc-price-promo .pc-price-badge {
  background: #d84545;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  animation: promo-pulse 2s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(216,69,69,.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(216,69,69,0); }
}

/* Cart mini-summary promo row */
.ms-strike {
  color: #999;
  text-decoration: line-through;
  font-size: 12px;
  margin-right: 6px;
}
.ms-now {
  color: #ff8732;
  font-weight: 800;
}
.ms-promo-row {
  color: #d84545 !important;
  font-weight: 700;
  background: rgba(216,69,69,.06);
  padding: 4px 8px !important;
  border-radius: 4px;
  margin: 2px 0;
}

/* Body offset so promo ribbon doesn't overlap sticky header */
html.promo-active .site-header { top: 0; }

/* Checkout address autocomplete */
.checkout-addr-label { position: relative; }
.checkout-addr-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  transition: border-color 0.15s;
}
.checkout-addr-wrap:focus-within { border-color: #ff8732; }
.checkout-addr-pin { line-height: 0; flex-shrink: 0; }
.checkout-addr-wrap input {
  flex: 1;
  border: 0 !important;
  outline: none;
  padding: 10px 0 !important;
  background: transparent !important;
  font-size: 14px;
  color: #2f2f2f;
  min-width: 0;
}
.checkout-addr-saved {
  font-size: 10px;
  font-weight: 700;
  color: #4aa35a;
  background: #eafcef;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.checkout-addr-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-height: 260px;
  overflow-y: auto;
  z-index: 10;
}
.checkout-addr-suggest[hidden] { display: none !important; }
.checkout-addr-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid #f5f5f5;
}
.checkout-addr-item:last-child { border-bottom: none; }
.checkout-addr-item:hover { background: #fff9f2; }
.checkout-addr-item svg { flex-shrink: 0; margin-top: 3px; }
.checkout-addr-item-info { min-width: 0; flex: 1; }
.checkout-addr-item-title {
  font-size: 13px;
  font-weight: 600;
  color: #2f2f2f;
  line-height: 1.3;
}
.checkout-addr-item-sub {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
