/* Adxo premium UI — orange brand accents; home listing cards stay clean white */

:root {
  --premium-accent: #ea580c;
  --premium-accent-mid: #ea580c;
  --premium-accent-end: #f97316;
  --premium-accent-soft: rgba(234, 88, 12, 0.1);
  --premium-accent-border: rgba(234, 88, 12, 0.22);
  --premium-card-radius: 20px;
  /* App dark theme surfaces (Android Theme.kt / iOS Brand.surface dark) */
  --premium-card-bg: #211711;
  --premium-card-bg-up: #2b1e16;
  --premium-card-border: #4a3022;
  --premium-card-text: #fff7f0;
  --premium-card-muted: #b99d8b;
}

/* Header — light Adxo cream bar; dark mode override at file end */
.topbar {
  background: linear-gradient(90deg, rgba(255, 248, 242, 0.97), rgba(255, 237, 213, 0.92), rgba(255, 248, 242, 0.97)) !important;
  border-bottom-color: #e7d4c8 !important;
  box-shadow: none !important;
  color: #2b1810;
}

.brand,
.brand-link .brand {
  background: linear-gradient(90deg, var(--brand-deep), var(--blue), var(--indigo)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

#resultCount {
  background: var(--premium-accent-soft) !important;
  border-color: var(--premium-accent-border) !important;
  color: var(--blue) !important;
}

/* Cards */
.turf-card,
.home-listing-card {
  border-radius: var(--premium-card-radius) !important;
  border: 1px solid rgba(43, 24, 16, 0.08) !important;
  box-shadow: 0 10px 28px rgba(43, 24, 16, 0.06) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.turf-card:hover,
.home-listing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.12) !important;
}

.restaurant-card .tag,
.food-product-card .tag {
  background: var(--premium-accent-soft) !important;
  color: var(--brand-deep) !important;
  border: 1px solid var(--premium-accent-border);
  border-radius: 999px;
  font-weight: 800;
}

.turf-body {
  padding: 14px 16px 16px !important;
}

.book-button,
.turf-grid .store-open:not(.premium-shop-open),
.turf-grid .market-open:not(.premium-dish-open) {
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--premium-accent-mid), var(--premium-accent-end)) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28) !important;
}

.premium-dish-open,
.premium-shop-open {
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

/* Section headings */
.section-heading h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.food-market-header {
  margin-bottom: 4px;
}

.home-feed-section {
  margin-bottom: 18px;
}

.home-feed-section > .eyebrow {
  margin-bottom: 4px;
}

/* Premium empty states + grouped surfaces (app dark brown) */
.premium-grouped-card,
.premium-empty-card,
.history-empty,
.store-empty,
.dashboard-empty,
.premium-menu-card,
.android-store-sheet .store-product {
  border: 1px solid var(--premium-card-border);
  border-radius: var(--premium-card-radius);
  background: var(--premium-card-bg);
  box-shadow: 0 10px 28px rgba(22, 13, 9, 0.22);
}

/* Checkout bars stay on a light strip so totals stay readable */
.store-checkout-bar,
.restaurant-checkout-bar {
  background: #fff !important;
  border-top: 1px solid rgba(43, 24, 16, 0.08) !important;
}

.store-checkout-bar span,
.restaurant-checkout-bar span {
  color: #765548 !important;
}

.store-checkout-bar strong,
.restaurant-checkout-bar strong {
  color: #2b1810 !important;
}

.android-store-sheet .store-product-info strong {
  color: var(--premium-card-text);
}

.android-store-sheet .store-product-info small,
.android-store-sheet .store-product-chevron {
  color: var(--premium-card-muted);
}

.android-store-sheet .store-product-info b,
.android-store-sheet .store-product-info .store-variant-summary {
  color: #fb923c;
}

.premium-empty-card,
.history-empty,
.store-empty,
.dashboard-empty {
  padding: 36px 24px;
  text-align: center;
  color: var(--premium-card-muted);
}

.premium-empty-card strong,
.history-empty strong,
.store-empty strong,
.dashboard-empty strong {
  display: block;
  color: var(--premium-card-text);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.premium-empty-card p,
.history-empty p,
.store-empty p,
.dashboard-empty p {
  margin: 0;
  line-height: 1.5;
  color: var(--premium-card-muted);
}

.premium-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--premium-accent-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.premium-empty-icon .material-symbols-rounded {
  font-size: 28px;
}

.state {
  border: none !important;
  background: transparent !important;
  padding: 8px 0 24px !important;
}

.state.premium-loading {
  color: var(--muted);
  font-weight: 700;
}

/* Match the Android home loading state with a warm, moving content shimmer. */
.market-skeleton {
  display: block;
  padding: 8px 0 24px !important;
}

.market-skeleton-heading {
  display: grid;
  gap: 9px;
  width: min(280px, 62%);
  margin: 4px 0 18px;
}

.market-skeleton-heading span,
.market-skeleton-heading i,
.market-skeleton-line,
.market-skeleton-button,
.market-skeleton-image {
  display: block;
  overflow: hidden;
  position: relative;
  background: rgba(214, 194, 138, .30);
}

.market-skeleton-heading span,
.market-skeleton-heading i {
  height: 13px;
  border-radius: 8px;
}

.market-skeleton-heading span { width: 100%; }
.market-skeleton-heading i { width: 64%; }

.market-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.market-skeleton-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.market-skeleton-image {
  aspect-ratio: 1.45;
  border-radius: calc(var(--radius-lg) - 4px);
}

.market-skeleton-line {
  width: 78%;
  height: 12px;
  margin-top: 14px;
  border-radius: 8px;
}

.market-skeleton-line.wide { width: 92%; height: 16px; margin-top: 16px; }
.market-skeleton-line.short { width: 48%; margin-top: 10px; }

.market-skeleton-button {
  width: 58%;
  height: 34px;
  margin-top: 18px;
  border-radius: 999px;
}

.market-skeleton-heading span::after,
.market-skeleton-heading i::after,
.market-skeleton-line::after,
.market-skeleton-button::after,
.market-skeleton-image::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(243, 231, 195, .55), transparent);
  animation: adxo-market-shimmer 1s linear infinite;
}

@keyframes adxo-market-shimmer {
  to { transform: translateX(100%); }
}

@media (max-width: 560px) {
  .market-skeleton-grid { gap: 10px; }
  .market-skeleton-card { padding: 8px; }
}

/* Store / restaurant sheet */
.store-header h2 {
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.store-chip {
  border-radius: 999px;
}

.android-store-sheet .store-products .store-product-card {
  border-radius: 16px;
  border: 1px solid rgba(43, 24, 16, 0.08);
  box-shadow: 0 6px 18px rgba(43, 24, 16, 0.05);
}

.web-food-sheet {
  border-radius: 0;
}

.web-food-addon-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.web-food-addon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--card-line, rgba(43, 24, 16, 0.1));
  background: var(--card, #fff);
  color: var(--card-ink, #2b1810);
  text-align: left;
  cursor: pointer;
}

.web-food-addon strong {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 14px;
}

.web-food-addon-copy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.web-food-addon-copy span:last-child {
  font-weight: 600;
}

.web-food-addon-icon {
  font-size: 20px;
  color: var(--muted);
}

.web-food-addon.selected {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-deep), var(--blue), var(--indigo));
}

.web-food-addon.selected strong,
.web-food-addon.selected .web-food-addon-icon {
  color: #fff;
}

/* Quick discovery chips */
.quick-discovery-item.active {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--brand-deep) !important;
  box-shadow: none !important;
}

.quick-discovery-item {
  border-radius: 16px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.quick-discovery-item.active .quick-discovery-chip-icon {
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.24);
  border-radius: 12px;
  outline: none;
}

.market-search {
  border-radius: 16px !important;
  border: 1px solid rgba(43, 24, 16, 0.1) !important;
  background: var(--white) !important;
  box-shadow: 0 8px 24px rgba(43, 24, 16, 0.05);
}

.quick-discovery-chip-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.quick-discovery-item.active .material-symbols-rounded,
.profile-icon-button:hover,
.location-button:hover {
  color: var(--blue) !important;
}

.mobile-bottom-nav-item.active {
  color: var(--blue) !important;
}

.cart-fab {
  background: linear-gradient(135deg, var(--premium-accent-mid), var(--premium-accent-end)) !important;
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.35) !important;
}

/* Premium home screen */
body.food-web-mode .premium-legacy-heading,
body.mart-web-mode .premium-legacy-heading {
  display: none;
}

.premium-home-shell {
  position: relative;
}

.premium-home-search {
  margin-top: 4px;
}

.premium-home-grid {
  gap: 0;
}

.premium-home-feed {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
  min-width: 0;
  max-width: 100%;
}

.premium-home-section {
  min-width: 0;
  max-width: 100%;
}

#turfGrid.home-feed,
#turfGrid.premium-home-grid {
  min-width: 0;
  max-width: 100%;
}

.premium-home-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.premium-home-section-head {
  margin-bottom: 12px;
}

.premium-section-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.premium-section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.premium-section-heading {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--card-ink, var(--ink));
}

.premium-dish-scroll-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.premium-dish-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.premium-dish-scroll::-webkit-scrollbar {
  display: none;
}

.premium-dish-card {
  flex: 0 0 148px;
  width: 148px;
  min-width: 148px;
  scroll-snap-align: start;
}

.premium-dish-open {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  text-align: left;
  background: transparent;
}

.premium-dish-media {
  position: relative;
  width: 100%;
  height: 104px;
  min-height: 104px;
  flex: 0 0 104px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--premium-card-border);
  background: var(--premium-card-bg-up);
}

.premium-dish-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.premium-dish-ph {
  width: 100%;
  height: 100%;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--premium-card-bg-up);
}

.premium-dish-media .food-type-mark {
  position: absolute;
  top: 8px;
  left: 8px;
}

.premium-dish-copy {
  margin-top: 12px;
  padding-top: 2px;
  min-width: 0;
}

.premium-dish-copy strong {
  font-size: 13px;
  line-height: 1.3;
  color: var(--card-ink, var(--ink));
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.premium-dish-copy span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
}

.premium-shop-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.premium-shop-row {
  border: 1px solid var(--premium-card-border);
  border-radius: 20px;
  background: var(--premium-card-bg);
  box-shadow: 0 10px 28px rgba(22, 13, 9, 0.28);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.premium-shop-open {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 20px;
  gap: 10px;
  align-items: center;
  padding: 12px;
  text-align: left;
  background: transparent;
  box-sizing: border-box;
}

.premium-shop-media {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--premium-card-border);
  background: var(--premium-card-bg-up);
  flex-shrink: 0;
}

.premium-shop-copy {
  min-width: 0;
  overflow: hidden;
}

.premium-shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-shop-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: var(--premium-card-bg-up);
}

.premium-shop-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.premium-shop-title-row strong {
  font-size: 15px;
  color: var(--premium-card-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
}

.premium-shop-status {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--premium-card-bg-up);
  color: var(--premium-card-muted);
}

.premium-shop-meta,
.premium-shop-eta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--premium-card-muted);
  overflow-wrap: anywhere;
}

.premium-shop-eta {
  display: flex;
  align-items: center;
  gap: 4px;
}

.premium-shop-address {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.premium-shop-address .material-symbols-rounded {
  font-size: 16px;
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: 1px;
}

.premium-shop-eta .material-symbols-rounded {
  font-size: 16px;
  color: var(--blue);
}

.premium-shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.premium-shop-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}

.premium-shop-badge.rating {
  background: rgba(18, 183, 106, 0.12);
  color: #15803d;
}

.premium-shop-badge.offer {
  background: var(--premium-accent-soft);
  color: var(--blue);
}

.premium-shop-badge .material-symbols-rounded {
  font-size: 14px;
}

.premium-shop-chevron {
  color: var(--premium-card-muted);
  font-size: 20px;
  flex-shrink: 0;
}

.premium-shop-row.store-unavailable {
  opacity: 0.72;
}

@media (max-width: 700px) {
  .premium-shop-open {
    grid-template-columns: 64px minmax(0, 1fr) 18px;
    gap: 8px;
    padding: 10px 12px;
  }

  .premium-shop-media {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }

  .premium-shop-title-row strong {
    font-size: 14px;
  }

  .premium-shop-meta,
  .premium-shop-eta {
    font-size: 11px;
  }

  .premium-shop-row {
    border-radius: 16px;
  }
}

.market-mode-switch {
  border-color: rgba(234, 88, 12, 0.2) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 18px 45px rgba(31, 22, 53, 0.12) !important;
}

.market-mode-switch .market-mode-option.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--brand-deep), var(--blue), var(--indigo)) !important;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.26) !important;
}

/* Home listing cards — app dark brown surface */
.premium-shop-row,
.premium-dish-media,
.premium-shop-media {
  background: var(--premium-card-bg) !important;
}

.premium-dish-media,
.premium-shop-media {
  background: var(--premium-card-bg-up) !important;
}

/* Premium restaurant sheet */
.booking-sheet:has(.premium-restaurant-sheet) {
  max-height: 96vh;
}

.premium-restaurant-sheet {
  gap: 0;
  margin: -4px -2px 0;
}

.restaurant-hero {
  position: relative;
  height: 188px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #fb923c, #ea580c, #7c2d12);
}

.restaurant-hero-image,
.restaurant-hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.restaurant-hero-fallback {
  background: linear-gradient(135deg, #fb923c, #ea580c 58%, #7c2d12);
}

.restaurant-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.restaurant-hero-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  color: #fff;
  text-align: left;
}

.restaurant-hero-copy .eyebrow {
  color: #ffedd5;
  margin-bottom: 4px;
}

.restaurant-hero-copy h2 {
  color: #fff;
  font-size: 1.45rem;
  margin: 0;
  line-height: 1.15;
}

.restaurant-hero-area {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
}

.restaurant-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.restaurant-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 800;
}

.restaurant-meta-chip .material-symbols-rounded {
  font-size: 15px;
}

.restaurant-meta-chip.rating {
  background: rgba(18, 183, 106, 0.22);
  border-color: rgba(18, 183, 106, 0.35);
}

.restaurant-meta-chip.offer {
  background: rgba(234, 88, 12, 0.35);
}

.restaurant-closed-note {
  margin-top: 12px;
}

.restaurant-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}

.restaurant-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 12px;
  background: var(--premium-card-bg-up);
  border: 1px solid var(--premium-card-border);
  color: var(--premium-card-muted);
  font-size: 11px;
  font-weight: 700;
  box-shadow: none;
}

.restaurant-info-chip .material-symbols-rounded {
  font-size: 16px;
  color: var(--blue);
}

.restaurant-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.restaurant-veg-card {
  margin-top: 12px;
  padding: 0;
}

.restaurant-veg-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.restaurant-veg-switch-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--premium-card-text);
}

.restaurant-category-toolbar {
  margin-top: 12px;
}

.ui-switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.ui-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ui-switch-track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #4a3022;
  position: relative;
  transition: background 0.2s ease;
}

.ui-switch-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.ui-switch input:checked + .ui-switch-track {
  background: rgba(22, 163, 74, 0.42);
}

.ui-switch input:checked + .ui-switch-track::after {
  transform: translateX(18px);
  background: #16a34a;
}

.ui-switch input:focus-visible + .ui-switch-track {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.home-veg-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 44px;
  min-height: 40px;
  padding: 6px 8px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font: inherit;
  transition: box-shadow 0.2s ease;
}

.home-veg-switch:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-veg-switch-eyebrow {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #6b7280;
  line-height: 1;
}

.home-veg-switch.is-non-veg .home-veg-switch-eyebrow {
  color: #dc2626;
}

.home-veg-switch-track {
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px;
  transition: background 0.15s ease;
}

.home-veg-switch.is-on .home-veg-switch-track {
  background: rgba(22, 163, 74, 0.28);
  justify-content: flex-end;
}

.home-veg-switch.is-on.is-non-veg .home-veg-switch-track {
  background: rgba(220, 38, 38, 0.2);
}

.home-veg-switch-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.home-veg-switch.is-non-veg .home-veg-switch-thumb {
  background: #ef4444;
}

.veg-filter-sheet {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.veg-filter-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--card-ink, var(--ink));
}

.veg-filter-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.veg-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--card-ink, var(--ink));
  font: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.veg-filter-option-icon {
  font-size: 22px;
  color: var(--muted);
}

.veg-filter-option.selected .veg-filter-option-icon {
  color: var(--blue);
}

.veg-filter-sheet .pay-button {
  margin-top: 4px;
}

.restaurant-category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.restaurant-category-chips::-webkit-scrollbar {
  display: none;
}

.restaurant-category-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--premium-card-border);
  background: var(--premium-card-bg-up);
  color: var(--premium-card-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.restaurant-category-chip.active {
  color: var(--blue);
  background: var(--premium-accent-soft);
  border-color: var(--premium-accent-border);
  font-weight: 800;
}

.restaurant-menu-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.restaurant-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.restaurant-section-head h3 {
  font-size: 1.05rem;
  margin: 0;
}

.restaurant-section-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.premium-menu-card {
  overflow: hidden;
}

.premium-menu-divider {
  height: 1px;
  margin: 0 14px;
  background: var(--premium-card-border);
}

.premium-menu-item.is-disabled {
  opacity: 0.58;
}

.premium-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  column-gap: 14px;
  align-items: start;
  padding: 14px;
}

.premium-menu-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  text-align: left;
}

.premium-menu-open {
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  display: block;
}

.premium-menu-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.premium-menu-title-row .food-type-mark {
  flex: 0 0 auto;
}

.premium-menu-title-row strong {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--premium-card-text);
  text-align: left;
}

.premium-menu-desc {
  margin: 0;
  width: 100%;
  font-size: 12px;
  line-height: 1.45;
  color: var(--premium-card-muted);
  text-align: left;
}

.premium-menu-price {
  margin: 0;
  width: 100%;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  text-align: left;
}

.premium-menu-media {
  position: relative;
  width: 108px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--premium-card-bg-up);
  border: 1px solid var(--premium-card-border);
}

.premium-menu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium-menu-media-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.premium-menu-discount {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 3px 6px;
  border-radius: 8px;
  background: #ea580c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.premium-menu-action {
  position: absolute;
  right: 6px;
  bottom: 6px;
}

.premium-menu-add {
  min-width: 52px;
  padding: 6px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.28);
}

.premium-menu-add.disabled {
  background: var(--premium-card-bg-up);
  color: var(--premium-card-muted);
  border: 1px solid var(--premium-card-border);
  box-shadow: none;
}

.premium-menu-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--premium-card-bg-up);
  border: 1px solid var(--premium-card-border);
  box-shadow: none;
}

.premium-menu-qty .store-quantity {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--premium-card-bg);
  color: var(--premium-card-text);
  font-size: 16px;
  font-weight: 800;
}

.premium-menu-qty strong {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
}

.restaurant-checkout-bar {
  position: sticky;
  bottom: 0;
  margin-top: 14px;
  padding: 14px 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.restaurant-checkout-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.3);
}

.restaurant-checkout-bar button .material-symbols-rounded {
  font-size: 18px;
}

@media (max-width: 560px) {
  .turf-grid {
    gap: 14px;
  }

  .premium-menu-row {
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 10px;
    padding: 12px;
  }

  .premium-menu-media {
    width: 96px;
    height: 88px;
  }
}

/* Location picker: keep every control on the same visual grid. */
.booking-sheet:has(.location-picker-sheet) {
  width: min(100vw, 620px);
  padding: 24px 22px max(28px, env(safe-area-inset-bottom));
  background: #fffaf5;
}

.location-picker-sheet {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  gap: 18px;
}

.location-picker-sheet .bookings-head {
  display: grid;
  gap: 6px;
  padding: 0 2px;
}

.location-picker-sheet .bookings-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.12;
}

.location-picker-sheet .sheet-copy {
  max-width: 50ch;
  margin: 0;
  line-height: 1.45;
}

.location-picker-sheet .location-search-field {
  gap: 7px;
  margin: 0;
}

.location-picker-sheet .location-search-field > input {
  width: 100%;
}

.location-quick-actions {
  align-items: stretch;
  gap: 12px;
}

.location-quick-card {
  min-height: 96px;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  align-content: center;
  padding: 14px 15px;
}

.location-quick-card .material-symbols-rounded {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: 25px;
}

.location-quick-card strong,
.location-quick-card small {
  min-width: 0;
}

.saved-address-section {
  gap: 10px;
  padding-top: 2px;
}

.saved-address-section-head {
  padding: 0 2px;
}

.saved-address-section-head > strong {
  font-size: 16px;
}

.saved-address-row {
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
}

.saved-address-card {
  min-height: 72px;
  padding: 12px 14px;
  grid-template-columns: 30px minmax(0, 1fr) 26px;
  gap: 10px;
}

.saved-address-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.saved-address-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-address-edit {
  width: 42px;
  min-height: 42px;
  align-self: center;
}

@media (max-width: 560px) {
  .booking-sheet:has(.location-picker-sheet) {
    padding-inline: 16px;
  }

  .location-quick-actions {
    grid-template-columns: 1fr;
  }

  .location-quick-card {
    min-height: 70px;
  }
}

/* Keep header actions readable on light desktop and mobile surfaces. */
.topbar .location-button #locationLabel {
  color: #2b1810 !important;
}

.topbar .location-button > .material-symbols-rounded {
  color: #2b1810 !important;
}

.topbar #profileButton,
.topbar .profile-icon-button,
.topbar .owner-dashboard-toolbar,
.topbar .download-app-link,
.topbar .admin-toolbar-button {
  display: inline-flex !important;
  color: #765548 !important;
}

/* Keep location-sheet icons and secondary text visible on the pale surface. */
@media (prefers-color-scheme: light) {
  .location-picker-sheet .material-symbols-rounded,
  .location-picker-sheet .saved-address-check,
  .location-picker-sheet .saved-address-section-head,
  .address-form-sheet .material-symbols-rounded {
    color: #2b1810 !important;
  }

  .location-picker-sheet .saved-address-copy small,
  .location-picker-sheet .location-quick-card small,
  .address-form-sheet .sheet-copy {
    color: #765548 !important;
  }

  /* Location sheets use the light Adxo surface, so never inherit white body text. */
  .location-picker-sheet,
  .location-picker-sheet .form-label,
  .location-picker-sheet .sheet-copy,
  .location-picker-sheet .saved-address-section-head,
  .address-form-sheet,
  .address-form-sheet .form-label,
  .address-form-sheet .sheet-copy,
  .location-picker-sheet .bookings-head h2,
  .location-picker-sheet .bookings-head .sheet-copy,
  .address-form-sheet .bookings-head h2,
  .address-form-sheet .bookings-head .sheet-copy {
    color: #2b1810;
  }

  .location-picker-sheet .form-input,
  .address-form-sheet .form-input {
    color: #2b1810;
    background: #fffaf5;
  }
}

/* Location picker and header contrast. */
.topbar .location-button,
.topbar .location-button #locationLabel {
  color: #2b1810 !important;
}

.topbar .location-button .material-symbols-rounded {
  color: #ea580c !important;
}

.location-picker-sheet {
  gap: 16px;
}

.location-picker-sheet .bookings-head {
  padding: 4px 2px 2px;
}

.location-picker-sheet .location-search-field input {
  min-height: 50px;
  padding-inline: 16px;
  border-radius: 16px;
  border-color: rgba(234, 88, 12, 0.2);
  background: #fffaf5;
  color: #2b1810;
  box-shadow: 0 8px 22px rgba(43, 24, 16, 0.06);
}

.location-quick-card,
.saved-address-card,
.saved-address-edit {
  border-radius: 16px;
  border-color: rgba(234, 88, 12, 0.16);
  background: #fffaf5;
}

.location-quick-card {
  justify-items: start;
  align-content: start;
  text-align: left;
}

.location-quick-card strong,
.location-quick-card small {
  justify-self: start;
  text-align: left;
}

.location-quick-card:focus-visible,
.location-quick-card:hover,
.saved-address-card:hover,
.saved-address-edit:hover {
  border-color: rgba(234, 88, 12, 0.48);
  background: #fff3e8;
}

.location-quick-card .material-symbols-rounded,
.saved-address-icon {
  color: #ea580c !important;
}

.saved-address-card.selected {
  border-color: #ea580c;
  background: #fff0e4;
}


/* Premium order / booking success sheet */
.premium-success-sheet {
  display: grid;
  gap: 14px;
  padding-bottom: 8px;
}

.premium-success-hero {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 22px 16px 18px;
  border-radius: 22px;
  text-align: center;
  overflow: hidden;
}

.order-success-hero {
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 48%, #fff 100%);
  border: 1px solid rgba(234, 88, 12, 0.18);
}

.booking-success-hero {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 48%, #fff 100%);
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.premium-success-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 180px;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22), transparent 68%);
  pointer-events: none;
}

.premium-success-glow.booking {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 68%);
}

.premium-success-icon-ring {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  margin: 0 auto 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.28);
}

.premium-success-icon-ring.order {
  background: linear-gradient(145deg, #ea580c, #f97316);
  color: #fff;
}

.premium-success-icon-ring.booking {
  background: linear-gradient(145deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.26);
}

.premium-success-icon-ring .material-symbols-rounded {
  font-size: 40px;
}

.premium-success-hero .eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #c2410c;
  font-weight: 800;
}

.booking-success-hero .eyebrow {
  color: #1d4ed8;
}

.premium-success-hero h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #1c1917;
}

.premium-success-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #78716c;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.premium-success-card {
  border: 1px solid rgba(43, 24, 16, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(43, 24, 16, 0.06);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.premium-success-card-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.premium-success-card-head .material-symbols-rounded {
  color: #ea580c;
  font-size: 24px;
}

.premium-success-card-head strong {
  display: block;
  font-size: 15px;
  color: #1c1917;
}

.premium-success-card-head small {
  display: block;
  color: #78716c;
  font-size: 12px;
  margin-top: 2px;
}

.premium-success-card-head b {
  font-size: 16px;
  color: #1c1917;
  white-space: nowrap;
}

.premium-success-meta {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(43, 24, 16, 0.08);
}

.premium-success-meta > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.premium-success-meta span {
  color: #78716c;
  font-weight: 650;
}

.premium-success-meta strong {
  color: #1c1917;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.premium-success-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 4px 2px;
}

.booking-success-sheet .premium-success-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.premium-success-step {
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  opacity: 0.45;
}

.premium-success-step.done {
  opacity: 1;
}

.premium-success-step.current .premium-success-step-icon {
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}

.premium-success-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.22);
  font-size: 18px;
}

.premium-success-step.done .premium-success-step-icon {
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  border-color: transparent;
}

.booking-success-sheet .premium-success-step-icon {
  background: #eff6ff;
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.22);
}

.booking-success-sheet .premium-success-step.done .premium-success-step-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.premium-success-step small {
  font-size: 10px;
  font-weight: 800;
  color: #57534e;
  line-height: 1.2;
}

.premium-success-actions {
  display: grid;
  gap: 10px;
}

.premium-success-actions .pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.premium-success-actions .pay-button .material-symbols-rounded {
  font-size: 20px;
}

@media (max-width: 560px) {
  .premium-success-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .premium-success-step:nth-child(n + 4) {
    display: none;
  }

  .booking-success-sheet .premium-success-step:nth-child(n + 4) {
    display: grid;
  }
}

/* Premium profile sheet */
.premium-profile-sheet {
  display: grid;
  gap: 14px;
  padding-bottom: 8px;
}

.premium-profile-hero {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 55%, #fff 100%);
  border: 1px solid rgba(234, 88, 12, 0.16);
}

.premium-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ea580c, #f97316);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.premium-profile-hero-copy h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.premium-profile-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(234, 88, 12, 0.12);
  color: #c2410c;
  font-size: 11px;
  font-weight: 800;
}

.premium-profile-phone {
  display: block;
  margin-top: 6px;
  color: #78716c;
  font-size: 13px;
  font-weight: 650;
}

.premium-profile-quick-grid {
  display: grid;
  gap: 8px;
}

.premium-profile-tile {
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(43, 24, 16, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(43, 24, 16, 0.05);
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  color: #1c1917;
}

.premium-profile-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff7ed;
  color: #ea580c;
  display: grid;
  place-items: center;
}

.premium-profile-tile-copy strong {
  display: block;
  font-size: 14px;
}

.premium-profile-tile-copy small {
  display: block;
  margin-top: 2px;
  color: #78716c;
  font-size: 12px;
  line-height: 1.35;
}

.premium-profile-tile-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5f5f4;
  color: #57534e;
  font-size: 11px;
  font-weight: 800;
}

.premium-profile-tile-chevron {
  color: #a8a29e;
  font-size: 20px;
}

.premium-profile-details {
  display: grid;
  gap: 12px;
}

.premium-profile-section-head,
.premium-profile-section-title {
  margin-top: 0;
}

.premium-profile-readonly {
  border-radius: 16px !important;
  border: 1px solid rgba(43, 24, 16, 0.08) !important;
  box-shadow: 0 8px 22px rgba(43, 24, 16, 0.05);
}

.premium-profile-signout {
  width: 100%;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #dc2626;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Push notification prompts */
.push-prompt-sheet {
  display: grid;
  gap: 12px;
  padding-bottom: 8px;
  text-align: center;
}

.push-prompt-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  box-shadow: 0 14px 32px rgba(234, 88, 12, 0.28);
}

.push-prompt-icon.ios {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.26);
}

.push-prompt-icon .material-symbols-rounded {
  font-size: 36px;
}

.push-prompt-sheet h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.push-prompt-copy {
  margin: 0;
  color: #78716c;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
}

.push-prompt-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  text-align: left;
}

.push-prompt-bullets li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid rgba(234, 88, 12, 0.14);
  font-size: 13px;
  font-weight: 700;
  color: #44403c;
}

.push-prompt-bullets .material-symbols-rounded {
  color: #ea580c;
  font-size: 18px;
}

.push-prompt-steps {
  margin: 0;
  padding-left: 20px;
  color: #57534e;
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.push-upsell-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(234, 88, 12, 0.2);
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.push-upsell-card.enabled {
  border-color: rgba(34, 197, 94, 0.22);
  background: #f0fdf4;
}

.push-upsell-card.enabled .material-symbols-rounded {
  color: #16a34a;
}

.push-upsell-card.denied,
.push-upsell-card.ios {
  border-color: rgba(37, 99, 235, 0.18);
  background: #eff6ff;
}

.push-upsell-card .material-symbols-rounded {
  color: #ea580c;
  font-size: 24px;
}

.push-upsell-card strong {
  display: block;
  font-size: 14px;
}

.push-upsell-card small {
  display: block;
  margin-top: 2px;
  color: #78716c;
  font-size: 12px;
  line-height: 1.35;
}

.push-upsell-action {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.push-upsell-card.compact {
  padding: 10px;
}

/* Keep profile identity and notification actions readable on light Adxo surfaces. */
.premium-profile-sheet .premium-profile-hero-copy h2 {
  color: #2b1810;
}

.premium-profile-sheet .premium-profile-hero-copy .premium-profile-badge {
  color: #9a3412;
}

.premium-profile-sheet .premium-profile-hero-copy .premium-profile-phone {
  color: #765d50;
}

.premium-profile-sheet .push-upsell-card strong {
  color: #2b1810;
}

.premium-profile-sheet .push-upsell-card small {
  color: #765d50;
}

.premium-profile-sheet .push-upsell-action {
  color: #fff;
  background: #ea580c;
}

/* Android-style header: brand, selected address, then actions. */
.topbar .location-button {
  min-width: 0;
  max-width: min(42vw, 280px);
  margin-left: 10px;
  margin-right: auto;
  padding: 0 8px;
  border-color: transparent;
  background: transparent;
  justify-content: flex-start;
}

.topbar .location-button #locationLabel {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar .location-button .location-chevron {
  flex: 0 0 auto;
  font-size: 18px;
}

@media (max-width: 560px) {
  .topbar .location-button {
    width: auto;
    max-width: 48vw;
    margin-left: 4px;
    padding: 0 3px;
  }

  .topbar .location-button span:last-child {
    display: inline-flex;
  }

  .topbar .location-button #locationLabel {
    display: block;
  }

  .topbar .brand-tagline {
    display: none;
  }
}
.address-map {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 16px;
  background: #f2eee9;
  box-shadow: 0 8px 22px rgba(43, 24, 16, 0.08);
}

.address-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #765548;
  font-size: 13px;
  font-weight: 700;
  z-index: 1;
}

.address-map .leaflet-control-attribution { font-size: 9px; }

/* ============================================================
   Bottom sheet design system — one readable palette for every sheet
   ============================================================ */
.booking-sheet {
  --sheet-bg: #fffaf5;
  --sheet-bg-muted: #fff8f2;
  --sheet-elevated: #ffffff;
  --sheet-ink: #2b1810;
  --sheet-muted: #765548;
  --sheet-soft: #a88f7e;
  --sheet-line: #e7d4c8;
  --sheet-handle: #dbc7b8;
  background: var(--sheet-bg) !important;
  color: var(--sheet-ink) !important;
  border-top: 1px solid var(--sheet-line);
}

.booking-sheet::before {
  background: var(--sheet-handle) !important;
}

.booking-sheet .icon-button,
.booking-sheet .product-sheet-share {
  background: var(--sheet-elevated) !important;
  color: var(--sheet-ink) !important;
  border: 1px solid var(--sheet-line) !important;
  box-shadow: 0 6px 16px rgba(43, 24, 16, 0.08) !important;
}

.booking-sheet .bookings-head h2,
.booking-sheet .auth-panel h2,
.booking-sheet .product-detail-heading h2,
.booking-sheet .push-prompt-sheet h2,
.booking-sheet .veg-filter-title,
.booking-sheet .payment-processing-state h2,
.booking-sheet .store-header h2,
.booking-sheet .seller-catalog-heading h2,
.booking-sheet .web-food-title-row h2,
.booking-sheet .web-food-options h3,
.booking-sheet .checkout-review-order > h3,
.booking-sheet .booking-detail-hero h2,
.booking-sheet .booking-detail-card h3,
.booking-sheet .booking-detail-title h3,
.booking-sheet .role-onboarding-head h2,
.booking-sheet .seller-onboarding-head h2,
.booking-sheet .premium-success-hero h2 {
  color: var(--sheet-ink) !important;
}

.booking-sheet .sheet-copy,
.booking-sheet .auth-panel .sheet-copy,
.booking-sheet .product-detail-heading .sheet-copy,
.booking-sheet .push-prompt-copy,
.booking-sheet .push-prompt-steps,
.booking-sheet .payment-processing-state p,
.booking-sheet .product-description,
.booking-sheet .web-food-desc,
.booking-sheet .web-food-title-row p,
.booking-sheet .booking-detail-row,
.booking-sheet .booking-detail-note,
.booking-sheet .booking-detail-item small,
.booking-sheet .checkout-review-copy small,
.booking-sheet .cart-line-info span,
.booking-sheet .notification-item p,
.booking-sheet .notification-item small,
.booking-sheet .role-onboarding-head > p,
.booking-sheet .seller-onboarding-head > p,
.booking-sheet .seller-catalog-address,
.booking-sheet .store-unavailable-note,
.booking-sheet .cart-warning small,
.booking-sheet .cart-payment-note small,
.booking-sheet .fulfillment-option-copy small,
.booking-sheet .shop-size-head small,
.booking-sheet .premium-success-copy {
  color: var(--sheet-muted) !important;
}

.booking-sheet .form-label,
.booking-sheet .fulfillment-picker > strong,
.booking-sheet .checkout-review-copy strong,
.booking-sheet .notification-item strong,
.booking-sheet .role-choice-copy strong,
.booking-sheet .seller-account-identity strong,
.booking-sheet .seller-verification-card strong,
.booking-sheet .cart-line-info strong,
.booking-sheet .cart-line-info b,
.booking-sheet .checkout-review-item > b,
.booking-sheet .booking-detail-row strong,
.booking-sheet .booking-detail-item strong,
.booking-sheet .fulfillment-option-copy b,
.booking-sheet .shop-size-head strong,
.booking-sheet .shop-size-option,
.booking-sheet .push-prompt-bullets li,
.booking-sheet .premium-success-card strong,
.booking-sheet .premium-success-card span,
.booking-sheet .premium-profile-tile-copy strong,
.booking-sheet .seller-image-viewer strong,
.booking-sheet .store-product-info strong,
.booking-sheet .seller-catalog-count,
.booking-sheet .veg-filter-option,
.booking-sheet .web-food-option,
.booking-sheet .web-food-addon,
.booking-sheet .mobile-variant-pill,
.booking-sheet .vehicle-color-option,
.booking-sheet .product-spec-grid strong,
.booking-sheet .product-overview-grid strong,
.booking-sheet .vehicle-overview-grid strong {
  color: var(--sheet-ink) !important;
}

.booking-sheet .form-input,
.booking-sheet .form-textarea,
.booking-sheet select.form-input,
.booking-sheet .otp-input {
  background: var(--sheet-elevated) !important;
  color: var(--sheet-ink) !important;
  border-color: var(--sheet-line) !important;
}

.booking-sheet .form-input::placeholder,
.booking-sheet .form-textarea::placeholder {
  color: var(--sheet-soft) !important;
}

.booking-sheet .secondary-button,
.booking-sheet .google-button {
  background: var(--sheet-elevated) !important;
  color: var(--sheet-ink) !important;
  border-color: var(--sheet-line) !important;
}

.booking-sheet .auth-divider::before,
.booking-sheet .auth-divider::after {
  background: var(--sheet-line) !important;
}

.booking-sheet .auth-divider span {
  color: var(--sheet-muted) !important;
}

.booking-sheet .whatsapp-consent,
.booking-sheet .admin-config-toggle,
.booking-sheet .role-choice-copy small,
.booking-sheet .seller-phone-state,
.booking-sheet .store-product-info small,
.booking-sheet .store-product-chevron,
.booking-sheet .store-chip:not(.status),
.booking-sheet .product-spec-grid small,
.booking-sheet .product-overview-grid small,
.booking-sheet .vehicle-overview-grid small,
.booking-sheet .vehicle-color-option small,
.booking-sheet .vehicle-color-picker-heading small,
.booking-sheet .premium-profile-tile-copy small,
.booking-sheet .premium-profile-phone,
.booking-sheet .checkout-review-order > h3 span,
.booking-sheet .booking-detail-sheet .delivery-head small,
.booking-sheet .booking-detail-sheet .tracking-meta,
.booking-sheet .booking-detail-sheet .delivery-step b,
.booking-sheet .state,
.booking-sheet .state.premium-loading {
  color: var(--sheet-muted) !important;
}

.booking-sheet .product-offer-card,
.booking-sheet .product-detail-card,
.booking-sheet .product-seller-card,
.booking-sheet .checkout-breakdown,
.booking-sheet .checkout-review-order > div,
.booking-sheet .checkout-review-item,
.booking-sheet .checkout-delivery-issue,
.booking-sheet .cart-line,
.booking-sheet .cart-warning,
.booking-sheet .cart-payment-note,
.booking-sheet .fulfillment-option,
.booking-sheet .shop-size-picker,
.booking-sheet .shop-size-option,
.booking-sheet .role-choice,
.booking-sheet .seller-account-identity,
.booking-sheet .seller-verification-card,
.booking-sheet .notification-item,
.booking-sheet .push-prompt-bullets li,
.booking-sheet .push-upsell-card,
.booking-sheet .premium-success-card,
.booking-sheet .premium-profile-tile,
.booking-sheet .mobile-variant-picker,
.booking-sheet .vehicle-color-picker,
.booking-sheet .location-current-card,
.booking-sheet .booking-detail-card,
.booking-sheet .booking-detail-sheet .delivery-tracker,
.booking-sheet .booking-detail-sheet .delivery-marker,
.booking-sheet .seller-catalog-count,
.booking-sheet .store-unavailable-note,
.booking-sheet .store-chip:not(.status),
.booking-sheet .web-food-option,
.booking-sheet .web-food-addon,
.booking-sheet .google-button,
.booking-sheet .payment-processing-state > span:first-child,
.booking-sheet .seller-image-viewer img,
.booking-sheet .address-map {
  background: var(--sheet-elevated) !important;
  border-color: var(--sheet-line) !important;
}

.booking-sheet .store-header,
.booking-sheet .seller-catalog-header {
  border-bottom-color: var(--sheet-line) !important;
}

.booking-sheet .android-store-sheet .store-header h2,
.booking-sheet .android-store-sheet .store-header .eyebrow,
.booking-sheet .store-header h2,
.booking-sheet .store-header .eyebrow {
  color: var(--sheet-ink) !important;
}

.booking-sheet .web-food-sheet,
.booking-sheet .web-food-sheet-media,
.booking-sheet .web-food-sheet-body {
  background: var(--sheet-bg) !important;
  color: var(--sheet-ink) !important;
}

.booking-sheet .web-food-option.selected,
.booking-sheet .web-food-addon.selected,
.booking-sheet .mobile-variant-pill.selected,
.booking-sheet .vehicle-color-option.selected,
.booking-sheet .veg-filter-option.selected,
.booking-sheet .shop-size-option.selected,
.booking-sheet .fulfillment-option.selected {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--brand-deep), var(--blue), var(--indigo)) !important;
}

.booking-sheet .web-food-option.selected span,
.booking-sheet .web-food-option.selected strong {
  color: #fff !important;
}

.booking-sheet .web-food-option:not(.selected) {
  background: color-mix(in srgb, var(--blue) 6%, var(--sheet-elevated)) !important;
  border-color: color-mix(in srgb, var(--blue) 24%, var(--sheet-line)) !important;
  box-shadow: 0 1px 0 rgba(43, 24, 16, 0.05);
}

.booking-sheet .web-food-option:not(.selected) strong {
  color: var(--brand-deep) !important;
}

.booking-sheet .fulfillment-option.selected .fulfillment-option-copy b,
.booking-sheet .fulfillment-option.selected .fulfillment-option-copy small,
.booking-sheet .fulfillment-option.selected .fulfillment-option-icon {
  color: #fff !important;
}

.booking-sheet .web-food-addon.selected strong,
.booking-sheet .web-food-addon.selected .web-food-addon-icon {
  color: #fff !important;
}

.booking-sheet .web-food-addon:not(.selected) {
  background: color-mix(in srgb, var(--blue) 6%, var(--sheet-elevated)) !important;
  border-color: color-mix(in srgb, var(--blue) 24%, var(--sheet-line)) !important;
  color: var(--sheet-ink) !important;
  box-shadow: 0 1px 0 rgba(43, 24, 16, 0.05);
}

.booking-sheet .web-food-addon:not(.selected) .web-food-addon-copy span:last-child,
.booking-sheet .web-food-addon:not(.selected) .web-food-addon-icon {
  color: var(--sheet-ink) !important;
}

.booking-sheet .web-food-addon:not(.selected) strong {
  color: var(--brand-deep) !important;
}

.booking-sheet .store-chip.status.open {
  color: #15803d !important;
  background: rgba(22, 163, 74, 0.1) !important;
  border-color: rgba(22, 163, 74, 0.28) !important;
}

.booking-sheet .store-chip.status.closed,
.booking-sheet .store-chip.status.paused,
.booking-sheet .store-chip.status.soon {
  color: inherit !important;
}

.booking-sheet .checkout-breakdown > div,
.booking-sheet .checkout-breakdown strong,
.booking-sheet .checkout-breakdown span {
  color: var(--sheet-ink) !important;
}

.booking-sheet .checkout-breakdown small {
  color: var(--sheet-muted) !important;
}

.booking-sheet .booking-detail-hero,
.booking-sheet .pay-button,
.booking-sheet .store-checkout-bar button,
.booking-sheet .restaurant-checkout-bar button,
.booking-sheet .premium-menu-add:not(.disabled),
.booking-sheet .push-prompt-icon,
.booking-sheet .push-upsell-action,
.booking-sheet .premium-profile-avatar {
  color: #fff !important;
}

.booking-sheet .state {
  background: transparent !important;
  border-style: dashed !important;
}

.booking-sheet .premium-menu-card,
.booking-sheet .premium-shop-row,
.booking-sheet .android-store-sheet .store-product,
.booking-sheet .premium-grouped-card,
.booking-sheet .premium-empty-card,
.booking-sheet .history-empty,
.booking-sheet .store-empty,
.booking-sheet .dashboard-empty {
  background: var(--premium-card-bg) !important;
  border-color: var(--premium-card-border) !important;
}

.booking-sheet .premium-menu-title-row strong,
.booking-sheet .premium-shop-title-row strong,
.booking-sheet .android-store-sheet .store-product-info strong,
.booking-sheet .premium-empty-card strong,
.booking-sheet .history-empty strong,
.booking-sheet .store-empty strong,
.booking-sheet .dashboard-empty strong {
  color: var(--premium-card-text) !important;
}

.booking-sheet .premium-menu-desc,
.booking-sheet .premium-shop-meta,
.booking-sheet .premium-shop-eta,
.booking-sheet .premium-shop-status,
.booking-sheet .premium-shop-chevron,
.booking-sheet .android-store-sheet .store-product-info small,
.booking-sheet .android-store-sheet .store-product-chevron,
.booking-sheet .premium-empty-card p,
.booking-sheet .history-empty p,
.booking-sheet .store-empty p,
.booking-sheet .dashboard-empty p {
  color: var(--premium-card-muted) !important;
}

.booking-sheet .android-store-sheet .store-product-info b,
.booking-sheet .android-store-sheet .store-product-info .store-variant-summary,
.booking-sheet .premium-menu-price,
.booking-sheet .premium-menu-add:not(.disabled) {
  color: #fb923c !important;
}

.booking-sheet .premium-menu-add:not(.disabled) {
  color: #fff !important;
}

.booking-sheet .store-checkout-bar,
.booking-sheet .restaurant-checkout-bar {
  background: var(--sheet-elevated) !important;
  border-top-color: var(--sheet-line) !important;
}

.booking-sheet .store-checkout-bar span,
.booking-sheet .restaurant-checkout-bar span {
  color: var(--sheet-muted) !important;
}

.booking-sheet .store-checkout-bar strong,
.booking-sheet .restaurant-checkout-bar strong {
  color: var(--sheet-ink) !important;
}

@media (prefers-color-scheme: dark) {
  /* Match styles.css dark shell — never keep cream topbar + light text. */
  .topbar {
    background: rgba(14, 12, 19, 0.92) !important;
    border-bottom-color: rgba(251, 146, 60, 0.16) !important;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.22) !important;
    color: #f8f5ff !important;
  }

  .topbar .location-button,
  .topbar .location-button #locationLabel,
  .topbar .location-button .material-symbols-rounded,
  .topbar .profile-icon-button,
  .topbar #profileButton,
  .topbar .owner-dashboard-toolbar,
  .topbar .download-app-link,
  .topbar .admin-toolbar-button {
    color: #ead8ca !important;
  }

  .location-picker-sheet .location-search-field input,
  .location-quick-card,
  .saved-address-card,
  .saved-address-edit {
    background: #211d29;
    color: #f8f5ff;
    border-color: #4a3b4f;
  }

  .address-map {
    border-color: #4a3b4f;
    background: #211d29;
  }

  .address-map-loading {
    color: #ead8ca;
  }

  .booking-sheet {
    --sheet-bg: #19161f;
    --sheet-bg-muted: #211d29;
    --sheet-elevated: #252032;
    --sheet-ink: #f8f5ff;
    --sheet-muted: #aaa2b7;
    --sheet-soft: #8d839c;
    --sheet-line: #352e42;
    --sheet-handle: #4a3f58;
  }

  .booking-sheet .push-prompt-bullets li,
  .booking-sheet .push-upsell-card:not(.enabled),
  .booking-sheet .premium-profile-hero,
  .booking-sheet .premium-success-hero.order-success-hero,
  .booking-sheet .premium-success-hero.booking-success-hero {
    background: var(--sheet-elevated) !important;
    border-color: var(--sheet-line) !important;
  }

  .booking-sheet .premium-profile-hero-copy h2,
  .booking-sheet .premium-profile-hero-copy .premium-profile-phone,
  .booking-sheet .push-upsell-card strong,
  .booking-sheet .push-upsell-card small,
  .booking-sheet .premium-success-hero .eyebrow,
  .booking-sheet .premium-success-hero h2,
  .booking-sheet .premium-success-copy,
  .booking-sheet .premium-success-step small {
    color: var(--sheet-ink) !important;
  }

  .booking-sheet .premium-success-hero .eyebrow {
    color: #fb923c !important;
  }

  .booking-sheet .premium-success-step-icon {
    background: var(--sheet-bg-muted) !important;
    border-color: var(--sheet-line) !important;
    color: #fb923c !important;
  }

  .booking-sheet .premium-profile-tile-icon {
    background: var(--sheet-bg-muted) !important;
    color: #fb923c !important;
  }

  .booking-sheet .notification-icon {
    background: var(--sheet-bg-muted) !important;
    color: #fb923c !important;
  }

  .booking-sheet .seller-image-viewer,
  .booking-sheet .seller-image-close {
    color: var(--sheet-ink) !important;
  }
}
