:root {
  --bg-canvas: #FAF7F4;
  --bg-surface: #FFFFFF;
  --bg-subtle: #F3EDE6;
  --terracotta: #B8432E;
  --terracotta-hover: #9E3624;
  --terracotta-soft: #F7E8E4;
  --espresso: #1E1916;
  --clay-muted: #7A6B63;
  --border-sand: #E5D7CB;
  --success-bg: #EAF3EC;
  --success-ink: #1F5B33;
  --warn-bg: #FDF3E2;
  --warn-ink: #8C5312;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(30, 25, 22, 0.05);
}

[data-theme="dark"] {
  --bg-canvas: #15110F;
  --bg-surface: #201A17;
  --bg-subtle: #2C231E;
  --terracotta: #D95B43;
  --terracotta-hover: #B8432E;
  --terracotta-soft: #3D201A;
  --espresso: #F5EFEA;
  --clay-muted: #B6A79C;
  --border-sand: #3A2F29;
  --success-bg: #173321;
  --success-ink: #8EE2AE;
  --warn-bg: #382714;
  --warn-ink: #F7C77D;
}
[data-theme="dark"] .topbar { background: rgba(21, 17, 15, 0.94); }
[data-theme="dark"] .phone-screen-content,
[data-theme="dark"] .live-tracker-card,
[data-theme="dark"] .tracker-svg-wrap { background: #1B1613; border-color: #3A2F29; }
[data-theme="dark"] .diagnostic-step-card,
[data-theme="dark"] .express-stage-box,
[data-theme="dark"] .phone-mini-pill,
[data-theme="dark"] .bill-card,
[data-theme="dark"] .pay-tile { background: #261F1B; color: #F5EFEA; border-color: #3A2F29; }
[data-theme="dark"] .btn-outline { background: #261F1B; color: #F5EFEA; border-color: #3A2F29; }
[data-theme="dark"] table.data-table tr:hover td { background: #2A221E; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-canvas);
  color: var(--espresso);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

img, video { max-width: 100%; }

.card, .kpi-card, .dash-header, .dash-tabs, .filter-bar, .split-grid, .kpi-grid, .welcome-shell, .welcome-shell > div {
  min-width: 0;
  max-width: 100%;
}

.tabular { font-variant-numeric: tabular-nums; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Top Navigation Bar (NO link below logo!) */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 244, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-sand);
}

.topbar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.brand-lockup img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-pill {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--espresso);
  border: 1px solid transparent;
}

.nav-pill:hover {
  background: var(--bg-subtle);
  text-decoration: none;
}

.nav-pill.active {
  background: var(--bg-surface);
  border-color: var(--border-sand);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--terracotta);
  color: #FAF7F4;
}
.btn-primary:hover { background: var(--terracotta-hover); text-decoration: none; }

.btn-outline {
  background: var(--bg-surface);
  color: var(--espresso);
  border-color: var(--border-sand);
}
.btn-outline:hover { background: var(--bg-subtle); text-decoration: none; }

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge-verified { background: var(--success-bg); color: var(--success-ink); }
.badge-directory { background: var(--bg-subtle); color: var(--clay-muted); }
.badge-terracotta { background: var(--terracotta-soft); color: var(--terracotta); }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }

/* Welcome Screen */
.welcome-shell {
  min-height: calc(100vh - 130px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.welcome-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.welcome-title {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--espresso);
}

.welcome-lead {
  font-size: 16.5px;
  color: var(--clay-muted);
  max-width: 580px;
  margin: 0 0 24px;
}

.locality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.locality-chip {
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--espresso);
}
.locality-chip strong { display: block; font-size: 13.5px; }
.locality-chip span { font-size: 11.5px; color: var(--clay-muted); }
.locality-chip:hover { border-color: var(--terracotta); background: var(--bg-canvas); }

/* Dashboard Grid */
.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.dash-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--border-sand);
  margin-bottom: 20px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clay-muted);
  cursor: pointer;
  white-space: nowrap;
}
.tab-btn.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) auto;
  gap: 10px;
  margin-bottom: 18px;
}

.input, .select {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 13.5px;
}
.input:focus, .select:focus {
  outline: 2px solid rgba(184, 67, 46, 0.2);
  border-color: var(--terracotta);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.kpi-label { font-size: 12px; font-weight: 600; color: var(--clay-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.kpi-value { font-size: 28px; font-weight: 700; margin: 6px 0 4px; color: var(--espresso); }
.kpi-sub { font-size: 12px; color: var(--clay-muted); }

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-bottom: 18px;
}

.chart-box { width: 100%; height: 340px; }
#karnataka-map { width: 100%; height: 380px; border-radius: 8px; border: 1px solid var(--border-sand); z-index: 1; }

.table-wrap { overflow-x: auto; }
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.data-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clay-muted);
  border-bottom: 1px solid var(--border-sand);
  background: var(--bg-canvas);
  cursor: pointer;
}
table.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #EFE7DF;
  vertical-align: top;
}
table.data-table tr:hover td { background: #FCF9F6; }

.state-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.state-node {
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-sand);
  font-size: 12px;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--border-sand);
  margin-top: 40px;
  padding: 18px 24px;
  font-size: 12.5px;
  color: var(--clay-muted);
}
.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 22, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-sand);
  padding: 24px;
}

/* Marketplace Swiggy/Zomato-style Discovery & Ordering */
.welcome-search-row {
  display: flex;
  gap: 8px;
  max-width: 580px;
}
.market-toolbar { padding: 16px; }
.market-toolbar-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr auto;
  gap: 12px;
  align-items: center;
}
.search-autocomplete-wrap { position: relative; }
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(30, 25, 22, 0.12);
  z-index: 60;
  display: none;
  max-height: 360px;
  overflow-y: auto;
}
.search-dropdown.open { display: block; }
.ac-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #F3EDE6;
  font-size: 13.5px;
}
.ac-row:hover { background: var(--bg-canvas); }
.ac-sub { font-size: 12px; color: var(--clay-muted); }
.ac-empty { padding: 14px; font-size: 13px; color: var(--clay-muted); }

.collections-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.collection-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-sand);
  background: var(--bg-canvas);
  color: var(--espresso);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.collection-chip.active {
  background: var(--espresso);
  color: #FAF7F4;
  border-color: var(--espresso);
}

.filter-pills-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.pill-toggle {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.pill-toggle.active {
  background: var(--terracotta-soft);
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rest-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.rest-card:hover { border-color: var(--terracotta); }
.rest-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rating-box {
  background: #1F5B33;
  color: #FFFFFF;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.rest-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--clay-muted);
  border-bottom: 1px solid #F1EAE2;
  padding-bottom: 8px;
}
.rest-dishes-preview { display: grid; gap: 6px; flex: 1; }
.dish-mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}
.btn-add-mini {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid var(--terracotta);
  background: var(--bg-surface);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.btn-add-mini:hover { background: var(--terracotta); color: #FAF7F4; }

/* FSSAI Veg / Non-Veg Dietary Symbols */
.diet-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border: 1.5px solid #1F5B33;
  border-radius: 2px;
  vertical-align: middle;
}
.diet-mark i { width: 6px; height: 6px; border-radius: 50%; background: #1F5B33; display: block; }
.diet-mark.nonveg { border-color: #9E3624; }
.diet-mark.nonveg i { background: #9E3624; }

/* Slide-over Drawers */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 25, 22, 0.45);
  z-index: 90;
  display: none;
  justify-content: flex-end;
}
.drawer-backdrop.open { display: flex; }
.drawer-panel {
  width: 100%;
  max-width: 470px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-sand);
  display: flex;
  flex-direction: column;
}
.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.drawer-body { padding: 18px 20px; overflow-y: auto; flex: 1; }
.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #EFE7DF;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--terracotta);
  border-radius: 6px;
  overflow: hidden;
}
.qty-stepper button {
  background: var(--bg-surface);
  color: var(--terracotta);
  border: none;
  padding: 4px 10px;
  font-weight: 700;
  cursor: pointer;
}
.qty-stepper span { padding: 4px 8px; font-size: 13px; font-weight: 700; }

.bill-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-sand);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 6px;
  font-size: 13px;
}
.bill-row { display: flex; justify-content: space-between; }
.bill-row.total { border-top: 1px solid var(--border-sand); padding-top: 8px; font-weight: 800; font-size: 15px; }

/* Rich Swiggy/Zomato-style Payment Gateway Sheet */
.coupon-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.coupon-card {
  min-width: 195px;
  padding: 9px 11px;
  border: 1px dashed var(--terracotta);
  border-radius: 8px;
  background: var(--terracotta-soft);
  cursor: pointer;
  text-align: left;
  font-size: 12px;
}
.coupon-card.applied {
  background: var(--success-bg);
  border-color: var(--success-ink);
  border-style: solid;
}
.pay-accordion {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.pay-group {
  border: 1px solid var(--border-sand);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-surface);
}
.pay-group.active { border-color: var(--terracotta); }
.pay-group-head {
  width: 100%;
  background: var(--bg-canvas);
  border: none;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--espresso);
  cursor: pointer;
}
.pay-group-body {
  display: none;
  padding: 12px 14px;
  border-top: 1px solid var(--border-sand);
}
.pay-group.active .pay-group-body { display: block; }
.pay-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.pay-tile {
  padding: 9px 10px;
  border: 1px solid var(--border-sand);
  border-radius: 8px;
  background: var(--bg-surface);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.pay-tile.selected {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
  color: var(--terracotta);
}

/* Zomato-inspired Welcome Hero & Delivery Grid (Theme A) */
.hero-banner {
  background: #1E1916;
  color: #FAF7F4;
  border-radius: 14px;
  padding: 46px 34px;
  border: 1px solid #352B25;
}
.hero-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.5vw, 50px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.hero-sub {
  margin: 0 0 22px;
  font-size: 16px;
  color: #E5D7CB;
  max-width: 640px;
}
.hero-search-bar {
  display: flex;
  gap: 8px;
  background: #FFFFFF;
  padding: 6px;
  border-radius: 10px;
  max-width: 780px;
}
.hero-select {
  border: none;
  border-right: 1px solid var(--border-sand);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--espresso);
  background: transparent;
  min-width: 170px;
}
.hero-input {
  border: none;
  flex: 1;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--espresso);
  min-width: 0;
}
.hero-input:focus, .hero-select:focus { outline: none; }

.three-col-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tile-card { text-decoration: none !important; color: inherit; transition: border-color 0.15s ease; }
.tile-card:hover { border-color: var(--terracotta); }

.city-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.city-pill-card {
  display: block;
  padding: 13px 15px;
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 9px;
  color: var(--espresso);
  text-decoration: none !important;
}
.city-pill-card strong { display: block; font-size: 14.5px; }
.city-pill-card span { display: block; font-size: 12px; color: var(--clay-muted); margin-top: 2px; }
.city-pill-card:hover { border-color: var(--terracotta); background: var(--bg-canvas); }

.inspiration-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
}
.insp-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
  min-width: 118px;
  padding: 10px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 12px;
  cursor: pointer;
  color: var(--espresso);
  font-size: 12px;
  white-space: nowrap;
  text-align: center;
}
.insp-tile.active { border-color: var(--terracotta); background: var(--terracotta-soft); color: var(--terracotta); }
.insp-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--terracotta);
}
.insp-tile.active .insp-circle { background: var(--terracotta); color: #FAF7F4; }

.rest-visual-head {
  background: #2C221E;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-sand);
}
.offer-ribbon {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--terracotta);
  color: #FAF7F4;
  font-size: 11px;
  font-weight: 700;
}
.eta-pill {
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(250, 247, 244, 0.92);
  color: var(--espresso);
  font-size: 11.5px;
  font-weight: 700;
}

/* Zomato-inspired Fluid Animations, Phone Showcase, Toast & Skeletons */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes screenPop {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.1); }
}
@keyframes shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.hero-animated {
  position: relative;
  overflow: visible;
  animation: fadeSlideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-float-art {
  position: absolute;
  top: 50%;
  margin-top: -48px;
  opacity: 0.9;
  animation: floatSlow 5.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-float-art.art-left { left: 26px; }
.hero-float-art.art-right { right: 26px; animation-delay: 1.4s; }
.hero-quick-pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(250, 247, 244, 0.12);
  border: 1px solid rgba(250, 247, 244, 0.22);
  color: #FAF7F4;
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease;
}
.hero-quick-pill:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-2px); text-decoration: none; }

.stats-four-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.stat-pop-card { text-align: center; padding: 20px 14px; transition: transform 0.2s ease; }
.stat-pop-card:hover { transform: translateY(-4px); border-color: var(--terracotta); }
.stat-big { font-size: 32px; font-weight: 800; color: var(--terracotta); line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--clay-muted); margin-top: 6px; font-weight: 500; }

.phone-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 290px 1fr;
  gap: 22px;
  align-items: center;
}
.feature-col { display: grid; gap: 12px; }
.feature-card-btn {
  text-align: left;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-sand);
  background: var(--bg-canvas);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.feature-card-btn strong { display: block; font-size: 14px; color: var(--espresso); }
.feature-card-btn span { display: block; font-size: 12px; color: var(--clay-muted); margin-top: 3px; }
.feature-card-btn:hover, .feature-card-btn.active {
  background: var(--bg-surface);
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 67, 46, 0.12);
}

.phone-mockup-frame {
  background: #1E1916;
  border-radius: 28px;
  padding: 12px;
  border: 3px solid #3A302B;
  box-shadow: 0 18px 40px rgba(30, 25, 22, 0.16);
}
.phone-notch {
  width: 78px;
  height: 10px;
  border-radius: 99px;
  background: #3A302B;
  margin: 0 auto 10px;
}
.phone-screen-content {
  background: #FAF7F4;
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 295px;
}
.screen-pop { animation: screenPop 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.phone-mini-pill {
  padding: 7px 10px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border-sand);
  font-size: 12px;
  font-weight: 600;
}

.hover-lift { transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(30, 25, 22, 0.07); }

.rest-card {
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.2s ease;
  animation: fadeSlideUp 0.35s ease both;
}
.rest-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(30, 25, 22, 0.09); border-color: var(--terracotta); }

.drawer-backdrop { opacity: 0; transition: opacity 0.22s ease; }
.drawer-backdrop.open { display: flex; opacity: 1; }
.drawer-panel { transform: translateX(30px); transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1); }
.drawer-backdrop.open .drawer-panel { transform: translateX(0); }

.cart-pulse { animation: cartBounce 0.36s ease; }

.toast-stack {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 150;
  display: grid;
  gap: 8px;
}
.toast-msg {
  background: #1E1916;
  color: #FAF7F4;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  border-left: 4px solid var(--terracotta);
  box-shadow: 0 10px 24px rgba(30, 25, 22, 0.22);
  animation: fadeSlideUp 0.24s ease;
}

.acc-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
}
.acc-panel { display: none; padding: 0 18px 16px; font-size: 13.5px; color: var(--clay-muted); line-height: 1.8; }
.acc-item.open .acc-panel { display: block; animation: fadeSlideUp 0.2s ease; }

.skeleton-card {
  height: 270px;
  border-radius: var(--radius);
  border: 1px solid var(--border-sand);
  background: linear-gradient(90deg, #F3EDE6 25%, #FAF7F4 50%, #F3EDE6 75%);
  background-size: 800px 100%;
  animation: shimmer 1.2s infinite linear;
}

/* Video Background Hero + Real Dish Photography */
.hero-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 58px 36px;
  min-height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px auto 26px;
  width: 100%;
  background: #1E1916;
  color: #FAF7F4;
  border: 1px solid #3A302B;
  box-shadow: 0 14px 34px rgba(30, 25, 22, 0.14);
  animation: fadeSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-cinema-reel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1E1916;
}
.cinema-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 6.5s ease-out;
  filter: saturate(1.18) contrast(1.06) brightness(0.86);
}
.cinema-slide.active {
  opacity: 1;
  transform: scale(1.12);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.42;
  animation: orbDrift 9s ease-in-out infinite alternate;
}
.hero-orb-1 {
  width: 280px;
  height: 280px;
  top: -60px;
  left: -40px;
  background: radial-gradient(circle, rgba(255, 130, 86, 0.72), transparent 70%);
}
.hero-orb-2 {
  width: 320px;
  height: 320px;
  bottom: -90px;
  right: -50px;
  background: radial-gradient(circle, rgba(255, 196, 120, 0.52), transparent 70%);
  animation-delay: -4.5s;
}
@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(26px, -22px) scale(1.12); }
}
@media (max-width: 1220px) {
  .hero-float-card { display: none !important; }
}
.cinema-scene-bar {
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cinema-pill {
  border: 1px solid rgba(250, 247, 244, 0.28);
  background: rgba(30, 25, 22, 0.56);
  backdrop-filter: blur(8px);
  color: #FAF7F4;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.cinema-pill:hover, .cinema-pill.active {
  background: var(--terracotta);
  border-color: #FFB7A8;
  transform: translateY(-1px);
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  transition: opacity 0.6s ease;
  filter: saturate(1.12) contrast(1.04) brightness(0.92);
}
.hero-video-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 18, 15, 0.36) 0%, rgba(24, 18, 15, 0.64) 100%);
  z-index: 1;
}
.hero-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-right: 1px solid var(--border-sand);
  background: transparent;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-pin-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(184, 67, 46, 0.22);
}

.photo-dish-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.photo-dish-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.photo-dish-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  display: block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-dish-card:hover img { transform: scale(1.03); }
.photo-dish-meta { padding: 0 2px; }
.photo-dish-meta strong { display: block; font-size: 14.5px; }
.photo-dish-meta span { font-size: 12px; color: var(--clay-muted); }

.insp-photo {
  width: 68px;
  height: 68px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--border-sand);
  transition: transform 0.25s ease, border-color 0.2s ease;
}
.insp-tile.active .insp-photo, .insp-tile:hover .insp-photo {
  border-color: var(--terracotta);
  transform: scale(1.06);
}

.rest-photo-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 9px;
  overflow: hidden;
  background: #2C221E;
}
.rest-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.rest-card:hover .rest-photo-banner img { transform: scale(1.03); }
.rest-photo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 13, 0.1) 35%, rgba(20, 15, 13, 0.72) 100%);
}
.rest-photo-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.dish-mini-thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-sand);
}
.menu-dish-photo {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-sand);
}
.city-quick-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}
.city-quick-row .pill-toggle { white-space: nowrap; flex-shrink: 0; }

/* Rich Checkout Cart & Payment UI Cards */
.fulfil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.fulfil-card {
  border: 1.5px solid var(--border-sand);
  background: var(--bg-surface);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  color: var(--espresso);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.fulfil-card strong { display: block; font-size: 13px; }
.fulfil-card span { display: block; font-size: 11.5px; color: var(--clay-muted); margin-top: 2px; }
.fulfil-card.active {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
}
.eco-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border-sand);
  border-radius: 9px;
  background: var(--bg-canvas);
  font-size: 12.5px;
  margin-bottom: 12px;
  cursor: pointer;
}
.tip-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tip-chip {
  padding: 7px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--espresso);
  cursor: pointer;
}
.tip-chip.active {
  border-color: var(--terracotta);
  background: var(--terracotta-soft);
  color: var(--terracotta);
}
.bill-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-sand);
  border-radius: 10px;
  padding: 13px 14px;
  display: grid;
  gap: 7px;
  font-size: 13px;
}
.bill-savings-banner {
  background: var(--success-bg);
  color: var(--success-ink);
  border: 1px solid #BDD8C4;
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
/* Flagship Enterprise Footer */
.enterprise-footer {
  background: #1E1916;
  color: #FAF7F4;
  border-top: 1px solid #352B25;
  margin-top: 56px;
  padding: 40px 24px;
}
.enterprise-footer-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFB7A8;
  margin-bottom: 12px;
}
.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}
.footer-link-list a { color: #D7C7BA; text-decoration: none; }
.footer-link-list a:hover { color: #FAF7F4; text-decoration: underline; }
.footer-link-list span { color: #9B897C; }

/* Flagship Hero Float Dish Cards & Enterprise Promise Banner */
.flagship-hero { padding: 62px 36px; }
.hero-float-card {
  position: absolute;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(250, 247, 244, 0.94);
  color: var(--espresso);
  border: 1px solid var(--border-sand);
  border-radius: 12px;
  padding: 8px 12px 8px 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  text-decoration: none !important;
  animation: floatSlow 5.2s ease-in-out infinite;
}
.hero-float-left { left: 24px; }
.hero-float-right { right: 24px; animation-delay: 1.5s; }
.hero-float-card img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.hero-float-card strong { display: block; font-size: 13px; }
.hero-float-card span { display: block; font-size: 11px; color: var(--terracotta); font-weight: 700; }

.enterprise-banner-card {
  background: linear-gradient(135deg, #1E1916 0%, #2D221D 60%, #412119 100%);
  border-radius: 16px;
  padding: 28px 30px;
  border: 1px solid #3D2E27;
  box-shadow: 0 12px 28px rgba(30, 25, 22, 0.14);
}
.enterprise-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}
.enterprise-metrics-graphic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.ent-stat-tile {
  background: rgba(250, 247, 244, 0.07);
  border: 1px solid rgba(250, 247, 244, 0.14);
  border-radius: 12px;
  padding: 14px;
  color: #FAF7F4;
  display: grid;
  gap: 4px;
}
.ent-stat-tile strong { font-size: 14.5px; }
.ent-stat-tile span { font-size: 11.5px; color: #D7C7BA; }

/* Marketplace Promo Banners + Scroll Arrows */
.promo-banner-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.promo-offer-card {
  border: none;
  border-radius: 12px;
  padding: 16px 18px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-offer-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(30, 25, 22, 0.12); }
.promo-offer-card strong { font-size: 16px; }
.promo-offer-card span { font-size: 12.5px; opacity: 0.92; }
.promo-badge {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}
.promo-terracotta { background: linear-gradient(135deg, #B8432E 0%, #9E3624 100%); color: #FAF7F4; }
.promo-espresso { background: linear-gradient(135deg, #1E1916 0%, #3A2C25 100%); color: #FAF7F4; }
.promo-warm { background: linear-gradient(135deg, #F7E8E4 0%, #EFE1D6 100%); color: #1E1916; border: 1px solid var(--border-sand); }
.promo-warm .promo-badge { background: rgba(184, 67, 46, 0.14); color: var(--terracotta); }
.carousel-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.carousel-arrow-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }

@media (max-width: 1120px) {
  .hero-float-card { display: none; }
}
@media (max-width: 900px) {
  .enterprise-banner-grid, .enterprise-footer-inner, .promo-banner-strip { grid-template-columns: 1fr; }
}

.copilot-chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

/* Tactile Veg / Non-Veg ON-OFF Switches (Swiggy/Zomato Style) */
.diet-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}
.diet-switch-btn .switch-track {
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: #D8CEC4;
  position: relative;
  display: inline-block;
  transition: background 0.18s ease;
}
.diet-switch-btn .switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease;
}
.diet-switch-btn .switch-state {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--clay-muted);
  min-width: 22px;
}
.diet-switch-btn.active {
  border-color: #1F5B33;
  background: #EAF3EC;
  color: #1F5B33;
}
.diet-switch-btn.active .switch-track { background: #1F5B33; }
.diet-switch-btn.active .switch-thumb { transform: translateX(14px); }
.diet-switch-btn.active .switch-state { color: #1F5B33; }
.diet-switch-btn.nonveg-mode.active {
  border-color: #9E3624;
  background: #FCEAE6;
  color: #9E3624;
}
.diet-switch-btn.nonveg-mode.active .switch-track { background: #9E3624; }
.diet-switch-btn.nonveg-mode.active .switch-state { color: #9E3624; }

@media (max-width: 960px) {
  .photo-dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hero-video-shell { margin: 0 auto 18px; padding: 24px 14px; min-height: 310px; border-radius: 14px; }
  .hero-loc-btn { max-width: 100%; width: 100%; border-right: none; border-bottom: 1px solid var(--border-sand); }
  .photo-dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-dish-card img, .food-dish-thumb { aspect-ratio: 16 / 10; height: auto; }
  .container { padding: 12px !important; }
  .topbar-inner { padding: 10px 12px; }
  .nav-links { gap: 6px; }
  .nav-links a.nav-pill { display: none; }
}

@media (max-width: 960px) {
  .hero-float-art { display: none; }
  .stats-four-grid { grid-template-columns: repeat(2, 1fr); }
  .phone-showcase-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-banner { padding: 26px 18px; }
  .hero-search-bar { flex-direction: column; }
  .hero-select { border-right: none; border-bottom: 1px solid var(--border-sand); width: 100%; }
  .three-col-tiles { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .welcome-shell, .split-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .restaurant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-toolbar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-inner { padding: 10px 14px; flex-wrap: wrap; width: 100%; }
  .brand-lockup img { height: 28px; }
  .nav-links { width: 100%; justify-content: flex-start; gap: 6px; flex-wrap: wrap; }
  .nav-pill, .btn { min-height: 38px; font-size: 12.5px; padding: 6px 10px; max-width: 100%; white-space: normal; }
  .container { padding: 14px; width: 100%; max-width: 100%; overflow-x: hidden; }
  .dash-header h1 { font-size: 22px !important; overflow-wrap: anywhere; }
  .welcome-lead { font-size: 15px; overflow-wrap: anywhere; }
  .welcome-search-row { flex-direction: column; }
  .locality-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { padding: 14px; }
  .kpi-grid, .filter-bar, .restaurant-grid { grid-template-columns: minmax(0, 1fr); }
  .chart-box { height: 260px; }
  #karnataka-map { height: 280px; }
}

/* Live SVG Delivery Route Tracker & Post-Delivery Star Review */
.live-tracker-card {
  background: linear-gradient(135deg, #FAF7F4 0%, #FFFFFF 100%);
  border: 1.5px solid #E2D5C8;
  border-radius: 14px;
  padding: 16px;
  margin-top: 12px;
  text-align: left;
}
.tracker-svg-wrap {
  width: 100%;
  background: #FFFDFB;
  border: 1px solid #EDE2D7;
  border-radius: 12px;
  padding: 10px 12px 6px;
  margin: 10px 0;
}
.tracker-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.tracker-step-pill {
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  font-size: 11px;
  font-weight: 700;
  color: var(--clay-muted);
  text-align: center;
}
.tracker-step-pill.done {
  background: #EAF3EC;
  border-color: #1F5B33;
  color: #1F5B33;
}
.tracker-step-pill.current {
  background: #FDEAE6;
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.star-picker {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}
.star-btn {
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: #9A8D83;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 16px;
  cursor: pointer;
  line-height: 1;
}
.star-btn.active {
  background: #FFF4E5;
  border-color: #C97A1B;
  color: #D47500;
}
@keyframes riderPulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.18); opacity: 0.55; }
}
.rider-pulse-ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: riderPulse 1.5s infinite ease-in-out;
}

/* High-Graphics Interactive Motion System */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #B8432E, #D97724, #1F5B33);
  z-index: 200;
  transition: width 0.08s linear;
}
.topbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@keyframes heroFloatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}
@keyframes heroFloatYAlt {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(5px); }
}
.hero-float-left {
  animation: fadeSlideUp 0.6s ease both, heroFloatY 4.6s ease-in-out infinite 0.6s;
}
.hero-float-right {
  animation: fadeSlideUp 0.6s ease both, heroFloatYAlt 5.1s ease-in-out infinite 0.8s;
}
@keyframes shimmerSweep {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(240%) skewX(-18deg); }
}
.promo-offer-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.promo-offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}
.promo-offer-card:hover::after {
  animation: shimmerSweep 0.85s ease forwards;
}
.promo-offer-card:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 14px 30px rgba(30, 25, 22, 0.16);
}
.ent-stat-tile {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}
.ent-stat-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 183, 168, 0.65);
  background: rgba(255, 255, 255, 0.1);
}
.phone-mockup-frame {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.modal-backdrop.open .modal-card {
  animation: modalPop 0.24s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.reveal-block {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-block.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Interactive Savings & Route Simulator Card */
.sim-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}
.sim-meter-bar {
  height: 12px;
  border-radius: 999px;
  background: #EFE7DF;
  overflow: hidden;
  margin-top: 6px;
}
.sim-meter-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #B8432E, #D97724);
  outline: none;
  cursor: pointer;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #B8432E;
  box-shadow: 0 3px 10px rgba(30, 25, 22, 0.25);
  transition: transform 0.15s ease;
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.16); }
.btn-add-mini {
  transition: transform 0.14s ease, background 0.18s ease, color 0.18s ease;
}
.btn-add-mini:active { transform: scale(0.92); }
.fly-burst {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--terracotta);
  pointer-events: none;
  z-index: 300;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
}
@media (max-width: 860px) {
  .sim-grid { grid-template-columns: 1fr; }
}

/* Express Pay Vault (5-Rail Dock, Dynamic SVG QR, 3D Metallic Card) */
.express-pay-dock {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}
.express-rail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1.5px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.express-rail-btn:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.express-rail-btn.active {
  background: linear-gradient(135deg, #1E1916 0%, #3E241C 100%);
  color: #FAF7F4;
  border-color: #1E1916;
  box-shadow: 0 8px 18px rgba(30, 25, 22, 0.22);
}
.express-stage-box {
  background: #FFFFFF;
  border: 1px solid var(--border-sand);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(30, 25, 22, 0.05);
}
.virtual-card-3d {
  background: linear-gradient(135deg, #1E1916 0%, #3A221A 55%, #B8432E 100%);
  color: #FAF7F4;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 12px 24px rgba(30, 25, 22, 0.24);
  position: relative;
  overflow: hidden;
}
.virtual-card-3d::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 168, 0.26), transparent 70%);
}
.qr-stage-flex {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}
.qr-svg-frame {
  padding: 6px;
  background: #FFFFFF;
  border: 1.5px solid #E5D9CD;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Executive Dark Hero Header for Founder Dashboard */
.exec-dash-banner {
  background: linear-gradient(135deg, #1E1916 0%, #2D221D 58%, #472118 100%);
  color: #FAF7F4;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 18px;
  border: 1px solid #3C2C25;
  box-shadow: 0 14px 32px rgba(30, 25, 22, 0.16);
}
.exec-pulse-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.exec-metric-pill {
  background: rgba(250, 247, 244, 0.08);
  border: 1px solid rgba(250, 247, 244, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
}
.exec-metric-pill span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFB7A8;
}
.exec-metric-pill strong {
  display: block;
  font-size: 22px;
  margin-top: 4px;
  color: #FAF7F4;
}
@media (max-width: 780px) {
  .exec-pulse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .express-pay-dock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Interactive 3D Map Delivery Tracking Shell & Enterprise Support Center */
.map-3d-shell {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #DFD2C5;
  background: linear-gradient(135deg, #EDE3D8 0%, #F7F1EA 100%);
  perspective: 1100px;
}
.map-3d-viewport {
  width: 100%;
  height: 360px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center 65%;
}
.map-3d-viewport.tilted {
  transform: perspective(1000px) rotateX(26deg) scale(1.04);
}
.map-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 450;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  pointer-events: none;
}
.map-hud-pill {
  pointer-events: auto;
  background: rgba(30, 25, 22, 0.88);
  color: #FAF7F4;
  border: 1px solid rgba(255, 183, 168, 0.35);
  backdrop-filter: blur(8px);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.support-hero-banner {
  background: linear-gradient(135deg, #1E1916 0%, #2F231E 55%, #4A231B 100%);
  color: #FAF7F4;
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 20px;
  border: 1px solid #3C2C25;
  box-shadow: 0 14px 32px rgba(30, 25, 22, 0.16);
}
.diagnostic-step-card {
  border: 1px solid var(--border-sand);
  border-radius: 12px;
  padding: 15px 16px;
  background: var(--bg-surface);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.diagnostic-step-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(30, 25, 22, 0.06);
}

/* Mobile-First Navigation, Safe Areas, Copyright Bar & Reduced Motion */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.mobile-bottom-nav {
  display: none;
}
.footer-copyright-bar {
  border-top: 1px solid rgba(215, 199, 186, 0.25);
  margin-top: 22px;
  padding-top: 14px;
  font-size: 12px;
  color: #D7C7BA;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}
.skeleton-card {
  border-radius: 14px;
  min-height: 220px;
  background: linear-gradient(110deg, var(--bg-surface) 25%, var(--bg-soft) 45%, var(--bg-surface) 65%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.3s infinite linear;
  border: 1px solid var(--border-sand);
}
@keyframes skeletonShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (max-width: 768px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
  .top-links {
    display: none;
  }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    background: var(--bg-surface);
    border-top: 1.5px solid var(--border-sand);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(30, 25, 22, 0.12);
  }
  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 5px 2px;
    border-radius: 10px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--clay-muted);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    min-height: 44px;
  }
  .mobile-nav-item svg {
    width: 19px;
    height: 19px;
  }
  .mobile-nav-item.active {
    color: var(--terracotta);
    background: var(--terracotta-soft);
  }
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-card, .drawer-panel {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92dvh;
    border-radius: 18px 18px 0 0 !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
  }
  .restaurant-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dish-Level Premium Food Cards Grid */
.food-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.food-dish-card {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 12px;
  gap: 8px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.food-dish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(30, 25, 22, 0.08);
}
.food-dish-thumb {
  width: 100%;
  height: 138px;
  object-fit: cover;
  border-radius: 10px;
}
@media (max-width: 960px) {
  .food-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .food-cards-grid { grid-template-columns: 1fr; }
}


/* ============================================================================
   AAHARAM NEXT-GENERATION LUXURY EDITORIAL & MOBILE-FIRST DESIGN SYSTEM
   ============================================================================ */
h1, h2, h3, .hero-editorial-title, .budget-hero-price {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

/* Header Left Cluster, Location Chip & Notification Popover */
.topbar {
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(250, 247, 244, 0.86);
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
}
[data-theme="dark"] .topbar {
  background: rgba(16, 13, 12, 0.88);
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.hdr-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  max-width: 195px;
  min-width: 0;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.hdr-loc-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hdr-loc-chip:hover {
  border-color: var(--terracotta);
}
.hdr-notif-wrap {
  position: relative;
}
.hdr-icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.hdr-notif-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF5A1F;
  box-shadow: 0 0 0 2px var(--bg-surface);
}
.notif-popover {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, 86vw);
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(14, 11, 10, 0.22);
  padding: 10px;
  z-index: 260;
}
.notif-popover.open {
  display: grid;
  gap: 6px;
}
.notif-popover-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 4px 6px;
  border-bottom: 1px solid var(--border-sand);
  font-size: 13px;
}
.notif-close-btn {
  border: none;
  background: transparent;
  color: var(--clay-muted);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.notif-item {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 9px;
  color: inherit !important;
  text-decoration: none !important;
  background: var(--bg-canvas);
}
.notif-item:hover {
  background: var(--terracotta-soft);
}
.notif-item strong { font-size: 12.5px; color: var(--espresso); }
.notif-item span { font-size: 11.5px; color: var(--clay-muted); }

/* Responsive Desktop (16:9) vs Mobile Portrait (9:16) Hero Video Focal Framing */
.luxury-hero {
  border-radius: 26px;
  padding: 68px 36px;
  min-height: 540px;
  background: #0E0B0A;
  border: 1px solid rgba(230, 169, 69, 0.22);
  box-shadow: 0 26px 64px rgba(14, 11, 10, 0.24);
}
.hero-video-desktop {
  display: block;
  object-fit: cover;
  object-position: center 54%;
}
.hero-video-mobile {
  display: none;
  object-fit: cover;
  object-position: center 78%;
}
.luxury-scrim {
  background: linear-gradient(180deg, rgba(14, 11, 10, 0.42) 0%, rgba(14, 11, 10, 0.68) 54%, rgba(14, 11, 10, 0.90) 100%);
}
.hero-editorial-wrap {
  position: relative;
  z-index: 2;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.hero-glass-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(18, 14, 12, 0.64);
  border: 1px solid rgba(250, 246, 240, 0.22);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: #FAF6F0;
}
.hero-editorial-title {
  margin: 0 0 12px;
  font-size: clamp(32px, 5.2vw, 62px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: #FAF6F0;
}
.hero-gold-accent {
  background: linear-gradient(95deg, #FFB37B 0%, #FF6B2B 48%, #E6A945 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-editorial-sub {
  margin: 0 auto 24px;
  font-size: clamp(14.5px, 1.8vw, 18px);
  color: rgba(250, 246, 240, 0.88);
  max-width: 560px;
}
.hero-ai-dock {
  position: relative;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}
.hero-glass-bar {
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  max-width: 100%;
}
[data-theme="dark"] .hero-glass-bar {
  background: rgba(28, 22, 19, 0.94);
  border-color: rgba(230, 169, 69, 0.28);
}
.hero-ai-input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  min-width: 0;
}
.hero-ai-input-wrap .hero-input {
  background: transparent;
  padding: 10px 6px;
}
[data-theme="dark"] .hero-ai-input-wrap .hero-input,
[data-theme="dark"] .hero-loc-btn {
  color: #FAF6F0;
}
.ai-spark-icon { flex-shrink: 0; }
.mic-voice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(184, 67, 46, 0.22);
  background: rgba(184, 67, 46, 0.08);
  color: var(--terracotta);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.mic-voice-btn:hover { background: rgba(184, 67, 46, 0.16); transform: scale(1.04); }
.mic-voice-btn.listening {
  background: #D9381E;
  color: #FFFFFF;
  border-color: #D9381E;
  animation: micPulse 1.1s infinite ease-in-out;
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 56, 30, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(217, 56, 30, 0); }
}
.btn-ember-glow {
  background: linear-gradient(135deg, #FF5A1F 0%, #D43E1A 100%);
  color: #FAF6F0 !important;
  border: none;
  border-radius: 11px;
  padding: 11px 22px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 90, 31, 0.35);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-ember-glow:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.hero-quick-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Section Headers & Contrast Framing */
.editorial-section { margin: 38px 0; }
.section-head-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.eyebrow-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4471E;
  margin-bottom: 4px;
}
.eyebrow-gold { color: #E6A945; }
.section-h2 {
  margin: 0 0 4px;
  font-size: clamp(22px, 3vw, 31px);
  letter-spacing: -0.02em;
}
.section-sub {
  margin: 0;
  font-size: 13.5px;
  color: var(--clay-muted);
}

/* Asymmetric Food Discovery Mosaic */
.editorial-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 196px;
  gap: 14px;
}
.mosaic-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none !important;
  border: 1px solid rgba(30, 25, 22, 0.12);
  background: #1B1613;
}
.mosaic-tall {
  grid-row: span 2;
}
.mosaic-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-portrait-focus { object-position: center 78%; }
.mosaic-card:hover .mosaic-bg-media { transform: scale(1.06); }
.kenburns-subtle { animation: kenBurnsSlow 14s ease-in-out infinite alternate; }
@keyframes kenBurnsSlow {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}
.mosaic-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 11, 10, 0.08) 25%, rgba(14, 11, 10, 0.86) 100%);
}
.mosaic-caption {
  position: relative;
  z-index: 2;
  padding: 16px;
  color: #FAF6F0;
  min-width: 0;
}
.mosaic-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 90, 31, 0.9);
  color: #FAF6F0;
  margin-bottom: 6px;
}
.mosaic-caption h3 { margin: 0 0 2px; font-size: 18px; color: #FAF6F0; }
.mosaic-caption span:last-child { font-size: 12px; color: rgba(250, 246, 240, 0.82); display: block; }

/* Dark Obsidian Budget Luxury Section (₹59, ₹99, <₹149) */
.dark-luxury-band {
  background: radial-gradient(circle at top right, rgba(255, 90, 31, 0.16), transparent 46%), #120E0D;
  border-radius: 24px;
  padding: 32px 28px;
  margin: 34px 0;
  border: 1px solid #2F2521;
  box-shadow: 0 22px 52px rgba(14, 11, 10, 0.18);
}
.budget-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.budget-luxury-card {
  background: rgba(255, 250, 245, 0.05);
  border: 1px solid rgba(255, 250, 245, 0.12);
  border-radius: 18px;
  padding: 20px;
  color: #FAF6F0 !important;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.budget-card-highlight {
  background: linear-gradient(155deg, rgba(255, 90, 31, 0.2) 0%, rgba(230, 169, 69, 0.12) 100%);
  border-color: rgba(255, 90, 31, 0.55);
}
.budget-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.budget-chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #E7D8C9;
}
.budget-chip-gold { background: rgba(230, 169, 69, 0.24); color: #F9D289; }
.budget-hero-price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: #FF8C5A;
}
.budget-luxury-card h3 { margin: 0; font-size: 17px; }
.budget-luxury-card p { margin: 0; font-size: 12.5px; color: #CBB9AA; flex: 1; }
.budget-thumbs-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}
.budget-thumbs-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* AI Food Concierge Panel */
.ai-concierge-panel {
  border-radius: 22px;
  padding: 24px;
  margin: 30px 0;
  background: linear-gradient(145deg, var(--bg-surface) 0%, var(--bg-subtle) 100%);
}
.ai-concierge-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ai-prompt-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-chip-btn {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-sand);
  background: var(--bg-surface);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ai-chip-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }
.ai-input-dock {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ai-input-dock .input { flex: 1; min-width: 220px; }
.ai-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.ai-dish-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  min-width: 0;
  overflow: hidden;
}
.ai-dish-tile img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Featured Spotlight + Trending Masonry Dishes + Campaign Cards */
@media (min-width: 960px) {
  .flagship-rest-grid .rest-spotlight-card { grid-column: span 2; }
}
.trending-masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.trending-dish-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}
.trending-dish-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.trending-dish-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trending-price-tag {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(14, 11, 10, 0.84);
  color: #FAF6F0;
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.trending-dish-meta strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trending-dish-meta span {
  display: block;
  font-size: 12px;
  color: var(--clay-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.campaign-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.campaign-card {
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 6px;
  text-decoration: none !important;
  color: #FAF6F0 !important;
}
.campaign-card strong { font-size: 18px; }
.campaign-card span:last-child { font-size: 12.5px; opacity: 0.9; }
.campaign-ember { background: linear-gradient(135deg, #FF5A1F 0%, #B83118 100%); }
.campaign-obsidian { background: linear-gradient(135deg, #1E1916 0%, #372A24 100%); }
.campaign-gold { background: linear-gradient(135deg, #2D2219 0%, #6D4B1D 100%); }

/* Phone Showcase Strict Margin & Overflow Containment */
.phone-showcase-compact {
  display: grid;
  gap: 12px;
  min-width: 0;
  width: 100%;
}
.phone-mockup-frame, .phone-screen-content, .phone-pills-list {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.phone-pills-list {
  display: grid;
  gap: 7px;
  width: 100%;
}
.phone-mini-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 8px 10px;
  border-radius: 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-sand);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.phone-pill-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone-pill-price {
  flex-shrink: 0;
  color: var(--terracotta);
  font-size: 12px;
}
.showcase-feature-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.showcase-feature-pills .feature-card-btn { padding: 10px 12px; text-align: center; }

/* Restaurant & Dish Card Mobile Overflow Safeguards */
.rest-card, .rest-card-top, .rest-dishes-preview, .dish-mini-row, .food-dish-card {
  min-width: 0;
  max-width: 100%;
}
.dish-mini-row { overflow: hidden; }

/* Landscape / Grid / Flex Mobile Overflow Safeguards */
.search-autocomplete-wrap, .market-toolbar-grid, .market-toolbar-grid > *, .promo-offer-card, .hero-editorial-wrap, .hero-glass-bar, .hero-ai-dock {
  min-width: 0;
  max-width: 100%;
}
main.container {
  overflow-x: clip;
  max-width: 100%;
}

/* Responsive Breakpoints & Portrait Mobile Video Alignment */
@media (max-width: 960px) {
  .editorial-mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 175px; }
  .mosaic-tall { grid-row: span 1; }
  .budget-trio-grid, .ai-results-grid, .campaign-promo-grid { grid-template-columns: 1fr; }
  .trending-masonry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .topbar { max-width: 100vw; overflow-x: clip; }
  .topbar-inner { padding: 8px 10px; gap: 4px; flex-wrap: nowrap; max-width: 100%; width: 100%; }
  .topbar-left { gap: 6px; min-width: 0; flex: 1; }
  .brand-lockup { flex-shrink: 0; }
  .brand-lockup img { height: 20px; width: auto; }
  .hdr-loc-chip { max-width: 102px; flex: 0 1 auto; padding: 4px 7px; font-size: 10.5px; gap: 4px; }
  .nav-links { width: auto; flex-wrap: nowrap; gap: 4px; flex-shrink: 0; }
  .nav-links .nav-pill { display: none; }
  .hdr-icon-btn { width: 30px; height: 30px; }
  .hdr-theme-btn { padding: 4px 7px !important; min-height: 30px !important; font-size: 10.5px !important; white-space: nowrap !important; }
  .hdr-auth-btn { padding: 4px 8px !important; min-height: 30px !important; font-size: 10.5px !important; white-space: nowrap !important; }

  .page-home-flagship main.container {
    padding-top: 0 !important;
  }
  .luxury-hero {
    border-radius: 0 0 22px 22px;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 20px 14px 22px;
    min-height: 365px;
    margin: 0 -12px 16px -12px;
    width: calc(100% + 24px);
    max-width: none;
    box-sizing: border-box;
  }
  .cinema-slide {
    background-size: cover;
    background-position: center center;
  }
  .hero-glass-eyebrow {
    font-size: 9.5px;
    padding: 5px 10px;
    letter-spacing: 0.06em;
    max-width: 100%;
  }
  .hero-editorial-title { font-size: clamp(27px, 7.6vw, 36px); }
  .hero-editorial-sub { font-size: 13.5px; margin-bottom: 16px; }
  .hero-quick-row { gap: 6px; margin-top: 12px; }
  .hero-quick-pill { padding: 5px 10px; font-size: 11.5px; }
  .hero-video-desktop {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
  }
  .hero-glass-bar { padding: 6px; border-radius: 14px; }
  .hero-ai-input-wrap { padding: 2px 6px; }
  .btn-ember-glow { width: 100%; justify-content: center; }

  .market-toolbar { padding: 12px !important; }
  .promo-offer-card strong { font-size: 15px; }
  .promo-offer-card span { font-size: 12px; overflow-wrap: anywhere; }

  .dark-luxury-band { padding: 22px 14px; border-radius: 18px; }
  .ai-concierge-panel { padding: 16px; border-radius: 18px; }
  .trending-masonry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .editorial-mosaic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 156px; gap: 10px; }
}
@media (max-width: 400px) {
  .hdr-loc-chip { max-width: 82px; padding: 4px 6px; font-size: 10px; }
  .hdr-auth-btn { padding: 4px 7px !important; font-size: 10px !important; }
  .hdr-theme-btn { padding: 4px 6px !important; font-size: 10px !important; }
  .trending-masonry-grid { grid-template-columns: 1fr; }
}
a, button, input, select, textarea, .btn, .rest-card, .food-dish-card, .mosaic-card, .mobile-nav-item {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
