/* ==========================================================================
   Foodiee - Ultra Premium Food Delivery Experience
   High-Fidelity Aesthetics, Rich Micro-Interactions, Glassmorphism & Animations
   ========================================================================== */

:root {
  /* Agentzee theme tokens — the platform rewrites these to re-brand the template. Use them, not raw hex. */
  --az-primary: #f25726;
  --az-secondary: #0d0e12;
  --az-accent: #16a34a;
  --az-bg: #ffffff;
  --az-surface: #f4f4f2;
  --az-text: #14171f;
  --az-muted: #717a8a;
  --az-font-heading: 'Playfair Display', Georgia, serif;
  --az-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Brand Core Palette */
  --primary: var(--az-primary);
  --primary-rgb: 242, 87, 38;
  --primary-hover: #dc4314;
  --primary-light: #fff3ee;
  --primary-subtle: rgba(242, 87, 38, 0.08);
  --primary-gradient: linear-gradient(135deg, #f25726 0%, #ff7347 100%);
  --primary-glow: rgba(242, 87, 38, 0.35);

  /* Dark Luxury Tones */
  --dark-bg: var(--az-secondary);
  --dark-card: #14161d;
  --dark-surface: #1b1e28;
  --dark-hero: #0c0d11;
  --dark-border: rgba(255, 255, 255, 0.08);

  /* Neutral & Light Tones */
  --text-main: var(--az-text);
  --text-body: #4b5563;
  --text-muted: var(--az-muted);
  --text-light: #9ea7b8;
  --text-white: #ffffff;

  --bg-page: var(--az-bg);
  --bg-card: #ffffff;
  --bg-subtle: var(--az-surface);
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Functional Colors */
  --green-badge: var(--az-accent);
  --green-light: #eaf7ec;
  --star-yellow: #f59e0b;
  --red-accent: #ef4444;
  --border-color: #eaecef;
  --border-card: #f0f1f4;

  /* Typography */
  --font-heading: var(--az-font-heading);
  --font-body: var(--az-font-body);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.11);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 10px 28px rgba(242, 87, 38, 0.32);
  --shadow-primary-lg: 0 16px 36px rgba(242, 87, 38, 0.45);

  /* Curves & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
}

/* ==========================================================================
   Base & CSS Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-bar {
  background-color: #0b0c0f;
  color: #c9cfd9;
  font-size: 0.8125rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 9px 0;
  position: relative;
  z-index: 120;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left, .top-bar-center, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #cbd3de;
  transition: color var(--transition-fast);
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

.top-bar-item strong {
  color: #ffffff;
  font-weight: 600;
}

.top-bar-item.location {
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.top-bar-item.location:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.top-bar-pulse {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-bar-divider {
  width: 1px;
  height: 13px;
  background-color: rgba(255, 255, 255, 0.16);
}

.login-text-short {
  display: none;
}

.mobile-nav-header,
.mobile-nav-banner,
.mobile-nav-auth {
  display: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 110;
  transition: box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.6875rem;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transition: transform var(--ease-spring), box-shadow var(--transition-fast);
}

.brand-logo:hover .logo-badge {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: var(--shadow-primary-lg);
}

.logo-badge svg {
  width: 23px;
  height: 23px;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.logo-text span {
  color: var(--primary);
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary-gradient);
  border-radius: 4px;
}

/* Header Action Icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  background: #f4f5f7;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--ease-spring), box-shadow var(--transition-fast);
}

.action-btn:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 87, 38, 0.18);
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

.badge-count {
  position: absolute;
  top: 1px;
  right: 1px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(242, 87, 38, 0.4);
  transition: transform var(--ease-spring);
}

.badge-count.pop {
  transform: scale(1.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: #f4f5f7;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  z-index: 105;
  padding: 8px;
  transition: background-color var(--transition-fast);
}

.mobile-toggle:hover {
  background: #e5e7eb;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-menu-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.hero-section {
  background-color: #0b0c0f;
  background-image: 
    linear-gradient(90deg, rgba(11, 12, 15, 0.95) 0%, rgba(11, 12, 15, 0.82) 38%, rgba(11, 12, 15, 0.1) 68%, rgba(11, 12, 15, 0) 100%),
    var(--az-hero-image, url('https://prodbuilderresource.blob.core.windows.net/website-templates/food-foodiee/2e935c5d4d9a/img/banner.webp'));
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  padding: 85px 0 75px 0;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 52px;
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fca584;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}

.hero-title .title-italic {
  display: block;
  font-style: italic;
  color: var(--primary);
  font-weight: 600;
  background: linear-gradient(135deg, #ff6b3d 0%, var(--az-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #abb2c0;
  margin-bottom: 34px;
  line-height: 1.65;
  font-weight: 400;
}

/* Hero Live Search Bar */
.hero-search-wrapper {
  margin-bottom: 38px;
  position: relative;
  z-index: 20;
}

.search-box-pill {
  background-color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 22px;
  display: flex;
  align-items: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.search-box-pill:focus-within {
  box-shadow: 0 16px 40px rgba(242, 87, 38, 0.28), 0 0 0 3px rgba(242, 87, 38, 0.2);
  transform: translateY(-2px);
}

.search-icon-inside {
  color: #9ca3af;
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.search-icon-inside svg {
  width: 19px;
  height: 19px;
}

.search-box-pill input {
  flex: 1;
  font-size: 0.96rem;
  color: #1f2937;
  padding: 9px 0;
  background: transparent;
}

.search-box-pill input::placeholder {
  color: #8c93a3;
  font-weight: 400;
}

.btn-search-pill {
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-primary);
  transition: transform var(--ease-spring), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-search-pill:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-primary-lg);
  filter: brightness(1.05);
}

.btn-search-pill svg {
  width: 16px;
  height: 16px;
}

/* Live Search Suggestions Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: none;
  z-index: 100;
  color: var(--text-main);
}

.search-suggestions-dropdown.open {
  display: block;
  animation: dropdownFade 0.2s ease-out;
}

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

.suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #f2f3f5;
  transition: background-color var(--transition-fast);
}

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

.suggestion-item:hover {
  background-color: #f8fafc;
}

.suggestion-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.suggestion-tag {
  font-size: 0.75rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Feature Trust Badges */
.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 10px;
}

.feature-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.feature-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--ease-spring), background-color var(--transition-fast);
}

.feature-badge-item:hover .feature-icon-circle {
  transform: scale(1.12);
  background: var(--primary);
  color: #ffffff;
}

.feature-icon-circle svg {
  width: 17px;
  height: 17px;
}

.feature-badge-text h4 {
  font-size: 0.83rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.feature-badge-text p {
  font-size: 0.725rem;
  color: #9ba3b2;
  line-height: 1.3;
}

/* Hero Right Side Spacer */
.hero-media-spacer {
  min-height: 460px;
  width: 100%;
}

/* ==========================================================================
   Section Headers (Common Styling)
   ========================================================================== */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-title-wrap h2.section-title {
  font-family: var(--font-heading);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: 4px;
}

.section-desc-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 400;
}

.view-all-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(242, 87, 38, 0.18);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.view-all-pill-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(242, 87, 38, 0.3);
  transform: translateY(-2px);
}

.view-all-pill-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.view-all-pill-btn:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Explore by Categories (Exact Reference Layout)
   ========================================================================== */
.categories-section {
  padding: 56px 0 40px 0;
  background-color: #ffffff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
  align-items: flex-start;
}

.category-item-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 8px 4px 14px 4px;
  border-radius: 16px;
  transition: transform var(--ease-spring), background-color var(--transition-fast);
  position: relative;
}

.category-item-col:hover {
  transform: translateY(-6px);
}

.category-item-col.active {
  background: rgba(242, 87, 38, 0.04);
}

/* Category Artwork & Blob Box */
.cat-illustration-box {
  width: 100%;
  max-width: 130px;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: transform var(--ease-spring);
}

.category-item-col:hover .cat-illustration-box {
  transform: scale(1.06);
}

.cat-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--ease-spring), filter var(--transition-fast);
}

.category-item-col:hover .cat-art-img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

/* Title & Count */
.cat-item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #121318;
  margin-bottom: 2px;
  letter-spacing: -0.2px;
}

.cat-item-count {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 12px;
}

.cat-item-count .count-accent {
  font-weight: 700;
}

/* Accent Colors for Counts */
.theme-pizza .count-accent { color: #e05325; }
.theme-burger .count-accent { color: #d97706; }
.theme-biryani .count-accent { color: #ea580c; }
.theme-sushi .count-accent { color: #0284c7; }
.theme-desserts .count-accent { color: #9a3412; }
.theme-drinks .count-accent { color: #e11d48; }
.theme-healthy .count-accent { color: #16a34a; }
.theme-indian .count-accent { color: #d97706; }

/* Category Bottom Circle Arrow Button */
.cat-item-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--ease-spring), background-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.cat-item-arrow svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-fast);
}

/* Theme Colors for Arrow Buttons */
.theme-pizza .cat-item-arrow { background: #ffece2; color: #e05325; }
.theme-burger .cat-item-arrow { background: #fef0d8; color: #d97706; }
.theme-biryani .cat-item-arrow { background: #fef3db; color: #ea580c; }
.theme-sushi .cat-item-arrow { background: #e3eff9; color: #0284c7; }
.theme-desserts .cat-item-arrow { background: #f5e8e4; color: #9a3412; }
.theme-drinks .cat-item-arrow { background: #fde5ea; color: #e11d48; }
.theme-healthy .cat-item-arrow { background: #e2f5e5; color: #16a34a; }
.theme-indian .cat-item-arrow { background: #fef1db; color: #d97706; }

/* Arrow Hover Transformations */
.category-item-col:hover .cat-item-arrow {
  transform: scale(1.15);
}

.category-item-col:hover .cat-item-arrow svg {
  transform: translateX(2px);
}

.category-item-col.theme-pizza:hover .cat-item-arrow {
  background: #e05325;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(224, 83, 37, 0.35);
}
.category-item-col.theme-burger:hover .cat-item-arrow {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}
.category-item-col.theme-biryani:hover .cat-item-arrow {
  background: #ea580c;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.35);
}
.category-item-col.theme-sushi:hover .cat-item-arrow {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}
.category-item-col.theme-desserts:hover .cat-item-arrow {
  background: #9a3412;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(154, 52, 18, 0.35);
}
.category-item-col.theme-drinks:hover .cat-item-arrow {
  background: #e11d48;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}
.category-item-col.theme-healthy:hover .cat-item-arrow {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
}
.category-item-col.theme-indian:hover .cat-item-arrow {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

/* ==========================================================================
   Promotional Discount Banners
   ========================================================================== */
.promo-banners-section {
  padding: 30px 0 54px 0;
  background: #ffffff;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 210px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease-spring), box-shadow var(--transition-normal);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

/* Card 1: Flat 20% Off */
.promo-card-dark-1 {
  background: linear-gradient(135deg, #191b22 0%, #0d0e12 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card 2: Healthy Food */
.promo-card-light {
  background: linear-gradient(135deg, #edf6ee 0%, #e1efe2 100%);
  color: #1b4332;
  border: 1px solid #d3e7d6;
}

/* Card 3: Party Combo */
.promo-card-dark-2 {
  background: linear-gradient(135deg, #1c1d25 0%, #111217 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-info {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.promo-discount-tag {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.4px;
}

.promo-card-light .promo-discount-tag {
  color: #1b4332;
}

.promo-title-main {
  font-size: 0.98rem;
  font-weight: 700;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.promo-card-light .promo-title-main {
  color: #2d3748;
}

.promo-subtitle-text {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 18px;
  font-weight: 500;
}

.promo-highlight {
  color: #16a34a;
  font-weight: 700;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  font-size: 0.83rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform var(--ease-spring), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.promo-btn.btn-orange {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(242, 87, 38, 0.35);
}

.promo-btn.btn-orange:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-primary);
}

.promo-btn.btn-green {
  background: #1e7044;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 112, 68, 0.35);
}

.promo-btn.btn-green:hover {
  background: #165b36;
  transform: scale(1.05);
}

.promo-image-box {
  position: relative;
  z-index: 1;
  width: 145px;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s var(--ease-spring);
}

.promo-card:hover .promo-image-box img {
  transform: scale(1.1) rotate(4deg);
}

/* ==========================================================================
   Popular Dishes Section & Filters
   ========================================================================== */
.dishes-section {
  padding: 60px 0 72px 0;
  background: linear-gradient(180deg, #fef8f4 0%, #fef3ea 50%, #fcf0e4 100%);
  border-top: 1px solid rgba(242, 87, 38, 0.08);
  border-bottom: 1px solid rgba(242, 87, 38, 0.08);
  position: relative;
}

/* Section Header Row */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-subtitle-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin: 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 18px;
  background: rgba(242, 87, 38, 0.08);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.view-all-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.view-all-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: var(--shadow-primary);
}

.view-all-link:hover svg {
  transform: translateX(4px);
  stroke: #ffffff;
}

/* Dish Filter Tabs */
.dish-filter-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.dish-filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab-btn {
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-tab-btn:hover {
  background: #f8fafc;
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

/* Dish Carousel Grid */
.dishes-slider-container {
  position: relative;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 3px 18px 3px;
  scrollbar-width: none;
}

.dishes-grid::-webkit-scrollbar {
  display: none;
}

.dish-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 12px 12px 14px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform var(--ease-spring), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
  border-color: rgba(242, 87, 38, 0.22);
}

/* Dish Image Container */
.dish-img-wrap {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #f3f4f6;
}

.dish-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

.dish-card:hover .dish-img-wrap img {
  transform: scale(1.08);
}

/* Badges & Wishlist */
.dish-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #009e52;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.dish-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--ease-spring);
}

.dish-wishlist-btn:hover {
  background: #ffffff;
  color: #ef4444;
  transform: scale(1.15);
}

.dish-wishlist-btn.active {
  color: #ef4444;
  background: #ffffff;
}

.dish-wishlist-btn.active svg {
  fill: #ef4444;
}

.dish-wishlist-btn svg {
  width: 15px;
  height: 15px;
}

/* Dish Title & Meta */
.dish-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dish-subtitle {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 6px;
}

.dish-rating-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}

.dish-rating-row .star-icon {
  width: 15px;
  height: 15px;
  fill: #f59e0b;
  color: #f59e0b;
  flex-shrink: 0;
}

.dish-rating-row .rating-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: #111827;
}

.dish-rating-row .rating-count {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Dish Bottom Action */
.dish-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.dish-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.dish-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

.dish-old-price {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 500;
}

.btn-add-cart {
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(242, 87, 38, 0.28);
  transition: background-color var(--transition-fast), transform var(--ease-spring), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn-add-cart svg {
  width: 14px;
  height: 14px;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(242, 87, 38, 0.4);
}

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

/* Slider Controls */
.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.slider-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.slider-arrow-btn.prev {
  left: -20px;
}

.slider-arrow-btn.next {
  right: -20px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
.how-it-works-section {
  padding: 68px 0 64px 0;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.how-it-works-title {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  margin: 0;
}

.steps-timeline-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 14px;
}

.step-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  transition: transform var(--ease-spring), box-shadow var(--transition-normal);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.step-item:hover .step-icon-circle {
  transform: scale(1.15) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-icon-circle.step-green {
  background: #eef7ee;
  color: #22c55e;
}

.step-icon-circle.step-orange {
  background: #fdf1ec;
  color: var(--az-primary);
}

.step-icon-circle svg {
  width: 32px;
  height: 32px;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 200px;
}

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  color: #cbd5e1;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

/* ==========================================================================
   Foodie Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 60px 0 72px 0;
  background: linear-gradient(180deg, #fef8f4 0%, #fffbf8 50%, #fef3ea 100%);
  border-top: 1px solid rgba(242, 87, 38, 0.08);
  border-bottom: 1px solid rgba(242, 87, 38, 0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--ease-spring), box-shadow var(--transition-normal), border-color var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: rgba(242, 87, 38, 0.2);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.testimonial-user h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial-user p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--star-yellow);
  margin-bottom: 12px;
}

.testimonial-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--star-yellow);
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
  font-style: italic;
}

/* ==========================================================================
   Social Proof Stats & Brand Partners
   ========================================================================== */
.social-proof-section {
  padding: 54px 0 64px 0;
  background: #ffffff;
}

.social-proof-title {
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 34px;
}

.stats-and-brands-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-right: 1px solid var(--border-color);
  padding-right: 32px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-value span {
  color: var(--primary);
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Brand Partners */
.partner-brands-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-item {
  display: flex;
  align-items: center;
  color: #64748b;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  opacity: 0.85;
}

.brand-item:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: var(--text-main);
}

.brand-zomato {
  font-weight: 900;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -1px;
}

.brand-swiggy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Newsletter Subscription Banner
   ========================================================================== */
.newsletter-section {
  position: relative;
  z-index: 20;
  margin-bottom: -65px;
  padding: 0;
}

.newsletter-card {
  background-color: #121318;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(242, 87, 38, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(34, 197, 94, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, #161820 0%, #0d0e12 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 38px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  max-width: 1080px;
  margin: 0 auto;
}

.newsletter-left {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 560px;
}

.newsletter-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.newsletter-icon-circle svg {
  width: 28px;
  height: 28px;
}

.newsletter-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 5px;
}

.newsletter-subtext {
  font-size: 0.88rem;
  color: #a4abbb;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 24px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.newsletter-form input {
  flex: 1;
  font-size: 0.94rem;
  color: #1f2937;
  padding: 9px 0;
}

.newsletter-form input::placeholder {
  color: #9ca3af;
}

.newsletter-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-primary);
  transition: transform var(--ease-spring), box-shadow var(--transition-fast);
}

.newsletter-btn:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-primary-lg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #0b0c0f;
  color: #9499a6;
  padding: 110px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr 1.3fr;
  gap: 44px;
  margin-bottom: 52px;
}

.footer-col-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Brand Column */
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-brand-logo .logo-badge {
  width: 34px;
  height: 34px;
}

.footer-tagline {
  font-size: 0.83rem;
  line-height: 1.65;
  color: #9ca3af;
  margin-bottom: 22px;
  max-width: 270px;
}

.social-links-list {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd2dc;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--ease-spring);
}

.social-link:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-3px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Footer Link Columns */
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav-list a {
  font-size: 0.83rem;
  color: #9ca3af;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* App Download Badges */
.app-download-subtitle {
  font-size: 0.83rem;
  color: #9ca3af;
  margin-bottom: 16px;
}

.app-badges-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #17181e;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 9px 16px;
  color: #ffffff;
  width: fit-content;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--ease-spring);
}

.store-badge-link:hover {
  background: #23252c;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.store-badge-link svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-text .small-sub {
  font-size: 0.625rem;
  color: #9ca3af;
  text-transform: uppercase;
}

.store-badge-text .main-text {
  font-size: 0.86rem;
  font-weight: 700;
}

/* Footer Bottom Bar */
.footer-bottom-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: #838896;
}

.footer-powered-by {
  font-size: 0.82rem;
  color: #838896;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.footer-powered-by a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7a45 0%, var(--az-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity var(--transition-fast);
}

.footer-powered-by a:hover {
  opacity: 0.85;
}

.payment-methods-list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-item {
  font-size: 0.86rem;
  font-weight: 800;
  color: #d1d5db;
  letter-spacing: 0.5px;
}

.payment-item.visa {
  font-style: italic;
  font-weight: 900;
}

.payment-item.mastercard {
  color: #ef4444;
}

.payment-item.upi {
  color: #22c55e;
}

.payment-item.paytm {
  color: #0ea5e9;
}

/* ==========================================================================
   Interactive Slide-Over Cart Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  z-index: 910;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transition: right var(--ease-spring);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-close-drawer:hover {
  background-color: #e5e7eb;
  transform: rotate(90deg);
}

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

.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-muted);
}

.cart-empty-state svg {
  width: 64px;
  height: 64px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f3f6;
}

.cart-item-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f5f7;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

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

.qty-val {
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: #fafaf9;
}

.coupon-box {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.coupon-box input {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.btn-apply-coupon {
  background: #1e2024;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-summary-row.total {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed #e2e8f0;
  padding-top: 10px;
  margin-top: 8px;
}

.btn-checkout {
  width: 100%;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 13px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  margin-top: 14px;
  transition: transform var(--ease-spring), box-shadow var(--transition-fast);
}

.btn-checkout:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-primary-lg);
}

/* ==========================================================================
   Quick View Dish Modal
   ========================================================================== */
.quick-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.quick-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.quick-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--ease-spring);
}

.quick-modal-backdrop.open .quick-modal-card {
  transform: scale(1);
}

.quick-modal-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.quick-modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-modal-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.btn-close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
}

.modal-dish-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal-dish-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.modal-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-tag-item {
  background: #f1f3f6;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--text-body);
}

.modal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f3f6;
}

/* ==========================================================================
   Back to Top Floating Button
   ========================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-4px);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #111827;
  color: #ffffff;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s var(--ease-spring);
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints (Ultra-Compact to Desktop)
   ========================================================================== */

/* Prevent accidental horizontal scrolling globally */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* --- Large Devices & Small Desktops (<= 1200px) --- */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .dishes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1.2fr 0.9fr 1fr 1fr 1.1fr;
    gap: 28px;
  }
}

/* --- Tablets (<= 992px) --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-section {
    background-image: 
      linear-gradient(180deg, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.88) 100%),
      var(--az-hero-image, url('https://prodbuilderresource.blob.core.windows.net/website-templates/food-foodiee/2e935c5d4d9a/img/banner.webp'));
    background-position: center right;
    min-height: auto;
    padding: 65px 0 55px 0;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-tag-badge {
    margin: 0 auto 18px auto;
  }
  .hero-search-wrapper {
    max-width: 540px;
    margin: 0 auto 34px auto;
  }
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin: 0 auto;
    gap: 14px;
    text-align: left;
  }
  .hero-media-spacer {
    display: none;
  }
  .promo-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .stats-and-brands-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats-grid {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 24px;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .steps-timeline-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .step-connector {
    display: none;
  }
  .quick-modal-card {
    grid-template-columns: 1fr;
  }
  .quick-modal-img-wrap {
    height: 200px;
    min-height: 200px;
  }
}

/* --- Tablets & Mobile Phones (<= 768px) --- */
@media (max-width: 768px) {
  /* Top Utility / Announcement Bar */
  .top-bar {
    padding: 8px 0;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap; /* Strictly single row - never wrap */
    gap: 12px;
    width: 100%;
  }

  .top-bar-center {
    display: none;
  }

  .top-bar-phone {
    display: none !important; /* Completely hides phone icon and number */
  }

  .top-bar-divider {
    display: none !important;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-shrink: 1;
    overflow: hidden;
  }

  .top-bar-left .location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-bar-left .location svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--primary);
  }

  .top-bar-left .location-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
    color: #cbd3de;
  }

  .top-bar-left strong {
    color: #ffffff;
    font-weight: 600;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .top-bar-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 0.78rem;
    color: #cbd3de;
    transition: color var(--transition-fast);
  }

  .top-bar-login:hover {
    color: #ffffff;
  }

  .top-bar-login svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--primary);
  }

  .login-text-full {
    display: inline;
  }

  .login-text-short {
    display: none;
  }

  /* Drawer Header */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 14px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #edf0f5;
  }

  .mobile-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
  }

  .mobile-nav-brand .logo-badge {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .mobile-nav-brand .logo-badge svg {
    width: 17px;
    height: 17px;
  }

  .mobile-nav-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
  }

  .mobile-nav-brand .logo-text span {
    color: var(--primary);
  }

  .mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: var(--text-main);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
  }

  .mobile-nav-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdf1ec;
    border: 1px solid rgba(242, 87, 38, 0.15);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    width: 100%;
    margin-bottom: 8px;
  }

  .mobile-nav-auth {
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f1f3f6;
  }

  .btn-mobile-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 16px;
    background: var(--primary-gradient);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
  }

  /* Site Header & Navbar */
  .site-header {
    height: auto;
  }
  .navbar {
    height: 66px;
  }
  .brand-logo {
    font-size: 1.4rem;
    gap: 8px;
  }
  .logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .logo-badge svg {
    width: 19px;
    height: 19px;
  }
  .nav-actions {
    gap: 8px;
  }
  .action-btn {
    width: 36px;
    height: 36px;
    transition: opacity var(--transition-fast);
  }
  .action-btn svg {
    width: 18px;
    height: 18px;
  }

  /* When mobile drawer is open: elevate header & hide underlying bar elements */
  body.mobile-nav-open .site-header {
    z-index: 1005;
    background-color: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.mobile-nav-open .site-header .brand-logo {
    opacity: 0;
    pointer-events: none;
  }

  body.mobile-nav-open .nav-actions .action-btn {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-toggle {
    z-index: 1007;
  }

  /* Slide-Out Mobile Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(310px, 84vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px 30px;
    gap: 4px;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.25);
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1006;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.open {
    left: 0;
  }

  .nav-link {
    font-size: 0.95rem;
    width: 100%;
    padding: 12px 6px;
    border-bottom: 1px solid #f1f3f6;
    color: #1f2937;
    display: block;
    transition: all var(--transition-fast);
  }

  .nav-link.active,
  .nav-link:hover {
    color: var(--primary);
    padding-left: 10px;
    background: rgba(242, 87, 38, 0.05);
    border-radius: var(--radius-xs);
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Container */
  .container {
    padding: 0 18px;
  }

  /* Hero Section */
  .hero-section {
    padding: 50px 0 45px;
  }

  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 26px;
    line-height: 1.55;
  }

  .search-box-pill {
    padding: 6px 6px 6px 16px;
  }

  .search-box-pill input {
    font-size: 0.88rem;
  }

  .btn-search-pill {
    padding: 11px 20px;
    font-size: 0.88rem;
    gap: 6px;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
  }

  .feature-badge-item {
    padding: 10px;
    gap: 10px;
  }

  .feature-icon-circle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .feature-icon-circle svg {
    width: 18px;
    height: 18px;
  }

  .feature-badge-text h4 {
    font-size: 0.82rem;
  }

  .feature-badge-text p {
    font-size: 0.72rem;
  }

  /* Explore Categories */
  .categories-section {
    padding: 44px 0 32px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  }

  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .cat-illustration-box {
    max-width: 90px;
    height: 105px;
  }

  .cat-item-title {
    font-size: 0.92rem;
  }

  .cat-item-count {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .cat-item-arrow {
    width: 26px;
    height: 26px;
  }

  /* Promo Banners */
  .promo-banners-section {
    padding: 24px 0 44px;
  }

  .promo-card {
    padding: 20px 18px;
    min-height: 170px;
  }

  .promo-discount-tag {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }

  .promo-title-main {
    font-size: 0.88rem;
  }

  .promo-subtitle-text {
    font-size: 0.76rem;
    margin-bottom: 12px;
  }

  .promo-btn {
    padding: 8px 18px;
    font-size: 0.78rem;
  }

  .promo-image-box {
    width: 110px;
    height: 110px;
  }

  /* Popular Dishes (2-Column Mobile E-Commerce Grid) */
  .dishes-section {
    padding: 45px 0 55px;
  }

  .dish-filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    gap: 8px;
    scrollbar-width: none;
  }

  .dish-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .slider-arrow-btn {
    display: none;
  }

  .dishes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow-x: visible;
  }

  .dish-card {
    padding: 10px 10px 12px;
    border-radius: 14px;
  }

  .dish-img-wrap {
    height: 130px;
    margin-bottom: 10px;
  }

  .dish-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .dish-subtitle {
    font-size: 0.74rem;
    margin-bottom: 6px;
  }

  .dish-rating-row {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .dish-bottom-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: auto;
  }

  .dish-price-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .dish-price {
    font-size: 0.96rem;
  }

  .dish-old-price {
    font-size: 0.78rem;
  }

  .btn-add-cart {
    width: 100%;
    justify-content: center;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  /* How It Works (2x2 Mobile Grid) */
  .how-it-works-section {
    padding: 50px 0 45px;
  }

  .how-it-works-title {
    font-size: clamp(1.75rem, 5.5vw, 2.2rem);
  }

  .steps-timeline-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }

  .step-connector {
    display: none;
  }

  .step-icon-circle {
    width: 62px;
    height: 62px;
    margin-bottom: 12px;
  }

  .step-icon-circle svg {
    width: 26px;
    height: 26px;
  }

  .step-title {
    font-size: 0.95rem;
  }

  .step-desc {
    font-size: 0.76rem;
    max-width: 100%;
  }

  /* Testimonials */
  .testimonials-section {
    padding: 48px 0 55px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 20px 18px;
  }

  .testimonial-text {
    font-size: 0.84rem;
  }

  /* Social Proof */
  .social-proof-section {
    padding: 44px 0 50px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .partner-brands-list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 24px;
  }

  .brand-item {
    font-size: 1.05rem;
  }

  /* Newsletter Subscription Banner */
  .newsletter-section {
    margin-bottom: -50px;
    padding: 0;
  }

  .newsletter-card {
    flex-direction: column;
    padding: 28px 20px;
    text-align: center;
    gap: 20px;
  }

  .newsletter-left {
    flex-direction: column;
    gap: 14px;
  }

  .newsletter-heading {
    font-size: 1.25rem;
  }

  .newsletter-subtext {
    font-size: 0.82rem;
  }

  .newsletter-form {
    max-width: 100%;
    padding: 5px 5px 5px 18px;
  }

  .newsletter-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 95px 0 28px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    max-width: 320px;
  }

  .footer-nav-list {
    align-items: center;
  }

  .app-badges-group {
    align-items: center;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .payment-methods-list {
    justify-content: center;
  }

  /* Cart Drawer Full Width on Mobile */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }

  .cart-drawer.open {
    right: 0;
  }

  .cart-drawer-header {
    padding: 16px 20px;
  }

  .cart-drawer-body {
    padding: 16px 20px;
  }

  .cart-drawer-footer {
    padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  /* Quick View Modal */
  .quick-modal-card {
    grid-template-columns: 1fr;
    max-height: 88vh;
    overflow-y: auto;
  }

  .quick-modal-img-wrap {
    height: 180px;
    min-height: 180px;
  }

  .quick-modal-info {
    padding: 20px 18px;
  }
}

/* --- Small Mobile Phones (<= 480px) --- */
@media (max-width: 480px) {
  .top-bar {
    padding: 7px 0;
  }

  .top-bar-inner {
    gap: 8px;
  }

  .top-bar-left .loc-prefix {
    display: none; /* Shows "📍 Bengaluru, India" cleanly without "Delivering to: " */
  }

  .login-text-full {
    display: none;
  }

  .login-text-short {
    display: inline; /* Shows "👤 Login" */
    font-weight: 600;
  }
}

/* --- Ultra-Compact Mobile Phones (<= 380px) --- */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }

  .top-bar-left strong {
    font-size: 0.74rem;
  }

  .brand-logo {
    font-size: 1.25rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cat-illustration-box {
    max-width: 100px;
    height: 110px;
  }

  .promo-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .promo-info {
    max-width: 100%;
  }

  .hero-search-wrapper {
    margin-bottom: 28px;
  }

  .search-box-pill {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 10px;
    gap: 8px;
  }

  .search-box-pill input {
    width: 100%;
    text-align: center;
  }

  .btn-search-pill {
    width: 100%;
    justify-content: center;
  }

  .dishes-grid {
    gap: 10px;
  }

  .dish-card {
    padding: 8px 8px 10px;
  }

  .dish-img-wrap {
    height: 115px;
  }

  .steps-timeline-wrapper {
    gap: 20px 10px;
  }
}

/* ==========================================================================
   Agentzee storefront bindings (az-store.js)
   ========================================================================== */
.dish-title a { color: inherit; text-decoration: none; }
.dish-img-wrap img[data-az-quickview] { cursor: pointer; }
a.suggestion-item { display: flex; justify-content: space-between; gap: 12px; color: inherit; text-decoration: none; }
.category-item-col[data-az-filter] { cursor: pointer; }
.grid-empty { text-align: center; color: var(--text-muted); padding: 24px 0; width: 100%; }
.product-variants { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.product-variants[hidden] { display: none; }
.variant-pill { border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-body); border-radius: 999px; padding: 3px 10px; font-size: 0.72rem; cursor: pointer; font-family: inherit; }
.variant-pill.is-active, .variant-pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.cart-item-img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-title { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.cart-item-variant { font-size: 0.75rem; color: var(--text-muted); }
.cart-item-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.cart-qty-controls { display: flex; align-items: center; gap: 8px; }
.cart-qty-controls .qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-color); background: var(--bg-card); cursor: pointer; }
.coupon-note { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.btn-checkout[disabled] { opacity: .5; pointer-events: none; }
.quick-modal-root, .quick-modal-root-inner { display: contents; }

/* Reviewer mark: a neutral silhouette, never a stock photo of a named person */
.client-avatar, .review-avatar, .testimonial-avatar, .user-avatar, .review-user-avatar {
  display: grid;
  place-items: center;
  background: #e7e5e4;
  color: #5c574f;
  overflow: hidden;
  flex-shrink: 0;
}
.client-avatar svg, .review-avatar svg, .testimonial-avatar svg, .user-avatar svg, .review-user-avatar svg {
  width: 72%;
  height: 72%;
}
