/* ==========================================================================
   LUNCH BOX - SWIGGY / ZOMATO MODERN FOOD DELIVERY DESIGN SYSTEM
   Modern, Clean, High-Contrast UI with Fixed Location & Time Controls
   ========================================================================== */

:root {
  /* Calming Botanical Sage & Wholesome Mindful Palette */
  --swiggy-orange: #2D5A3D;        /* Calming Botanical Sage Green */
  --swiggy-orange-hover: #234730;  /* Deeper Botanical Forest Green */
  --swiggy-orange-light: #EAF2EC;  /* Soft Herbal Sage Tint */
  --swiggy-orange-subtle: #F0F6F2; /* Delicate Mint Linen */

  --swiggy-green: #2D5A3D;         /* Calming Botanical Sage Green */
  --swiggy-green-dark: #1E3B27;
  --swiggy-green-light: #EAF2EC;   /* Gentle Herbal Sage Tint */

  --zomato-red: #2D5A3D;           /* Replaced with Calming Botanical Sage */
  --zomato-red-light: #EAF2EC;

  --color-primary: var(--swiggy-orange);
  --color-primary-hover: var(--swiggy-orange-hover);
  --color-primary-light: var(--swiggy-orange-light);

  --color-dark: #212822;           /* Deep Warm Botanical Charcoal */
  --color-text-primary: #212822;
  --color-text-secondary: #5D695F; /* Warm Muted Sage Slate */
  --color-text-tertiary: #879489;

  --bg-app: #FAF8F5;               /* Soothing Warm Linen / Alabaster */
  --bg-card: #FFFFFF;
  --bg-subtle: #FBF9F6;
  --bg-input: #F3F1EC;

  --color-border: #E2DED6;         /* Gentle Warm Oatmeal Border */
  --color-border-light: #ECE8E0;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 3px rgba(33, 40, 34, 0.04);
  --shadow-sm: 0 2px 8px rgba(33, 40, 34, 0.06);
  --shadow-card: 0 4px 14px rgba(33, 40, 34, 0.05);
  --shadow-floating: 0 8px 24px rgba(45, 90, 61, 0.16);
  --shadow-btn: 0 2px 8px rgba(33, 40, 34, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #F4EFEA;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* App Viewport Container (Mobile & Responsive Web Shell) */
.app-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #FFFFFF;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  padding-bottom: 84px;
}

/* ==========================================================================
   DYNAMIC FULL DESKTOP & NATIVE MOBILE RESPONSIVE SYSTEM
   ========================================================================== */
@media (min-width: 840px) {
  body {
    padding: 0;
    background: #F4EFEA;
    align-items: stretch;
  }
  body.theme-dark {
    background: #0E0F14 !important;
  }
  .app-viewport {
    max-width: 1280px;
    width: 98%;
    border-radius: 0;
    box-shadow: none;
    padding: 0 12px 40px;
    margin: 0 auto;
    background-color: transparent;
  }
  .app-header {
    padding: 10px 14px !important;
    border-radius: var(--radius-md);
    margin-top: 8px;
  }
  /* Hide mobile bottom navigation bar on desktop */
  .bottom-nav {
    display: none !important;
  }
  /* Hide mobile header rows on desktop */
  .header-top-row,
  .fixed-service-bar,
  .meal-toggle-wrapper {
    display: none !important;
  }
  /* Show desktop navigation bar */
  .desktop-header-row {
    display: flex !important;
  }
  /* Show desktop download promotion banner */
  .desktop-download-banner {
    display: flex !important;
  }
  /* Desktop Multi-column Grids */
  .todays-special-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 20px !important;
    padding: 20px 0 !important;
  }
  .todays-special-grid .today-dish-card {
    margin-bottom: 0 !important;
  }
  .special-hero-banner {
    display: none !important;
  }
  .cart-desktop-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 28px !important;
    align-items: flex-start !important;
    margin-top: 16px !important;
  }
  .cart-desktop-col-side {
    position: sticky !important;
    top: 90px !important;
  }
  .builder-desktop-grid {
    display: grid !important;
    grid-template-columns: 1.35fr 1fr !important;
    gap: 28px !important;
    align-items: flex-start !important;
    margin-top: 16px !important;
  }
  .builder-desktop-col-side {
    position: sticky !important;
    top: 90px !important;
  }
  .sub-plans-grid,
  #subscriptions-list-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .sub-plan-card,
  .subscription-plan-card {
    margin-bottom: 0 !important;
  }
  #screen-order-tracking {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 24px 0 !important;
  }
}

/* Mobile & Handheld Defaults (< 840px) */
@media (max-width: 839px) {
  .desktop-header-row {
    display: none !important;
  }
  .desktop-download-banner {
    display: none !important;
  }
  .cart-desktop-grid {
    display: block;
  }
  .builder-desktop-grid {
    display: flex;
    flex-direction: column;
  }
  .builder-desktop-col-side {
    display: contents;
  }
  .builder-desktop-col-steps {
    display: contents;
  }
  .builder-desktop-col-side .builder-platter-card {
    order: 1;
  }
  .builder-desktop-col-steps {
    order: 2;
  }
  .builder-desktop-col-side .sticky-bottom-action {
    order: 3;
  }
}

/* ==========================================================================
   TOP STICKY HEADER (SWIGGY / ZOMATO LOCATION & TIME BAR)
   ========================================================================== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--swiggy-orange) 0%, #FF9F45 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(252, 128, 25, 0.35);
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-dark);
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--swiggy-orange);
  text-transform: uppercase;
}

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

.admin-link-btn {
  text-decoration: none;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: #FFF0E6;
  border: 1px solid #FFD8C2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--swiggy-orange);
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s;
}

.admin-link-btn:hover {
  background: var(--swiggy-orange);
  color: #FFFFFF;
}

.avatar-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FIXED DELIVERY HUB & TIME BANNER BAR */
.fixed-service-bar {
  background: #F8F9FB;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fixed-location-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.fixed-pin-icon {
  color: var(--swiggy-orange);
  margin-top: 1px;
  flex-shrink: 0;
}

.fixed-location-text {
  min-width: 0;
}

.fixed-hub-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--color-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-badge-tag {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.fixed-hub-address {
  font-size: 11px;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fixed-time-chip {
  background: #FFF;
  border: 1px solid #E2E6EC;
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  text-align: right;
  flex-shrink: 0;
}

.fixed-time-label {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--swiggy-orange);
  text-transform: uppercase;
  white-space: nowrap;
}

.fixed-time-slot {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-dark);
  white-space: nowrap;
}

/* ==========================================================================
   DESKTOP TOP NAVIGATION HEADER BAR (>=840px)
   ========================================================================== */
.desktop-header-row {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: nowrap;
}

.desktop-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.desktop-hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: #F8F9FA;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 11.5px;
  flex-shrink: 0;
}

#desktop-hub-name {
  font-weight: 700;
  color: var(--color-dark);
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-hub-chip:hover {
  border-color: var(--swiggy-orange);
  background: #FFF4EC;
}

.desktop-slot-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--swiggy-orange);
  background: #FFF4EC;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* Hide slot tag on viewports below 1240px to eliminate header crowding */
@media (max-width: 1240px) {
  .desktop-slot-tag {
    display: none !important;
  }
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.desktop-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.desktop-nav-btn:hover {
  background: #F0F2F5;
  color: var(--color-dark);
}

.desktop-nav-btn.active {
  background: #FFF0E6;
  color: var(--swiggy-orange);
  border-color: #FFD4BC;
}

.desktop-header-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.desktop-meal-toggle,
.meal-toggle-wrapper {
  display: none !important;
}

.desktop-meal-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.desktop-meal-btn.active {
  background: #FFFFFF;
  color: var(--swiggy-orange);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.desktop-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: var(--radius-full);
  background: #EAF8F2;
  border: 1px solid #A7F3D0;
  color: var(--swiggy-green-dark);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.desktop-cart-btn:hover {
  background: #D1FAE5;
  border-color: #6EE7B7;
}

.desktop-cart-badge {
  background: var(--swiggy-green-dark);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  min-width: 16px;
  text-align: center;
}

#desktop-customer-auth {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

#desktop-customer-auth .customer-login-btn {
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

#desktop-customer-auth .customer-login-btn:hover {
  border-color: var(--swiggy-orange);
  color: var(--swiggy-orange);
}

#desktop-customer-auth .customer-user-btn {
  padding: 4px 8px;
  font-size: 11px;
}

#desktop-customer-auth .customer-user-name {
  max-width: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#desktop-customer-auth .customer-signup-btn {
  padding: 5px 9px;
  font-size: 11.5px;
  border-radius: var(--radius-full);
}

/* Tablet & Small Laptop (840px - 1060px) */
@media (min-width: 840px) and (max-width: 1060px) {
  .desktop-header-row {
    gap: 6px;
  }
  .desktop-header-left {
    gap: 6px;
  }
  .brand-text p {
    display: none;
  }
  .brand-text h1 {
    font-size: 15px;
  }
  #desktop-hub-name {
    max-width: 95px;
    font-size: 11px;
  }
  .desktop-nav-links {
    gap: 1px;
  }
  .desktop-nav-btn {
    padding: 4px 6px;
    font-size: 11px;
  }
  .desktop-header-right {
    gap: 4px;
  }
  .desktop-meal-btn {
    padding: 3px 6px;
    font-size: 10px;
  }
  .desktop-cart-btn {
    padding: 4px 7px;
    font-size: 11px;
  }
  #desktop-customer-auth .customer-login-btn {
    padding: 4px 7px;
    font-size: 11px;
  }
  .admin-link-btn {
    height: 26px;
    padding: 0 6px;
    font-size: 10px;
  }
}

/* ==========================================================================
   SEARCH BAR & CATEGORY CHIPS
   ========================================================================== */
.swiggy-search-wrapper {
  position: relative;
  margin: 12px 16px 14px;
}

.swiggy-search-input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  background: var(--bg-input);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-dark);
  outline: none;
  transition: all 0.2s;
}

.swiggy-search-input:focus {
  background: #FFFFFF;
  border-color: var(--swiggy-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.12);
}

.swiggy-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-tertiary);
  pointer-events: none;
}

.category-chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px 12px;
  scrollbar-width: none;
}
.category-chips-row::-webkit-scrollbar {
  display: none;
}

.cat-chip-btn {
  padding: 7px 14px;
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.cat-chip-btn:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.cat-chip-btn.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   SWIGGY FOOD ITEM CARD (ICONIC 2-COLUMN LAYOUT)
   ========================================================================== */
.swiggy-items-container {
  display: flex;
  flex-direction: column;
}

.swiggy-item-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border-light);
  transition: background-color 0.15s;
}

.swiggy-item-card:hover {
  background-color: #FAFAFB;
}

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

.item-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

/* Veg / Non-Veg Standard Icon */
.veg-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--swiggy-green);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF;
  flex-shrink: 0;
}

.veg-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--swiggy-green);
}

.item-badge-pill {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-bestseller {
  background: #FEF6ED;
  color: #EE5A1F;
}

.badge-musttry {
  background: #FFF3E0;
  color: #E65100;
}

.badge-special {
  background: #E8F5E9;
  color: #2E7D32;
}

.badge-popular {
  background: #EDE7F6;
  color: #5E35B1;
}

.item-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.25;
  margin-bottom: 4px;
}

.item-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.item-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.item-rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #0F8A5F;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.item-rating-count {
  font-size: 10.5px;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.item-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-nutrition-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--swiggy-green-dark);
}

/* Right Column: Image with Floating Centered ADD Button */
.swiggy-item-visual {
  position: relative;
  width: 118px;
  height: 104px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swiggy-item-img {
  width: 118px;
  height: 92px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

/* Swiggy Iconic Floating ADD Button */
.swiggy-add-btn-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.btn-swiggy-add {
  width: 92px;
  height: 34px;
  background: #FFFFFF;
  border: 1px solid #D4D5D9;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  color: var(--swiggy-green);
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s;
}

.btn-swiggy-add:hover {
  border-color: var(--swiggy-green);
  background: var(--swiggy-green-light);
}

/* Stepper Pill when Item Qty > 0 */
.swiggy-qty-pill {
  width: 92px;
  height: 34px;
  background: var(--swiggy-green);
  border: 1px solid var(--swiggy-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-shadow: 0 2px 8px rgba(27, 166, 114, 0.28);
}

.swiggy-qty-pill button {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  width: 24px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiggy-qty-pill span {
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  min-width: 16px;
  text-align: center;
}

/* Out of Stock */
.btn-swiggy-soldout {
  width: 92px;
  height: 34px;
  background: #F0F2F5;
  border: 1px solid #E0E2E6;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  color: #A0A4AB;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: not-allowed;
}

/* ==========================================================================
   TODAY'S SPECIAL MENU (EXACT DIVYASKITCHEN REFERENCE LAYOUT)
   ========================================================================== */
.special-hero-banner {
  display: none !important;
}

.special-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF3EB;
  border: 1px solid #FED7AA;
  color: var(--swiggy-orange);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.special-hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--swiggy-orange);
}

.special-hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #1F2937;
  letter-spacing: -0.02em;
}

.special-hero-sub {
  font-size: 11px;
  color: #6B7280;
  margin-top: 4px;
  letter-spacing: 0.01em;
  font-weight: 600;
  text-transform: none;
}

.special-nav-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 16px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  scrollbar-width: none;
  scroll-padding: 16px;
  -webkit-overflow-scrolling: touch;
}
.special-nav-strip::-webkit-scrollbar {
  display: none;
}

.special-nav-item {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text-secondary);
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 7px 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.special-nav-item:hover {
  background: #E5E7EB;
  color: var(--color-dark);
}

.special-nav-item.active {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border-color: var(--swiggy-orange);
  box-shadow: 0 2px 8px rgba(45, 90, 61, 0.28);
}

.todays-special-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px 16px;
}

.today-dish-card {
  background: #FFFFFF;
  border: 1px solid #ECECEC;
  border-radius: var(--radius-md);
  padding: 14px 14px 18px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  position: relative;
}

.today-dish-card:hover {
  border-color: #D6D6D6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Left Column: Spacious Dish Information */
.dish-info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

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

.dish-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
  margin: 0;
  word-break: break-word;
}

.dish-price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

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

.dish-curr-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark);
}

.dish-orig-price {
  font-size: 12px;
  color: var(--color-text-tertiary);
  text-decoration: line-through;
}

.dish-price-drop-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}

.dish-timings-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.dish-timing-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  line-height: 1.3;
}

.dish-timing-badge.lunch {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.dish-timing-badge.dinner {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.dish-portion-badge {
  font-size: 10px;
  font-weight: 600;
  color: #4B5563;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
}

.dish-desc-text {
  font-size: 11.5px;
  color: #6B7280;
  line-height: 1.45;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Column: Visual Thumbnail & Smart Action Button */
.dish-visual-col {
  width: 114px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.dish-thumb-box {
  width: 114px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: #F3F4F6;
}

.dish-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.dish-action-container {
  position: absolute;
  bottom: -12px;
  width: 92px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.btn-dish-add {
  width: 100%;
  height: 32px;
  background: #FFFFFF;
  border: 1.5px solid var(--swiggy-orange);
  color: var(--swiggy-orange);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}

.btn-dish-add:hover {
  background: var(--swiggy-orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(45, 90, 61, 0.2);
}

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

.btn-dish-add-plus {
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.dish-qty-stepper {
  width: 100%;
  height: 32px;
  background: var(--swiggy-orange);
  border: 1.5px solid var(--swiggy-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-shadow: 0 2px 8px rgba(45, 90, 61, 0.3);
  transition: all 0.15s ease;
}

.stepper-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  width: 26px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
}

.stepper-btn:active {
  opacity: 0.7;
}

.stepper-qty-val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
  min-width: 18px;
  text-align: center;
}

.dish-sold-out-badge {
  font-size: 11px;
  font-weight: 800;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(220, 38, 38, 0.1);
}

.daily-box-drop-badge {
  font-size: 9.5px;
  font-weight: 800;
  color: #B45309;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  padding: 2.5px 8px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.1);
}

.dish-img-drop-tag {
  display: none !important;
}

/* Backward compatibility for legacy cart buttons */
.btn-add-cart-reference {
  width: 100%;
  height: 32px;
  background: #FFFFFF;
  border: 1.5px solid var(--swiggy-orange);
  color: var(--swiggy-orange);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: all 0.2s;
  padding: 0 4px;
}

.btn-add-cart-reference:hover {
  background: var(--swiggy-orange-light);
}

.stepper-pill-reference {
  width: 100%;
  height: 32px;
  border: 1.5px solid var(--swiggy-orange);
  border-radius: 6px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.stepper-pill-reference button {
  background: transparent;
  border: none;
  color: var(--swiggy-orange);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  width: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-pill-reference span {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  min-width: 16px;
  text-align: center;
}

/* ==========================================================================
   DAILY BOX BUILDER (DECLUTTERED SWIGGY STYLE)
   ========================================================================== */
.builder-stepper {
  display: flex;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  padding: 10px 16px;
  gap: 8px;
}

.builder-step-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.builder-step-tab.active {
  background: var(--swiggy-orange-light);
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8EBF0;
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.builder-step-tab.active .step-number {
  background: var(--swiggy-orange);
  color: #FFFFFF;
}

.builder-step-tab.completed .step-number {
  background: var(--swiggy-green);
  color: #FFFFFF;
}

.step-text {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.builder-step-tab.active .step-text {
  color: var(--swiggy-orange);
}

/* Platter Preview Card */
.builder-platter-card {
  position: relative;
  margin: 14px 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.builder-platter-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.builder-platter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
}

.platter-live-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.platter-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.platter-bottom-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.nutrition-pills-row {
  display: flex;
  gap: 6px;
}

.nutrition-pill-stat {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Builder Sections & Option Cards */
.builder-section {
  padding: 16px;
  border-bottom: 8px solid var(--bg-app);
}

.section-head-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.section-head-title h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-dark);
}

.section-rule-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--swiggy-orange);
  background: var(--swiggy-orange-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.option-card:hover {
  border-color: #CBD0D8;
}

.option-card.selected {
  border-color: var(--swiggy-green);
  background: #FAFEFB;
  box-shadow: 0 2px 8px rgba(27, 166, 114, 0.12);
}

.radio-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid #C0C5CE;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.option-card.selected .radio-indicator {
  border-color: var(--swiggy-green);
}

.radio-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--swiggy-green);
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.option-card.selected .radio-dot {
  transform: scale(1);
}

.checkbox-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid #C0C5CE;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.option-card.selected .checkbox-indicator {
  border-color: var(--swiggy-green);
  background: var(--swiggy-green);
  color: #FFFFFF;
}

.option-content {
  flex: 1;
  min-width: 0;
}

.option-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.option-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.option-extra-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--swiggy-green-dark);
}

.option-desc {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  line-height: 1.35;
}

.option-meta-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.option-calorie-tag {
  font-size: 10.5px;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

/* Sticky Bottom Action Bar */
.sticky-bottom-action {
  position: sticky;
  bottom: 60px;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 40;
}

.btn-primary-cart {
  width: 100%;
  background: var(--swiggy-green);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(27, 166, 114, 0.3);
  transition: all 0.2s;
}

.btn-primary-cart:hover {
  background: var(--swiggy-green-dark);
  transform: translateY(-1px);
}

.action-sub-notes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

/* ==========================================================================
   CART & CHECKOUT (SWIGGY BILL BREAKDOWN)
   ========================================================================== */
.swiggy-cart-section {
  padding: 16px;
}

/* Fixed Hub Notice in Cart */
.cart-fixed-hub-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.cart-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cart-hub-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-dark);
}

.cart-hub-badge {
  display: none;
}

.cart-hub-address {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}

.cart-hub-slot {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* Cart Serving Hub Styled Select */
.cart-hub-select-container {
  margin: 8px 0;
}

.cart-hub-styled-select-wrap {
  position: relative;
  width: 100%;
}

.cart-hub-styled-select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #FAFAFA;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 9px 30px 9px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cart-hub-styled-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(45, 90, 61, 0.15);
}

.cart-hub-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 9px;
  color: var(--color-text-secondary);
}

.cart-hub-readout {
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-top: 6px;
  line-height: 1.4;
}

.btn-cart-change-desk {
  font-family: var(--font-sans);
  background: #FFFFFF;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  outline: none;
}

.btn-cart-change-desk:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(45, 90, 61, 0.2);
}

#location-modal {
  z-index: 300 !important;
}

.profile-styled-hub-select {
  appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1.5px solid #FFD4BC;
  border-radius: 7px;
  padding: 6px 26px 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.profile-styled-hub-select:focus {
  border-color: var(--swiggy-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.15);
}

/* Cart Items List */
.cart-items-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.cart-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border-light);
}

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

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

.cart-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 3px;
}

.cart-item-sub {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.cart-item-price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Swiggy Bill Details Card */
.bill-details-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.bill-details-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-dark);
  margin-bottom: 14px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.bill-row.savings {
  color: var(--swiggy-green-dark);
  font-weight: 700;
}

.bill-divider {
  height: 1px;
  background: var(--color-border);
  margin: 12px 0;
}

.bill-row.grand-total {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0;
}

.bill-grand-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--swiggy-orange);
}

/* ==========================================================================
   ORDER CONFIRMATION & RECEIPT (ORDER ACCEPTED - ON TIME DELIVERY)
   ========================================================================== */
.order-accepted-card {
  background: linear-gradient(135deg, #181920 0%, #252836 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-accepted-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
  margin-bottom: 14px;
}

.order-accepted-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.order-accepted-title {
  font-size: 24px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.order-accepted-subtitle {
  font-size: 13.5px;
  color: #E2E8F0;
  margin: 0 0 14px 0;
  line-height: 1.45;
  max-width: 320px;
}

.order-accepted-id-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 4px 14px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

/* Schedule & Destination Details Card */
.order-accepted-details-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.accepted-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.accepted-detail-icon {
  font-size: 20px;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
}

.accepted-detail-info {
  flex: 1;
}

.accepted-detail-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: 3px;
}

.accepted-detail-val {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.35;
}

.accepted-detail-sub {
  font-size: 11px;
  color: var(--swiggy-green-dark);
  font-weight: 600;
  margin-top: 2px;
}

.accepted-detail-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 12px 0;
}

/* Items & Receipt Summary Card */
.order-accepted-items-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.accepted-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 12px;
}

.accepted-items-header-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
}

.accepted-paid-badge {
  font-size: 10.5px;
  font-weight: 700;
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #A7F3D0;
}

.accepted-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.accepted-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--color-dark);
}

.accepted-item-name {
  font-weight: 600;
  flex: 1;
  padding-right: 8px;
}

.accepted-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
}

.accepted-total-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--swiggy-orange);
}

/* Punctual Delivery Commitment Box */
.order-guarantee-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.guarantee-title {
  color: #14532D;
  font-weight: 800;
}

.guarantee-desc {
  color: #166534;
}

/* ==========================================================================
   LIVE ORDER TRACKER (SWIGGY / ZOMATO DISPATCH & RIDER CARD)
   ========================================================================== */
.tracker-eta-card {
  background: linear-gradient(135deg, #1C1C1C 0%, #2A2A2A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.eta-status-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.eta-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--swiggy-green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eta-order-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.eta-mins-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}

.eta-subtitle {
  font-size: 12px;
  color: #BDBDBD;
}

/* Swiggy Rider Profile Card */
.swiggy-rider-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

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

.rider-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFF0E6;
  color: var(--swiggy-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.rider-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark);
}

.rider-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--color-text-secondary);
}

.rider-rating-tag {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

.rider-call-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--swiggy-green-light);
  color: var(--swiggy-green-dark);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.rider-call-btn:hover {
  background: var(--swiggy-green);
  color: #FFFFFF;
}

/* 4-Step Vertical Timeline */
.tracker-steps-box {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  margin-bottom: 16px;
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 18px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 13px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-step.completed:not(:last-child)::after {
  background: var(--swiggy-green);
}

.timeline-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E8EBF0;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-step.current .timeline-circle {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(252, 128, 25, 0.2);
}

.timeline-step.completed .timeline-circle {
  background: var(--swiggy-green);
  color: #FFFFFF;
}

.timeline-content {
  flex: 1;
}

.timeline-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.timeline-step.current .timeline-title {
  color: var(--swiggy-orange);
}

.timeline-desc {
  font-size: 11.5px;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (CLEAN 4-TAB BAR)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 62px;
  background: #FFFFFF;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 60;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: #93959F;
  transition: all 0.2s ease;
  position: relative;
  flex: 1;
  height: 100%;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.nav-item span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.nav-badge {
  position: absolute;
  top: 6px;
  right: 24%;
  background: var(--swiggy-green);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   TOAST & MODALS
   ========================================================================== */
.toast-notification {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: #1C1C1C;
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

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

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-sheet {
  background: #FFFFFF;
  width: 100%;
  max-width: 480px;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px 32px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-sheet {
  transform: translateY(0);
}

/* Profile & Past Orders Modal */
.past-order-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 12px;
}

.btn-reorder {
  background: var(--swiggy-orange-light);
  color: var(--swiggy-orange);
  border: 1px solid #FFD4BC;
  border-radius: var(--radius-full);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-reorder:hover {
  background: var(--swiggy-orange);
  color: #FFFFFF;
}

/* Subtle Ayurveda Coming Soon Banner */
.ayurveda-coming-soon-banner {
  background: linear-gradient(135deg, #F3E8FF 0%, #FAF5FF 100%);
  border: 1px solid #E9D5FF;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: 0 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ayurveda-banner-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ayurveda-badge {
  font-size: 9.5px;
  font-weight: 800;
  background: #7E22CE;
  color: #FFFFFF;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.ayurveda-banner-title {
  font-size: 12px;
  font-weight: 700;
  color: #581C87;
}

.ayurveda-banner-desc {
  font-size: 10.5px;
  color: #7E22CE;
}

/* ==========================================================================
   CUSTOMER AUTHENTICATION & LOGIN BUTTONS
   ========================================================================== */
.customer-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--swiggy-orange-light);
  border: 1.5px solid #FFD8C2;
  color: var(--swiggy-orange);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-login-btn:hover {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border-color: var(--swiggy-orange);
}

.customer-signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--swiggy-orange);
  border: 1.5px solid var(--swiggy-orange);
  color: #FFFFFF;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(252, 128, 25, 0.25);
  transition: all 0.2s ease;
}

.customer-signup-btn:hover {
  background: #E0680D;
  border-color: #E0680D;
  box-shadow: 0 3px 8px rgba(252, 128, 25, 0.38);
}

.customer-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  padding: 3px 8px 3px 7px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-user-btn:hover {
  border-color: var(--swiggy-orange);
  background: #FFFBF8;
}

.customer-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--swiggy-green);
  flex-shrink: 0;
}

.customer-user-name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-dark);
}

.customer-avatar-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swiggy-orange);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-demo-quick-login {
  width: 100%;
  background: #FFF0E6;
  border: 1.5px dashed var(--swiggy-orange);
  color: var(--swiggy-orange);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  transition: all 0.2s;
}

.btn-demo-quick-login:hover {
  background: var(--swiggy-orange);
  color: #FFFFFF;
}

/* ==========================================================================
   PROMINENT LUNCH / DINNER SERVICE SEGMENTED TOGGLE
   ========================================================================== */
.meal-toggle-wrapper {
  display: flex;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 3px;
  gap: 4px;
  margin-top: 3px;
}

.meal-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.meal-tab-btn.active {
  background: #FFFFFF;
  border-color: #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Polished Vector Icon Badges */
.meal-tab-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.meal-tab-icon-badge.lunch {
  background: #FEF3C7;
  color: #D97706;
}

.meal-tab-btn.active .meal-tab-icon-badge.lunch {
  background: #F59E0B;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.meal-tab-icon-badge.dinner {
  background: #EEF2FF;
  color: #6366F1;
}

.meal-tab-btn.active .meal-tab-icon-badge.dinner {
  background: #4F46E5;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}

.meal-tab-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.meal-tab-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748B;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.meal-tab-btn.active .meal-tab-title {
  color: var(--color-dark);
}

.meal-tab-slot {
  font-size: 9.5px;
  font-weight: 700;
  color: #94A3B8;
  line-height: 1.2;
  margin-top: 1px;
}

.meal-tab-btn.active#customer-meal-lunch .meal-tab-slot {
  color: #D97706;
}

.meal-tab-btn.active#customer-meal-dinner .meal-tab-slot {
  color: #4F46E5;
}

/* Admin Timing Filter Pills */
.btn-filter-pill {
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1.5px solid var(--admin-border, #E8EBF0);
  background: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--admin-text-muted, #686B78);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-pill:hover {
  border-color: #CBD5E1;
  color: #1C1C1C;
}

.btn-filter-pill.active {
  background: #1C1C1C;
  color: #FFFFFF;
  border-color: #1C1C1C;
}

/* ==========================================================================
   SUBSCRIPTIONS UI SYSTEM (WEEKLY & MONTHLY OFFICE MEAL PLANS)
   ========================================================================== */
.sub-hero-banner {
  background: linear-gradient(135deg, #FFF6EE 0%, #FFF0E2 100%);
  border: 1.5px solid #FFE0C8;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 20px;
}

.sub-filter-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.sub-filter-pill {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sub-filter-pill:hover {
  border-color: var(--swiggy-orange);
  color: var(--color-dark);
}

.sub-filter-pill.active {
  background: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

body.theme-dark .sub-filter-pill {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #9DA1B2 !important;
}

body.theme-dark .sub-filter-pill.active {
  background: var(--swiggy-orange) !important;
  border-color: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

.custom-box-feature-banner {
  margin: 0 16px 12px;
  background: linear-gradient(135deg, #FFF5EE 0%, #FFFFFF 100%);
  border: 1.5px solid #FFD9C2;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

body.theme-dark .custom-box-feature-banner {
  background: linear-gradient(135deg, #261B2E 0%, #1D1D2C 100%) !important;
  border-color: #3F3050 !important;
}

body.theme-dark .custom-box-feature-banner .custom-box-title {
  color: #FFFFFF !important;
}

body.theme-dark .custom-box-feature-banner .custom-box-sub {
  color: #9DA1B2 !important;
}

.subscription-plan-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.2s ease;
}

.subscription-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--swiggy-orange);
}

.subscription-plan-card.featured {
  border: 2px solid var(--swiggy-orange);
  background: #FFFDFB;
}

.plan-badge-top {
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--swiggy-orange);
  color: #FFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 6px rgba(252, 128, 25, 0.3);
}

.plan-price-large {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark);
}

.plan-price-sub {
  font-size: 11.5px;
  color: var(--color-text-secondary);
}

.plan-feature-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 7px;
}

.plan-price-box {
  background: #F9FAFB;
}

.subscription-plan-card.featured .plan-price-box {
  background: #FFF5EE;
}

/* ==========================================================================
   MODAL & CARD COMPONENTS BASE (LIGHT MODE)
   ========================================================================== */
.hub-select-card {
  background: #FFFFFF;
}

.hub-select-card.active {
  background: #FFF8F4;
}

.hub-name {
  color: var(--color-dark);
}

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

.btn-switch-hub {
  background: #FFFFFF;
  color: var(--swiggy-orange);
}

.modal-note-box {
  background: #F8F9FA;
  color: var(--color-text-secondary);
}

.auth-tab-bar {
  background: #F3F4F6;
  border: 1.5px solid #E5E7EB;
}

.auth-tab-btn {
  background: transparent;
  color: #6B7280;
  border: 1.5px solid transparent;
}

.auth-tab-btn.active {
  background: #FFFFFF;
  color: var(--swiggy-orange);
  border-color: #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-diet-badge {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
}

.sub-status-badge.active {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
}

.sub-status-badge.paused {
  background: #F3F4F6;
  color: #6B7280;
}

.order-status-badge.delivered {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
}

.order-status-badge.in-progress {
  background: #FFF5EE;
  color: var(--swiggy-orange);
}

.order-status-badge.order-accepted-badge {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  border: 1px solid #A7F3D0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-sub-pause {
  background: #FFF;
  border: 1px solid #D1D5DB;
  color: #4B5563;
}

.btn-sub-resume {
  background: #EAF8F2;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.auth-profile-user-card {
  background: #F8F9FA;
}

.auth-profile-dest-card {
  background: #FFF8F4;
}

.sub-customer-card {
  background: #FFFFFF;
}

.sub-desk-box {
  background: #F9FAFB;
  color: var(--color-text-secondary);
}

.demo-accounts-box {
  background: #F8F9FA;
  color: var(--color-text-secondary);
}

.sub-option-label {
  background: #FFFFFF;
}

.sub-price-summary-box {
  background: #FFF8F4;
}

.story-card {
  background: #FFFFFF;
}

.tracker-info-box {
  background: #F8F9FA;
}

.sub-promise-box {
  background: #F8F9FA;
}

/* ==========================================================================
   NIGHT / DINNER DARK MODE SYSTEM
   Deep Charcoal & Warm Glow for Evening Service
   ========================================================================== */
/* ==========================================================================
   NIGHT / DINNER DARK MODE SYSTEM
   Deep Obsidian & Warm Amber/Green Accents for Evening Service
   ========================================================================== */
body.theme-dark {
  background-color: #0B0B0F !important;
  color: #F9FAFB !important;
  --bg-app: #13131A;
  --bg-card: #1C1C26;
  --bg-subtle: #252533;
  --bg-input: #292938;
  --color-dark: #FFFFFF;
  --color-text-primary: #F9FAFB;
  --color-text-secondary: #9DA1B2;
  --color-text-tertiary: #6B7082;
  --color-border: #2D2D3D;
  --color-border-light: #22222E;
}

body.theme-dark .app-viewport,
.app-viewport.theme-dark {
  background-color: #13131A !important;
  color: #F9FAFB !important;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.7) !important;
}

/* 1. Header & Location Bar */
body.theme-dark .app-header {
  background: #171720 !important;
  border-bottom-color: #2A2A3B !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .brand-text h1 {
  color: #FFFFFF !important;
}

body.theme-dark .fixed-service-bar {
  background: #1F1F2B !important;
  border-color: #2E2E3F !important;
}

body.theme-dark .fixed-location-text .fixed-hub-title span:first-child {
  color: #FFFFFF !important;
}

body.theme-dark .fixed-hub-address {
  color: #9DA1B2 !important;
}

body.theme-dark .fixed-time-chip {
  background: #28283A !important;
  border-color: #3B3B52 !important;
}

body.theme-dark .fixed-time-label {
  color: #9DA1B2 !important;
}

body.theme-dark .fixed-time-slot {
  color: #34D399 !important;
}

/* 2. Prominent Meal Switcher */
body.theme-dark .meal-toggle-wrapper {
  background: #1E1E2B !important;
  border-color: #2D2D3E !important;
}

body.theme-dark .meal-tab-btn {
  color: #9DA1B2 !important;
}

body.theme-dark .meal-tab-btn.active {
  background: #2A2A3C !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .meal-tab-title {
  color: #FFFFFF !important;
}

/* 3. Special Menu Banner, Nav Strip & Search */
body.theme-dark .special-hero-banner {
  background: linear-gradient(135deg, #271C35 0%, #1A1A28 100%) !important;
  border-color: #43325B !important;
}

body.theme-dark .special-hero-title {
  color: #E9D5FF !important;
}

body.theme-dark .special-hero-sub {
  color: #C4B5FD !important;
}

body.theme-dark .special-nav-strip {
  background: #171720 !important;
  border-bottom-color: #2A2A3B !important;
}

body.theme-dark .special-nav-item {
  color: #9DA1B2 !important;
  background: #222230 !important;
  border-color: #2F2F40 !important;
}

body.theme-dark .special-nav-item:hover {
  background: #2C2C3D !important;
  color: #FFFFFF !important;
}

body.theme-dark .special-nav-item.active {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
  border-color: var(--swiggy-orange) !important;
  box-shadow: 0 2px 8px rgba(45, 90, 61, 0.4) !important;
}

body.theme-dark .swiggy-search-wrapper {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .swiggy-search-input {
  background: transparent !important;
  color: #FFFFFF !important;
}

body.theme-dark .swiggy-search-input::placeholder {
  color: #6B7082 !important;
}

/* 4. Dish Cards in Menu (Today's Special Grid) */
body.theme-dark .today-dish-card,
body.theme-dark .todays-special-grid .today-dish-card,
body.theme-dark .dish-menu-card,
body.theme-dark .special-item-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .dish-heading,
body.theme-dark .today-dish-card .dish-heading {
  color: #FFFFFF !important;
}

body.theme-dark .dish-desc-text,
body.theme-dark .dish-portion-text,
body.theme-dark .dish-timings-row {
  color: #9DA1B2 !important;
}

body.theme-dark .dish-thumb-col,
body.theme-dark .dish-thumb-box {
  background: #252535 !important;
}

body.theme-dark .dish-curr-price {
  color: #FFA24C !important;
}

body.theme-dark .dish-orig-price {
  color: #717188 !important;
}

body.theme-dark .dish-price-drop-badge,
body.theme-dark .daily-box-drop-badge {
  background: linear-gradient(135deg, #DC2626 0%, #C2410C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 1px 6px rgba(220, 38, 38, 0.45) !important;
}

body.theme-dark .dish-img-drop-tag {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

body.theme-dark .btn-dish-add {
  background: #232332 !important;
  border-color: var(--swiggy-orange) !important;
  color: #52C41A !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .btn-dish-add:hover {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark .dish-qty-stepper {
  background: var(--swiggy-orange) !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .btn-add-cart-reference {
  background: #251D18 !important;
  border-color: var(--swiggy-orange) !important;
  color: #FFA24C !important;
}

body.theme-dark .btn-add-cart-reference:hover {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark .stepper-pill-reference {
  background: #252535 !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .stepper-pill-reference span {
  color: #FFFFFF !important;
}

/* 5. Daily Box Builder Screen */
body.theme-dark .builder-stepper {
  background: #171720 !important;
  border-bottom-color: #2A2A3B !important;
}

body.theme-dark .builder-step-tab {
  background: transparent !important;
}

body.theme-dark .builder-step-tab.active {
  background: #2A201A !important;
}

body.theme-dark .builder-step-tab .step-number {
  background: #252535 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .builder-step-tab.active .step-number {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark .builder-step-tab .step-text {
  color: #9DA1B2 !important;
}

body.theme-dark .builder-step-tab.active .step-text {
  color: var(--swiggy-orange) !important;
}

body.theme-dark .builder-section {
  border-bottom-color: #13131A !important;
}

body.theme-dark .section-head-title h3 {
  color: #FFFFFF !important;
}

body.theme-dark .section-subtitle {
  color: #9DA1B2 !important;
}

body.theme-dark .option-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .option-card:hover {
  border-color: #3F3F54 !important;
}

body.theme-dark .option-card.selected {
  background: #17241F !important;
  border-color: var(--swiggy-green) !important;
}

body.theme-dark .option-title {
  color: #FFFFFF !important;
}

body.theme-dark .option-desc {
  color: #9DA1B2 !important;
}

body.theme-dark .option-calorie-tag {
  color: #8C90A2 !important;
}

body.theme-dark .radio-indicator,
body.theme-dark .checkbox-indicator {
  border-color: #4B4F60 !important;
}

body.theme-dark .sticky-bottom-action {
  background: #171720 !important;
  border-top-color: #2A2A3B !important;
}

body.theme-dark .action-sub-notes {
  color: #9DA1B2 !important;
}

/* 6. Cart & Checkout Screen */
body.theme-dark .cart-fixed-hub-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .cart-hub-title {
  color: #FFFFFF !important;
}

body.theme-dark .cart-hub-address {
  color: #9DA1B2 !important;
}

body.theme-dark .cart-hub-slot {
  color: #FFFFFF !important;
}

body.theme-dark .cart-hub-select-container {
  background: transparent !important;
}

body.theme-dark #cart-hub-select {
  background: #1E1E2B !important;
  border-color: #3B3B50 !important;
  color: #FFFFFF !important;
}

body.theme-dark .cart-items-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .cart-item-row {
  border-bottom-color: #2D2D3D !important;
}

body.theme-dark .cart-item-title {
  color: #FFFFFF !important;
}

body.theme-dark .cart-item-sub {
  color: #9DA1B2 !important;
}

body.theme-dark .cart-item-price {
  color: #FFA24C !important;
}

body.theme-dark .bill-details-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .bill-details-title {
  color: #FFFFFF !important;
}

body.theme-dark .bill-row {
  color: #9DA1B2 !important;
}

body.theme-dark .bill-row.grand-total {
  color: #FFFFFF !important;
}

body.theme-dark .bill-divider {
  background: #2D2D3D !important;
}

body.theme-dark .bill-row.savings {
  color: #34D399 !important;
}

/* 7. Subscriptions Screen */
body.theme-dark .sub-hero-banner {
  background: linear-gradient(135deg, #2E1F18 0%, #1E1B26 100%) !important;
  border-color: #4D3325 !important;
}

body.theme-dark .sub-hero-banner h2 {
  color: #FFFFFF !important;
}

body.theme-dark .sub-hero-banner p {
  color: #9DA1B2 !important;
}

body.theme-dark .sub-filter-pill {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #9DA1B2 !important;
}

body.theme-dark .sub-filter-pill.active {
  background: var(--swiggy-orange) !important;
  border-color: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark .subscription-plan-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .subscription-plan-card.featured {
  background: #211E2A !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .subscription-plan-card h3 {
  color: #FFFFFF !important;
}

body.theme-dark .plan-price-large {
  color: #FFA24C !important;
}

body.theme-dark .plan-price-box {
  background: #242436 !important;
  border: 1px solid #383852 !important;
}

body.theme-dark .subscription-plan-card.featured .plan-price-box {
  background: #2A212E !important;
  border-color: #553B4A !important;
}

body.theme-dark .plan-price-sub,
body.theme-dark .plan-feature-row {
  color: #9DA1B2 !important;
}

body.theme-dark .sub-discount-badge {
  background: linear-gradient(135deg, #DC2626 0%, #C2410C 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.45) !important;
}

body.theme-dark .plan-orig-price {
  color: #717188 !important;
}

/* 8. Modals (Hub Location Modal, Account Profile Modal, Subscribe Modal) */
body.theme-dark .modal-sheet {
  background: #181822 !important;
  border-top-color: #2E2E3F !important;
  color: #F9FAFB !important;
}

body.theme-dark .modal-sheet h3 {
  color: #FFFFFF !important;
}

body.theme-dark .hub-select-card {
  background: #222230 !important;
  border-color: #333345 !important;
  color: #F9FAFB !important;
}

body.theme-dark .hub-select-card.active {
  background: #2A201A !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .hub-select-card .hub-name {
  color: #FFFFFF !important;
}

body.theme-dark .hub-select-card .hub-address {
  color: #9DA1B2 !important;
}

body.theme-dark .btn-switch-hub {
  background: #2A201A !important;
  color: #FFA24C !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .modal-note-box {
  background: #20202C !important;
  border-color: #333345 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .modal-sheet input,
body.theme-dark .modal-sheet select,
body.theme-dark select.form-select-dark {
  background: #262635 !important;
  border-color: #39394D !important;
  color: #F9FAFB !important;
}

body.theme-dark .modal-sheet input::placeholder {
  color: #6E7285 !important;
}

body.theme-dark .auth-tab-bar {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .auth-tab-btn {
  color: #9DA1B2 !important;
}

body.theme-dark .auth-tab-btn.active {
  background: #2D2D3E !important;
  color: var(--swiggy-orange) !important;
  border-color: #404058 !important;
}

body.theme-dark .auth-profile-dest-card {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .auth-profile-dest-card .dest-hub-name,
body.theme-dark #office-address-read-view {
  color: #FFFFFF !important;
}

body.theme-dark .sub-logged-in-badge {
  background: #222230 !important;
  border-color: #3D3340 !important;
  color: #F9FAFB !important;
}

body.theme-dark .demo-accounts-box {
  background: #20202C !important;
  border-color: #333345 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .btn-demo-quick-login {
  background: #2A201A !important;
  border-color: #553522 !important;
  color: #FFA24C !important;
}

body.theme-dark .past-order-card {
  background: #222230 !important;
  border-color: #333345 !important;
  color: #F9FAFB !important;
}

body.theme-dark .past-order-card h4,
body.theme-dark .past-order-card span[style*="font-weight: 800"],
body.theme-dark .past-order-card strong {
  color: #FFFFFF !important;
}

body.theme-dark .past-order-card ul,
body.theme-dark .past-order-card li {
  color: #E2E8F0 !important;
}

body.theme-dark .btn-reorder {
  background: #2A201A !important;
  border-color: #553522 !important;
  color: #FFA24C !important;
}

/* Subscription Modal inside Dark Mode */
body.theme-dark .sub-option-label {
  background: #222230 !important;
  border-color: #333345 !important;
  color: #F9FAFB !important;
}

body.theme-dark .sub-option-label * {
  color: #F9FAFB !important;
}

body.theme-dark .sub-price-summary-box {
  background: #271E1B !important;
  border-color: #4E3326 !important;
}

body.theme-dark .sub-price-summary-box #sub-total-price-display {
  color: #FFA24C !important;
}

/* 9. Bottom Navigation Bar */
body.theme-dark .bottom-nav {
  background: #171720 !important;
  border-top-color: #2A2A3B !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5) !important;
}

body.theme-dark .nav-item {
  color: #8C90A2 !important;
}

body.theme-dark .nav-item.active {
  color: var(--swiggy-orange) !important;
}

/* 10. Order Accepted Confirmation Screen (Dark Mode) */
body.theme-dark .order-accepted-card {
  background: linear-gradient(135deg, #181920 0%, #20222C 100%) !important;
  border: 1px solid #2F3140 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .order-accepted-title {
  color: #FFFFFF !important;
}

body.theme-dark .order-accepted-subtitle {
  color: #CBD5E1 !important;
}

body.theme-dark .order-accepted-details-card,
body.theme-dark .order-accepted-items-card {
  background: #181920 !important;
  border-color: #2D3040 !important;
  box-shadow: none !important;
}

body.theme-dark .accepted-detail-label,
body.theme-dark .accepted-items-header-title {
  color: #94A3B8 !important;
}

body.theme-dark .accepted-detail-val,
body.theme-dark .accepted-item-row,
body.theme-dark .accepted-total-row {
  color: #F1F5F9 !important;
}

body.theme-dark .accepted-detail-sub {
  color: #34D399 !important;
}

body.theme-dark .accepted-detail-divider,
body.theme-dark .accepted-items-header {
  border-color: #2A2D3C !important;
}

body.theme-dark .accepted-detail-divider {
  background: #2A2D3C !important;
}

body.theme-dark .accepted-total-row {
  border-top-color: #333648 !important;
}

body.theme-dark .accepted-paid-badge {
  background: #14281E !important;
  color: #34D399 !important;
  border-color: #1D4332 !important;
}

body.theme-dark .order-guarantee-box {
  background: #0F2318 !important;
  border-color: #1B452D !important;
}

body.theme-dark .guarantee-title {
  color: #4ADE80 !important;
}

body.theme-dark .guarantee-desc {
  color: #A7F3D0 !important;
}

/* 10b. Legacy Tracker references */
body.theme-dark .swiggy-rider-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .rider-name {
  color: #FFFFFF !important;
}

body.theme-dark .tracker-steps-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .timeline-title {
  color: #FFFFFF !important;
}

body.theme-dark .timeline-desc {
  color: #9DA1B2 !important;
}

body.theme-dark .auth-profile-user-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .auth-profile-user-card h4 {
  color: #FFFFFF !important;
}

body.theme-dark .sub-customer-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .sub-customer-card h4,
body.theme-dark .sub-customer-card span[style*="font-weight: 800"] {
  color: #FFFFFF !important;
}

body.theme-dark .sub-desk-box {
  background: #252535 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .story-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .story-card h4 {
  color: #FFFFFF !important;
}

body.theme-dark .story-card p {
  color: #9DA1B2 !important;
}

body.theme-dark .tracker-info-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .tracker-info-box strong,
body.theme-dark #tracker-address-display {
  color: #FFFFFF !important;
}

body.theme-dark .sub-promise-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #F9FAFB !important;
}

body.theme-dark .sub-promise-box div {
  color: #E2E8F0 !important;
}

body.theme-dark .user-diet-badge,
body.theme-dark .sub-status-badge.active,
body.theme-dark .order-status-badge.delivered,
body.theme-dark .order-status-badge.order-accepted-badge {
  background: #14281E !important;
  color: #34D399 !important;
  border: 1px solid #1D4332 !important;
}

body.theme-dark .sub-status-badge.paused {
  background: #252535 !important;
  color: #9DA1B2 !important;
  border: 1px solid #38384D !important;
}

body.theme-dark .order-status-badge.in-progress {
  background: #2A1D16 !important;
  color: #FFA24C !important;
  border: 1px solid #4D2E1F !important;
}

body.theme-dark .btn-sub-pause {
  background: #252535 !important;
  border: 1px solid #38384D !important;
  color: #E2E8F0 !important;
}

body.theme-dark .btn-sub-resume {
  background: #14281E !important;
  border: 1px solid #1D4332 !important;
  color: #34D399 !important;
}

/* ==========================================================================
   CUSTOMER SUBSCRIPTION PAUSE / RESUME UI CONTROLS
   ========================================================================== */

/* 1. Menu Screen Subscriber Ribbon */
.menu-subscriber-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #FFF8F2;
  border: 1.5px solid #FFD8BE;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  margin: 0 16px 14px 16px;
  box-shadow: 0 2px 8px rgba(252, 128, 25, 0.06);
  transition: all 0.2s ease;
}

.menu-subscriber-ribbon.paused {
  background: #FEF9EE;
  border-color: #FDE68A;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.06);
}

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

.ribbon-indicator-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.ribbon-paused-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.ribbon-text-group {
  min-width: 0;
  flex: 1;
}

.ribbon-title {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.3;
}

.ribbon-title span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 155px;
}

.ribbon-badge-tag {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 9999px;
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  white-space: nowrap;
}

.ribbon-badge-tag.paused {
  background: #FEF3C7;
  color: #B45309;
}

.ribbon-sub {
  font-size: 10.5px;
  color: var(--color-text-secondary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.btn-ribbon-pause,
.btn-ribbon-resume {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.btn-ribbon-pause {
  background: #FFFFFF;
  border: 1.5px solid #F59E0B;
  color: #B45309;
}

.btn-ribbon-pause:hover {
  background: #FEF3C7;
  border-color: #D97706;
}

.btn-ribbon-resume {
  background: #10B981;
  border: 1.5px solid #059669;
  color: #FFFFFF;
}

.btn-ribbon-resume:hover {
  background: #059669;
}

/* 2. Dedicated Subscription Tab Active Pass Card */
.customer-active-pass-card {
  background: #FFFFFF;
  border: 2px solid #FFD4BC;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(252, 128, 25, 0.08);
  position: relative;
  transition: all 0.2s ease;
}

.customer-active-pass-card.is-paused {
  border-color: #FDE68A;
  background: #FFFDF7;
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.07);
}

.pass-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.pass-card-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--swiggy-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.customer-active-pass-card.is-paused .pass-card-kicker {
  color: #D97706;
}

.pass-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 3px 0;
}

.pass-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--color-text-secondary);
}

.pass-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pass-status-pill.active {
  background: #EAF8F2;
  color: var(--swiggy-green-dark);
  border: 1px solid #A7F3D0;
}

.pass-status-pill.paused {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.pass-card-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.pass-stat-box {
  background: #F9FAFB;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  padding: 8px 10px;
}

.pass-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.pass-stat-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark);
}

.pass-stat-val.text-small {
  font-size: 11.5px;
}

.pass-stat-val.text-green {
  color: var(--swiggy-green-dark);
}

.pass-stat-val.text-amber {
  color: #D97706;
}

.pass-stat-unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-tertiary);
}

.pass-action-row {
  margin-bottom: 10px;
}

.btn-customer-pause,
.btn-customer-resume {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-customer-pause {
  background: #FFF7EE;
  border: 1.5px solid #F59E0B;
  color: #B45309;
}

.btn-customer-pause:hover {
  background: #FEF3C7;
  border-color: #D97706;
  color: #92400E;
}

.btn-customer-resume {
  background: #10B981;
  border: 1.5px solid #059669;
  color: #FFFFFF;
}

.btn-customer-resume:hover {
  background: #059669;
}

.pass-card-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-text-secondary);
  background: #F9FAFB;
  border-radius: 7px;
  padding: 8px 10px;
}

/* 3. Small Modal Action Buttons (Inside Customer Profile Modal) */
.btn-customer-pause-sm,
.btn-customer-resume-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-customer-pause-sm {
  background: #FFF7EE;
  border: 1.5px solid #F59E0B;
  color: #B45309;
}

.btn-customer-pause-sm:hover {
  background: #FEF3C7;
}

.btn-customer-resume-sm {
  background: #EAF8F2;
  border: 1.5px solid #10B981;
  color: #065F46;
}

.btn-customer-resume-sm:hover {
  background: #10B981;
  color: #FFFFFF;
}

/* 4. Dark Theme Overrides for Customer Pause Controls */
body.theme-dark .menu-subscriber-ribbon {
  background: #1E1C27 !important;
  border-color: #383448 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

body.theme-dark .menu-subscriber-ribbon.paused {
  background: #251D1A !important;
  border-color: #4D3325 !important;
}

body.theme-dark .ribbon-title {
  color: #FFFFFF !important;
}

body.theme-dark .ribbon-sub {
  color: #9DA1B2 !important;
}

body.theme-dark .btn-ribbon-pause {
  background: #2A201A !important;
  border-color: #F59E0B !important;
  color: #FFA24C !important;
}

body.theme-dark .btn-ribbon-pause:hover {
  background: #3B2A1E !important;
}

body.theme-dark .btn-ribbon-resume {
  background: #14281E !important;
  border-color: #10B981 !important;
  color: #34D399 !important;
}

body.theme-dark .customer-active-pass-card {
  background: #1C1C26 !important;
  border-color: #383448 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

body.theme-dark .customer-active-pass-card.is-paused {
  background: #201D28 !important;
  border-color: #4D3528 !important;
}

body.theme-dark .pass-card-title {
  color: #FFFFFF !important;
}

body.theme-dark .pass-card-meta {
  color: #9DA1B2 !important;
}

body.theme-dark .pass-stat-box {
  background: #252535 !important;
  border-color: #333348 !important;
}

body.theme-dark .pass-stat-label {
  color: #8C90A2 !important;
}

body.theme-dark .pass-stat-val {
  color: #FFFFFF !important;
}

body.theme-dark .pass-stat-unit {
  color: #8C90A2 !important;
}

body.theme-dark .btn-customer-pause {
  background: #2D201A !important;
  border-color: #F59E0B !important;
  color: #FFA24C !important;
}

body.theme-dark .btn-customer-pause:hover {
  background: #3F2B1E !important;
}

body.theme-dark .btn-customer-resume {
  background: #14281E !important;
  border-color: #10B981 !important;
  color: #34D399 !important;
}

body.theme-dark .btn-customer-resume:hover {
  background: #1D3B2D !important;
}

body.theme-dark .pass-card-guarantee {
  background: #252535 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .btn-customer-pause-sm {
  background: #2D201A !important;
  border-color: #F59E0B !important;
  color: #FFA24C !important;
}

body.theme-dark .btn-customer-resume-sm {
  background: #14281E !important;
  border-color: #10B981 !important;
  color: #34D399 !important;
}

/* ==========================================================================
   APP FOOTER & POLICY LINKS
   ========================================================================== */
.app-footer {
  margin-top: 36px;
  margin-bottom: 24px;
  padding: 36px 28px 22px;
  background: #0F172A; /* Rich distinct dark slate / navy background */
  border: 1px solid #1E293B;
  border-radius: 18px;
  color: #94A3B8;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.05fr 1.15fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
}

@media (max-width: 839px) {
  .app-footer {
    padding: 24px 18px 18px;
    margin-top: 24px;
  }
  .footer-main-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-logo-icon {
  font-size: 22px;
}

.footer-logo-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--swiggy-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(252, 128, 25, 0.18);
  padding: 2px 7px;
  border-radius: 4px;
}

.footer-tagline {
  font-size: 12px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 12px;
}

.footer-hub-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1E293B;
  color: #CBD5E1;
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: fit-content;
}

.footer-hub-pill:hover {
  background: #283347;
  color: #FFFFFF;
  border-color: var(--swiggy-orange);
}

.footer-group-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F1F5F9;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list li a {
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
}

.footer-links-list li a:hover {
  color: var(--swiggy-orange);
  transform: translateX(2px);
}

.footer-app-desc {
  font-size: 11.5px;
  color: #94A3B8;
  margin-bottom: 10px;
  line-height: 1.5;
}

.btn-footer-download-app {
  background: linear-gradient(135deg, var(--swiggy-orange), #EA580C);
  color: #FFFFFF;
  font-weight: 800;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(252, 128, 25, 0.3);
  transition: all 0.2s ease;
  width: fit-content;
}

.btn-footer-download-app:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(252, 128, 25, 0.4);
}

.footer-delivery-hours {
  margin-top: 12px;
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.6;
}

.footer-delivery-hours strong {
  color: #CBD5E1;
}

.footer-bottom-bar {
  border-top: 1px solid #1E293B;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: #64748B;
}

@media (max-width: 640px) {
  /* 1. Header & Navigation Decluttering */
  .desktop-only-auth,
  #customer-header-auth .desktop-only-auth,
  .customer-signup-btn.desktop-only-auth {
    display: none !important;
  }

  .header-top-row {
    padding: 8px 12px;
    gap: 8px;
  }

  .brand-wrapper {
    gap: 8px;
    min-width: 0;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .brand-text h1 {
    font-size: 16px;
    letter-spacing: -0.01em;
  }

  .brand-text p {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  #customer-header-auth .customer-login-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 9999px;
  }

  /* 2. Location & Service Delivery Bar */
  .fixed-service-bar {
    padding: 8px 10px;
    gap: 6px;
  }

  .fixed-hub-title {
    font-size: 12px;
  }

  .fixed-hub-address {
    font-size: 10.5px;
  }

  .fixed-time-chip {
    padding: 2.5px 6px;
  }

  .fixed-time-label {
    font-size: 8px;
  }

  .fixed-time-slot {
    font-size: 10.5px;
  }

  /* 3. Special Nav Pill Chips Horizontal Scroll */
  .special-nav-strip {
    padding: 8px 12px;
    gap: 8px;
    scroll-padding: 12px;
  }

  .special-nav-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  /* 4. Dish Cards 2-Column Responsive Layout */
  .todays-special-grid {
    padding: 12px 12px 24px 12px;
    gap: 12px;
  }

  .today-dish-card {
    padding: 12px 12px 18px 12px;
    gap: 10px;
  }

  .dish-heading {
    font-size: 14.5px;
  }

  .dish-visual-col {
    width: 104px;
  }

  .dish-thumb-box {
    width: 104px;
    height: 90px;
    border-radius: 10px;
  }

  .dish-action-container {
    bottom: -10px;
    width: 86px;
    height: 30px;
  }

  .btn-dish-add {
    height: 30px;
    font-size: 12px;
    border-radius: 7px;
  }

  .dish-qty-stepper {
    height: 30px;
    border-radius: 7px;
  }

  .stepper-btn {
    width: 24px;
    font-size: 15px;
  }

  .stepper-qty-val {
    font-size: 12px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer-bottom-links span {
  cursor: pointer;
  color: #94A3B8;
  transition: color 0.15s ease;
}

.footer-bottom-links span:hover {
  color: var(--swiggy-orange);
}

/* Policy Tabs in Modal */
.policy-tab-bar::-webkit-scrollbar {
  height: 4px;
}

.policy-tab-bar::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.policy-tab-btn {
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--color-border);
  background: #FFFFFF;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.policy-tab-btn.active {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border-color: var(--swiggy-orange);
  box-shadow: 0 2px 6px rgba(252, 128, 25, 0.25);
}

/* Policy Content Styling */
.policy-content-section {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-dark);
}

.policy-content-section h4 {
  font-size: 13.5px;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 6px;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.policy-content-section h4:first-child {
  margin-top: 0;
}

.policy-content-section p {
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

.policy-content-section ul {
  padding-left: 18px;
  margin-bottom: 12px;
  color: var(--color-text-secondary);
}

.policy-content-section li {
  margin-bottom: 5px;
}

.policy-highlight-box {
  background: #FFF5EE;
  border: 1px solid #FFD4BC;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--color-dark);
}

.btn-policy-link {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-policy-link:hover {
  border-color: var(--swiggy-orange);
  color: var(--swiggy-orange);
}

/* Dark Mode Overrides for Footer & Policies */
body.theme-dark .app-footer {
  background: #06080C !important;
  border-color: #171C26 !important;
  color: #848D9E !important;
}

body.theme-dark .footer-logo-title {
  color: #FFFFFF !important;
}

body.theme-dark .footer-hub-pill {
  background: #10141D !important;
  border-color: #1A2230 !important;
  color: #A3ADC0 !important;
}

body.theme-dark .footer-group-title {
  color: #E2E8F0 !important;
}

body.theme-dark .footer-links-list li a {
  color: #848D9E !important;
}

body.theme-dark .footer-links-list li a:hover {
  color: var(--swiggy-orange) !important;
}

body.theme-dark .footer-bottom-bar {
  border-color: #171C26 !important;
  color: #555C6E !important;
}

body.theme-dark .policy-tab-btn {
  background: #222230 !important;
  border-color: #39394D !important;
  color: #9DA1B2 !important;
}

body.theme-dark .policy-tab-btn.active {
  background: var(--swiggy-orange) !important;
  border-color: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark .policy-content-section {
  color: #FFFFFF !important;
}

body.theme-dark .policy-content-section h4 {
  color: #FFFFFF !important;
}

body.theme-dark .policy-content-section p,
body.theme-dark .policy-content-section ul,
body.theme-dark .policy-content-section li {
  color: #9DA1B2 !important;
}

body.theme-dark .policy-highlight-box {
  background: #251D18 !important;
  border-color: #553522 !important;
  color: #FFA24C !important;
}

body.theme-dark .btn-policy-link {
  background: #222230 !important;
  border-color: #333345 !important;
  color: #F9FAFB !important;
}

body.theme-dark .btn-policy-link:hover {
  border-color: var(--swiggy-orange) !important;
  color: var(--swiggy-orange) !important;
}

/* Instant Render Mode for Headless Screenshots & High Performance */
body.no-anim *,
body.no-anim *::before,
body.no-anim *::after {
  transition: none !important;
  animation: none !important;
}

/* ==========================================================================
   LIVE GPS TRACKING MAP (LEAFLET)
   ========================================================================== */
.tracker-map-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.tracker-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--swiggy-green);
  display: inline-block;
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(27, 166, 114, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(27, 166, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 166, 114, 0); }
}

.tracker-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border-light);
}

.map-marker-pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid #FFFFFF;
}

.map-marker-pin.hub {
  background: #FFFFFF;
  border-color: var(--swiggy-orange);
}

.map-marker-pin.dest {
  background: #FFFFFF;
  border-color: var(--swiggy-green);
}

.map-marker-pin.rider {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border-color: #FFFFFF;
  animation: pulse-orange 1.8s infinite;
}

@keyframes pulse-orange {
  0% { box-shadow: 0 0 0 0 rgba(252, 128, 25, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(252, 128, 25, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 128, 25, 0); }
}

body.theme-dark .tracker-map-card {
  background: #1C1C28 !important;
  border-color: #2D2D3E !important;
}

body.theme-dark .tracker-map-footer {
  border-top-color: #2D2D3E !important;
}

body.theme-dark .tracker-map-header span,
body.theme-dark .tracker-map-footer span {
  color: #FFFFFF !important;
}

body.theme-dark #live-tracking-map .leaflet-tile {
  filter: brightness(0.65) invert(1) contrast(2.5) hue-rotate(200deg) saturate(0.25) brightness(0.85);
}

/* ==========================================================================
   PAYMENT GATEWAY MODAL (RAZORPAY / UPI STYLE)
   ========================================================================== */
.payment-amount-box {
  background: #FAF8F5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.payment-method-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.pay-method-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-method-tab .pay-icon {
  font-size: 16px;
}

.pay-method-tab:hover {
  border-color: var(--swiggy-orange);
  color: var(--swiggy-orange);
}

.pay-method-tab.active {
  background: #FFF4EC;
  border-color: var(--swiggy-orange);
  color: var(--swiggy-orange);
}

.pay-sec-panel {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}

.upi-app-grid,
.bank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.upi-app-choice,
.bank-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
  transition: all 0.15s ease;
}

.upi-app-choice.active,
.bank-choice.active {
  border-color: var(--swiggy-orange);
  background: #FFF4EC;
  color: var(--swiggy-orange);
}

.upi-logo {
  width: 32px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
}

.upi-logo.gpay { background: #4285F4; }
.upi-logo.phonepe { background: #5F259F; }
.upi-logo.paytm { background: #00BAF2; font-size: 9px; }
.upi-logo.bhim { background: #00796B; }

.bank-badge {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 4px;
  background: #EEEFF2;
  color: #1C1C1C;
  letter-spacing: 0.05em;
}

.cod-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #FAF8F5;
  border-radius: 8px;
}

.pay-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #F1EAE4;
  border-top-color: var(--swiggy-orange);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}

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

body.theme-dark .payment-amount-box {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .payment-amount-box div {
  color: #FFFFFF !important;
}

body.theme-dark .pay-method-tab {
  background: #1C1C28 !important;
  border-color: #333345 !important;
  color: #9DA1B2 !important;
}

body.theme-dark .pay-method-tab.active {
  background: rgba(252, 128, 25, 0.15) !important;
  border-color: var(--swiggy-orange) !important;
  color: var(--swiggy-orange) !important;
}

body.theme-dark .pay-sec-panel {
  background: #1C1C28 !important;
  border-color: #333345 !important;
}

body.theme-dark .upi-app-choice,
body.theme-dark .bank-choice {
  border-color: #333345 !important;
  color: #FFFFFF !important;
  background: #222230 !important;
}

body.theme-dark .upi-app-choice.active,
body.theme-dark .bank-choice.active {
  border-color: var(--swiggy-orange) !important;
  background: rgba(252, 128, 25, 0.2) !important;
  color: var(--swiggy-orange) !important;
}

body.theme-dark .cod-info-box {
  background: #222230 !important;
}

body.theme-dark .cod-info-box div {
  color: #FFFFFF !important;
}

/* ==========================================================================
   PHONE SMS OTP INPUTS & AUTO-FILL CHIP
   ========================================================================== */
.otp-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.otp-digit-input {
  width: 52px;
  height: 56px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark);
  background: #FFFFFF;
  outline: none;
  transition: all 0.2s ease;
}

.otp-digit-input:focus {
  border-color: var(--swiggy-orange);
  box-shadow: 0 0 0 3px rgba(252, 128, 25, 0.15);
}

.otp-sms-banner {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 11.5px;
  color: #2E7D32;
}

.otp-sms-action {
  font-weight: 800;
  color: #1B5E20;
  text-decoration: underline;
  cursor: pointer;
}

body.theme-dark .otp-digit-input {
  background: #222230 !important;
  border-color: #333345 !important;
  color: #FFFFFF !important;
}

body.theme-dark .otp-sms-banner {
  background: #1B3322 !important;
  border-color: #2B5E36 !important;
  color: #81C784 !important;
}

/* ==========================================================================
   OMNICHANNEL WHATSAPP / SMS FLOATING NOTIFICATION
   ========================================================================== */
.whatsapp-notification {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  border: 1.5px solid #25D366;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 300;
  animation: slideDownToast 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownToast {
  from { opacity: 0; transform: translate(-50%, -30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.wa-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.wa-content-col {
  flex: 1;
}

.wa-top-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.wa-title {
  font-size: 11px;
  font-weight: 800;
  color: #128C7E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.wa-time {
  font-size: 10px;
  color: var(--color-text-tertiary);
}

.wa-message-text {
  font-size: 12px;
  color: var(--color-dark);
  line-height: 1.4;
  font-weight: 500;
}

.wa-close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-text-tertiary);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

body.theme-dark .whatsapp-notification {
  background: #1C1C28 !important;
  border-color: #25D366 !important;
}

body.theme-dark .wa-message-text {
  color: #FFFFFF !important;
}

/* ==========================================================================
   NIGHT / DARK MODE NAME & LABEL VISIBILITY ENHANCEMENTS
   Guaranteeing 100% legibility and high contrast across all screens & modals
   ========================================================================== */

/* 1. Top Header Customer Name & Hub Bar */
body.theme-dark .customer-user-btn {
  background: #252535 !important;
  border-color: #3B3B52 !important;
}

body.theme-dark .customer-user-name {
  color: #FFFFFF !important;
}

body.theme-dark .customer-login-btn {
  background: #2A201A !important;
  border-color: #553522 !important;
  color: #FFA24C !important;
}

body.theme-dark .fixed-badge-tag {
  background: #14281E !important;
  color: #34D399 !important;
  border: 1px solid #1D4332 !important;
}

/* 2. Menu Screen Custom Daily Box & Subscriber Ribbon */
body.theme-dark .custom-box-feature-banner {
  background: linear-gradient(135deg, #261B2E 0%, #1D1D2C 100%) !important;
  border-color: #3F3050 !important;
}

body.theme-dark .custom-box-feature-banner .custom-box-title,
body.theme-dark .custom-box-title {
  color: #FFFFFF !important;
}

body.theme-dark .custom-box-feature-banner .custom-box-sub,
body.theme-dark .custom-box-sub {
  color: #9DA1B2 !important;
}

body.theme-dark .custom-box-feature-banner > div:last-child {
  background: #2F243A !important;
  color: #FFA24C !important;
}

body.theme-dark .menu-empty-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .menu-empty-box .empty-title {
  color: #FFFFFF !important;
}

.ribbon-title span:first-child {
  max-width: 260px !important;
}

body.theme-dark .ribbon-badge-tag {
  background: #14281E !important;
  color: #34D399 !important;
  border: 1px solid #1D4332 !important;
}

body.theme-dark .ribbon-badge-tag.paused {
  background: #2D201A !important;
  color: #FFA24C !important;
  border: 1px solid #4D2E1F !important;
}

/* 3. Daily Box Builder Badges & Platter */
body.theme-dark .platter-badge {
  background: rgba(22, 22, 34, 0.92) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.theme-dark #screen-daily-box h2 {
  color: #FFFFFF !important;
}

/* 4. Cart Screen & Serving Hub Selector */
body.theme-dark .cart-hub-styled-select,
body.theme-dark .profile-styled-hub-select {
  background: #222230 !important;
  border-color: #38384D !important;
  color: #FFFFFF !important;
}


body.theme-dark .cart-hub-select-container label {
  color: #FFA24C !important;
}

body.theme-dark #cart-hub-name {
  color: #FFFFFF !important;
}

body.theme-dark #cart-hub-address {
  color: #9DA1B2 !important;
}

body.theme-dark #cart-office-address-display {
  color: #FFFFFF !important;
}

body.theme-dark .btn-cart-change-desk {
  background: #1C271F !important;
  border: 1.5px solid var(--color-primary-light, #4E8B62) !important;
  color: #A7F3D0 !important;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.theme-dark .btn-cart-change-desk:hover {
  background: var(--color-primary, #2D5A3D) !important;
  color: #FFFFFF !important;
}

body.theme-dark .cart-empty-box {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .cart-empty-box .empty-title {
  color: #FFFFFF !important;
}

body.theme-dark #bill-item-total {
  color: #FFFFFF !important;
}

/* 5. Serving Hub Switcher Modal (#location-modal) */
body.theme-dark .hub-select-card {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .hub-select-card.active {
  background: #2A201A !important;
  border-color: var(--swiggy-orange) !important;
}

body.theme-dark .hub-select-card .hub-name,
body.theme-dark .hub-name {
  color: #FFFFFF !important;
}

body.theme-dark .hub-select-card .hub-address,
body.theme-dark .hub-address {
  color: #9DA1B2 !important;
}

body.theme-dark .hub-icon-box {
  background: #2A2A3C !important;
  color: #9DA1B2 !important;
}

body.theme-dark .hub-icon-box.active {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

/* 6. Customer Account & Authentication Modal */
body.theme-dark .auth-profile-user-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .auth-profile-user-card h4 {
  color: #FFFFFF !important;
}

body.theme-dark .auth-profile-dest-card {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark #office-address-read-view {
  color: #FFFFFF !important;
}

body.theme-dark .phone-prefix-chip {
  background: #252535 !important;
  border: 1.5px solid #38384D !important;
  color: #FFFFFF !important;
}

body.theme-dark .past-order-card {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .past-order-card ul,
body.theme-dark .past-order-card li {
  color: #E2E8F0 !important;
}

body.theme-dark .past-order-card strong {
  color: #FFFFFF !important;
}

/* 7. Subscriptions Screen & Modal */
body.theme-dark .sub-logged-in-badge {
  background: #222230 !important;
  border-color: #3D3340 !important;
  color: #E2E8F0 !important;
}

body.theme-dark #sub-user-name-label {
  color: #FFA24C !important;
}

body.theme-dark #sub-user-email-label {
  color: #9DA1B2 !important;
}

body.theme-dark .sub-option-label {
  background: #222230 !important;
  border-color: #333345 !important;
}

body.theme-dark .sub-option-label span:first-child {
  color: #FFFFFF !important;
}

body.theme-dark .sub-customer-card {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
}

body.theme-dark .sub-customer-card span[style*="font-weight: 800"] {
  color: #FFFFFF !important;
}

/* 8. Live Tracking Screen */
body.theme-dark .btn-back-menu {
  background: #222230 !important;
  border: 1px solid #38384D !important;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF !important;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-dark .btn-back-menu:hover {
  background: #2C2C3D !important;
  border-color: var(--swiggy-orange) !important;
  color: var(--swiggy-orange) !important;
}

body.theme-dark #map-hub-label,
body.theme-dark #map-dest-label,
body.theme-dark #tracker-address-display,
body.theme-dark #rider-name-display {
  color: #FFFFFF !important;
}

/* 9. Universal Form Labels & Inputs in Dark Mode */
body.theme-dark label {
  color: #E5E7EB !important;
}

body.theme-dark input::placeholder,
body.theme-dark textarea::placeholder {
  color: #8C90A2 !important;
  opacity: 1 !important;
}

body.theme-dark input[type="text"],
body.theme-dark input[type="email"],
body.theme-dark input[type="tel"],
body.theme-dark input[type="password"],
body.theme-dark select {
  background: #222230 !important;
  border-color: #38384D !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   DESKTOP DOWNLOAD APP PROMOTION BANNER
   ========================================================================== */
.desktop-download-banner {
  background: linear-gradient(135deg, #2A2420 0%, #3B322B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0;
  box-shadow: 0 4px 18px rgba(38, 33, 29, 0.1);
  border: 1px solid rgba(232, 226, 216, 0.15);
}

.d-banner-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #A3D9B1;
  background: rgba(163, 217, 177, 0.15);
  border: 1px solid rgba(163, 217, 177, 0.3);
  padding: 2px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.d-banner-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.d-banner-sub {
  font-size: 12.5px;
  color: #D6CEC5;
  line-height: 1.45;
  max-width: 620px;
}

.btn-d-banner-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(45, 90, 61, 0.25);
}

.btn-d-banner-download:hover {
  background: var(--swiggy-orange-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   DOWNLOAD APP MODAL (IOS, ANDROID & DESKTOP PWA)
   ========================================================================== */
.download-modal-sheet {
  max-width: 680px;
  padding: 24px;
}

.download-modal-grid {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 640px) {
  .download-modal-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.qr-code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-code-card {
  background: #FFFFFF;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.app-qr-svg {
  border-radius: 8px;
  display: block;
}

.app-qr-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 152px;
  min-height: 152px;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.app-qr-container canvas,
.app-qr-container img,
.app-qr-container svg {
  display: block;
  max-width: 148px;
  max-height: 148px;
  border-radius: 4px;
}

.btn-copy-app-link:hover {
  background: #F8F9FA !important;
  border-color: var(--swiggy-orange) !important;
}

.btn-open-app-direct:hover {
  background: #FFEAD9 !important;
}

.platform-guide-box {
  animation: fadeInGuide 0.25s ease forwards;
}

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

.btn-send-wa {
  background: #25D366 !important;
  color: #FFF !important;
}

.btn-send-wa:hover {
  background: #1EBE5D !important;
}

.btn-send-sms {
  background: #374151 !important;
  color: #FFF !important;
}

.btn-send-sms:hover {
  background: #1F2937 !important;
}

.qr-scan-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 10px;
}

.download-options-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.download-card-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: #181920;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid #2F3140;
}

.store-badge-card:hover {
  background: #232532;
  border-color: var(--swiggy-orange);
  transform: translateY(-1px);
}

.store-badge-card.pwa-card {
  background: #F8F9FA;
  color: var(--color-dark);
  border: 1px solid var(--color-border);
}

.store-badge-card.pwa-card:hover {
  background: #FFF0E6;
  border-color: var(--swiggy-orange);
}

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

.store-badge-icon.apple {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.store-badge-icon.google {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.store-badge-icon.pwa {
  background: #FFF0E6;
  color: var(--swiggy-orange);
}

.store-badge-info {
  flex: 1;
}

.store-badge-sub {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.store-badge-title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
}

.store-badge-note {
  font-size: 11px;
  opacity: 0.65;
  margin-top: 2px;
}

.store-badge-action {
  font-size: 12px;
  font-weight: 800;
  color: var(--swiggy-orange);
  white-space: nowrap;
}

.send-app-link-box {
  background: #F8F9FA;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.send-link-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.link-prefix {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-dark);
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.link-phone-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #FFFFFF;
  color: var(--color-dark);
}

.btn-send-link {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border: none;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-send-link:hover {
  background: var(--swiggy-orange-hover);
}

/* Dark Mode Overrides for Desktop & Download Features */
body.theme-dark .desktop-hub-chip {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #FFFFFF !important;
}

body.theme-dark .desktop-nav-btn {
  color: #9DA1B2 !important;
}

body.theme-dark .desktop-nav-btn:hover {
  background: #252535 !important;
  color: #FFFFFF !important;
}

body.theme-dark .desktop-nav-btn.active {
  background: #2A1D16 !important;
  color: #FFA24C !important;
  border-color: #4D2E1F !important;
}

body.theme-dark .desktop-meal-toggle {
  background: #1C1C26 !important;
}

body.theme-dark .desktop-meal-btn {
  color: #8C90A2 !important;
}

body.theme-dark .desktop-meal-btn.active {
  background: #252535 !important;
  color: #FFA24C !important;
}

body.theme-dark .admin-link-btn {
  background: #2A1D16 !important;
  border-color: #4D2E1F !important;
  color: #FFA24C !important;
}

body.theme-dark .admin-link-btn:hover {
  background: var(--swiggy-orange) !important;
  color: #FFFFFF !important;
}

body.theme-dark #desktop-customer-auth .customer-login-btn {
  background: #1C1C26 !important;
  border-color: #2D2D3D !important;
  color: #FFFFFF !important;
}

body.theme-dark #desktop-customer-auth .customer-login-btn:hover {
  border-color: var(--swiggy-orange) !important;
  color: #FFA24C !important;
}

body.theme-dark .desktop-slot-tag {
  background: #2A1D16 !important;
  color: #FFA24C !important;
}

body.theme-dark .desktop-cart-btn {
  background: #14281E !important;
  border-color: #1D4332 !important;
  color: #34D399 !important;
}

body.theme-dark .desktop-download-banner {
  background: linear-gradient(135deg, #181920 0%, #20222C 100%) !important;
  border: 1px solid #2F3140 !important;
}

body.theme-dark .download-modal-sheet {
  background: #181920 !important;
  color: #FFFFFF !important;
  border: 1px solid #2F3140 !important;
}

body.theme-dark .qr-code-card {
  background: #222230 !important;
  border-color: #38384D !important;
}

body.theme-dark .qr-scan-hint {
  color: #E2E8F0 !important;
}

body.theme-dark .store-badge-card.pwa-card {
  background: #222230 !important;
  border-color: #38384D !important;
  color: #FFFFFF !important;
}

body.theme-dark .store-badge-icon.pwa {
  background: #2A1D16 !important;
}

body.theme-dark .send-app-link-box {
  background: #20202C !important;
  border-color: #333345 !important;
}

body.theme-dark .send-app-link-box div {
  color: #FFFFFF !important;
}

body.theme-dark .link-prefix {
  background: #2A2A3C !important;
  border-color: #3D3D52 !important;
  color: #FFFFFF !important;
}

body.theme-dark .link-phone-input {
  background: #252535 !important;
  border-color: #38384D !important;
  color: #FFFFFF !important;
}

body.theme-dark .platform-guide-box {
  background: #251D18 !important;
  border-color: #5C3218 !important;
  color: #F3F4F6 !important;
}

body.theme-dark .btn-copy-app-link {
  background: #222230 !important;
  border-color: #38384D !important;
  color: #E2E8F0 !important;
}

body.theme-dark .btn-copy-app-link:hover {
  background: #2A2A3C !important;
  border-color: var(--swiggy-orange) !important;
}

/* ==========================================================================
   Swiggy & Zomato Style Delivery Address Components
   ========================================================================== */
.address-type-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.address-type-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-type-pill:hover {
  border-color: #FDBA74;
  color: var(--swiggy-orange);
}

.address-type-pill.active {
  border-color: var(--swiggy-orange);
  background: #FFF7ED;
  color: var(--swiggy-orange);
  box-shadow: 0 1px 4px rgba(252, 128, 25, 0.15);
}

.address-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 11px;
}

.address-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 8px;
  margin-bottom: 11px;
}

.address-quick-chips-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 5px;
  margin-bottom: 11px;
}

.address-quick-chip {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.15s ease;
}

.address-quick-chip:hover {
  background: #FFF0E6;
  border-color: #FDBA74;
  color: var(--swiggy-orange);
}

.saved-address-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
}

.saved-address-tag-badge.work {
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}

.saved-address-tag-badge.home {
  background: #F0FDF4;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.saved-address-tag-badge.other {
  background: #FAF5FF;
  color: #7E22CE;
  border: 1px solid #E9D5FF;
}

/* Dark theme overrides */
body.theme-dark .address-type-pill {
  background: #252535;
  border-color: #38384D;
  color: #A0AEC0;
}

body.theme-dark .address-type-pill.active {
  background: #2A1D16;
  border-color: var(--swiggy-orange);
  color: #FFA26B;
}

body.theme-dark .address-quick-chip {
  background: #252535;
  border-color: #38384D;
  color: #CBD5E1;
}

body.theme-dark .address-quick-chip:hover {
  background: #2A1D16;
  border-color: var(--swiggy-orange);
  color: #FFA26B;
}

/* ==========================================================================
   FLOATING DIRECT WHATSAPP CHAT WIDGET
   ========================================================================== */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 84px;
  right: 18px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

@media (min-width: 840px) {
  .floating-whatsapp-widget {
    bottom: 28px;
    right: 28px;
  }
}

.floating-whatsapp-widget:hover {
  transform: scale(1.08) translateY(-3px);
}

.wa-fab-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  position: relative;
  z-index: 2;
  transition: background-color 0.2s;
}

.floating-whatsapp-widget:hover .wa-fab-icon-wrap {
  background: #20BA5A;
}

.wa-fab-pulse {
  position: absolute;
  left: 0;
  top: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.2s infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.wa-fab-badge {
  background: #FFFFFF;
  color: #128C7E;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid #E2E8F0;
  white-space: nowrap;
  display: none;
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  .wa-fab-badge {
    display: inline-block;
  }
}

/* ==========================================================================
   CONTACT US & DIRECT CONNECT MODAL STYLES
   ========================================================================== */
.contact-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.contact-channel-card:hover {
  border-color: var(--swiggy-orange);
  box-shadow: 0 4px 12px rgba(33, 40, 34, 0.06);
  transform: translateY(-1px);
}

.contact-channel-card.whatsapp-card {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.contact-channel-card.whatsapp-card:hover {
  border-color: #22C55E;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.18);
}

.contact-channel-card.instagram-card {
  background: #FDF4FA;
  border-color: #F5D0FE;
}

.contact-channel-card.instagram-card:hover {
  border-color: #E879F9;
  box-shadow: 0 4px 14px rgba(217, 70, 239, 0.18);
}

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

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-icon-box.phone {
  background: #EAF2EC;
  color: var(--swiggy-orange);
}

.contact-icon-box.email {
  background: #EEF2FF;
  color: #4338CA;
}

.contact-icon-box.whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.contact-icon-box.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
}

.contact-channel-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark);
}

.contact-channel-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.contact-action-btn.phone-btn {
  background: var(--swiggy-orange);
  color: #FFFFFF;
}
.contact-action-btn.phone-btn:hover {
  background: var(--swiggy-orange-hover);
}

.contact-action-btn.email-btn {
  background: #4338CA;
  color: #FFFFFF;
}
.contact-action-btn.email-btn:hover {
  background: #3730A3;
}

.contact-action-btn.whatsapp-btn {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}
.contact-action-btn.whatsapp-btn:hover {
  background: #20BA5A;
}

.contact-action-btn.instagram-btn {
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(220, 39, 67, 0.35);
}
.contact-action-btn.instagram-btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.contact-info-panel {
  background: #FAF8F5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.contact-info-row strong {
  color: var(--color-dark);
}

/* Dark mode overrides for contact */
body.theme-dark .contact-channel-card {
  background: #20202C;
  border-color: #2F2F42;
}
body.theme-dark .contact-channel-card.whatsapp-card {
  background: #142E20;
  border-color: #225E3B;
}
body.theme-dark .contact-channel-card.instagram-card {
  background: #2E1928;
  border-color: #58244D;
}
body.theme-dark .contact-info-panel {
  background: #1C1C28;
  border-color: #2F2F42;
}
body.theme-dark .wa-fab-badge {
  background: #20202C;
  color: #86EFAC;
  border-color: #2F2F42;
}

/* ==========================================================================
   PLAVVA BRAND LOGO STYLES
   ========================================================================== */
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.06);
}

@media (min-width: 840px) {
  .brand-logo-img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: #FFFFFF;
  display: block;
  flex-shrink: 0;
}

/* =========================================================================
   CUSTOMER NOTIFICATIONS BELL & BADGE (DESKTOP & MOBILE HEADER)
   ========================================================================= */
.desktop-notif-btn,
.mobile-notif-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border);
  color: var(--color-dark);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.desktop-notif-btn {
  width: 38px;
  height: 38px;
}

.mobile-notif-btn {
  width: 34px;
  height: 34px;
}

.desktop-notif-btn:hover,
.mobile-notif-btn:hover {
  background: #FFF8F4;
  border-color: var(--swiggy-orange);
  color: var(--swiggy-orange);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(252, 128, 25, 0.15);
}

.desktop-notif-badge,
.mobile-notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--swiggy-orange);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 3px 5px;
  min-width: 17px;
  height: 17px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(252, 128, 25, 0.4);
  animation: notifPulse 2s infinite ease-in-out;
}

@keyframes notifPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* =========================================================================
   NOTIFICATIONS MODAL / SHEET STYLES
   ========================================================================= */
.notifications-modal-sheet {
  max-width: 540px;
  width: 95%;
  border-radius: 16px;
  background: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  padding: 20px;
}

.push-optin-banner {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.push-banner-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.push-banner-title {
  font-size: 12px;
  font-weight: 800;
  color: #166534;
}

.push-banner-sub {
  font-size: 11px;
  color: #15803D;
  margin-top: 1px;
  line-height: 1.35;
}

.btn-push-action {
  background: #166534;
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-push-action:hover:not(:disabled) {
  background: #14532D;
}

/* Category Tabs */
.notif-tab-bar {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--color-border-light);
}

.notif-tab-btn {
  background: #F3F4F6;
  border: 1px solid transparent;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.notif-tab-btn:hover {
  background: #E5E7EB;
  color: var(--color-dark);
}

.notif-tab-btn.active {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(252, 128, 25, 0.25);
}

/* Body Container */
.notif-body-container {
  overflow-y: auto;
  flex: 1;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 55vh;
}

/* Notification Cards */
.notif-card {
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-light);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.notif-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.notif-card-offer {
  border-left: 4px solid var(--swiggy-orange);
  background: #FFFDFB;
}

.notif-card-announcement {
  border-left: 4px solid #2D5A3D;
  background: #FDFEFE;
}

.notif-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.notif-category-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-offer {
  background: #FFF0E6;
  color: var(--swiggy-orange);
  border: 1px solid rgba(252, 128, 25, 0.3);
}

.badge-announcement {
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.notif-time-tag {
  font-size: 11px;
  color: var(--color-text-tertiary);
  font-weight: 600;
}

.notif-card-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.notif-card-desc {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.notif-coupon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFF7ED;
  border: 1.5px dashed #FDBA74;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.notif-coupon-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9A3412;
}

.notif-coupon-chip strong {
  font-family: monospace;
  font-size: 13px;
  background: #FFFFFF;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid #FED7AA;
  color: var(--swiggy-orange);
  letter-spacing: 0.05em;
}

.btn-copy-notif-coupon {
  background: var(--swiggy-orange);
  color: #FFFFFF;
  border: none;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-copy-notif-coupon:hover {
  opacity: 0.9;
}

.notif-card-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.btn-notif-action {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: var(--color-dark);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.btn-notif-action:hover {
  background: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
}

.notif-empty-state {
  text-align: center;
  padding: 40px 20px;
}

.notif-empty-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.notif-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.notif-empty-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

.notif-modal-footer {
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  font-size: 11px;
  color: var(--color-text-tertiary);
}

/* =========================================================================
   TOP PROMINENT ANNOUNCEMENT NOTICE BAR (LIVE RIGHT-TO-LEFT TICKER)
   ========================================================================= */
.top-announcement-bar {
  width: 100%;
  padding: 8px 0;
  position: relative;
  z-index: 100;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-announcement-bar.orange {
  background: linear-gradient(90deg, #EA580C 0%, #F97316 50%, #EA580C 100%);
}

.top-announcement-bar.green {
  background: linear-gradient(90deg, #1B8354 0%, #2D5A3D 100%);
}

.top-announcement-bar.red {
  background: linear-gradient(90deg, #DC2626 0%, #B91C1C 100%);
}

.top-announcement-ticker-track {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  user-select: none;
}

.top-announcement-ticker-inner {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  white-space: nowrap;
  animation: liveTickerRightToLeft 28s linear infinite;
  will-change: transform;
}

.top-announcement-ticker-track:hover .top-announcement-ticker-inner {
  animation-play-state: paused;
}

@keyframes liveTickerRightToLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.top-announcement-pill {
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 6px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  line-height: 1.4;
  backdrop-filter: blur(4px);
  flex-shrink: 0;
}

.top-announcement-bell-icon {
  font-size: 14px;
  display: inline-block;
  animation: notifBellSwing 3s infinite ease-in-out;
}

@keyframes notifBellSwing {
  0%, 70%, 100% { transform: rotate(0); }
  75% { transform: rotate(14deg); }
  80% { transform: rotate(-14deg); }
  85% { transform: rotate(10deg); }
  90% { transform: rotate(-6deg); }
}

.top-announcement-text {
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .top-announcement-bar {
    padding: 6px 0;
  }
  .top-announcement-ticker-inner {
    gap: 28px;
    animation-duration: 22s;
  }
  .top-announcement-pill {
    padding: 5px 14px;
    font-size: 11.5px;
    border-radius: 9999px;
    gap: 6px;
  }
  .top-announcement-bell-icon {
    font-size: 12px;
  }
}

/* =========================================================================
   GOOGLE 1-TAP AUTH, DIVIDER & EMAIL PASSWORD RESET STYLING
   ========================================================================= */
.btn-google-continue {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1E293B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-google-continue:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}

.btn-google-continue:active {
  transform: translateY(0);
  background: #F1F5F9;
}

.auth-divider-or {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 14px 0;
  color: #94A3B8;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.auth-divider-or::before,
.auth-divider-or::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #E2E8F0;
}

.auth-divider-or:not(:empty)::before {
  margin-right: 12px;
}

.auth-divider-or:not(:empty)::after {
  margin-left: 12px;
}

.google-account-select-card {
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.google-account-header {
  padding: 12px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.google-account-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #F1F5F9;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

.google-account-item:hover {
  background: #F8FAFC;
}

.google-account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.google-complete-header-card {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border: 1.5px solid #FDBA74;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.email-reset-box {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 12px;
}







