/* =============================================================================
   CLASSIC CHETTINADU RESTAURANT - BRAND DESIGN SYSTEM
   Theme: Fresh, Clean, Appetizing Light Palette with Rich Food Accents
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* Brand Accents - Vibrant Foodie Colors */
  --primary: #e23744;          /* Zomato Signature Red */
  --primary-hover: #cb202d;
  --primary-light: #fff0f2;
  --primary-glow: rgba(226, 55, 68, 0.25);
  
  --accent-orange: #fc8019;    /* Swiggy Vibrant Orange */
  --accent-amber: #f59e0b;     /* Golden Ratings & Specials */
  --accent-gold: #d97706;

  /* Surfaces & Backgrounds */
  --bg-page: #f8f9fa;          /* Crisp modern off-white */
  --bg-surface: #ffffff;       /* Pure white floating cards */
  --bg-surface-soft: #f1f5f9;  /* Soft pill badges */
  --bg-dark-contrast: #0f172a; /* Deep contrast dark elements */

  /* Typography */
  --text-main: #0f172a;        /* Deep slate black */
  --text-body: #334155;        /* Balanced charcoal */
  --text-secondary: #64748b;   /* Slate grey metadata */
  --text-muted: #94a3b8;       /* Subtle text */
  --text-inverted: #ffffff;

  /* Food Indicators */
  --veg: #16a34a;              /* Crisp fresh green */
  --veg-bg: #f0fdf4;
  --nonveg: #dc2626;           /* Rich red */
  --nonveg-bg: #fef2f2;

  /* Borders & Shadows */
  --border-light: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-focus: #cbd5e1;
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 18px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, 0.12);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* Base Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-page) !important;
  color: var(--text-main) !important;
  padding-bottom: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  user-select: none;
}

input, textarea, [contenteditable="true"] {
  user-select: text;
}

button {
  outline: none;
  cursor: pointer;
}

button:focus, button:active {
  outline: none;
}

img {
  transition: opacity 0.3s ease-in-out;
  display: block;
}

/* Safe Area Insets for Mobile App */
body.native-platform .app-header {
  padding-top: env(safe-area-inset-top, 12px) !important;
  height: calc(62px + env(safe-area-inset-top, 12px)) !important;
}
body.native-platform .main-content {
  padding-top: calc(72px + env(safe-area-inset-top, 12px)) !important;
}
body.native-platform .bottom-nav,
body.native-platform .help-fab {
  bottom: calc(10px + env(safe-area-inset-bottom, 10px)) !important;
}

/* =============================================================================
   APP HEADER - SEAMLESS BODY BLEND (SWIGGY / ZOMATO MODERN NATIVE LOOK)
   ============================================================================= */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 6px;
  background: var(--bg-page) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none !important;
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  height: auto !important;
  min-height: 56px;
  z-index: 1000;
  gap: 12px;
  box-shadow: none !important;
  transition: all 0.2s ease;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

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

.header-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.header-icon-btn:active {
  background: var(--primary);
  color: #fff;
  transform: scale(0.92);
}

.user-profile-wrapper {
  position: relative;
}

.auth-button {
  display: flex;
  align-items: center;
}

.auth-btn-login {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 8px var(--primary-glow);
  transition: all 0.2s ease;
}

.auth-btn-login:active {
  transform: scale(0.94);
}

.main-content {
  padding: 4px 14px 28px !important;
  max-width: 680px;
  margin: 0 auto;
}

/* =============================================================================
   SWIGGY STYLE PROMINENT HOME SEARCH BAR (ALWAYS VISIBLE TRIGGER)
   ============================================================================= */
.home-search-trigger {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  margin: 10px 0 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-search-trigger:hover,
.home-search-trigger:active {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(226, 55, 68, 0.12);
  transform: translateY(-1px);
}

.search-trigger-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.search-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(226, 55, 68, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-icon-circle i {
  color: var(--primary);
  font-size: 0.95rem;
}

.search-trigger-text {
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.search-trigger-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-divider-line {
  width: 1px;
  height: 18px;
  background: #e5e7eb;
}

.search-mic-icon {
  color: var(--primary);
  font-size: 1rem;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.home-search-trigger:hover .search-mic-icon {
  transform: scale(1.1);
  opacity: 1;
}

/* Active Dropdown Search Bar */
.search-container-row {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
  position: fixed;
  top: 62px;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-container-row.active {
  display: flex;
  animation: slideDownSearch 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.search-wrapper {
  position: relative;
  flex: 1;
}

.search-input {
  width: 100%;
  height: 42px;
  background: var(--bg-surface-soft);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0 40px 0 42px;
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.95rem;
  pointer-events: none;
}

.search-cancel-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

/* =============================================================================
   PWA INSTALL BANNER (LIGHT FOODIE THEME)
   ============================================================================= */
.install-pwa-box {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
  color: #1e293b !important;
  border-radius: var(--radius-md) !important;
  padding: 10px 14px !important;
  margin-bottom: 16px !important;
  display: none;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.08) !important;
  border: 1px solid #fed7aa !important;
}

#closePwaBtn,
.close-pwa-btn {
  background: none !important;
  border: none !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  padding: 0 4px 0 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #9a3412 !important;
  opacity: 0.8 !important;
  transition: opacity 0.2s ease !important;
}

#closePwaBtn:hover,
.close-pwa-btn:hover {
  opacity: 1 !important;
}

.install-pwa-text {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #7c2d12 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.install-pwa-text i {
  color: #ea580c !important;
  font-size: 1.1rem !important;
}

.install-btn,
#installPwaBtn {
  background: linear-gradient(135deg, #ea580c, #c2410c) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: 6px 14px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3) !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
  flex-shrink: 0 !important;
}

.install-btn:active,
#installPwaBtn:active {
  transform: scale(0.94) !important;
}

/* =============================================================================
   HERO BANNER SLIDER
   ============================================================================= */
.banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  background: #e2e8f0;
}

.banner-slides {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-gradient-slide {
  padding: 18px 20px;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.promo-banner-content {
  z-index: 2;
  max-width: 78%;
}

.promo-tag-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.promo-banner-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.15;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.promo-banner-desc {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
  line-height: 1.3;
  margin-bottom: 10px;
}

.promo-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: #111827;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.promo-banner-cta:active {
  transform: scale(0.95);
}

.promo-banner-art {
  font-size: 3.5rem;
  position: absolute;
  right: 14px;
  bottom: 8px;
  opacity: 0.35;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  transform: rotate(-10deg);
  pointer-events: none;
}

.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.banner-dot.active {
  width: 20px;
  border-radius: var(--radius-full);
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* =============================================================================
   USP TRUST BAR (SWIGGY FOODIE BADGES / CHIP RAIL)
   ============================================================================= */
.restaurant-usp-bar,
.usp-bar {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 10px 0 0 0 !important;
  padding: 10px 0 2px !important;
  border-top: 1px dashed #e2e8f0 !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 600px) {
  .restaurant-usp-bar,
  .usp-bar {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.usp-chip,
.usp-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 8px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  font-size: 0.70rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  letter-spacing: -0.1px;
  transition: all 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
}

.usp-chip:hover,
.usp-item:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.usp-chip-icon,
.usp-item span {
  font-size: 0.85rem !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  margin-bottom: 0 !important;
}

.usp-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.70rem !important;
  font-weight: 700 !important;
}

/* =============================================================================
   SECTION HEADINGS - SWIGGY / ZOMATO PRO TYPOGRAPHY
   ============================================================================= */
.section-title {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================================================================
   SWIGGY SIGNATURE CIRCULAR CATEGORIES ("What's on your mind?")
   ============================================================================= */
.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
  padding-top: 4px;
  -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar {
  display: none;
}

.home-category-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  width: 74px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-decoration: none !important;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.home-category-card:active {
  transform: scale(0.92) !important;
}

.home-category-circle {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  min-height: 68px !important;
  max-width: 68px !important;
  max-height: 68px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #fff8f3 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  border: 2px solid #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
  aspect-ratio: 1 / 1 !important;
}

.home-category-circle img,
.home-category-card > img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  border: none !important;
  box-shadow: none !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
  position: static !important;
}

.home-category-fallback {
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.5rem !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  aspect-ratio: 1 / 1 !important;
  flex-shrink: 0 !important;
}

.home-category-overlay {
  display: none !important;
}

.home-category-name {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #374151 !important;
  margin-top: 8px !important;
  text-align: center !important;
  line-height: 1.2 !important;
  word-break: break-word !important;
  max-width: 74px !important;
  height: 32px !important;
  max-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-shadow: none !important;
}

/* =============================================================================
   DINE-IN EXPERIENCE CARD
   ============================================================================= */
.dine-in-home-banner {
  margin: 20px 0 24px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dine-in-home-banner:active {
  transform: scale(0.985);
}

.dine-in-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ea580c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.dine-in-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 2px;
}

.dine-in-sub {
  font-size: 0.76rem;
  color: #c2410c;
  font-weight: 500;
}

.dine-in-btn {
  padding: 7px 14px;
  background: #ea580c;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);
}

/* =============================================================================
   FOOD CARDS: TODAY'S SPECIALS & BESTSELLERS (SWIGGY PRO STYLE)
   ============================================================================= */
.special-carousel-container {
  position: relative;
  overflow: visible !important;
  margin-bottom: 24px;
}

.special-carousel {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch !important;
  padding: 4px 16px 14px !important;
  margin: 0 -16px !important;
  scrollbar-width: none !important;
  transform: none !important;
}

.special-carousel::-webkit-scrollbar {
  display: none !important;
}

.special-card {
  flex: 0 0 84% !important;
  max-width: 330px !important;
  scroll-snap-align: start;
  background: #ffffff !important;
  border-radius: 18px !important;
  display: flex !important;
  gap: 14px !important;
  padding: 14px !important;
  border: 1.5px solid rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
  cursor: pointer !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
  transform: none !important;
}

.special-card:active {
  transform: scale(0.98) !important;
}

.special-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #e23744, #f97316);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(226, 55, 68, 0.3);
}

.special-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.special-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.special-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 4px;
}

.special-description {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.special-price-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.special-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* Swiggy Iconic ADD Button */
.add-special-btn,
.add-quick-btn {
  background: #ffffff;
  border: 1.5px solid var(--veg);
  color: var(--veg);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.add-special-btn:active,
.add-quick-btn:active {
  background: var(--veg);
  color: #ffffff;
  transform: scale(0.92);
}

.add-special-btn.disabled,
.add-quick-btn.disabled {
  background: var(--bg-surface-soft);
  color: var(--text-muted);
  border-color: var(--border-subtle);
  cursor: not-allowed;
  box-shadow: none;
}

/* =============================================================================
   BESTSELLERS & HORIZONTAL SCROLL (PRODUCT CARDS)
   ============================================================================= */
.horizontal-scroll,
.favorites-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar,
.favorites-scroll-row::-webkit-scrollbar {
  display: none;
}

.horizontal-scroll.dual-row {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: 155px;
}

.product-card {
  background: #ffffff !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg);
  min-width: 152px;
  max-width: 165px;
  padding: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm) !important;
  flex-shrink: 0;
}

.product-card:active {
  transform: scale(0.97);
}

.trending-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.3px;
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.product-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.product-price {
  font-size: 0.98rem;
  font-weight: 900;
  color: var(--text-main);
}

.product-original-price {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card .add-quick-btn {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--veg) !important;
  color: var(--veg) !important;
  border-radius: 8px !important;
  min-width: 58px !important;
  width: auto !important;
  height: 28px !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12) !important;
  padding: 0 8px !important;
  text-transform: uppercase !important;
  transition: all 0.15s ease !important;
}

.product-card .add-quick-btn:active {
  background: var(--veg) !important;
  color: #ffffff !important;
  transform: scale(0.92) !important;
}

/* =============================================================================
   VEG / NON-VEG SQUARE INDICATOR BADGE
   ============================================================================= */
.card-veg-indicator {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.veg-indicator {
  width: 15px;
  height: 15px;
  border: 1.5px solid;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.veg-indicator.veg {
  border-color: var(--veg);
}

.veg-indicator.veg::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--veg);
  border-radius: 50%;
}

.veg-indicator.non-veg {
  border-color: var(--nonveg);
}

.veg-indicator.non-veg::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--nonveg);
  border-radius: 50%;
}

/* Heart Favorite Button */
.fav-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  box-shadow: var(--shadow-xs);
  z-index: 3;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fav-btn.active,
.fav-btn.is-fav {
  color: #ef4444;
}

.fav-btn:active {
  transform: scale(1.2);
}

/* =============================================================================
   LOCKED / UNAVAILABLE OVERLAY
   ============================================================================= */
.locked-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  padding: 8px;
  pointer-events: none;
  gap: 4px;
  border-radius: inherit;
}

.locked-overlay i {
  font-size: 1.1rem;
  color: #ef4444;
}

/* =============================================================================
   BOTTOM DOCKED NAVIGATION (SWIGGY / ZOMATO PRO STYLE)
   ============================================================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle) !important;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05) !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 14px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.nav-item i {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

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

.nav-item.active i {
  transform: translateY(-2px);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 16px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Floating Help Support FAB */
.help-fab {
  position: fixed;
  bottom: 76px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.help-fab:active {
  transform: scale(0.9);
}

/* =============================================================================
   ITEM DETAIL MODAL & POPUPS
   ============================================================================= */
.item-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: flex-end;
  justify-content: center;
}

.item-detail-content {
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  padding: 22px 20px 34px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUpModal 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpModal {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-soft);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
}

.detail-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

.detail-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

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

.detail-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.detail-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
}

.detail-old-price {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.detail-add-btn {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}

.detail-add-btn:active {
  transform: scale(0.98);
}

/* =============================================================================
   SKELETON LOADERS
   ============================================================================= */
.skeleton-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px;
}

.skeleton-img {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeletonPulse 1.5s infinite;
  height: 14px;
  margin: 8px 0;
  border-radius: 4px;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* =============================================================================
   ANIMATIONS & FLOATING CARTS
   ============================================================================= */
@keyframes cartWiggle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  15%, 45% { transform: scale(1.2) rotate(-8deg); }
  30%, 60% { transform: scale(1.2) rotate(8deg); }
}

.cart-animate {
  animation: cartWiggle 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* =============================================================================
   ACTIVE ORDER BAR & SEARCH RESULTS OVERLAYS
   ============================================================================= */
#activeOrderBar {
  position: fixed;
  bottom: 74px;
  left: 0;
  width: 100%;
  padding: 0 16px;
  z-index: 998;
  pointer-events: none;
}

.floating-order-pill {
  pointer-events: auto;
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-order-pill:active {
  transform: scale(0.98);
}

.pill-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  position: relative;
  flex-shrink: 0;
}

.pill-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.pill-subtitle {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.pill-right i {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Search Results UI */
#inlineSearchResults {
  background: var(--bg-page);
  min-height: 80vh;
}

.popular-search-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 16px;
  scrollbar-width: none;
}

.popular-search-tags::-webkit-scrollbar {
  display: none;
}

.search-tag {
  background: #ffffff !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-subtle) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-xs) !important;
}

.search-tag:active {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Location Picker Modal Styling */
#locationModal .item-detail-content {
  background: #ffffff;
  color: var(--text-main);
  border-radius: 24px 24px 0 0;
}

#locationModal h3 {
  color: var(--primary) !important;
}

#modalDetectGpsBtn {
  background: var(--primary-light) !important;
  border: 1.5px solid var(--primary) !important;
  color: var(--primary) !important;
  font-weight: 800 !important;
}

#modalPincodeInput {
  background: var(--bg-surface-soft) !important;
  border: 1.5px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

#modalSaveLocationBtn {
  background: var(--primary) !important;
  color: #ffffff !important;
}

/* =============================================================================
   REPOSITIONED HEADER & BOTTOM NAV SYSTEM
   ============================================================================= */
.header-location-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  min-width: 0;
}

.loc-sub-title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.loc-marker-icon {
  color: var(--primary);
  font-size: 0.85rem;
}

.loc-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--text-secondary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.loc-dropdown-icon {
  font-size: 0.6rem;
  color: var(--text-secondary);
  margin-left: 2px;
}

.loc-main-title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 1px;
}

.loc-main-title .marquee-text {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
  max-width: 140px;
}

.delivery-badge-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.08);
}

.delivery-badge-pill i {
  color: #059669;
  font-size: 0.75rem;
}

/* =============================================================================
   RESTAURANT BRAND STRIP (SWIGGY RESTAURANT IDENTITY CARD)
   ============================================================================= */
.restaurant-brand-strip {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px 14px 10px;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.brand-strip-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  width: 100%;
}

.brand-strip-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.brand-strip-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.brand-strip-name {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: var(--text-main);
  line-height: 1.25 !important;
  letter-spacing: -0.2px;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.brand-strip-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.potheri-tag {
  color: #ea580c;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.potheri-tag i {
  font-size: 0.7rem;
}

.brand-strip-badge {
  display: none !important;
}

.tag-pill {
  background: #fef3c7;
  color: #b45309;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.tag-dot {
  color: #cbd5e1;
}

.tag-text {
  color: var(--text-secondary);
}

.brand-strip-badge {
  flex-shrink: 0;
  margin-left: 10px;
}

.halal-badge {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
}

/* =============================================================================
   ENHANCED BOTTOM NAV DOCK
   ============================================================================= */
.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  height: 66px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle) !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  z-index: 1000 !important;
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.06) !important;
  padding: 0 8px !important;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  flex: 1;
}

.nav-icon-wrapper {
  width: 32px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-icon-wrapper i {
  font-size: 1.25rem;
}

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

.nav-item.active .nav-icon-wrapper {
  transform: translateY(-2px);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 14px;
  height: 3px;
  background: var(--primary);
  border-radius: var(--radius-full);
}


/* Universal Image & Placeholder Styling */
.special-img,
.product-img,
.search-item-img,
.detail-img {
  background: #fff8f3 !important;
  border: 1px solid rgba(234, 88, 12, 0.08) !important;
  object-fit: cover !important;
}

.img-fallback,
.product-fallback,
.special-fallback {
  background: linear-gradient(135deg, #fff8f3 0%, #fee8d6 100%) !important;
  color: #ea580c !important;
  border: 1px solid rgba(234, 88, 12, 0.12) !important;
}


.potheri-badge {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
  font-weight: 800 !important;
  font-size: 0.72rem !important;
  padding: 5px 11px !important;
  border-radius: var(--radius-full) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.08) !important;
}


.brand-logo-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 3px !important;
  flex-shrink: 0 !important;
}

.potheri-logo-badge {
  background: #fff7ed !important;
  border: 1px solid #fed7aa !important;
  color: #ea580c !important;
  font-weight: 800 !important;
  font-size: 0.64rem !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  white-space: nowrap !important;
  letter-spacing: 0.2px !important;
  line-height: 1.3 !important;
  box-shadow: 0 1px 3px rgba(234, 88, 12, 0.08) !important;
}

.potheri-logo-badge i {
  font-size: 0.58rem !important;
}

/* =============================================================================
   CART BADGE - ATTACHED DIRECTLY TO SHOPPING BAG ICON (SWIGGY PRECISION)
   ============================================================================= */
.nav-icon-wrapper {
  position: relative !important;
}

.cart-badge,
.nav-icon-wrapper .cart-badge {
  position: absolute !important;
  top: -4px !important;
  right: -8px !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  min-width: 17px !important;
  height: 17px !important;
  border-radius: 999px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 4px !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) !important;
  pointer-events: none !important;
  line-height: 1 !important;
  z-index: 10 !important;
}

/* Fallback if attached directly to .nav-item */
.nav-item > .cart-badge {
  top: 4px !important;
  left: 50% !important;
  margin-left: 6px !important;
  right: auto !important;
}

/* =============================================================================
   SEARCH INPUT - HIDE NATIVE WEBKIT CANCEL BUTTON (FIX DOUBLE 'X')
   ============================================================================= */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: none !important;
}

.search-input:focus {
  border-color: #ea580c !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15) !important;
}

#searchClearBtn {
  color: #94a3b8 !important;
  font-size: 1rem !important;
}

/* =============================================================================
   SEARCH RESULTS - SWIGGY LIGHT THEME (WHITE CARDS, CRISP TEXT)
   ============================================================================= */
.search-results {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 8px 0 !important;
}

.search-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  margin-bottom: 0 !important;
  border-radius: 18px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.search-item:active {
  transform: scale(0.98) !important;
}

.search-item-img {
  width: 64px !important;
  height: 64px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  background: #fff8f3 !important;
  border: 1px solid rgba(234, 88, 12, 0.08) !important;
  flex-shrink: 0 !important;
}

.search-item-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.search-item-name {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
  margin-bottom: 4px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.price-area {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.original-price {
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.offer-price {
  font-size: 0.98rem !important;
  color: #16a34a !important;
  font-weight: 800 !important;
}

.search-item-actions {
  flex-shrink: 0 !important;
}

.cart-action-btn {
  background: #ffffff !important;
  border: 1.5px solid #16a34a !important;
  border-radius: 20px !important;
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 6px 14px !important;
  min-width: 68px !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15) !important;
  transition: all 0.15s ease !important;
}

.cart-action-btn:hover {
  background: #16a34a !important;
  color: #ffffff !important;
}

.cart-action-btn .qty-control {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  background: #16a34a !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 0 6px !important;
}

.cart-action-btn .qty-btn {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  line-height: 1 !important;
}

.cart-action-btn .qty-value {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  padding: 0 4px !important;
}

/* =============================================================================
   ITEM DETAIL MODAL - SWIGGY WHITE DIALOG & CRISP PLACEHOLDER
   ============================================================================= */
.item-detail-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 4000 !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 16px !important;
}

.item-detail-content {
  background: #ffffff !important;
  border-radius: 24px !important;
  max-width: 440px !important;
  width: 100% !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
  position: relative !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
  padding: 18px !important;
  color: #1e293b !important;
}

.detail-img {
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 18px !important;
  object-fit: cover !important;
  background: #fff8f3 !important;
  border: 1px solid rgba(234, 88, 12, 0.08) !important;
  display: block !important;
  margin-bottom: 14px !important;
}

.detail-fallback {
  display: none !important;
}

.detail-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: 32px !important;
  height: 32px !important;
  background: #ffffff !important;
  color: #334155 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  z-index: 100 !important;
  border: 1px solid #e2e8f0 !important;
  transition: transform 0.15s ease !important;
}

.detail-close:active {
  transform: scale(0.92) !important;
}

.detail-name {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  margin: 10px 0 6px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.detail-desc {
  font-size: 0.82rem !important;
  color: #64748b !important;
  line-height: 1.4 !important;
  margin-bottom: 16px !important;
}

.detail-price-wrap {
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.detail-price {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #1e293b !important;
}

.detail-old-price {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.detail-add-btn {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  width: 100% !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25) !important;
  transition: transform 0.15s ease !important;
}

.detail-add-btn:active {
  transform: scale(0.97) !important;
}

/* =============================================================================
   MENU PAGE SPECIFIC ENHANCEMENTS (SWIGGY / ZOMATO PRO EXPERIENCE)
   ============================================================================= */

/* Menu Layout & Sidebar */
.menu-layout-wrapper {
  display: flex !important;
  gap: 0 !important;
  align-items: flex-start !important;
  margin: 0 !important;
  min-height: calc(100vh - 56px) !important;
  position: relative !important;
}

.category-sidebar {
  width: 76px !important;
  min-width: 76px !important;
  position: fixed !important;
  top: 56px !important;
  left: 0 !important;
  height: calc(100vh - 56px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: none !important;
  background: #ffffff !important;
  border-right: 1px solid var(--border-light) !important;
  z-index: 100 !important;
  padding-bottom: 90px !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.02) !important;
}

body.native-platform .category-sidebar {
  top: calc(56px + env(safe-area-inset-top, 12px)) !important;
  height: calc(100vh - 56px - env(safe-area-inset-top, 12px)) !important;
}

@media (min-width: 1200px) {
  .category-sidebar {
    left: calc((100vw - 1200px) / 2) !important;
  }
}

.category-sidebar::-webkit-scrollbar {
  display: none !important;
}

.sidebar-search-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: #ffffff !important;
  border: none !important;
  padding: 10px 4px 8px !important;
  cursor: pointer !important;
  width: 100% !important;
  gap: 4px !important;
  border-bottom: 1px solid var(--border-light) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
}

.sidebar-search-btn .search-btn-icon-wrap {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: #f0fdf4 !important;
  border: 1.5px solid #bbf7d0 !important;
  color: #16a34a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  transition: transform 0.2s, background 0.2s !important;
  flex-shrink: 0 !important;
}

.sidebar-search-btn:active .search-btn-icon-wrap {
  background: #16a34a !important;
  color: #ffffff !important;
  transform: scale(0.92) !important;
}

.sidebar-search-btn span {
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  color: #16a34a !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

.category-chip {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-left: 3px solid transparent !important;
  padding: 10px 4px !important;
  cursor: pointer !important;
  width: 100% !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
  border-bottom: 1px solid #f8fafc !important;
}

.category-chip img,
.category-chip .cat-fallback {
  width: 44px !important;
  height: 44px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  background: #fff8f3 !important;
  border: 1px solid #fed7aa !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.category-chip span {
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-align: center !important;
  line-height: 1.2 !important;
  padding: 0 2px !important;
  word-break: break-word !important;
  transition: color 0.2s !important;
}

.category-chip.active {
  background: #f0fdf4 !important;
  border-left-color: #16a34a !important;
}

.category-chip.active span {
  color: #16a34a !important;
  font-weight: 800 !important;
}

.category-chip.active img,
.category-chip.active .cat-fallback {
  border-color: #16a34a !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2) !important;
  transform: scale(1.05) !important;
}

.closed-dot {
  position: absolute !important;
  top: 4px !important;
  right: 6px !important;
  width: 10px !important;
  height: 10px !important;
  background: #f59e0b !important;
  border-radius: 50% !important;
  border: 2px solid #ffffff !important;
  z-index: 5 !important;
}

.closed-dot.paused {
  background: #ef4444 !important;
}

.category-chip.closed {
  opacity: 0.65 !important;
}

/* Right Panel & Veg Filter */
.menu-right-panel {
  margin-left: 76px !important;
  flex: 1 !important;
  min-width: 0 !important;
  padding: 6px 10px 90px 10px !important;
}

.veg-filter-row {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin-bottom: 8px !important;
  padding-right: 2px !important;
}

.veg-toggle-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 40px !important;
  border: 1.5px solid #e2e8f0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.veg-toggle-wrap.active {
  background: #f0fdf4 !important;
  border-color: #16a34a !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.15) !important;
}

.veg-toggle-wrap .veg-indicator {
  transform: scale(0.8) !important;
}

.veg-toggle-text {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #64748b !important;
  letter-spacing: 0.2px !important;
}

.veg-toggle-wrap.active .veg-toggle-text {
  color: #16a34a !important;
}

/* Menu Grid */
.menu-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  min-height: calc(100vh - 120px) !important;
  align-content: start !important;
  align-items: start !important;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 14px !important;
  }
}

/* Menu Food Card (Swiggy Pro) */
.menu-card {
  position: relative !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #f1f5f9 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.menu-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
  border-color: #e2e8f0 !important;
}

.menu-card-image {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
  background: #fff8f3 !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.menu-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.menu-card:hover .menu-image {
  transform: scale(1.05) !important;
}

.menu-card-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  padding: 8px 10px 4px !important;
}

.menu-name {
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  color: #1e293b !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
}

.menu-description {
  display: none !important;
}

.price-area {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin-top: 2px !important;
}

.original-price {
  font-size: 0.7rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 500 !important;
}

.offer-price,
.price-single {
  font-size: 0.88rem !important;
  color: #16a34a !important;
  font-weight: 800 !important;
}

.card-discount-tag {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  color: #ffffff !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  z-index: 6 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  pointer-events: none !important;
}

.menu-card-action {
  padding: 4px 10px 10px !important;
}

.cart-action-btn {
  background: #ffffff !important;
  border: 1.5px solid #16a34a !important;
  border-radius: 20px !important;
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 6px 12px !important;
  width: 100% !important;
  height: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12) !important;
  transition: all 0.15s ease !important;
}

.cart-action-btn:hover {
  background: #f0fdf4 !important;
}

.cart-action-btn:active {
  transform: scale(0.95) !important;
}

.cart-action-btn .add-text {
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 0.76rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.cart-action-btn.customize-trigger-btn {
  background: #ffffff !important;
  border: 1.5px solid #ea580c !important;
  color: #ea580c !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.12) !important;
}

.cart-action-btn.customize-trigger-btn .add-text {
  color: #ea580c !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
}

.cart-action-btn.customize-trigger-btn .custom-badge {
  background: #ea580c !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.65rem !important;
  font-weight: 900 !important;
  margin-left: 4px !important;
}

.cart-action-btn.disabled {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.cart-action-btn.disabled .add-text {
  color: #94a3b8 !important;
  font-size: 0.72rem !important;
}

.qty-control {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  background: #16a34a !important;
  color: #ffffff !important;
  border-radius: 20px !important;
  padding: 0 6px !important;
}

.qty-btn {
  background: none !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  padding: 0 6px !important;
  line-height: 1 !important;
}

.qty-btn:active {
  transform: scale(0.85) !important;
}

.qty-value {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  padding: 0 4px !important;
}

/* Category Closed / Paused Status Card */
.status-card {
  background: #fffbeb !important;
  border: 1px solid #fef3c7 !important;
  border-radius: 16px !important;
  padding: 18px 14px !important;
  text-align: center !important;
  margin-bottom: 12px !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08) !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.status-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  background: #fef3c7 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 10px !important;
  font-size: 1.4rem !important;
  color: #d97706 !important;
}

.status-icon-wrap.paused {
  background: #fee2e2 !important;
  color: #dc2626 !important;
}

.status-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #92400e !important;
  margin-bottom: 6px !important;
}

.status-msg {
  font-size: 0.78rem !important;
  color: #78350f !important;
  line-height: 1.45 !important;
  max-width: 400px !important;
  margin: 0 auto !important;
}

.status-time-badge {
  display: inline-block !important;
  background: #ffffff !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  margin-top: 10px !important;
  font-size: 0.78rem !important;
  border: 1px solid #fde68a !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
}

.highlight-time {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  display: inline-block !important;
}

/* Header Slide-in Search */
.header-search-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 14px !important;
  z-index: 1200 !important;
  transform: translateX(-100%) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

body.native-platform .header-search-overlay {
  padding-top: calc(8px + env(safe-area-inset-top, 12px)) !important;
  height: calc(100% + env(safe-area-inset-top, 12px)) !important;
}

.header-search-overlay.active {
  transform: translateX(0) !important;
}

.search-back-btn {
  background: transparent !important;
  border: none !important;
  color: #16a34a !important;
  font-size: 1.15rem !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
}

.header-search-input-wrap {
  position: relative !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
}

.header-search-icon {
  position: absolute !important;
  left: 12px !important;
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  pointer-events: none !important;
}

.header-search-input {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 9px 36px 9px 36px !important;
  font-size: 0.92rem !important;
  color: #1e293b !important;
  outline: none !important;
}

.header-search-input:focus {
  border-color: #16a34a !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15) !important;
  background: #ffffff !important;
}

/* Item Detail Modal - Bottom Sheet Pro Style */
.item-detail-sheet {
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  border-radius: 24px 24px 0 0 !important;
  color: #1e293b !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
}

.item-detail-close-btn {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.item-detail-hero {
  background: #fff8f3 !important;
}

.item-detail-title {
  color: #1e293b !important;
}

.item-detail-desc {
  background: #f8fafc !important;
  color: #64748b !important;
  border: 1px solid #f1f5f9 !important;
}

.item-detail-footer {
  border-top: 1px solid #f1f5f9 !important;
}

/* Customizer Modal Pro Style */
.customizer-modal {
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.customizer-modal-content {
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
  border-radius: 24px 24px 0 0 !important;
  color: #1e293b !important;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15) !important;
}

.customizer-close {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
}

/* Page Loader Crisp White */
.page-loader-overlay {
  background: #ffffff !important;
}

.page-loader-text {
  color: #16a34a !important;
  text-shadow: none !important;
}

.page-spinner-outer {
  border-color: rgba(22, 163, 74, 0.12) !important;
  border-top-color: #16a34a !important;
  box-shadow: 0 0 15px rgba(22, 163, 74, 0.15) !important;
}

.page-spinner-inner {
  border-bottom-color: #4ade80 !important;
}

/* Popover Pro Style */
.profile-popover {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  color: #1e293b !important;
}

.popover-name {
  color: #1e293b !important;
}

.popover-email {
  color: #64748b !important;
}

.popover-divider {
  background: #f1f5f9 !important;
}

.my-orders-popover-btn {
  background: #f8fafc !important;
  color: #1e293b !important;
  border: 1px solid #e2e8f0 !important;
}

/* Disclaimer text */
.disclaimer-text {
  color: #94a3b8 !important;
  border-top-color: #f1f5f9 !important;
}

/* =============================================================================
   SWIGGY / CRED STYLE PERFORATED TWO-PIECE VOUCHER TICKET
   ============================================================================= */
.offer-ticket-card {
  cursor: pointer;
  min-width: 285px;
  max-width: 320px;
  height: 82px;
  flex-shrink: 0;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px;
  display: flex;
  align-items: stretch;
  position: relative;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}

.offer-ticket-card:active {
  transform: scale(0.98);
}

/* Left Hero Discount Stub */
.offer-ticket-stub {
  width: 82px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ff5722 0%, #ea580c 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8px 4px;
  color: #ffffff;
  text-align: center;
}

.offer-ticket-stub .stub-watermark {
  position: absolute;
  right: -6px;
  bottom: -8px;
  font-size: 2.6rem;
  color: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.offer-ticket-val {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.offer-ticket-type {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

/* Vertical Perforated Tear Line */
.offer-ticket-tear {
  width: 0;
  border-right: 1.5px dashed #cbd5e1;
  position: relative;
  flex-shrink: 0;
}

/* Authentic Top & Bottom Punch-Hole Cutouts */
.offer-ticket-card .ticket-notch {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--bg-page, #f8f9fa);
  border-radius: 50%;
  z-index: 3;
  left: 75px;
}

.offer-ticket-card .ticket-notch.top {
  top: -7px;
  border-bottom: 1px solid #cbd5e1;
}

.offer-ticket-card .ticket-notch.bottom {
  bottom: -7px;
  border-top: 1px solid #cbd5e1;
}

/* Right Content Area */
.offer-ticket-body {
  flex: 1;
  min-width: 0;
  padding: 8px 12px 8px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.offer-ticket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.offer-ticket-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.offer-ticket-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  transition: all 0.15s ease;
}

.offer-ticket-card:hover .offer-ticket-copy-btn {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.offer-ticket-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offer-ticket-meta i {
  color: #10b981;
  font-size: 0.65rem;
}

/* =============================================================================
   SWIGGY / ZOMATO PRO CART PAGE DESIGN SYSTEM
   ============================================================================= */
.main-content {
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 16px 14px 110px !important;
}

.page-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 10px 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  letter-spacing: -0.3px !important;
}

.page-title i {
  color: #ea580c !important;
}

/* Cart Item Cards */
.cart-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s ease !important;
}

.cart-item.inactive {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  opacity: 0.8 !important;
}

.cart-item .item-info-flex {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
}

.cart-item .item-img-container {
  width: 58px !important;
  height: 58px !important;
  border-radius: 12px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cart-item .item-fallback-text {
  color: #94a3b8 !important;
  font-size: 1.1rem !important;
}

.cart-item .item-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

.cart-item .item-details {
  flex: 1 !important;
  min-width: 0 !important;
}

.cart-item .item-name {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
}

.cart-item .item-price {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
  margin-top: 4px !important;
}

.cart-item .original-price {
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-right: 6px !important;
}

.cart-item .item-right-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  gap: 8px !important;
}

.cart-item .item-total-price {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

/* Swiggy Green Stepper Pill */
.cart-item .item-qty {
  display: inline-flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border: 1.5px solid #16a34a !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(22, 163, 74, 0.15) !important;
}

.cart-item .item-qty .qty-btn {
  background: transparent !important;
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.cart-item .item-qty .qty-btn:active {
  background: #f0fdf4 !important;
}

.cart-item .item-qty span {
  color: #16a34a !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  min-width: 20px !important;
  text-align: center !important;
}

/* Coupon Section */
.coupon-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  margin-top: 18px !important;
}

.coupon-header {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.96rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.coupon-input-group {
  display: flex !important;
  gap: 8px !important;
}

.coupon-input {
  flex: 1 !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 0.9rem !important;
  color: #0f172a !important;
  outline: none !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}

.coupon-input:focus {
  border-color: #ea580c !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12) !important;
}

.apply-coupon-btn {
  background: #ea580c !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 10px 18px !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25) !important;
}

.view-offers-btn {
  background: #fff7ed !important;
  border: 1.5px dashed #fed7aa !important;
  color: #ea580c !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  width: 100% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 12px !important;
  transition: background 0.15s ease !important;
}

.view-offers-btn:hover {
  background: #ffedd5 !important;
}

.remove-coupon-btn {
  background: #fee2e2 !important;
  border: 1px solid #fca5a5 !important;
  color: #dc2626 !important;
  border-radius: 10px !important;
  padding: 9px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
}

/* Cooking Instructions */
.instructions-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  margin-top: 18px !important;
}

#toggleInstructionsBtn {
  background: #f0fdf4 !important;
  border: 1.5px dashed #86efac !important;
  color: #16a34a !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
}

.instructions-input {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  color: #0f172a !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  outline: none !important;
}

.instructions-input:focus {
  border-color: #16a34a !important;
  background: #ffffff !important;
}

/* Bill Details / Summary Box */
.summary-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 18px 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  margin: 20px 0 !important;
}

.summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 7px 0 !important;
  font-size: 0.88rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
}

.summary-row span:last-child {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.summary-row.total {
  border-top: 1.5px dashed #cbd5e1 !important;
  padding-top: 14px !important;
  margin-top: 10px !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.summary-row.total span:last-child {
  font-size: 1.2rem !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}

.saved-badge {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #059669 !important;
  font-weight: 800 !important;
  font-size: 0.78rem !important;
  padding: 5px 12px !important;
  border-radius: 30px !important;
  display: inline-block !important;
}

/* Delivery Address & Payment Sections */
.address-section, .payment-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 18px 20px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  margin-top: 18px !important;
}

.section-header {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

.address-compact {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 14px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.address-info .name {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.address-info .name .badge {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 2px 6px !important;
  border-radius: 6px !important;
  margin-left: 6px !important;
}

.address-info .detail {
  font-size: 0.8rem !important;
  color: #475569 !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.address-actions {
  display: flex !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

.address-actions .change-btn, .address-actions .new-addr-btn {
  flex: 1 !important;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  padding: 8px 12px !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}

.address-actions .change-btn:hover, .address-actions .new-addr-btn:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.delivery-time-badge {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #2563eb !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  margin-top: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Payment Options */
.payment-option {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.payment-option:hover {
  background: #f1f5f9 !important;
}

.payment-option:has(input[type="radio"]:checked),
.payment-option.selected {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
}

.payment-option input[type="radio"] {
  accent-color: #16a34a !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
}

.payment-option label {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  cursor: pointer !important;
}

/* Place Order CTA Button */
.place-order-btn {
  width: 100% !important;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 15px 20px !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
  cursor: pointer !important;
  margin-top: 16px !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.place-order-btn:active {
  transform: scale(0.98) !important;
}

.place-order-btn:disabled {
  background: #94a3b8 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* Modals & Bottom Sheets */
.modal-content, 
.coupon-bottom-sheet, 
#alertModal .modal-content, 
#addressModal .modal-content, 
#addressListModal .modal-content {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15) !important;
  border-radius: 20px !important;
}

.modal-header, .cbs-header {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #0f172a !important;
  font-weight: 800 !important;
  padding-bottom: 12px !important;
}

.cbs-title, #modalTitle, #alertModalTitle {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 1.1rem !important;
}

.cbs-close, #closeModal {
  color: #64748b !important;
  font-size: 1.4rem !important;
}

#alertModalMessage {
  color: #475569 !important;
}

.form-group label {
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.modal-body input, 
.modal-body select, 
.modal-body textarea,
.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.modal-body input:focus, 
.modal-body select:focus, 
.modal-body textarea:focus,
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: #ea580c !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1) !important;
}

.modal-footer button {
  border-radius: 12px !important;
  font-weight: 700 !important;
}

.modal-footer .save-btn,
.modal-footer button.save-btn {
  background: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

.modal-footer .cancel-btn,
.modal-footer button.cancel-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}

.modal-footer .cancel-btn:hover,
.modal-footer button.cancel-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.sticky-header-wrapper {
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

#deliveryProgressContainer,
.delivery-progress-container {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08) !important;
  color: #16a34a !important;
  margin: 4px 14px 8px 14px !important;
}

.address-list-item {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 16px !important;
}

.address-list-item:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.address-list-item.active {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08) !important;
}

.address-option {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 14px !important;
  padding: 14px !important;
  margin-bottom: 10px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.address-option:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

.address-option.selected {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
}

.address-name {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
}

.address-text {
  color: #64748b !important;
  font-size: 0.82rem !important;
}

.new-address-btn {
  background: #fff7ed !important;
  border: 1.5px dashed #fed7aa !important;
  color: #ea580c !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 12px !important;
  border-radius: 12px !important;
  width: 100% !important;
  cursor: pointer !important;
  margin-top: 10px !important;
}

/* Empty State */
.empty-state {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 36px 20px !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.empty-state i {
  font-size: 2.8rem !important;
  color: #cbd5e1 !important;
  margin-bottom: 12px !important;
}

.empty-state p {
  color: #64748b !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

.browse-btn {
  background: #ea580c !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 10px 22px !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25) !important;
}

/* =============================================================================
   SWIGGY / ZOMATO PRO "COMPLETE YOUR MEAL" CAROUSEL
   ============================================================================= */
.recommends-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  margin-top: 18px !important;
}

.recommends-header {
  margin-bottom: 14px !important;
}

.recommends-title {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  letter-spacing: -0.2px !important;
}

.recommends-sparkle {
  font-size: 1.05rem !important;
}

.recommends-subtitle {
  font-size: 0.76rem !important;
  color: #64748b !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}

.recommends-slider {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 4px 2px 8px !important;
  scrollbar-width: none !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
}

.recommends-slider::-webkit-scrollbar {
  display: none !important;
}

.recommends-card {
  min-width: 140px !important;
  max-width: 140px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  scroll-snap-align: start !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  position: relative !important;
}

.recommends-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.recommends-img-wrap {
  width: 100% !important;
  height: 94px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  margin-bottom: 8px !important;
}

.recommends-img-wrap .veg-indicator {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  z-index: 2 !important;
  background: rgba(255, 255, 255, 0.94) !important;
  padding: 2px !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}

.recommends-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.recommends-card:hover .recommends-img {
  transform: scale(1.05) !important;
}

.recommends-info {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  margin-bottom: 8px !important;
}

.recommends-name {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.25 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-height: 2.1em !important;
}

.recommends-price-row {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.recommends-price-row .current-price {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}

.recommends-price-row .original-price {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
  font-weight: 600 !important;
}

/* Swiggy Style + ADD Pill */
.recommends-add-btn {
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #16a34a !important;
  color: #16a34a !important;
  border-radius: 10px !important;
  padding: 6px 0 !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.12) !important;
  transition: all 0.15s ease !important;
}

.recommends-add-btn:hover {
  background: #f0fdf4 !important;
  border-color: #15803d !important;
  color: #15803d !important;
}

.recommends-add-btn:active {
  transform: scale(0.96) !important;
  background: #16a34a !important;
  color: #ffffff !important;
}

/* =============================================================================
   PAGE 4: ACCOUNT / PROFILE & ORDERS - SWIGGY / ZOMATO LIGHT THEME SYSTEM
   ============================================================================= */

/* Page Background & Base */
body.account-page,
body:has(#ordersSection) {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

/* Tabs Pill Navigation */
.tabs-wrapper {
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 0 16px !important;
  margin-bottom: 8px !important;
}

.tabs-wrapper::-webkit-scrollbar {
  display: none !important;
}

.tabs {
  display: inline-flex !important;
  gap: 8px !important;
  background: #f1f5f9 !important;
  padding: 5px !important;
  border-radius: 50px !important;
  border: 1px solid #e2e8f0 !important;
}

.tab-btn {
  background: none !important;
  border: none !important;
  color: #64748b !important;
  padding: 8px 18px !important;
  border-radius: 40px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tab-btn:hover {
  color: #0f172a !important;
}

.tab-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08) !important;
}

.section-title {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  border-left: 4px solid #16a34a !important;
  margin: 24px 0 16px !important;
  padding-left: 10px !important;
}

/* Order Cards */
.order-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
}

.order-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.order-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 14px 16px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.order-card:hover .order-header {
  background: #f1f5f9 !important;
}

.order-id {
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: #0f172a !important;
  letter-spacing: 0.3px !important;
}

.order-date {
  font-size: 0.75rem !important;
  color: #64748b !important;
  font-weight: 500 !important;
  margin-top: 2px !important;
}

.order-total {
  font-weight: 800 !important;
  font-size: 1rem !important;
  color: #0f172a !important;
}

.expand-icon {
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
  transition: transform 0.25s ease !important;
}

.order-card.open .expand-icon {
  transform: rotate(180deg) !important;
  color: #0f172a !important;
}

/* Payment & Status Badges */
.payment-badge {
  padding: 4px 10px !important;
  border-radius: 30px !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.payment-online {
  background: #f0fdf4 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
}

.payment-cod {
  background: #fffbeb !important;
  color: #d97706 !important;
  border: 1px solid #fde68a !important;
}

/* Kebab Menu */
.kebab-btn {
  color: #64748b !important;
  border-radius: 50% !important;
}

.kebab-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}

.kebab-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  padding: 6px !important;
}

.kebab-dropdown-item {
  color: #334155 !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.kebab-dropdown-item:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.kebab-dropdown-item.danger:hover {
  background: #fef2f2 !important;
  color: #ef4444 !important;
}

/* Order Timeline & Live Tracking */
.timeline-wrapper {
  background: #f8fafc !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 20px 0 !important;
}

.live-timer-container {
  background: #f0fdf4 !important;
  border-bottom: 1px solid #bbf7d0 !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
}

.live-timer-container.late {
  background: #fef2f2 !important;
  border-bottom: 1px solid #fecaca !important;
  color: #ef4444 !important;
}

.timeline-progress-bar {
  background: #e2e8f0 !important;
  height: 3px !important;
}

.timeline-progress-fill {
  background: linear-gradient(90deg, #16a34a, #22c55e) !important;
  box-shadow: none !important;
}

.step-icon {
  background: #ffffff !important;
  border: 2px solid #cbd5e1 !important;
  color: #94a3b8 !important;
}

.step-label {
  color: #64748b !important;
  font-weight: 700 !important;
}

.step-time {
  color: #94a3b8 !important;
}

.timeline-step.completed .step-icon {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25) !important;
}

.timeline-step.completed .step-label {
  color: #16a34a !important;
  font-weight: 800 !important;
}

.timeline-step.completed .step-time {
  color: #64748b !important;
}

.timeline-step.active .step-icon {
  background: #f0fdf4 !important;
  border-color: #16a34a !important;
  color: #16a34a !important;
}

.timeline-step.active .step-label {
  color: #16a34a !important;
  font-weight: 800 !important;
}

.timeline-step.active .step-time {
  color: #16a34a !important;
  font-weight: 700 !important;
}

.cancelled-badge {
  background: #fef2f2 !important;
  color: #ef4444 !important;
  border: 1px solid #fecaca !important;
}

/* Order Details & Items */
.order-details {
  padding: 0 16px 20px 16px !important;
}

.item-row {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 12px 0 !important;
}

.item-row:last-child {
  border-bottom: none !important;
}

.item-img-container {
  width: 48px !important;
  height: 48px !important;
  border-radius: 10px !important;
  background: #fff8f3 !important;
  border: 1px solid #fed7aa !important;
}

.item-fallback-text {
  display: none !important;
}

.item-name-mini {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.9rem !important;
}

.item-meta-mini {
  color: #64748b !important;
  font-size: 0.75rem !important;
}

.item-original-price {
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.item-price {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

.order-summary {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
}

.delivery-info {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  color: #475569 !important;
  padding: 14px !important;
  margin-top: 16px !important;
}

.see-more-btn {
  background: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
}

.see-more-btn:hover {
  background: #16a34a !important;
  color: #ffffff !important;
}

.browse-menu-btn {
  background: #16a34a !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 24px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

.browse-menu-btn:hover {
  background: #15803d !important;
  color: #ffffff !important;
}

/* Addresses Section */
.address-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 18px !important;
  margin-bottom: 14px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.address-default-badge {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
}

.address-name {
  font-weight: 800 !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
}

.address-phone {
  color: #64748b !important;
  font-size: 0.8rem !important;
}

.address-text {
  color: #334155 !important;
  font-size: 0.85rem !important;
}

.address-actions {
  border-top: 1px solid #f1f5f9 !important;
}

.address-actions button {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.address-actions button.edit-btn {
  color: #2563eb !important;
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
}

.address-actions button.danger {
  color: #dc2626 !important;
  border-color: #fecaca !important;
  background: #fef2f2 !important;
}

.address-actions button.star-btn {
  color: #d97706 !important;
  border-color: #fde68a !important;
  background: #fffbeb !important;
}

.add-address-btn {
  background: #16a34a !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2) !important;
}

/* Favorites Section */
.favorites-grid-container {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  padding: 16px 16px 80px !important;
}

@media (min-width: 640px) {
  .favorites-grid-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (min-width: 1024px) {
  .favorites-grid-container {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.fav-grid-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  padding: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  position: relative !important;
  transition: all 0.25s ease !important;
}

.fav-grid-card:hover {
  border-color: #cbd5e1 !important;
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.fav-grid-img-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: none !important;
}

.fav-grid-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.fav-grid-fallback {
  background: #f8fafc !important;
  color: #94a3b8 !important;
}

.fav-grid-name {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
}

.fav-grid-price {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
}

.fav-grid-orig-price {
  color: #94a3b8 !important;
}

.fav-grid-off-badge {
  background: #dcfce7 !important;
  color: #16a34a !important;
}

.fav-cart-btn {
  background: #ffffff !important;
  border: 1.5px solid #16a34a !important;
  color: #16a34a !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.fav-cart-btn .add-text {
  color: #16a34a !important;
}

.fav-cart-btn.has-qty {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.fav-cart-btn .qty-btn {
  color: #ffffff !important;
}

/* Support Section */
.support-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
  padding: 24px 16px !important;
  text-align: center !important;
  margin-bottom: 20px !important;
}

.support-hero-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  background: #ecfdf5 !important;
  border: 1.5px solid #bbf7d0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.12) !important;
}

.support-hero-icon i {
  font-size: 1.5rem !important;
  color: #16a34a !important;
}

.support-hero-title {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 6px 0 !important;
}

.support-hero-desc {
  font-size: 0.85rem !important;
  color: #64748b !important;
  margin: 0 auto 20px !important;
  max-width: 340px !important;
  line-height: 1.45 !important;
}

.support-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

.support-tile {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 14px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}

.support-tile:hover {
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06) !important;
}

.support-tile:active {
  transform: scale(0.97) !important;
  background: #f8fafc !important;
}

.tile-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  flex-shrink: 0 !important;
}

.tile-info {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
}

.tile-title {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.tile-subtitle {
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  margin-top: 3px !important;
  line-height: 1.2 !important;
}

.tile-whatsapp .tile-icon-wrap {
  background: #ecfdf5 !important;
  color: #16a34a !important;
  border: 1px solid #bbf7d0 !important;
}
.tile-whatsapp .tile-subtitle {
  color: #16a34a !important;
}

.tile-call .tile-icon-wrap {
  background: #fff7ed !important;
  color: #ea580c !important;
  border: 1px solid #fed7aa !important;
}
.tile-call .tile-subtitle {
  color: #ea580c !important;
}

.tile-ticket .tile-icon-wrap {
  background: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}
.tile-ticket .tile-subtitle {
  color: #2563eb !important;
}

.tile-about .tile-icon-wrap {
  background: #faf5ff !important;
  color: #9333ea !important;
  border: 1px solid #e9d5ff !important;
}
.tile-about .tile-subtitle {
  color: #9333ea !important;
}

.ticket-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  padding: 16px !important;
}

.ticket-card::before {
  display: none !important;
}

.ticket-subject {
  color: #0f172a !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
}

.ticket-desc {
  color: #475569 !important;
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
}

.ticket-chat-btn {
  width: 100% !important;
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  color: #16a34a !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}

.ticket-chat-btn:hover,
.ticket-chat-btn:active {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.ticket-footer {
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 10px !important;
  margin-top: 12px !important;
}

.ticket-status.status-open {
  background: #dcfce7 !important;
  color: #15803d !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
}

.ticket-status.status-resolved {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
}

/* Settings & Legal Cards */
#pushSettingsCard,
#webSettingsPlaceholder,
.legal-links-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 18px !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
  padding: 20px !important;
}

#pushSettingsCard h4,
.legal-links-card h4 {
  color: #0f172a !important;
  font-weight: 800 !important;
}

.switch-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}

.switch-desc {
  color: #64748b !important;
  font-size: 0.8rem !important;
}

.legal-links-card a {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

.legal-links-card a:hover {
  color: #16a34a !important;
}

.legal-links-card div[style*="height: 1px"] {
  background: #f1f5f9 !important;
}

.empty-state {
  color: #64748b !important;
}

.empty-state i {
  color: #cbd5e1 !important;
}

/* Ticket Chat Modal */
#chatModalDetails {
  border-bottom: 1px solid #f1f5f9 !important;
  color: #64748b !important;
}

.chat-msg-user {
  background: #f0fdf4 !important;
  color: #0f172a !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 12px 12px 2px 12px !important;
}

.chat-msg-admin {
  background: #f8fafc !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px 12px 12px 2px !important;
}

#chatReplyInput {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #0f172a !important;
  border-radius: 10px !important;
}




