/* ==========================================================================
   M10 GROCERY - PRODUCTION DESIGN SYSTEM & STYLE SHEET
   Aligned with Official Brand Kit & Quick-Commerce UX (Blinkit/Zepto/Zomato)
   ========================================================================== */

:root {
  /* Official Brand Kit Colors */
  --m10-teal: #123F45;
  --m10-teal-rgb: 18, 63, 69;
  --m10-teal-dark: #0A262A;
  --m10-teal-light: #1D5E67;
  --m10-coral: #FF6B4A;
  --m10-coral-hover: #E75432;
  --m10-coral-light: #FFF0EC;
  --m10-coral-border: #FFD8CF;
  --m10-yellow: #F2C94C;
  --m10-yellow-light: #FFF8E1;
  --m10-cream: #F8F5EF;
  --m10-cream-dark: #EFE8DC;
  --m10-text-dark: #172A2D;
  --m10-text-muted: #5B7275;
  --m10-border: rgba(18, 63, 69, 0.12);
  --m10-card-bg: #FFFFFF;
  --m10-veg: #2E7D32;
  --m10-nonveg: #C62828;

  /* Spacing & Radius Tokens */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(18, 63, 69, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 63, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 63, 69, 0.12);
  --shadow-hover: 0 14px 32px rgba(18, 63, 69, 0.14);
}

/* Base & Typography */
* {
  box-sizing: border-box;
}

/* Centered Responsive Container matching index.html */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--m10-cream);
  color: var(--m10-text-dark);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--m10-text-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--m10-teal);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--m10-coral);
}

:focus-visible {
  outline: 2px solid var(--m10-teal);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 12px;
  background: var(--m10-teal);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1100;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: 12px;
  color: #FFFFFF;
}

/* Top Live Announcement Bar */
.top-notice-bar {
  background: var(--m10-teal-dark);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar .badge-lightning {
  background: var(--m10-coral);
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Sticky Main Header */
.m10-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--m10-border);
  box-shadow: 0 4px 20px rgba(18, 63, 69, 0.05);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Delivery Location Picker */
.location-picker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.location-picker-btn:hover {
  background: var(--m10-cream);
}

.location-picker-btn .delivery-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--m10-coral);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.location-picker-btn .location-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--m10-text-dark);
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Blinkit-Style Live Search Input */
.search-wrapper {
  position: relative;
  width: 100%;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--m10-cream);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 4px 14px;
  transition: all 0.25s ease;
}

.search-input-group:focus-within {
  background: #FFFFFF;
  border-color: var(--m10-teal);
  box-shadow: 0 0 0 4px rgba(18, 63, 69, 0.12);
}

.search-input-group .search-icon {
  color: var(--m10-teal);
  font-size: 1.15rem;
  margin-right: 10px;
}

.search-input-group input {
  border: none;
  background: transparent;
  width: 100%;
  padding: 8px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--m10-text-dark);
  outline: none;
}

.search-input-group input::placeholder {
  color: var(--m10-text-muted);
  font-weight: 400;
}

.search-clear-btn {
  background: none;
  border: none;
  color: var(--m10-text-muted);
  cursor: pointer;
  padding: 4px;
  display: none;
}

/* Live Search Suggestions Dropdown */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--m10-border);
  z-index: 1050;
  max-height: 440px;
  overflow-y: auto;
  display: none;
}

.search-results-dropdown.show {
  display: block;
  animation: fadeInDown 0.2s ease;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(18, 63, 69, 0.06);
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-suggestion-item:hover,
.search-suggestion-item.active {
  background: var(--m10-cream);
}

.search-suggestion-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--m10-border);
}

.search-chips-bar {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  white-space: nowrap;
  background: #FAFAFA;
  border-bottom: 1px solid rgba(18, 63, 69, 0.06);
}

.search-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid var(--m10-border);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-chip:hover {
  background: var(--m10-teal);
  color: #FFFFFF;
  border-color: var(--m10-teal);
}

/* Unified Header Navigation Links Bar */
.nav-links-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 6px 0 2px;
  scrollbar-width: none;
}
.nav-links-bar::-webkit-scrollbar {
  display: none;
}
.nav-item-link {
  color: var(--m10-text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}
.nav-item-link:hover,
.nav-item-link.active {
  color: var(--m10-coral);
  background: var(--m10-coral-light);
}

/* Button System */
.btn-m10-primary {
  background: var(--m10-teal);
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  min-height: 42px;
}

.btn-m10-primary:hover,
.btn-m10-primary:focus {
  background: var(--m10-teal-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(18, 63, 69, 0.25);
}

.btn-m10-coral {
  background: var(--m10-coral);
  color: #FFFFFF;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s ease;
  min-height: 42px;
}

.btn-m10-coral:hover,
.btn-m10-coral:focus {
  background: var(--m10-coral-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.35);
}

/* Header Cart Button */
.header-cart-btn {
  background: var(--m10-teal);
  color: #FFFFFF;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 42px;
}

.header-cart-btn:hover {
  background: var(--m10-teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(18, 63, 69, 0.28);
}

.header-cart-btn .cart-badge {
  background: var(--m10-coral);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
}

/* Category Rail (Sticky) */
.category-rail-container {
  background: #FFFFFF;
  border-bottom: 1px solid var(--m10-border);
  padding: 8px 0;
  position: sticky;
  top: 65px;
  z-index: 1010;
  box-shadow: 0 2px 8px rgba(18, 63, 69, 0.03);
}

.category-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
}

.category-rail::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 30px;
  background: var(--m10-cream);
  color: var(--m10-text-dark);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.category-pill img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.category-pill:hover {
  background: #EFE9DC;
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--m10-teal);
  color: #FFFFFF;
  border-color: var(--m10-teal);
  box-shadow: 0 4px 12px rgba(18, 63, 69, 0.2);
}

/* Hero Quick-Commerce Banner Section */
.hero-banners-section {
  padding: 16px 0 10px;
}

.hero-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #FFFFFF;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hero-banner-card.banner-teal {
  background: linear-gradient(135deg, #123F45 0%, #0F3238 60%, #17525A 100%);
}

.hero-banner-card.banner-coral {
  background: linear-gradient(135deg, #FF6B4A 0%, #FF522B 60%, #E03E18 100%);
}

.hero-banner-card.banner-yellow {
  background: linear-gradient(135deg, #F2C94C 0%, #E0B332 100%);
  color: var(--m10-text-dark);
}

.hero-banner-card .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 12px;
}

.hero-banner-card h1,
.hero-banner-card h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  color: inherit;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero-banner-card p {
  font-size: 0.95rem;
  opacity: 0.92;
  margin-bottom: 16px;
  max-width: 480px;
}

.hero-banner-decor-img {
  position: absolute;
  right: -10px;
  bottom: -15px;
  height: 190px;
  width: auto;
  opacity: 0.22;
  pointer-events: none;
}

/* Home Services Promotional Banner (Compact / In Small) */
.home-services-banner {
  background: linear-gradient(135deg, #0F3238 0%, #123F45 60%, #17525A 100%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-services-banner .banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(242, 201, 76, 0.18);
  border: 1px solid rgba(242, 201, 76, 0.4);
  color: #F2C94C;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.home-services-banner h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.home-services-banner p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 12px;
  max-width: 560px;
  line-height: 1.45;
}

.home-services-banner-thumb {
  max-height: 140px;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.home-services-banner-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

@media (max-width: 575.98px) {
  .home-services-banner {
    padding: 16px;
  }
  .home-services-banner-thumb {
    max-height: 120px;
  }
}

/* Unified Sub-Page Hero Banner matching Index Hero Card */
.page-hero-banner {
  background: linear-gradient(135deg, #123F45 0%, #0F3238 60%, #17525A 100%);
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  padding: 28px 32px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-hero-banner .banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-hero-banner h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-hero-banner p {
  font-size: 0.95rem;
  opacity: 0.92;
  margin-bottom: 0;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero-banner .page-hero-decor-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  height: 160px;
  width: auto;
  opacity: 0.16;
  pointer-events: none;
}

/* PIN Code Checker Box */
.pincode-checker-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 24px;
}

.pincode-checker-box .pin-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pincode-checker-box .pin-icon-wrap {
  width: 46px;
  height: 46px;
  background: var(--m10-coral-light);
  color: var(--m10-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.pincode-input-group {
  display: flex;
  gap: 8px;
  max-width: 320px;
  width: 100%;
}

.pincode-input-group input {
  border: 1.5px solid var(--m10-border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--m10-text-dark);
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
}

.pincode-input-group input:focus {
  border-color: var(--m10-teal);
}

/* Category Grid Explorer */
.category-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--m10-teal);
  box-shadow: var(--shadow-hover);
}

.category-card-img-wrap {
  width: 64px;
  height: 64px;
  background: var(--m10-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 6px;
  transition: transform 0.2s ease;
}

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

.category-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card h6 {
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0;
  color: var(--m10-text-dark);
  line-height: 1.25;
}

.category-card span.item-count {
  font-size: 0.72rem;
  color: var(--m10-text-muted);
  margin-top: 3px;
}

/* Quick-Commerce Product Card (Blinkit Style) */
.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.25s ease;
}

.product-card:hover {
  border-color: rgba(18, 63, 69, 0.25);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #FDFDFD;
  margin-bottom: 10px;
  cursor: pointer;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

.product-badge-eta {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--m10-teal);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-discount-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--m10-coral);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.veg-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--m10-veg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

.veg-icon::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--m10-veg);
  border-radius: 50%;
}

.nonveg-icon {
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--m10-nonveg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  margin-right: 4px;
  vertical-align: middle;
}

.nonveg-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-bottom: 6px solid var(--m10-nonveg);
}

.product-weight {
  font-size: 0.75rem;
  color: var(--m10-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--m10-text-dark);
  line-height: 1.3;
  margin-bottom: 6px;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  cursor: pointer;
}

.product-title:hover {
  color: var(--m10-coral);
}

.product-rating {
  font-size: 0.72rem;
  font-weight: 600;
  color: #B58105;
  background: var(--m10-yellow-light);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 8px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.product-pricing {
  display: flex;
  flex-direction: column;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--m10-text-dark);
  line-height: 1;
}

.product-mrp {
  font-size: 0.75rem;
  color: var(--m10-text-muted);
  text-decoration: line-through;
  font-weight: 500;
  margin-top: 2px;
}

/* "+ ADD" Button & Stepper */
.btn-add-cart {
  background: #FFFFFF;
  color: var(--m10-teal);
  border: 1.5px solid var(--m10-teal);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  min-width: 74px;
  min-height: 36px;
  text-align: center;
}

.btn-add-cart:hover {
  background: var(--m10-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(18, 63, 69, 0.2);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--m10-teal);
  color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(18, 63, 69, 0.25);
  min-height: 36px;
}

.qty-stepper button {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty-stepper button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.qty-stepper span.qty-val {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 4px;
  min-width: 20px;
  text-align: center;
}

/* 5 Column Grid for Large Desktops */
@media (min-width: 1200px) {
  .col-xl-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* Section Header Styling */
.section-header-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header-wrap h3 {
  font-size: 1.45rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-header-wrap .section-subtitle {
  font-size: 0.85rem;
  color: var(--m10-text-muted);
  margin-top: 3px;
  margin-bottom: 0;
}

.view-all-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--m10-coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  gap: 8px;
}

/* Value Props / Why M10 Section */
.why-m10-section {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-sm);
  margin: 40px 0;
}

.feature-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-icon-circle.teal {
  background: rgba(18, 63, 69, 0.08);
  color: var(--m10-teal);
}

.feature-icon-circle.coral {
  background: var(--m10-coral-light);
  color: var(--m10-coral);
}

.feature-icon-circle.yellow {
  background: var(--m10-yellow-light);
  color: #B58105;
}

.feature-box h5 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.feature-box p {
  font-size: 0.82rem;
  color: var(--m10-text-muted);
  margin: 0;
  line-height: 1.45;
}

/* Leadership Team Section */
.leadership-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.leadership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--m10-teal);
}

.leader-img-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--m10-cream);
  position: relative;
  border-bottom: 1px solid rgba(18, 63, 69, 0.06);
}

.leader-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.leadership-card:hover .leader-img-container img {
  transform: scale(1.05);
}

.leader-details {
  padding: 12px 14px;
}

.leader-name {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.3;
}

.leader-role {
  color: var(--m10-coral);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
  line-height: 1.3;
}

.leader-bio {
  font-size: 0.76rem;
  color: var(--m10-text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.leader-contact {
  font-size: 0.72rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid rgba(18, 63, 69, 0.08);
  padding-top: 6px;
}

.btn-view-more {
  background: #f8fafc;
  color: var(--m10-teal);
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-view-more:hover {
  background: var(--m10-teal);
  color: #ffffff !important;
  border-color: var(--m10-teal);
  box-shadow: 0 4px 10px rgba(18, 63, 69, 0.18);
  transform: translateY(-1px);
}

/* Compact Team Member Profile Modal */
.leader-modal .modal-dialog {
  max-width: 410px;
  margin: 1.25rem auto;
}

.leader-modal .modal-content {
  border-radius: 16px;
  border: 1px solid rgba(18, 63, 69, 0.12);
  box-shadow: 0 20px 40px rgba(18, 63, 69, 0.18);
  overflow: hidden;
}

.leader-modal-header {
  background: linear-gradient(135deg, #123F45 0%, #0D2C30 100%);
  padding: 12px 16px;
  position: relative;
}

.leader-modal-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.leader-modal-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  line-height: 1.25;
}

.leader-modal-subtitle {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

.leader-modal-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
}

.leader-modal-body {
  padding: 14px 16px;
}

.leader-modal-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--m10-teal);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.leader-modal-bio {
  font-size: 0.8rem;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 12px;
}

.leader-contact-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.leader-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.leader-contact-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #64748b;
  flex-shrink: 0;
}

.leader-contact-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 68%;
}

.leader-contact-value:hover {
  color: var(--m10-teal);
}

.leader-modal-footer {
  padding: 8px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* App Download CTA Banner */
.app-download-banner {
  background: linear-gradient(135deg, var(--m10-teal) 0%, var(--m10-teal-dark) 100%);
  border-radius: var(--radius-xl);
  color: #FFFFFF;
  padding: 38px;
  position: relative;
  overflow: hidden;
  margin: 32px 0;
}

.app-download-banner h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.store-badge-btn:hover {
  background: #FFFFFF;
  color: var(--m10-teal);
  transform: translateY(-2px);
}

/* Offcanvas Cart Drawer (Blinkit Style) */
.offcanvas-cart {
  width: 440px !important;
  max-width: 100vw !important;
  background: var(--m10-cream);
  border-left: 1px solid var(--m10-border);
}

.cart-free-delivery-progress {
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--m10-border);
  margin-bottom: 14px;
}

.progress-custom {
  height: 6px;
  border-radius: 10px;
  background: #E8E5DD;
  overflow: hidden;
}

.progress-custom .progress-bar-fill {
  background: linear-gradient(90deg, var(--m10-teal) 0%, var(--m10-coral) 100%);
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 38vh;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-item-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--m10-border);
}

.cart-item-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}

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

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--m10-text-dark);
}

.cart-bill-details {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--m10-border);
  margin-top: 14px;
}

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

.bill-row.total-row {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--m10-text-dark);
  border-top: 1px dashed var(--m10-border);
  padding-top: 10px;
  margin-top: 10px;
  margin-bottom: 0;
}

/* Floating Bottom Cart Pill (Blinkit Style) */
.floating-cart-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--m10-teal);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(18, 63, 69, 0.4);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1040;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart-pill.show {
  transform: translateX(-50%) translateY(0);
}

.floating-cart-pill:hover {
  background: var(--m10-teal-dark);
  box-shadow: 0 14px 36px rgba(18, 63, 69, 0.5);
}

.cart-pill-count {
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-pill-total {
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-pill-action {
  background: var(--m10-coral);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Live Order Tracking Modal & Map Simulation */
.tracking-map-simulation {
  background: #E8F0EE;
  border-radius: var(--radius-md);
  height: 190px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--m10-border);
  margin-bottom: 20px;
}

.road-path {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 12px;
  background: #CBDAD7;
  border-radius: 6px;
  transform: translateY(-50%);
}

.road-dots {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  border-top: 2px dashed #95B0AA;
  transform: translateY(-50%);
}

.rider-scooter-marker {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--m10-coral);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.45);
  animation: moveRider 14s infinite ease-in-out;
}

.store-marker {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--m10-teal);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.home-marker {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--m10-veg);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

@keyframes moveRider {
  0% { left: 15%; }
  50% { left: 75%; }
  100% { left: 88%; }
}

.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.timeline-step.done .step-icon {
  background: var(--m10-teal);
  color: #FFFFFF;
}

.timeline-step.active .step-icon {
  background: var(--m10-coral);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px var(--m10-coral-border);
  animation: pulseIcon 1.5s infinite;
}

.step-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Footer Section */
.m10-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--m10-border);
  padding: 50px 0 24px;
  margin-top: 50px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  color: var(--m10-text-muted);
  line-height: 1.6;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--m10-teal);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links-list a {
  font-size: 0.85rem;
  color: var(--m10-text-dark);
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--m10-coral);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid var(--m10-border);
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--m10-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--m10-border);
  z-index: 1030;
  padding: 8px 16px;
  box-shadow: 0 -4px 16px rgba(18, 63, 69, 0.08);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  body {
    padding-bottom: 70px;
  }
  .floating-cart-pill {
    bottom: 74px;
    width: 92%;
    justify-content: space-between;
  }
  .top-notice-bar {
    display: none !important;
  }
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--m10-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--m10-teal);
}

.mobile-nav-link i {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

/* Modal Styling */
.modal-content {
  border-radius: var(--radius-xl);
  border: 1px solid var(--m10-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--m10-border);
  background: var(--m10-cream);
  padding: 18px 24px;
}

.modal-footer {
  border-top: 1px solid var(--m10-border);
  padding: 16px 24px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 85px;
  right: 20px;
  z-index: 1090;
}

.m10-toast {
  background: var(--m10-teal-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  animation: fadeInDown 0.25s ease;
}

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

/* Accessible reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
