/* GoDeliver App - High-Fidelity Premium Stylesheet */

/* Inherits theme design tokens from core.css */
:root {
  --font-primary: 'Outfit', 'Poppins', -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scrollbar Removal */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

body {
  font-family: var(--font-primary);
  background-color: #0f172a;
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Hide scrollbars globally but keep functionality */
.scroll-x, .scroll-content {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}
.scroll-x::-webkit-scrollbar, .scroll-content::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* ==========================================================================
   DESKTOP DEVICE SIMULATOR FRAME
   ========================================================================== */
.device-simulator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 20px;
}

.phone-frame {
  position: relative;
  width: 412px;
  height: 892px;
  background: #1e293b;
  border: 12px solid #1e293b;
  border-radius: 42px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 4px #475569;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Phone Bezel Details (Notch, Camera, Speaker) */
.phone-camera {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #0f172a;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: inset 0 0 3px rgba(255,255,255,0.3);
}

.phone-speaker {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  z-index: 1000;
}

/* Status Bar */
.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px 4px 24px;
  background: var(--bg-app);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  z-index: 999;
  user-select: none;
}

.phone-status-bar .status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MAIN CONTAINER & TABS SYSTEM
   ========================================================================== */
.app-container {
  position: relative;
  flex: 1;
  background: var(--bg-screen);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  border-radius: 30px;
}

.app-tab {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  width: 100%;
  height: auto;
  animation: fadeIn 0.3s ease;
}

.app-tab.active {
  display: flex;
}

.scroll-content {
  flex: 1;
  overflow-y: auto;
  padding-bottom: 20px;
  position: relative;
}

/* Tab Header (For non-home tabs) */
.tab-header {
  padding: 18px 20px;
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-color);
  z-index: 5;
}

.tab-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   APP HEADER
   ========================================================================== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-app);
  z-index: 100;
}

.home-app-header {
  display: block;
  padding: 7px 10px;
  background: linear-gradient(180deg, #fff 0%, #fff 82%, #fffaf8 100%);
  box-shadow: 0 3px 12px rgba(30, 39, 54, 0.06);
}

.app-header-main {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 5px;
}

.home-app-header .header-actions {
  flex: 0 0 auto;
  gap: 3px;
  margin-left: auto;
}

.home-app-header .icon-btn {
  width: 36px;
  height: 38px;
  border-radius: 12px;
}

.home-app-header #menu-btn {
  width: 34px;
  flex: 0 0 34px;
}

.home-app-header .app-logo {
  display: flex;
  position: absolute;
  left: 50%;
  z-index: 1;
  width: 112px;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.home-app-header .brand-name-text {
  display: block;
  width: 100%;
  color: #ed4d20;
  font-size: 24px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.1px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  background: none;
  -webkit-text-fill-color: currentColor;
  filter: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.app-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.brand-name-text {
  font-family: var(--font-primary);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  text-transform: none;
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 50%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px var(--primary-glow));
  transition: transform 0.2s ease;
}

.app-logo:hover .brand-name-text {
  transform: scale(1.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--secondary-light);
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn .badge {
  position: absolute;
  top: 3px;
  right: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  height: 16px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #fff;
}

.red-badge { background: #F44336; }
.orange-badge { background: var(--primary); }

.outline-btn {
  background: none;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.outline-btn:hover {
  background: var(--primary-bg);
}

.outline-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   LOCATION & SEARCH BAR
   ========================================================================== */
.location-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: var(--bg-app);
}

.location-info {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  margin-right: 15px;
  min-width: 0;
}

.pin-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

.location-text .label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.location-text .address {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.chevron-down {
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Search Area */
.search-bar {
  display: flex;
  gap: 12px;
  padding: 8px 18px 14px 18px;
  background: var(--bg-app);
  box-shadow: 0 4px 6px -6px rgba(0,0,0,0.05);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 0;
}

.home-search-sticky {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(35, 45, 60, 0.06);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 18px rgba(24, 32, 45, 0.08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.home-search-bar {
  align-items: center;
  gap: 9px;
  padding: 9px 11px 8px;
  background: transparent;
  box-shadow: none;
}

.home-search-bar .search-input-wrapper input {
  height: 46px;
  border-radius: 14px;
  background: #f4f6f8;
}

.home-veg-mode {
  display: flex;
  flex: 0 0 52px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #3a414c;
}

.home-veg-mode > span {
  font-size: 8px;
  font-weight: 850;
  line-height: 0.98;
  text-align: center;
  letter-spacing: 0.3px;
}

.veg-mode-switch {
  position: relative;
  width: 42px;
  height: 23px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8dde4;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.veg-mode-switch > span {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20, 30, 43, 0.22);
  transition: transform 180ms ease;
}

.veg-mode-switch[aria-checked="true"] {
  background: #158447;
  box-shadow: 0 3px 9px rgba(21, 132, 71, 0.24);
}

.veg-mode-switch[aria-checked="true"] > span {
  transform: translateX(19px);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input-wrapper input {
  width: 100%;
  height: 48px;
  background: #F1F5F9;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 16px 0 44px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.search-input-wrapper input:focus {
  background: #fff;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.1);
}

.diet-filter-control {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 43px;
  padding: 5px 14px 9px;
  background: var(--bg-app);
}

.diet-filter-caption {
  margin-right: auto;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
}

.diet-filter-control button {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  background: #fff;
  color: #596171;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.diet-filter-control button.active {
  border-color: #263042;
  background: #263042;
  color: #fff;
  box-shadow: 0 3px 8px rgba(30, 40, 58, 0.16);
}

.diet-filter-control button[data-diet-filter="veg"].active {
  border-color: #16844a;
  background: #16844a;
}

.diet-filter-control button[data-diet-filter="non-veg"].active {
  border-color: #c13d43;
  background: #c13d43;
}

.diet-dot {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.diet-dot.veg {
  color: #13834a;
}

.diet-dot.non-veg {
  color: #d04a4a;
}

.diet-dot.veg::after,
.diet-dot.non-veg::after {
  display: block;
  width: 4px;
  height: 4px;
  margin: 1px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.diet-filter-control button.active .diet-dot {
  color: #fff;
}

.diet-filter-control-search {
  position: sticky;
  top: 72px;
  z-index: 9;
  justify-content: flex-end;
  min-height: 39px;
  padding: 2px 16px 8px;
  border-bottom: 1px solid #eef0f3;
}

.diet-filter-control-menu {
  padding: 7px 14px;
  border-bottom: 1px solid var(--border-color);
}

.diet-empty-state {
  grid-column: 1 / -1;
  padding: 20px 12px;
  border: 1px dashed #dce2e8;
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.filter-btn {
  background: #F1F5F9;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  background: var(--secondary-light);
}

/* ==========================================================================
   PROMOTIONAL CAROUSEL
   ========================================================================== */
.promo-carousel {
  padding: 16px 18px 8px 18px;
}

.promo-carousel:has(.has-home-posters) {
  padding: 10px 12px 8px;
}

.promo-carousel:has(.has-home-posters) .promo-track {
  border-radius: 20px;
}

.home-location-bar {
  display: flex;
  width: 34px;
  height: 36px;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(226, 104, 61, 0.12);
  border-radius: 12px;
  background: #fff8f4;
  box-shadow: 0 2px 7px rgba(36, 43, 57, 0.035);
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.home-location-bar:hover,
.home-location-bar:focus-visible {
  border-color: rgba(226, 104, 61, 0.3);
  background: #fff0e8;
}

.home-location-bar:active {
  transform: scale(0.94);
}

.home-location-bar .location-info {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex: 0 0 auto;
  height: 100%;
  color: #e65b2d;
}

.home-location-bar .location-locality {
  display: none;
}

.home-location-bar .location-info > .pin-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.home-app-header .app-header-main > .home-location-bar {
  order: 1;
}

.home-app-header .app-header-main > .app-logo {
  order: 2;
}

.home-app-header .app-header-main > #menu-btn {
  order: 0;
}

.home-app-header .app-header-main > .header-actions {
  order: 3;
}

.home-location-bar .location-text,
.home-location-bar .location-chevron,
.home-location-bar > .outline-btn {
  display: none;
}

.home-location-bar .location-chevron {
  flex: 0 0 auto;
  color: #b7a79f;
}

@media (max-width: 360px) {
  .home-location-bar {
    width: 34px;
    flex-basis: 34px;
    padding: 0;
  }
}

.home-app-header {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(232, 91, 52, 0.09);
  background:
    radial-gradient(ellipse at 50% -80%, rgba(255, 203, 171, 0.3), transparent 64%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(41, 47, 57, 0.075);
}

.home-app-header::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #f59d64, #e64d28 50%, #f6b664);
  content: "";
}

.home-app-header .app-header-main {
  min-height: 56px;
}

.home-app-header .app-logo {
  width: 142px;
  min-width: 142px;
  gap: 5px;
}

.brand-mark-mini {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #f27743, #e84922);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 5px 12px rgba(232, 78, 36, 0.22);
}

.brand-copy-home {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.home-app-header .brand-name-text {
  width: auto;
  font-size: 19px;
  letter-spacing: 0.6px;
  line-height: 1;
  text-align: left;
}

.brand-copy-home small {
  color: #92908a;
  font-size: 6px;
  font-weight: 850;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.home-app-header #menu-btn {
  border: 1px solid #f1e8e2;
  background: #fff;
  color: #374139;
  box-shadow: 0 3px 9px rgba(42, 48, 45, 0.055);
}

.home-app-header .header-actions .icon-btn {
  border: 1px solid #f1e8e2;
  background: #fff;
  box-shadow: 0 3px 9px rgba(42, 48, 45, 0.055);
}

.home-load-more {
  display: flex;
  min-height: 66px;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 4px 2px 14px;
  border: 1px solid #efe3db;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff, #fff8f3);
  color: #39443d;
  font-family: var(--font-primary);
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(43, 47, 44, 0.045);
}

.home-load-more span {
  color: #d65330;
  font-size: 12px;
  font-weight: 850;
}

.home-load-more small {
  color: #858c86;
  font-size: 9px;
}

.customer-toast-stack {
  position: fixed;
  z-index: 5000;
  top: calc(12px + env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  left: max(12px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.customer-toast {
  display: flex;
  width: min(440px, 100%);
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  color: #333b35;
  box-shadow: 0 14px 38px rgba(34, 40, 37, 0.16);
  backdrop-filter: blur(18px);
  animation: customerToastEnter 220ms ease both;
  pointer-events: auto;
}

.customer-toast-accent {
  width: 5px;
  align-self: stretch;
  flex: 0 0 5px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f29555, #e34c2b);
}

.customer-toast-copy {
  flex: 1;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.customer-toast-dismiss {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 0;
  border-radius: 9px;
  background: #f6f5f2;
  color: #737a74;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.customer-toast.is-leaving {
  animation: customerToastExit 180ms ease both;
}

.customer-confirm-overlay {
  position: fixed;
  z-index: 5100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(23, 31, 27, 0.46);
  backdrop-filter: blur(7px);
  animation: customerToastEnter 160ms ease both;
}

.customer-confirm-dialog {
  width: min(440px, 100%);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  background: linear-gradient(160deg, #fff, #fffaf6);
  box-shadow: 0 28px 80px rgba(21, 28, 24, 0.26);
}

.customer-confirm-items {
  display: grid;
  gap: 8px;
  max-height: min(32vh, 250px);
  overflow-y: auto;
  margin-top: 16px;
}

.customer-confirm-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #eee9e2;
  border-radius: 13px;
  background: #fff;
}

.customer-confirm-item img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 10px;
  background: #f5f3ef;
  object-fit: cover;
}

.customer-confirm-item-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.customer-confirm-item-copy strong,
.customer-confirm-item-total {
  overflow: hidden;
  color: #344139;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-confirm-item-copy small {
  color: #858d87;
  font-size: 10px;
}

.customer-confirm-item-total {
  flex: 0 0 auto;
}

.customer-confirm-dialog h2 {
  color: #27332c;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.35px;
}

.customer-confirm-dialog > p {
  margin-top: 8px;
  color: #758078;
  font-size: 12px;
  line-height: 1.55;
}

.customer-confirm-details {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid #eee9e2;
  border-radius: 15px;
  background: #fff;
  list-style: none;
}

.customer-confirm-details li {
  overflow-wrap: anywhere;
  color: #455149;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

.customer-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 9px;
  margin-top: 19px;
}

.customer-confirm-actions button {
  min-height: 44px;
  padding: 9px;
  border-radius: 13px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.customer-confirm-cancel {
  border: 1px solid #e7e9e4;
  background: #fff;
  color: #58625b;
}

.customer-confirm-accept {
  border: 1px solid #df5731;
  background: linear-gradient(135deg, #f27543, #e64e29);
  color: #fff;
  box-shadow: 0 7px 16px rgba(224, 85, 48, 0.19);
}

.tracking-map-container {
  height: auto;
  min-height: 0;
  padding: 14px;
  border: 1px solid #e7ebe5;
  border-radius: 20px;
  background: linear-gradient(155deg, #fff 20%, #f8faf7 100%);
  box-shadow: 0 10px 26px rgba(33, 48, 38, 0.06);
}

.tracking-map-canvas {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border: 1px solid #e7ebe5;
  border-radius: 15px;
  background: #eef2ed;
}

.tracking-map-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 2px 12px;
}

.tracking-map-eyebrow {
  color: #89928a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tracking-map-heading h5 {
  margin-top: 3px;
  color: #26352b;
  font-size: 14px;
  font-weight: 800;
}

.tracking-map-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.tracking-map-expand {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #e2e8e2;
  border-radius: 9px;
  background: #fff;
  color: #435348;
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.tracking-map-expand:hover {
  border-color: #c7d7ca;
  background: #f5f8f4;
}

.tracking-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid #d9eee2;
  border-radius: 999px;
  background: #f1faf4;
  color: #32774d;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.tracking-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #36a269;
  box-shadow: 0 0 0 3px rgba(54, 162, 105, 0.12);
}

.tracking-delivery-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 11px 12px;
  border: 1px solid #dceee2;
  border-radius: 13px;
  background: linear-gradient(110deg, #f1faf4, #fbfdfb);
}

.tracking-summary-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: #e1f2e7;
  color: #348054;
  font-size: 22px;
  font-weight: 800;
}

.tracking-summary-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tracking-delivery-summary > span:last-child {
  display: grid;
  gap: 3px;
}

.tracking-delivery-summary small,
.tracking-progress-heading > div > span,
.tracking-next-step > span {
  color: #7c8b80;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.tracking-delivery-summary strong {
  color: #28724a;
  font-size: 13px;
  font-weight: 800;
}

.tracking-payment-summary {
  display: grid;
  gap: 3px;
  margin: -3px 0 12px;
  padding: 9px 11px;
  border: 1px solid #e8ece8;
  border-radius: 11px;
  background: #fff;
}

.tracking-payment-summary strong {
  color: #37463b;
  font-size: 10px;
  font-weight: 800;
}

.tracking-payment-summary span {
  color: #79857c;
  font-size: 9px;
  line-height: 1.4;
}

.tracking-payment-summary.is-paid {
  border-color: #dceee2;
  background: #f5fbf6;
}

.tracking-payment-summary.is-paid strong {
  color: #32774d;
}

.tracking-payment-summary.is-cod {
  border-color: #f1e5ce;
  background: #fffbf2;
}

.tracking-payment-summary.is-cod strong {
  color: #8a5b14;
}

.tracking-delivery-otp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #dcd6f4;
  border-radius: 14px;
  background: linear-gradient(115deg, #f6f3ff, #fff);
}

.tracking-delivery-otp[hidden] {
  display: none;
}

.tracking-otp-shield {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 11px;
  background: #eae5fb;
  color: #614fae;
  font-size: 15px;
  font-weight: 900;
}

.tracking-delivery-otp > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.tracking-delivery-otp small {
  color: #756b9b;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tracking-delivery-otp p {
  color: #4e456d;
  font-size: 10px;
  line-height: 1.5;
}

.tracking-delivery-otp p strong {
  display: inline-block;
  margin-left: 4px;
  color: #503ea0;
  font-size: 16px;
  letter-spacing: 0.13em;
}

.tracking-delivery-otp > div > span {
  color: #89839f;
  font-size: 8px;
  line-height: 1.4;
}

.tracking-progress {
  margin: 0 0 13px;
  padding: 12px;
  border: 1px solid #edf0eb;
  border-radius: 14px;
  background: #fff;
}

.tracking-progress-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tracking-progress-heading > div,
.tracking-next-step {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.tracking-progress-heading strong,
.tracking-next-step strong {
  color: #334138;
  font-size: 11px;
  font-weight: 800;
}

.tracking-progress-heading small,
.tracking-next-step small {
  color: #7e8980;
  font-size: 9px;
  line-height: 1.4;
}

.tracking-progress-heading .tracking-status-updated {
  color: #9aa39b;
  font-size: 8px;
}

.tracking-next-step {
  max-width: 45%;
  padding-left: 11px;
  border-left: 2px solid #e2eee5;
}

.tracking-progress-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(55px, 1fr));
  gap: 4px;
  overflow-x: auto;
  padding: 1px 0 4px;
}

.tracking-progress-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 55px;
  color: #a4ada5;
  text-align: center;
}

.tracking-progress-step:not(:last-child)::after {
  position: absolute;
  top: 10px;
  left: calc(50% + 13px);
  width: calc(100% - 22px);
  height: 2px;
  background: #e7ebe7;
  content: "";
}

.tracking-progress-step.is-complete:not(:last-child)::after {
  background: #73b78d;
}

.tracking-progress-step > span {
  z-index: 1;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid #e5e9e5;
  border-radius: 50%;
  background: #f5f7f5;
  font-size: 9px;
  font-weight: 800;
}

.tracking-progress-step.is-complete > span {
  border-color: #6eaf83;
  background: #e6f4ea;
  color: #347b4d;
}

.tracking-progress-step.is-current > span {
  border: 2px solid #3a9661;
  background: #fff;
  color: #28754a;
  box-shadow: 0 0 0 3px #e6f4ea;
}

.tracking-progress-step small {
  max-width: 74px;
  color: #89938b;
  font-size: 8px;
  line-height: 1.25;
}

.tracking-progress-step.is-current small {
  color: #347b4d;
  font-weight: 800;
}

.tracking-location-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.tracking-location-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid #edf0eb;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.tracking-location-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #f2e9e5;
  color: #b95332;
  font-size: 10px;
  font-weight: 900;
}

.tracking-location-icon.delivery-pin {
  background: #e6f3eb;
  color: #318354;
}

.tracking-location-icon.rider-pin {
  background: #eeeafa;
  color: #6554b6;
}

.tracking-location-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.tracking-location-copy strong {
  overflow: hidden;
  color: #354239;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-location-copy small {
  overflow: hidden;
  color: #7b867d;
  font-size: 9px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-location-state {
  flex: 0 0 auto;
  color: #879188;
  font-size: 8px;
  font-weight: 800;
  text-align: right;
}

.tracking-rider-details {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  padding: 10px;
  border: 1px solid #e9e5f7;
  border-radius: 13px;
  background: linear-gradient(110deg, #f8f6ff, #fff);
}

.tracking-rider-details[hidden],
.tracking-rider-call[hidden] {
  display: none;
}

.tracking-rider-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #ece8fb;
  color: #6554b6;
  font-size: 12px;
  font-weight: 900;
}

.tracking-rider-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 3px;
}

.tracking-rider-copy > span {
  color: #88819f;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.tracking-rider-copy strong {
  overflow: hidden;
  color: #40385f;
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracking-rider-copy small {
  color: #77728b;
  font-size: 9px;
  text-transform: capitalize;
}

.tracking-rider-call {
  padding: 7px 9px;
  border: 1px solid #ddd7f3;
  border-radius: 9px;
  background: #fff;
  color: #5c4ba6;
  font-size: 9px;
  font-weight: 800;
  text-decoration: none;
}

.tracking-map-status {
  padding: 9px 2px 0;
  color: #858e87;
  font-size: 9px;
  line-height: 1.4;
}

body.tracking-map-fullscreen-open {
  overflow: hidden;
}

.tracking-map-container.is-fullscreen {
  position: fixed;
  z-index: 12000;
  inset: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px;
  border-color: #dfe7df;
  background: #f8faf7;
  box-shadow: 0 24px 80px rgba(16, 29, 20, 0.35);
}

.tracking-map-container.is-fullscreen .tracking-map-heading {
  position: sticky;
  z-index: 2;
  top: -18px;
  margin: -18px -18px 12px;
  padding: 14px 18px 11px;
  border-bottom: 1px solid #e8ede7;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.tracking-map-container.is-fullscreen .tracking-map-canvas {
  flex: 1 0 280px;
  min-height: 280px;
  height: min(52vh, 560px);
}

.tracking-map-container.is-fullscreen .tracking-progress-rail {
  overflow-x: visible;
}

.tracking-leaflet-icon {
  border: 0;
  background: transparent;
}

.tracking-marker {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50% 50% 50% 5px;
  background: #d75c37;
  color: #fff;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(32, 40, 35, 0.3), 0 1px 3px rgba(32, 40, 35, 0.16);
}

.tracking-marker.delivery-pin {
  background: #39966f;
}

.tracking-marker.rider-pin {
  background: #5543b6;
}

.tracking-marker svg {
  width: 19px;
  height: 19px;
  overflow: visible;
  transform: rotate(45deg);
}

.tracking-marker svg path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

#cart-drawer .checkout-location-hint {
  margin: -1px 0 7px;
  color: #849087;
  font-size: 9px;
  line-height: 1.45;
}

#cart-drawer .checkout-note-group {
  position: relative;
}

#cart-drawer .checkout-note-group label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 11px;
  font-weight: 700;
}

#cart-drawer .checkout-note-group label span,
#cart-drawer .checkout-note-group p {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 400;
}

#cart-drawer .checkout-note-group p {
  margin: 0 0 5px;
  line-height: 1.4;
}

#cart-drawer .checkout-note-group textarea {
  display: block;
  width: 100%;
  min-height: 54px;
  resize: vertical;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-main);
  font: 12px var(--font-primary);
}

#cart-drawer .checkout-note-group textarea:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.08);
}

#cart-drawer .checkout-note-count {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 9px;
  text-align: right;
}

@keyframes customerToastEnter {
  from { opacity: 0; transform: translateY(-7px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes customerToastExit {
  to { opacity: 0; transform: translateY(-5px); }
}

@media (max-width: 380px) {
  .tracking-map-container {
    padding: 10px;
  }

  .tracking-map-canvas {
    height: 215px;
  }

  .tracking-location-row {
    gap: 7px;
    padding: 7px;
  }

  .tracking-location-state {
    max-width: 58px;
    font-size: 7px;
  }

  .home-app-header .app-logo {
    width: 122px;
    min-width: 122px;
    gap: 5px;
  }

  .brand-mark-mini {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .home-app-header .brand-name-text {
    font-size: 17px;
  }

  .brand-copy-home small {
    font-size: 5px;
    letter-spacing: 0.8px;
  }

  .customer-confirm-dialog {
    padding: 20px;
  }
}

/* Premium cart checkout */
#cart-drawer .drawer-content {
  max-height: min(94%, 820px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px 28px 0 0;
  background: #fff;
  box-shadow: 0 -24px 70px rgba(24, 33, 49, 0.24);
}

#cart-drawer .cart-drawer-header {
  min-height: 82px;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, #fff 0%, #fdfcfb 100%);
}

#cart-drawer .cart-header-copy h3 {
  color: #202a27;
  font-size: 21px;
  letter-spacing: -0.65px;
}

#cart-drawer .cart-header-copy p {
  margin-top: 5px;
  color: #89908c;
  font-size: 11px;
}

#cart-drawer .cart-header-copy #cart-header-count {
  color: #d75f3a;
}

#cart-drawer .close-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #edf0ec;
  border-radius: 50%;
  background: #f7f8f5;
  color: #68736d;
  font-size: 22px;
  line-height: 1;
}

#cart-drawer .drawer-scroll-container {
  padding: 14px 0 20px !important;
  background: linear-gradient(180deg, #fff 0%, #fff 75%, #fbfaf7 100%);
  scrollbar-width: thin;
  scrollbar-color: #d8dcd5 transparent;
}

#cart-drawer .cart-items-container {
  padding: 0 18px !important;
  gap: 10px;
}

#cart-drawer .cart-item {
  padding: 11px;
  border-color: #eeefeb;
  border-radius: 17px;
  box-shadow: 0 4px 14px rgba(35, 45, 39, 0.045);
}

#cart-drawer .checkout-details-section {
  gap: 13px;
  margin: 18px 16px 0;
  padding: 19px 16px 17px !important;
  border: 1px solid #ecefe9;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #fbfcf8 100%);
  box-shadow: 0 8px 24px rgba(35, 45, 39, 0.045);
}

#cart-drawer .checkout-section-heading {
  padding: 0 0 12px;
  border-bottom: 1px solid #edf0eb;
}

#cart-drawer .checkout-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: #cc704f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.35px;
}

#cart-drawer .checkout-section-heading h4 {
  color: #27332d;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

#cart-drawer .checkout-section-heading p {
  margin-top: 4px;
  color: #828b84;
  font-size: 10px;
  line-height: 1.5;
}

#cart-drawer .checkout-details-section > .form-group {
  margin: 0 !important;
}

#cart-drawer .checkout-details-section > .form-group > label:not(.checkout-payment-heading) {
  margin-bottom: 6px !important;
  color: #48534c !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}

#cart-drawer #checkout-address-select,
#cart-drawer #checkout-coupon-input,
#cart-drawer #checkout-instructions,
#cart-drawer #checkout-schedule-time {
  height: 42px !important;
  border: 1px solid #e4e9e2 !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  color: #303b34 !important;
  font-size: 11px !important;
  box-shadow: inset 0 1px 2px rgba(34, 45, 38, 0.025);
}

#cart-drawer #checkout-address-select:focus,
#cart-drawer #checkout-coupon-input:focus,
#cart-drawer #checkout-instructions:focus,
#cart-drawer #checkout-schedule-time:focus {
  border-color: #d88869 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 136, 105, 0.12) !important;
}

#cart-drawer #apply-coupon-btn {
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 11px !important;
  background: #293831 !important;
}

#cart-drawer .checkout-details-section > .form-group > label:has(#checkout-schedule-toggle) {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #e9ede6;
  border-radius: 11px;
  background: #fff;
  color: #4d5851 !important;
}

#cart-drawer #checkout-schedule-toggle {
  accent-color: #d86e4b;
}

#cart-drawer .checkout-payment-heading {
  display: block !important;
  margin-bottom: 8px !important;
  color: #39463e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

#cart-drawer .payment-options-grid {
  display: grid;
  gap: 8px;
}

#cart-drawer .form-group .pay-option {
  display: flex !important;
  width: 100%;
  min-height: 68px;
  align-items: center;
  gap: 11px;
  margin: 0 !important;
  padding: 11px 12px;
  border: 1px solid #e8ece6;
  border-radius: 15px;
  background: #fff;
  color: #27332d;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

#cart-drawer .form-group .pay-option:hover {
  border-color: #d9dfd7;
  transform: translateY(-1px);
}

#cart-drawer .form-group .pay-option:has(input:checked) {
  border-color: #d77a58;
  background: linear-gradient(110deg, #fffaf7, #fff);
  box-shadow: 0 0 0 2px rgba(215, 122, 88, 0.08), 0 5px 14px rgba(63, 51, 43, 0.045);
}

#cart-drawer .pay-option-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #ecefe9;
  border-radius: 13px;
  background: #f6f7f3;
  color: #526058;
  font-size: 17px;
}

#cart-drawer .pay-online-icon {
  border-color: #e2eee5;
  background: #f0f7f1;
  color: #377951;
}

#cart-drawer .pay-option-copy {
  min-width: 0;
  gap: 4px;
  text-align: left;
}

#cart-drawer .pay-option-copy strong {
  color: #2c3831;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

#cart-drawer .pay-option-copy small {
  color: #808a83;
  font-size: 9px;
  line-height: 1.4;
}

#cart-drawer .form-group .pay-option > input[type="radio"] {
  position: relative;
  display: block;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  accent-color: #cb6848;
  box-shadow: none !important;
}

#cart-drawer .cart-drawer-footer {
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid #ecefe9;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 26px rgba(31, 43, 35, 0.055);
}

#cart-drawer .price-summary {
  margin-bottom: 12px;
}

#cart-drawer .price-row {
  margin-bottom: 8px;
  color: #78817a;
  font-size: 10px;
}

#cart-drawer .price-row.total-row {
  margin-top: 10px;
  color: #26332c;
  font-size: 15px;
  font-weight: 800;
}

#cart-drawer .price-row.total-row strong,
#cart-drawer .price-row.total-row span:last-child {
  color: #26332c;
}

#cart-drawer .primary-action-btn {
  height: 50px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(110deg, #e9653d 0%, #d84b2b 100%);
  box-shadow: 0 8px 20px rgba(204, 77, 44, 0.2);
  font-size: 12px;
  letter-spacing: 0.05px;
}

#cart-drawer .primary-action-btn:not(:disabled):active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(204, 77, 44, 0.18);
}

.payment-options-grid {
  display: grid;
  gap: 8px;
}

.pay-option {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid var(--border-color);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.pay-option:has(input:checked) {
  border-color: #df6940;
  background: #fff9f6;
  box-shadow: 0 0 0 2px rgba(223, 105, 64, 0.09);
}

.pay-option input {
  width: 17px;
  height: 17px;
  margin-left: auto;
  accent-color: #df6940;
  flex: 0 0 auto;
}

.pay-option-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 11px;
  background: #f3f4ef;
  color: #435047;
  font-size: 17px;
  font-weight: 800;
}

.pay-online-icon {
  background: #eaf5ed;
  color: #28804d;
}

.pay-option-copy {
  display: grid;
  gap: 3px;
  color: var(--text-main);
}

.pay-option-copy strong {
  font-size: 11px;
  font-weight: 750;
}

.pay-option-copy small {
  color: #79817b;
  font-size: 9px;
  line-height: 1.35;
}

#checkout-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.promo-track {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.promo-slide {
  display: flex;
  background: linear-gradient(135deg, #7C3AED 0%, var(--primary-hover) 100%);
  color: #fff;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.promo-content {
  flex: 1.2;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-tag {
  background: rgba(255, 255, 255, 0.2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 8px;
}

.promo-content .title {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.promo-content .subtitle {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  opacity: 0.9;
}

.promo-code {
  font-size: 11px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.promo-code strong {
  border: 1px dashed rgba(255,255,255,0.6);
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.1);
}

.order-now-btn {
  background: #212121;
  color: #fff;
  border: none;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 12px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.order-now-btn:active {
  transform: scale(0.95);
}

.promo-image-wrapper {
  flex: 0.8;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.promo-image-wrapper img {
  width: 120%;
  transform: scale(1.1);
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.3));
}

.delivery-time-badge {
  position: absolute;
  bottom: -5px;
  right: -5px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-weight: bold;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.promo-track.has-home-posters {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: #17182b;
  box-shadow: 0 16px 38px rgba(24, 31, 47, 0.2), 0 3px 8px rgba(24, 31, 47, 0.08);
}

.home-poster {
  display: none;
  min-height: 230px;
  align-items: flex-end;
  padding: 22px 22px 31px;
  border-radius: 21px;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
}

.home-poster.active {
  display: flex;
  animation: posterReveal 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.poster-theme-sunset {
  background: linear-gradient(118deg, #21194e 0%, #5932a8 53%, #f47758 135%);
  --poster-accent: #ffd390;
  --poster-cta: #fff7ea;
  --poster-cta-text: #39235d;
}

.poster-theme-berry {
  background: linear-gradient(118deg, #301332 0%, #74294f 58%, #dc5e73 135%);
  --poster-accent: #ffd0bd;
  --poster-cta: #fff2ed;
  --poster-cta-text: #632345;
}

.poster-theme-emerald {
  background: linear-gradient(118deg, #062e30 0%, #08796f 58%, #56bf90 135%);
  --poster-accent: #b9f5d7;
  --poster-cta: #eafff2;
  --poster-cta-text: #07574f;
}

.poster-theme-midnight {
  background: linear-gradient(118deg, #111827 0%, #263c67 58%, #697cc1 135%);
  --poster-accent: #d5deff;
  --poster-cta: #f1f4ff;
  --poster-cta-text: #27355c;
}

.poster-copy {
  position: relative;
  z-index: 2;
  width: min(82%, 310px);
  margin-top: auto;
}

.home-poster {
  min-height: clamp(190px, 29vh, 270px);
  padding: 22px 20px 27px;
}

.promo-track.has-home-posters {
  min-height: clamp(190px, 29vh, 270px);
  border-radius: 22px;
}

.home-poster.active .poster-copy {
  width: min(70%, 310px);
}

.home-poster .poster-title {
  font-size: clamp(23px, 7vw, 36px);
}

.poster-background-image,
.poster-image-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.poster-background-image {
  z-index: 0;
  object-fit: cover;
  object-position: center 42%;
  animation: posterImageDrift 15s ease-in-out infinite alternate;
}

.poster-image-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 13, 18, 0.84) 0%, rgba(11, 13, 18, 0.63) 39%, rgba(11, 13, 18, 0.02) 78%),
    linear-gradient(0deg, rgba(11, 13, 18, 0.48) 0%, rgba(11, 13, 18, 0.02) 67%);
  pointer-events: none;
}

.home-poster.poster-no-image .poster-image-shade {
  background: linear-gradient(90deg, rgba(10, 14, 28, 0.22), transparent 90%),
    linear-gradient(0deg, rgba(10, 14, 28, 0.14), transparent 85%);
}

.home-poster.poster-image-only {
  align-items: stretch;
  padding: 0;
}

.home-poster.poster-image-only .poster-background-image {
  animation: none;
}

.poster-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--poster-accent);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.poster-title {
  display: -webkit-box;
  max-width: 290px;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: clamp(21px, 6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.65px;
  line-height: 1.08;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(12, 9, 34, 0.22);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-subtitle {
  display: -webkit-box;
  max-width: 280px;
  margin: 7px 0 11px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.poster-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 31px;
  margin-top: 12px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--poster-cta);
  box-shadow: 0 5px 14px rgba(16, 10, 35, 0.19);
  color: var(--poster-cta-text);
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.poster-cta span {
  font-size: 14px;
  line-height: 1;
}

.poster-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 10, 35, 0.24);
}

.poster-orb {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.poster-orb-one {
  top: -88px;
  right: -53px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle at 36% 36%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.01) 66%);
  box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.06), 0 0 50px rgba(255, 255, 255, 0.06);
  animation: posterFloat 8s ease-in-out infinite alternate;
}

.poster-orb-two {
  right: 26px;
  bottom: -114px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.035);
  animation: posterFloat 10s ease-in-out infinite alternate-reverse;
}

.poster-sparkle {
  position: absolute;
  top: 26px;
  right: 32px;
  z-index: 2;
  color: var(--poster-accent);
  font-size: 22px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55));
  animation: posterTwinkle 2.8s ease-in-out infinite;
}

.poster-dots {
  position: absolute;
  right: 20px;
  bottom: 13px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
}

.poster-dot {
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 180ms ease, border-radius 180ms ease, background 180ms ease;
}

.poster-dot.active {
  width: 17px;
  border-radius: 5px;
  background: #fff;
}

@keyframes posterReveal {
  from { opacity: 0.3; transform: translateY(7px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes posterFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-12px, 8px, 0) scale(1.07); }
}

@keyframes posterTwinkle {
  0%, 100% { opacity: 0.7; transform: scale(0.9) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.1) rotate(8deg); }
}

@keyframes posterImageDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

@media (prefers-reduced-motion: reduce) {
  .home-poster.active,
  .poster-orb-one,
  .poster-orb-two,
  .poster-sparkle,
  .poster-background-image {
    animation: none;
  }
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 30%;
  background: var(--text-light);
  transition: var(--transition);
}

.carousel-dots .dot.active {
  background: var(--primary);
  width: 14px;
  border-radius: 3px;
}

/* ==========================================================================
   CATEGORY LIST (HORIZONTAL SCROLL)
   ========================================================================== */
.scroll-x {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 8px 18px;
  scroll-snap-type: x mandatory;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
}

.category-icon-box {
  width: 62px;
  height: 62px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.category-card:hover .category-icon-box {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

.category-icon-box svg {
  width: 100%;
  height: 100%;
}

.category-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-main);
}

.home-category-strip {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 112px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 15px 13px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-category-strip::-webkit-scrollbar {
  display: none;
}

.smart-home-panel {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
}


.smart-home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.smart-home-kicker {
  display: inline-block;
  margin-bottom: 4px;
  color: #e65b2d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.smart-home-header h2 {
  color: #232833;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.smart-home-score {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #1f8d5c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(21, 132, 71, 0.18);
}

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

.smart-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  background: #f8f9fa;
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 700;
  color: #4b5563;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;
}

.smart-chip:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.smart-restaurant-filter-row .smart-chip {
  justify-content: center;
  min-width: 80px;
  color: #4b5563;
  background: #f1f3f6;
  border-color: #e5e7eb;
}

.smart-restaurant-filter-row .smart-chip.active {
  border-color: #fb923c;
  color: #c2410c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  box-shadow: 0 2px 8px rgba(251, 146, 60, .25);
}

.smart-picks-section-heading.smart-restaurant-heading {
  gap: 8px;
  align-items: center;
}

.smart-restaurant-heading .smart-restaurant-filter-row {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.smart-restaurant-heading .smart-restaurant-filter-row .smart-chip {
  min-width: 72px;
  min-height: 30px;
  padding: 5px 12px;
  font-size: 11px;
}


.smart-chip-primary {
  background: #fff2ea;
  color: #d95c2f;
}

.smart-chip-secondary {
  background: #eefaf4;
  color: #1f8d5c;
}

.smart-chip-neutral {
  background: #f0f3f7;
  color: #465163;
}

.smart-picks-section {
  margin-top: 16px;
}

.smart-picks-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 12px;
}

.smart-picks-section-heading h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.3px;
}

.smart-picks-section-heading p {
  margin: 3px 0 0;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.4;
}

.smart-picks-section-heading > span {
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1.5px solid rgba(42, 137, 92, .2);
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  min-width: 28px;
  text-align: center;
}

/* ---- Top dishes filter pills ---- */
.smart-pick-filter-row {
  display: flex;
  gap: 8px;
  margin: 0 0 10px;
  padding: 2px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.smart-pick-filter-row::-webkit-scrollbar {
  display: none;
}

.smart-pick-filter {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 6px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #4b5563;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.smart-pick-filter:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.smart-pick-filter.active {
  border-color: #f97316;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  box-shadow: 0 3px 10px rgba(249, 115, 22, .2);
}

.smart-dish-picks-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.smart-more-dishes-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 7px;
  min-height: 38px;
  margin: 14px auto 0;
  padding: 0 16px;
  border: 1px solid rgba(112, 45, 205, .2);
  border-radius: 999px;
  background: #f8f4ff;
  color: #6926c4;
  font: 750 12px var(--font-primary);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.smart-more-dishes-button:hover {
  border-color: rgba(112, 45, 205, .4);
  background: #f1e9ff;
  box-shadow: 0 4px 12px rgba(105, 38, 196, .12);
  transform: translateY(-1px);
}

.smart-more-dishes-button:focus-visible {
  outline: 3px solid rgba(112, 45, 205, .25);
  outline-offset: 3px;
}

.smart-more-dishes-button svg {
  width: 15px;
  height: 15px;
}

.home-dishes-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}


.home-restaurants-section #restaurants-container .restaurant-card {
  width: 100%;
  flex: initial;
}


.smart-dish-picks-grid .home-dish-card,
.home-dishes-grid .home-dish-card {
  min-height: 0;
  padding: 7px;
  border: 1px solid rgba(38, 49, 68, 0.065);
  border-radius: 16px;
  box-shadow: 0 5px 14px rgba(29, 40, 60, 0.065);
}

.smart-dish-picks-grid .home-dish-image,
.home-dishes-grid .home-dish-image {
  width: 100%;
  max-width: none;
  margin: 0 auto 7px;
  border: 0;
  border-radius: 11px;
  box-shadow: none;
}

.smart-dish-picks-grid .home-dish-image img,
.home-dishes-grid .home-dish-image img {
  border-radius: 11px;
}

.smart-dish-picks-grid .home-dish-info,
.home-dishes-grid .home-dish-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 5px;
  row-gap: 4px;
}

.smart-dish-picks-grid .home-dish-reason,
.home-dishes-grid .home-dish-reason,
.smart-dish-picks-grid .home-dish-restaurant,
.home-dishes-grid .home-dish-restaurant {
  display: none;
}

.smart-dish-picks-grid .home-dish-card h3,
.home-dishes-grid .home-dish-card h3 {
  grid-column: 1 / -1;
  min-height: 27px;
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
}

.smart-dish-picks-grid .home-dish-card .dish-diet-badge,
.home-dishes-grid .home-dish-card .dish-diet-badge {
  margin: 0;
  padding: 3px 4px;
  font-size: 7px;
}

.smart-dish-picks-grid .home-dish-card .dish-rating,
.home-dishes-grid .home-dish-card .dish-rating {
  justify-self: end;
  margin: 0;
  padding: 3px 5px;
  font-size: 8px;
}

.smart-dish-picks-grid .home-dish-purchase,
.home-dishes-grid .home-dish-purchase {
  grid-column: 1 / -1;
  margin-top: 3px;
}

.smart-dish-picks-grid .home-dish-card .price,
.home-dishes-grid .home-dish-card .price {
  font-size: 12px;
}

.smart-dish-picks-grid .home-dish-card .add-dish-btn,
.home-dishes-grid .home-dish-card .add-dish-btn {
  width: 29px;
  height: 29px;
  font-size: 16px;
}

.smart-dish-picks-grid .quick-variety-picker,
.home-dishes-grid .quick-variety-picker {
  grid-column: 1 / -1;
  min-width: 0;
  height: 30px;
  margin-top: 2px;
  padding: 0 6px;
  border-radius: 8px;
  font-size: 8px;
}

/* ============================================================
   SMART SUGGESTIONS — premium horizontal restaurant cards
   ============================================================ */
.smart-suggestions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.smart-restaurant-picks-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0 0 4px;
  overflow: visible;
  overscroll-behavior-x: unset;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.smart-restaurant-picks-grid::-webkit-scrollbar {
  display: none;
}

.smart-restaurant-picks-grid > .smart-suggestion-card {
  width: 100%;
  min-width: 0;
  flex: initial;
  scroll-snap-align: none;
}

/* ---- Image ---- */
.smart-restaurant-picks-grid .smart-card-media {
  position: relative;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
  border: 0;
  box-shadow: 0 3px 10px rgba(0,0,0,.10);
  background: linear-gradient(145deg, #f0f1f5, #e3e6ed);
  margin: 0;
}

.smart-restaurant-picks-grid .smart-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform .3s ease;
}

.smart-suggestion-card:hover .smart-card-media img {
  transform: scale(1.06);
}

/* ---- Copy area ---- */
.smart-restaurant-picks-grid .smart-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  align-items: flex-start;
  gap: 4px;
  padding: 0;
  text-align: left;
}

/* ---- Topline: badge + rating ---- */
.smart-restaurant-picks-grid .smart-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
}

.smart-restaurant-picks-grid .smart-card-copy h3 {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  line-height: 1.2;
}

.smart-restaurant-picks-grid .smart-card-copy p {
  font-size: 11px;
  color: #6b7280;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.smart-restaurant-picks-grid .smart-badge,
.smart-restaurant-picks-grid .smart-rating,
.smart-restaurant-picks-grid .smart-card-footer {
  font-size: 11px;
}

.smart-restaurant-picks-grid .smart-badge {
  min-height: 22px;
  padding: 3px 9px;
  letter-spacing: .4px;
  font-size: 9.5px;
  background: #fff4eb;
  color: #c2410c;
  border-radius: 999px;
}

.smart-restaurant-picks-grid .smart-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  background: #ecfdf5;
  color: #15803d;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

.smart-restaurant-picks-grid .smart-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 2px;
  font-size: 11px;
  color: #6b7280;
  font-weight: 600;
}

.smart-card-cta {
  color: #e65b2d;
}

.smart-card-footer .smart-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border: 1.5px solid #fb923c;
  border-radius: 8px;
  background: #fff7ed;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  color: #c2410c;
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
}

.smart-card-footer .smart-explore-btn:hover {
  background: #ffedd5;
  transform: scale(1.04);
}

.smart-card-price {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}



.smart-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 6px;
  margin-top: 3px;
}

.smart-card-actions button {
  display: inline-flex;
  min-width: 0;
  min-height: 31px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 10px;
  font-family: var(--font-primary);
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.smart-card-actions button:active {
  transform: scale(0.97);
}

.smart-options-btn {
  border: 1px solid #e8eae5;
  background: #fff;
  color: #59635b;
}

.smart-add-btn {
  border: 1px solid #e75a32;
  background: linear-gradient(135deg, #f27643, #e74d28);
  color: #fff;
  box-shadow: 0 4px 9px rgba(220, 82, 46, 0.18);
}

.smart-add-btn span {
  font-size: 12px;
  line-height: 1;
}

.home-categories-section {
  margin-top: 4px;
  padding-top: 9px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(255, 245, 239, 0.65), transparent 68%),
    #fff;
}

.home-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 16px 7px;
}

.home-category-heading h2 {
  color: #252b35;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.home-category-heading p {
  margin-top: 2px;
  color: #9197a0;
  font-size: 9px;
  font-weight: 550;
}

.home-category-count {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid #f0eee9;
  border-radius: 999px;
  background: #fff;
  color: #707782;
  font-size: 8px;
  font-weight: 700;
}

.home-category-heading-actions {
  max-width: 58%;
  display: flex;
  max-width: 58%;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
}

.home-category-see-all {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 3px;
  padding: 4px 9px;
  border: 1px solid rgba(230, 91, 45, 0.18);
  border-radius: 999px;
  background: #fff7f2;
  color: #e65b2d;
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.home-category-see-all[hidden] {
  display: none;
}

.home-category-see-all span {
  font-size: 14px;
  line-height: 1;
}

.home-category-strip .category-card {
  width: 76px;
  min-width: 76px;
  scroll-snap-align: start;
}

.home-category-strip button.category-card {
  display: flex;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-primary);
  cursor: pointer;
}

.home-category-strip .category-card[hidden] {
  display: none;
}

.home-category-strip .category-icon-box {
  position: relative;
  display: grid;
  width: 61px;
  height: 61px;
  place-items: center;
  margin-bottom: 5px;
  border: 1px solid rgba(43, 50, 63, 0.055);
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f8f8f8);
  box-shadow: 0 5px 13px rgba(31, 40, 56, 0.09), inset 0 1px 0 #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-category-strip .category-card:hover .category-icon-box,
.home-category-strip .category-card:focus-visible .category-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 8px 17px rgba(31, 40, 56, 0.14), inset 0 1px 0 #fff;
}

.home-category-strip .category-icon-box img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 3px 3px rgba(25, 32, 43, 0.12));
}

.home-category-strip .category-card .category-name,
.home-category-strip .category-card .category-count {
  width: 100%;
  overflow: hidden;
  color: #303640;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category-strip .category-card .category-count {
  margin-top: 2px;
  color: #9a9fa7;
  font-size: 8px;
  font-weight: 500;
}

.home-category-strip .category-card-all .category-icon-box {
  border-color: rgba(228, 91, 45, 0.14);
  background: linear-gradient(150deg, #fff, #fff3ec);
  color: #e65b2d;
}

.home-category-strip .category-card-more .category-icon-box {
  border: 1px dashed rgba(230, 91, 45, 0.32);
  background: linear-gradient(145deg, #fff8f3, #fff);
  color: #f2531b;
}

.category-picker-overlay {
  position: absolute;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.category-picker-overlay.active {
  visibility: visible;
  opacity: 1;
}

.category-picker-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(18, 23, 32, 0.58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.category-picker-panel {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-height: 76%;
  flex-direction: column;
  padding: 9px 15px calc(18px + env(safe-area-inset-bottom));
  overflow: hidden;
  border-radius: 25px 25px 0 0;
  background: #fff;
  box-shadow: 0 -12px 38px rgba(12, 17, 27, 0.16);
  transform: translateY(18px);
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.category-picker-overlay.active .category-picker-panel {
  transform: translateY(0);
}

.category-picker-handle {
  width: 38px;
  height: 4px;
  flex: 0 0 auto;
  margin: 0 auto 17px;
  border-radius: 999px;
  background: #d9dde3;
}

.category-picker-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px 14px;
}

.category-picker-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #e85a24;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.25px;
}

.category-picker-heading h2 {
  color: #222833;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.45px;
}

.category-picker-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  color: #343a45;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.category-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px 7px;
  padding: 4px 0 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.category-picker-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 9px 3px 10px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(160deg, #fff, #fffaf7);
  color: #626a77;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 550;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.category-picker-item:hover,
.category-picker-item:focus-visible {
  outline: none;
  background: #fff5ef;
  box-shadow: 0 5px 14px rgba(39, 45, 56, 0.07);
}

.category-picker-item:active {
  transform: scale(0.96);
}

.category-picker-item img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f7f3ef;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(24, 30, 40, 0.14), 0 0 0 1px rgba(225, 104, 59, 0.12);
}

.category-picker-item small {
  margin-top: -2px;
  color: #e65b2d;
  font-size: 8px;
  font-weight: 650;
}

.category-picker-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dishes-section {
  margin-top: 10px;
}

.category-results-loading,
.category-results-empty {
  display: flex;
  min-height: 170px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 28px 20px;
  color: #7d8490;
  text-align: center;
}

.category-results-loading {
  flex-direction: row;
  min-height: 120px;
  color: #e65b2d;
  font-size: 12px;
  font-weight: 650;
}

.category-results-loading span {
  width: 17px;
  height: 17px;
  border: 2px solid #f8d8ca;
  border-top-color: #e65b2d;
  border-radius: 50%;
  animation: categoryResultsSpin 700ms linear infinite;
}

@keyframes categoryResultsSpin {
  to { transform: rotate(360deg); }
}

.category-results-empty strong {
  color: #303640;
  font-size: 14px;
}

.category-results-empty span {
  font-size: 11px;
}

.category-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0 12px;
}

.category-results-heading > div > span {
  color: #e65b2d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
}

.category-results-heading h3 {
  margin-top: 3px;
  color: #252b35;
  font-size: 19px;
  font-weight: 800;
}

.category-results-heading small {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff3ec;
  color: #d9562c;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.category-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding-bottom: 20px;
}

.category-dish-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(38, 49, 68, 0.075);
  border-radius: 17px;
  background: linear-gradient(160deg, #fff, #f9fafc);
  box-shadow: 0 6px 16px rgba(29, 40, 60, 0.07);
  cursor: pointer;
}

.category-dish-image {
  position: relative;
  aspect-ratio: 1.36;
  overflow: hidden;
  background: #f1f3f6;
}

.category-dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-dish-content {
  padding: 9px;
}

.category-dish-content .dish-diet-badge {
  margin: 0 0 5px;
}

.category-dish-content h4 {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  color: #262c36;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-dish-content > p {
  margin-top: 3px;
  overflow: hidden;
  color: #828995;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 7px;
}

.category-dish-footer strong {
  color: #e65012;
  font-size: 13px;
  font-weight: 850;
}

.category-dish-footer .add-dish-btn {
  width: 29px;
  height: 29px;
  justify-content: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
}

.product-photo-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.product-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-photo-incoming {
  z-index: 1;
  will-change: transform;
}

.product-photo-incoming--next {
  transform: translateX(100%);
}

.product-photo-incoming--previous {
  transform: translateX(-100%);
}

.product-photo-slider.is-sliding-next .product-main-photo:not(.product-photo-incoming) {
  transform: translateX(-100%);
}

.product-photo-slider.is-sliding-next .product-photo-incoming--next {
  transform: translateX(0);
}

.product-photo-slider.is-sliding-previous .product-main-photo:not(.product-photo-incoming) {
  transform: translateX(100%);
}

.product-photo-slider.is-sliding-previous .product-photo-incoming--previous {
  transform: translateX(0);
}

.product-photo-slider .product-main-photo {
  transition: transform 320ms cubic-bezier(0.22, 0.68, 0, 1);
}

.product-market-photo-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #25312b;
  box-shadow: 0 3px 12px rgba(23, 32, 28, 0.2);
  font: 400 30px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.product-market-photo-arrow--previous {
  left: 12px;
}

.product-market-photo-arrow--next {
  right: 12px;
}

.product-market-photo-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.06);
}

.product-market-photo-arrow:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.product-photo-slider {
  touch-action: pan-y;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-photo-slider::-webkit-scrollbar,
.restaurant-photo-slider::-webkit-scrollbar {
  display: none;
}

.product-photo-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.product-photo-slider.is-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
}

.product-photo-slider.is-gallery .product-main-photo {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
}

.product-gallery-counter,
.restaurant-gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  min-width: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(22, 28, 26, .62);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
  backdrop-filter: blur(9px);
}

.product-gallery-dots,
.restaurant-gallery-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: translateX(-50%);
}

.product-gallery-dot,
.restaurant-gallery-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
}

.product-gallery-dot.is-active,
.restaurant-gallery-dot.is-active {
  width: 19px;
  flex-basis: 19px;
  background: #fff;
}

.product-gallery-dot:focus-visible,
.restaurant-gallery-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.restaurant-photo-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-y;
}

.restaurant-photo-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.restaurant-photo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.restaurant-photo-slider .restaurant-gallery-dots {
  bottom: 12px;
}

.restaurant-gallery-counter {
  bottom: 10px;
  left: 12px;
  right: auto;
}

@media (prefers-reduced-motion: reduce) {
  .product-photo-slider .product-main-photo {
    transition-duration: 1ms;
  }
}

.home-dishes-section .section-header {
  padding-bottom: 11px;
}

.home-restaurants-section {
  margin-top: 8px;
}

.home-restaurants-section .section-header,
.home-dishes-section .section-header {
  align-items: center;
  gap: 12px;
}

.home-restaurants-section .section-header h2,
.home-dishes-section .section-header h2 {
  color: #222833;
  font-size: 17px;
  letter-spacing: -0.35px;
}

.home-section-caption {
  margin-top: 3px;
  color: #838a95;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.35;
}

#restaurants-container .restaurant-card {
  width: 144px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(38, 49, 68, 0.075);
  border-radius: 19px;
  background: linear-gradient(160deg, #fff 0%, #f9fafc 100%);
  box-shadow: 0 7px 18px rgba(29, 40, 60, 0.075);
  scroll-snap-align: start;
}

#restaurants-container {
  display: flex;
  gap: 11px;
  padding: 0 16px 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#restaurants-container::-webkit-scrollbar {
  display: none;
}

#restaurants-container .card-img-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #f5f6f8, #e7ebf0);
  box-shadow: none;
}

#restaurants-container .card-img-wrapper img {
  object-fit: cover;
}

#restaurants-container .discount-badge {
  top: 5px;
  left: -2px;
  max-width: 85px;
  overflow: hidden;
  padding: 4px 6px;
  border-radius: 9px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#restaurants-container .restaurant-card .fav-btn {
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
}

#restaurants-container .restaurant-card .fav-btn svg {
  width: 14px;
  height: 14px;
}

#restaurants-container .card-info {
  padding: 8px 10px 11px;
  text-align: center;
}

#restaurants-container .card-info h3 {
  margin: 0 0 3px;
  color: #252b35;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
}

#restaurants-container .card-info .cuisine {
  margin: 0 0 6px;
  overflow: hidden;
  color: #818894;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#restaurants-container .card-info .meta-row {
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0;
  color: #747c88;
  font-size: 8px;
}

#restaurants-container .card-info .rating {
  color: #16834b;
}

#restaurants-container .restaurant-reason {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #e65b2d;
  font-size: 8px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   FEATURE BADGES
   ========================================================================== */
.feature-badges {
  background: var(--bg-app);
  margin: 10px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-right: 1px solid var(--border-color);
  flex-shrink: 0;
}

.badge-item:last-child {
  border-right: none;
}

.badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon.fast-delivery { background: #FFF3E0; color: #FF9800; }
.badge-icon.best-offers { background: #E8F5E9; color: #4CAF50; }
.badge-icon.safe-secure { background: #E3F2FD; color: #2196F3; }
.badge-icon.support { background: #EDE7F6; color: #673AB7; }

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-size: 12px;
  color: var(--text-main);
  white-space: nowrap;
}

.badge-text span {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   CARDS & SECTIONS (RESTAURANTS & DISHES)
   ========================================================================== */
.section-container {
  margin-top: 15px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px 8px 18px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 800;
}

.home-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 2px 5px 10px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.home-view-all span {
  font-size: 17px;
  line-height: 1;
  color: var(--text-main);
}

.view-all-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.horizontal-cards {
  padding-bottom: 12px;
}

/* Restaurant Card */
.restaurant-card {
  width: 260px;
  background: var(--bg-app);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  flex-shrink: 0;
  transition: var(--transition);
  cursor: pointer;
  scroll-snap-align: start;
}

.restaurant-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
  height: 130px;
  position: relative;
  background: #CFD8DC;
}

.card-img-wrapper svg, .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.fav-btn:hover {
  background: #FFF;
  transform: scale(1.08);
}

.fav-btn.active {
  color: #E91E63;
}

.card-info {
  padding: 12px;
}

.card-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-info .cuisine {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-row {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  gap: 6px;
}

.meta-row .rating {
  color: var(--rating-color);
  display: flex;
  align-items: center;
  gap: 2px;
}

.meta-row .divider {
  color: var(--border-color);
}

.card-tag {
  display: inline-block;
  background: var(--success);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Dish Card */
.dish-card {
  width: 150px;
  background: var(--bg-app);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  scroll-snap-align: start;
}

.home-dishes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  padding: 0 13px 18px;
}

.home-dish-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 246px;
  padding: 12px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(38, 49, 68, 0.075);
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 255, 255, 0.98), transparent 58%),
    linear-gradient(160deg, #fff 0%, #f9fafc 100%);
  box-shadow: 0 7px 18px rgba(29, 40, 60, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 24px rgba(29, 40, 60, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-dish-card .fav-btn {
  z-index: 3;
}

.home-dish-image {
  width: min(100%, 112px);
  height: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
  margin: 0 auto 9px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7f8fa, #e9edf2);
  box-shadow: 0 5px 14px rgba(31, 40, 56, 0.16), 0 0 0 1px rgba(35, 45, 61, 0.055);
}

.home-dish-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.home-dish-card:hover .home-dish-image img {
  transform: scale(1.07);
}

.home-dish-info {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.home-dish-reason {
  display: block;
  max-width: 100%;
  margin: 0 0 5px;
  overflow: hidden;
  color: #e65b2d;
  font-size: 8px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-dish-card h3 {
  min-height: 30px;
  margin-bottom: 2px;
  color: #232833;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.3;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.home-dish-restaurant {
  min-height: 13px;
  margin: 0 0 5px;
  overflow: hidden;
  color: #818894;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dish-diet-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 4px;
  margin: 2px 0 4px;
  padding: 2px 5px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
}

.dish-diet-badge i {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.dish-diet-badge i::after {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.dish-diet-badge.is-veg {
  color: #18834b;
}

.dish-diet-badge.is-non-veg {
  color: #c74748;
}

.home-dish-card .dish-diet-badge {
  margin: 0 0 4px;
  padding: 3px 5px;
  font-size: 8px;
}

.home-dish-card .dish-rating {
  align-self: flex-start;
  margin: 2px 0 8px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #e7f5ed;
  color: #177344;
  font-size: 9px;
  line-height: 1.2;
}

.home-dish-purchase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
}

.home-dish-card .price {
  color: #e65012;
  font-size: 15px;
  font-weight: 850;
}

.home-dish-card .add-dish-btn {
  width: 32px;
  height: 32px;
  justify-content: center;
  margin-top: 0;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 3px 9px rgba(255, 87, 34, 0.22);
  font-size: 19px;
  line-height: 1;
}

.dish-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.dish-img-box {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  overflow: hidden;
}

.dish-img-box svg, .dish-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-dish-card .home-dish-image {
  width: min(100%, 112px);
  height: auto;
  flex: 0 0 auto;
}

.dish-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-card .price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: auto;
}

.dish-card .dish-rating {
  font-size: 10px;
  color: var(--rating-color);
  font-weight: bold;
  margin-bottom: 6px;
}

.add-dish-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.add-dish-btn:hover {
  background: var(--primary-hover);
}

.add-dish-btn:active {
  transform: scale(0.95);
}

/* ==========================================================================
   FOOTER RIDER BANNER
   ========================================================================== */
.footer-banner {
  margin: 20px 18px;
  background: #FFF3E0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  overflow: hidden;
}

.banner-boy-img {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-boy-img img {
  width: 100%;
  max-width: 110px;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,0.1));
}

.banner-content {
  flex: 1.2;
}

.banner-content h4 {
  font-size: 15px;
  font-weight: 800;
  color: #E65100;
  margin-bottom: 4px;
}

.banner-content p {
  font-size: 11px;
  color: #795548;
  margin-bottom: 12px;
  line-height: 1.3;
}

.banner-content .order-now-btn {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR
   ========================================================================== */
.bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 500;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.03);
}

.nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 10px;
  font-weight: 700;
  transition: var(--transition);
  padding: 8px;
  gap: 3px;
  flex: 1;
}

.nav-item svg {
  transition: var(--transition);
}

.nav-item.active {
  color: var(--primary);
}

.nav-item:active svg {
  transform: scale(0.85);
}

/* ==========================================================================
   SIDE NAVIGATION DRAWER (LEFT SLIDE-IN)
   ========================================================================== */
.side-menu-drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1200;
  visibility: hidden;
  transition: var(--transition);
}

.side-menu-drawer.active {
  visibility: visible;
}

.side-menu-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.side-menu-drawer.active .side-menu-backdrop {
  opacity: 1;
}

.side-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 290px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 10px 0 40px rgba(0,0,0,0.15);
  z-index: 1201;
  border-radius: 0 24px 24px 0;
}

.side-menu-drawer.active .side-menu-content {
  transform: translateX(0);
}

.side-menu-header {
  padding: 24px 18px 18px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0 24px 0 0;
}

.user-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.side-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.4);
}

.side-user-info h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.side-user-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin: 2px 0 0 0;
}

.side-menu-header .close-btn {
  color: #fff;
}
.side-menu-header .close-btn:hover {
  background: rgba(255,255,255,0.2);
}

.side-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.side-nav-item:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.side-nav-item.active {
  background: var(--primary-bg);
  color: var(--primary);
  font-weight: 800;
}

.side-nav-item svg {
  color: inherit;
  flex-shrink: 0;
}

.side-menu-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 8px 0;
}

.side-menu-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-screen);
  border-radius: 0 0 24px 0;
}

/* ==========================================================================
   NOTIFICATIONS DRAWER & CARDS
   ========================================================================== */
.notification-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.notification-card.unread {
  background: var(--primary-bg);
  border-color: var(--primary-light);
}

.notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.notification-info {
  flex: 1;
  min-width: 0;
}

.notification-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px 0;
}

.notification-info p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 4px 0;
}

.notification-time {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 600;
}

/* ==========================================================================
   DRAWERS (CART / AUTH / RESTAURANT SUBVIEW)
   ========================================================================== */
.overlay-drawer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  visibility: hidden;
  transition: var(--transition);
}

.overlay-drawer.active {
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-drawer.active .drawer-backdrop {
  opacity: 1;
}

.drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 80%;
  background: #fff;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 40px rgba(0,0,0,0.15);
  z-index: 1001;
}

.overlay-drawer.active .drawer-content {
  transform: translateY(0);
}

#cart-drawer {
  z-index: 1150;
}

#cart-drawer .drawer-content {
  max-height: min(88%, 760px);
  border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fff 76%, #fffaf7 100%);
  box-shadow: 0 -18px 48px rgba(20, 29, 44, 0.2);
}

#cart-drawer .cart-drawer-header {
  min-height: 72px;
  padding: 15px 20px 13px;
  border-bottom: 1px solid rgba(38, 49, 68, 0.08);
}

#cart-drawer .cart-header-copy h3 {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.35px;
}

#cart-drawer .cart-header-copy p {
  margin-top: 3px;
  color: #818894;
  font-size: 10px;
  font-weight: 550;
}

#cart-drawer .cart-header-copy #cart-header-count {
  color: #e65b2d;
  font-weight: 800;
}

#cart-drawer .drawer-scroll-container {
  padding: 12px 0 18px !important;
}

#cart-drawer .cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#cart-drawer .cart-item {
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(38, 49, 68, 0.075);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(29, 40, 60, 0.055);
}

#cart-drawer .cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: 13px;
  background: #f6f4f1;
}

#cart-drawer .cart-item-info {
  min-width: 0;
}

#cart-drawer .cart-item-info h4 {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#cart-drawer .cart-item-info span {
  display: inline-block;
  margin-top: 4px;
  color: #e65b2d;
  font-size: 12px;
  font-weight: 800;
}

#cart-drawer .qty-counter {
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(230, 91, 45, 0.16);
  border-radius: 11px;
  background: #fff8f4;
}

#cart-drawer .qty-btn {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #e65b2d;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(36, 43, 57, 0.08);
}

#cart-drawer .qty-count {
  min-width: 15px;
  color: #303640;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

#cart-drawer .cart-empty-state {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px dashed rgba(38, 49, 68, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #fff8f4);
  text-align: center;
}

#cart-drawer .cart-empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 13px;
  place-items: center;
  border-radius: 19px;
  background: #fff0e8;
  color: #e65b2d;
}

#cart-drawer .cart-empty-state h4 {
  color: #282e38;
  font-size: 15px;
  font-weight: 800;
}

#cart-drawer .cart-empty-state p {
  max-width: 230px;
  margin-top: 5px;
  color: #858b95;
  font-size: 11px;
  line-height: 1.5;
}

#cart-drawer .cart-empty-state button {
  margin-top: 15px;
  padding: 9px 16px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #f45a2a, #e94616);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(233, 70, 22, 0.2);
}

#cart-drawer .cart-drawer-footer {
  flex: 0 0 auto;
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(38, 49, 68, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -8px 24px rgba(24, 33, 49, 0.05);
}

#cart-drawer .price-summary {
  margin-bottom: 11px;
}

#cart-drawer .price-row {
  margin-bottom: 7px;
  color: #707783;
  font-size: 11px;
}

#cart-drawer .price-row.total-row {
  margin-top: 9px;
  color: #242a34;
  font-size: 15px;
}

#cart-drawer .primary-action-btn {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f45a2a, #e94616);
  box-shadow: 0 7px 17px rgba(233, 70, 22, 0.24);
}

#cart-drawer .primary-action-btn:disabled {
  background: #c8cbd1;
  box-shadow: none;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.close-btn {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--text-muted);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.close-btn:hover {
  background: var(--secondary-light);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-screen);
}

.price-summary {
  margin-bottom: 15px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.price-row.total-row {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 800;
  margin-top: 6px;
}

.drawer-footer hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 8px 0;
}

.primary-action-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.primary-action-btn:hover {
  background: var(--primary-hover);
}

.primary-action-btn:active {
  transform: scale(0.97);
}

/* Cart Item Rows */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--secondary-light);
  flex-shrink: 0;
}

.cart-item-img svg, .cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.cart-item-info span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.qty-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border-radius: 8px;
  padding: 4px;
}

.qty-btn {
  background: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.qty-count {
  font-size: 13px;
  font-weight: 700;
  min-width: 14px;
  text-align: center;
}

/* ==========================================================================
   RESTAURANT SUBVIEW (SLIDES IN FROM RIGHT)
   ========================================================================== */
.sub-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 800;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.sub-view.active {
  transform: translateX(0);
}

/* Floating Navigation Header on Hero */
.restaurant-floating-header {
  position: absolute;
  top: 15px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 910;
}

.header-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.header-circle-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

.header-circle-btn svg {
  transition: transform 0.2s ease;
}

.header-circle-btn:active svg {
  transform: scale(0.9);
}

.floating-title {
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Full Bleed Hero Cover */
.restaurant-hero {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #f6f3ee 0%, #f1f5f9 55%, #e7f3ec 100%);
  overflow: hidden;
  border-bottom: 1px solid rgba(59, 65, 78, 0.08);
}

.hero-banner-img {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 125, 64, 0.18), rgba(38, 96, 70, 0.12));
}

.hero-banner-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.18) contrast(1.06) brightness(0.9);
  transform: scale(1.04);
  transition: transform 0.35s ease;
}

.hero-banner-img img:hover {
  transform: scale(1.08);
}

.hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
}

/* Overlapping Info Card */
.restaurant-info-card-wrapper {
  margin-top: -36px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.restaurant-info-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
  border-radius: 24px;
  box-shadow: 0 16px 35px rgba(17, 24, 39, 0.12);
  padding: 18px 16px 14px 16px;
  border: 1px solid rgba(122, 133, 156, 0.12);
}

.restaurant-main-info .title-rating-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.restaurant-main-info h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.rating-badge-premium {
  background: #388E3C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(56, 142, 60, 0.2);
}

.restaurant-main-info .cuisine {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.rating-detail-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.rating-stars {
  color: var(--rating-color);
  font-size: 12px;
  letter-spacing: 1px;
}

.rating-count {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
}

.restaurant-main-info .address-text {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.card-divider {
  border: none;
  border-top: 1.5px dashed var(--border-color);
  margin: 12px 0;
}

/* Stats Row */
.restaurant-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px 10px 8px;
  border: 1px solid rgba(255, 118, 66, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 245, 240, 0.88), rgba(255, 255, 255, 0.92));
  text-align: center;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.34);
}

.stat-icon {
  font-size: 16px;
  margin-bottom: 2px;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
}

.stat-label {
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* Offer Cards Scrollable */
.restaurant-offers-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 248, 244, 0.6));
}

.offers-scroll-x {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.offer-card-premium {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 87, 34, 0.15);
  background: var(--primary-bg);
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.offer-card-premium:hover {
  transform: translateY(-2px);
}

.offer-badge-tag {
  font-size: 7px;
  font-weight: 900;
  color: #fff;
  background: var(--primary);
  padding: 3px 5px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

.offer-content {
  display: flex;
  flex-direction: column;
}

.offer-title {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-main);
}

.offer-code {
  font-size: 7px;
  color: var(--text-muted);
  margin-top: 1px;
}

/* Sticky Search & Filter Chip Bars */
.menu-sticky-controls {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  padding: 12px 16px 8px 16px;
  border-top: 8px solid var(--bg-screen);
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-search-bar .search-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
}

.menu-search-bar input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--border-color);
  background: var(--bg-screen);
  border-radius: 10px;
  padding: 0 35px 0 35px;
  font-size: 11px;
  font-family: var(--font-primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-search-bar input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.08);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--text-light);
  cursor: pointer;
}

.category-filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-chip.active {
  background: var(--primary-bg);
  border-color: var(--primary);
  color: var(--primary);
}

/* Premium Menu List */
.menu-list-premium {
  padding: 16px 16px 60px 16px;
  background: var(--bg-screen);
}

.category-header-premium {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.8px;
  margin: 16px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2.5px solid var(--primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-header-premium .item-count {
  font-size: 10px;
  color: var(--text-muted);
  background: var(--border-color);
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: none;
  font-weight: 700;
}

.vertical-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Premium Dish Card */
.menu-item-card-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  border: 1px solid var(--border-color);
  gap: 12px;
  transition: all 0.2s ease;
}

.menu-item-card-premium:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.menu-item-card-premium .item-info-col {
  flex: 1;
}

.veg-indicator {
  width: 12px;
  height: 12px;
  border: 1.5px solid #4CAF50;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.veg-indicator.non-veg {
  border-color: #EF5350;
}

.veg-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4CAF50;
}

.veg-indicator.non-veg .veg-dot {
  background: #EF5350;
}

.menu-item-card-premium h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.menu-item-card-premium .price-row-item {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.menu-item-card-premium p.description {
  font-size: 9.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 4px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.dish-stars-badge {
  font-size: 9px;
  font-weight: 800;
  color: var(--rating-color);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Image & Add Button Col */
.menu-item-card-premium .item-image-col {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.menu-item-card-premium .item-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.qty-selector-premium {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 24px;
  background: #fff;
  border: 1px solid var(--primary-light);
  box-shadow: 0 3px 6px rgba(0,0,0,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  z-index: 5;
  transition: all 0.2s ease;
}

.qty-selector-premium.not-added {
  border-color: var(--border-color);
  justify-content: center;
  cursor: pointer;
}

.qty-selector-premium.not-added:hover {
  background: var(--primary-bg);
  border-color: var(--primary-light);
}

.qty-selector-premium .add-text {
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
}

.qty-selector-premium button.qty-adjust {
  border: none;
  background: none;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  width: 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-selector-premium .qty-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-main);
}

/* ==========================================================================
   AUTH FORMS STYLING
   ========================================================================== */
.welcome-screen[hidden] {
  display: none;
}

.welcome-screen {
  position: absolute;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(30px, env(safe-area-inset-top)) 27px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(255, 232, 208, 0.78), transparent 37%),
    linear-gradient(180deg, #fffaf5 0%, #fff 68%, #fffaf7 100%);
  color: #222a35;
  animation: welcome-screen-enter 360ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.welcome-screen-glow {
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.welcome-screen-glow-one {
  top: 20%;
  left: -145px;
  background: radial-gradient(circle, rgba(255, 116, 67, 0.15), transparent 70%);
}

.welcome-screen-glow-two {
  top: 33%;
  right: -160px;
  background: radial-gradient(circle, rgba(253, 190, 83, 0.19), transparent 70%);
}

.welcome-screen-top {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  flex: 0 0 auto;
}

.welcome-brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff7542, #ef4823);
  box-shadow: 0 6px 14px rgba(235, 81, 39, 0.22);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.welcome-brand-name {
  color: #282d36;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.25px;
}

.welcome-brand-tagline {
  align-self: center;
  margin: 3px 0 0 -5px;
  color: #8c929b;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.75px;
}

.welcome-illustration {
  position: relative;
  display: grid;
  width: min(100%, 320px);
  height: clamp(220px, 32vh, 290px);
  flex: 0 0 auto;
  place-items: center;
  margin: 8px 0 7px;
}

.welcome-illustration-orbit {
  position: absolute;
  border: 1px solid rgba(226, 126, 77, 0.14);
  border-radius: 50%;
}

.welcome-orbit-one {
  width: 236px;
  height: 236px;
}

.welcome-orbit-two {
  width: 192px;
  height: 192px;
  border-style: dashed;
  border-color: rgba(226, 126, 77, 0.19);
}

.welcome-plate {
  position: relative;
  display: grid;
  width: 164px;
  height: 164px;
  place-items: center;
  border: 10px solid #fff;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, #f9c76b 0 5%, transparent 5.5%),
    radial-gradient(circle at 35% 36%, #7ab779 0 7%, transparent 7.5%),
    radial-gradient(circle at 63% 34%, #e9683f 0 7%, transparent 7.5%),
    radial-gradient(circle at 62% 65%, #83b872 0 8%, transparent 8.5%),
    radial-gradient(circle at 37% 66%, #f2a44f 0 8%, transparent 8.5%),
    radial-gradient(circle at 50% 50%, #fff5dc 0 56%, #fff 57%);
  box-shadow: 0 19px 34px rgba(105, 73, 48, 0.16), 0 0 0 1px rgba(161, 119, 81, 0.08);
  transform: rotate(-9deg);
  animation: welcome-plate-float 5s ease-in-out infinite;
}

.welcome-plate::before,
.welcome-plate::after {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #de6743;
  box-shadow: 25px -17px 0 #f0b64e, -31px 11px 0 #79a96e, 19px 34px 0 #e98d4c, -14px -31px 0 #92b66c;
  content: "";
}

.welcome-plate::after {
  width: 3px;
  height: 3px;
  background: #fff;
  box-shadow: 21px 16px 0 #fff, -24px -15px 0 #fff, 5px -30px 0 #fff;
}

.welcome-plate-food {
  z-index: 1;
  font-size: 70px;
  line-height: 1;
  filter: drop-shadow(0 5px 4px rgba(81, 51, 31, 0.13));
  transform: rotate(9deg);
}

.welcome-plate-spark {
  position: absolute;
  z-index: 2;
  color: #ed9550;
  font-size: 23px;
}

.welcome-spark-one {
  top: 6px;
  right: 12px;
}

.welcome-spark-two {
  bottom: 10px;
  left: 11px;
  color: #6fa579;
  font-size: 17px;
}

.welcome-food-card {
  position: absolute;
  z-index: 2;
  display: grid;
  min-width: 100px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1px 7px;
  padding: 8px 11px 8px 8px;
  border: 1px solid rgba(244, 235, 225, 0.95);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 19px rgba(46, 47, 49, 0.09);
  animation: welcome-card-float 4s ease-in-out infinite;
}

.welcome-food-card > span {
  grid-row: span 2;
  font-size: 24px;
}

.welcome-food-card small {
  color: #999da5;
  font-size: 8px;
}

.welcome-food-card-left {
  top: 28%;
  left: 0;
  transform: rotate(-7deg);
}

.welcome-food-card-right {
  right: 0;
  bottom: 24%;
  animation-delay: -1.5s;
  transform: rotate(6deg);
}

.welcome-delivery-badge {
  position: absolute;
  z-index: 3;
  bottom: 8%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(235, 238, 230, 0.9);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 9px 23px rgba(46, 47, 49, 0.11);
  transform: translateX(-50%);
}

.welcome-delivery-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #edfaef;
  color: #329958;
  font-size: 19px;
  font-weight: 800;
}

.welcome-delivery-badge > span:last-child {
  display: grid;
  gap: 1px;
}

.welcome-delivery-badge strong {
  color: #303741;
  font-size: 9px;
}

.welcome-delivery-badge small {
  color: #8d949c;
  font-size: 8px;
}

.welcome-screen-copy {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
}

.welcome-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e95831;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.welcome-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48a36a;
  box-shadow: 0 0 0 3px rgba(72, 163, 106, 0.12);
}

.welcome-screen-copy h1 {
  margin-top: 10px;
  color: #242b35;
  font-size: clamp(34px, 9vw, 43px);
  font-weight: 850;
  letter-spacing: -1.7px;
  line-height: 0.99;
}

.welcome-screen-copy h1 em {
  color: #ef5a32;
  font-style: normal;
}

.welcome-screen-copy p {
  max-width: 290px;
  margin: 10px auto 0;
  color: #858b94;
  font-size: 12px;
  line-height: 1.55;
}

.welcome-screen-actions {
  display: grid;
  width: 100%;
  max-width: 340px;
  gap: 5px;
  margin: 19px auto 0;
}

.welcome-create-account {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(110deg, #f36a3e, #e84926);
  box-shadow: 0 9px 18px rgba(232, 78, 39, 0.2);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.welcome-create-account > span {
  font-size: 18px;
  line-height: 1;
  transition: transform 160ms ease;
}

.welcome-create-account:hover > span {
  transform: translateX(3px);
}

.welcome-create-account:active {
  transform: scale(0.98);
  box-shadow: 0 5px 12px rgba(232, 78, 39, 0.2);
}

.welcome-login,
.welcome-guest {
  min-height: 37px;
  border: 0;
  background: transparent;
  color: #515967;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.welcome-guest {
  min-height: 28px;
  color: #9298a0;
  font-size: 10px;
  font-weight: 600;
}

.welcome-screen-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  color: #9b9fa6;
  font-size: 8px;
}

.welcome-screen-footnote > span {
  color: #3b9b5b;
  font-size: 11px;
  font-weight: 900;
}

.welcome-screen-footnote > i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c4c7cb;
}

@keyframes welcome-screen-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes welcome-plate-float {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-5px); }
}

@keyframes welcome-card-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -5px; }
}

@media (max-height: 740px) {
  .welcome-screen {
    padding-top: max(18px, env(safe-area-inset-top));
  }

  .welcome-illustration {
    height: clamp(175px, 26vh, 210px);
    margin-top: 3px;
  }

  .welcome-orbit-one {
    width: 190px;
    height: 190px;
  }

  .welcome-orbit-two {
    width: 158px;
    height: 158px;
  }

  .welcome-plate {
    width: 137px;
    height: 137px;
  }

  .welcome-plate-food {
    font-size: 58px;
  }

  .welcome-screen-actions {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-screen,
  .welcome-plate,
  .welcome-food-card {
    animation: none;
  }
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-group input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0 12px;
  font-family: var(--font-primary);
  font-size: 13px;
  color: var(--text-main);
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 62, 108, 0.12);
}

/* ==========================================================================
   ENHANCED AUTH INPUTS & SMART VALIDATION (PASSWORD TOGGLE, GPS, PHONE)
   ========================================================================== */
.input-with-icon,
.input-with-action {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-with-icon input {
  padding-right: 42px !important;
}

.input-with-action input {
  padding-right: 108px !important;
}

.toggle-password-btn {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  user-select: none;
  z-index: 5;
}

.toggle-password-btn:hover {
  color: var(--primary);
  background: rgba(255, 62, 108, 0.08);
}

.detect-location-btn {
  position: absolute;
  right: 6px;
  background: rgba(255, 62, 108, 0.08);
  border: 1px solid rgba(255, 62, 108, 0.2);
  color: var(--primary);
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
  white-space: nowrap;
}

.detect-location-btn:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(255, 62, 108, 0.25);
}

.detect-location-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.field-feedback {
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  min-height: 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-feedback.error {
  color: #ef4444;
}

.field-feedback.success {
  color: #10b981;
}

.field-feedback.info {
  color: #3b82f6;
}

.form-group input.invalid-input {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.form-group input.valid-input {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12) !important;
}

.spinner-inline {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 62, 108, 0.3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: moozoSpin 0.8s linear infinite;
  display: inline-block;
}

.error-msg {
  color: var(--error);
  font-size: 11px;
  margin: 6px 0;
  font-weight: 600;
}

.toggle-auth-prompt a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
}

/* Profile View */
.profile-card {
  background: #FFF;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 15px;
}

.profile-avatar {
  width: 70px;
  height: 70px;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  margin: 0 auto 12px auto;
}

.profile-card h3 {
  font-size: 16px;
  font-weight: 800;
}

.profile-card p {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-menu-item {
  background: #FFF;
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  text-align: left;
}

.profile-menu-item:hover {
  background: var(--secondary-light);
}

/* ==========================================================================
   MODAL ALERTS DIALOGS
   ========================================================================== */
.modal-dialog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
  box-shadow: var(--shadow-lg);
  animation: scaleUp 0.25s ease;
}

#address-dialog .modal-content {
  max-height: calc(100% - 20px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.address-book-modal {
  max-width: 520px !important;
}

.address-book-heading,
.address-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.address-book-heading { margin-bottom: 12px; }
.address-book-heading h3 { margin: 3px 0 0; }
.address-book-eyebrow {
  color: var(--primary);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}
.address-book-limit {
  padding: 6px 9px;
  border-radius: 999px;
  background: #f2f4f6;
  color: #657080;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.saved-address-list {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.saved-address-empty {
  padding: 12px;
  border: 1px dashed #d7dce2;
  border-radius: 12px;
  color: #77808d;
  font-size: 11px;
}
.saved-address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e6e9ed;
  border-radius: 12px;
  background: #fff;
}
.saved-address-card.is-selected {
  border-color: rgba(230, 91, 45, .55);
  background: #fff9f6;
}
.saved-address-select {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.saved-address-select strong,
.saved-address-select span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.saved-address-select strong { font-size: 11px; }
.saved-address-select span { margin-top: 3px; color: #747e8b; font-size: 10px; white-space: nowrap; }
.saved-address-actions { display: flex; gap: 5px; }
.saved-address-actions button {
  padding: 6px 7px;
  border: 1px solid #e5e8ec;
  border-radius: 7px;
  background: #fff;
  color: #5c6674;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}
.saved-address-actions .saved-address-delete { color: #c54338; }
.address-editor-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  margin: 12px 0 9px;
}
.address-editor-heading strong { font-size: 12px; }
.address-editor-heading small { color: #77808d; font-size: 10px; }
#address-label-input {
  width: 100%;
  height: 36px;
  margin-bottom: 10px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background: #fbfcfe;
  font: 12px var(--font-primary);
}
.checkout-manage-addresses {
  margin-top: 5px;
  padding: 3px 0;
  color: var(--primary);
  font-size: 10px;
}

.modal-content h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.modal-content textarea {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px;
  font-family: var(--font-primary);
  font-size: 13px;
  resize: none;
}

.address-input-label {
  display: block;
  margin: 0 0 5px;
  color: #343a45;
  font-size: 11px;
  font-weight: 750;
}

.modal-content textarea.address-editor-textarea {
  min-height: 61px;
  max-height: 132px;
  padding: 10px 11px;
  border-color: rgba(62, 73, 90, 0.18);
  background: #fbfcfe;
  color: #303640;
  font-size: 12px;
  line-height: 1.45;
  resize: vertical;
  overflow-y: auto;
}

.modal-content textarea.address-editor-textarea:focus {
  border-color: rgba(230, 91, 45, 0.58);
  outline: 3px solid rgba(230, 91, 45, 0.1);
  background: #fff;
}

.address-lookup-status {
  min-height: 14px;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.4;
}

.address-lookup-status.info {
  color: #727b88;
}

.address-lookup-status.success {
  color: #168454;
}

.address-lookup-status.error {
  color: #cf3f35;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 15px;
}

.text-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 12px;
}

@keyframes scaleUp {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Placeholder boxes */
.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.placeholder-box p {
  font-size: 13px;
  font-weight: 500;
}

/* Order card item */
.orders-filter-bar {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto;
  padding: 2px 1px 6px;
  scrollbar-width: none;
}

.orders-filter-bar::-webkit-scrollbar {
  display: none;
}

.orders-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  padding: 8px 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.orders-filter-chip span {
  min-width: 18px;
  border-radius: 999px;
  background: #f0f2f4;
  color: inherit;
  padding: 2px 5px;
  text-align: center;
  font-size: 10px;
}

.orders-filter-chip:hover,
.orders-filter-chip:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.orders-filter-chip.is-selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.orders-filter-chip.is-selected span {
  background: rgba(255, 255, 255, .2);
}

.order-card[hidden],
.orders-filter-empty[hidden] {
  display: none;
}

.order-card {
  background: #FFF;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-card-header h4 {
  font-size: 13px;
  font-weight: 800;
}

.order-card-header .order-status {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}

.order-status.pending { background: #FFF3E0; color: #E65100; }
.order-status.delivered { background: #E8F5E9; color: #2E7D32; }
.order-status.cancelled { background: #FDECEC; color: #B42318; }
.order-status.preparing,
.order-status.cooked,
.order-status.dispatched,
.order-status.placed { background: #FFF3E0; color: #A44700; }

.order-card-details {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.order-chef-update {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(232, 93, 42, .18);
  border-radius: 15px;
  background: linear-gradient(125deg, #fff8f1, #fff 78%);
}

.order-chef-update-images {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 7px;
}

.order-chef-update-images img {
  width: 46px;
  height: 46px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 13px;
  background: #f5f3ef;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(36, 43, 38, .1);
}

.order-chef-update-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.order-chef-update-copy > span {
  color: #d45a32;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .65px;
}

.order-chef-update-copy > strong {
  overflow: hidden;
  color: #303b34;
  font-size: 11px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-chef-update-copy > small {
  color: #606e64;
  font-size: 9px;
  font-weight: 750;
}

.order-chef-update-copy > p {
  margin: 2px 0 0;
  color: #79827b;
  font-size: 9px;
  line-height: 1.45;
}

.order-card-total {
  font-size: 13px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   RESPONSIVE LAYOUT (NATIVE MOBILE OVERRIDE)
   ========================================================================== */
@media (max-width: 500px) {
  body {
    background-color: var(--bg-screen);
  }
  
  .device-simulator {
    padding: 0;
  }
  
  .phone-frame {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .phone-camera, .phone-speaker {
    display: none;
  }
  
  .phone-status-bar {
    display: none; /* Hide simulated clock bar, native Android covers this */
  }
  
  .app-container {
    border-radius: 0;
  }
}

/* Map buttons styling */
.primary-action-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 15px;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.primary-action-btn:hover {
  background: var(--primary-hover);
}
.primary-action-btn:active {
  transform: scale(0.97);
}
.primary-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Product Detail Drawer styling */
.product-detail-content {
  max-height: 94%;
  overflow: hidden;
  border-radius: 26px 26px 0 0;
  background: #fff;
}
.product-detail-content .drawer-body {
  min-height: 0;
  overscroll-behavior: contain;
}
.product-detail-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  border: 0;
}
.product-detail-close .close-btn {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 18px rgba(23, 32, 51, .18);
  color: #172033;
  font-size: 24px;
  backdrop-filter: blur(10px);
}
.product-detail-content .product-banner-img {
  height: clamp(205px, 29vh, 280px);
  background: #f3f1ed;
  position: relative;
  overflow: hidden;
}
.product-detail-info {
  padding: 20px 22px 26px;
}
.product-detail-info .card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}
.product-detail-name {
  margin: 9px 0 3px;
  color: var(--text-main);
  font-size: 25px;
  font-weight: 850;
  line-height: 1.12;
}
.product-detail-restaurant {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}
.product-detail-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 13px 0 20px;
}
.product-detail-meta .rating,
.product-detail-stock {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 7px;
  background: #fff7e8;
  color: #a76b08;
  font-size: 11px;
  font-weight: 800;
}
.product-detail-stock {
  background: #eef8f1;
  color: var(--success);
}
.product-detail-description {
  margin: 18px 0 0;
  color: #65748b;
  font-size: 13px;
  line-height: 1.65;
}
.product-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-varieties {
  display: grid;
  gap: 9px;
  margin: 0 0 18px;
}

.quick-variety-picker {
  display: block;
  width: 100%;
  max-width: 220px;
  min-height: 34px;
  margin-top: 7px;
  padding: 0 9px;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background: #fff;
  color: var(--text-main);
  font: 600 11px var(--font-primary);
}

.product-varieties[hidden] {
  display: none;
}

.product-varieties-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 5px;
}

.product-varieties-heading strong {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 850;
}

.product-varieties-heading small {
  color: var(--text-muted);
  font-size: 10px;
}

.product-variety-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 11px 13px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: #fff;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.product-variety-option:hover,
.product-variety-option:focus-visible {
  border-color: var(--primary);
  outline: none;
}

.product-variety-option.is-selected {
  border-color: var(--primary);
  background: #fff8f4;
  box-shadow: 0 0 0 2px rgba(232, 93, 42, .1);
}

.product-variety-option:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.product-variety-copy {
  display: grid;
  gap: 3px;
}

.product-variety-copy strong,
.product-variety-price {
  font-size: 13px;
  font-weight: 800;
}

.product-variety-copy small {
  color: var(--text-muted);
  font-size: 11px;
}

.product-variety-price {
  color: var(--primary);
  white-space: nowrap;
}

.product-variety-check {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1.5px solid #cfd5dc;
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
}

.product-detail-footer {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(74px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #edf0f3;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 24px rgba(23, 32, 51, .06);
  backdrop-filter: blur(14px);
}
.product-detail-total {
  display: grid;
  gap: 2px;
}
.product-detail-total-label {
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-detail-total-price {
  color: var(--primary);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}
.product-detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-detail-quantity {
  height: 42px;
  margin: 0;
  padding: 0 5px;
  border-radius: 12px;
  background: #f3f6f8;
}
.product-detail-quantity .qty-btn {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
}
.product-detail-quantity .qty-count {
  min-width: 16px;
  margin: 0 4px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}
.product-detail-add {
  min-width: 122px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 390px) {
  .product-detail-info { padding-right: 17px; padding-left: 17px; }
  .product-detail-footer { grid-template-columns: minmax(64px, 1fr) auto; gap: 9px; padding-right: 12px; padding-left: 12px; }
  .product-detail-total-price { font-size: 18px; }
  .product-detail-actions { gap: 7px; }
  .product-detail-quantity { padding: 0 3px; }
  .product-detail-quantity .qty-btn { width: 26px; }
  .product-detail-add { min-width: 106px; padding: 0 11px; }
}

.product-variety-option.is-selected .product-variety-check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.product-variety-option:disabled .product-variety-check {
  visibility: hidden;
}

/* Floating Cart Bucket Bar */
.floating-cart-bucket {
  position: absolute;
  bottom: -80px; /* Hidden initially, slides up */
  left: 16px;
  right: 16px;
  height: 56px;
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  box-shadow: 0 8px 30px rgba(255, 87, 34, 0.35);
  z-index: 450; /* Float just below drawer but above general scroll content */
  cursor: pointer;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.2s ease;
}

.floating-cart-bucket.active {
  bottom: 78px; /* Slides up just above bottom nav */
}

.floating-cart-bucket:active {
  transform: scale(0.97);
}

.bucket-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bucket-icon-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bucket-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #FFF;
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
  height: 16px;
  min-width: 16px;
  padding: 0 3px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
}

/* Bounce animation for bucket badge */
@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.bucket-count.bounce {
  animation: badgeBounce 0.3s ease;
}

.bucket-price-info {
  display: flex;
  flex-direction: column;
}

/* Flying Cart Dot Animation */
.flying-cart-dot {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
  z-index: 9999;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

/* Restored and Polished Menu Item Row (used in Recommendations, Search & Favorites) */
.menu-item-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.menu-item-row:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.menu-item-row .item-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-screen);
  flex-shrink: 0;
}

.menu-item-row .item-img img, .menu-item-row .item-img svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-row .item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.menu-item-row .item-details h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-item-row .item-details p {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 1px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.menu-item-row .item-details .price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
}

/* Wishlist star/heart buttons inside rows */
.menu-item-row .fav-btn {
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.menu-item-row .fav-btn:hover {
  transform: scale(1.1);
}

/* AI Recommendation Premium Card */
.ai-recommendation-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: linear-gradient(135deg, #FFFDE7 0%, #FFF3E0 100%);
  border: 1px solid #FFE082;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
}

.ai-recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.ai-badge {
  background: var(--primary);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 6px;
  border-radius: 6px;
  width: max-content;
  margin-bottom: 5px;
  display: inline-block;
  text-transform: uppercase;
}

/* Adjust cart bucket bottom position on pages without bottom navigation */
.restaurant-page-body .floating-cart-bucket.active {
  bottom: 20px;
}

/* Standalone restaurant storefront */
.restaurant-page-body #restaurant-view {
  background: #f7f7f4;
}

.restaurant-page-body .restaurant-hero {
  isolation: isolate;
  height: 238px;
  background:
    radial-gradient(ellipse at 74% 24%, rgba(243, 190, 116, 0.38), transparent 42%),
    linear-gradient(135deg, #25221f, #564437 54%, #9a6a3d);
}

.restaurant-page-body .restaurant-hero::before {
  position: absolute;
  inset: -55% auto -55% -45%;
  z-index: 1;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  content: "";
  pointer-events: none;
  transform: rotate(18deg);
  animation: restaurantHeroSheen 7.5s ease-in-out 1.2s infinite;
}

.restaurant-page-body .hero-banner-img {
  position: relative;
  z-index: 0;
}

.restaurant-page-body .hero-banner-img img {
  animation: restaurantHeroReveal 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.restaurant-page-body .hero-gradient-overlay {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, 0.3), transparent 32%),
    linear-gradient(0deg, rgba(16, 14, 12, 0.5), transparent 72%);
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -42px;
  padding: 0 14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 18px 17px 14px;
  border-color: rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(30, 24, 18, 0.13), 0 2px 8px rgba(30, 24, 18, 0.06);
  animation: restaurantInfoLift 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.restaurant-page-body .restaurant-main-info h2 {
  font-size: 21px;
  letter-spacing: -0.55px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  font-size: 12px;
}

.restaurant-page-body .rating-badge-premium {
  padding: 6px 9px;
  border-radius: 10px;
  box-shadow: 0 5px 12px rgba(56, 142, 60, 0.18);
}

.restaurant-page-body .restaurant-stats-grid {
  padding: 5px 0 10px;
}

.restaurant-page-body .stat-box {
  min-height: 56px;
  border-right: 1px solid #edf0f2;
}

.restaurant-page-body .stat-box:last-child {
  border-right: 0;
}

.restaurant-page-body .offer-card-premium {
  flex-basis: 175px;
  min-height: 56px;
  border-color: rgba(233, 119, 58, 0.18);
  background: linear-gradient(135deg, #fff8ed, #fff1dd);
}

.restaurant-page-body .menu-sticky-controls {
  padding: 12px 16px 10px;
  border-top: 7px solid #f7f7f4;
  border-bottom-color: #e9ecef;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(21, 28, 36, 0.045);
  backdrop-filter: blur(16px);
}

.restaurant-page-body .menu-search-bar input {
  height: 42px;
  border-radius: 13px;
  background: #f5f6f7;
}

.restaurant-page-body .filter-chip {
  min-height: 32px;
  box-shadow: 0 2px 7px rgba(19, 31, 45, 0.035);
}

.restaurant-page-body .menu-list-premium {
  padding: 14px 15px 108px;
  background:
    radial-gradient(ellipse at 92% 0, rgba(255, 244, 225, 0.45), transparent 34%),
    #f7f7f4;
}

.restaurant-page-body .category-header-premium {
  margin-top: 18px;
  padding: 0 1px 9px;
  border-bottom: 1px solid #e5e7eb;
  color: #222a32;
  font-size: 14px;
  letter-spacing: 1px;
}

.restaurant-page-body .category-header-premium .item-count {
  padding: 4px 8px;
  border: 1px solid #e9ebee;
  border-radius: 999px;
  background: #fff;
}

.restaurant-page-body .vertical-list {
  gap: 11px;
}

.restaurant-page-body .menu-item-card-premium {
  min-height: 126px;
  padding: 14px;
  border-color: #eceef0;
  border-radius: 19px;
  box-shadow: 0 5px 16px rgba(24, 32, 40, 0.045);
}

.restaurant-page-body #rest-menu-items-container.is-entering > .category-section {
  animation: restaurantMenuArrive 520ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.restaurant-page-body #rest-menu-items-container.is-entering > .category-section:nth-child(2) {
  animation-delay: 80ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering > .category-section:nth-child(3) {
  animation-delay: 150ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering > .category-section:nth-child(4) {
  animation-delay: 220ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium {
  animation: dishCardArrive 480ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium:nth-child(2) {
  animation-delay: 55ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium:nth-child(3) {
  animation-delay: 105ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium:nth-child(4) {
  animation-delay: 155ms;
}

.restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium:nth-child(n+5) {
  animation-delay: 190ms;
}

.restaurant-page-body .menu-item-card-premium:hover {
  border-color: rgba(255, 87, 34, 0.25);
  box-shadow: 0 10px 24px rgba(24, 32, 40, 0.085);
}

.restaurant-page-body .menu-item-card-premium h4 {
  font-size: 14px;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  margin-top: 6px;
  font-size: 13px;
}

.restaurant-page-body .menu-item-card-premium p.description {
  max-width: 225px;
  font-size: 10px;
  line-height: 1.45;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 92px;
  height: 92px;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 5px 13px rgba(22, 28, 35, 0.1);
}

.restaurant-page-body .qty-selector-premium {
  bottom: -7px;
  width: 78px;
  height: 27px;
  border-radius: 9px;
  box-shadow: 0 5px 12px rgba(22, 28, 35, 0.13);
}

.restaurant-page-body .floating-cart-bucket.active {
  bottom: 17px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  background: linear-gradient(105deg, #242a31, #111820);
  box-shadow: 0 14px 34px rgba(14, 21, 30, 0.28);
}

.restaurant-welcome-scene {
  position: absolute;
  inset: 0;
  z-index: 1300;
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(255, 211, 139, 0.23), transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(213, 133, 69, 0.14), transparent 48%),
    #151311;
  opacity: 1;
  perspective: 1000px;
  isolation: isolate;
}

.restaurant-welcome-scene::before,
.restaurant-welcome-scene::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.restaurant-welcome-scene::before {
  inset: 8% 8% 5%;
  z-index: 1;
  border: 1px solid rgba(247, 204, 135, 0.18);
  border-bottom: 0;
  border-radius: 48% 48% 0 0 / 20% 20% 0 0;
  box-shadow: 0 0 42px rgba(249, 196, 115, 0.09), inset 0 0 38px rgba(249, 196, 115, 0.06);
}

.restaurant-welcome-scene::after {
  inset: -30%;
  z-index: 1;
  background:
    radial-gradient(circle, rgba(255, 236, 184, 0.85) 0 1px, transparent 2px) 12% 34% / 97px 113px,
    radial-gradient(circle, rgba(255, 188, 95, 0.75) 0 1px, transparent 2px) 78% 69% / 131px 107px;
  opacity: 0;
  animation: welcomeDustDrift 5.5s ease-in-out infinite alternate;
}

.restaurant-welcome-scene.is-active {
  display: flex;
}

.restaurant-welcome-scene.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.restaurant-welcome-scene.is-opening {
  animation: restaurantSceneReveal 3s ease forwards;
}

.welcome-doorway-glow {
  position: absolute;
  top: 17%;
  bottom: 12%;
  left: 50%;
  z-index: 1;
  width: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 204, 121, 0.42), rgba(255, 177, 90, 0.1) 38%, transparent 70%);
  filter: blur(17px);
  opacity: 0;
  transform: translateX(-50%) scale(0.65);
}

.restaurant-welcome-scene.is-opening .welcome-doorway-glow {
  animation: doorwayGlowBloom 2.8s ease-out both;
}

.welcome-spark {
  position: absolute;
  z-index: 5;
  color: #ffe3a8;
  opacity: 0;
  text-shadow: 0 0 14px rgba(255, 199, 104, 0.9);
}

.welcome-spark-one {
  top: 27%;
  left: 24%;
  font-size: 23px;
}

.welcome-spark-two {
  top: 38%;
  right: 21%;
  font-size: 18px;
}

.welcome-spark-three {
  bottom: 29%;
  left: 31%;
  font-size: 14px;
}

.restaurant-welcome-scene.is-opening .welcome-spark-one {
  animation: welcomeSparkle 1.7s ease-in-out 650ms infinite;
}

.restaurant-welcome-scene.is-opening .welcome-spark-two {
  animation: welcomeSparkle 1.9s ease-in-out 900ms infinite reverse;
}

.restaurant-welcome-scene.is-opening .welcome-spark-three {
  animation: welcomeSparkle 1.5s ease-in-out 1.1s infinite;
}

.restaurant-gate {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 53%;
  border-color: rgba(236, 196, 130, 0.65);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.19)),
    repeating-linear-gradient(90deg, transparent 0 27px, rgba(238, 198, 134, 0.12) 28px 31px),
    linear-gradient(145deg, #67452d, #302116 53%, #79502f);
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.42), 0 0 32px rgba(0, 0, 0, 0.22);
  backface-visibility: hidden;
  transition: transform 1.55s cubic-bezier(0.68, 0, 0.18, 1), box-shadow 1.2s ease;
}

.restaurant-gate::after {
  position: absolute;
  top: 6%;
  right: 9px;
  bottom: 6%;
  left: 9px;
  border: 1px solid rgba(240, 202, 143, 0.42);
  border-radius: 8px;
  box-shadow: inset 0 0 24px rgba(245, 196, 120, 0.07), 0 0 12px rgba(245, 196, 120, 0.05);
  content: "";
}

.restaurant-gate::before {
  position: absolute;
  top: 48%;
  z-index: 1;
  width: 9px;
  height: 42px;
  border: 1px solid rgba(255, 224, 165, 0.85);
  border-radius: 8px;
  background: linear-gradient(90deg, #8b6235, #f2d190 45%, #8b6235);
  box-shadow: 0 0 16px rgba(245, 195, 111, 0.35);
  content: "";
}

.restaurant-gate-left {
  left: 0;
  border-right: 2px solid rgba(239, 204, 151, 0.65);
  transform-origin: left center;
}

.restaurant-gate-left::before {
  right: 14px;
}

.restaurant-gate-right {
  right: 0;
  border-left: 2px solid rgba(239, 204, 151, 0.65);
  transform-origin: right center;
}

.restaurant-gate-right::before {
  left: 14px;
}

.restaurant-welcome-scene.is-opening .restaurant-gate-left {
  transform: rotateY(-104deg) translateX(-6%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35), 16px 0 25px rgba(0, 0, 0, 0.18);
}

.restaurant-welcome-scene.is-opening .restaurant-gate-right {
  transform: rotateY(104deg) translateX(6%);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.35), -16px 0 25px rgba(0, 0, 0, 0.18);
}

.restaurant-welcome-card {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(88%, 330px);
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(239, 205, 158, 0.42);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.99), rgba(255, 242, 222, 0.98));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), 0 0 38px rgba(255, 211, 139, 0.2);
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  transition: opacity 450ms ease 450ms, transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1) 450ms;
  overflow: hidden;
}

.restaurant-welcome-card::after {
  position: absolute;
  top: -70%;
  left: -45%;
  width: 34%;
  height: 240%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  content: "";
  opacity: 0;
  transform: rotate(22deg);
}

.restaurant-welcome-scene.is-opening .restaurant-welcome-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.restaurant-welcome-scene.is-opening .restaurant-welcome-card::after {
  animation: welcomeCardShimmer 1.2s ease-in-out 1.15s both;
}

.restaurant-welcome-chef {
  position: relative;
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border: 1px solid rgba(255, 210, 146, 0.8);
  border-radius: 20px;
  background: radial-gradient(circle at 35% 25%, #fff, #ffe7c4 62%, #ffd7a5);
  box-shadow: 0 8px 20px rgba(176, 110, 40, 0.16), inset 0 1px 0 #fff;
  font-size: 38px;
  animation: chefWelcomeWave 760ms cubic-bezier(0.2, 0.8, 0.3, 1) 500ms both;
}

.restaurant-welcome-chef > span {
  display: block;
  transform-origin: 50% 85%;
}

.restaurant-welcome-chef i,
.chef-cart-mascot i {
  position: absolute;
  top: 8px;
  right: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.75);
  opacity: 0;
}

.restaurant-welcome-scene.is-opening .restaurant-welcome-chef i {
  animation: chefGlint 1.15s ease-out 850ms 2;
}

.restaurant-welcome-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.restaurant-welcome-copy small {
  color: #a06b32;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.1px;
}

.restaurant-welcome-copy strong {
  overflow: hidden;
  color: #20252a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-welcome-copy > span {
  color: #69717a;
  font-size: 9px;
}

.restaurant-welcome-skip {
  position: absolute;
  right: 12px;
  bottom: -41px;
  min-height: 31px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(23, 20, 17, 0.62);
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.chef-cart-moment[hidden] {
  display: none;
}

.chef-cart-moment {
  position: absolute;
  right: 15px;
  bottom: 91px;
  left: 15px;
  z-index: 1200;
  display: flex;
  min-height: 55px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(22, 29, 37, 0.2);
  pointer-events: none;
}

.chef-cart-moment.is-celebrating {
  animation: chefCartArrive 2.15s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.chef-cart-trail {
  position: absolute;
  top: 50%;
  right: 52px;
  left: 26px;
  z-index: -1;
  border-top: 2px dashed rgba(234, 163, 70, 0.36);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.chef-cart-moment.is-celebrating .chef-cart-trail {
  animation: chefTrailDraw 620ms ease-out 150ms both;
}

.chef-cart-mascot {
  position: relative;
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid #ffe1b3;
  border-radius: 15px;
  background: radial-gradient(circle at 35% 25%, #fff, #fff0db 74%);
  box-shadow: 0 5px 13px rgba(179, 119, 49, 0.15);
  font-size: 29px;
}

.chef-cart-mascot > span {
  transform-origin: 50% 85%;
}

.chef-cart-moment.is-celebrating .chef-cart-mascot > span {
  animation: chefCarry 440ms ease-in-out infinite alternate;
}

.chef-cart-moment.is-celebrating .chef-cart-mascot i {
  animation: chefGlint 900ms ease-out 250ms both;
}

.chef-cart-dish {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  border: 2px solid #fff;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 3px 9px rgba(20, 24, 30, 0.16);
}

.chef-cart-message {
  overflow: hidden;
  color: #252b32;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chef-cart-spark {
  margin-left: auto;
  color: #e9a23b;
  font-size: 19px;
  transform-origin: center;
}

.chef-cart-moment.is-celebrating .chef-cart-spark {
  animation: chefSpark 650ms ease-in-out infinite alternate;
}

.chef-cart-moment.is-celebrating .chef-cart-dish {
  animation: dishArrive 780ms cubic-bezier(0.18, 0.75, 0.25, 1) 100ms both, chefDishBob 800ms ease-in-out 900ms infinite alternate;
}

.restaurant-page-body .floating-cart-bucket.chef-receiving {
  animation: cartWelcomeBounce 650ms cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes restaurantHeroReveal {
  from { opacity: 0.55; transform: scale(1.08); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes restaurantHeroSheen {
  0%, 24% { left: -45%; opacity: 0; }
  31% { opacity: 1; }
  42%, 100% { left: 125%; opacity: 0; }
}

@keyframes restaurantInfoLift {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes restaurantMenuArrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dishCardArrive {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes restaurantSceneReveal {
  0%, 83% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@keyframes chefWelcomeWave {
  0% { opacity: 0; transform: translateX(-16px) translateY(8px) rotate(-18deg) scale(0.82); }
  55% { opacity: 1; transform: translateX(2px) translateY(-4px) rotate(9deg) scale(1.08); }
  75% { transform: translateX(0) translateY(1px) rotate(-5deg) scale(0.98); }
  100% { opacity: 1; transform: translateX(0) translateY(0) rotate(0) scale(1); }
}

@keyframes chefCartArrive {
  0% { opacity: 0; transform: translateY(30px) scale(0.86); }
  13% { opacity: 1; transform: translateY(-5px) scale(1.025); }
  22%, 77% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.98); }
}

@keyframes chefCarry {
  from { transform: translateY(2px) rotate(-8deg); }
  to { transform: translateY(-4px) rotate(8deg); }
}

@keyframes chefSpark {
  from { opacity: 0.55; transform: scale(0.85) rotate(-12deg); }
  to { opacity: 1; transform: scale(1.1) rotate(10deg); }
}

@keyframes welcomeDustDrift {
  from { opacity: 0.25; transform: translate3d(-1%, 1%, 0) scale(1); }
  to { opacity: 0.7; transform: translate3d(1%, -2%, 0) scale(1.08); }
}

@keyframes doorwayGlowBloom {
  0% { opacity: 0; transform: translateX(-50%) scale(0.65); }
  40% { opacity: 1; transform: translateX(-50%) scale(1.08); }
  100% { opacity: 0.74; transform: translateX(-50%) scale(1); }
}

@keyframes welcomeSparkle {
  0%, 100% { opacity: 0; transform: translateY(7px) scale(0.5) rotate(-25deg); }
  45%, 60% { opacity: 1; transform: translateY(0) scale(1.15) rotate(12deg); }
}

@keyframes welcomeCardShimmer {
  0% { left: -45%; opacity: 0; }
  20% { opacity: 0.8; }
  100% { left: 125%; opacity: 0; }
}

@keyframes chefGlint {
  0% { opacity: 0; transform: scale(0.2); }
  40% { opacity: 1; transform: scale(1.25); }
  100% { opacity: 0; transform: scale(0.4); }
}

@keyframes chefTrailDraw {
  to { transform: translateY(-50%) scaleX(1); }
}

@keyframes dishArrive {
  0% { opacity: 0; transform: translate(-18px, 10px) scale(0.35) rotate(-24deg); }
  65% { opacity: 1; transform: translate(3px, -2px) scale(1.14) rotate(7deg); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}

@keyframes chefDishBob {
  from { transform: translateY(0) rotate(-4deg); }
  to { transform: translateY(-3px) rotate(4deg); }
}

@keyframes cartWelcomeBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-9px) scale(1.025); }
  65% { transform: translateY(2px) scale(0.99); }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-page-body .hero-banner-img img,
  .restaurant-page-body .restaurant-hero::before,
  .restaurant-page-body .restaurant-info-card,
  .restaurant-page-body #rest-menu-items-container.is-entering > .category-section,
  .restaurant-page-body #rest-menu-items-container.is-entering .menu-item-card-premium,
  .restaurant-page-body .floating-cart-bucket.chef-receiving,
  .restaurant-page-body .category-section,
  .restaurant-welcome-scene,
  .restaurant-gate,
  .restaurant-welcome-card,
  .restaurant-welcome-chef,
  .welcome-doorway-glow,
  .welcome-spark,
  .chef-cart-moment,
  .chef-cart-mascot,
  .chef-cart-trail,
  .chef-cart-dish,
  .chef-cart-spark {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Persistent animated ordering companion */
.moozo-chef-helper {
  position: absolute;
  right: 12px;
  bottom: calc(78px + env(safe-area-inset-bottom));
  z-index: 900;
  display: flex;
  width: min(286px, calc(100% - 24px));
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}

.chef-speech-card {
  position: relative;
  width: min(100%, 274px);
  padding: 11px 13px 12px;
  border: 1px solid rgba(41, 49, 62, 0.08);
  border-radius: 17px 17px 5px 17px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(25, 34, 50, 0.17), 0 2px 5px rgba(25, 34, 50, 0.07);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 200ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.chef-speech-card.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chef-speech-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #e65b2d;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.3px;
}

.chef-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1eaa69;
  box-shadow: 0 0 0 3px rgba(30, 170, 105, 0.12);
}

.chef-speech-heading button {
  display: grid;
  width: 23px;
  height: 23px;
  margin: -3px -5px -3px auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #626b78;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.chef-speech-heading .chef-settings-trigger {
  margin-left: auto;
  font-size: 13px;
}

.chef-speech-heading .chef-settings-trigger + button {
  margin-left: 0;
}

.chef-speech-card p {
  display: -webkit-box;
  max-height: 4.65em;
  margin: 6px 0 0;
  overflow: hidden;
  color: #29313d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.chef-addon-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding: 8px;
  border: 1px solid rgba(230, 91, 45, 0.14);
  border-radius: 12px;
  background: linear-gradient(110deg, #fff8f3, #fff);
}

.chef-addon-suggestion[hidden] {
  display: none;
}

.chef-addon-suggestion > span {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: #555e6b;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.chef-addon-suggestion > button {
  min-height: 31px;
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #f45a2a, #e94616);
  color: #fff;
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 3px 9px rgba(233, 70, 22, 0.17);
  pointer-events: auto;
}

.chef-addon-suggestion > button:active {
  transform: scale(0.97);
}

.chef-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.chef-quick-actions[hidden] {
  display: none;
}

.chef-quick-actions button {
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid rgba(230, 91, 45, 0.18);
  border-radius: 999px;
  background: #fff6f0;
  color: #d9572f;
  font-family: var(--font-primary);
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
  pointer-events: auto;
}

.chef-quick-actions button:active {
  transform: scale(0.97);
}

.chef-avatar-button {
  position: relative;
  display: grid;
  width: 72px;
  height: 78px;
  padding: 0;
  place-items: end center;
  border: 0;
  border-radius: 22px;
  background: radial-gradient(ellipse at 50% 65%, #fff4e7, rgba(255, 244, 231, 0) 68%);
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 7px 8px rgba(45, 49, 57, 0.16));
  -webkit-tap-highlight-color: transparent;
}

.chef-avatar {
  position: relative;
  display: block;
  width: 64px;
  height: 74px;
  transform-origin: 50% 100%;
  animation: chefIdle 2.8s ease-in-out infinite;
}

.chef-head {
  position: absolute;
  top: 17px;
  left: 15px;
  z-index: 3;
  width: 36px;
  height: 35px;
  border: 1px solid rgba(128, 77, 42, 0.15);
  border-radius: 47% 47% 45% 45%;
  background: linear-gradient(145deg, #ffdfbd, #f4b985);
  box-shadow: inset 0 -3px 0 rgba(185, 105, 65, 0.1);
}

.chef-hat {
  position: absolute;
  top: 3px;
  left: 12px;
  z-index: 4;
  width: 40px;
  height: 25px;
  border-radius: 18px 18px 7px 7px;
  background: linear-gradient(150deg, #fff, #e9edf2);
  box-shadow: 0 2px 4px rgba(45, 49, 57, 0.17), inset 0 2px 0 #fff;
}

.chef-hat::before,
.chef-hat::after {
  position: absolute;
  bottom: 5px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f1f3f6);
  content: "";
}

.chef-hat::before {
  top: -6px;
  left: 4px;
  width: 21px;
  height: 20px;
}

.chef-hat::after {
  top: -4px;
  right: 2px;
  width: 20px;
  height: 18px;
}

.chef-hat i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: #fff;
}

.chef-eye {
  position: absolute;
  top: 13px;
  z-index: 1;
  width: 3px;
  height: 4px;
  border-radius: 50%;
  background: #41352f;
}

.chef-eye-left { left: 10px; }
.chef-eye-right { right: 10px; }

.chef-cheek {
  position: absolute;
  top: 19px;
  width: 6px;
  height: 3px;
  border-radius: 50%;
  background: rgba(226, 109, 89, 0.35);
}

.chef-cheek-left { left: 4px; }
.chef-cheek-right { right: 4px; }

.chef-smile {
  position: absolute;
  bottom: 6px;
  left: 14px;
  width: 9px;
  height: 5px;
  border-bottom: 1.5px solid #8d4b3e;
  border-radius: 0 0 12px 12px;
}

.chef-neck {
  position: absolute;
  top: 47px;
  left: 27px;
  z-index: 2;
  width: 11px;
  height: 10px;
  background: #e9aa79;
}

.chef-body {
  position: absolute;
  bottom: 0;
  left: 11px;
  z-index: 2;
  width: 43px;
  height: 27px;
  overflow: hidden;
  border: 1px solid rgba(47, 58, 75, 0.1);
  border-radius: 17px 17px 11px 11px;
  background: linear-gradient(90deg, #fff 0 43%, #e74c32 44% 56%, #fff 57%);
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.9);
}

.chef-jacket-line {
  position: absolute;
  top: -2px;
  left: 20px;
  width: 1px;
  height: 28px;
  background: rgba(139, 70, 53, 0.3);
}

.chef-button {
  position: absolute;
  left: 21px;
  z-index: 1;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #f8d681;
}

.chef-button-one { top: 9px; }
.chef-button-two { top: 17px; }

.chef-arm {
  position: absolute;
  top: 52px;
  z-index: 1;
  width: 10px;
  height: 19px;
  border: 1px solid rgba(47, 58, 75, 0.08);
  border-radius: 8px;
  background: linear-gradient(90deg, #fff, #f0f2f5);
  transform-origin: 50% 10%;
}

.chef-arm-left {
  left: 7px;
  transform: rotate(22deg);
}

.chef-arm-right {
  right: 7px;
  transform: rotate(-22deg);
}

.chef-avatar-status {
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #20a96a;
  box-shadow: 0 2px 5px rgba(25, 34, 50, 0.2);
}

.moozo-chef-helper.is-disabled .chef-avatar-button {
  filter: grayscale(0.7) drop-shadow(0 5px 6px rgba(45, 49, 57, 0.12));
}

.moozo-chef-helper.is-disabled .chef-avatar-status {
  background: #a1a8b1;
}

.moozo-chef-helper.is-speaking .chef-avatar {
  animation: chefTalk 280ms ease-in-out 3;
}

.moozo-chef-helper.is-speaking .chef-arm-right {
  animation: chefWave 360ms ease-in-out 2;
}

.moozo-chef-helper.is-cart-guide {
  visibility: hidden;
}

.cart-chef-guide {
  display: flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(41, 49, 62, 0.07);
  background: linear-gradient(100deg, #fff8f2, #fff);
  color: #29313d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.cart-chef-guide[hidden] {
  display: none;
}

.cart-chef-avatar {
  position: relative;
  width: 29px;
  height: 34px;
  flex: 0 0 29px;
}

.cart-chef-avatar .chef-avatar {
  position: absolute;
  top: 0;
  left: 0;
  animation: cartChefIdle 2.8s ease-in-out infinite;
  transform: scale(0.45);
  transform-origin: top left;
}

.cart-chef-guide > span:last-child {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@keyframes cartChefIdle {
  0%, 100% { transform: scale(0.45) translateY(0); }
  50% { transform: scale(0.45) translateY(-1.35px); }
}

.moozo-chef-helper.is-payment-guide {
  z-index: 1210;
}

@keyframes chefIdle {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(1deg); }
}

@keyframes chefTalk {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.025); }
}

@keyframes chefWave {
  0%, 100% { transform: rotate(-22deg); }
  50% { transform: rotate(-47deg); }
}

@media (max-width: 360px) {
  .moozo-chef-helper {
    right: 8px;
    width: min(272px, calc(100% - 16px));
  }

  .chef-speech-card {
    width: min(100%, 258px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chef-avatar,
  .moozo-chef-helper.is-speaking .chef-avatar,
  .moozo-chef-helper.is-speaking .chef-arm-right {
    animation: none !important;
  }

  .chef-speech-card {
    transition: none;
  }
}

.chef-settings-dialog {
  z-index: 1220;
}

.chef-settings-content {
  width: 100%;
  max-width: 360px;
  padding: 20px;
  border: 1px solid rgba(41, 49, 62, 0.08);
  border-radius: 22px;
  background: linear-gradient(160deg, #fff, #fffaf7);
  box-shadow: 0 20px 50px rgba(20, 29, 44, 0.23);
}

.chef-settings-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.chef-settings-heading > div > span {
  color: #e65b2d;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.25px;
}

.chef-settings-heading h2 {
  margin-top: 4px;
  color: #252b35;
  font-size: 20px;
  font-weight: 800;
}

.chef-settings-close {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f3f6;
  color: #343a45;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.chef-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
  cursor: pointer;
}

.chef-setting-row > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.chef-setting-row strong {
  color: #29313d;
  font-size: 12px;
  font-weight: 750;
}

.chef-setting-row small {
  color: #7f8792;
  font-size: 9px;
  line-height: 1.4;
}

.chef-setting-row input {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #cbd1d9;
  cursor: pointer;
  transition: background 160ms ease;
}

.chef-setting-row input::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 30, 43, 0.2);
  content: "";
  transition: transform 160ms ease;
}

.chef-setting-row input:checked {
  background: #198852;
}

.chef-setting-row input:checked::before {
  transform: translateX(18px);
}

.chef-setting-row input:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.chef-settings-note {
  margin: 11px 0 12px;
  color: #79818d;
  font-size: 9px;
  line-height: 1.55;
}

.chef-voice-test {
  width: 100%;
  min-height: 39px;
  border: 1px solid rgba(230, 91, 45, 0.2);
  border-radius: 11px;
  background: #fff4ed;
  color: #d9572f;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.chef-voice-test:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

/* Modern restaurant storefront */
.restaurant-page-body #restaurant-view {
  background: #f5f4f0;
}

.restaurant-page-body .restaurant-hero {
  height: 236px;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(255, 163, 90, 0.25), transparent 38%),
    linear-gradient(140deg, #f5efe7 0%, #f8fafc 38%, #edf7ef 100%);
  border-bottom: 1px solid rgba(26, 30, 33, 0.06);
}

.restaurant-page-body .hero-banner-img img {
  animation: restaurantHeroAtmosphere 900ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
  filter: brightness(0.94) saturate(1.1) contrast(1.06);
  object-position: center center;
}

@keyframes restaurantHeroAtmosphere {
  from { opacity: 0.08; transform: scale(1.05); }
  to { opacity: 0.14; transform: scale(1.015); }
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(135deg, rgba(17, 25, 24, 0.4), rgba(39, 34, 27, 0.3)),
    linear-gradient(180deg, rgba(12, 17, 18, 0.44), rgba(12, 17, 18, 0.06) 38%),
    linear-gradient(0deg, rgba(12, 17, 18, 0.76), rgba(12, 17, 18, 0.04) 82%);
}

.restaurant-page-body .restaurant-floating-header {
  top: 18px;
  left: 17px;
  right: 17px;
}

.restaurant-page-body .header-circle-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(11, 17, 21, 0.2);
  backdrop-filter: blur(12px);
}

.restaurant-hero-brand {
  position: absolute;
  right: 24px;
  bottom: 68px;
  left: 24px;
  z-index: 3;
  color: #fff;
  pointer-events: none;
}

.restaurant-hero-brand > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.restaurant-hero-brand > span::before {
  width: 17px;
  height: 1px;
  background: #f4b261;
  content: "";
}

.restaurant-hero-brand h1 {
  max-width: 95%;
  color: #fff;
  font-size: clamp(25px, 7vw, 34px);
  font-weight: 850;
  letter-spacing: -0.8px;
  line-height: 1.08;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -48px;
  padding: 0 14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 16px 17px 14px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(31, 36, 32, 0.12), 0 2px 7px rgba(31, 36, 32, 0.04);
}

.restaurant-page-body .restaurant-main-info .title-rating-row {
  align-items: center;
}

.restaurant-page-body .restaurant-card-kicker {
  color: #9a7250;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.3px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin-top: 5px;
  color: #626d68;
  font-size: 12px;
  font-weight: 650;
}

.restaurant-page-body .rating-badge-premium {
  padding: 6px 9px;
  border-radius: 10px;
  background: #238052;
  font-size: 11px;
}

.restaurant-page-body .rating-detail-row {
  gap: 8px;
  margin-top: 7px;
}

.restaurant-page-body .rating-stars {
  color: #dd9a37;
}

.restaurant-page-body .rating-count {
  color: #7b827d;
}

.restaurant-page-body .restaurant-main-info .address-text {
  margin-top: 9px;
  color: #727a75;
  font-size: 10px;
  line-height: 1.45;
}

.restaurant-page-body .card-divider {
  margin: 13px 0 9px;
  border-top-style: solid;
  border-color: #edf0ec;
}

.restaurant-page-body .restaurant-stats-grid {
  gap: 0;
  margin-bottom: 9px;
  padding: 4px 0 8px;
}

.restaurant-page-body .stat-box {
  min-height: 52px;
  border-right: 1px solid #edf0ec;
}

.restaurant-page-body .stat-box:last-child {
  border-right: 0;
}

.restaurant-page-body .stat-icon {
  margin-bottom: 4px;
  font-size: 15px;
}

.restaurant-page-body .stat-value {
  color: #27312c;
  font-size: 10px;
  font-weight: 800;
}

.restaurant-page-body .stat-label {
  color: #89908a;
  font-size: 7px;
  letter-spacing: 0.6px;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 4px;
  padding-top: 11px;
  border-top: 1px solid #edf0ec;
}

.restaurant-page-body .offers-scroll-x {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  overflow: visible;
  padding-bottom: 0;
}

.restaurant-page-body .offer-card-premium {
  min-width: 0;
  min-height: 52px;
  flex: initial;
  gap: 6px;
  padding: 8px 7px;
  border-color: rgba(211, 143, 65, 0.18);
  border-radius: 13px;
  background: linear-gradient(135deg, #fff8ec, #fff2dc);
}

.restaurant-page-body .offer-badge-tag {
  flex: 0 0 auto;
  padding: 4px 5px;
  border-radius: 6px;
  font-size: 6px;
}

.restaurant-page-body .offer-content {
  min-width: 0;
}

.restaurant-page-body .offer-title {
  overflow: hidden;
  color: #3b403b;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .offer-code {
  color: #81857e;
  font-size: 6.5px;
  white-space: nowrap;
}

.restaurant-page-body .menu-sticky-controls {
  top: 70px;
  z-index: 850;
  padding: 12px 15px 10px;
  border-top: 6px solid #f5f4f0;
  border-bottom: 1px solid #e9ece7;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 9px 25px rgba(27, 34, 29, 0.06);
  backdrop-filter: blur(18px);
}

.restaurant-page-body .menu-search-bar {
  border: 1px solid #e7ebe6;
  border-radius: 14px;
  background: #f7f8f5;
}

.restaurant-page-body .menu-search-bar input {
  height: 42px;
  background: transparent;
}

.restaurant-page-body .diet-filter-control-menu {
  margin-top: 9px;
}

.restaurant-page-body .category-filter-chips {
  padding-top: 8px;
}

.restaurant-page-body .filter-chip {
  min-height: 31px;
  border-color: #e8ebe7;
  border-radius: 999px;
  background: #fff;
  color: #59615b;
  font-size: 10px;
}

.restaurant-page-body .filter-chip.active {
  border-color: #e85b34;
  background: #fff5ef;
  color: #d94f28;
}

.restaurant-page-body .menu-list-premium {
  padding: 17px 14px 120px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(239, 222, 194, 0.22), transparent 38%),
    #f5f4f0;
}

.restaurant-page-body .category-header-premium {
  margin-top: 15px;
  padding: 0 2px 10px;
  border-bottom-color: #e3e6e0;
  color: #344039;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.restaurant-page-body .category-header-premium .item-count {
  border-color: #e5e8e2;
  background: #fff;
  color: #667069;
}

.restaurant-page-body .vertical-list {
  gap: 10px;
}

.restaurant-page-body .menu-item-card-premium {
  min-height: 128px;
  padding: 13px;
  border: 1px solid #e9ebe5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 38, 32, 0.045);
}

.restaurant-page-body .menu-item-card-premium:hover {
  border-color: rgba(224, 117, 66, 0.28);
  box-shadow: 0 12px 26px rgba(31, 38, 32, 0.085);
}

.restaurant-page-body .menu-item-card-premium h4 {
  color: #27312c;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  color: #27312c;
  font-size: 13px;
}

.restaurant-page-body .menu-item-card-premium p.description {
  color: #78817a;
  font-size: 10px;
  line-height: 1.5;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 94px;
  height: 94px;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img {
  border-radius: 17px;
  background: #f3f3ee;
  box-shadow: none;
}

.restaurant-page-body .qty-selector-premium {
  width: 78px;
  height: 28px;
  border: 1px solid rgba(222, 86, 46, 0.28);
  border-radius: 9px;
  color: #d94f28;
}

.restaurant-page-body .floating-cart-bucket.active {
  right: 14px;
  bottom: calc(15px + env(safe-area-inset-bottom));
  left: 14px;
  width: auto;
  height: 62px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 19px;
  background: linear-gradient(110deg, #26372e, #14211b);
  box-shadow: 0 14px 34px rgba(20, 30, 24, 0.32), 0 3px 8px rgba(20, 30, 24, 0.16);
  z-index: 920;
}

.restaurant-page-body .floating-cart-bucket .bucket-left {
  min-width: 0;
  gap: 10px;
}

.restaurant-page-body .floating-cart-bucket .bucket-icon-wrapper {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info {
  min-width: 0;
  gap: 2px;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .label {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 8px !important;
  letter-spacing: 0.9px !important;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .price {
  color: #fff;
  font-size: 16px !important;
  line-height: 1.1;
}

.restaurant-page-body .floating-cart-bucket .bucket-right {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  white-space: nowrap;
}

.restaurant-page-body .floating-cart-bucket .bucket-right span::after {
  margin-left: 5px;
  color: #f7c68c;
  content: "→";
}

.restaurant-page-body .moozo-chef-helper {
  right: 10px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: min(252px, calc(100% - 20px));
}

.restaurant-page-body .chef-speech-card {
  width: min(100%, 244px);
  padding: 10px 11px;
}

.restaurant-page-body .chef-speech-card p {
  font-size: 11px;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

@media (max-width: 360px) {
  .restaurant-hero-brand {
    right: 19px;
    left: 19px;
  }

  .restaurant-page-body .moozo-chef-helper {
    right: 8px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    width: min(238px, calc(100% - 16px));
  }

  .restaurant-page-body .chef-speech-card {
    width: min(100%, 230px);
  }

  .restaurant-page-body .restaurant-info-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .restaurant-page-body .offer-card-premium {
    gap: 5px;
  }

  .restaurant-page-body .offer-code {
    font-size: 6px;
  }
}
.delivery-location-required {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 18px 16px;
  padding: 20px;
  border: 1px solid #dce9e2;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5fbf7, #fff);
  box-shadow: 0 8px 24px rgba(35, 75, 53, .07);
}
.delivery-location-required[hidden] { display: none; }
.delivery-location-required-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: #e4f2e9;
  color: #347555;
  font-size: 23px;
}
.delivery-location-required strong { display: block; color: #20392c; font-size: 16px; }
.delivery-location-required p { margin: 5px 0 13px; color: #66766d; font-size: 12px; line-height: 1.5; }
.delivery-location-required-action,
.delivery-location-search-prompt button {
  border: 0;
  border-radius: 10px;
  padding: 10px 13px;
  background: #347555;
  color: #fff;
  font: 700 12px var(--font-primary);
  cursor: pointer;
}
#tab-home.is-location-blocked .promo-carousel,
#tab-home.is-location-blocked .home-search-sticky,
#tab-home.is-location-blocked .smart-home-panel,
#tab-home.is-location-blocked .home-categories-section,
#tab-home.is-location-blocked .home-restaurants-section,
#tab-home.is-location-blocked .home-dishes-section,
#tab-home.is-location-blocked .home-offers-section {
  display: none !important;
}
.delivery-location-search-prompt {
  display: grid;
  gap: 8px;
  justify-items: start;
  margin: 12px;
  padding: 18px;
  border: 1px solid #dce9e2;
  border-radius: 14px;
  background: #f7fbf8;
}
.delivery-location-search-prompt strong { color: #20392c; font-size: 14px; }
.delivery-location-search-prompt span { color: #66766d; font-size: 12px; line-height: 1.5; }

#restaurants-container .restaurant-card {
  width: calc((100% - 11px) / 2);
  flex: 0 0 calc((100% - 11px) / 2);
}

.home-dishes-grid,
.smart-dish-picks-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.home-dishes-grid .home-dish-card,
.smart-dish-picks-grid .home-dish-card {
  min-height: 0;
  padding: 8px;
  border: 1px solid rgba(38, 49, 68, 0.07);
  border-radius: 17px;
  background: linear-gradient(160deg, #fff 0%, #fbfcfd 100%);
  box-shadow: 0 5px 15px rgba(29, 40, 60, 0.07);
}

.home-dishes-grid .home-dish-image,
.smart-dish-picks-grid .home-dish-image {
  width: min(100%, 84px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto 8px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(31, 40, 56, 0.14), 0 0 0 1px rgba(35, 45, 61, 0.06);
}

.home-dishes-grid .home-dish-image img,
.smart-dish-picks-grid .home-dish-image img {
  border-radius: 50%;
}

.home-dishes-grid .home-dish-info,
.smart-dish-picks-grid .home-dish-info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: start;
  align-items: center;
  column-gap: 5px;
  row-gap: 5px;
}

.home-dishes-grid .home-dish-reason,
.smart-dish-picks-grid .home-dish-reason,
.home-dishes-grid .home-dish-restaurant,
.smart-dish-picks-grid .home-dish-restaurant {
  display: none;
}

.home-dishes-grid .home-dish-card h3,
.smart-dish-picks-grid .home-dish-card h3 {
  grid-column: 1 / -1;
  min-height: 28px;
  margin: 0;
  color: #202a37;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.home-dishes-grid .home-dish-card .dish-diet-badge,
.smart-dish-picks-grid .home-dish-card .dish-diet-badge {
  margin: 0;
  padding: 4px 5px;
  font-size: 8px;
}

.home-dishes-grid .home-dish-card .dish-rating,
.smart-dish-picks-grid .home-dish-card .dish-rating {
  justify-self: end;
  margin: 0;
  padding: 4px 6px;
  font-size: 9px;
}

.home-dishes-grid .home-dish-purchase,
.smart-dish-picks-grid .home-dish-purchase {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.home-dishes-grid .home-dish-card .price,
.smart-dish-picks-grid .home-dish-card .price {
  color: #263346;
  font-size: 14px;
  font-weight: 850;
}

.home-dishes-grid .home-dish-card .add-dish-btn,
.smart-dish-picks-grid .home-dish-card .add-dish-btn {
  width: 32px;
  height: 32px;
  font-size: 18px;
}

.home-dishes-grid .quick-variety-picker,
.smart-dish-picks-grid .quick-variety-picker {
  grid-column: 1 / -1;
  min-width: 0;
  height: 31px;
  margin-top: 2px;
  padding: 0 7px;
  border-radius: 9px;
  font-size: 8px;
}

@media (max-width: 360px) {
  .home-dishes-grid,
  .smart-dish-picks-grid {
    gap: 6px;
  }

  .home-dishes-grid .home-dish-card,
  .smart-dish-picks-grid .home-dish-card {
    padding: 6px;
  }

  .home-dishes-grid .home-dish-card h3,
  .smart-dish-picks-grid .home-dish-card h3 {
    font-size: 10px;
  }
}

.checkout-offers {
  margin: 8px 0;
  padding: 11px;
  border: 1px solid #e7ece8;
  border-radius: 14px;
  background: linear-gradient(145deg, #fbfdfb, #f4f8f5);
}

.checkout-offers-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.checkout-offers-heading h3 {
  color: #26372e;
  font-size: 12px;
  font-weight: 800;
}

.checkout-offers-heading p,
.checkout-offers-status {
  margin: 3px 0 0;
  color: #7a857e;
  font-size: 9px;
}

.checkout-offers-heading > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 9px;
  background: #e6f2e9;
  color: #347555;
  font-size: 15px;
}

.checkout-offers-list {
  display: grid;
  gap: 7px;
}

.checkout-offer-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e8ede9;
  border-radius: 11px;
  background: #fff;
}

.checkout-offer-card.is-applied {
  border-color: #83b894;
  background: #f7fcf8;
}

.checkout-offer-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px dashed #8aaf95;
  border-radius: 9px;
  color: #347555;
  font-size: 15px;
  font-weight: 850;
}

.checkout-offer-banner {
  width: 58px;
  height: 44px;
  flex: 0 0 58px;
  border-radius: 8px;
  object-fit: cover;
}

.home-offers-section {
  margin: 12px 12px 4px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid #f3dfc6;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 218, 174, .38), transparent 42%),
    linear-gradient(145deg, #fffdf9, #fff7ed);
}

.home-offers-section[hidden] {
  display: none;
}

.home-offers-heading {
  align-items: center;
  margin-bottom: 10px;
}

.home-offers-heading h2 {
  margin: 0;
  color: #26352c;
  font-size: 15px;
  font-weight: 850;
}

.home-offers-heading .home-section-caption {
  margin-top: 3px;
  color: #788078;
  font-size: 10px;
}

.home-offers-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid #dcebdd;
  border-radius: 99px;
  background: #f2faf3;
  color: #39774f;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .07em;
}

.home-offers-live > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #48a767;
  box-shadow: 0 0 0 3px rgba(72, 167, 103, .12);
}

.home-offers-grid {
  display: grid;
  grid-auto-columns: minmax(245px, 82%);
  grid-auto-flow: column;
  gap: 9px;
  overflow-x: auto;
  padding: 1px 1px 5px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-offers-grid::-webkit-scrollbar {
  display: none;
}

.home-offer-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 132px;
  overflow: hidden;
  align-items: stretch;
  border: 1px solid rgba(225, 207, 183, .8);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(107, 77, 43, .06);
  scroll-snap-align: start;
}

.home-offer-image,
.home-offer-art {
  width: 91px;
  flex: 0 0 91px;
  object-fit: cover;
}

.home-offer-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 226, 168, .9), transparent 30%),
    linear-gradient(145deg, #e96e48, #c8493b 72%, #9e3b38);
  color: white;
}

.home-offer-art > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  font-size: 18px;
}

.home-offer-art small {
  color: rgba(255,255,255,.88);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.2;
  text-align: center;
}

.home-offer-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  padding: 10px;
}

.home-offer-topline {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.home-offer-scope {
  overflow: hidden;
  color: #b55c34;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-offer-valid {
  flex: 0 0 auto;
  color: #8b918a;
  font-size: 8px;
}

.home-offer-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 2px;
  color: #29372f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-offer-discount {
  color: #c64f37;
  font-size: 13px;
  font-weight: 900;
}

.home-offer-copy p {
  overflow: hidden;
  width: 100%;
  margin: 4px 0 7px;
  color: #737d75;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-offer-code {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: auto;
  padding: 6px 8px;
  border: 1px dashed #e9b992;
  border-radius: 8px;
  background: #fff9f2;
  color: #7d543e;
  font: 750 8px var(--font-primary);
  cursor: pointer;
}

.home-offer-code > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-offer-code strong {
  color: #a34631;
  letter-spacing: .07em;
}

.home-offer-copy-action {
  flex: 0 0 auto;
  color: #b24c34;
  font-weight: 850;
}

.menu-variety-actions {
  position: absolute;
  right: 50%;
  bottom: -7px;
  display: flex;
  min-width: 78px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transform: translateX(50%);
}

.menu-variety-actions > button {
  min-width: 68px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(222, 86, 46, .28);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(35, 40, 35, .1);
  color: #c84f31;
  font: 800 10px var(--font-primary);
  cursor: pointer;
}

.menu-variety-actions > button:disabled {
  border-color: #e3e5e2;
  color: #929992;
  cursor: default;
}

.menu-variety-cart-count {
  position: absolute;
  right: 50%;
  bottom: 32px;
  padding: 3px 6px;
  transform: translateX(50%);
  border-radius: 99px;
  background: #26382d;
  color: #fff;
  font-size: 8px;
  font-weight: 750;
  white-space: nowrap;
}

.checkout-offer-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.checkout-offer-copy strong {
  overflow: hidden;
  color: #29352e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-offer-copy span {
  color: #347555;
  font-size: 9px;
  font-weight: 750;
}

.checkout-offer-copy small {
  overflow: hidden;
  color: #818b84;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-offer-action {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #d7e8db;
  border-radius: 8px;
  background: #f3faf5;
  color: #347555;
  font: 800 9px var(--font-primary);
  cursor: pointer;
}

.checkout-offer-action:disabled {
  border-color: transparent;
  background: #e6f2e9;
  cursor: default;
}

.checkout-manual-code {
  margin-top: 8px;
  border-top: 1px solid #e8ede9;
  padding-top: 7px;
}

.checkout-manual-code summary {
  color: #5b6d61;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.checkout-manual-code-row {
  display: flex;
  gap: 7px;
  margin-top: 7px;
}

.checkout-manual-code-row input {
  min-width: 0;
  flex: 1;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #dfe6e1;
  border-radius: 8px;
  font: 10px var(--font-primary);
}

.checkout-manual-code-row .primary-btn {
  height: 32px;
  margin: 0;
  padding: 0 10px;
  font-size: 10px;
  line-height: 32px;
}

#coupon-alert-msg {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
}

/* Compact home feed: keep the focus on food, with less scrolling between sections. */
/* ============================================================
   SMART PICKS & SUGGESTIONS HEADER & FILTERS (FULL WIDTH)
   ============================================================ */
.smart-home-panel {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.smart-home-header {
  margin-bottom: 5px;
}

.smart-home-header[hidden] {
  display: none;
}

.smart-home-header h2 {
  font-size: 15px;
}

.smart-home-score {
  display: none;
}

.smart-picks-section {
  margin-top: 16px !important;
  padding: 0 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.smart-picks-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.smart-picks-section-heading h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 850;
  color: #111827;
  letter-spacing: -0.3px;
}

.smart-picks-section-heading p {
  display: none;
}

.smart-picks-section-heading > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 800;
  border: 1.5px solid rgba(21, 128, 61, 0.22);
}

.smart-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.smart-restaurant-filter-row {
  flex-wrap: nowrap;
}

.smart-restaurant-filter-row .smart-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #f8fafc;
  color: #4b5563;
  font-family: var(--font-primary);
  font-size: 11.5px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.smart-restaurant-filter-row .smart-chip:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.smart-restaurant-filter-row .smart-chip.active {
  border-color: #fb923c;
  color: #c2410c;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  box-shadow: 0 2px 8px rgba(251, 146, 60, 0.25);
}

/* Top dishes filter pills row */
.smart-pick-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 2px 0 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.smart-pick-filter-row::-webkit-scrollbar {
  display: none;
}

.smart-pick-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease;
}

.smart-pick-filter:hover {
  border-color: #fdba74;
  background: #fff7ed;
  color: #c2410c;
}

.smart-pick-filter.active {
  border-color: #f97316;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #c2410c;
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.22);
}

.home-restaurants-section {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.home-restaurants-section .section-header {
  padding: 0 12px 8px !important;
}

.home-dishes-section .section-header {
  padding: 0 14px 7px;
}

.home-section-caption,
.home-category-heading p,
.home-category-count,
.category-count {
  display: none;
}

/* ============================================================
   PREMIUM RESTAURANT CARDS — Full Width Edge-to-Edge
   ============================================================ */
.smart-restaurant-picks-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

#restaurants-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 12px 24px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}

#restaurants-container .restaurant-card,
.smart-restaurant-picks-grid .restaurant-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow:
    0 2px 8px rgba(20, 30, 55, 0.06),
    0 8px 24px rgba(20, 30, 55, 0.05) !important;
  overflow: hidden !important;
  scroll-snap-align: none !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease !important;
  border: 1.5px solid rgba(226, 232, 240, 0.85) !important;
  margin: 0 !important;
}

#restaurants-container .restaurant-card:active,
.smart-restaurant-picks-grid .restaurant-card:active {
  transform: scale(0.985);
}

#restaurants-container .restaurant-card:hover,
.smart-restaurant-picks-grid .restaurant-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 14px rgba(20, 30, 55, 0.10),
    0 16px 36px rgba(20, 30, 55, 0.11) !important;
}

/* ---- TOP BODY: image + info side-by-side ---- */
#restaurants-container .rc-body,
.smart-restaurant-picks-grid .rc-body {
  display: flex !important;
  align-items: center !important;
  padding: 12px 14px 10px !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ---- THUMBNAIL ---- */
#restaurants-container .card-img-wrapper,
.smart-restaurant-picks-grid .card-img-wrapper {
  position: relative !important;
  width: 96px !important;
  height: 96px !important;
  flex: 0 0 96px !important;
  aspect-ratio: 1 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: linear-gradient(145deg, #f0f1f5, #e3e6ed) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  margin: 0 !important;
}

#restaurants-container .card-img-wrapper img,
.smart-restaurant-picks-grid .card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  transition: transform 0.35s ease !important;
}

#restaurants-container .restaurant-card:hover .card-img-wrapper img,
.smart-restaurant-picks-grid .restaurant-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

/* OPEN / CLOSED pill on image */
#restaurants-container .rc-status-badge,
.smart-restaurant-picks-grid .rc-status-badge {
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 2px 9px !important;
  border-radius: 20px !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

#restaurants-container .rc-status-badge.open,
.smart-restaurant-picks-grid .rc-status-badge.open {
  background: rgba(16, 120, 56, 0.92) !important;
  color: #fff !important;
}

#restaurants-container .rc-status-badge.closed,
.smart-restaurant-picks-grid .rc-status-badge.closed {
  background: rgba(28, 28, 28, 0.85) !important;
  color: #fff !important;
}

#restaurants-container .rc-status-badge .rc-dot,
.smart-restaurant-picks-grid .rc-status-badge .rc-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #4ade80 !important;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.4) !important;
  display: inline-block !important;
}

/* ---- FAV BUTTON ---- */
#restaurants-container .restaurant-card .fav-btn,
.smart-restaurant-picks-grid .restaurant-card .fav-btn {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 4 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
  cursor: pointer !important;
}

#restaurants-container .restaurant-card .fav-btn:hover,
.smart-restaurant-picks-grid .restaurant-card .fav-btn:hover {
  transform: scale(1.1);
  background: #fff !important;
}

#restaurants-container .restaurant-card .fav-btn.active,
.smart-restaurant-picks-grid .restaurant-card .fav-btn.active {
  background: #fff0f0 !important;
  color: #ef4444 !important;
}

#restaurants-container .restaurant-card .fav-btn svg,
.smart-restaurant-picks-grid .restaurant-card .fav-btn svg {
  width: 15px !important;
  height: 15px !important;
}

/* ---- INFO PANEL ---- */
#restaurants-container .card-info,
.smart-restaurant-picks-grid .card-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
  gap: 2px !important;
  padding: 0 !important;
  text-align: left !important;
}

/* Type tag e.g. "DELIVERY" */
#restaurants-container .card-info .rc-type-tag,
.smart-restaurant-picks-grid .card-info .rc-type-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-bottom: 2px !important;
}

#restaurants-container .card-info .rc-type-tag .rc-type-label,
.smart-restaurant-picks-grid .card-info .rc-type-tag .rc-type-label {
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: #e05c2b !important;
}

#restaurants-container .card-info .rc-type-tag .rc-live,
.smart-restaurant-picks-grid .card-info .rc-type-tag .rc-live {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 2px 7px !important;
  border-radius: 20px !important;
  background: #dcfce7 !important;
  color: #15803d !important;
  font-size: 8.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  border: 1px solid rgba(21, 128, 61, 0.25) !important;
}

#restaurants-container .card-info .rc-type-tag .rc-live::before,
.smart-restaurant-picks-grid .card-info .rc-type-tag .rc-live::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  display: inline-block;
}

/* Restaurant name */
#restaurants-container .card-info h3,
.smart-restaurant-picks-grid .card-info h3 {
  overflow: hidden !important;
  margin: 0 0 2px !important;
  padding-right: 32px !important;
  font-size: 15.5px !important;
  font-weight: 850 !important;
  color: #111827 !important;
  letter-spacing: -0.2px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

/* Cuisine subtitle */
#restaurants-container .card-info .cuisine,
.smart-restaurant-picks-grid .card-info .cuisine {
  margin: 0 0 6px !important;
  text-align: left !important;
  color: #6b7280 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Meta row: rating + distance + time */
#restaurants-container .card-info .meta-row,
.smart-restaurant-picks-grid .card-info .meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  margin-top: auto !important;
}

#restaurants-container .card-info .meta-row .meta-chip,
.smart-restaurant-picks-grid .card-info .meta-row .meta-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 3px 7px !important;
  border-radius: 7px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

#restaurants-container .card-info .meta-row .meta-chip.rating-chip,
.smart-restaurant-picks-grid .card-info .meta-row .meta-chip.rating-chip {
  background: #ecfdf5 !important;
  color: #15803d !important;
}

#restaurants-container .card-info .meta-row .meta-chip.rating-chip.amber,
.smart-restaurant-picks-grid .card-info .meta-row .meta-chip.rating-chip.amber {
  background: #fffbeb !important;
  color: #b45309 !important;
}

#restaurants-container .card-info .meta-row .meta-chip.rating-chip.red,
.smart-restaurant-picks-grid .card-info .meta-row .meta-chip.rating-chip.red {
  background: #fef2f2 !important;
  color: #dc2626 !important;
}

#restaurants-container .card-info .meta-row .meta-chip.time-chip,
.smart-restaurant-picks-grid .card-info .meta-row .meta-chip.time-chip {
  background: #f1f5f9 !important;
  color: #475569 !important;
}

/* ---- DISCOUNT / OFFER STRIP ---- */
#restaurants-container .rc-offer-strip,
.smart-restaurant-picks-grid .rc-offer-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 0 12px 12px !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #fff7ed 0%, #fff4e6 100%) !important;
  border: 1.5px dashed #fdba74 !important;
  box-sizing: border-box !important;
}

#restaurants-container .rc-offer-strip .rc-offer-icon,
.smart-restaurant-picks-grid .rc-offer-strip .rc-offer-icon {
  font-size: 16px !important;
  flex-shrink: 0 !important;
}

#restaurants-container .rc-offer-strip .rc-offer-text,
.smart-restaurant-picks-grid .rc-offer-strip .rc-offer-text {
  flex: 1 !important;
  min-width: 0 !important;
}

#restaurants-container .rc-offer-strip .rc-offer-title,
.smart-restaurant-picks-grid .rc-offer-strip .rc-offer-title {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  color: #c2410c !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  letter-spacing: -0.1px !important;
}

#restaurants-container .rc-offer-strip .rc-offer-sub,
.smart-restaurant-picks-grid .rc-offer-strip .rc-offer-sub {
  display: block !important;
  font-size: 9.5px !important;
  color: #9a3412 !important;
  font-weight: 500 !important;
  margin-top: 1px !important;
}

/* Pill View Button */
#restaurants-container .rc-offer-strip .rc-copy-code,
.smart-restaurant-picks-grid .rc-offer-strip .rc-copy-code {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  border: 1.5px solid #fb923c !important;
  background: #fff !important;
  color: #ea580c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 4px rgba(251, 146, 60, 0.15) !important;
}

#restaurants-container .rc-offer-strip .rc-copy-code:hover,
.smart-restaurant-picks-grid .rc-offer-strip .rc-copy-code:hover {
  background: #fff7ed !important;
  border-color: #ea580c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(251, 146, 60, 0.25) !important;
}

#restaurants-container .restaurant-reason,
.smart-restaurant-picks-grid .restaurant-reason {
  display: none !important;
}

/* Remove old wrapper ::after gradient overlay */
#restaurants-container .card-img-wrapper::after,
.smart-restaurant-picks-grid .card-img-wrapper::after {
  display: none !important;
}

/* Hide old discount-badge */
#restaurants-container .discount-badge,
.smart-restaurant-picks-grid .discount-badge {
  display: none !important;
}



.home-dishes-grid,
.smart-dish-picks-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.home-dishes-grid .home-dish-card,
.smart-dish-picks-grid .home-dish-card {
  padding: 7px;
  border-radius: 14px;
}

.home-dishes-grid .home-dish-image,
.smart-dish-picks-grid .home-dish-image {
  width: 100%;
  max-width: none;
  aspect-ratio: 1.35;
  margin: 0 auto 7px;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
}

.home-dishes-grid .home-dish-image img,
.smart-dish-picks-grid .home-dish-image img {
  border-radius: 9px;
}

.home-dishes-grid .home-dish-info,
.smart-dish-picks-grid .home-dish-info {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 4px;
  row-gap: 5px;
}

.home-dishes-grid .home-dish-card h3,
.smart-dish-picks-grid .home-dish-card h3 {
  min-height: 0;
  font-size: 11px;
}

.home-dishes-grid .home-dish-card .price,
.smart-dish-picks-grid .home-dish-card .price {
  font-size: 12px;
}

/* Let the brand header scroll away while keeping discovery tools together. */
#tab-home .home-discovery-sticky {
  position: sticky;
  top: 0;
  z-index: 850;
  isolation: isolate;
  background: #fff;
  box-shadow: 0 7px 18px rgba(24, 32, 45, .08);
}

#tab-home .home-search-sticky {
  position: relative;
  top: auto;
  z-index: auto;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#tab-home .home-search-bar {
  gap: 7px;
  padding: 4px 8px;
}

#tab-home .home-search-bar .search-input-wrapper input {
  height: 36px;
  border-radius: 11px;
}

#tab-home .home-veg-mode {
  flex-basis: 46px;
  gap: 2px;
}

#tab-home .home-veg-mode > span {
  font-size: 7px;
}

#tab-home .veg-mode-switch {
  width: 36px;
  height: 20px;
}

#tab-home .veg-mode-switch > span {
  width: 16px;
  height: 16px;
}

#tab-home .veg-mode-switch[aria-checked="true"] > span {
  transform: translateX(16px);
}

#tab-home .home-categories-section {
  margin-top: 0;
  padding-top: 2px;
  border-top: 1px solid #f0f1ed;
  background: #fff;
}

#tab-home .home-category-heading {
  min-height: 16px;
  padding: 0 11px 1px;
}

#tab-home .home-category-heading h2 {
  font-size: 11px;
  line-height: 1.2;
}

#tab-home .home-category-strip {
  gap: 10px;
  padding: 4px 12px 8px;
  min-height: 0;
}

#tab-home .home-category-strip .category-card {
  width: 76px;
  min-width: 76px;
  gap: 6px;
  cursor: pointer;
  transition: transform .18s ease;
}

#tab-home .home-category-strip .category-card:active {
  transform: scale(.94);
}

#tab-home .home-category-strip .category-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff8ee, #fff3e6);
  box-shadow:
    0 4px 14px rgba(255, 140, 50, .18),
    0 1px 3px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 160, 60, .18);
  transition: box-shadow .18s ease, transform .18s ease;
}

#tab-home .home-category-strip .category-card:hover .category-icon-box {
  box-shadow:
    0 6px 20px rgba(255, 120, 30, .26),
    0 2px 6px rgba(0, 0, 0, .1);
  transform: translateY(-2px);
}

#tab-home .home-category-strip .category-icon-box img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

#tab-home .home-category-strip .category-card .category-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #2d2d2d;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 76px;
}

#tab-home .home-category-strip .category-card .category-count {
  display: none;
}

/* Restaurant storefront identity, verified offers, and modern menu cards. */
.restaurant-page-body #restaurant-view {
  background: #f7f7f4;
}

.restaurant-page-body .restaurant-hero {
  height: 300px;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(255, 206, 133, .24), transparent 38%),
    linear-gradient(135deg, #252d28, #554332 60%, #92704a);
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.78) saturate(.9);
  object-position: center 48%;
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(180deg, rgba(15, 20, 17, .22), transparent 38%),
    linear-gradient(0deg, rgba(16, 22, 18, .83), rgba(16, 22, 18, .05) 82%);
}

.restaurant-page-body .restaurant-hero-brand {
  right: 22px;
  bottom: 70px;
  left: 22px;
}

.restaurant-page-body .restaurant-hero-brand > span {
  margin-bottom: 9px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(23, 30, 26, .28);
  font-size: 8px;
  letter-spacing: 1.25px;
  backdrop-filter: blur(8px);
}

.restaurant-page-body .restaurant-hero-brand > span::before {
  display: none;
}

.restaurant-page-body .restaurant-hero-brand h1 {
  font-size: clamp(27px, 7.5vw, 36px);
  letter-spacing: -.9px;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -42px;
  padding: 0 14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(43, 45, 37, .12);
}

.restaurant-page-body .restaurant-main-info .title-rating-row {
  align-items: center;
}

.restaurant-brand-lockup {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.restaurant-brand-lockup > img,
.restaurant-brand-initial {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #efe7dc;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff8eb, #f4e8d5);
  color: #8c5734;
  font-size: 20px;
  font-weight: 850;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(77, 55, 34, .08);
}

.restaurant-brand-lockup > img[hidden],
.restaurant-brand-initial[hidden] {
  display: none;
}

.restaurant-brand-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.restaurant-page-body .restaurant-card-kicker {
  color: #aa754b;
  font-size: 7px;
  letter-spacing: 1.1px;
}

.restaurant-page-body .restaurant-main-info h2 {
  overflow: hidden;
  color: #25352c;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .rating-badge-premium {
  padding: 7px 10px;
  border-radius: 10px;
  background: #287b51;
  font-size: 11px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 9px 0 0 62px;
  color: #68766d;
  font-size: 11px;
  font-weight: 650;
}

.restaurant-trust-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 7px 0 0 62px;
  color: #6c7c71;
  font-size: 9px;
  font-weight: 650;
}

.restaurant-trust-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #278451;
  box-shadow: 0 0 0 3px rgba(39, 132, 81, .1);
}

.restaurant-page-body .restaurant-main-info .address-text {
  align-items: flex-start;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 11px;
  background: #f7f8f5;
  color: #657169;
  font-size: 10px;
  line-height: 1.45;
}

.restaurant-page-body .restaurant-main-info .address-text svg {
  flex: 0 0 14px;
  margin-top: 1px;
  color: #d55b36 !important;
}

.restaurant-page-body .restaurant-stats-grid {
  margin-bottom: 5px;
  padding: 7px 0 9px;
}

.restaurant-page-body .stat-box {
  min-height: 48px;
}

.restaurant-page-body .stat-icon {
  display: none;
}

.restaurant-page-body .stat-value {
  font-size: 11px;
}

.restaurant-page-body .stat-label {
  margin-top: 3px;
  font-size: 7px;
}

.restaurant-page-body .restaurant-offers-container[hidden] {
  display: none !important;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 7px;
  padding-top: 12px;
  border-top: 1px solid #edf0ec;
}

.restaurant-offers-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.restaurant-offers-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: #fff0e7;
  color: #cf5530;
  font-size: 15px;
  font-weight: 900;
}

.restaurant-offers-heading div {
  display: grid;
  gap: 2px;
}

.restaurant-offers-heading strong {
  color: #2b3930;
  font-size: 11px;
  font-weight: 850;
}

.restaurant-offers-heading small {
  color: #848c86;
  font-size: 8px;
}

.restaurant-page-body .offers-scroll-x {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 4px;
  scrollbar-width: none;
}

.restaurant-page-body .offers-scroll-x::-webkit-scrollbar {
  display: none;
}

.restaurant-page-body .offer-card-premium {
  position: relative;
  min-width: min(250px, 82%);
  min-height: 104px;
  flex: 0 0 min(250px, 82%);
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f0dfd0;
  border-radius: 14px;
  background: #fffaf5;
}

.restaurant-offer-banner {
  width: 76px;
  min-height: 104px;
  flex: 0 0 76px;
  object-fit: cover;
}

.offer-card-details {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 9px 10px;
}

.restaurant-page-body .offer-badge-tag {
  padding: 4px 6px;
  border-radius: 6px;
  background: #c95432;
  font-size: 6px;
  letter-spacing: .6px;
}

.restaurant-offer-discount {
  display: block;
  margin-top: 5px;
  color: #29392f;
  font-size: 13px;
  font-weight: 900;
}

.restaurant-page-body .offer-title {
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: #777f78;
  font-size: 8px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-offer-code-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}

.restaurant-offer-code-row > span {
  overflow: hidden;
  color: #838a83;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-offer-code-row > span strong {
  color: #a34f33;
  letter-spacing: .6px;
}

.restaurant-offer-copy {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid #ecd7c6;
  border-radius: 7px;
  background: #fff;
  color: #a34f33;
  font: 800 7px var(--font-primary);
  cursor: pointer;
}

.restaurant-menu-intro {
  padding: 18px 18px 12px;
  background: #f7f7f4;
}

.restaurant-menu-intro > span {
  color: #ae7951;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.35px;
}

.restaurant-menu-intro h2 {
  margin-top: 3px;
  color: #29372f;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.4px;
}

.restaurant-menu-intro p {
  margin-top: 3px;
  color: #79817b;
  font-size: 9px;
  line-height: 1.45;
}

.restaurant-page-body .menu-sticky-controls {
  top: 0;
  padding: 9px 14px 10px;
  border-top: 1px solid #eaece7;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 20px rgba(32, 39, 33, .06);
}

.restaurant-page-body .menu-search-bar {
  min-height: 42px;
  border-color: #e5e9e3;
  border-radius: 13px;
  background: #f7f8f5;
}

.restaurant-page-body .menu-search-bar input {
  min-width: 0;
  color: #2d3831;
  font-size: 11px;
}

.restaurant-page-body .diet-filter-control-menu {
  margin-top: 7px;
}

.restaurant-page-body .category-filter-chips {
  gap: 6px;
  padding-top: 7px;
}

.restaurant-page-body .filter-chip {
  min-height: 29px;
  padding: 0 11px;
  font-size: 9px;
}

.restaurant-page-body .menu-list-premium {
  padding: 4px 14px 120px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(232, 217, 192, .22), transparent 38%),
    #f7f7f4;
}

.restaurant-page-body .category-header-premium {
  margin-top: 15px;
  padding: 0 2px 9px;
  border-bottom: 1px solid #e6e9e3;
  color: #354139;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .75px;
}

.restaurant-page-body .category-header-premium .item-count {
  min-width: 24px;
  padding: 3px 7px;
  border-color: #e8ebe5;
  color: #6c776f;
  font-size: 8px;
}

.restaurant-page-body .vertical-list {
  gap: 9px;
}

.restaurant-page-body .menu-item-card-premium {
  min-height: 118px;
  padding: 12px;
  border-color: #e9ece6;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(40, 49, 42, .045);
}

.restaurant-page-body .menu-item-card-premium h4 {
  display: -webkit-box;
  overflow: hidden;
  color: #29372f;
  font-size: 13px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  margin-top: 6px;
  color: #26372d;
  font-size: 12px;
  font-weight: 850;
}

.restaurant-page-body .menu-item-card-premium p.description {
  display: -webkit-box;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #78817a;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img {
  border-radius: 14px;
  background: #f3f3ee;
  object-fit: cover;
}

.menu-dish-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #f9eee0, #f0e4d4);
  color: #c0875e;
  font-size: 24px;
}

.restaurant-page-body .qty-selector-premium {
  width: 76px;
  height: 28px;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(42, 48, 43, .12);
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-info-card {
    padding: 14px;
  }

  .restaurant-brand-lockup > img,
  .restaurant-brand-initial {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .restaurant-page-body .restaurant-main-info .cuisine,
  .restaurant-trust-line {
    margin-left: 56px;
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }
}

.home-discovery-prompt {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  margin: 5px 0 8px;
  padding: 15px;
  border: 1px solid #f0dfd1;
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 218, 184, .45), transparent 38%),
    linear-gradient(135deg, #fffaf5, #fff);
  box-shadow: 0 7px 20px rgba(76, 55, 38, .06);
}

.home-discovery-kicker {
  color: #bd6944;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .12em;
}

.home-discovery-copy h3 {
  margin: 3px 0;
  color: #29372f;
  font-size: 16px;
  font-weight: 850;
}

.home-discovery-copy p {
  margin: 0;
  color: #737d75;
  font-size: 10px;
  line-height: 1.45;
}

.home-discovery-search {
  display: flex;
  min-width: 0;
  gap: 7px;
}

.home-discovery-search input {
  width: 0;
  min-width: 0;
  height: 40px;
  flex: 1;
  padding: 0 11px;
  border: 1px solid #e7e3dc;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #29372f;
  font: 500 11px var(--font-primary);
}

.home-discovery-search input:focus {
  border-color: #df8b65;
  box-shadow: 0 0 0 3px rgba(223, 139, 101, .13);
}

.home-discovery-search input::placeholder {
  color: #9a9f99;
}

.home-discovery-search button,
.home-discovery-chef {
  min-height: 40px;
  padding: 0 13px;
  border: 0;
  border-radius: 11px;
  font: 800 10px var(--font-primary);
  cursor: pointer;
}

.home-discovery-search button {
  flex: 0 0 auto;
  background: #dd5a35;
  color: #fff;
  box-shadow: 0 4px 10px rgba(221, 90, 53, .17);
}

.home-discovery-chef {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #f0dfd1;
  background: rgba(255, 255, 255, .78);
  color: #a34d32;
}

.home-discovery-chef span {
  margin-right: 4px;
  color: #dc6841;
}

.home-discovery-search button:active,
.home-discovery-chef:active {
  transform: scale(.98);
}

@media (max-width: 600px) {
  #tab-home .promo-carousel {
    padding: 6px 12px 4px;
  }

  #tab-home .promo-track.has-home-posters,
  #tab-home .home-poster {
    height: clamp(76px, 10vh, 88px);
    min-height: 0;
    max-height: 88px;
  }

  #tab-home .promo-track.has-home-posters {
    border-radius: 16px;
  }

  #tab-home .home-poster {
    padding: 14px 14px 18px;
  }

  .smart-dish-picks-grid .home-dish-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: unset;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
  }

  .smart-dish-picks-grid .home-dish-card .fav-btn {
    top: 8px !important;
    left: 8px !important;
    width: 28px !important;
    height: 28px !important;
  }

  .smart-dish-picks-grid .home-dish-image {
    width: 100%;
    height: 120px;
    aspect-ratio: unset;
    margin: 0;
    border-radius: 0;
  }

  .smart-dish-picks-grid .home-dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
  }

  .smart-dish-picks-grid .home-dish-info {
    padding: 8px 10px 4px;
    gap: 4px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .smart-dish-picks-grid .home-dish-card h3 {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
  }

  .smart-dish-picks-grid .home-dish-card .dish-diet-badge {
    padding: 2px 6px;
    font-size: 9px;
  }

  .smart-dish-picks-grid .home-dish-card .dish-rating {
    margin: 0;
    padding: 2px 6px;
    font-size: 9px;
  }

  .smart-dish-picks-grid .home-dish-purchase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 10px;
    gap: 6px;
    margin-top: 0;
  }

  .smart-dish-picks-grid .home-dish-card .price {
    font-size: 15px;
    font-weight: 800;
    color: #1a1a1a;
  }

  .smart-dish-picks-grid .home-dish-card .add-dish-btn {
    width: auto;
    min-width: 70px;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
  }

  /* Home dishes grid full-width on small screens */
  #tab-home .home-dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 12px;
  }

} /* end @media (max-width: 600px) */

/* ==========================================================================
   PROFESSIONAL DATABASE OFFLINE ALERT & DIAGNOSTIC UI
   ========================================================================== */
.moozo-db-alert {
  position: absolute;
  top: 14px;
  left: 12px;
  right: 12px;
  z-index: 99999;
  animation: dbAlertSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

@keyframes dbAlertSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.db-alert-card {
  background: #ffffff;
  border: 1.5px solid #fecdd3;
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px -8px rgba(225, 29, 72, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  color: #1e293b;
  font-family: var(--font-primary, sans-serif);
  position: relative;
  overflow: hidden;
}

.db-alert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #f43f5e, #fb7185);
}

.db-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.db-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffe4e6;
  color: #be123c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

.db-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e11d48;
  box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.6);
  animation: dbDotPulse 1.8s infinite;
}

@keyframes dbDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.db-alert-close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.db-alert-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.db-alert-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.db-alert-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff1f2;
  color: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
}

.db-alert-content {
  flex: 1;
}

.db-alert-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
}

.db-alert-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 6px 0;
}

.db-alert-subtext {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

.db-alert-diagnostics {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  font-size: 12px;
}

.db-diagnostics-toggle {
  padding: 9px 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  outline: none;
  user-select: none;
  display: flex;
  align-items: center;
  transition: background 0.15s ease;
}

.db-diagnostics-toggle:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.db-diagnostics-content {
  padding: 10px 12px 12px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.db-config-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
  padding: 8px;
  background: #f8fafc;
  border-radius: 8px;
}

.db-config-item {
  font-size: 11.5px;
  color: #64748b;
}

.db-config-item span {
  font-weight: 600;
  color: #334155;
}

.db-config-item code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 5px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
}

.db-instructions-list {
  margin: 0;
  padding-left: 18px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #475569;
}

.db-instructions-list li {
  margin-bottom: 3px;
}

.db-alert-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.db-retry-btn {
  flex: 1.5;
  height: 38px;
  background: #e11d48;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.db-retry-btn:hover {
  background: #be123c;
  transform: translateY(-1px);
}

.db-retry-btn:active {
  transform: translateY(0);
}

.db-minimize-btn {
  flex: 1;
  height: 38px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.db-minimize-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.db-spin-icon {
  display: inline-block;
}

.db-spin-icon.is-spinning {
  animation: spin 0.8s linear infinite;
}

/* Minimized sticky pill */
.moozo-db-pill {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99998;
  background: #be123c;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 8px 20px rgba(190, 18, 60, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
  user-select: none;
}

.moozo-db-pill:hover {
  transform: translateX(-50%) scale(1.05);
}

.moozo-db-pill .db-pulse-dot {
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Mooozo MART - MODERN STORE (FRUITS, VEGETABLES & GROCERY) STYLING
   ========================================================================== */
.store-scroll-content {
  padding-bottom: 24px;
}

.store-app-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.store-app-header .app-logo {
  position: static;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 6px;
  transform: none;
}

.store-app-header .brand-copy-home {
  flex: 0 1 auto;
}

.store-app-header .brand-name-text {
  display: block;
  width: auto;
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(15px, 4.6vw, 18px);
  letter-spacing: 0.1px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-app-header .brand-copy-home small {
  display: none;
}

.store-app-header .header-actions {
  flex: 0 0 auto;
  gap: 5px;
}

.store-brand-mark {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border-radius: 10px;
}

.store-fast-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.store-location-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #f0fdf4;
  border-bottom: 1px solid #dcfce7;
  cursor: pointer;
}

.store-location-bar[hidden] {
  display: none;
}

.store-quality-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #047857;
  background: #dcfce7;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.store-search-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 4px 16px 0;
  border-bottom: 0;
}

.store-search-bar {
  margin: 0;
}

.store-search-bar .search-input-wrapper {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.store-search-bar .search-input-wrapper:focus-within {
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.store-search-clear {
  background: none;
  border: none;
  font-size: 18px;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
}

/* Home feed refinements: balanced mobile poster, round cuisines, and image-led cards. */
#tab-home .home-category-heading {
  min-height: 0;
  padding: 3px 16px 5px;
}

#tab-home .home-category-heading h2 {
  color: #222833;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.35px;
}

#tab-home .home-category-strip {
  gap: 9px;
  min-height: 0;
  padding: 5px 12px 9px;
}

#tab-home .home-category-strip .category-card {
  width: 66px;
  min-width: 66px;
  gap: 4px;
}

#tab-home .home-category-strip .category-icon-box {
  width: 54px;
  height: 54px;
  margin-bottom: 1px;
  border: 1px solid rgba(43, 50, 63, 0.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 40, 56, 0.1);
}

#tab-home .home-category-strip .category-icon-box svg {
  width: 26px;
  height: 26px;
}

#tab-home .home-category-strip .category-icon-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: none;
}

#tab-home .home-category-strip .category-card .category-name {
  max-width: 66px;
  color: #303640;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

#tab-home #restaurants-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 0 14px 20px !important;
}

#tab-home #restaurants-container .restaurant-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  min-width: 100% !important;
  border: 1px solid rgba(226, 228, 235, 0.9) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(33, 28, 48, 0.1) !important;
}

#tab-home #restaurants-container .rc-body,
#tab-home .smart-restaurant-picks-grid .rc-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
}

#tab-home #restaurants-container .card-img-wrapper,
#tab-home .smart-restaurant-picks-grid .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: clamp(180px, 44vw, 220px) !important;
  flex: none !important;
  aspect-ratio: auto;
  border-radius: 20px 20px 0 0 !important;
  background: #f1f3f5 !important;
  box-shadow: none !important;
  touch-action: pan-y;
}

#tab-home #restaurants-container .card-img-wrapper img,
#tab-home .smart-restaurant-picks-grid .card-img-wrapper img {
  border-radius: 20px 20px 0 0 !important;
}

#tab-home #restaurants-container .card-img-wrapper::before,
#tab-home .smart-restaurant-picks-grid .card-img-wrapper::before {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(20, 20, 28, 0.32));
  content: "";
  pointer-events: none;
}

#tab-home #restaurants-container .rc-status-badge,
#tab-home .smart-restaurant-picks-grid .rc-status-badge {
  display: inline-flex !important;
  z-index: 2 !important;
  bottom: 10px !important;
  left: 10px !important;
  transform: none !important;
}

#tab-home .card-img-wrapper .card-menu-swipe-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  z-index: 2;
  background: rgba(22, 27, 32, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

#tab-home .card-img-wrapper .card-menu-swipe-hint span {
  font-size: 13px;
  line-height: 0.8;
}

#tab-home #restaurants-container .rc-status-badge {
  bottom: 12px !important;
  left: 12px !important;
  transform: none !important;
  padding: 5px 10px !important;
  font-size: 10px !important;
}

#tab-home #restaurants-container .restaurant-card .fav-btn {
  top: 12px !important;
  right: 12px !important;
}

#tab-home #restaurants-container .card-info,
#tab-home .smart-restaurant-picks-grid .card-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
  gap: 4px !important;
  padding: 13px 16px 16px !important;
  text-align: left !important;
}

#tab-home #restaurants-container .card-info .rc-type-tag,
#tab-home .smart-restaurant-picks-grid .card-info .rc-type-tag {
  display: none !important;
}

#tab-home #restaurants-container .card-info h3,
#tab-home .smart-restaurant-picks-grid .card-info h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -0.35px !important;
}

#tab-home #restaurants-container .card-info .cuisine,
#tab-home .smart-restaurant-picks-grid .card-info .cuisine {
  margin: 0 0 2px !important;
  font-size: 12.5px !important;
}

#tab-home #restaurants-container .card-info .meta-row,
#tab-home .smart-restaurant-picks-grid .card-info .meta-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  overflow: visible !important;
  white-space: normal !important;
  margin-top: 2px !important;
}

#tab-home #restaurants-container .card-info .meta-row .meta-chip,
#tab-home .smart-restaurant-picks-grid .card-info .meta-row .meta-chip {
  padding: 5px 9px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
}

#tab-home #restaurants-container .rc-offer-strip,
#tab-home .smart-restaurant-picks-grid .rc-offer-strip {
  display: none !important;
}

#tab-home #restaurants-container .restaurant-card .fav-btn,
#tab-home .smart-restaurant-picks-grid .restaurant-card .fav-btn {
  top: 14px !important;
  right: 14px !important;
  width: 42px !important;
  height: 42px !important;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.2) !important;
}

#tab-home #restaurants-container .restaurant-card .fav-btn svg,
#tab-home .smart-restaurant-picks-grid .restaurant-card .fav-btn svg {
  width: 18px !important;
  height: 18px !important;
}

@media (max-width: 600px) {
  #tab-home .promo-carousel {
    padding: 10px 14px 8px;
  }

  #tab-home .promo-track.has-home-posters,
  #tab-home .home-poster {
    height: clamp(180px, 48vw, 236px);
    min-height: 180px;
    max-height: 236px;
  }

  #tab-home .promo-track.has-home-posters {
    border-radius: 20px;
  }

  #tab-home .home-poster {
    padding: 20px 18px 28px;
  }

  #tab-home .home-poster.active .poster-copy {
    width: min(76%, 310px);
  }
}

/* Compact, persistent category selector */
.store-category-tabs-bar {
  position: sticky;
  top: 76px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 12px 8px;
  margin: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.store-cat-pill {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-family: var(--font-primary, sans-serif);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.store-cat-pill-icon {
  font-size: 15px;
  line-height: 1;
}

.store-cat-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.store-cat-pill.active {
  background: #047857;
  color: #ffffff;
  border-color: #047857;
  box-shadow: 0 3px 10px rgba(4, 120, 87, 0.18);
}

/* Secondary Filter Chips Bar */
.store-filters-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 0 6px;
}

.store-filter-row {
  padding: 7px 16px 5px;
  background: #f8fafc;
}

.store-filters-scroll::-webkit-scrollbar {
  display: none;
}

.store-filter-chip {
  flex-shrink: 0;
  padding: 5px 11px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-family: var(--font-primary, sans-serif);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.store-filter-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.store-filter-chip.active {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
  font-weight: 700;
}

/* Store Promo Banner */
.store-promo-banner {
  margin: 10px 16px 14px;
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%);
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.35);
  position: relative;
  overflow: hidden;
}

.store-promo-banner::after {
  content: '🌿';
  position: absolute;
  right: -5px;
  bottom: -10px;
  font-size: 70px;
  opacity: 0.15;
  pointer-events: none;
}

.store-promo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.store-promo-title {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 3px 0;
  letter-spacing: -0.2px;
}

.store-promo-desc {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.92;
  margin: 0 0 8px 0;
  max-width: 85%;
}

.store-promo-tag {
  display: inline-block;
  background: #fef08a;
  color: #854d0e;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.4px;
}

/* --- Store Catalog Section --- */
.store-catalog-section {
  padding: 4px 16px;
}

.store-provider-section {
  scroll-margin-top: 152px;
  margin: 8px 0 20px;
}

.store-provider-section[hidden] {
  display: none;
}

.store-provider-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.store-provider-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: #059669;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.store-provider-heading h3 {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.store-provider-back {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #d1fae5;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.store-provider-back[hidden] {
  display: none;
}

.store-provider-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 0 4px;
}

.store-provider-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e8ebef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(26, 36, 52, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.store-provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 36, 52, 0.12);
}

.store-provider-card:focus-visible {
  outline: 3px solid rgba(16, 185, 129, 0.35);
  outline-offset: 2px;
}

.store-provider-card.selected {
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.14), 0 5px 20px rgba(26, 36, 52, 0.08);
}

.store-provider-image-wrap {
  position: relative;
  width: 100%;
  height: clamp(120px, 34vw, 168px);
  overflow: hidden;
  background: #f1f3f5;
}

.store-provider-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-provider-status {
  position: absolute;
  bottom: 10px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 120, 56, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.store-provider-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 10px 14px 12px;
}

.store-provider-details strong {
  overflow: hidden;
  color: #172033;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.35px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-provider-subtitle {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.store-provider-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.store-provider-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #465163;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.store-provider-rating {
  background: #ecfdf5;
  color: #15803d;
}

.store-provider-delivery {
  background: #eef2ff;
  color: #4f46e5;
}

.store-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.store-catalog-heading {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.store-catalog-badge {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
}

/* Products Grid */
.store-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* Store Product Card */
.store-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.store-item-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.store-item-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  margin-bottom: 8px;
}

.store-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-item-card:hover .store-item-img {
  transform: scale(1.05);
}

.store-item-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #e11d48;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.store-item-time {
  position: absolute;
  bottom: 6px;
  left: 6px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.store-item-organic-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 6px;
}

.store-item-pack {
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
}

.store-item-pack-change {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #047857;
  font-family: inherit;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.store-item-pack-change:hover {
  color: #065f46;
}

.store-cart-pack-summary {
  margin-top: 3px;
  max-width: 100%;
  color: #64748b;
  font-size: 9px;
  font-weight: 650;
  text-align: right;
  line-height: 1.25;
}

.store-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.store-item-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.store-item-star {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 5px;
}

.store-item-rating-count {
  font-size: 10px;
  color: #94a3b8;
}

.store-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed #f1f5f9;
}

.store-item-pricing {
  display: flex;
  flex-direction: column;
}

.store-item-price {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.store-item-mrp {
  font-size: 10px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-top: 2px;
}

/* Smart Add Button / Stepper */
.store-btn-wrapper {
  position: relative;
}

.store-add-btn {
  background: #ffffff;
  color: #059669;
  border: 1.5px solid #059669;
  font-family: var(--font-primary, sans-serif);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 30px;
}

.product-view-quantity-summary {
  margin: -8px 0 16px;
  padding: 10px 12px;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  background: #f0fdf4;
  color: #047857;
  font-size: 12px;
  font-weight: 750;
}

.product-view-quantity-summary[hidden] {
  display: none;
}

.store-add-btn:hover {
  background: #059669;
  color: #ffffff;
  transform: translateY(-1px);
}

.store-add-btn:active {
  transform: scale(0.95);
}

/* In-Cart Stepper Controls */
.store-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: #059669;
  color: #ffffff;
  border-radius: 8px;
  padding: 2px;
  height: 30px;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

.store-qty-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  width: 24px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.store-qty-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.store-qty-val {
  font-size: 12px;
  font-weight: 800;
  padding: 0 6px;
  min-width: 18px;
  text-align: center;
}

/* Empty State */
.store-empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 18px;
  border: 1px dashed #cbd5e1;
  margin: 15px 0;
}

.store-empty-icon {
  font-size: 44px;
  margin-bottom: 10px;
}

.store-empty-state h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.store-empty-state p {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 16px 0;
}

.store-reset-filter-btn {
  margin: 0 auto;
  height: 36px;
  padding: 0 18px;
  font-size: 12px;
  background: #059669;
}

/* Restaurant storefront: clear food photography, compact identity and polished menu. */
.restaurant-page-body #restaurant-view {
  background: #f7f8f6;
}

.restaurant-page-body .restaurant-hero {
  height: clamp(218px, 62vw, 258px);
  background:
    radial-gradient(ellipse at 78% 12%, rgba(244, 177, 92, .22), transparent 42%),
    linear-gradient(140deg, #202b25, #455447 58%, #81694c);
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.78) saturate(.94) !important;
  object-position: center 48%;
  animation: none !important;
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(180deg, rgba(13, 18, 15, .24), transparent 40%),
    linear-gradient(0deg, rgba(13, 18, 15, .18), transparent 48%);
}

.restaurant-page-body .restaurant-hero-brand {
  right: 20px;
  bottom: 52px;
  left: 20px;
}

.restaurant-page-body .restaurant-hero-brand h1 {
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.08;
}

.restaurant-page-body .restaurant-floating-header {
  top: 18px;
  right: 16px;
  left: 16px;
}

.restaurant-page-body .header-circle-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .9);
  color: #26332c;
  box-shadow: 0 5px 16px rgba(16, 24, 20, .16);
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -32px;
  padding: 0 13px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 15px 15px 11px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(31, 43, 35, .1);
}

.restaurant-page-body .restaurant-brand-lockup {
  gap: 10px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border: 1px solid #eee8dd;
  border-radius: 14px;
}

.restaurant-page-body .restaurant-card-kicker {
  color: #9c7350;
  font-size: 7px;
  letter-spacing: 1.15px;
}

.restaurant-page-body .restaurant-main-info h2 {
  color: #26342c;
  font-size: 19px;
  letter-spacing: -.45px;
}

.restaurant-page-body .rating-badge-premium {
  padding: 6px 9px;
  border: 1px solid rgba(35, 128, 82, .1);
  border-radius: 10px;
  background: #edf8f1;
  color: #167247;
  box-shadow: none;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 7px 0 0 58px;
  color: #66716a;
  font-size: 11px;
}

.restaurant-page-body .restaurant-trust-line {
  margin: 7px 0 0 58px;
  color: #64736a;
  font-size: 9px;
}

.restaurant-page-body .restaurant-main-info .address-text {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #eff1ed;
  border-radius: 11px;
  background: #f8f9f7;
  color: #69736c;
  font-size: 9px;
}

.restaurant-page-body .card-divider {
  margin: 11px 0 7px;
  border-color: #edf0ec;
}

.restaurant-page-body .restaurant-stats-grid {
  gap: 0;
  margin: 0;
  padding: 3px 0 5px;
}

.restaurant-page-body .stat-box {
  min-height: 45px;
  border-right: 1px solid #edf0ec;
}

.restaurant-page-body .stat-box:last-child {
  border-right: 0;
}

.restaurant-page-body .stat-icon {
  display: none;
}

.restaurant-page-body .stat-value {
  color: #2d3932;
  font-size: 10px;
}

.restaurant-page-body .stat-label {
  color: #8a928d;
  font-size: 7px;
  letter-spacing: .45px;
}

.restaurant-page-body .restaurant-offers-container[hidden] {
  display: none !important;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 8px;
  padding-top: 10px;
  border-color: #edf0ec;
}

.restaurant-page-body .restaurant-offers-heading {
  margin-bottom: 8px;
}

.restaurant-page-body .offers-scroll-x {
  gap: 8px;
}

.restaurant-page-body .offer-card-premium {
  min-height: 66px;
  flex-basis: 176px;
  border-color: #f0e2d4;
  border-radius: 13px;
  background: linear-gradient(135deg, #fffaf3, #fff4e8);
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 22px 18px 13px;
  background: #f7f8f6;
}

.restaurant-page-body .restaurant-menu-intro > span {
  color: #a8794e;
  font-size: 8px;
  letter-spacing: 1.4px;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  margin-top: 4px;
  color: #25342b;
  font-size: 22px;
  letter-spacing: -.55px;
}

.restaurant-page-body .restaurant-menu-intro p {
  margin-top: 4px;
  color: #77817a;
  font-size: 10px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 0;
  gap: 9px;
  padding: 10px 14px 11px;
  border-top: 1px solid #ecefea;
  border-bottom: 1px solid #e8ece7;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 7px 18px rgba(29, 42, 34, .055);
  backdrop-filter: blur(16px);
}

.restaurant-page-body .menu-search-bar {
  min-height: 44px;
  border: 1px solid #e8ece7;
  border-radius: 13px;
  background: #f7f8f6;
}

.restaurant-page-body .menu-search-bar .search-icon {
  left: 13px;
  color: #718077;
}

.restaurant-page-body .menu-search-bar input {
  height: 44px;
  border-radius: 13px;
  background: transparent;
  color: #27352d;
  font-size: 11px;
}

.restaurant-page-body .menu-search-bar input::placeholder {
  color: #9aa19c;
}

.restaurant-page-body .diet-filter-control-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.restaurant-page-body .diet-filter-control-menu .diet-filter-caption {
  margin-right: 2px;
  color: #89928c;
  font-size: 9px;
}

.restaurant-page-body .diet-filter-control-menu button {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid #e8ece7;
  border-radius: 999px;
  background: #fff;
  color: #5c6860;
  font-size: 9px;
  font-weight: 700;
}

.restaurant-page-body .diet-filter-control-menu button[aria-pressed="true"] {
  border-color: #df6841;
  background: #fff4ee;
  color: #c94f2c;
}

.restaurant-page-body .category-filter-chips {
  gap: 7px;
  padding: 0 0 1px;
}

.restaurant-page-body .filter-chip {
  min-height: 30px;
  padding: 0 12px;
  border-color: #e7ebe6;
  border-radius: 999px;
  background: #fff;
  color: #5b665f;
  font-size: 9px;
  box-shadow: none;
}

.restaurant-page-body .filter-chip.active {
  border-color: #2c4537;
  background: #263b30;
  color: #fff;
}

.restaurant-page-body .menu-list-premium {
  min-height: 220px;
  padding: 5px 14px 120px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(232, 239, 231, .62), transparent 38%),
    #f7f8f6;
}

.restaurant-page-body .category-header-premium {
  margin: 17px 1px 10px;
  padding: 0 1px 8px;
  border-bottom: 1px solid #e3e8e2;
  color: #2e3b33;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .45px;
}

.restaurant-page-body .category-header-premium .item-count {
  min-width: 25px;
  padding: 3px 8px;
  border: 1px solid #e7ebe6;
  border-radius: 999px;
  background: #fff;
  color: #778179;
  font-size: 9px;
}

.restaurant-page-body .vertical-list {
  gap: 10px;
}

.restaurant-page-body .menu-item-card-premium {
  min-height: 116px;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e9ede8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(33, 45, 37, .045);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.restaurant-page-body .menu-item-card-premium:hover {
  transform: translateY(-1px);
  border-color: #dce5dc;
  box-shadow: 0 8px 20px rgba(33, 45, 37, .08);
}

.restaurant-page-body .menu-item-card-premium h4 {
  color: #29372f;
  font-size: 13px;
  line-height: 1.3;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  margin-top: 5px;
  color: #2b4938;
  font-size: 12px;
  font-weight: 850;
}

.restaurant-page-body .menu-item-card-premium p.description {
  margin-top: 4px;
  color: #77817a;
  font-size: 9px;
  line-height: 1.45;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img,
.restaurant-page-body .menu-dish-image-placeholder {
  border: 0;
  border-radius: 14px;
  background: #f1f3ef;
  object-fit: cover;
}

.restaurant-page-body .qty-selector-premium {
  width: 76px;
  height: 27px;
  border: 1px solid #e4c5b7;
  border-radius: 9px;
  color: #c95130;
  box-shadow: 0 4px 10px rgba(36, 48, 39, .12);
}

.restaurant-page-body .menu-variety-actions button {
  border-radius: 9px;
  background: #fff4ee;
  color: #c95130;
}

.restaurant-page-body .floating-cart-bucket.active {
  background: linear-gradient(110deg, #263b30, #17261e);
}

.restaurant-page-body .moozo-chef-helper {
  bottom: calc(92px + env(safe-area-inset-bottom));
}

/* Keep the first restaurant viewport focused on dishes and quick add actions. */
.restaurant-page-body .restaurant-hero {
  height: clamp(150px, 46vw, 190px);
}

.restaurant-page-body .restaurant-hero-brand {
  display: none;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -22px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 12px 13px 9px;
  border-radius: 18px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 12px;
}

.restaurant-page-body .restaurant-card-kicker,
.restaurant-page-body .restaurant-trust-line,
.restaurant-page-body .restaurant-main-info .address-text,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: none !important;
}

.restaurant-page-body .restaurant-main-info h2 {
  font-size: 18px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 3px 0 0 50px;
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 6px 0 0;
}

.restaurant-page-body .restaurant-stats-grid .stat-box {
  min-height: 31px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: none;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  font-size: 6px;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 7px;
  padding-top: 7px;
}

.restaurant-page-body .restaurant-offers-heading {
  margin-bottom: 5px;
}

.restaurant-page-body .restaurant-offers-heading small,
.restaurant-page-body .restaurant-offer-banner,
.restaurant-page-body .restaurant-offer-code-row {
  display: none;
}

.restaurant-page-body .offers-scroll-x {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 42px;
  overflow: hidden;
}

.restaurant-page-body .offer-card-premium {
  min-height: 38px;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 11px;
}

.restaurant-page-body .offer-card-details {
  padding: 4px 6px;
}

.restaurant-page-body .restaurant-offer-discount {
  margin-top: 2px;
  font-size: 10px;
}

.restaurant-page-body .offer-title {
  display: none;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 13px 16px 8px;
}

.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: none;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  margin: 0;
  font-size: 19px;
}

.restaurant-page-body .menu-sticky-controls {
  position: sticky;
  top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 8px;
  padding: 7px 11px 8px;
  border-top: 0;
  border-bottom: 1px solid #e8ece7;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 5px 14px rgba(29, 42, 34, .06);
}

.restaurant-page-body .menu-search-bar {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 36px;
  height: 36px;
}

.restaurant-page-body .menu-search-bar input {
  min-width: 0;
  min-height: 36px;
  height: 36px;
  padding-right: 30px;
  font-size: 10px;
}

.restaurant-page-body .diet-filter-control-menu {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.restaurant-page-body .diet-filter-control-menu .diet-filter-caption {
  display: none;
}

.restaurant-page-body .diet-filter-control-menu button {
  min-height: 29px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 9px;
}

.restaurant-page-body .diet-filter-control-menu button .diet-dot {
  margin-right: 3px;
}

.restaurant-page-body .category-filter-chips {
  grid-column: 1 / -1;
  grid-row: 2;
  min-width: 0;
  max-width: 100%;
  gap: 6px;
  padding: 1px 0 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

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

.restaurant-page-body .filter-chip {
  min-height: 26px;
  padding: 0 9px;
  font-size: 8px;
}

.restaurant-page-body .menu-list-premium {
  padding: 2px 11px 112px;
}

.restaurant-page-body .category-header-premium {
  margin: 12px 2px 8px;
  padding-bottom: 6px;
  font-size: 12px;
}

.restaurant-page-body .vertical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 9px;
}

.restaurant-page-body .menu-item-card-premium {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0;
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(33, 45, 37, .055);
}

.restaurant-page-body .menu-item-card-premium .item-info-col {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 2px 2px;
}

.restaurant-page-body .menu-item-card-premium .veg-indicator {
  width: 11px;
  height: 11px;
  margin-bottom: 5px;
}

.restaurant-page-body .menu-item-card-premium h4 {
  display: -webkit-box;
  width: 100%;
  min-height: 32px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  margin-top: auto;
  padding-top: 5px;
  color: #263b30;
  font-size: 12px;
}

.restaurant-page-body .menu-item-card-premium p.description,
.restaurant-page-body .menu-item-card-premium .dish-stars-badge {
  display: none !important;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 1.25;
  margin: 0;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img,
.restaurant-page-body .menu-item-card-premium .menu-dish-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium {
  bottom: -2px;
  width: 66px;
  height: 25px;
  border-radius: 8px;
  font-size: 9px;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .qty-adjust {
  width: 20px;
  height: 21px;
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions button {
  min-height: 25px;
  padding: 0 9px;
  border-radius: 9px;
  background: #fff4ee;
  color: #c95130;
  font-size: 9px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 145px;
  }

  .restaurant-page-body .restaurant-info-card {
    padding: 11px 11px 8px;
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    aspect-ratio: 1.15;
  }
}

@media (min-width: 700px) {
  .restaurant-page-body .vertical-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    aspect-ratio: 1.35;
  }
}

/* Keep the standalone restaurant refresh after legacy responsive overrides. */
.restaurant-page-body .restaurant-hero {
  height: clamp(220px, 58vw, 280px);
}

.restaurant-page-body .restaurant-hero-brand {
  display: block;
  right: 20px;
  bottom: 54px;
  left: 20px;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -34px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 15px 14px 12px;
  border-radius: 21px;
}

.restaurant-page-body .restaurant-card-kicker,
.restaurant-page-body .restaurant-trust-line {
  display: block !important;
}

.restaurant-page-body .restaurant-main-info .address-text {
  display: flex !important;
  margin-top: 11px;
  padding: 8px 10px;
}

.restaurant-page-body .restaurant-info-card .card-divider {
  display: block !important;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: flex !important;
  min-height: 49px;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box + .stat-box {
  border-left: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  display: block;
  font-size: 14px;
}

.restaurant-page-body .restaurant-stats-grid .stat-info {
  min-width: 0;
  align-items: flex-start;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  font-size: 7px;
}

.restaurant-page-body .restaurant-offers-heading small {
  display: block;
}

.restaurant-page-body .offers-scroll-x {
  display: flex;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.restaurant-page-body .offer-card-premium {
  min-width: min(220px, 82%);
  min-height: 76px;
  flex: 0 0 min(220px, 82%);
  padding: 0;
}

.restaurant-page-body .restaurant-offer-banner {
  display: block;
  width: 58px;
  min-height: 76px;
  flex: 0 0 58px;
}

.restaurant-page-body .restaurant-offer-code-row,
.restaurant-page-body .offer-title {
  display: flex;
}

.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: block;
}

.restaurant-page-body .menu-sticky-controls {
  top: 62px;
}

.restaurant-page-body .restaurant-featured-section[hidden] {
  display: none !important;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 205px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-box {
    gap: 4px;
  }
}

/* Restaurant storefront refresh */
.restaurant-page-body #restaurant-view,
.restaurant-page-body #restaurant-scroll-container {
  background: #f6f8f7;
}

.restaurant-page-body .restaurant-hero {
  height: clamp(220px, 58vw, 280px);
  background:
    radial-gradient(ellipse at 72% 12%, rgba(247, 181, 99, 0.42), transparent 42%),
    linear-gradient(135deg, #202a25, #66503a 58%, #a67543);
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.82) saturate(1.03) !important;
  object-position: center 48%;
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(180deg, rgba(12, 18, 16, .2), transparent 38%),
    linear-gradient(0deg, rgba(12, 18, 16, .6), transparent 67%);
}

.restaurant-page-body .restaurant-hero-brand {
  display: block;
  right: 20px;
  bottom: 54px;
  left: 20px;
}

.restaurant-page-body .restaurant-hero-brand > span {
  margin-bottom: 6px;
  font-size: 8px;
  letter-spacing: 1.35px;
}

.restaurant-page-body .restaurant-hero-brand h1 {
  max-width: 88%;
  font-size: clamp(24px, 7vw, 32px);
}

.restaurant-page-body .restaurant-floating-header {
  top: 16px;
  right: 16px;
  left: 16px;
}

.restaurant-page-body .header-circle-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 5px 18px rgba(17, 24, 20, .17);
}

.restaurant-page-body .restaurant-info-card-wrapper {
  z-index: 12;
  margin-top: -34px;
  padding: 0 14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 15px 14px 12px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 39, 30, .1);
}

.restaurant-page-body .restaurant-main-info .title-rating-row {
  align-items: center;
  gap: 8px;
}

.restaurant-page-body .restaurant-brand-lockup {
  gap: 11px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
  border: 1px solid #eee8de;
  border-radius: 16px;
}

.restaurant-page-body .restaurant-card-kicker {
  display: block;
  margin-bottom: 3px;
  color: #9a7250;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.15px;
}

.restaurant-page-body .restaurant-main-info h2 {
  color: #1d2c24;
  font-size: clamp(17px, 4.7vw, 20px);
  line-height: 1.12;
  white-space: normal;
}

.restaurant-page-body .rating-badge-premium {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid #d8eee0;
  border-radius: 11px;
  background: #eff9f2;
  color: #167247;
  box-shadow: none;
  font-size: 11px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 7px 0 0 65px;
  color: #68756d;
  font-size: 10px;
  line-height: 1.35;
}

.restaurant-page-body .restaurant-trust-line {
  display: flex;
  margin: 8px 0 0 65px;
  font-size: 9px;
}

.restaurant-page-body .restaurant-main-info .address-text {
  display: flex !important;
  margin-top: 11px;
  padding: 8px 10px;
  border-radius: 11px;
  background: #f6f8f6;
  color: #647169;
  font-size: 9px;
}

.restaurant-page-body .restaurant-info-card .card-divider {
  display: block !important;
  margin: 11px 0 5px;
  border-top: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 4px 0 3px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: flex;
  min-width: 0;
  min-height: 49px;
  flex-direction: row;
  justify-content: center;
  gap: 7px;
  padding: 3px 5px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box + .stat-box {
  border-left: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  font-size: 15px;
}

.restaurant-page-body .restaurant-stats-grid .stat-info {
  min-width: 0;
  align-items: flex-start;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  overflow: hidden;
  max-width: 100%;
  color: #27372e;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  margin-top: 3px;
  color: #7a857e;
  font-size: 7px;
  letter-spacing: .2px;
}

.restaurant-page-body .restaurant-offers-container[hidden] {
  display: none !important;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 7px;
  padding-top: 11px;
  border-top: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-offers-heading {
  margin-bottom: 8px;
}

.restaurant-page-body .restaurant-offers-heading small {
  display: block;
}

.restaurant-page-body .offers-scroll-x {
  display: flex;
  gap: 8px;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.restaurant-page-body .offers-scroll-x::-webkit-scrollbar,
.restaurant-page-body .restaurant-featured-dishes::-webkit-scrollbar,
.restaurant-page-body .category-filter-chips::-webkit-scrollbar {
  display: none;
}

.restaurant-page-body .offer-card-premium {
  min-width: min(220px, 82%);
  min-height: 76px;
  flex: 0 0 min(220px, 82%);
  gap: 0;
  padding: 0;
  border: 1px solid #e4eee7;
  border-radius: 14px;
  background: linear-gradient(120deg, #f0faf3, #fff);
}

.restaurant-page-body .restaurant-offer-banner {
  display: block;
  width: 58px;
  min-height: 76px;
  flex: 0 0 58px;
  object-fit: cover;
}

.restaurant-page-body .offer-card-details {
  min-width: 0;
  padding: 8px 9px;
}

.restaurant-page-body .offer-badge-tag {
  padding: 3px 5px;
  font-size: 6px;
}

.restaurant-page-body .restaurant-offer-discount {
  margin-top: 4px;
  color: #1b4931;
  font-size: 12px;
}

.restaurant-page-body .restaurant-page-body .offer-title,
.restaurant-page-body .offer-title {
  display: block;
  font-size: 8px;
}

.restaurant-page-body .restaurant-offer-code-row {
  display: flex;
}

.restaurant-page-body .restaurant-offer-code-row > span {
  font-size: 7px;
}

.restaurant-page-body .restaurant-offer-copy {
  padding: 4px 6px;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 18px 17px 10px;
  background: transparent;
}

.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: block;
}

.restaurant-page-body .restaurant-menu-intro > span {
  color: #188355;
  font-size: 8px;
  letter-spacing: 1.1px;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  margin-top: 3px;
  color: #1d2c24;
  font-size: 21px;
}

.restaurant-page-body .restaurant-menu-intro p {
  margin-top: 3px;
  color: #737e77;
  font-size: 10px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 62px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 9px;
  padding: 8px 14px 9px;
  border-top: 0;
  border-bottom: 1px solid #e6ece8;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 7px 18px rgba(28, 43, 34, .07);
  backdrop-filter: blur(14px);
}

.restaurant-page-body .menu-search-bar,
.restaurant-page-body .menu-search-bar input {
  min-height: 40px;
  height: 40px;
}

.restaurant-page-body .menu-search-bar {
  border-color: #e3eae5;
  border-radius: 12px;
  background: #f6f8f7;
}

.restaurant-page-body .menu-search-bar input {
  font-size: 10px;
}

.restaurant-page-body .diet-filter-control-menu {
  min-height: 32px;
  gap: 4px;
}

.restaurant-page-body .diet-filter-control-menu button {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9px;
}

.restaurant-page-body .category-filter-chips {
  gap: 7px;
  padding: 2px 0 1px;
}

.restaurant-page-body .filter-chip {
  display: inline-flex;
  min-height: 37px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-color: #e3eae5;
  border-radius: 12px;
  background: #fff;
  color: #47544c;
  font-size: 9px;
  box-shadow: 0 2px 7px rgba(34, 52, 41, .04);
}

.restaurant-page-body .filter-chip.active {
  border-color: #f05b2b;
  background: #fff3ed;
  color: #d34e25;
}

.restaurant-page-body .menu-category-icon {
  display: inline-grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.restaurant-featured-section {
  padding: 13px 14px 3px;
  background: #f6f8f7;
}

.restaurant-featured-section[hidden] {
  display: none !important;
}

.restaurant-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.restaurant-section-heading > div > span {
  display: block;
  margin-bottom: 3px;
  color: #188355;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.05px;
}

.restaurant-section-heading h2 {
  color: #1d2c24;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.45px;
}

.restaurant-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 0 3px 8px;
  border: 0;
  background: transparent;
  color: #db562c;
  font: 750 10px var(--font-primary);
  cursor: pointer;
}

.restaurant-view-all span {
  font-size: 15px;
}

.restaurant-featured-dishes {
  display: grid;
  grid-auto-columns: minmax(145px, 45%);
  grid-auto-flow: column;
  grid-template-rows: 1fr;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 1px 10px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.restaurant-featured-dish {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e7ece8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 47, 38, .06);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.restaurant-featured-dish:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(32, 47, 38, .1);
}

.restaurant-featured-image {
  position: relative;
  aspect-ratio: 1.35;
  overflow: hidden;
  background: #f1f3ef;
}

.restaurant-featured-image > img,
.restaurant-featured-image > .menu-dish-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 40px);
  overflow: hidden;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e8562b;
  color: #fff;
  font-size: 7px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-featured-diet {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #16834f;
  border-radius: 4px;
  background: rgba(255, 255, 255, .95);
}

.restaurant-featured-diet i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16834f;
}

.restaurant-featured-diet.is-non-veg {
  border-color: #d14636;
}

.restaurant-featured-diet.is-non-veg i {
  background: #d14636;
}

.restaurant-featured-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 6px;
  padding: 8px;
}

.restaurant-featured-info h3 {
  grid-column: 1 / -1;
  overflow: hidden;
  color: #24332a;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-featured-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  color: #27372e;
  font-size: 10px;
  font-weight: 800;
}

.restaurant-featured-rating {
  color: #a56518;
  white-space: nowrap;
}

.restaurant-featured-add {
  min-width: 52px;
  min-height: 27px;
  padding: 0 8px;
  border: 1px solid #df6037;
  border-radius: 9px;
  background: #fff;
  color: #d34e25;
  font: 800 8px var(--font-primary);
  cursor: pointer;
}

.restaurant-featured-add:hover {
  background: #fff3ed;
}

.restaurant-featured-add.is-added {
  border-color: #cde8d7;
  background: #eff9f2;
  color: #167247;
}

.restaurant-page-body .menu-list-premium {
  padding-top: 4px;
  background:
    radial-gradient(ellipse at 100% 0, rgba(225, 238, 229, .55), transparent 38%),
    #f6f8f7;
}

.restaurant-page-body .category-header-premium {
  color: #26372d;
  font-size: 13px;
  letter-spacing: .2px;
}

.restaurant-page-body .menu-item-card-premium {
  border-color: #e7ece8;
  border-radius: 17px;
  box-shadow: 0 4px 14px rgba(32, 47, 38, .06);
}

.restaurant-page-body .menu-item-card-premium .item-image-col img {
  transition: transform .25s ease;
}

.restaurant-page-body .menu-item-card-premium:hover .item-image-col img {
  transform: scale(1.04);
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  color: #1d3929;
  font-size: 13px;
}

.restaurant-page-body .floating-cart-bucket.active {
  background: linear-gradient(110deg, #f2662f, #e94d21);
  box-shadow: 0 10px 26px rgba(224, 77, 34, .28);
}

@media (min-width: 700px) {
  .restaurant-featured-dishes {
    grid-auto-columns: minmax(180px, 31%);
  }
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 205px;
  }

  .restaurant-page-body .restaurant-info-card {
    padding: 13px 11px 10px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-box {
    gap: 4px;
    padding-right: 3px;
    padding-left: 3px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-icon {
    font-size: 13px;
  }

  .restaurant-featured-dishes {
    grid-auto-columns: minmax(136px, 48%);
  }
}

/* Mooozo Mart visual refresh */
#tab-store {
  background: #f7faf8;
}

#tab-store .store-scroll-content {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(223, 246, 231, 0.42), transparent 35%),
    #f7faf8;
}

#tab-store .store-app-header {
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
}

#tab-store .store-app-header .brand-name-text {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
  color: #f04b24;
  font-size: clamp(17px, 4.8vw, 21px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

#tab-store .store-app-header .brand-name-text strong {
  color: #142234;
  font-weight: 900;
}

#tab-store .store-fast-badge {
  padding: 7px 11px;
  border-color: #c7efda;
  background: #edfbf3;
  font-size: 11px;
}

#tab-store .store-cart-toggle-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

#tab-store .store-cart-count {
  top: 0;
  right: -2px;
}

#tab-store .store-search-sticky {
  padding: 8px 16px 0;
  background: rgba(255, 255, 255, 0.96);
}

#tab-store .store-search-bar .search-input-wrapper {
  min-height: 50px;
  border: 1px solid #e2e9e6;
  border-radius: 16px;
  background: #f5f8f7;
  box-shadow: 0 3px 12px rgba(25, 55, 39, 0.035);
}

#tab-store .store-search-bar input {
  font-size: 14px;
}

.store-featured {
  padding: 12px 16px 18px;
}

.store-featured-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.store-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: #16865b;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.store-featured-heading h2 {
  color: #172437;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.7px;
  line-height: 1.1;
}

.store-featured-delivery {
  padding: 6px 9px;
  border: 1px solid #d7efe1;
  border-radius: 999px;
  background: #f0faf4;
  color: #16865b;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.store-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.store-feature-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 168px;
  align-items: flex-start;
  overflow: hidden;
  padding: 15px 13px;
  border: 0;
  border-radius: 21px;
  color: #142234;
  font: inherit;
  text-align: left;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 8px 20px rgba(29, 53, 40, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.store-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(29, 53, 40, 0.15);
}

.store-feature-card:focus-visible {
  outline: 3px solid #16865b;
  outline-offset: 3px;
}

.store-feature-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.79) 40%, rgba(255, 255, 255, 0.03) 100%);
  content: "";
}

.store-feature-card img {
  position: absolute;
  z-index: -2;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 76%;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 400ms ease;
}

.store-feature-card:hover img {
  transform: scale(1.06);
}

.store-feature-fruit {
  background: #ffe9c7;
}

.store-feature-vegetable {
  background: #dff3d9;
}

.store-feature-grocery {
  background: #dceefa;
}

.store-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.store-feature-label {
  color: #526353;
  font-size: 9px;
  font-weight: 700;
}

.store-feature-copy strong {
  color: #173329;
  font-size: clamp(16px, 4.3vw, 22px);
  font-weight: 850;
  letter-spacing: -0.7px;
  line-height: 1.05;
}

.store-feature-vegetable .store-feature-copy strong {
  color: #174c2b;
}

.store-feature-grocery .store-feature-copy strong {
  color: #17416a;
}

.store-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: #16865b;
  font-size: 10px;
  font-weight: 800;
}

.store-feature-link span {
  font-size: 14px;
  line-height: 0.8;
}

#tab-store .store-category-tabs-bar {
  top: 90px;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 16px 6px;
  border-bottom: 1px solid rgba(218, 229, 222, 0.8);
  background: rgba(247, 250, 248, 0.96);
}

#tab-store .store-cat-pill {
  flex: 1 1 0;
  min-width: 0;
  min-height: 38px;
  gap: 5px;
  padding: 6px;
  border-color: #e1e9e4;
  border-radius: 12px;
  background: #fff;
  font-size: 10px;
  box-shadow: 0 2px 7px rgba(34, 52, 41, 0.035);
}

#tab-store .store-cat-pill.active {
  border-color: #159765;
  background: #e9f8ef;
  color: #08794f;
  box-shadow: inset 0 0 0 1px rgba(21, 151, 101, 0.08);
}

#tab-store .store-cat-pill-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

#tab-store .store-cat-pill > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

#tab-store .store-filter-row {
  padding: 6px 16px 7px;
  background: transparent;
}

#tab-store .store-filter-chip {
  min-height: 31px;
  padding: 6px 11px;
  border-color: #e5ebe7;
  border-radius: 999px;
  background: #fff;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(34, 52, 41, 0.03);
}

#tab-store .store-filter-chip.active {
  border-color: #b7e5cb;
  background: #eaf8ef;
  color: #08794f;
}

#tab-store .store-catalog-section {
  padding: 9px 16px 4px;
}

#tab-store .store-catalog-header {
  align-items: flex-end;
  margin-bottom: 13px;
}

#tab-store .store-catalog-heading {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -0.55px;
}

#tab-store .store-catalog-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf3ef;
  color: #52635a;
  font-size: 10px;
  font-weight: 700;
}

#tab-store .store-items-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#tab-store .store-item-card {
  padding: 9px;
  border-color: #e9eeeb;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(31, 51, 39, 0.055);
}

#tab-store .store-item-thumb-wrap {
  aspect-ratio: 1.12 / 1;
  border-radius: 13px;
  background: #f3f6f3;
}

#tab-store .store-item-name {
  color: #172437;
  font-size: 13px;
  font-weight: 800;
}

#tab-store .store-item-price {
  color: #142234;
  font-size: 16px;
}

#tab-store .store-add-btn {
  min-width: 72px;
  height: 32px;
  border-radius: 10px;
  font-size: 11px;
}

@media (max-width: 430px) {
  .store-featured {
    padding-top: 9px;
  }

  .store-featured-grid {
    grid-auto-columns: min(76%, 250px);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 8px;
    scrollbar-width: none;
  }

  .store-featured-grid::-webkit-scrollbar {
    display: none;
  }

  .store-feature-card {
    min-height: 155px;
    padding: 12px 10px;
    border-radius: 18px;
  }

  .store-feature-label {
    font-size: 8px;
  }

  .store-feature-copy strong {
    font-size: clamp(14px, 4.1vw, 18px);
  }

  .store-feature-link {
    font-size: 9px;
  }

  .store-featured-delivery {
    max-width: 112px;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 360px) {
  #tab-store .store-app-header .brand-name-text {
    font-size: 15px;
    letter-spacing: -0.9px;
  }

  #tab-store .store-fast-badge {
    gap: 3px;
    padding: 6px 7px;
    font-size: 9px;
  }

  .store-feature-card {
    min-height: 142px;
  }

  .store-feature-copy strong {
    font-size: 20px;
  }
}

#cart-drawer .cart-header-copy p {
  margin-top: 3px;
}

#cart-drawer .cart-chef-guide {
  display: none;
}

#cart-drawer .checkout-details-section {
  gap: 10px;
  margin-top: 12px;
  padding: 14px 12px !important;
  border-radius: 17px;
}

#cart-drawer .checkout-section-heading {
  padding-bottom: 9px;
}

#cart-drawer .checkout-section-heading h4 {
  font-size: 15px;
}

#cart-drawer .checkout-details-section > .form-group > label:not(.checkout-payment-heading) {
  margin-bottom: 5px !important;
  font-size: 11px !important;
}

#cart-drawer .checkout-manage-addresses {
  margin-top: 5px;
  font-size: 10px;
}

#cart-drawer .checkout-offers {
  margin: 0;
  padding: 9px;
  border-radius: 12px;
}

#cart-drawer .checkout-offers-heading {
  margin-bottom: 6px;
}

#cart-drawer .checkout-offers-heading h3 {
  font-size: 11px;
}

#cart-drawer .checkout-extra-notes {
  border: 1px solid #e9ede6;
  border-radius: 11px;
  background: #fff;
}

#cart-drawer .checkout-extra-notes > summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  color: #39463e;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

#cart-drawer .checkout-extra-notes > summary::-webkit-details-marker {
  display: none;
}

#cart-drawer .checkout-extra-notes > summary::after {
  color: #758078;
  content: "+";
  font-size: 16px;
  font-weight: 500;
}

#cart-drawer .checkout-extra-notes[open] > summary::after {
  content: "−";
}

#cart-drawer .checkout-extra-notes > summary span {
  margin-left: auto;
  padding-right: 8px;
  color: #89918b;
  font-size: 9px;
  font-weight: 500;
}

#cart-drawer .checkout-extra-notes-fields {
  display: grid;
  gap: 9px;
  padding: 0 10px 10px;
}

#cart-drawer .checkout-extra-notes .checkout-note-group label {
  font-size: 10px;
}

#cart-drawer .checkout-note-group textarea {
  min-height: 44px;
  font-size: 11px;
}

#cart-drawer .checkout-note-count {
  margin-top: 2px;
}

#cart-drawer .checkout-payment-heading {
  margin-bottom: 6px !important;
}

#cart-drawer .payment-options-grid {
  gap: 6px;
}

#cart-drawer .form-group .pay-option {
  min-height: 54px;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 12px;
}

#cart-drawer .pay-option-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border-radius: 10px;
  font-size: 15px;
}

#cart-drawer .pay-option-copy {
  gap: 2px;
}

#cart-drawer .pay-option-copy strong {
  font-size: 10px;
}

#cart-drawer .pay-option-copy small {
  font-size: 9px;
}

#cart-drawer .cart-drawer-footer {
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
}

#cart-drawer .price-summary {
  margin-bottom: 8px;
}

#cart-drawer .price-row {
  margin-bottom: 5px;
}

#cart-drawer .price-row.total-row {
  margin-top: 7px;
}

#cart-drawer .primary-action-btn {
  height: 46px;
}

#tab-orders #orders-container {
  padding: 10px 12px !important;
}

#tab-orders .order-card {
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 16px;
}

#tab-orders .order-card-header {
  margin-bottom: 6px;
}

#tab-orders .order-active-items {
  margin: 0 0 8px;
  overflow: hidden;
  color: #69736c;
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-orders .tracking-map-container {
  padding: 9px;
  border-radius: 15px;
  box-shadow: none;
}

#tab-orders .tracking-map-heading {
  margin: 0 1px 7px;
  justify-content: flex-end;
}

#tab-orders .tracking-map-heading h5 {
  margin: 0;
  font-size: 11px;
}

#tab-orders .tracking-map-expand {
  min-height: 27px;
  padding: 0 8px;
}

#tab-orders .tracking-delivery-summary {
  gap: 8px;
  margin-bottom: 7px;
  padding: 7px 9px;
  border-radius: 11px;
}

#tab-orders .tracking-summary-icon {
  width: 27px;
  height: 27px;
  flex-basis: 27px;
  border-radius: 9px;
}

#tab-orders .tracking-delivery-summary strong {
  font-size: 11px;
}

#tab-orders .tracking-payment-summary {
  display: none;
}

#tab-orders .tracking-delivery-otp {
  gap: 7px;
  margin-bottom: 6px;
  padding: 6px 8px;
  border-radius: 10px;
}

#tab-orders .tracking-otp-shield {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  border-radius: 8px;
}

#tab-orders .tracking-delivery-otp small,
#tab-orders .tracking-delivery-otp > div > span {
  display: none;
}

#tab-orders .tracking-delivery-otp p {
  font-size: 9px;
  line-height: 1.3;
}

#tab-orders .tracking-progress {
  margin-bottom: 7px;
  padding: 8px 7px;
  border-radius: 11px;
}

#tab-orders .tracking-progress-heading {
  display: none;
}

#tab-orders .tracking-progress-rail {
  gap: 2px;
  padding-bottom: 1px;
}

#tab-orders .tracking-progress-step {
  gap: 4px;
  min-width: 48px;
}

#tab-orders .tracking-progress-step small {
  font-size: 7px;
}

#tab-orders .tracking-map-canvas {
  display: none;
  height: 112px;
  border-radius: 11px;
}

#tab-orders .tracking-location-list,
#tab-orders .tracking-map-status {
  display: none;
}

#tab-orders .tracking-map-container.is-fullscreen .tracking-map-canvas {
  display: block;
  height: min(52vh, 560px);
}

#tab-orders .tracking-map-container.is-fullscreen .tracking-location-list {
  display: grid;
}

#tab-orders .tracking-map-container.is-fullscreen .tracking-map-status {
  display: block;
}

#tab-orders .tracking-rider-details {
  margin-top: 7px;
  padding: 8px;
}

#tab-orders .order-card-total {
  margin-top: 8px !important;
  font-size: 11px;
}

#tab-orders .order-card-total > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

#tab-orders .order-card-total .order-payment-short {
  color: #7b857d;
  font-size: 9px;
  font-weight: 600;
}

#tab-orders .order-card-total button {
  min-height: 27px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 210px;
  }

  .restaurant-page-body .restaurant-info-card {
    padding: 13px 12px 10px;
  }

  .restaurant-page-body .restaurant-brand-lockup > img,
  .restaurant-page-body .restaurant-brand-initial {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
  }

  .restaurant-page-body .restaurant-main-info .cuisine,
  .restaurant-page-body .restaurant-trust-line {
    margin-left: 53px;
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    width: 76px;
    height: 76px;
    flex-basis: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-page-body .menu-item-card-premium,
  .restaurant-page-body .restaurant-info-card,
  .restaurant-page-body .hero-banner-img img {
    animation: none !important;
    transition: none !important;
  }
}

/* Product-first restaurant menu layout. */
.restaurant-page-body .restaurant-hero {
  height: clamp(150px, 46vw, 190px);
}

.restaurant-page-body .restaurant-hero-brand {
  display: none;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -22px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 12px 13px 9px;
  border-radius: 18px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 12px;
}

.restaurant-page-body .restaurant-card-kicker,
.restaurant-page-body .restaurant-trust-line,
.restaurant-page-body .restaurant-main-info .address-text,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: none !important;
}

.restaurant-page-body .restaurant-main-info h2 {
  font-size: 18px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 3px 0 0 50px;
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 6px 0 0;
}

.restaurant-page-body .restaurant-stats-grid .stat-box {
  min-height: 31px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: none;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  font-size: 6px;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 7px;
  padding-top: 7px;
}

.restaurant-page-body .restaurant-offers-heading {
  margin-bottom: 5px;
}

.restaurant-page-body .restaurant-offers-heading small,
.restaurant-page-body .restaurant-offer-banner,
.restaurant-page-body .restaurant-offer-code-row {
  display: none;
}

.restaurant-page-body .offers-scroll-x {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  max-height: 42px;
  overflow: hidden;
}

.restaurant-page-body .offer-card-premium {
  min-height: 38px;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 11px;
}

.restaurant-page-body .offer-card-details {
  padding: 4px 6px;
}

.restaurant-page-body .restaurant-offer-discount {
  margin-top: 2px;
  font-size: 10px;
}

.restaurant-page-body .offer-title {
  display: none;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 13px 16px 8px;
}

.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: none;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  margin: 0;
  font-size: 19px;
}

.restaurant-page-body .menu-sticky-controls {
  gap: 7px;
  padding: 8px 12px 9px;
}

.restaurant-page-body .menu-search-bar,
.restaurant-page-body .menu-search-bar input {
  min-height: 36px;
  height: 36px;
}

.restaurant-page-body .diet-filter-control-menu {
  min-height: 29px;
  gap: 3px;
}

.restaurant-page-body .diet-filter-control-menu button {
  min-height: 29px;
  padding: 0 6px;
  font-size: 10px;
}

.restaurant-page-body .filter-chip {
  min-height: 27px;
  padding: 0 10px;
}

.restaurant-page-body .menu-list-premium {
  padding: 2px 11px 112px;
}

.restaurant-page-body .category-header-premium {
  margin: 12px 2px 8px;
  padding-bottom: 6px;
  font-size: 12px;
}

.restaurant-page-body .vertical-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 9px;
}

.restaurant-page-body .menu-item-card-premium {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column-reverse;
  align-items: stretch;
  gap: 0;
  padding: 7px;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(33, 45, 37, .055);
}

.restaurant-page-body .menu-item-card-premium .item-info-col {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 2px 2px;
}

.restaurant-page-body .menu-item-card-premium .veg-indicator {
  width: 11px;
  height: 11px;
  margin-bottom: 5px;
}

.restaurant-page-body .menu-item-card-premium h4 {
  display: -webkit-box;
  width: 100%;
  min-height: 32px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  margin-top: auto;
  padding-top: 5px;
  color: #263b30;
  font-size: 12px;
}

.restaurant-page-body .menu-item-card-premium p.description,
.restaurant-page-body .menu-item-card-premium .dish-stars-badge {
  display: none !important;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 1.25;
  margin: 0;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img,
.restaurant-page-body .menu-item-card-premium .menu-dish-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 11px;
  object-fit: cover;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium {
  bottom: -2px;
  width: 66px;
  height: 25px;
  border-radius: 8px;
  font-size: 9px;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .qty-adjust {
  width: 20px;
  height: 21px;
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions button {
  min-height: 25px;
  padding: 0 9px;
  border-radius: 9px;
  background: #fff4ee;
  color: #c95130;
  font-size: 9px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 145px;
  }

  .restaurant-page-body .restaurant-info-card {
    padding: 11px 11px 8px;
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    aspect-ratio: 1.15;
  }
}

@media (min-width: 700px) {
  .restaurant-page-body .vertical-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    aspect-ratio: 1.35;
  }
}
/* Final restaurant overrides keep the refreshed layout above legacy rules. */
.restaurant-page-body .restaurant-hero {
  height: clamp(220px, 58vw, 280px);
}

.restaurant-page-body .restaurant-hero-brand {
  display: block;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -34px;
}

.restaurant-page-body .restaurant-card-kicker,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: block !important;
}

.restaurant-page-body .restaurant-trust-line {
  display: flex !important;
}

.restaurant-page-body .restaurant-main-info .address-text {
  display: flex !important;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: flex !important;
  min-height: 49px;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box + .stat-box {
  border-left: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  display: block;
}

.restaurant-page-body .restaurant-stats-grid .stat-box:last-child .stat-value {
  font-size: 9px;
}

.restaurant-page-body .offers-scroll-x {
  display: flex;
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.restaurant-page-body .offer-card-premium {
  min-height: 76px;
}

.restaurant-page-body .restaurant-offer-banner,
.restaurant-page-body .restaurant-offers-heading small,
.restaurant-page-body .restaurant-offer-code-row,
.restaurant-page-body .offer-title,
.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: block;
}

.restaurant-page-body .restaurant-offer-code-row {
  display: flex;
}

.restaurant-page-body .menu-sticky-controls {
  top: 62px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 205px;
  }
}

/* Compact restaurant header so diners reach the menu immediately. */
.restaurant-page-body .restaurant-hero {
  height: clamp(112px, 34vw, 145px);
}

.restaurant-page-body .restaurant-hero-brand {
  display: none !important;
}

.restaurant-page-body .restaurant-floating-header {
  top: 12px;
}

.restaurant-page-body .header-circle-btn {
  width: 36px;
  height: 36px;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -18px;
  padding-right: 12px;
  padding-left: 12px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 10px 11px 8px;
  border-radius: 17px;
  box-shadow: 0 7px 20px rgba(24, 39, 30, .075);
}

.restaurant-page-body .restaurant-brand-lockup {
  gap: 9px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 12px;
}

.restaurant-page-body .restaurant-card-kicker,
.restaurant-page-body .restaurant-trust-line,
.restaurant-page-body .restaurant-main-info .address-text,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: none !important;
}

.restaurant-page-body .restaurant-main-info .title-rating-row {
  align-items: center;
}

.restaurant-page-body .restaurant-main-info h2 {
  font-size: 17px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 3px 0 0 51px;
  font-size: 9px;
}

.restaurant-page-body .rating-badge-premium {
  padding: 5px 8px;
  font-size: 10px;
}

.restaurant-page-body .restaurant-stats-grid {
  margin: 7px 0 0;
  padding: 6px 0 0;
  border-top: 1px solid #edf0ed;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  min-height: 35px;
  gap: 5px;
  padding: 1px 3px;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  font-size: 12px;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  font-size: 9px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box:last-child .stat-value {
  font-size: 8px;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  margin-top: 1px;
  font-size: 6px;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 6px;
  padding-top: 7px;
}

.restaurant-page-body .restaurant-offers-heading {
  display: none;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 10px 14px 7px;
}

.restaurant-page-body .restaurant-menu-intro > span,
.restaurant-page-body .restaurant-menu-intro p {
  display: none !important;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -.25px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 62px;
  gap: 5px 8px;
  padding: 7px 11px 8px;
}

.restaurant-page-body .menu-search-bar,
.restaurant-page-body .menu-search-bar input {
  min-height: 36px;
  height: 36px;
}

.restaurant-page-body .diet-filter-control-menu,
.restaurant-page-body .diet-filter-control-menu button {
  min-height: 28px;
}

.restaurant-page-body .category-filter-chips {
  gap: 6px;
}

.restaurant-page-body .filter-chip {
  min-height: 32px;
  gap: 5px;
  padding: 0 8px;
}

.restaurant-page-body .menu-category-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  font-size: 14px;
}

.restaurant-page-body .menu-list-premium {
  padding-top: 0;
}

.restaurant-page-body .category-header-premium {
  margin-top: 9px;
  margin-bottom: 7px;
}

.restaurant-page-body .category-section {
  margin-bottom: 13px !important;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 112px;
  }
}

.restaurant-page-body .restaurant-hero {
  height: clamp(150px, 46vw, 185px);
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.98) saturate(1.08) contrast(1.02) !important;
  object-position: center 48%;
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(180deg, rgba(12, 18, 16, .13), transparent 38%),
    linear-gradient(0deg, rgba(12, 18, 16, .35), transparent 65%);
}

.restaurant-page-body .restaurant-floating-header {
  position: absolute;
  top: 12px;
  right: 15px;
  left: 15px;
  z-index: 910;
  pointer-events: none;
}

.restaurant-page-body .restaurant-floating-header > * {
  pointer-events: auto;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 9px 10px 7px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.restaurant-page-body .restaurant-main-info h2 {
  font-size: 16px;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 2px 0 0 47px;
  font-size: 8px;
}

.restaurant-page-body .restaurant-stats-grid {
  margin-top: 5px;
  padding-top: 4px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  min-height: 30px;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 8px 13px 6px;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  font-size: 16px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 0;
  gap: 4px 7px;
  padding: 6px 10px 7px;
  border-top: 0;
}

.restaurant-page-body .menu-search-bar,
.restaurant-page-body .menu-search-bar input {
  min-height: 34px;
  height: 34px;
}

.restaurant-page-body .diet-filter-control-menu,
.restaurant-page-body .diet-filter-control-menu button {
  min-height: 27px;
}

.restaurant-page-body .category-filter-chips {
  gap: 5px;
}

.restaurant-page-body .filter-chip {
  min-height: 29px;
  padding: 0 7px;
  font-size: 8px;
}

.restaurant-page-body .menu-list-premium {
  padding-right: 10px;
  padding-left: 10px;
}

.restaurant-page-body .category-header-premium {
  margin-top: 7px;
  margin-bottom: 6px;
  font-size: 11px;
}

.restaurant-page-body .vertical-list.is-single-item {
  grid-template-columns: minmax(0, 1fr);
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-rows: minmax(100px, auto);
  align-items: stretch;
  gap: 9px;
  padding: 8px;
  border-radius: 15px;
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .item-info-col {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  padding: 5px 2px;
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .item-image-col {
  grid-column: 1;
  grid-row: 1;
  width: 100px;
  min-height: 100px;
  aspect-ratio: 1;
  align-self: stretch;
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .item-image-col img {
  border-radius: 11px;
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium h4 {
  min-height: auto;
}

.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .price-row-item {
  margin-top: 5px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-hero {
    height: 150px;
  }

  .restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: minmax(88px, auto);
  }

  .restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .item-image-col {
    width: 88px;
    min-height: 88px;
  }
}

/* Shared violet theme accents for customer-facing app surfaces. */
body {
  background-color: #1B1030;
}

.phone-frame {
  background: #211239;
  border-color: #211239;
}

.phone-camera {
  background: #120822;
}

.phone-speaker {
  background: #4B3970;
}

.brand-name-text {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 50%, var(--primary-hover) 100%);
  filter: drop-shadow(0 2px 4px var(--primary-glow));
}

.home-app-header {
  border-bottom-color: rgba(109, 40, 217, .1);
  background:
    radial-gradient(ellipse at 50% -80%, rgba(221, 208, 255, .32), transparent 64%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
}

.home-app-header::before {
  background: linear-gradient(90deg, #9B70F5, var(--primary) 50%, #B49AFF);
}

.brand-mark-mini {
  background: linear-gradient(145deg, #8B5CF6, var(--primary-hover));
  box-shadow: 0 5px 12px var(--primary-glow);
}

.brand-mark-image {
  display: block;
  width: 84px;
  height: 56px;
  flex: 0 0 84px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-app-header .app-logo {
  width: 88px;
  min-width: 88px;
  gap: 0;
}

.home-app-header .brand-mark-image {
  width: 84px;
  height: 56px;
  flex-basis: 84px;
}

#tab-store .store-app-header .brand-mark-image {
  width: 72px;
  height: 48px;
  flex-basis: 72px;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none;
}

#tab-store .store-app-header .app-logo {
  gap: 5px;
}

.store-header-label {
  color: var(--primary-hover);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .8px;
}

@media (max-width: 360px) {
  .home-app-header .app-logo {
    width: 84px;
    min-width: 84px;
  }

  .home-app-header .brand-mark-image {
    width: 80px;
    flex-basis: 80px;
  }
}

.home-location-bar {
  border-color: rgba(109, 40, 217, .14);
  background: #F8F4FF;
}

.home-location-bar:hover,
.home-location-bar:focus-visible {
  border-color: rgba(109, 40, 217, .34);
  background: var(--primary-bg);
}

.home-location-bar .location-info {
  color: var(--primary);
}

.home-load-more {
  border-color: #E9DFF5;
  background: linear-gradient(135deg, #fff, #F8F4FF);
}

.home-load-more span,
.smart-card-cta {
  color: var(--primary);
}

.customer-toast-accent {
  background: linear-gradient(180deg, #9B70F5, var(--primary-hover));
}

.smart-chip:hover,
.smart-restaurant-filter-row .smart-chip.active,
.smart-pick-filter:hover,
.smart-pick-filter.active,
.smart-card-footer .smart-explore-btn {
  border-color: var(--primary);
  background: linear-gradient(135deg, #F8F4FF, var(--primary-bg));
  color: var(--primary-hover);
}

.smart-picks-section-heading.smart-restaurant-heading .smart-restaurant-filter-row .smart-chip.active {
  box-shadow: 0 2px 8px var(--primary-glow);
}

.smart-pick-filter.active {
  box-shadow: 0 3px 10px var(--primary-glow);
}

.smart-card-footer .smart-explore-btn:hover {
  background: var(--primary-bg);
}

.smart-restaurant-picks-grid .smart-badge {
  background: var(--primary-bg);
  color: var(--primary-hover);
}

.restaurant-page-body .filter-chip.active {
  border-color: var(--primary);
  background: var(--primary-bg);
  color: var(--primary-hover);
}

.restaurant-page-body .menu-item-card-premium:hover {
  border-color: rgba(109, 40, 217, .3);
}

.restaurant-page-body .qty-selector-premium {
  border-color: rgba(109, 40, 217, .34);
  color: var(--primary-hover);
}

.restaurant-page-body .floating-cart-bucket.active {
  background: linear-gradient(110deg, #4C1D95, #32105E);
  box-shadow: 0 14px 34px rgba(50, 16, 94, .28), 0 3px 8px rgba(50, 16, 94, .16);
}

#restaurants-container .rc-offer-strip,
.smart-restaurant-picks-grid .rc-offer-strip {
  background: linear-gradient(135deg, #F8F4FF 0%, #F3E8FF 100%) !important;
  border-color: #C4B5FD !important;
}

#restaurants-container .rc-offer-strip .rc-offer-title,
.smart-restaurant-picks-grid .rc-offer-strip .rc-offer-title {
  color: var(--primary-hover) !important;
}

#restaurants-container .rc-offer-strip .rc-copy-code,
.smart-restaurant-picks-grid .rc-offer-strip .rc-copy-code {
  border-color: #A78BFA !important;
  color: var(--primary-hover) !important;
  box-shadow: 0 1px 4px var(--primary-glow) !important;
}

#restaurants-container .rc-offer-strip .rc-copy-code:hover,
.smart-restaurant-picks-grid .rc-offer-strip .rc-copy-code:hover {
  background: var(--primary-bg) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 3px 8px var(--primary-glow) !important;
}

#tab-home .home-category-strip .category-icon-box {
  background: #F8F4FF;
  box-shadow: 0 5px 14px rgba(109, 40, 217, .1);
}

#tab-home .home-discovery-sticky,
#tab-home .home-categories-section {
  background-color: #FCFAFF;
}

#tab-home .more-restaurants-button {
  border-color: #D8C8F7;
  background: linear-gradient(135deg, #FBF8FF, #fff);
  color: var(--primary-hover);
}

#tab-home .more-restaurants-button:hover {
  border-color: #A78BFA;
  background: var(--primary-bg);
}

#tab-home .more-restaurants-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #ffd2bd;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff8f3, #fff);
  color: #d94f28;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#tab-home .more-restaurants-button:hover {
  border-color: #ffad88;
  background: #fff1e9;
}

#tab-home .more-restaurants-button:active {
  transform: scale(.98);
}

#tab-home .more-restaurants-button > span:last-child {
  font-size: 15px;
  line-height: 1;
}

#tab-home #restaurants-container .more-restaurants-button {
  align-self: center;
  margin: 2px 0 4px;
}

#tab-home .smart-more-restaurants-button {
  display: flex;
  width: fit-content;
  margin: 12px auto 0;
}

.home-app-header .brand-name-text {
  color: var(--primary);
}

#tab-home .home-category-strip .category-card-all .category-icon-box {
  border-color: rgba(109, 40, 217, .18);
  background: linear-gradient(150deg, #fff, #F3E8FF);
  color: var(--primary);
}

#tab-home .more-restaurants-button {
  border-color: #D8C8F7;
  background: linear-gradient(135deg, #FBF8FF, #fff);
  color: var(--primary-hover);
}

#tab-home .more-restaurants-button:hover {
  border-color: #A78BFA;
  background: var(--primary-bg);
}

#tab-store {
  background: #FBF8FF;
}

#tab-store .store-scroll-content {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(221, 208, 255, .38), transparent 35%),
    #FBF8FF;
}

#tab-store .store-app-header .brand-name-text,
#tab-store .store-section-kicker,
#tab-store .store-featured-delivery,
#tab-store .store-feature-link {
  color: var(--primary);
}

#tab-store .store-app-header .brand-name-text {
  -webkit-text-fill-color: currentColor;
  background: none;
  filter: none;
}

#tab-store .store-app-header .brand-name-text > span {
  color: var(--primary);
  -webkit-text-fill-color: currentColor;
}

#tab-store .store-app-header .brand-name-text > strong {
  color: var(--primary-hover);
  -webkit-text-fill-color: currentColor;
}

#tab-store .store-fast-badge,
#tab-store .store-featured-delivery {
  border-color: #D8C8F7;
  background: #F3E8FF;
}

#tab-store .store-search-sticky {
  background: rgba(251, 248, 255, .96);
}

#tab-store .store-search-bar .search-input-wrapper {
  border-color: #E9DFF5;
  background: #F5F0FC;
  box-shadow: 0 3px 12px rgba(109, 40, 217, .045);
}

#tab-store .store-feature-card:focus-visible {
  outline-color: var(--primary);
}

#tab-store .store-featured-delivery {
  color: var(--primary-hover);
}

#tab-store .store-feature-fruit,
#tab-store .store-feature-vegetable,
#tab-store .store-feature-grocery {
  background: #F3E8FF;
}

#tab-store .store-feature-copy strong,
#tab-store .store-feature-vegetable .store-feature-copy strong,
#tab-store .store-feature-grocery .store-feature-copy strong {
  color: #32105E;
}

#tab-store .store-category-tabs-bar {
  border-bottom-color: #E9DFF5;
  background: rgba(251, 248, 255, .96);
}

#tab-store .store-cat-pill.active,
#tab-store .store-filter-chip.active {
  border-color: #A78BFA;
  background: #F3E8FF;
  color: var(--primary-hover);
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, .08);
}

#tab-store .store-item-card,
#tab-store .store-search-bar .search-input-wrapper {
  border-color: #E9DFF5;
}

#tab-store .store-item-thumb-wrap {
  background: #F5F0FC;
}

.restaurant-page-body #restaurant-view,
.restaurant-page-body .menu-list-premium {
  background:
    radial-gradient(ellipse at 100% 0, rgba(221, 208, 255, .22), transparent 38%),
    #FBF8FF;
}

.smart-home-kicker,
.home-category-see-all,
.category-picker-item small,
.category-results-loading,
.category-results-heading > div > span,
#restaurants-container .restaurant-reason,
.home-dish-card .dish-restaurant-name,
#cart-drawer .cart-header-copy #cart-header-count,
#cart-drawer .cart-item-info span,
#cart-drawer .qty-btn,
#cart-drawer .cart-empty-state .cart-empty-icon,
.chef-speech-heading,
.chef-settings-heading > div > span {
  color: var(--primary);
}

.home-category-see-all {
  border-color: rgba(109, 40, 217, .2);
  background: var(--primary-bg);
}

.home-category-strip .category-card-more .category-icon-box {
  border-color: rgba(109, 40, 217, .32);
  background: linear-gradient(145deg, #F8F4FF, #fff);
  color: var(--primary);
}

.category-results-loading span {
  border-color: #E9DFF5;
  border-top-color: var(--primary);
}

.chef-settings-content {
  border-color: #E9DFF5;
  background: linear-gradient(160deg, #fff, #FBF8FF);
  box-shadow: 0 20px 50px rgba(50, 16, 94, .2);
}

.chef-settings-heading h2 {
  color: #32105E;
}

.chef-settings-close {
  background: #F3E8FF;
  color: var(--primary-hover);
}

.chef-settings-close:hover {
  background: #E9D5FF;
}

.chef-setting-row {
  border-color: #EEE7F7;
}

.chef-setting-row strong {
  color: #32105E;
}

.chef-setting-row input:checked {
  background: var(--primary);
}

.chef-setting-row input:focus-visible {
  outline: 3px solid rgba(109, 40, 217, .24);
  outline-offset: 2px;
}

.chef-voice-test {
  border-color: rgba(109, 40, 217, .22);
  background: #F3E8FF;
  color: var(--primary-hover);
}

.chef-voice-test:hover:not(:disabled) {
  border-color: var(--primary);
  background: #E9D5FF;
}

#cart-drawer .cart-empty-state .cart-empty-icon {
  background: var(--primary-bg);
}

.customer-confirm-overlay {
  background: rgba(31, 16, 54, .5);
}

.customer-confirm-dialog {
  border-color: rgba(221, 208, 255, .9);
  background: linear-gradient(160deg, #fff, #FBF8FF);
  box-shadow: 0 28px 80px rgba(50, 16, 94, .26);
}

.customer-confirm-dialog h2 {
  color: #32105E;
}

.customer-confirm-dialog > p {
  color: #716782;
}

.customer-confirm-cancel {
  border-color: #E9DFF5;
  background: #fff;
  color: #5D536B;
}

.customer-confirm-accept {
  border-color: var(--primary-hover);
  background: linear-gradient(135deg, #7C3AED, var(--primary-hover));
  box-shadow: 0 7px 16px var(--primary-glow);
}

#cart-drawer .drawer-content {
  background: linear-gradient(180deg, #fff 0%, #fff 76%, #FBF8FF 100%);
}

#cart-drawer .cart-drawer-header {
  background: linear-gradient(180deg, #fff 0%, #FBF8FF 100%);
}

#cart-drawer .cart-header-copy #cart-header-count,
#cart-drawer .cart-item-info span,
#cart-drawer .qty-btn {
  color: var(--primary);
}

#cart-drawer .qty-counter {
  border-color: rgba(109, 40, 217, .18);
  background: #F8F4FF;
}

#cart-drawer .cart-empty-icon {
  background: var(--primary-bg);
  color: var(--primary);
}

#cart-drawer .cart-empty-state button,
#cart-drawer .primary-action-btn {
  background: linear-gradient(135deg, #7C3AED, var(--primary-hover));
  box-shadow: 0 7px 17px var(--primary-glow);
}

#cart-drawer .checkout-section-kicker {
  color: var(--primary);
}

#cart-drawer #checkout-address-select:focus,
#cart-drawer #checkout-coupon-input:focus,
#cart-drawer #checkout-instructions:focus,
#cart-drawer #checkout-schedule-time:focus {
  border-color: #A78BFA !important;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .12) !important;
}

#cart-drawer #checkout-schedule-toggle,
#cart-drawer .form-group .pay-option > input[type="radio"] {
  accent-color: var(--primary);
}

#cart-drawer .form-group .pay-option:has(input:checked) {
  border-color: #A78BFA;
  background: linear-gradient(110deg, #FBF8FF, #fff);
  box-shadow: 0 0 0 2px rgba(109, 40, 217, .08), 0 5px 14px rgba(50, 16, 94, .045);
}

#cart-drawer .pay-online-icon {
  border-color: #D8C8F7;
  background: #F3E8FF;
  color: var(--primary-hover);
}

.store-cart-bucket.active,
.floating-cart-bucket.active {
  background: linear-gradient(110deg, #6D28D9, #4C1D95);
  box-shadow: 0 12px 30px rgba(76, 29, 149, .28);
}

.store-add-btn,
.product-detail-add-btn,
.add-dish-btn {
  background: linear-gradient(135deg, #7C3AED, var(--primary-hover));
  box-shadow: 0 4px 12px var(--primary-glow);
}

.customer-toast-accent {
  background: linear-gradient(180deg, #8B5CF6, var(--primary-hover));
}

.smart-chip:hover,
.smart-restaurant-filter-row .smart-chip.active,
.smart-pick-filter:hover,
.smart-pick-filter.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, #F8F4FF, var(--primary-bg));
  color: var(--primary-hover);
}

.smart-restaurant-filter-row .smart-chip.active,
.smart-pick-filter.active {
  box-shadow: 0 2px 8px var(--primary-glow);
}

.category-picker-item[aria-selected="true"],
.category-picker-item.active {
  border-color: #A78BFA;
  background: #F8F4FF;
  color: var(--primary-hover);
}

.customer-toast,
.customer-confirm-dialog {
  color-scheme: light;
}

#tab-store .store-category-tabs-bar {
  justify-content: space-around;
  gap: 12px;
  padding: 0 16px 4px;
}

#tab-store .store-search-sticky {
  padding-bottom: 0;
  margin-bottom: 0;
}

#tab-store .store-search-bar {
  padding: 0 18px;
}

#tab-store .store-category-tabs-bar {
  margin-top: 0;
  padding-top: 0;
}

#tab-store .store-featured {
  padding: 8px 16px 2px;
}

#tab-store .store-featured-heading {
  margin-bottom: 8px;
}

#tab-store .store-feature-card {
  min-height: 148px;
  border-radius: 17px;
}

#tab-store .store-filter-row {
  padding: 2px 16px 0;
}

#tab-store .store-filters-scroll {
  padding: 2px 0;
}

#tab-store .store-catalog-section {
  padding: 0 16px 4px;
}

#tab-store .store-provider-section {
  margin: 0 0 12px;
}

#tab-store .store-provider-heading {
  margin-bottom: 7px;
}

#tab-store .store-cat-pill {
  display: flex;
  min-width: 76px;
  min-height: 0;
  flex: 0 0 76px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #334155;
  box-shadow: none;
  font-size: 10px;
}

#tab-store .store-cat-pill:hover,
#tab-store .store-cat-pill.active {
  border: 0;
  background: transparent;
  color: var(--primary-hover);
  box-shadow: none;
}

#tab-store .store-cat-pill-icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  border: 1px solid #e9dff5;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #f5f0fc);
  box-shadow: 0 3px 9px rgba(50, 16, 94, .08);
  font-size: 23px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

#tab-store .store-cat-pill.active .store-cat-pill-icon {
  border-color: #a78bfa;
  background: #f3e8ff;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .09), 0 4px 10px rgba(50, 16, 94, .1);
}

#tab-store .store-cat-pill > span:last-child {
  width: 100%;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-store .store-cat-pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.restaurant-page-body .menu-category-heading {
  color: #252b35;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.25px;
  line-height: 1.2;
}

.restaurant-page-body .category-filter-chips {
  align-items: flex-start;
  gap: 12px;
  padding: 2px 0 4px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  display: flex;
  width: 76px;
  min-width: 76px;
  min-height: 0;
  flex: 0 0 76px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #303640;
  box-shadow: none;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
}

.restaurant-page-body .category-filter-chips .filter-chip:hover,
.restaurant-page-body .category-filter-chips .filter-chip.active {
  border: 0;
  background: transparent;
  color: #303640;
  box-shadow: none;
}

.restaurant-page-body .filter-chip-image {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(43, 50, 63, .08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31, 40, 56, .11);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.restaurant-page-body .filter-chip-image img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.restaurant-page-body .filter-chip-image-all {
  border-color: rgba(109, 40, 217, .2);
  background: linear-gradient(150deg, #fff, #f3e8ff);
  color: var(--primary);
}

.restaurant-page-body .filter-chip-image-icon {
  font-size: 22px;
  line-height: 1;
}

.restaurant-page-body .filter-chip-label {
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .category-filter-chips .filter-chip.active .filter-chip-image {
  border-color: rgba(109, 40, 217, .38);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .08), 0 5px 13px rgba(31, 40, 56, .12);
}

.restaurant-page-body .category-filter-chips .filter-chip:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 360px) {
  .restaurant-page-body .category-filter-chips {
    gap: 8px;
  }

  .restaurant-page-body .category-filter-chips .filter-chip {
    width: 68px;
    min-width: 68px;
    flex-basis: 68px;
  }

  .restaurant-page-body .filter-chip-image {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }
}

#tab-store .store-category-tabs-bar {
  position: relative;
  top: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
  padding: 10px 18px 13px;
  border-bottom: 1px solid #eee7f7;
  background: #fbf8ff;
}

#tab-store .store-cat-pill {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 0;
  flex: initial;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0 2px 3px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #647084;
  font: 650 11px/1.2 var(--font-primary);
  transition: color .18s ease, transform .18s ease;
}

#tab-store .store-cat-pill:hover {
  color: #6926c4;
  transform: translateY(-1px);
}

#tab-store .store-cat-pill.active {
  color: #5b21b6;
}

#tab-store .store-cat-pill-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid #ebe4f4;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(50, 16, 94, .055);
  font-size: 22px;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

#tab-store .store-cat-pill.active .store-cat-pill-icon {
  border-color: #c4a8f4;
  background: #f3eaff;
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .075), 0 4px 11px rgba(50, 16, 94, .08);
  transform: translateY(-1px);
}

#tab-store .store-cat-pill > span:last-child {
  width: 100%;
  color: inherit;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  text-overflow: ellipsis;
}

#tab-store .store-cat-pill:focus-visible {
  outline: 3px solid rgba(109, 40, 217, .28);
  outline-offset: 3px;
}

#tab-store .store-featured {
  padding: 12px 16px 6px;
}

#tab-store .store-featured-heading {
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

#tab-store .store-section-kicker {
  margin-bottom: 4px;
  color: #752fca;
  font-size: 9px;
  letter-spacing: .11em;
}

#tab-store .store-featured-heading h2 {
  color: #24143a;
  font-size: clamp(18px, 5vw, 21px);
  letter-spacing: -.55px;
}

#tab-store .store-featured-delivery {
  max-width: 130px;
  padding: 6px 9px;
  border-color: #e2d4f7;
  background: #f3eaff;
  color: #6426b4;
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
}

#tab-store .store-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 9px;
  overflow: visible;
  padding: 0 0 3px;
}

#tab-store .store-feature-card {
  min-width: 0;
  min-height: 154px;
  justify-content: flex-start;
  padding: 12px 10px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 17px;
  box-shadow: 0 5px 15px rgba(41, 28, 62, .08);
  text-align: left;
}

#tab-store .store-feature-fruit {
  background: #fff1dc;
}

#tab-store .store-feature-vegetable {
  background: #e8f5e9;
}

#tab-store .store-feature-grocery {
  background: #eaf1ff;
}

#tab-store .store-feature-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .82) 38%, rgba(255, 255, 255, .08) 100%);
}

#tab-store .store-feature-card img {
  height: 67%;
  object-position: center 58%;
}

#tab-store .store-feature-copy {
  position: relative;
  z-index: 1;
  gap: 4px;
  max-width: 100%;
}

#tab-store .store-feature-label {
  overflow: hidden;
  color: #5c6371;
  font-size: clamp(7px, 2.2vw, 9px);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-store .store-feature-copy strong,
#tab-store .store-feature-vegetable .store-feature-copy strong,
#tab-store .store-feature-grocery .store-feature-copy strong {
  overflow: hidden;
  color: #32105e;
  font-size: clamp(11px, 3.1vw, 15px);
  letter-spacing: -.5px;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}

#tab-store .store-feature-link {
  gap: 4px;
  margin-top: 1px;
  color: #6926c4;
  font-size: clamp(8px, 2.6vw, 10px);
}

#tab-store .store-feature-link span {
  font-size: 12px;
}

@media (max-width: 360px) {
  #tab-store .store-category-tabs-bar {
    gap: 6px;
    padding-right: 14px;
    padding-left: 14px;
  }

  #tab-store .store-cat-pill-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 14px;
  }

  #tab-store .store-featured {
    padding-right: 12px;
    padding-left: 12px;
  }

  #tab-store .store-featured-grid {
    gap: 7px;
  }

  #tab-store .store-feature-card {
    min-height: 144px;
    padding-right: 8px;
    padding-left: 8px;
    border-radius: 15px;
  }
}

#tab-home #restaurants-container .restaurant-card,
#tab-home .smart-restaurant-picks-grid .restaurant-card {
  position: relative !important;
  min-height: 0;
  touch-action: pan-y;
  transition: min-height .24s ease, box-shadow .2s ease;
}

#tab-home .restaurant-card-front {
  position: relative;
  z-index: 1;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

#tab-home .restaurant-card.is-menu-open {
  min-height: var(--restaurant-menu-min-height, 196px) !important;
}

#tab-home .restaurant-card.is-menu-open .restaurant-card-front {
  transform: translateX(-100%);
  pointer-events: none;
}

#tab-home .card-img-wrapper .card-menu-swipe-hint {
  z-index: 2;
  font-family: var(--font-primary);
  cursor: pointer;
  pointer-events: auto;
  transition: background .18s ease, transform .18s ease;
}

#tab-home .card-img-wrapper .card-menu-swipe-hint:hover,
#tab-home .card-img-wrapper .card-menu-swipe-hint:focus-visible {
  background: rgba(22, 27, 32, .78);
}

#tab-home .card-img-wrapper .card-menu-swipe-hint:focus-visible,
#tab-home .restaurant-menu-preview button:focus-visible {
  outline: 3px solid rgba(112, 45, 205, .35);
  outline-offset: 2px;
}

#tab-home .restaurant-menu-preview {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 12px 12px;
  overflow: hidden;
  background: #fff;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .18s ease, visibility 0s linear .28s;
  visibility: hidden;
  pointer-events: none;
}

#tab-home .restaurant-card.is-menu-open .restaurant-menu-preview {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
  visibility: visible;
  pointer-events: auto;
}

#tab-home .restaurant-menu-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  margin-bottom: 5px;
}

#tab-home .restaurant-menu-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6926c4;
  font: 750 11px var(--font-primary);
  cursor: pointer;
}

#tab-home .restaurant-menu-back span {
  font-size: 19px;
  line-height: 1;
}

#tab-home .restaurant-menu-preview-title {
  overflow: hidden;
  color: #333a46;
  font: 800 12px var(--font-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .restaurant-menu-preview-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

#tab-home .restaurant-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px;
  border: 1px solid #eef0f4;
  border-radius: 12px;
  background: #fff;
  color: #202633;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

#tab-home .restaurant-menu-item:hover {
  border-color: #ded0f4;
  background: #fbf9ff;
}

#tab-home .restaurant-menu-item-image {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: hidden;
  place-items: center;
  border-radius: 9px;
  background: #f2f3f6;
  color: #777f8b;
}

#tab-home .restaurant-menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tab-home .restaurant-menu-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#tab-home .restaurant-menu-item-name {
  overflow: hidden;
  font: 750 11px var(--font-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .restaurant-menu-item-price {
  color: #697180;
  font: 700 10px var(--font-primary);
}

#tab-home .restaurant-menu-item-arrow {
  padding-right: 5px;
  color: #8a53d2;
  font-size: 20px;
}

#tab-home .restaurant-menu-empty {
  margin: auto;
  padding: 14px;
  color: #737b88;
  font: 500 11px/1.5 var(--font-primary);
  text-align: center;
}

#tab-home .restaurant-menu-full-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 34px;
  margin-top: 7px;
  border: 1px solid #e8ddf7;
  border-radius: 10px;
  background: #f8f4ff;
  color: #6926c4;
  font: 800 11px var(--font-primary);
  cursor: pointer;
}

#tab-home .restaurant-card.is-menu-open .fav-btn {
  display: none !important;
}

#tab-home .promo-carousel[hidden] {
  display: none !important;
}

#tab-home .promo-carousel.has-visible-posters {
  padding: 3px 0 0;
}

#tab-home .promo-track.has-home-posters {
  min-height: clamp(255px, 39vh, 350px);
  border: 0;
  border-radius: 0 0 23px 23px;
  background: #302047;
  box-shadow: 0 12px 26px rgba(37, 28, 48, 0.16);
}

#tab-home .home-poster {
  min-height: clamp(255px, 39vh, 350px);
  padding: 26px 20px 36px;
}

#tab-home .home-poster.active {
  animation: homeHeroPosterEnter 850ms cubic-bezier(0.18, 0.72, 0.2, 1) both;
}

#tab-home .home-poster.active .poster-copy {
  width: min(72%, 330px);
}

#tab-home .home-poster .poster-title {
  max-width: 320px;
  font-size: clamp(28px, 8vw, 40px);
  letter-spacing: -1px;
  line-height: 1.02;
}

#tab-home .home-poster .poster-subtitle {
  max-width: 280px;
  margin-top: 9px;
  font-size: 12px;
}

#tab-home .home-poster .poster-eyebrow {
  min-height: 25px;
  margin-bottom: 12px;
  padding: 5px 10px;
  font-size: 9px;
}

#tab-home .home-poster .poster-cta {
  min-height: 39px;
  margin-top: 15px;
  padding: 0 17px;
  font-size: 12px;
}

#tab-home .home-poster .poster-dots {
  right: 20px;
  bottom: 17px;
}

#tab-home .home-category-heading {
  min-height: 31px;
  align-items: center;
  padding: 8px 16px 3px;
}

#tab-home .home-category-heading h2 {
  font-size: 13px;
  letter-spacing: -0.2px;
}

#tab-home .home-category-heading p,
#tab-home .home-category-count {
  display: none;
}

#tab-home .home-category-strip {
  gap: 12px;
  min-height: 102px;
  padding: 5px 15px 10px;
}

#tab-home .home-category-strip .category-card {
  position: relative;
  width: 72px;
  min-width: 72px;
  gap: 4px;
  padding-bottom: 8px;
}

#tab-home .home-category-strip .category-icon-box {
  width: 66px;
  height: 66px;
  margin-bottom: 3px;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.07);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(31, 41, 55, 0.08);
}

#tab-home .home-category-strip .category-card:hover .category-icon-box,
#tab-home .home-category-strip .category-card:focus-visible .category-icon-box {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(31, 41, 55, 0.14);
}

#tab-home .home-category-strip .category-icon-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: none;
}

#tab-home .home-category-strip .category-card .category-name {
  max-width: 72px;
  color: #252a32;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

#tab-home .home-category-strip .category-card-all::after {
  position: absolute;
  right: 10px;
  bottom: 0;
  left: 10px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--primary);
  content: "";
}

@media (max-width: 360px) {
  #tab-home .home-poster.active .poster-copy {
    width: 76%;
  }

  #tab-home .home-category-strip {
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tab-home .home-poster.active {
    animation: none;
  }
}

#tab-home .home-feed-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(255, 176, 107, .34), transparent 34%),
    radial-gradient(ellipse at 8% 82%, rgba(255, 255, 255, .09), transparent 44%),
    linear-gradient(145deg, #ed5146 0%, #d93142 53%, #ac1c3e 100%);
  box-shadow: 0 12px 26px rgba(122, 29, 48, .16);
}

#tab-home .home-feed-hero::before,
#tab-home .home-feed-hero::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

#tab-home .home-feed-hero::before {
  top: 42px;
  right: -88px;
  width: 220px;
  height: 220px;
}

#tab-home .home-feed-hero::after {
  top: 76px;
  right: -53px;
  width: 150px;
  height: 150px;
}

#tab-home .home-app-header {
  overflow: visible;
  padding: 5px 12px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#tab-home .home-app-header::before {
  display: none;
}

#tab-home .home-app-header .app-header-main {
  display: grid;
  min-height: 48px;
  grid-template-areas:
    "menu logo actions"
    "location location location";
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 2px 8px;
}

#tab-home .home-app-header #menu-btn {
  grid-area: menu;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: #fff;
}

#tab-home .home-app-header .app-logo {
  position: static;
  grid-area: logo;
  width: auto;
  min-width: 0;
  justify-self: center;
  transform: none;
}

#tab-home .home-app-header .brand-mark-image {
  width: 74px;
  height: 48px;
  flex-basis: 74px;
  filter: drop-shadow(0 2px 5px rgba(58, 12, 31, .2));
}

#tab-home .home-app-header .header-actions {
  grid-area: actions;
  gap: 6px;
}

#tab-home .home-app-header .header-actions .icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  box-shadow: none;
  color: #fff;
}

#tab-home .home-app-header .icon-btn .badge {
  border-color: #cb3041;
}

#tab-home .home-app-header .app-header-main > .home-location-bar {
  position: relative;
  grid-area: location;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 5px 2px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

#tab-home .home-app-header .app-header-main > .home-location-bar::after {
  position: absolute;
  top: 14px;
  right: 3px;
  color: rgba(255, 255, 255, .86);
  content: "⌄";
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
}

#tab-home .home-location-bar .location-info {
  display: grid;
  width: auto;
  height: auto;
  min-width: 0;
  flex: 1 1 auto;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  justify-content: initial;
  gap: 1px 7px;
  margin: 0;
  color: #fff;
}

#tab-home .home-location-bar .location-info > .pin-icon {
  width: 18px;
  height: 18px;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  fill: #fff;
}

#tab-home .home-location-bar .location-locality {
  display: block;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .home-location-bar .location-text {
  display: block;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
}

#tab-home .home-location-bar .location-text .label {
  display: none;
}

#tab-home .home-location-bar .location-text .address {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.2;
}

#tab-home .home-search-sticky {
  position: relative;
  top: auto;
  z-index: 1;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#tab-home .home-search-bar {
  gap: 9px;
  padding: 3px 14px 14px;
  background: transparent;
}

#tab-home .home-search-bar .search-input-wrapper {
  overflow: hidden;
  border: 1px solid rgba(52, 33, 39, .07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(92, 23, 38, .13);
}

#tab-home .home-search-bar .search-icon {
  left: 13px;
  color: #d6484b;
}

#tab-home .home-search-bar .search-input-wrapper input {
  height: 48px;
  padding-left: 43px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  color: #242833;
  font-size: 13px;
}

#tab-home .home-search-bar .search-input-wrapper input::placeholder {
  color: #858b96;
  opacity: 1;
}

#tab-home .home-veg-mode {
  flex-basis: 48px;
  gap: 4px;
  color: #fff;
}

#tab-home .home-veg-mode > span {
  font-size: 8px;
  line-height: 1.05;
}

#tab-home .home-veg-mode .veg-mode-switch {
  width: 39px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .3);
}

#tab-home .home-veg-mode .veg-mode-switch > span {
  width: 16px;
  height: 16px;
  background: #fff;
}

#tab-home .home-veg-mode .veg-mode-switch[aria-checked="true"] {
  background: #24965b;
}

#tab-home .home-veg-mode .veg-mode-switch[aria-checked="true"] > span {
  transform: translateX(16px);
}

#tab-home .promo-carousel.has-visible-posters {
  padding: 0;
}

#tab-home .promo-track.has-home-posters {
  min-height: clamp(245px, 72vw, 340px);
  border-radius: 0 0 21px 21px;
  box-shadow: 0 10px 24px rgba(85, 15, 33, .18);
}

#tab-home .home-poster {
  min-height: clamp(245px, 72vw, 340px);
  padding: 22px 18px 37px;
  border-radius: 0 0 21px 21px;
}

#tab-home .home-poster.active .poster-copy {
  width: min(72%, 330px);
}

#tab-home .home-poster .poster-image-shade {
  background:
    linear-gradient(90deg, rgba(20, 12, 18, .62) 0%, rgba(20, 12, 18, .32) 46%, rgba(20, 12, 18, .02) 100%),
    linear-gradient(0deg, rgba(18, 10, 15, .26) 0%, transparent 57%);
}

#tab-home .home-poster.poster-image-only {
  min-height: clamp(245px, 72vw, 340px);
  padding: 0;
}

#tab-home .home-poster .poster-dots {
  right: 50%;
  bottom: 14px;
  transform: translateX(50%);
}

#tab-home .home-discovery-sticky {
  position: sticky;
  top: 0;
  z-index: 850;
  overflow: hidden;
  border-bottom: 1px solid #ececf0;
  background: #fff;
  box-shadow: 0 5px 14px rgba(34, 39, 49, .06);
}

#tab-home .home-categories-section {
  margin: 0;
  padding: 6px 0 0;
  border: 0;
  background: #fff;
}

#tab-home .home-category-heading {
  min-height: 24px;
  padding: 0 15px 2px;
}

#tab-home .home-category-heading h2 {
  color: #30343b;
  font-size: 12px;
  font-weight: 750;
}

#tab-home .home-category-strip {
  min-height: 96px;
  gap: 10px;
  padding: 3px 12px 8px;
}

#tab-home .home-category-strip .category-card {
  width: 78px;
  min-width: 78px;
  gap: 3px;
}

#tab-home .home-category-strip .category-icon-box {
  width: 62px;
  height: 62px;
  margin-bottom: 3px;
  border: 1px solid rgba(32, 38, 48, .06);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(25, 30, 40, .1);
}

#tab-home .home-category-strip .category-icon-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

#tab-home .home-category-strip .category-card .category-name {
  max-width: 78px;
  color: #252a32;
  font-size: 10px;
  font-weight: 650;
}

#tab-home .home-category-strip .category-card .category-count {
  display: none;
}

@keyframes homeHeroPosterEnter {
  from { opacity: .35; transform: translateY(-18px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 360px) {
  #tab-home .home-app-header .app-header-main {
    gap: 2px 5px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
  }

  #tab-home .home-search-bar {
    padding-right: 10px;
    padding-left: 10px;
  }

  #tab-home .home-category-strip {
    gap: 7px;
    padding-right: 8px;
    padding-left: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tab-home .home-feed-hero *,
  #tab-home .home-feed-hero::before,
  #tab-home .home-feed-hero::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* Home campaign composition ------------------------------------------------
   Keep the merchant-uploaded artwork full bleed and layer the customer controls
   over it. This gives every active banner the same refined app treatment,
   independent of the image an administrator uploads. */
#tab-home .home-feed-hero.has-home-campaign {
  min-height: clamp(350px, 94vw, 474px);
  overflow: hidden;
  background: #21131a;
  box-shadow: 0 14px 30px rgba(37, 20, 30, .18);
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  padding: max(8px, env(safe-area-inset-top, 0px)) 14px 0;
  background: linear-gradient(180deg, rgba(10, 8, 13, .5), transparent);
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header .app-header-main {
  min-height: 84px;
  grid-template-areas:
    "menu logo actions"
    "location location location";
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 5px 9px;
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header #menu-btn,
#tab-home .home-feed-hero.has-home-campaign > .home-app-header .header-actions .icon-btn {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header .brand-mark-image {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, .24));
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar {
  min-height: 31px;
  padding: 1px 2px 5px;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar .location-locality {
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .24);
}

#tab-home .home-feed-hero.has-home-campaign .home-veg-mode {
  flex-basis: 48px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

#tab-home .home-feed-hero.has-home-campaign .home-veg-mode .veg-mode-switch {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .34);
}

#tab-home .home-feed-hero.has-home-campaign > #home-banner-carousel,
#tab-home .home-feed-hero.has-home-campaign .promo-track.has-home-posters,
#tab-home .home-feed-hero.has-home-campaign .home-poster,
#tab-home .home-feed-hero.has-home-campaign .home-poster.poster-image-only {
  min-height: clamp(350px, 94vw, 474px);
  border-radius: 0;
}

#tab-home .home-feed-hero.has-home-campaign .home-poster {
  padding: 205px 18px 47px;
}

#tab-home .home-feed-hero.has-home-campaign .home-poster .poster-image-shade {
  background:
    linear-gradient(180deg, rgba(9, 7, 12, .44) 0%, rgba(9, 7, 12, .04) 32%, rgba(9, 7, 12, .38) 100%),
    linear-gradient(90deg, rgba(9, 7, 12, .34), transparent 72%);
}

#tab-home .home-feed-hero.has-home-campaign .home-poster.active .poster-copy {
  width: min(82%, 370px);
}

#tab-home .home-feed-hero.has-home-campaign .poster-carousel-controls {
  bottom: 13px;
}

/* A crisp cuisine rail gives the feed a calm, premium transition after the
   visual campaign. It remains usable as a sticky discovery control. */
#tab-home .home-discovery-sticky {
  z-index: 15;
  margin-top: -1px;
  border: 0;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -5px 18px rgba(25, 27, 35, .07);
}

#tab-home .home-discovery-sticky .home-search-sticky {
  padding: 0;
  background: #fff;
}

#tab-home .home-discovery-sticky .home-search-bar {
  padding: 9px 14px 7px;
}

#tab-home .home-categories-section {
  padding-top: 11px;
}

#tab-home .home-category-heading {
  padding: 0 16px 5px;
}

#tab-home .home-category-heading h2 {
  color: #20232b;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.25px;
}

#tab-home .home-category-heading p {
  color: #8a8e99;
  font-size: 10px;
}

#tab-home .home-category-strip {
  min-height: 109px;
  gap: 12px;
  padding: 4px 16px 12px;
}

#tab-home .home-category-strip .category-card {
  width: 70px;
  min-width: 70px;
  gap: 5px;
}

#tab-home .home-category-strip .category-icon-box {
  width: 64px;
  height: 64px;
  border: 2px solid #fff;
  background: #f7f4f6;
  box-shadow: 0 5px 14px rgba(28, 31, 41, .12);
}

#tab-home .home-category-strip .category-card:hover .category-icon-box,
#tab-home .home-category-strip .category-card:focus-visible .category-icon-box {
  box-shadow: 0 8px 18px rgba(109, 40, 217, .2);
}

#tab-home .home-category-strip .category-card .category-name {
  max-width: 70px;
  color: #2b2e36;
  font-size: 10.5px;
  font-weight: 750;
}

#tab-home .home-feed-hero {
  display: flex;
  flex-direction: column;
}

#tab-home .home-feed-hero > #home-banner-carousel {
  order: 0;
  padding: 0;
}

#tab-home .home-feed-hero > .home-app-header {
  order: 1;
}

#tab-home .home-feed-hero > .delivery-location-required {
  order: 2;
}

#tab-home .home-feed-hero:not(.has-home-campaign) {
  overflow: visible;
  background: #fff;
  box-shadow: none;
}

#tab-home .home-feed-hero:not(.has-home-campaign)::before,
#tab-home .home-feed-hero:not(.has-home-campaign)::after {
  display: none;
}

#tab-home .home-feed-hero:not(.has-home-campaign) .home-app-header #menu-btn,
#tab-home .home-feed-hero:not(.has-home-campaign) .home-app-header .header-actions .icon-btn {
  border-color: #eee8f5;
  background: #fff;
  color: #33313a;
}

#tab-home .home-feed-hero:not(.has-home-campaign) .home-app-header .icon-btn .badge {
  border-color: #fff;
}

#tab-home .home-feed-hero:not(.has-home-campaign) .home-location-bar .location-info,
#tab-home .home-feed-hero:not(.has-home-campaign) .home-location-bar .location-locality,
#tab-home .home-feed-hero:not(.has-home-campaign) .home-location-bar .location-text .address {
  color: #282632;
}

#tab-home .home-feed-hero:not(.has-home-campaign) .home-location-bar .location-info > .pin-icon {
  fill: var(--primary);
}

#tab-home .home-feed-hero:not(.has-home-campaign) .home-app-header .app-header-main > .home-location-bar::after {
  color: #77727f;
}

#tab-home .home-search-sticky {
  z-index: 1;
  border: 0;
  background: #fff;
  box-shadow: none;
}

#tab-home .home-search-bar {
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

#tab-home .home-search-bar .search-input-wrapper {
  min-height: 50px;
  border: 1px solid #e8e7ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 11px rgba(37, 34, 45, .08);
  transition: border-color .18s ease, box-shadow .18s ease;
}

#tab-home .home-search-bar .search-input-wrapper:focus-within {
  border-color: rgba(109, 40, 217, .45);
  box-shadow: 0 0 0 3px rgba(109, 40, 217, .09), 0 4px 12px rgba(37, 34, 45, .08);
}

#tab-home .home-search-bar .search-icon {
  top: 50%;
  transform: translateY(-50%);
}

#tab-home .home-search-bar .search-input-wrapper input {
  width: 100%;
  height: 50px;
  padding-right: 12px;
  padding-left: 43px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #252633;
  font-size: 13px;
  line-height: 1;
}

#tab-home .home-veg-mode {
  flex-basis: 48px;
  color: #40414b;
}

#tab-home .home-veg-mode > span {
  font-size: 8px;
}

#tab-home .home-veg-mode .veg-mode-switch {
  border-color: #d7d8df;
  background: #dfe1e6;
}

#tab-home .home-veg-mode .veg-mode-switch > span {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

#tab-home .home-veg-mode .veg-mode-switch[aria-checked="true"] {
  border-color: #218c55;
  background: #218c55;
}

#tab-home .promo-track.has-home-posters {
  position: relative;
  min-height: clamp(245px, 72vw, 340px);
  border-radius: 0 0 20px 20px;
  touch-action: pan-y;
}

#tab-home .home-poster {
  min-height: clamp(245px, 72vw, 340px);
  border-radius: 0 0 20px 20px;
}

#tab-home .home-poster.poster-exiting-left,
#tab-home .home-poster.poster-exiting-right {
  display: flex;
  position: absolute;
  inset: 0;
  width: 100%;
  animation-duration: 560ms;
  animation-fill-mode: both;
  pointer-events: none;
}

#tab-home .home-poster.poster-exiting-left {
  animation-name: homePosterExitLeft;
}

#tab-home .home-poster.poster-exiting-right {
  animation-name: homePosterExitRight;
}

#tab-home .home-poster.active.poster-entering-right {
  animation: homePosterEnterRight 560ms cubic-bezier(.22, .72, .24, 1) both;
}

#tab-home .home-poster.active.poster-entering-left {
  animation: homePosterEnterLeft 560ms cubic-bezier(.22, .72, .24, 1) both;
}

#tab-home .poster-carousel-controls {
  position: absolute;
  right: 50%;
  bottom: 12px;
  z-index: 5;
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 11px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(28, 20, 27, .38);
  transform: translateX(50%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

#tab-home .poster-carousel-controls .poster-dots {
  position: static;
  gap: 6px;
  margin: 0;
}

#tab-home .poster-carousel-controls .poster-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .17);
  color: #fff;
  font: 700 20px/1 var(--font-primary);
  cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}

#tab-home .poster-carousel-controls .poster-arrow:hover,
#tab-home .poster-carousel-controls .poster-arrow:focus-visible {
  background: rgba(255, 255, 255, .3);
}

#tab-home .poster-carousel-controls .poster-arrow:active {
  transform: scale(.9);
}

#tab-home .poster-carousel-controls .poster-dot {
  width: 6px;
  height: 6px;
}

#tab-home .poster-carousel-controls .poster-dot.active {
  width: 17px;
}

@keyframes homePosterEnterRight {
  from { opacity: .5; transform: translateX(24%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes homePosterEnterLeft {
  from { opacity: .5; transform: translateX(-24%); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes homePosterExitLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: .35; transform: translateX(-18%); }
}

@keyframes homePosterExitRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: .35; transform: translateX(18%); }
}

@media (max-width: 360px) {
  #tab-home .home-search-bar {
    gap: 7px;
    padding-right: 11px;
    padding-left: 11px;
  }

  #tab-home .poster-carousel-controls {
    bottom: 10px;
    min-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tab-home .home-poster.poster-exiting-left,
  #tab-home .home-poster.poster-exiting-right,
  #tab-home .home-poster.active.poster-entering-left,
  #tab-home .home-poster.active.poster-entering-right {
    animation: none;
  }
}

/* Compact delivery-app hero: campaign first, with the delivery location in the
   top bar instead of a logo. The fixed visual window prevents tall uploads
   from pushing the restaurant feed below the fold. */
#tab-home .home-feed-hero.has-home-campaign {
  height: clamp(285px, 66vw, 326px);
  min-height: 0;
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header {
  padding: max(8px, env(safe-area-inset-top, 0px)) 14px 0;
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header .app-header-main {
  min-height: 44px;
  grid-template-areas: "menu location actions";
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 9px;
}

#tab-home .home-feed-hero.has-home-campaign > .home-app-header .app-logo {
  display: none;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar {
  grid-area: location;
  min-height: 38px;
  padding: 0;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar .location-info {
  grid-template-rows: 1fr;
  align-items: center;
  gap: 7px;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar .location-info > .pin-icon {
  width: 17px;
  height: 17px;
  grid-row: 1;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar .location-locality {
  grid-row: 1;
  font-size: 13px;
  line-height: 1.1;
}

#tab-home .home-feed-hero.has-home-campaign .home-location-bar .location-text,
#tab-home .home-feed-hero.has-home-campaign .home-app-header .app-header-main > .home-location-bar::after {
  display: none;
}

#tab-home .home-feed-hero.has-home-campaign > #home-banner-carousel,
#tab-home .home-feed-hero.has-home-campaign .promo-track.has-home-posters,
#tab-home .home-feed-hero.has-home-campaign .home-poster,
#tab-home .home-feed-hero.has-home-campaign .home-poster.poster-image-only {
  height: clamp(285px, 66vw, 326px);
  min-height: 0;
  max-height: none;
}

#tab-home .home-feed-hero.has-home-campaign .poster-background-image {
  object-position: center;
}

#tab-home .home-feed-hero.has-home-campaign .home-poster {
  padding: 142px 18px 36px;
}

#tab-home .home-feed-hero.has-home-campaign .home-poster.active .poster-copy {
  width: min(70%, 300px);
}

#tab-home .home-feed-hero.has-home-campaign .poster-carousel-controls {
  bottom: 8px;
  min-height: 26px;
}

#tab-home .home-feed-hero.has-home-campaign .poster-carousel-controls .poster-arrow {
  width: 21px;
  height: 21px;
  font-size: 17px;
}

@media (max-width: 360px) {
  #tab-home .home-feed-hero.has-home-campaign { height: 285px; }
  #tab-home .home-discovery-sticky .home-search-bar { padding-right: 10px; padding-left: 10px; }
}

#tab-home .home-discovery-sticky .home-search-bar {
  padding-top: 6px;
  padding-bottom: 4px;
}

#tab-home .home-categories-section {
  padding-top: 0;
}

#tab-home .home-category-strip {
  min-height: 79px;
  gap: 6px;
  padding: 1px 14px 6px;
}

#tab-home .home-category-strip .category-card {
  width: 76px;
  min-width: 76px;
  gap: 2px;
  padding: 0 0 5px;
}

#tab-home .home-category-strip .category-icon-box {
  display: grid;
  width: 54px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#tab-home .home-category-strip .category-card-all .category-icon-box,
#tab-home .home-category-strip .category-card-more .category-icon-box {
  border: 0;
  background: transparent;
  box-shadow: none;
}

#tab-home .home-category-strip .category-card-all .category-icon-box svg,
#tab-home .home-category-strip .category-card-more .category-icon-box > span {
  width: 29px;
  height: 29px;
}

#tab-home .home-category-strip .category-icon-box img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
}

#tab-home .home-category-strip .category-card:hover .category-icon-box,
#tab-home .home-category-strip .category-card:focus-visible .category-icon-box {
  transform: translateY(-2px);
  box-shadow: none;
}

#tab-home .home-category-strip .category-card .category-name {
  max-width: 76px;
  overflow: hidden;
  color: #292832;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .home-category-strip .category-card-all::after {
  right: 12px;
  left: 12px;
  height: 2px;
}

@media (max-width: 360px) {
  #tab-home .home-category-strip {
    gap: 4px;
    padding-right: 10px;
    padding-left: 10px;
  }

  #tab-home .home-category-strip .category-card {
    width: 72px;
    min-width: 72px;
  }
}

#address-dialog .address-book-modal {
  display: flex;
  width: min(560px, calc(100vw - 28px));
  max-width: 560px !important;
  max-height: min(92dvh, 880px);
  flex-direction: column;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 18px;
  border: 1px solid rgba(226, 229, 236, .9);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(27, 24, 39, .24);
}

#address-dialog .address-book-heading {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

#address-dialog .address-book-heading h3 {
  margin: 3px 0 0;
  color: #202231;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.5px;
}

.address-dialog-close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid #e8e8ee;
  border-radius: 50%;
  background: #fff;
  color: #464555;
  font: 400 24px/1 var(--font-primary);
  cursor: pointer;
}

.address-map-intro {
  flex: 0 0 auto;
  margin: 4px 0 13px !important;
  color: #747585 !important;
  font-size: 12px !important;
  line-height: 1.45;
}

.address-map-search-row {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  margin-bottom: 10px;
}

#address-map-search {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #e2e2eb;
  border-radius: 13px;
  background: #fbfbfd;
  color: #252536;
  font: 500 12px var(--font-primary);
  box-sizing: border-box;
}

#address-map-search:focus {
  border-color: rgba(109, 40, 217, .55);
  outline: 3px solid rgba(109, 40, 217, .1);
  background: #fff;
}

.address-locate-button {
  display: inline-flex;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #e3d9fc;
  border-radius: 13px;
  background: #f8f5ff;
  color: #6426c5;
  font: 750 11px var(--font-primary);
  white-space: nowrap;
  cursor: pointer;
}

.address-locate-button > span:first-child {
  font-size: 19px;
  line-height: 1;
}

.address-locate-button:disabled {
  opacity: .65;
  cursor: wait;
}

#address-map {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(245px, 38vh, 350px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e5e5ec;
  border-radius: 18px;
  background: #e9edf0;
  box-shadow: 0 5px 16px rgba(37, 39, 54, .08);
}

#address-map .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid #e5e5eb;
  border-radius: 11px;
  box-shadow: 0 3px 12px rgba(31, 33, 45, .16);
}

#address-map .leaflet-control-zoom a {
  color: #353342;
}

.address-map-meta {
  flex: 0 0 auto;
  padding: 9px 2px 1px;
}

.address-zone-status {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 750;
}

.address-zone-status::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.address-zone-status.info {
  background: #f3f4f7;
  color: #667085;
}

.address-zone-status.success {
  background: #eaf8f0;
  color: #168454;
}

.address-zone-status.outside {
  background: #fff6e8;
  color: #9c6213;
}

.address-zone-status.error {
  background: #fff0ef;
  color: #c43e35;
}

.address-zone-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 8px 2px 2px;
}

.address-zone-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #737485;
  font-size: 10px;
  font-weight: 650;
}

.address-zone-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

.address-pin-coordinates {
  padding: 6px 2px 0;
  color: #8a8b98;
  font: 10px/1.35 ui-monospace, SFMono-Regular, Consolas, monospace;
}

#address-dialog .address-editor-heading {
  flex: 0 0 auto;
  gap: 3px;
  margin: 10px 0 8px;
}

#address-dialog .address-editor-heading strong {
  color: #272638;
  font-size: 13px;
  font-weight: 800;
}

#address-dialog .address-editor-heading small {
  color: #777888;
  font-size: 10px;
}

#address-dialog .address-input-label {
  flex: 0 0 auto;
  margin: 0 0 5px;
  color: #434354;
  font-size: 10px;
}

#address-dialog .address-editor-textarea {
  flex: 0 0 auto;
  min-height: 66px;
  border-radius: 12px;
  font-size: 12px;
}

#address-dialog .address-lookup-status {
  flex: 0 0 auto;
  margin: 5px 1px 9px;
  font-size: 10px;
}

#address-dialog #address-label-input {
  flex: 0 0 auto;
  height: 40px;
  margin-bottom: 10px;
  padding: 0 12px;
  border: 1px solid #e2e2eb;
  border-radius: 12px;
  background: #fff;
  font: 12px var(--font-primary);
}

.saved-addresses-details {
  flex: 0 0 auto;
  margin: 0 0 10px;
  border: 1px solid #e9e9ef;
  border-radius: 13px;
  background: #fff;
}

.saved-addresses-details > summary {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  color: #353547;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.saved-addresses-details > summary::-webkit-details-marker {
  display: none;
}

.saved-addresses-details > summary::after {
  margin-left: auto;
  color: #777888;
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.saved-addresses-details[open] > summary::after {
  content: "−";
}

.saved-addresses-details .address-book-limit {
  padding: 4px 8px;
  font-size: 9px;
}

.saved-addresses-details .saved-address-list {
  max-height: 170px;
  overflow-y: auto;
  margin: 0;
  padding: 0 9px 9px;
}

#address-dialog .saved-addresses-details[open] {
  overflow: hidden;
}

#address-dialog .saved-address-card {
  padding: 8px;
}

.address-picker-actions {
  position: sticky;
  bottom: -18px;
  z-index: 2;
  flex: 0 0 auto;
  justify-content: flex-end;
  gap: 8px;
  margin: auto -18px -18px !important;
  padding: 12px 18px max(12px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eeeef2;
  background: rgba(255, 255, 255, .97);
}

.address-picker-actions .text-btn,
.address-picker-actions .secondary-btn,
.address-picker-actions .primary-btn {
  min-height: 42px;
  margin: 0 !important;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 750;
}

.address-picker-actions .text-btn {
  padding: 0 11px;
  color: #68697a;
}

.address-picker-actions .secondary-btn {
  padding: 0 12px;
  border: 1px solid #e5def6;
  background: #fff;
  color: #6426c5;
}

.address-picker-actions .primary-btn {
  padding: 0 16px;
  box-shadow: 0 5px 13px rgba(109, 40, 217, .2);
}

@media (max-width: 480px) {
  #address-dialog .address-book-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 15px;
    border-radius: 22px;
  }

  #address-map {
    height: clamp(230px, 35vh, 310px);
  }

  .address-picker-actions {
    bottom: -15px;
    margin: auto -15px -15px !important;
    padding: 10px 13px max(10px, env(safe-area-inset-bottom, 0px));
  }

  .address-picker-actions .text-btn {
    padding: 0 5px;
  }

  .address-picker-actions .secondary-btn {
    padding: 0 9px;
  }

  .address-picker-actions .primary-btn {
    padding: 0 12px;
  }
}

#address-dialog.modal-dialog {
  position: fixed;
  z-index: 9999 !important;
  padding: 12px;
}

#address-dialog .address-book-modal {
  width: min(940px, calc(100vw - 28px));
  max-width: 940px !important;
  height: min(92dvh, 900px);
  max-height: calc(100dvh - 24px);
  gap: 7px;
  padding: 12px;
  border-radius: 20px;
}

#address-dialog .address-book-heading {
  align-items: center;
  gap: 8px;
  margin: 0;
}

#address-dialog .address-book-eyebrow,
#address-dialog .address-book-heading h3 {
  display: none;
}

.address-help-toggle {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  margin-right: auto;
  border: 1px solid #e6e2ef;
  border-radius: 50%;
  background: #fff;
  color: #686379;
  font: 750 13px var(--font-primary);
  cursor: pointer;
}

.address-help-toggle[aria-expanded="true"] {
  border-color: #d3c3f4;
  background: #f7f3ff;
  color: #6426c5;
}

.address-help-popover {
  position: absolute;
  top: 52px;
  left: 14px;
  z-index: 5;
  max-width: min(300px, calc(100% - 28px));
  padding: 10px 12px;
  border: 1px solid #e9e2f6;
  border-radius: 12px;
  background: #fff;
  color: #555466;
  font-size: 11px;
  line-height: 1.45;
  box-shadow: 0 8px 26px rgba(35, 29, 52, .16);
}

.address-help-popover[hidden] {
  display: none;
}

.address-map-search-row {
  gap: 7px;
  margin: 0;
}

#address-map-search,
.address-locate-button {
  height: 40px;
  border-radius: 11px;
}

.address-locate-button {
  padding: 0 10px;
  font-size: 10px;
}

.address-map-wrap {
  position: relative;
  min-height: 300px;
  flex: 1 1 auto;
  overflow: hidden;
  border: 1px solid #e5e5ec;
  border-radius: 16px;
  background: #e9edf0;
}

#address-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
}

.address-zone-status {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 500;
  min-height: 0;
  max-width: calc(100% - 18px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  font-size: 10px;
  box-shadow: 0 2px 9px rgba(22, 24, 31, .18);
  backdrop-filter: blur(8px);
}

.address-zone-status.success {
  background: rgba(235, 250, 241, .95);
}

.address-zone-status.outside,
.address-zone-status.error {
  background: rgba(255, 247, 232, .96);
}

.address-zone-status.info {
  background: rgba(255, 255, 255, .95);
}

.address-map-meta {
  flex: 0 0 auto;
  padding: 0;
}

.address-zone-details,
.saved-addresses-details,
.address-save-details {
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  background: transparent;
}

.address-zone-details > summary,
.saved-addresses-details > summary,
.address-save-details > summary {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  color: #727181;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.address-zone-details > summary::-webkit-details-marker,
.saved-addresses-details > summary::-webkit-details-marker,
.address-save-details > summary::-webkit-details-marker {
  display: none;
}

.address-zone-details > summary::after,
.saved-addresses-details > summary::after,
.address-save-details > summary::after {
  color: #8c8499;
  content: "⌄";
  font-size: 12px;
}

.address-zone-details[open] > summary::after,
.saved-addresses-details[open] > summary::after,
.address-save-details[open] > summary::after {
  transform: rotate(180deg);
}

.address-zone-details .address-zone-legend {
  padding: 0 2px 4px;
}

.address-zone-details .address-zone-legend-item {
  font-size: 9px;
}

.saved-addresses-details .address-book-limit {
  padding: 3px 7px;
  font-size: 9px;
}

.saved-addresses-details .saved-address-list {
  max-height: 130px;
}

.address-save-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 5px 9px;
  padding: 5px 0 2px;
}

#address-dialog .address-save-fields .address-input-label {
  margin: 0;
}

#address-dialog .address-save-fields .address-editor-textarea {
  min-height: 40px;
  max-height: 68px;
  padding: 7px 9px;
}

#address-dialog .address-save-fields .address-lookup-status {
  grid-column: 1 / -1;
  min-height: 0;
  margin: 0;
}

#address-dialog .address-save-fields #address-label-input {
  height: 36px;
  margin: 0;
}

.address-picker-actions {
  position: static;
  flex: 0 0 auto;
  gap: 8px;
  margin: 0 -12px -12px !important;
  padding: 9px 12px max(9px, env(safe-area-inset-bottom, 0px));
  border-radius: 0 0 20px 20px;
}

.address-picker-actions .address-save-button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  margin: 0 auto 0 0;
  padding: 0;
  border: 1px solid #e4dafa;
  border-radius: 12px;
  background: #fff;
  color: #6426c5;
  font: 750 10px var(--font-primary);
  cursor: pointer;
}

.address-picker-actions .address-save-button:disabled,
.address-picker-actions .primary-btn:disabled {
  border-color: #e2e2e7;
  background: #ececf0;
  color: #9898a3;
  box-shadow: none;
  cursor: not-allowed;
}

.address-picker-actions .primary-btn {
  min-width: 160px;
  min-height: 42px;
  font-size: 11px;
}

@media (min-width: 700px) {
  #address-dialog {
    padding: 20px;
  }

  #address-dialog .address-book-modal {
    width: min(1040px, calc(100vw - 48px));
    height: min(90dvh, 960px);
    max-height: calc(100dvh - 40px);
    padding: 16px;
    gap: 9px;
  }

  .address-map-wrap {
    min-height: 360px;
  }

  .address-picker-actions {
    margin: 0 -16px -16px !important;
    padding: 11px 16px max(11px, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  #address-dialog.modal-dialog {
    padding: 8px;
  }

  #address-dialog .address-book-modal {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 10px;
    gap: 6px;
    border-radius: 17px;
  }

  .address-map-wrap {
    min-height: 270px;
  }

  .address-save-fields {
    grid-template-columns: minmax(0, 1fr) 118px;
    gap: 5px 7px;
  }

  .address-picker-actions {
    margin: 0 -10px -10px !important;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom, 0px));
    border-radius: 0 0 17px 17px;
  }

  .address-picker-actions .primary-btn {
    min-width: 145px;
  }
}

/* Restaurant storefront refresh */
.restaurant-page-body {
  --restaurant-accent: #a71922;
  --restaurant-accent-dark: #7f111b;
  --restaurant-ink: #17191d;
  --restaurant-surface: #fff;
  --restaurant-canvas: #fffdfb;
}

.restaurant-page-body #restaurant-view,
.restaurant-page-body .menu-list-premium {
  background-color: var(--restaurant-canvas);
}

.restaurant-page-body .restaurant-hero {
  height: clamp(185px, 52vw, 260px);
  border: 0;
  background: #28170f;
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.9) saturate(1.12) contrast(1.04) !important;
}

.restaurant-page-body .hero-gradient-overlay {
  background:
    linear-gradient(180deg, rgba(20, 15, 11, .13), transparent 35%),
    linear-gradient(0deg, rgba(20, 15, 11, .33), transparent 62%);
}

.restaurant-page-body .restaurant-floating-header {
  top: 16px;
  right: 17px;
  left: 17px;
}

.restaurant-page-body .header-circle-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .17);
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin-top: -22px;
  padding: 0 14px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 15px 15px 11px;
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 22px;
  background: var(--restaurant-surface);
  box-shadow: 0 12px 30px rgba(36, 27, 21, .1);
}

.restaurant-page-body .restaurant-card-kicker {
  color: #a56a45;
  font-size: 7px;
}

.restaurant-page-body .restaurant-main-info h2 {
  color: var(--restaurant-ink);
  font-size: clamp(17px, 4.7vw, 21px);
  letter-spacing: -.5px;
}

.restaurant-page-body .restaurant-brand-lockup > img,
.restaurant-page-body .restaurant-brand-initial {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 0 #e9b64d, 0 5px 12px rgba(48, 34, 20, .12);
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 4px 0 0 58px;
  color: #676a6d;
  font-size: 10px;
}

.restaurant-page-body .rating-badge-premium {
  border-radius: 10px;
  background: #e8f4e3;
  color: #1d5b29;
  box-shadow: none;
}

.restaurant-page-body .restaurant-trust-line,
.restaurant-page-body .restaurant-main-info .address-text,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: none !important;
}

.restaurant-page-body .restaurant-stats-grid {
  margin: 10px 0 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid #f0eeeb;
  border-radius: 0;
  background: transparent;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  min-height: 38px;
  gap: 5px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box + .stat-box {
  border-left: 1px solid #eeece9;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  font-size: 13px;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  color: #26272a;
  font-size: 9px;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  color: #7c7d80;
  font-size: 6px;
  letter-spacing: .35px;
}

.restaurant-page-body .restaurant-feature-banner {
  position: relative;
  display: flex;
  min-height: 126px;
  align-items: center;
  overflow: hidden;
  margin: 13px 14px 4px;
  border-radius: 18px;
  background: linear-gradient(110deg, #28150f, #6b2917 60%, #9d4c20);
  box-shadow: 0 7px 18px rgba(53, 32, 20, .12);
}

.restaurant-page-body .restaurant-feature-banner[hidden] {
  display: none;
}

.restaurant-page-body .restaurant-feature-banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 16, 11, .96) 0%, rgba(32, 16, 11, .77) 42%, rgba(32, 16, 11, .05) 100%);
  content: "";
  pointer-events: none;
}

.restaurant-page-body .restaurant-feature-banner > img {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.restaurant-page-body .restaurant-feature-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 14px 16px;
  color: #fff;
}

.restaurant-page-body .restaurant-feature-copy > span {
  color: #f5ca7a;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 1.15px;
}

.restaurant-page-body .restaurant-feature-copy h2 {
  color: #fff;
  font-size: clamp(18px, 5.2vw, 23px);
  font-weight: 850;
  letter-spacing: -.45px;
  line-height: 1.05;
}

.restaurant-page-body .restaurant-feature-cta {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: #f6c847;
  color: #27170e;
  font: 800 9px var(--font-primary);
  cursor: pointer;
}

.restaurant-page-body .restaurant-feature-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.restaurant-page-body .restaurant-menu-intro {
  padding: 15px 16px 8px;
}

.restaurant-page-body .restaurant-menu-intro > span {
  color: #a76238;
  font-size: 7px;
  letter-spacing: 1.2px;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  color: var(--restaurant-ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.55px;
}

.restaurant-page-body .restaurant-menu-intro p {
  margin-top: 3px;
  color: #77797c;
  font-size: 9px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 0;
  gap: 8px;
  padding: 9px 14px 10px;
  border-top: 0;
  border-bottom: 1px solid #f0eeeb;
  background: rgba(255, 253, 251, .97);
  box-shadow: 0 7px 18px rgba(38, 29, 22, .045);
}

.restaurant-page-body .menu-search-bar,
.restaurant-page-body .menu-search-bar input {
  min-height: 40px;
  height: 40px;
}

.restaurant-page-body .menu-search-bar input {
  border-color: #e9e7e4;
  border-radius: 13px;
  background: #f8f7f5;
  color: var(--restaurant-ink);
  font-size: 10px;
}

.restaurant-page-body .menu-search-bar input:focus {
  border-color: rgba(167, 25, 34, .42);
  box-shadow: 0 0 0 3px rgba(167, 25, 34, .08);
}

.restaurant-page-body .diet-filter-control-menu {
  gap: 5px;
}

.restaurant-page-body .diet-filter-control-menu .diet-filter-caption {
  color: #797a7c;
  font-size: 9px;
}

.restaurant-page-body .diet-filter-control-menu button {
  min-height: 27px;
  padding: 0 9px;
  border-color: #ece9e6;
  border-radius: 999px;
  background: #fff;
  color: #5b5c5e;
  font-size: 9px;
}

.restaurant-page-body .diet-filter-control-menu button[aria-pressed="true"] {
  border-color: rgba(167, 25, 34, .22);
  background: #fff3f1;
  color: var(--restaurant-accent);
}

.restaurant-page-body .menu-category-heading {
  color: #28292b;
  font-size: 12px;
}

.restaurant-page-body .category-filter-chips {
  gap: 9px;
  padding: 1px 0 3px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  width: 70px;
  min-width: 70px;
  flex-basis: 70px;
  gap: 5px;
  color: #38393b;
}

.restaurant-page-body .filter-chip-image {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border: 1px solid #eeeae6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(38, 29, 22, .07);
}

.restaurant-page-body .filter-chip-image-all {
  border-color: rgba(167, 25, 34, .2);
  background: #fff5f2;
  color: var(--restaurant-accent);
}

.restaurant-page-body .filter-chip-image-icon {
  font-size: 21px;
}

.restaurant-page-body .filter-chip-label {
  color: inherit;
  font-size: 9px;
  font-weight: 700;
}

.restaurant-page-body .category-filter-chips .filter-chip.active .filter-chip-image {
  border-color: rgba(167, 25, 34, .42);
  box-shadow: 0 0 0 2px rgba(167, 25, 34, .09), 0 4px 11px rgba(38, 29, 22, .08);
}

.restaurant-page-body .menu-list-premium {
  padding: 7px 14px 120px;
  background: var(--restaurant-canvas);
}

.restaurant-page-body .category-header-premium {
  margin: 12px 1px 9px;
  padding: 0 1px 8px;
  border-bottom: 1px solid #eeeae6;
  color: #202124;
  font-size: 14px;
  letter-spacing: -.2px;
  text-transform: none;
}

.restaurant-page-body .category-header-premium .item-count {
  border: 0;
  border-radius: 999px;
  background: #f5f2ef;
  color: #77716c;
  font-size: 8px;
}

.restaurant-page-body .vertical-list {
  gap: 10px;
}

.restaurant-page-body .menu-item-card-premium {
  padding: 7px;
  border: 1px solid #eeeae6;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(44, 35, 29, .065);
}

.restaurant-page-body .menu-item-card-premium:hover {
  border-color: rgba(167, 25, 34, .24);
  box-shadow: 0 9px 20px rgba(44, 35, 29, .1);
}

.restaurant-page-body .menu-item-card-premium h4 {
  color: #1f2022;
  font-size: 12px;
  line-height: 1.3;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  color: #212326;
  font-size: 14px;
  font-weight: 850;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  aspect-ratio: 1.24;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img {
  border-radius: 12px;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium {
  border-color: rgba(167, 25, 34, .24);
  color: var(--restaurant-accent);
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium.not-added {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #bd2630, #971720);
  color: #fff;
  box-shadow: 0 4px 10px rgba(153, 23, 32, .22);
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .qty-adjust {
  color: var(--restaurant-accent);
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions button {
  border-color: rgba(167, 25, 34, .2);
  background: #fff3f1;
  color: var(--restaurant-accent);
}

.restaurant-page-body .filter-chip.active {
  border-color: var(--restaurant-accent);
  color: var(--restaurant-accent);
}

.restaurant-page-body .floating-cart-bucket.active {
  background: linear-gradient(110deg, #a71922, #7f111b);
  box-shadow: 0 12px 28px rgba(127, 17, 27, .3);
}

.restaurant-page-body .floating-cart-bucket .bucket-right span::after {
  color: #ffd76f;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-info-card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .restaurant-page-body .restaurant-feature-banner {
    min-height: 116px;
    margin-right: 12px;
    margin-left: 12px;
  }

  .restaurant-page-body .category-filter-chips .filter-chip {
    width: 66px;
    min-width: 66px;
    flex-basis: 66px;
  }
}

@media (min-width: 700px) {
  .restaurant-page-body .restaurant-feature-banner {
    min-height: 170px;
    margin-right: 24px;
    margin-left: 24px;
  }

  .restaurant-page-body .restaurant-feature-copy {
    padding-left: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .restaurant-page-body *,
  .restaurant-page-body *::before,
  .restaurant-page-body *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Reference-led restaurant storefront layout */
.restaurant-page-body {
  --restaurant-accent: #a71922;
  --restaurant-accent-dark: #85131b;
  --restaurant-ink: #17191d;
  --restaurant-canvas: #fff;
  --restaurant-line: #eeeae7;
  background: #fff;
}

.restaurant-page-body #restaurant-view,
.restaurant-page-body #restaurant-scroll-container,
.restaurant-page-body .menu-list-premium {
  background: var(--restaurant-canvas);
}

.restaurant-page-body .restaurant-hero {
  height: clamp(190px, 55vw, 240px);
  overflow: visible;
  border: 0;
  background: #261b14;
}

.restaurant-page-body .hero-banner-img,
.restaurant-page-body .hero-banner-img img {
  height: 100%;
}

.restaurant-page-body .hero-banner-img img {
  filter: brightness(.98) saturate(1.05) contrast(1.02) !important;
  object-position: center 47%;
}

.restaurant-page-body .hero-gradient-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .12), transparent 35%, rgba(0, 0, 0, .08));
  pointer-events: none;
}

.restaurant-page-body .restaurant-floating-header {
  top: 15px;
  right: 16px;
  left: 16px;
}

.restaurant-page-body .header-circle-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .17);
}

.restaurant-overlap-logo {
  position: relative;
  z-index: 15;
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  overflow: hidden;
  margin: -47px auto 0;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #12351e;
  box-shadow: 0 0 0 2px #e5b344, 0 8px 20px rgba(36, 27, 21, .2);
}

.restaurant-overlap-logo img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.restaurant-overlap-logo .restaurant-brand-initial:not([hidden]) {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #f6c847;
  font-size: 37px;
}

.restaurant-page-body .restaurant-info-card-wrapper {
  margin: -1px 0 0;
  padding: 0 15px;
}

.restaurant-page-body .restaurant-info-card {
  padding: 0 0 10px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.restaurant-page-body .restaurant-main-info .title-rating-row {
  justify-content: center;
  text-align: center;
}

.restaurant-page-body .restaurant-brand-copy {
  display: block;
  min-width: 0;
}

.restaurant-page-body .restaurant-main-info h1 {
  margin: 0;
  color: #151619;
  font-size: clamp(20px, 5.6vw, 25px);
  font-weight: 850;
  letter-spacing: -.8px;
  line-height: 1.15;
}

.restaurant-page-body .restaurant-main-info .cuisine {
  margin: 4px auto 0;
  color: #393a3d;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.restaurant-page-body .restaurant-trust-line,
.restaurant-page-body .restaurant-info-card .card-divider {
  display: none !important;
}

.restaurant-page-body .restaurant-main-info .address-text {
  display: flex;
  margin: 9px 0 0;
  padding: 9px 11px;
  border: 1px solid #eeeae7;
  border-radius: 12px;
  background: #fffaf7;
  color: #606166;
  font-size: 10px;
  line-height: 1.45;
}

.restaurant-page-body #rest-view-address[hidden] {
  display: none !important;
}

.restaurant-page-body .restaurant-stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 10px 0 0;
  padding: 8px 3px;
  border: 1px solid #f0ece8;
  border-radius: 17px;
  background: linear-gradient(110deg, #fffaf6, #fff);
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  display: grid;
  min-width: 0;
  min-height: 38px;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 0 5px;
  padding: 2px 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.restaurant-page-body .restaurant-stats-grid .stat-box + .stat-box {
  border-left: 1px solid #e8e3df;
}

.restaurant-page-body .restaurant-stats-grid .stat-icon {
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--restaurant-accent);
  font-size: 14px;
  line-height: 1;
}

.restaurant-page-body .restaurant-stats-grid .stat-box:first-child .stat-icon {
  color: #e5a914;
}

.restaurant-page-body .restaurant-stats-grid .stat-info {
  min-width: 0;
}

.restaurant-page-body .restaurant-stats-grid .stat-value {
  overflow: hidden;
  color: #1d1e20;
  font-size: 9px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .restaurant-stats-grid .stat-label {
  color: #6f7072;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
}

.restaurant-page-body .restaurant-offers-container {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid var(--restaurant-line);
}

.restaurant-page-body .restaurant-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 1px 15px 14px;
}

.restaurant-page-body .restaurant-quick-action {
  display: flex;
  min-width: 0;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 5px;
  border: 1px solid #eeeae7;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(31, 31, 31, .07);
  color: #222326;
  font: 650 10px var(--font-primary);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.restaurant-page-body .restaurant-quick-action:hover {
  transform: translateY(-1px);
  border-color: #e7d8d2;
  box-shadow: 0 5px 13px rgba(31, 31, 31, .1);
}

.restaurant-page-body .restaurant-quick-action svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.restaurant-page-body .restaurant-feature-banner {
  min-height: 117px;
  margin: 0 14px 12px;
  border: 1px solid rgba(90, 51, 24, .12);
  border-radius: 17px;
  background: linear-gradient(115deg, #24120a, #5c2c14 62%, #9a5720);
  box-shadow: 0 5px 14px rgba(52, 33, 22, .12);
}

.restaurant-page-body .restaurant-feature-banner::after {
  background: linear-gradient(90deg, rgba(31, 15, 8, .97) 0%, rgba(31, 15, 8, .75) 43%, rgba(31, 15, 8, .03) 100%);
}

.restaurant-page-body .restaurant-feature-banner > img {
  width: 72%;
  object-position: center 52%;
}

.restaurant-page-body .restaurant-feature-copy {
  gap: 4px;
  padding: 12px 15px;
}

.restaurant-page-body .restaurant-feature-copy > span {
  font-size: 7px;
  letter-spacing: 1.1px;
}

.restaurant-page-body .restaurant-feature-copy h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 6vw, 27px);
  font-style: italic;
  letter-spacing: -.5px;
}

.restaurant-page-body .restaurant-feature-cta {
  min-height: 27px;
  margin-top: 3px;
  padding: 0 12px;
  background: #f5c637;
  font-size: 9px;
}

.restaurant-page-body .restaurant-section-tabs {
  position: sticky;
  top: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 0 12px;
  padding: 4px;
  border: 1px solid #f0ecea;
  border-radius: 999px;
  background: #f8f6f5;
  box-shadow: 0 3px 10px rgba(34, 28, 25, .045);
}

.restaurant-page-body .restaurant-section-tab {
  min-width: 0;
  min-height: 37px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b4c50;
  font: 700 10px var(--font-primary);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.restaurant-page-body .restaurant-section-tab.active {
  background: linear-gradient(110deg, #a71922, #8b111a);
  box-shadow: 0 3px 8px rgba(139, 17, 26, .2);
  color: #fff;
}

.restaurant-page-body .restaurant-section-tab:focus-visible,
.restaurant-page-body .restaurant-quick-action:focus-visible,
.restaurant-page-body .dish-favorite-button:focus-visible {
  outline: 2px solid rgba(167, 25, 34, .55);
  outline-offset: 2px;
}

.restaurant-page-body .restaurant-menu-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 15px 8px;
}

.restaurant-page-body .restaurant-menu-intro-copy {
  min-width: 0;
}

.restaurant-page-body .restaurant-menu-intro-copy > span,
.restaurant-page-body .restaurant-menu-intro-copy p {
  display: none !important;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  color: #17181b;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.55px;
  white-space: nowrap;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar {
  width: min(57%, 240px);
  flex: 0 1 240px;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar input {
  min-height: 39px;
  height: 39px;
  border-color: #e9e6e3;
  border-radius: 999px;
  background: #faf9f8;
  font-size: 9px;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar .search-icon {
  left: 11px;
  width: 14px;
  height: 14px;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar input {
  padding-left: 32px;
  padding-right: 10px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 49px;
  gap: 7px;
  padding: 4px 15px 7px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.restaurant-page-body .menu-category-heading {
  display: none !important;
}

.restaurant-page-body .category-filter-chips {
  gap: 7px;
  padding: 2px 0 5px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  width: 72px;
  min-width: 72px;
  flex: 0 0 72px;
  gap: 4px;
  color: #292a2c;
}

.restaurant-page-body .filter-chip-image {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
  border: 1px solid #eeeae7;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f8f6f4);
  box-shadow: 0 2px 7px rgba(30, 26, 22, .055);
}

.restaurant-page-body .filter-chip-image-all {
  border: 1px solid rgba(167, 25, 34, .65);
  background: linear-gradient(145deg, #fff9f7, #fff1ee);
  color: var(--restaurant-accent);
}

.restaurant-page-body .filter-chip-image-all svg {
  width: 24px;
  height: 24px;
}

.restaurant-page-body .filter-chip-image-icon {
  font-size: 24px;
}

.restaurant-page-body .filter-chip-label {
  color: #292a2c;
  font-size: 9px;
  font-weight: 650;
}

.restaurant-page-body .category-filter-chips .filter-chip.active .filter-chip-image {
  border-color: rgba(167, 25, 34, .75);
  box-shadow: 0 0 0 1px rgba(167, 25, 34, .12), 0 3px 9px rgba(34, 29, 26, .07);
}

.restaurant-page-body .menu-list-premium {
  padding: 3px 12px 120px;
}

.restaurant-page-body .category-section {
  margin-bottom: 12px !important;
}

.restaurant-page-body .category-header-premium {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 1px 8px;
  padding: 0 1px 5px;
  border: 0;
  color: #191a1c;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.3px;
  text-transform: none;
}

.restaurant-page-body .category-header-premium .item-count {
  display: none;
}

.restaurant-page-body .category-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 4px 0 4px 7px;
  border: 0;
  background: transparent;
  color: var(--restaurant-accent-dark);
  font: 750 9px var(--font-primary);
  white-space: nowrap;
  cursor: pointer;
}

.restaurant-page-body .category-view-all span {
  font-size: 13px;
  line-height: 1;
}

.restaurant-page-body .vertical-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
}

.restaurant-page-body .menu-item-card-premium {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px;
  border: 1px solid #eeeae7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(35, 29, 25, .075);
}

.restaurant-page-body .menu-item-card-premium:hover {
  border-color: rgba(167, 25, 34, .28);
  box-shadow: 0 8px 18px rgba(35, 29, 25, .11);
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  position: relative;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 1.02;
  overflow: visible;
  margin: 0;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img,
.restaurant-page-body .menu-item-card-premium .menu-dish-image-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 11px;
  object-fit: cover;
}

.restaurant-page-body .menu-item-card-premium .veg-indicator {
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 2;
  display: grid;
  width: 15px;
  height: 15px;
  margin: 0;
  place-items: center;
  border: 1px solid #1b8c43;
  border-radius: 3px;
  background: #fff;
}

.restaurant-page-body .menu-item-card-premium .veg-indicator.non-veg {
  border-color: #e52d38;
}

.restaurant-page-body .menu-item-card-premium .veg-dot {
  width: 7px;
  height: 7px;
}

.restaurant-page-body .dish-favorite-button {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 23, 23, .2);
  color: #fff;
  cursor: pointer;
}

.restaurant-page-body .dish-favorite-button svg {
  width: 20px;
  height: 20px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 2.2;
}

.restaurant-page-body .dish-favorite-button[aria-pressed="true"] {
  background: rgba(255, 255, 255, .95);
  color: #d82c39;
}

.restaurant-page-body .dish-favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.restaurant-page-body .menu-item-card-premium .item-info-col {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 7px 2px 1px;
}

.restaurant-page-body .menu-item-card-premium h4 {
  display: -webkit-box;
  min-height: 31px;
  overflow: hidden;
  color: #17181a;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .menu-item-card-premium .dish-stars-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 3px;
  margin-top: 4px !important;
  padding: 3px 5px;
  border-radius: 999px;
  background: #eaf5e5;
  color: #246734;
  font-size: 8px;
  font-weight: 750;
}

.restaurant-page-body .menu-item-card-premium .dish-stars-badge span:first-child {
  color: #248041;
}

.restaurant-page-body .dish-card-purchase {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  margin-top: auto;
  padding-top: 5px;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #1b1c1e;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.restaurant-page-body .menu-item-card-premium p.description {
  display: none !important;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium {
  position: static;
  width: 56px;
  height: 25px;
  flex: 0 0 auto;
  transform: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c3252f, #a3151f);
  color: #fff;
  box-shadow: 0 3px 8px rgba(160, 20, 29, .2);
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .add-text {
  color: #fff;
  font-size: 8px;
  font-weight: 850;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .qty-adjust {
  width: 18px;
  color: #fff;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .qty-num {
  color: #fff;
  font-size: 9px;
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 2px;
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions button {
  min-height: 25px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: #fff0ed;
  color: var(--restaurant-accent);
  font-size: 8px;
  font-weight: 800;
}

.restaurant-page-body .floating-cart-bucket.active {
  right: 8px;
  bottom: calc(9px + env(safe-area-inset-bottom));
  left: 8px;
  width: auto;
  height: 58px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: linear-gradient(110deg, #a71922, #86131b);
  box-shadow: 0 8px 24px rgba(132, 17, 26, .3);
}

.restaurant-page-body .floating-cart-bucket .bucket-left {
  gap: 10px;
}

.restaurant-page-body .floating-cart-bucket .bucket-icon-wrapper {
  width: 37px;
  height: 37px;
  flex-basis: 37px;
  border: 0;
  background: transparent;
}

.restaurant-page-body .floating-cart-bucket .bucket-count {
  display: none;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .label {
  display: none;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .price {
  color: #fff;
  font-size: 15px !important;
}

.restaurant-page-body .floating-cart-bucket .bucket-right {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, .32);
  border-radius: 0;
  background: transparent;
  color: #fff !important;
  font-size: 11px !important;
}

.restaurant-page-body .floating-cart-bucket .bucket-right span::after {
  margin-left: 6px;
  color: #ffe28c;
  content: "→";
}

.restaurant-page-body .moozo-chef-helper {
  right: 7px;
  bottom: calc(76px + env(safe-area-inset-bottom));
}

.restaurant-page-body .chef-speech-card {
  display: none !important;
}

@media (max-width: 350px) {
  .restaurant-page-body .vertical-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurant-page-body .restaurant-quick-actions {
    gap: 5px;
    margin-right: 10px;
    margin-left: 10px;
  }

  .restaurant-page-body .restaurant-quick-action {
    gap: 4px;
    font-size: 9px;
  }

  .restaurant-page-body .restaurant-quick-action svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .restaurant-page-body .restaurant-menu-intro {
    gap: 6px;
    padding-right: 11px;
    padding-left: 11px;
  }

  .restaurant-page-body .restaurant-menu-intro h2 {
    font-size: 16px;
  }

  .restaurant-page-body .restaurant-menu-intro .menu-search-bar {
    width: 55%;
  }

  .restaurant-page-body .restaurant-menu-intro .menu-search-bar input {
    font-size: 8px;
  }
}

@media (min-width: 700px) {
  .restaurant-page-body .restaurant-hero {
    height: min(34vw, 360px);
  }

  .restaurant-page-body .restaurant-feature-banner {
    min-height: 180px;
  }

  .restaurant-page-body .vertical-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .restaurant-page-body .menu-item-card-premium {
    padding: 9px;
  }

  .restaurant-page-body .menu-item-card-premium h4 {
    font-size: 13px;
  }
}

.restaurant-page-body .restaurant-hero {
  height: clamp(180px, 47vw, 198px);
}

.restaurant-page-body .restaurant-overlap-logo {
  width: 80px;
  height: 80px;
  margin-top: -52px;
}

.restaurant-page-body .restaurant-info-card {
  padding-bottom: 7px;
}

.restaurant-page-body .restaurant-stats-grid {
  margin-top: 7px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.restaurant-page-body .restaurant-stats-grid .stat-box,
.restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
  min-height: 30px;
}

.restaurant-page-body .restaurant-stats-grid {
  padding-top: 3px;
  padding-bottom: 3px;
}

.restaurant-page-body .restaurant-quick-actions {
  margin-bottom: 8px;
}

.restaurant-page-body .restaurant-quick-action {
  min-height: 30px;
}

.restaurant-page-body .restaurant-feature-banner {
  min-height: 82px;
  margin-bottom: 7px;
}

.restaurant-page-body .restaurant-feature-copy {
  gap: 2px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.restaurant-page-body .restaurant-feature-copy > span {
  font-size: 7px;
}

.restaurant-page-body .restaurant-feature-copy h2 {
  color: #f5c637;
  font-size: 29px;
  line-height: .96;
}

.restaurant-page-body .restaurant-feature-copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 9px;
  font-weight: 600;
}

.restaurant-page-body .restaurant-feature-cta {
  min-height: 24px;
  margin-top: 2px;
}

.restaurant-page-body .restaurant-section-tab {
  min-height: 23px;
}

.restaurant-page-body .restaurant-section-tabs {
  padding: 2px;
}

.restaurant-page-body .restaurant-menu-intro {
  padding-top: 7px;
  padding-bottom: 3px;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar input,
.restaurant-page-body .restaurant-menu-intro .menu-search-bar {
  min-height: 35px;
  height: 35px;
}

.restaurant-page-body .category-filter-chips {
  gap: 6px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  width: 66px;
  min-width: 66px;
  flex-basis: 66px;
  gap: 3px;
}

.restaurant-page-body .filter-chip-image {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  border-radius: 14px;
}

.restaurant-page-body .filter-chip-label {
  font-size: 8px;
}

.restaurant-page-body .category-header-premium {
  margin-top: 3px;
  margin-bottom: 4px;
}

.restaurant-page-body .restaurant-section-tab svg {
  width: 13px;
  height: 13px;
  margin-right: 3px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .label {
  display: block;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.restaurant-page-body .floating-cart-bucket .bucket-price-info .price {
  font-size: 14px !important;
}

.restaurant-page-body .menu-item-card-premium {
  flex-direction: column-reverse;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  aspect-ratio: 1.55;
}

.restaurant-page-body .moozo-chef-helper {
  display: none !important;
}

@media (max-width: 350px) {
  .restaurant-page-body .restaurant-overlap-logo {
    width: 74px;
    height: 74px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-box,
  .restaurant-page-body .restaurant-stats-grid .stat-box:last-child {
    gap: 0 3px;
    padding-right: 1px;
    padding-left: 1px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-value {
    font-size: 8px;
  }

  .restaurant-page-body .restaurant-stats-grid .stat-label {
    font-size: 5.5px;
  }
}

/* Use the home-page icon language and roomy horizontal menu rows. */
.restaurant-page-body .category-filter-chips {
  min-height: 82px;
  align-items: flex-start;
  gap: 7px;
  padding: 2px 0 7px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  position: relative;
  width: 72px;
  min-width: 72px;
  min-height: 0;
  flex: 0 0 72px;
  gap: 2px;
  padding: 0 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #292832;
  box-shadow: none;
}

.restaurant-page-body .category-filter-chips .filter-chip:hover,
.restaurant-page-body .category-filter-chips .filter-chip.active {
  border: 0;
  background: transparent;
  color: #292832;
  box-shadow: none;
}

.restaurant-page-body .category-filter-chips .filter-chip::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  transform: scaleX(0);
  border-radius: 99px;
  background: #ad1b25;
  content: "";
  transition: transform .18s ease;
}

.restaurant-page-body .category-filter-chips .filter-chip.active::after {
  transform: scaleX(1);
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image {
  display: grid;
  width: 58px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image img {
  display: block;
  width: 50px;
  height: 48px;
  border-radius: 0;
  object-fit: contain;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image-all {
  color: #a71922;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image-all svg {
  width: 29px;
  height: 29px;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-label {
  max-width: 72px;
  overflow: hidden;
  color: #292832;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .vertical-list,
.restaurant-page-body .vertical-list.is-single-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.restaurant-page-body .menu-item-card-premium,
.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium {
  display: flex;
  min-height: 132px;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  padding: 9px;
  border: 1px solid #eee9e5;
  border-radius: 17px;
  background: linear-gradient(110deg, #fff 0%, #fff 66%, #fffaf7 100%);
  box-shadow: 0 4px 14px rgba(45, 34, 28, .065);
}

.restaurant-page-body .menu-item-card-premium .item-info-col,
.restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium .item-info-col {
  min-width: 0;
  flex: 1 1 auto;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3px 1px;
}

.restaurant-page-body .menu-item-card-premium h4 {
  min-height: 0;
  margin: 0 !important;
  color: #222124;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.restaurant-page-body .menu-item-card-premium .dish-stars-badge {
  margin-top: 6px !important;
}

.restaurant-page-body .menu-item-card-premium p.description {
  display: -webkit-box !important;
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
  color: #797a7d;
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.restaurant-page-body .dish-card-purchase {
  width: 100%;
  min-height: 30px;
  justify-content: flex-start;
  gap: 11px;
  margin-top: auto;
  padding-top: 7px;
}

.restaurant-page-body .menu-item-card-premium .price-row-item {
  font-size: 15px;
}

.restaurant-page-body .menu-item-card-premium .item-image-col {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  aspect-ratio: auto;
  align-self: center;
  overflow: visible;
}

.restaurant-page-body .menu-item-card-premium .item-image-col img,
.restaurant-page-body .menu-item-card-premium .menu-dish-image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 13px;
  object-fit: cover;
}

.restaurant-page-body .menu-item-card-premium .dish-favorite-button {
  top: 5px;
  right: 5px;
  width: 26px;
  height: 26px;
  background: rgba(31, 26, 22, .28);
}

.restaurant-page-body .menu-item-card-premium .dish-favorite-button svg {
  width: 18px;
  height: 18px;
}

.restaurant-page-body .menu-item-card-premium .veg-indicator {
  bottom: 5px;
  left: 5px;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium {
  width: 68px;
  height: 28px;
  border-radius: 999px;
}

.restaurant-page-body .menu-item-card-premium .qty-selector-premium .add-text {
  font-size: 9px;
}

.restaurant-page-body .menu-item-card-premium .menu-variety-actions button {
  min-height: 28px;
  padding: 0 10px;
  font-size: 9px;
}

@media (max-width: 360px) {
  .restaurant-page-body .menu-item-card-premium,
  .restaurant-page-body .vertical-list.is-single-item .menu-item-card-premium {
    min-height: 116px;
    gap: 8px;
    padding: 8px;
  }

  .restaurant-page-body .menu-item-card-premium .item-image-col {
    width: 96px;
    height: 96px;
    flex-basis: 96px;
  }

  .restaurant-page-body .menu-item-card-premium h4 {
    font-size: 12px;
  }
}

/* Keep section and category navigation compact so dishes stay prominent. */
.restaurant-page-body .restaurant-section-tabs,
.restaurant-page-body .menu-sticky-controls {
  background-color: #f8f6f5;
}

.restaurant-page-body .restaurant-section-tabs {
  margin: 0 12px;
  padding: 2px;
}

.restaurant-page-body .restaurant-section-tab {
  min-height: 28px;
}

.restaurant-page-body .restaurant-menu-intro {
  gap: 8px;
  padding: 8px 14px 5px;
}

.restaurant-page-body .restaurant-menu-intro h2 {
  font-size: 17px;
}

.restaurant-page-body .restaurant-menu-intro .menu-search-bar,
.restaurant-page-body .restaurant-menu-intro .menu-search-bar input {
  min-height: 34px;
  height: 34px;
}

.restaurant-page-body .menu-sticky-controls {
  top: 34px;
  gap: 0;
  padding: 0 14px 3px;
}

.restaurant-page-body .category-filter-chips {
  min-height: 51px;
  gap: 5px;
  padding: 0 0 3px;
}

.restaurant-page-body .category-filter-chips .filter-chip {
  width: 61px;
  min-width: 61px;
  flex-basis: 61px;
  gap: 0;
  padding-bottom: 3px;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image {
  width: 42px;
  height: 36px;
  flex-basis: 36px;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image img {
  width: 37px;
  height: 35px;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-image-all svg {
  width: 23px;
  height: 23px;
}

.restaurant-page-body .category-filter-chips .filter-chip .filter-chip-label {
  max-width: 61px;
  font-size: 8px;
}

.restaurant-page-body .category-filter-chips .filter-chip::after {
  right: 12px;
  left: 12px;
}

.restaurant-page-body .menu-list-premium {
  padding-top: 0;
}

.restaurant-page-body .category-header-premium {
  margin-top: 2px;
  margin-bottom: 5px;
  padding-bottom: 3px;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-section-tabs {
    margin-right: 10px;
    margin-left: 10px;
  }

  .restaurant-page-body .restaurant-menu-intro {
    padding-right: 11px;
    padding-left: 11px;
  }

  .restaurant-page-body .category-filter-chips .filter-chip {
    width: 57px;
    min-width: 57px;
    flex-basis: 57px;
  }
}

.restaurant-page-body .restaurant-offers-container[hidden] {
  display: none !important;
}

.restaurant-page-body .restaurant-offers-container {
  margin: 8px 12px 2px;
  padding: 11px;
  border: 1px solid #f1e4d6;
  border-radius: 17px;
  background: linear-gradient(135deg, #fffaf3 0%, #fff5e8 100%);
  box-shadow: 0 5px 16px rgba(111, 71, 33, .07);
}

.restaurant-page-body .restaurant-offers-heading {
  gap: 9px;
  margin: 0 0 9px;
}

.restaurant-page-body .restaurant-offers-icon {
  width: 31px;
  height: 31px;
  border: 1px solid #f4dcc2;
  border-radius: 11px;
  background: #fff;
  color: #b94d24;
  font-size: 16px;
}

.restaurant-page-body .restaurant-offers-heading strong {
  color: #30251d;
  font-size: 12px;
  letter-spacing: -.15px;
}

.restaurant-page-body .restaurant-offers-heading small {
  color: #8a796b;
  font-size: 9px;
}

.restaurant-page-body .offers-scroll-x {
  gap: 8px;
  max-height: none;
  padding: 0 0 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.restaurant-page-body .offers-scroll-x::-webkit-scrollbar {
  display: none;
}

.restaurant-page-body .offer-card-premium {
  min-width: 100%;
  min-height: 104px;
  flex: 0 0 100%;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #f0dfca;
  border-left: 4px solid #d36a34;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(89, 58, 31, .06);
}

.restaurant-page-body .restaurant-offer-banner {
  width: 76px;
  min-height: 104px;
  flex: 0 0 76px;
  object-fit: cover;
}

.restaurant-page-body .offer-card-details {
  min-width: 0;
  padding: 9px 10px;
}

.restaurant-page-body .offer-badge-tag {
  padding: 4px 7px;
  border-radius: 999px;
  background: #fff1e5;
  color: #a94b25;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: .5px;
}

.restaurant-page-body .restaurant-offer-discount {
  margin-top: 5px;
  color: #811b20;
  font-size: 15px;
  line-height: 1.1;
}

.restaurant-page-body .offer-title {
  display: block;
  max-width: 100%;
  margin-top: 4px;
  overflow: hidden;
  color: #70665f;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-page-body .restaurant-offer-code-row {
  display: flex;
  margin-top: auto;
  padding-top: 7px;
}

.restaurant-page-body .restaurant-offer-code-row > span {
  color: #7e756d;
  font-size: 8px;
}

.restaurant-page-body .restaurant-offer-code-row > span strong {
  color: #8f2827;
  letter-spacing: .7px;
}

.restaurant-page-body .restaurant-offer-copy {
  padding: 5px 10px;
  border: 1px solid #e8cdb5;
  border-radius: 8px;
  background: #fff9f3;
  color: #9c3d20;
  font: 800 8px var(--font-primary);
}

.restaurant-page-body .restaurant-offer-copy:hover {
  border-color: #d58b5e;
  background: #fff1e5;
}

@media (max-width: 360px) {
  .restaurant-page-body .restaurant-offers-container {
    margin-right: 10px;
    margin-left: 10px;
    padding: 9px;
  }
}

/* Restaurant discovery feed */
#tab-home .home-restaurants-section {
  padding-top: 7px;
}

#tab-home .home-restaurants-section .section-header {
  padding: 0 16px 10px;
}

#tab-home .restaurant-discovery-filters {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 2px 16px 13px;
  overflow-x: auto;
  scrollbar-width: none;
}

#tab-home .restaurant-discovery-filters::-webkit-scrollbar {
  display: none;
}

#tab-home .restaurant-filter-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 16px;
  border: 1px solid #e8e9ed;
  border-radius: 15px;
  background: #fff;
  color: #303642;
  box-shadow: 0 2px 8px rgba(25, 32, 45, .06);
  font: 700 13px var(--font-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

#tab-home .restaurant-filter-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#tab-home .restaurant-filter-button[aria-pressed="true"],
#tab-home .restaurant-filter-more[aria-expanded="true"] {
  border-color: #df2853;
  background: #fff4f6;
  color: #c51e47;
  box-shadow: 0 3px 10px rgba(197, 30, 71, .1);
}

#tab-home .restaurant-filter-lightning {
  color: #11835e;
  font-size: 19px;
  line-height: 1;
}

#tab-home .restaurant-extra-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 12px;
}

#tab-home .restaurant-extra-filters[hidden] {
  display: none !important;
}

#tab-home .restaurant-filter-option {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #e7e8ec;
  border-radius: 999px;
  background: #fff;
  color: #555d68;
  font: 650 11px var(--font-primary);
  cursor: pointer;
}

#tab-home .restaurant-filter-option[aria-pressed="true"] {
  border-color: #22855e;
  background: #eef8f2;
  color: #176844;
}

#tab-home .restaurant-featured-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1px 17px 11px;
}

#tab-home .restaurant-featured-label span {
  color: #737b87;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 2px;
  line-height: 1.3;
  text-transform: uppercase;
}

#tab-home .restaurant-featured-label strong {
  color: #9a9faa;
  font-size: 12px;
  font-weight: 550;
}

#tab-home #restaurants-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  gap: 17px !important;
  padding: 0 14px 22px !important;
  overflow: visible !important;
  scroll-snap-type: none;
}

#tab-home #restaurants-container .restaurant-card {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e9e9eb !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(26, 31, 43, .065) !important;
  cursor: pointer;
  scroll-snap-align: unset;
}

#tab-home #restaurants-container .restaurant-card-front {
  width: 100%;
  min-width: 100%;
}

#tab-home #restaurants-container .rc-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 0 !important;
}

#tab-home #restaurants-container .card-img-wrapper {
  position: relative !important;
  width: 100% !important;
  height: clamp(190px, 56vw, 270px) !important;
  flex: none !important;
  overflow: hidden !important;
  border-radius: 21px 21px 0 0 !important;
  background: linear-gradient(135deg, #f1eee9, #e8e7e5) !important;
  box-shadow: none !important;
}

#tab-home #restaurants-container .card-img-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 21px 21px 0 0 !important;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

#tab-home #restaurants-container .restaurant-card:hover .card-img-wrapper img {
  transform: scale(1.025);
}

#tab-home #restaurants-container .card-img-wrapper::before {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 18, .24));
  content: "";
  pointer-events: none;
}

#tab-home #restaurants-container .restaurant-featured-dish {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 78px);
  min-height: 30px;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  background: rgba(25, 30, 29, .84);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  font-size: 10px;
}

#tab-home #restaurants-container .restaurant-featured-dish > span {
  min-width: 0;
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home #restaurants-container .restaurant-featured-dish strong {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 800;
}

#tab-home #restaurants-container .restaurant-featured-dish i,
#tab-home #restaurants-container .restaurant-pure-veg i {
  position: relative;
  display: inline-block;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #32b77a;
}

#tab-home #restaurants-container .restaurant-featured-dish i::after,
#tab-home #restaurants-container .restaurant-pure-veg i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

#tab-home #restaurants-container .restaurant-featured-dish i.is-non-veg {
  color: #ed6b64;
}

#tab-home #restaurants-container .restaurant-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #888;
  font-size: 42px;
}

#tab-home #restaurants-container .rc-status-badge.closed {
  position: absolute !important;
  z-index: 2;
  bottom: 12px !important;
  left: 12px !important;
  transform: none !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(25, 28, 34, .82) !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 800;
}

#tab-home #restaurants-container .card-menu-swipe-hint {
  right: 12px !important;
  bottom: 12px !important;
  left: auto !important;
  min-height: 27px;
  padding: 6px 9px !important;
  border-color: rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  background: rgba(24, 27, 31, .55) !important;
  font-size: 9px !important;
  opacity: .92;
}

#tab-home #restaurants-container .card-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 14px 15px 15px !important;
  text-align: left !important;
}

#tab-home #restaurants-container .restaurant-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

#tab-home #restaurants-container .restaurant-title-row h3 {
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: #20232a;
  font-size: clamp(17px, 5vw, 20px) !important;
  font-weight: 800 !important;
  letter-spacing: -.45px !important;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home #restaurants-container .restaurant-rating {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  min-height: 29px;
  padding: 0 9px;
  border-radius: 10px;
  background: #176b48;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

#tab-home #restaurants-container .restaurant-rating span {
  font-size: 11px;
}

#tab-home #restaurants-container .restaurant-rating.amber {
  background: #a76a13;
}

#tab-home #restaurants-container .restaurant-rating.red {
  background: #9c3d3d;
}

#tab-home #restaurants-container .card-info .cuisine {
  margin: 0 !important;
  overflow: hidden;
  color: #737a86;
  font-size: 12px !important;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home #restaurants-container .restaurant-delivery-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #5d6571;
  font-size: 11px;
  font-weight: 650;
}

#tab-home #restaurants-container .restaurant-delivery-meta > i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7bbc2;
}

#tab-home #restaurants-container .restaurant-open-state {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #188154;
  font-size: 10px;
  font-weight: 750;
}

#tab-home #restaurants-container .restaurant-open-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #24a36b;
}

#tab-home #restaurants-container .restaurant-offer-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px dashed #e6e7ea;
  color: #4a596c;
  font-size: 11px;
}

#tab-home #restaurants-container .restaurant-offer-line > span {
  color: #2471c8;
  font-size: 15px;
}

#tab-home #restaurants-container .restaurant-offer-line strong {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home #restaurants-container .restaurant-pure-veg {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 2px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2f5f4;
  color: #58656a;
  font-size: 10px;
  font-weight: 650;
}

#tab-home #restaurants-container .restaurant-pure-veg i {
  display: grid;
  place-items: center;
  border: 0;
  font-size: 14px;
  font-style: normal;
}

#tab-home #restaurants-container .restaurant-pure-veg i::after {
  display: none;
}

#tab-home #restaurants-container .restaurant-card .fav-btn {
  position: absolute !important;
  z-index: 4;
  top: 12px !important;
  right: 12px !important;
  display: grid !important;
  width: 38px !important;
  height: 38px !important;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48) !important;
  border-radius: 50% !important;
  background: rgba(18, 22, 27, .38) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.16) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

#tab-home #restaurants-container .restaurant-card .fav-btn svg {
  width: 19px !important;
  height: 19px !important;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#tab-home #restaurants-container .restaurant-card .fav-btn.active {
  background: #fff !important;
  color: #df2853 !important;
}

#tab-home #restaurants-container .restaurant-card .fav-btn.active svg {
  fill: #df2853 !important;
}

#tab-home .restaurant-list-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 28px 18px;
  border: 1px solid #ececf0;
  border-radius: 18px;
  background: #fff;
  color: #606875;
  text-align: center;
}

#tab-home .restaurant-list-empty > span {
  color: #cc3154;
  font-size: 26px;
}

#tab-home .restaurant-list-empty strong {
  color: #28303b;
  font-size: 14px;
}

#tab-home .restaurant-list-empty p {
  margin: 0;
  font-size: 11px;
}

#tab-home .restaurant-list-empty button {
  min-height: 34px;
  margin-top: 4px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: #fff0f3;
  color: #be2448;
  font: 750 11px var(--font-primary);
  cursor: pointer;
}

@media (min-width: 700px) {
  #tab-home #restaurants-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#tab-home .card-img-wrapper .restaurant-image-carousel {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  touch-action: pan-y;
}

#tab-home .restaurant-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

#tab-home .restaurant-carousel-slide {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  height: 100%;
  overflow: hidden;
  place-items: center;
  background: #e9e9ee;
}

#tab-home .restaurant-carousel-slide[data-dish-id] {
  cursor: pointer;
}

#tab-home .restaurant-carousel-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 0;
  max-height: 100% !important;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: center;
  transform: none !important;
}

#tab-home .restaurant-carousel-placeholder {
  color: #777f8b;
  font-size: 42px;
}

#tab-home .restaurant-carousel-item-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 34px 14px 42px;
  background: linear-gradient(180deg, transparent, rgba(16, 20, 28, .82));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

#tab-home .restaurant-carousel-item-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#tab-home .restaurant-carousel-item-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tab-home .restaurant-carousel-item-copy small {
  color: rgba(255, 255, 255, .86);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
}

#tab-home .restaurant-carousel-item-caption strong {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 750;
}

#tab-home .restaurant-carousel-dots {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: calc(100% - 112px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(25, 28, 35, .38);
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

#tab-home .restaurant-carousel-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

#tab-home .restaurant-carousel-dot[aria-current="true"] {
  width: 18px;
  flex-basis: 18px;
  background: #fff;
}

#tab-home .restaurant-carousel-dot:focus-visible,
#tab-home .restaurant-image-carousel:focus-visible {
  outline: 3px solid rgba(112, 45, 205, .8);
  outline-offset: 3px;
}
