/* ==========================================================================
   BLINKIT QUICK COMMERCE - DESIGN SYSTEM & MASTER STYLESHEET
   ========================================================================== */

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

:root {
  /* Modern Typography System */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Brand Color Palette */
  --primary: #0c831f;
  --primary-hover: #086b19;
  --primary-light: #e8f5e9;
  --primary-gradient: linear-gradient(135deg, #0c831f 0%, #15a02e 100%);
  
  --accent: #f8cb46;
  --accent-hover: #e5b937;
  --accent-light: #fef8e7;
  --accent-gradient: linear-gradient(135deg, #f8cb46 0%, #f7b731 100%);

  /* Neutrals & Surfaces */
  --bg-main: #f4f6f8;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-dark: #111827;

  /* Typography Colors */
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Status Colors */
  --success: #0c831f;
  --danger: #e53935;
  --warning: #f59e0b;
  --info: #2563eb;
  
  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #0c831f;
  
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 36px -8px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 20px rgba(12, 131, 31, 0.25);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout Consts */
  --header-height: 76px;
  --bottom-nav-height: 64px;
  --max-width: 1280px;
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--bottom-nav-height) + 50px);
  }
}

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

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

button, input, select, textarea {
  font-family: var(--font-sans);
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.main-content {
  flex: 1;
  padding: 24px 0 60px 0;
}

/* ==========================================================================
   HEADER & NAVIGATION — BLINKIT PREMIUM STYLE
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid #f1f1f1;
  transition: box-shadow 0.25s ease;
}

.site-header:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0;
  gap: 24px;
}

.header-main-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-mobile-actions {
  display: none;
}

/* ---- LEFT GROUP: Logo + Divider + Delivery Widget ---- */
.header-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.brand-logo:hover {
  opacity: 0.88;
}

.brand-logo-img {
  max-height: 40px;
  max-width: 160px;
  object-fit: contain;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #f8cb46 0%, #f0b90b 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 3px 10px rgba(240, 185, 11, 0.3);
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.6px;
  line-height: 1.1;
}

/* Vertical divider between logo and delivery widget */
.header-divider {
  width: 1px;
  height: 36px;
  background: #e5e7eb;
  flex-shrink: 0;
}

/* ---- DELIVERY / LOCATION WIDGET ---- */
.location-selector {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 4px 0;
  cursor: pointer;
  flex-shrink: 0;
  min-width: 140px;
  max-width: 220px;
  border: none;
  background: transparent;
  transition: opacity 0.15s ease;
}

.location-selector:hover {
  opacity: 0.78;
  background: transparent;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.loc-delivery-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.loc-delivery-label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}

.loc-delivery-eta {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}

.loc-address-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.loc-address-row .loc-address {
  font-size: 12px;
  color: #71717a;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  line-height: 1.2;
}

.loc-chevron-svg {
  color: #71717a;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.location-selector:hover .loc-chevron-svg {
  transform: translateY(1px);
  color: #0c831f;
}

/* ---- CENTER: SEARCH BAR ---- */
.header-search {
  flex: 1;
  position: relative;
  max-width: 680px;
  margin: 0 4px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0 16px;
  height: 48px;
  gap: 10px;
  transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
  background: #ffffff;
  border-color: #0c831f;
  box-shadow: 0 0 0 3px rgba(12, 131, 31, 0.10);
}

.search-icon-svg {
  flex-shrink: 0;
  opacity: 0.55;
}

.search-input-wrapper:focus-within .search-icon-svg {
  opacity: 0.8;
  stroke: #0c831f;
}

/* Keep old .search-icon for backward compat */
.search-icon {
  color: #9ca3af;
  margin-right: 8px;
  font-size: 15px;
  display: flex;
  flex-shrink: 0;
}

.search-input {
  width: 100%;
  background: transparent;
  color: #0f172a;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.search-input::placeholder {
  color: #676767 !important;
  font-weight: 500;
}

/* Live Instant Search Dropdown */
.live-search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 440px;
  overflow-y: auto;
  display: none;
}

.live-search-results-dropdown.open {
  display: block;
  animation: slideInToast 0.2s ease-out;
}

.dropdown-header-bar {
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f3f4f6;
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s ease;
  text-decoration: none;
}

.search-dropdown-item:hover {
  background: #f0fdf4;
}

.dropdown-item-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9fafb;
  padding: 2px;
}

.dropdown-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.dropdown-item-sub {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
  display: flex;
  gap: 8px;
}

/* ---- RIGHT: HEADER ACTIONS ---- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Login Button (clean Blinkit style) */
.header-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.header-login-btn:hover {
  background: #f3f4f6;
  color: #0c831f;
}

/* Account Button (logged-in state) */
.header-account-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.header-account-btn:hover {
  background: #f3f4f6;
  color: #0c831f;
}

.header-account-btn.active {
  color: #0c831f;
}

/* Keep old nav-action-btn for backward compat */
.nav-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-action-btn:hover {
  background: #f3f4f6;
  color: var(--primary);
}

/* Cart Button (Dynamic Theme) */
.btn-header-cart {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cart-btn-bg, var(--primary, #0c831f));
  color: var(--cart-btn-text, #ffffff);
  padding: 10px 20px;
  border-radius: var(--cart-btn-radius, var(--btn-radius, 12px));
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.18s ease;
  box-shadow: none;
  white-space: nowrap;
}

.btn-header-cart:hover {
  background: var(--cart-btn-hover, var(--primary-hover, #0a7119));
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.header-cart-label {
  font-weight: 700;
  font-size: 14px;
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
}

.cart-badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--cart-badge-bg, var(--accent, #f59e0b));
  color: var(--cart-badge-text, #0f172a);
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 99px;
  border: 2px solid #ffffff;
  line-height: 1.4;
  min-width: 18px;
  text-align: center;
}

/* Mobile Cart Button */
.btn-mobile-quick-cart {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--cart-btn-bg, var(--primary, #0c831f));
  color: var(--cart-btn-text, #fff);
  border: none;
  border-radius: var(--cart-btn-radius, 10px);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-mobile-quick-cart:hover {
  background: var(--cart-btn-hover, var(--primary-hover, #0a7119));
}

.mobile-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--cart-badge-bg, var(--accent, #f59e0b));
  color: var(--cart-badge-text, #0f172a);
  font-size: 10px;
  font-weight: 900;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ---- SUB-HEADER: CATEGORY PILL NAV ---- */
.subheader-nav {
  background: #ffffff;
  border-bottom: 1px solid #f1f1f1;
  overflow: hidden;
}

.subheader-container {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.categories-pills-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.categories-pills-track::-webkit-scrollbar {
  display: none;
}

.categories-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 4px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  transition: all 0.15s ease;
  flex-shrink: 0;
  cursor: pointer;
}

.cat-pill:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: #0c831f;
}

.cat-pill.active {
  background: #0c831f;
  color: #ffffff;
  border-color: #0c831f;
  box-shadow: 0 2px 8px rgba(12, 131, 31, 0.18);
}

.pill-scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  z-index: 2;
}

.pill-scroll-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

/* ==========================================================================
   HERO BANNER & PROMO CAROUSEL
   ========================================================================== */

.hero-banner-section {
  margin-bottom: 32px;
}

.hero-slider {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.hero-card-main {
  background: linear-gradient(135deg, #0c831f 0%, #064e13 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-card-main::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(248, 203, 70, 0.15);
  filter: blur(60px);
  border-radius: 50%;
  top: -50px;
  right: 50px;
}

.hero-content {
  max-width: 60%;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.hero-title {
  color: var(--text-white);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.hero-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.hero-image-wrap {
  z-index: 2;
  position: relative;
}

.hero-img {
  width: 280px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-3deg);
  transition: transform var(--transition-normal);
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.03);
}

.hero-side-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-mini-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.promo-mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.promo-mini-card.card-accent {
  background: linear-gradient(135deg, #fef8e7 0%, #fffbf0 100%);
  border-color: #fce8a6;
}

.promo-mini-card h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.promo-mini-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.promo-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   PROMOTIONAL DOUBLE BANNERS
   ========================================================================== */

.promo-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.promo-banner-card {
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 180px;
}

.promo-banner-content {
  flex: 1;
  max-width: 65%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.promo-banner-badge {
  background: var(--accent);
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  white-space: nowrap;
}

.promo-banner-title {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  margin: 10px 0 6px 0;
  line-height: 1.2;
}

.promo-banner-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 16px;
  line-height: 1.4;
}

.promo-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.promo-banner-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.promo-banner-img-wrap {
  z-index: 2;
  flex-shrink: 0;
  margin-left: 14px;
}

.promo-banner-img-wrap img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ==========================================================================
   CATEGORY EXPLORE & DIRECTORY GRID
   ========================================================================== */

/* Categories Directory Page (.category-page-grid) */
.category-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-page-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
  position: relative;
}

.category-page-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.category-page-banner {
  height: 140px;
  overflow: hidden;
  position: relative;
  display: block;
}

.category-page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-page-card:hover .category-page-banner img {
  transform: scale(1.06);
}

.category-page-count-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.category-page-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category-page-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.category-page-icon {
  font-size: 22px;
}

.category-page-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.category-subchips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.cat-subchip {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-body);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.15s ease;
}

.cat-subchip:hover {
  background: #f0fdf4;
  color: var(--primary);
  border-color: var(--primary);
}

.category-page-footer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.category-page-footer-link:hover {
  text-decoration: underline;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-link:hover {
  text-decoration: underline;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}

.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.cat-img-box {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #f0fdf4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  border: 2px solid #e8f5e9;
  transition: transform var(--transition-fast);
}

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

.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

/* ==========================================================================
   FLASH DEALS & LIVE COUNTDOWN TIMER
   ========================================================================== */

.flash-deals-box {
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%);
  border: 2px solid #fecdd3;
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.flash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #fda4af;
}

.flash-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flash-badge-pulse {
  background: #e11d48;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: pulseAnim 1.2s infinite;
}

.flash-timer-display {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: #9f1239;
}

.timer-digit-box {
  background: #be123c;
  color: #fff;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  min-width: 30px;
  text-align: center;
  font-family: var(--font-heading), monospace;
  font-weight: 800;
}

/* ==========================================================================
   STANDARDIZED PRODUCT CARD (BLINKIT PREMIUM MODERN STYLE)
   ========================================================================== */

/* Standard Static Grid (For Products Listing Page) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Horizontal Smooth Product Slider & Carousel */
.product-slider-container {
  position: relative;
  margin-bottom: 38px;
}

.product-slider-wrapper {
  position: relative;
  width: 100%;
}

.product-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

.product-slider-track .product-card {
  flex: 0 0 215px;
  width: 215px;
  min-width: 215px;
  max-width: 215px;
  scroll-snap-align: start;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .product-slider-track {
    gap: 12px;
    padding-bottom: 12px;
  }
  .product-slider-track .product-card {
    flex: 0 0 175px;
    width: 175px;
    min-width: 175px;
    max-width: 175px;
    padding: 10px;
  }
  .product-slider-track .product-card .card-img-container {
    height: 125px;
  }
}

@media (max-width: 480px) {
  .product-slider-track .product-card {
    flex: 0 0 155px;
    width: 155px;
    min-width: 155px;
    max-width: 155px;
    padding: 9px;
  }
  .product-slider-track .product-card .card-img-container {
    height: 115px;
  }
}

/* Slider Nav Arrows */
.slider-arrow-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.95;
}

.slider-arrow-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(12, 131, 31, 0.35);
  opacity: 1;
}

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

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

@media (max-width: 768px) {
  .slider-arrow-btn {
    display: none;
  }
}

.product-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #86efac;
  box-shadow: 0 12px 28px -6px rgba(12, 131, 31, 0.15), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.product-card.out-of-stock-card {
  opacity: 0.85;
}

/* Card Top Badges */
.card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.badge-discount-ribbon {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
}

.btn-wishlist-toggle, .card-btn-wishlist {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f1f5f9;
  cursor: pointer;
  padding: 0;
}

.btn-wishlist-toggle:hover, .card-btn-wishlist:hover {
  transform: scale(1.15);
  color: #e11d48;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.btn-wishlist-toggle.active, .card-btn-wishlist.active {
  color: #e11d48;
  background: #ffe4e6;
  border-color: #fecdd3;
  transform: scale(1.1);
}

/* Product Image & Multi-Image Gallery */
.card-img-container {
  position: relative;
  width: 100%;
  height: 150px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.card-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.card-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Multi-Image Dots */
.card-img-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 5;
}

.img-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.img-dot.active, .img-dot:hover {
  background: var(--primary);
  transform: scale(1.3);
}

/* Out of Stock Overlay */
.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8;
  border-radius: 14px;
}

.out-of-stock-overlay span {
  background: #1e293b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}

.time-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  font-size: 10px;
  font-weight: 800;
  color: #15803d;
  padding: 2px 7px;
  border-radius: 5px;
  width: fit-content;
  white-space: nowrap;
}

.rating-star-tag {
  display: inline-flex;
  align-items: center;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid #fde68a;
  white-space: nowrap;
}

.product-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.product-unit-line {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Card Bottom: Pricing & Action */
.card-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid #f8fafc;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price-current {
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1.1;
}

.price-mrp {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
  line-height: 1.1;
}

/* Add to Cart / Quantity Controller Button */
.btn-add-cart {
  background: #f0fdf4;
  border: 1.5px solid #0c831f;
  color: #0c831f;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 8px;
  transition: all 0.18s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px rgba(12, 131, 31, 0.1);
  cursor: pointer;
  white-space: nowrap;
}

.btn-add-cart:hover {
  background: #0c831f;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 131, 31, 0.3);
}

.btn-out-stock {
  background: #f1f5f9;
  color: #94a3b8;
  font-weight: 800;
  font-size: 11px;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: not-allowed;
  border: 1px solid #e2e8f0;
}

.btn-qty-stepper {
  background: linear-gradient(135deg, #0c831f 0%, #086b19 100%) !important;
  box-shadow: 0 3px 10px rgba(12, 131, 31, 0.32) !important;
  border-radius: 9px !important;
}

.qty-counter-btn {
  display: flex;
  align-items: center;
  background: var(--primary);
  border-radius: var(--radius-md);
  color: var(--text-white);
  padding: 2px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(12, 131, 31, 0.3);
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-weight: 900;
  font-size: 16px;
  transition: background var(--transition-fast);
  border-radius: var(--radius-xs);
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.qty-value {
  padding: 0 8px;
  min-width: 22px;
  text-align: center;
  font-size: 13px;
}

/* ==========================================================================
   ADVANCED FILTER & SEARCH SIDEBAR STYLES
   ========================================================================== */

.filter-sidebar-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filter-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip-btn {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-chip-btn:hover, .filter-chip-btn.active {
  background: #f0fdf4;
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   MOBILE STICKY FILTER / SORT BAR & BOTTOM SHEETS
   ========================================================================== */

.mobile-filter-sort-bar {
  display: none;
  position: fixed;
  bottom: var(--bottom-nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  z-index: 850;
  padding: 8px 16px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
  justify-content: space-around;
  align-items: center;
}

.mobile-action-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  flex: 1;
  padding: 6px 0;
}

.mobile-bottom-sheet-content {
  background: var(--bg-white);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  max-height: 80vh;
  overflow-y: auto;
  align-self: flex-end;
  animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 768px) {
  .mobile-filter-sort-bar {
    display: flex;
  }
}

/* ==========================================================================
   PRODUCT DETAILS PAGE (MODERN QUICK-COMMERCE 2-COLUMN LAYOUT)
   ========================================================================== */

.product-detail-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.detail-gallery-container {
  display: flex;
  gap: 16px;
  position: sticky;
  top: 90px;
}

.gallery-thumbnails-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 68px;
  flex-shrink: 0;
}

.gallery-thumb-btn {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  padding: 4px;
  background: #ffffff;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb-btn.active, .gallery-thumb-btn:hover {
  border-color: #0c831f;
  box-shadow: 0 4px 12px rgba(12, 131, 31, 0.25);
  transform: translateY(-2px);
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-main-view {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  height: 420px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.gallery-main-view img {
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-main-view:hover img {
  transform: scale(1.05);
}

.product-info-col {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
}

/* Price Box on Product Details */
.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.detail-price-current {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.detail-price-mrp {
  font-size: 17px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 600;
}

.detail-discount-pill {
  background: #e11d48;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Size / Pack Chips */
.size-selector-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 20px 0;
}

.size-chip-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  font-weight: 700;
  font-size: 13px;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  cursor: pointer;
}

.size-chip-btn.active, .size-chip-btn:hover {
  border-color: #0c831f;
  background: #f0fdf4;
  color: #0c831f;
  box-shadow: 0 2px 8px rgba(12, 131, 31, 0.18);
}

/* Quantity Selector on Details */
.detail-qty-box {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.detail-qty-counter {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
}

.detail-qty-counter button {
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.detail-qty-counter button:hover {
  background: #e2e8f0;
}

.detail-qty-counter span {
  min-width: 36px;
  text-align: center;
  font-weight: 900;
  font-size: 15px;
  color: #0f172a;
}

/* CTA Buttons */
.detail-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-detail-add {
  background: #0c831f;
  border: none;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 131, 31, 0.3);
}

.btn-detail-add:hover {
  background: #096818;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(12, 131, 31, 0.4);
}

.btn-detail-buy {
  background: #0f172a;
  border: none;
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-detail-buy:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35);
}

/* Hide Mobile Sticky Cart and Dock on Desktop */
@media (min-width: 769px) {
  .mobile-bottom-nav,
  .mobile-sticky-cart-bar {
    display: none !important;
  }
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table td {
  padding: 12px 14px;
  font-size: 13px;
}

.specs-table td:first-child {
  width: 35%;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-subtle);
}

.specs-table td:last-child {
  color: var(--text-dark);
  font-weight: 600;
}

/* Rating Progress Breakdown */
.rating-overview-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.rating-score-big {
  font-size: 48px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.rating-progress-wrap {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.rating-progress-bar {
  height: 100%;
  background: #f59e0b;
  border-radius: var(--radius-pill);
}

/* Review Cards */
.review-item-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.reviewer-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  background: #f0fdf4;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   SLIDE-OUT CART DRAWER
   ========================================================================== */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: var(--bg-main);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-slow);
}

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

.drawer-title {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-close-drawer {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-dark);
  font-size: 18px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Free Delivery Meter */
.free-delivery-meter {
  background: #f0fdf4;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.free-del-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.progress-bar-wrap {
  height: 6px;
  background: #dcfce7;
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: width var(--transition-normal);
}

/* Drawer Cart Items */
.cart-items-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 14px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

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

.cart-item-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  padding: 4px;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 2px;
}

.cart-item-unit {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Bill Breakdown Card */
.bill-details-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 16px;
}

.bill-card-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

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

.bill-row.free-tag span:last-child {
  color: var(--primary);
  font-weight: 700;
}

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

.savings-badge-box {
  background: #f0fdf4;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
}

.drawer-footer {
  background: var(--bg-white);
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
}

.btn-proceed-checkout {
  width: 100%;
  background: var(--primary-gradient);
  color: var(--text-white);
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(12, 131, 31, 0.3);
  transition: all var(--transition-fast);
}

.btn-proceed-checkout:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   ADMIN MANAGEMENT DASHBOARD STYLES
   ========================================================================== */

.admin-dashboard-layout {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-nav-tabs {
  display: flex;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
}

.admin-tab-btn {
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--bg-white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th {
  background: #f8fafc;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-color);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

/* ==========================================================================
   PAGE-SPECIFIC STYLES: CHECKOUT, TRACKING, ACCOUNT
   ========================================================================== */

/* Multi-Step Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
}

.checkout-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-step-title {
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.address-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.address-box-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.address-box-card.selected {
  border-color: var(--primary);
  background: #f0fdf4;
}

/* Live Order Tracking */
.tracking-container {
  max-width: 760px;
  margin: 0 auto;
}

.tracking-map-sim {
  height: 240px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.tracking-pulse-rider {
  position: absolute;
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(12, 131, 31, 0.4);
  animation: riderMove 6s infinite alternate ease-in-out;
}

@keyframes riderMove {
  0% { transform: translate(-80px, 20px); }
  100% { transform: translate(80px, -20px); }
}

.tracking-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 36px;
}

.tracking-steps::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--border-color);
}

.track-step-item {
  position: relative;
}

.step-circle {
  position: absolute;
  left: -36px;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.track-step-item.done .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.track-step-item.active .step-circle {
  border-color: var(--primary);
  color: var(--primary);
  animation: pulseAnim 1.5s infinite;
}

/* ==========================================================================
   MODALS, TOASTS & UTILITIES
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 16px;
}

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

.modal-dialog {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  padding: 24px;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

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

/* Toast Notification */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  animation: slideInToast 0.3s ease-out;
}

.toast.toast-success {
  background: var(--primary);
}

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   ACCOUNT DASHBOARD & NAVIGATION
   ========================================================================== */

.account-dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.account-sidebar-menu {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-xs);
}

.account-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.account-menu-item:hover {
  background: #f1f5f9;
  color: var(--primary);
}

.account-menu-item.active {
  background: #f0fdf4;
  color: var(--primary);
  font-weight: 800;
  border-left: 3px solid var(--primary);
}

.account-content-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}

.account-profile-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #064e13 100%);
  border-radius: 20px;
  color: #fff;
  padding: 26px 30px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  box-shadow: 0 10px 30px -4px rgba(12, 131, 31, 0.28);
  position: relative;
  overflow: hidden;
}

.account-profile-info {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.account-profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border: 3px solid rgba(255,255,255,0.85);
  position: relative;
  flex-shrink: 0;
}

.account-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.account-sidebar-help {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px;
  margin-top: 6px;
  text-align: center;
}

/* Order Tracking Page Responsive Grid & Components */
.tracking-header-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.tracking-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.tracking-timeline-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 28px;
}

.tracking-details-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 20px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR — BLINKIT VECTOR ICON DOCK
   ========================================================================== */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05);
  z-index: 990;
  justify-content: space-around;
  align-items: center;
  padding: 0 6px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: #94a3b8;
  padding: 6px 8px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.bottom-nav-icon-wrap svg {
  transition: stroke 0.2s ease, transform 0.2s ease;
}

.bottom-nav-label {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1px;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.bottom-nav-item.active {
  color: #0c831f;
}

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

.bottom-nav-item.active .bottom-nav-icon-wrap svg {
  stroke: #0c831f;
  stroke-width: 2.5;
}

.bottom-nav-item.active .bottom-nav-label {
  color: #0c831f;
  font-weight: 800;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 24px 0;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  margin-bottom: 18px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-dark);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 2px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-slider {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-actions .nav-action-btn:not(.btn-header-cart) {
    display: none;
  }
  .mobile-bottom-nav {
    display: flex;
  }
  .location-selector {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .detail-gallery-container {
    flex-direction: column-reverse;
  }
  .gallery-thumbnails-col {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .product-detail-layout, .checkout-layout, .rating-overview-card {
    grid-template-columns: 1fr;
  }
  #desktop-filter-sidebar {
    display: none;
  }
  div[style*="grid-template-columns: 260px 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .hero-card-main {
    flex-direction: column;
    padding: 24px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-img {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   SECTIONS 25, 26, 27, 28 ADDITIONS: NOTIFICATIONS, REVIEWS & SETTINGS
   ========================================================================== */

/* Notification Dropdown Menu */
.notif-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  z-index: 1000;
  display: none;
  overflow: hidden;
  animation: fadeInDown 0.2s ease-out;
}

.notif-dropdown-menu.open {
  display: block;
}

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

/* Star Rating Selector */
.star-rating-selector .star-btn {
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.star-rating-selector .star-btn:hover {
  transform: scale(1.2);
}

.star-rating-selector .star-btn.active {
  color: #f59e0b;
}

/* Vertical Visual Timeline (Section 15) */
.vertical-visual-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
}

.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.timeline-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  flex-shrink: 0;
}

.timeline-row.completed .timeline-node {
  background: #f0fdf4;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.timeline-row.active .timeline-node {
  background: var(--primary);
  border: 2px solid var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(12, 131, 31, 0.2);
  animation: pulseAnim 1.4s infinite;
}

.timeline-row.pending .timeline-node {
  background: var(--bg-subtle);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
}

.timeline-label-wrap {
  padding-top: 4px;
}

.timeline-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.timeline-row.completed .timeline-title {
  color: var(--text-dark);
}

.timeline-row.active .timeline-title {
  color: var(--primary);
  font-size: 16px;
}

.timeline-row.pending .timeline-title {
  color: var(--text-muted);
}

.timeline-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

.timeline-sub-done {
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

.timeline-arrow-row {
  padding-left: 10px;
  margin: 4px 0;
}

.timeline-arrow {
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

/* ==========================================================================
   MOBILE RESPONSIVE SYSTEM (SCREENS <= 768px & <= 480px)
   ========================================================================== */

/* Universal Responsive Layout Utilities */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.layout-sidebar-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.layout-cart-grid,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
}

.layout-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.layout-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.layout-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .layout-sidebar-grid {
    grid-template-columns: 220px 1fr;
    gap: 16px;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .layout-4col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: auto;
  }

  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  body {
    padding-bottom: 80px;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100vw !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .main-content {
    padding: 10px 0 40px 0;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .layout-sidebar-grid,
  .layout-cart-grid,
  .checkout-layout,
  .layout-2col-grid,
  .account-dashboard-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 24px !important;
  }

  .account-sidebar-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 2px 8px 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .account-sidebar-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .account-menu-item {
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    height: 35px !important;
    min-height: 35px !important;
    width: auto !important;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    justify-content: center !important;
    border-left: 1px solid #e2e8f0 !important;
  }

  .account-menu-item.active {
    background: #0c831f !important;
    color: #ffffff !important;
    border-color: #0c831f !important;
    border-left: 1px solid #0c831f !important;
    box-shadow: 0 2px 6px rgba(12,131,31,0.25) !important;
  }

  .account-content-card {
    padding: 15px 13px !important;
    border-radius: 14px !important;
  }

  .account-profile-banner {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    gap: 12px !important;
  }

  .account-profile-info {
    gap: 12px !important;
    width: 100% !important;
  }

  .account-profile-avatar {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    font-size: 22px !important;
  }

  .account-profile-avatar span {
    font-size: 9px !important;
    padding: 1px 4px !important;
  }

  .account-profile-name {
    font-size: 18px !important;
  }

  .account-profile-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
  }

  .account-form-2col {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .account-sidebar-help {
    display: none !important;
  }

  .account-mobile-help {
    display: block !important;
    margin-top: 20px !important;
  }

  .tracking-header-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    gap: 12px !important;
  }

  .tracking-main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .tracking-timeline-card {
    padding: 20px 14px !important;
    border-radius: 14px !important;
  }

  .tracking-details-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .layout-4col-grid,
  .category-page-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .category-page-banner {
    height: 110px !important;
  }

  .category-page-body {
    padding: 10px 8px !important;
  }

  .category-page-title {
    font-size: 13px !important;
  }

  .cat-subchip {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }

  .category-page-footer-link {
    font-size: 11px !important;
  }

  .filter-sidebar-box {
    display: none !important;
  }

  /* 1. Header Mobile Layout */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 990;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    background: #ffffff;
  }

  .header-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 8px 12px 6px 12px !important;
    gap: 8px !important;
    min-height: auto !important;
  }

  .header-main-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .header-left-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .header-divider {
    display: none !important;
  }

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

  .brand-logo-img {
    max-height: 38px !important;
    max-width: 150px !important;
    object-fit: contain !important;
  }

  .logo-icon-box {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }

  .logo-brand-name {
    font-size: 16px !important;
    white-space: nowrap !important;
  }

  .location-selector {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
  }

  .loc-delivery-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
  }

  .loc-delivery-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
  }

  .loc-delivery-eta {
    font-size: 12.5px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
  }

  .loc-address-row {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    margin-top: 1px !important;
  }

  .loc-address-row .loc-address {
    font-size: 10px !important;
    color: #64748b !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 110px !important;
    line-height: 1.1 !important;
  }

  .loc-chevron-svg {
    width: 10px !important;
    height: 10px !important;
    flex-shrink: 0 !important;
  }

  .header-mobile-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn-mobile-action-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #d2d2d2 !important;
    color: #0f172a !important;
    border: none !important;
    cursor: pointer !important;
  }

  .btn-mobile-cart-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: var(--cart-btn-radius, 10px) !important;
    background: var(--cart-btn-bg, var(--primary, #0c831f)) !important;
    color: var(--cart-btn-text, #ffffff) !important;
    border: none !important;
    position: relative !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  }

  .btn-mobile-cart-top .mobile-cart-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: var(--cart-badge-bg, var(--accent, #f59e0b)) !important;
    color: var(--cart-badge-text, #0f172a) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }

  .header-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .search-input-wrapper {
    height: 42px !important;
    border-radius: 12px !important;
    background: #f1f5f9 !important;
    padding: 0 12px !important;
    gap: 8px !important;
    border: 1px solid transparent !important;
  }

  .search-input-wrapper:focus-within {
    background: #ffffff !important;
    border-color: #0c831f !important;
  }

  .search-input {
    font-size: 13px !important;
  }

  .header-actions {
    display: none !important;
  }

  /* Subheader Categories Horizontal Pills */
  .subheader-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid #f1f1f1;
  }

  .subheader-nav::-webkit-scrollbar {
    display: none;
  }

  .pill-scroll-btn {
    display: none;
  }

  .categories-pills {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    padding: 6px 2px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .categories-pills::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .cat-pill {
    padding: 6px 13px;
    font-size: 11.5px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 2. Hero Banners on Mobile */
  .hero-banner-section {
    margin-bottom: 20px;
  }

  .hero-slider {
    flex-direction: column;
    gap: 10px;
  }

  .hero-card-main {
    flex-direction: column;
    padding: 16px 14px;
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .hero-card-main .hero-title {
    font-size: 22px;
  }

  .hero-card-main .hero-desc {
    font-size: 12px;
  }

  .hero-side-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .promo-mini-card {
    padding: 12px;
    border-radius: var(--radius-md);
  }

  .promo-mini-card h4 {
    font-size: 13px;
  }

  .promo-mini-card p {
    font-size: 11px;
  }

  /* 3. Category Grid on Mobile (4 Columns or Horizontal Scroll) */
  .category-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px 8px !important;
  }

  .category-card {
    padding: 8px 4px;
  }

  .cat-img-box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin-bottom: 6px;
  }

  .cat-name {
    font-size: 11px;
    font-weight: 700;
  }

  /* 4. Product Cards 2-Column Mobile Grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 8px !important;
  }

  .product-card {
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-img-container {
    height: 125px;
    margin-bottom: 6px;
  }

  .card-img-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-img-wrap img {
    max-height: 115px;
    object-fit: contain;
  }

  .time-tag {
    font-size: 9px;
    padding: 2px 6px;
  }

  .product-title {
    font-size: 12px;
    height: 32px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0;
  }

  .card-rating-row {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .price-current {
    font-size: 14px;
    font-weight: 900;
  }

  .price-mrp {
    font-size: 11px;
  }

  .btn-add-cart {
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 900;
    border-radius: 6px;
    min-width: 60px;
  }

  .cart-stepper {
    height: 28px;
  }

  .cart-stepper button {
    width: 24px;
    font-size: 14px;
  }

  .cart-stepper span {
    font-size: 12px;
    min-width: 18px;
  }

  /* 5. Product Details Layout on Mobile */
  .product-detail-page-container {
    padding: 8px 12px !important;
  }

  .product-detail-layout {
    flex-direction: column;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }

  .detail-gallery-container {
    flex-direction: column-reverse;
    gap: 8px;
    position: static !important;
  }

  .gallery-thumbnails-col {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 4px;
    gap: 8px;
  }

  .gallery-thumb-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .gallery-main-view {
    min-height: 200px !important;
    max-height: 260px !important;
    padding: 12px !important;
    border-radius: 14px !important;
  }

  .gallery-main-view img {
    max-height: 220px !important;
  }

  .product-info-col {
    padding: 14px 16px !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }

  .detail-product-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }

  .detail-price-box, .detail-price-card {
    padding: 10px 14px !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
  }

  .detail-price-current, .detail-main-price-val {
    font-size: 26px !important;
  }

  .detail-action-buttons {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px 16px;
    border-top: 1px solid #e2e8f0;
    z-index: 995;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    display: flex;
    gap: 10px;
  }

  .btn-detail-add, .btn-detail-buy {
    flex: 1;
    padding: 12px;
    font-size: 13px;
  }

  /* 6. Mobile Bottom Navigation Dock */
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
    gap: 3px;
    flex: 1;
    height: 100%;
    transition: color 0.15s ease;
  }

  .bottom-nav-item .bottom-nav-icon {
    font-size: 20px;
    line-height: 1;
  }

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

  .bottom-nav-item.active .bottom-nav-icon {
    transform: scale(1.1);
  }

  /* 7. Mobile Sticky Floating Cart Strip */
  .mobile-sticky-cart-bar {
    position: fixed;
    bottom: 68px;
    left: 12px;
    right: 12px;
    background: #0c831f;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 998;
    box-shadow: 0 8px 24px rgba(12, 131, 31, 0.45);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
  }

  @keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  /* Cart Drawer on Mobile */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0;
  }

  /* Modals on Mobile (Location, Login, Address, Razorpay) */
  .modal-dialog {
    width: 94% !important;
    max-width: 94% !important;
    margin: auto !important;
    border-radius: 18px !important;
    padding: 20px 16px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }

  /* Checkout Flow on Mobile */
  .checkout-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .address-select-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .checkout-step-title {
    font-size: 15px !important;
  }

  /* Account Dashboard on Mobile */
  .account-dashboard-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .account-sidebar-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 2px 8px 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    position: static !important;
  }

  .account-sidebar-menu::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  .account-menu-item {
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    height: 35px !important;
    min-height: 35px !important;
    width: auto !important;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    justify-content: center !important;
  }

  .account-menu-item.active {
    background: #0c831f !important;
    color: #ffffff !important;
    border-color: #0c831f !important;
    box-shadow: 0 2px 6px rgba(12,131,31,0.25) !important;
  }

  .account-content-card {
    padding: 15px 13px !important;
    border-radius: 14px !important;
  }

  /* Live Search Dropdown on Mobile */
  .live-search-results-dropdown {
    position: fixed !important;
    top: 100px !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-height: 75vh !important;
    border-radius: 16px !important;
    z-index: 1000 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  }

  /* Footer on Mobile */
  .site-footer {
    display: none; /* Hide heavy desktop footer on mobile */
  }

  /* =========================================================
     BLINKIT APP-QUALITY MOBILE ENHANCEMENTS
     ========================================================= */

  /* --- Container tighter padding on mobile --- */
  .container {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .main-content {
    padding: 8px 0 30px 0;
  }

  /* --- Hero Banner Mobile --- */
  .hero-banner-section {
    margin-bottom: 16px !important;
  }

  .hero-slider {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    grid-template-columns: 1fr !important;
  }

  .hero-card-main {
    flex-direction: column !important;
    padding: 18px 16px !important;
    min-height: auto !important;
    border-radius: 16px !important;
    gap: 14px;
  }

  .hero-content {
    max-width: 100% !important;
  }

  .hero-card-main .hero-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }

  .hero-card-main .hero-desc {
    font-size: 12px !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
  }

  .hero-card-main .hero-badge {
    font-size: 10px !important;
    padding: 3px 10px !important;
    margin-bottom: 10px !important;
  }

  .hero-card-main .hero-btn {
    font-size: 13px !important;
    padding: 10px 20px !important;
  }

  .hero-image-wrap {
    display: none !important;
  }

  .hero-side-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .promo-mini-card {
    padding: 12px 10px !important;
    border-radius: 12px !important;
    flex-direction: column !important;
    gap: 4px;
  }

  .promo-mini-card h4 {
    font-size: 13px !important;
  }

  .promo-mini-card p {
    font-size: 10px !important;
    margin-bottom: 6px !important;
  }

  .promo-mini-card a {
    font-size: 11px !important;
  }

  .promo-mini-card > div:last-child {
    font-size: 28px !important;
    position: absolute;
    top: 8px;
    right: 8px;
    opacity: 0.3;
  }

  /* --- Section Headers Mobile --- */
  .section-header {
    margin-bottom: 12px !important;
    flex-wrap: wrap;
    gap: 4px 8px !important;
  }

  .section-title {
    font-size: 17px !important;
    font-weight: 900 !important;
  }

  .section-title span {
    font-size: 16px !important;
  }

  .section-link,
  .section-header a {
    font-size: 13px !important;
  }

  /* --- Category Grid Mobile (4 cols, smaller) --- */
  .blinkit-home-cat-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px 6px !important;
    margin-bottom: 20px !important;
  }

  .blinkit-cat-box {
    border-radius: 14px !important;
  }

  .blinkit-cat-label {
    font-size: 10px !important;
    margin-top: 4px !important;
    line-height: 1.3 !important;
  }

  .duo-img {
    max-height: 40px !important;
  }

  .blinkit-single-cat-img {
    max-height: 100% !important;
  }

  /* --- Product Slider Cards Mobile (Blinkit compact style) --- */
  .product-slider-container {
    margin-bottom: 24px !important;
  }

  .product-slider-wrapper {
    position: relative;
    width: 100%;
  }

  .product-slider-track {
    gap: 12px !important;
    padding: 4px 14px 16px 14px !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    width: calc(100% + 28px) !important;
    scroll-padding-left: 14px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .product-slider-track .product-card {
    flex: 0 0 155px !important;
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    padding: 10px 10px 12px 10px !important;
    border-radius: 14px !important;
    border: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
  }

  .product-slider-track .product-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .product-slider-track .product-card .card-img-container {
    height: 110px !important;
    margin-bottom: 6px !important;
    border-radius: 10px !important;
  }

  .product-slider-track .product-card .card-img-wrap img {
    max-height: 95px !important;
  }

  .product-slider-track .product-card .card-meta-row {
    margin-bottom: 4px !important;
  }

  .product-slider-track .product-card .time-tag {
    font-size: 9px !important;
    padding: 1.5px 5px !important;
    border-radius: 4px !important;
  }

  .product-slider-track .product-card .rating-star-tag {
    font-size: 9.5px !important;
    padding: 1.5px 4px !important;
    border-radius: 4px !important;
  }

  .product-slider-track .product-card .product-title {
    font-size: 12px !important;
    height: 32px !important;
    margin: 2px 0 3px 0 !important;
    line-height: 1.3 !important;
    -webkit-line-clamp: 2 !important;
    font-weight: 700 !important;
  }

  .product-slider-track .product-card .product-unit-line {
    font-size: 11px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  .product-slider-track .product-card .card-bottom {
    padding-top: 6px !important;
  }

  .product-slider-track .product-card .price-current {
    font-size: 14px !important;
  }

  .product-slider-track .product-card .price-mrp {
    font-size: 10.5px !important;
  }

  .product-slider-track .product-card .btn-add-cart {
    padding: 5px 12px !important;
    font-size: 11px !important;
    border-radius: 7px !important;
    min-width: 50px !important;
  }

  .product-slider-track .product-card .card-badges {
    top: 6px !important;
    left: 6px !important;
    right: 6px !important;
  }

  .product-slider-track .product-card .card-btn-wishlist {
    width: 26px !important;
    height: 26px !important;
    font-size: 12px !important;
  }

  .product-slider-track .product-card .badge-discount-ribbon {
    font-size: 9px !important;
    padding: 2px 5px !important;
  }

  /* --- Flash Deals Mobile --- */
  .flash-deals-box {
    border-radius: 14px !important;
    padding: 14px 12px !important;
    margin-bottom: 18px !important;
  }

  .flash-header {
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .flash-badge-pulse {
    font-size: 11px !important;
  }

  .flash-header h2 {
    font-size: 16px !important;
  }

  .flash-timer-display {
    font-size: 12px !important;
  }

  .timer-digit-box {
    min-width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  /* --- Promo Banners Grid Mobile --- */
  .promo-banners-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .promo-banner-card {
    min-height: 120px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  .promo-banner-card .promo-banner-title {
    font-size: 16px !important;
  }

  .promo-banner-card .promo-banner-subtitle {
    font-size: 11px !important;
  }

  .promo-banner-card .promo-banner-img-wrap img {
    width: 80px !important;
    max-width: 80px !important;
    height: 80px !important;
    max-height: 80px !important;
    border-radius: 12px !important;
  }

  /* --- Bottom Nav Dock Premium --- */
  .mobile-bottom-nav {
    display: flex !important;
    height: 58px !important;
    border-top: 1px solid #f1f5f9 !important;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.05) !important;
    background: #ffffff !important;
    padding: 0 4px !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
    z-index: 990 !important;
  }

  .bottom-nav-item {
    font-size: 10.5px !important;
    gap: 3px !important;
    color: #363636 !important;
    font-weight: 700 !important;
    padding: 4px 6px !important;
  }

  .bottom-nav-item.active {
    color: #0c831f !important;
    font-weight: 800 !important;
  }

  .bottom-nav-icon-wrap svg {
    width: 22px !important;
    height: 22px !important;
  }

  .bottom-nav-item.active .bottom-nav-icon-wrap svg {
    stroke: #0c831f !important;
    stroke-width: 2.5 !important;
  }


  /* --- Floating Cart Bar Premium --- */
  .mobile-sticky-cart-bar {
    bottom: 62px !important;
    left: 10px !important;
    right: 10px !important;
    background: #0c831f !important;
    border-radius: 14px !important;
    padding: 10px 16px !important;
    box-shadow: 0 6px 20px rgba(12, 131, 31, 0.4) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* --- Cart Drawer Full Width --- */
  .cart-drawer {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
  }

  /* --- Modals Full Width --- */
  .modal-dialog {
    width: 96% !important;
    max-width: 96% !important;
    border-radius: 16px !important;
    padding: 18px 14px !important;
  }

  /* --- Product Grid Page (2 cols tight) --- */
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .product-card {
    padding: 8px !important;
    border-radius: 12px !important;
  }

  .card-img-container {
    height: 110px !important;
    margin-bottom: 4px !important;
  }

  .product-title {
    font-size: 12px !important;
    margin: 3px 0 !important;
  }

  .price-current {
    font-size: 14px !important;
  }

  .btn-add-cart {
    padding: 5px 12px !important;
    font-size: 11px !important;
    border-radius: 6px !important;
  }

  /* --- Smooth scroll for all sliders --- */
  .product-slider-track,
  .categories-pills,
  .categories-pills-track {
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
  }

  /* --- Location Modal Mobile --- */
  .location-modal-dialog {
    width: 100% !important;
    max-width: 100% !important;
    height: 85vh !important;
    border-radius: 16px 16px 0 0 !important;
    bottom: 0 !important;
    top: auto !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
  .mobile-sticky-cart-bar {
    display: none !important;
  }
}

/* ==========================================================================
   AUTHENTIC BLINKIT CATEGORY DIRECTORY & DUO-PRODUCT CARDS
   ========================================================================== */

.blinkit-categories-container {
  width: 100%;
}

.blinkit-dept-tabs-wrapper {
  position: sticky;
  top: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
  padding: 10px 0;
  z-index: 40;
  margin-bottom: 20px;
}

.blinkit-dept-tabs-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px;
}

.blinkit-dept-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.blinkit-dept-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.blinkit-dept-tab:hover {
  border-color: #0c831f;
  color: #0c831f;
  background: #f0fdf4;
}

.blinkit-dept-tab.active {
  background: #0c831f !important;
  border-color: #0c831f !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(12, 131, 31, 0.25);
}

.blinkit-dept-tab.active .dept-tab-icon {
  filter: brightness(1.2);
}

.blinkit-dept-tab .dept-tab-icon {
  font-size: 16px;
}

.blinkit-section-heading {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin: 28px 0 16px 0;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 4-Column Grid on Mobile / Up to 8 Columns on Large Desktop */
.blinkit-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 14px;
}

@media (min-width: 768px) {
  .blinkit-cat-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 16px;
  }
}

@media (min-width: 1024px) {
  .blinkit-cat-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 22px 18px;
  }
}

/* Blinkit Homepage Category Grid (Adaptive 10-Col for All, 8-Col for 8 Items) */
.blinkit-home-cat-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 16px 12px;
  margin-bottom: 36px;
}

.blinkit-home-cat-grid.blinkit-grid-8 {
  grid-template-columns: repeat(8, 1fr);
  gap: 16px 14px;
}

@media (max-width: 1200px) {
  .blinkit-home-cat-grid,
  .blinkit-home-cat-grid.blinkit-grid-8 {
    grid-template-columns: repeat(8, 1fr);
    gap: 14px 10px;
  }
}

@media (max-width: 992px) {
  .blinkit-home-cat-grid,
  .blinkit-home-cat-grid.blinkit-grid-8 {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
  }
}

@media (max-width: 600px) {
  .blinkit-home-cat-grid,
  .blinkit-home-cat-grid.blinkit-grid-8 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px 6px;
  }
}

@media (max-width: 380px) {
  .blinkit-home-cat-grid,
  .blinkit-home-cat-grid.blinkit-grid-8 {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 4px;
  }
}

/* Official Blinkit Category Tile Cards (Matching Blinkit Mobile/Web Native Spec) */
.blinkit-official-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  border-radius: 18px;
}

.blinkit-official-cat-card:hover {
  transform: translateY(-5px);
}

.blinkit-official-cat-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blinkit-official-cat-card:hover .blinkit-official-cat-img {
  box-shadow: 0 12px 26px -4px rgba(15, 23, 42, 0.14);
}

/* Premium Modern Quick-Commerce Category Cards */
.blinkit-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.blinkit-cat-card:hover {
  transform: translateY(-4px);
}

/* Category Image Container Card (Matching Blinkit Native Soft Pastel Rounded Boxes) */
.blinkit-cat-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #edf4ff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.blinkit-cat-card:hover .blinkit-cat-box {
  box-shadow: 0 10px 24px -3px rgba(12, 131, 31, 0.2);
  transform: translateY(-2px);
}

/* Floating Emoji Micro-Badge */
.blinkit-cat-icon-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease;
}

.blinkit-cat-card:hover .blinkit-cat-icon-badge {
  transform: scale(1.15) rotate(5deg);
}

/* High-Definition Category Photo & Packshot */
.blinkit-single-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.blinkit-cat-card:hover .blinkit-single-cat-img {
  transform: scale(1.06);
}

/* Subtle Glow on Hover */
.blinkit-cat-overlay {
  display: none;
}

/* Category Label */
.blinkit-cat-label {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.2px;
  max-width: 100%;
  word-break: break-word;
  min-height: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: color 0.18s ease, font-weight 0.18s ease;
}

.blinkit-cat-card:hover .blinkit-cat-label {
  color: var(--primary, #0c831f);
  font-weight: 800;
}

/* ==========================================================================
   FLOATING BOTTOM CART PILL (As in Screenshot)
   ========================================================================== */

.blinkit-floating-bottom-cart {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--primary, #0c831f);
  color: #ffffff;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(12, 131, 31, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: slideUpFloat 0.3s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .blinkit-floating-bottom-cart {
    bottom: 74px !important;
    max-width: 90%;
  }
}

.cart-drawer-backdrop.open ~ #mobile-sticky-cart,
.modal-backdrop.open ~ #mobile-sticky-cart,
body:has(#cart-drawer-overlay.open) #mobile-sticky-cart,
body:has(.modal-backdrop.open) #mobile-sticky-cart {
  display: none !important;
}

.blinkit-floating-bottom-cart:hover {
  transform: translateX(-50%) scale(1.03);
  box-shadow: 0 14px 36px rgba(12, 131, 31, 0.55);
}

.floating-cart-thumbs {
  display: flex;
  align-items: center;
  margin-right: -6px;
}

.floating-cart-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.floating-cart-thumb:first-child {
  margin-left: 0;
}

.floating-cart-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.floating-cart-title {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
}

.floating-cart-subtitle {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.floating-cart-arrow {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
}

@keyframes slideUpFloat {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ─────────────────────────────────────────────────────────────
   SUBHEADER CATEGORY PILL BAR (SMOOTH HORIZONTAL SCROLL)
───────────────────────────────────────────────────────────── */
.subheader-nav {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 0px 0;
  position: relative;
  width: 100%;
}

.subheader-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}

.categories-pills-track {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.categories-pills-track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

.categories-pills-track::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(to left, #ffffff 30%, rgba(255, 255, 255, 0));
  z-index: 2;
  pointer-events: none;
}

.categories-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  padding: 3px 8px;
  width: 100%;
  white-space: nowrap;
}

.categories-pills::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Brave */
  width: 0;
  height: 0;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 15px;
  border-radius: 999px;
  border: 1.5px solid #818181;
  background: #ffffff;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  user-select: none;
}

.cat-pill:hover {
  border-color: #0c831f;
  color: #0c831f;
  background: #f0fdf4;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(12, 131, 31, 0.12);
}

.cat-pill.active {
  background: #0c831f !important;
  border-color: #0c831f !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(12, 131, 31, 0.28);
}

.pill-scroll-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.18s ease;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
  z-index: 4;
}

.pill-scroll-btn:hover {
  background: #0c831f;
  border-color: #0c831f;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(12, 131, 31, 0.3);
}

@media (max-width: 768px) {
  .subheader-container {
    padding: 0 8px;
    gap: 0;
  }
  .categories-pills-track::before,
  .categories-pills-track::after {
    display: none !important;
  }
  .categories-pills-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  .categories-pills {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 6px;
    padding: 5px 4px 8px 4px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }
  .categories-pills::-webkit-scrollbar {
    display: none !important;
    width: 0;
    height: 0;
  }
  .cat-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .pill-scroll-btn {
    display: none !important;
  }
}

/* ==========================================================================
   MY ORDERS - MODERN REDESIGN & HORIZONTAL STEPPER
   ========================================================================== */

.order-history-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.order-history-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.order-stepper-wrap {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}

.order-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.order-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.order-step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.order-step-node.completed .order-step-icon {
  background: #0c831f;
  border-color: #0c831f;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(12, 131, 31, 0.25);
}

.order-step-node.active .order-step-icon {
  background: #ffffff;
  border-color: #0c831f;
  color: #0c831f;
  border-width: 2.5px;
  box-shadow: 0 0 0 4px rgba(12, 131, 31, 0.15);
  animation: pulseNode 1.8s infinite;
}

@keyframes pulseNode {
  0% { box-shadow: 0 0 0 0 rgba(12, 131, 31, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(12, 131, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 131, 31, 0); }
}

.order-step-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.order-step-node.completed .order-step-label {
  color: #0c831f;
  font-weight: 800;
}

.order-step-node.active .order-step-label {
  color: #0f172a;
  font-weight: 900;
}

.order-step-connector {
  position: absolute;
  top: 16px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.order-step-connector-fill {
  height: 100%;
  background: #0c831f;
  transition: width 0.4s ease;
}

@media (max-width: 600px) {
  .order-step-label {
    font-size: 10px;
  }
  .order-step-icon {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .order-step-connector {
    top: 13px;
  }
}

/* ==========================================================================
   LIVE INSTANT SEARCH DROPDOWN (Blinkit Standard)
   ========================================================================== */
.header-search {
  position: relative;
  flex: 1;
  max-width: 620px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 14px;
  height: 44px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.search-input-wrapper:focus-within {
  background: #ffffff;
  border-color: var(--primary, #0c831f);
  box-shadow: 0 0 0 3px rgba(12, 131, 31, 0.14);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  width: 100%;
  font-family: inherit;
}

.search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.live-search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.2), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  z-index: 9999;
  max-height: 480px;
  overflow-y: auto;
  display: none;
  padding: 12px 0;
  animation: searchSlideDown 0.18s ease forwards;
}

.live-search-results-dropdown.active {
  display: block;
}

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

/* Section Headers */
.live-search-section-header {
  padding: 8px 18px 6px;
}

.live-search-section-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Trending Search Chips */
.live-search-trending-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 18px 14px;
}

.live-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid #e2e8f0;
}

.live-search-chip:hover {
  background: var(--primary-light, #e8f5e9);
  color: var(--primary, #0c831f);
  border-color: var(--primary, #0c831f);
  transform: translateY(-1px);
}

/* Category Quick Rows */
.live-search-cats-section {
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
}

.live-search-cat-list {
  display: flex;
  flex-direction: column;
}

.live-search-cat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  text-decoration: none;
  color: #1e293b;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s ease;
}

.live-search-cat-row:hover {
  background: #f8fafc;
  color: var(--primary, #0c831f);
}

.live-search-cat-icon {
  font-size: 16px;
}

.live-search-cat-name {
  flex: 1;
}

.live-search-cat-arrow {
  color: #94a3b8;
  font-size: 12px;
}

/* Matching Categories Strip */
.live-search-matching-cats {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px 10px;
  border-bottom: 1px solid #f1f5f9;
  overflow-x: auto;
  white-space: nowrap;
}

.live-search-cat-label-mini {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.live-search-match-cat-pill {
  font-size: 11.5px;
  font-weight: 700;
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 4px 10px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.live-search-match-cat-pill:hover {
  background: var(--primary-light, #e8f5e9);
  color: var(--primary, #0c831f);
  border-color: var(--primary, #0c831f);
}

/* Product Item Row */
.live-search-products-list {
  display: flex;
  flex-direction: column;
}

.live-search-prod-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f8fafc;
}

.live-search-prod-item:hover {
  background: #f8fafc;
}

.live-search-prod-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  padding: 2px;
}

.live-search-prod-info {
  flex: 1;
  min-width: 0;
}

.live-search-prod-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.live-search-prod-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 2px;
}

.live-search-prod-rating {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 800;
}

.live-search-prod-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-search-prod-price {
  font-size: 13px;
  font-weight: 900;
  color: #0f172a;
}

.live-search-prod-mrp {
  font-size: 11.5px;
  color: #94a3b8;
  text-decoration: line-through;
}

.live-search-prod-disc {
  font-size: 10.5px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 1px 5px;
  border-radius: 4px;
}

.live-search-prod-action {
  flex-shrink: 0;
}

.btn-live-search-add {
  background: #f0fdf4;
  color: var(--primary, #0c831f);
  border: 1.5px solid var(--primary, #0c831f);
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-live-search-add:hover {
  background: var(--primary, #0c831f);
  color: #ffffff;
  transform: scale(1.04);
}

.live-search-out-stock {
  font-size: 11px;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Footer link */
.live-search-footer {
  padding: 10px 18px 4px;
  border-top: 1px solid #f1f5f9;
  background: #fafafa;
  border-radius: 0 0 16px 16px;
}

.live-search-view-all-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary, #0c831f);
  padding: 4px 0;
  transition: transform 0.15s ease;
}

.live-search-view-all-link:hover {
  transform: translateX(3px);
}

/* No Results */
.live-search-no-results {
  padding: 24px 18px;
  text-align: center;
}

.no-res-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.no-res-text {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.btn-live-search-see-all {
  display: inline-block;
  background: var(--primary, #0c831f);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn-live-search-see-all:hover {
  opacity: 0.9;
}

/* ==========================================================================
   PRODUCT DETAILS TRUST FEATURES CARD (Responsive)
   ========================================================================== */
.product-trust-features-card {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 22px;
}

.trust-feat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}

.trust-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.trust-feat-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.trust-feat-label {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 480px) {
  .product-trust-features-card {
    padding: 10px 12px;
  }
  .trust-feat-row {
    gap: 8px 10px;
  }
  .trust-feat-icon {
    font-size: 14px;
  }
  .trust-feat-label {
    font-size: 11.5px;
    line-height: 1.25;
  }
}

/* ==========================================================================
   BLINKIT QUICK-COMMERCE PRODUCT VARIANT SELECTOR
   ========================================================================== */
.blinkit-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.blinkit-variant-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blinkit-variant-card:hover {
  border-color: var(--primary, #0c831f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12, 131, 31, 0.12);
}

.blinkit-variant-card.active {
  background: #f0fdf4;
  border-color: var(--primary, #0c831f);
  box-shadow: 0 0 0 2px var(--primary, #0c831f), 0 4px 14px rgba(12, 131, 31, 0.18);
}

.blinkit-variant-card.active .variant-card-name {
  color: var(--primary, #0c831f);
}

.variant-card-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.2;
}

.variant-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.variant-card-price {
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
}

.variant-card-mrp {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}

.variant-disc-badge {
  position: absolute;
  top: -8px;
  right: 8px;
  background: #15803d;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 99px;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 4px rgba(21, 128, 61, 0.3);
}

@media (max-width: 480px) {
  .blinkit-variant-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .blinkit-variant-card {
    padding: 8px 10px;
  }
  .variant-card-name {
    font-size: 12px;
  }
  .variant-card-price {
    font-size: 13px;
  }
}

/* ==========================================================================
   FOOTER SOCIAL & TRUST ICONS
   ========================================================================== */
.footer-social-icons-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
  line-height: 1;
  width: auto;
  height: auto;
}

.footer-whatsapp-pill svg {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.footer-whatsapp-pill:hover {
  background: #1eb954;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-btn.btn-wa {
  width: auto !important;
  height: auto !important;
  border-radius: 9999px !important;
  padding: 8px 16px !important;
  gap: 6px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  color: #ffffff;
}

.footer-social-btn.btn-wa:hover {
  background: #1eb954 !important;
  border-color: #1eb954 !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.footer-social-btn.btn-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
  box-shadow: 0 4px 14px rgba(214, 36, 159, 0.4);
}

.footer-social-btn.btn-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.btn-tw:hover {
  background: #000000;
  border-color: #334155;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.footer-social-btn.btn-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

/* ==========================================================================
   PRODUCT DETAIL STICKY BUY BAR (MOBILE ONLY - HIDDEN ON DESKTOP)
   ========================================================================== */
.sticky-buy-bar {
  display: none !important;
}

@media (max-width: 768px) {
  .sticky-buy-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
    justify-content: space-between;
    align-items: center;
    z-index: 995;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.09);
  }

  .sticky-buy-bar .sticky-price-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .sticky-buy-bar .sticky-eta-label {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .sticky-buy-bar .sticky-price-val {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.4px;
  }

  .sticky-buy-bar .btn-sticky-add {
    background: #0c831f;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(12, 131, 31, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
  }

  .sticky-buy-bar .btn-sticky-add:active {
    transform: scale(0.96);
    background: #096a18;
  }
}

/* ==========================================================================
   CENTRAL FLOATING WHATSAPP SUPPORT BUTTON (STOREFRONT)
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #25d366;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none !important;
  font-weight: 800;
  font-size: 13.5px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  background: #20ba5a;
  color: #ffffff !important;
}

.floating-wa-btn svg {
  flex-shrink: 0;
}

.floating-wa-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 9999px;
  border: 2px solid #25d366;
  animation: floating-wa-ring 2.2s infinite cubic-bezier(0.25, 0, 0, 1);
  pointer-events: none;
}

@keyframes floating-wa-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.28);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .floating-wa-btn {
    bottom: 74px; /* above mobile footer tab bar */
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  }
  .floating-wa-text {
    display: none;
  }
}

