/* ==========================================================================
   Tazi Tokari (ताज़ी टोकरी) - Design System & Modern CSS
   Brand Palette: Rich Emerald (#15803d), Fresh Lime (#22c55e), Farm Amber (#f59e0b)
   ========================================================================== */

:root {
  /* Colors */
  --primary: #15803d;
  --primary-hover: #166534;
  --primary-dark: #0b3d1f;
  --primary-light: #22c55e;
  --primary-subtle: #dcfce7;
  --accent-amber: #f59e0b;
  --accent-amber-light: #fef3c7;
  --accent-red: #ef4444;
  --accent-red-subtle: #fee2e2;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebd5a;

  /* Neutrals */
  --bg-page: #f8faf8;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f1;
  --text-main: #132a1e;
  --text-muted: #5c7365;
  --text-light: #8da496;
  --border-color: #e5ede5;
  --border-focus: #15803d;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hindi: 'Outfit', 'Rozha One', sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(19, 42, 30, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(19, 42, 30, 0.07);
  --shadow-md: 0 10px 15px -3px rgba(19, 42, 30, 0.09);
  --shadow-lg: 0 20px 25px -5px rgba(19, 42, 30, 0.12);
  --shadow-glow: 0 10px 30px -5px rgba(34, 197, 94, 0.35);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   Utility Classes & Buttons
   ========================================================================== */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #166534 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1ebe5d 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ae772 0%, #25d366 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-announcement {
  background: linear-gradient(90deg, #09371c 0%, #0d4a25 50%, #09371c 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 60;
}

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

.announcement-badge {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fef08a;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.announcement-text {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

.coupon-tag {
  background: #fef08a;
  color: #09371c;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 800;
  font-family: monospace;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.announcement-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.delivery-time-pill {
  color: #86efac;
  font-weight: 600;
  font-size: 0.82rem;
}

.close-announcement {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0 4px;
}

.close-announcement:hover {
  color: #fff;
}

/* ==========================================================================
   Location Deliverability Bar (Non-blocking)
   ========================================================================== */
.location-delivery-bar {
  background: #f0fdf4;
  color: #166534;
  border-bottom: 1px solid #bbf7d0;
  padding: 7px 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 55;
  transition: all 0.3s ease;
}

.location-delivery-bar.deliverable {
  background: #ecfdf5;
  border-bottom-color: #a7f3d0;
}

.location-delivery-bar.not-deliverable {
  background: #fef2f2;
  border-bottom-color: #fecaca;
  color: #991b1b;
}

.loc-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.loc-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-grow: 1;
}

.loc-bar-pin-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.loc-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.loc-bar-title {
  font-weight: 700;
  color: #15803d;
}

.loc-bar-desc {
  color: #374151;
}

.loc-bar-desc strong {
  color: #111827;
}

.loc-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.loc-gps-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

.loc-gps-btn:hover {
  background: #16a34a;
  transform: translateY(-1px);
}

.loc-check-btn {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #166534;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #86efac;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.loc-check-btn:hover {
  background: #dcfce7;
  border-color: #15803d;
}

.loc-bar-close {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  margin-left: 4px;
}

.loc-bar-close:hover {
  color: #111827;
}

/* Pulsing dot for GPS */
.gps-pulse-dot {
  width: 8px;
  height: 8px;
  background: #15803d;
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.gps-pulse-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.7);
  animation: gpsPulse 1.5s infinite;
}

@keyframes gpsPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

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

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #86efac;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.18);
  background: #ffffff;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06) rotate(3deg);
}

.footer-logo-img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #22c55e;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-subtle) 0%, #bbf7d0 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(21, 128, 61, 0.2);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-leaf {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 0.9rem;
  animation: leafFloat 3s ease-in-out infinite;
}

@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(8deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

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

/* Location Picker */
.location-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.location-picker:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

.loc-pin-icon {
  font-size: 1.1rem;
}

.loc-text-wrap {
  display: flex;
  flex-direction: column;
}

.loc-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1;
}

.loc-current {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.arrow-down {
  font-size: 0.75rem;
  color: var(--primary);
}

/* Search Bar */
.search-bar-container {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 520px;
  position: relative;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-box input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.search-input-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 2px 6px;
  line-height: 1;
}

.clear-search-btn:hover {
  color: var(--accent-red);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-height: 380px;
  overflow-y: auto;
  z-index: 100;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background var(--transition-fast);
}

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

.suggestion-item:hover {
  background: var(--primary-subtle);
}

.suggestion-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.suggestion-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.suggestion-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--primary);
}

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

.whatsapp-btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f9ed;
  border: 1px solid #a7f3d0;
  color: #15803d;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.whatsapp-btn-header:hover {
  background: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

.cart-trigger-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, #166534 100%);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.3);
  transition: all var(--transition-fast);
}

.cart-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.4);
}

.cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-emoji {
  font-size: 1.3rem;
}

.cart-counter-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-amber);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-counter-badge.bump {
  transform: scale(1.4);
}

.cart-btn-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.cart-btn-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 600;
  line-height: 1;
}

.cart-btn-total {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Category Sub-Nav */
.category-nav-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 6px 0;
}

.category-nav-container {
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-container::-webkit-scrollbar {
  display: none;
}

.category-pill-list {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.category-pill-list li {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  background: var(--bg-page);
  border: 1px solid transparent;
}

.category-pill-list li:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.category-pill-list li.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 44px 0 36px;
  background: radial-gradient(circle at top left, #eef9f0 0%, #fbfdfb 50%, #f4faf5 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #166534;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid #bbf7d0;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.feature-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.feature-item small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Clean Brand Image */
.hero-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 10px;
}

.hero-brand-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(21, 128, 61, 0.16));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-brand-img:hover {
  transform: translateY(-6px) scale(1.03);
  filter: drop-shadow(0 28px 45px rgba(21, 128, 61, 0.24));
}

/* Hero Showcase Card */
.hero-showcase-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.showcase-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.deal-tag-float {
  position: absolute;
  top: 26px;
  left: 26px;
  background: var(--accent-red);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  z-index: 2;
}

.showcase-img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.showcase-logo-hero {
  width: 100%;
  height: 330px;
  object-fit: contain;
  background: radial-gradient(circle, #f0fdf4 0%, #ffffff 80%);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: transform 0.5s ease;
}

.hero-showcase-card:hover .showcase-logo-hero {
  transform: scale(1.04);
}

.hero-showcase-card:hover .showcase-img {
  transform: scale(1.02);
}

.showcase-floating-box {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.box-1 {
  bottom: 95px;
  left: 26px;
}

.box-2 {
  top: 30px;
  right: 26px;
}

.box-icon {
  font-size: 1.3rem;
}

.showcase-floating-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.showcase-floating-box strong {
  font-size: 0.85rem;
  color: var(--text-main);
}

.showcase-banner-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.basket-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.basket-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.basket-price del {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}

/* ==========================================================================
   Ticker Bar
   ========================================================================== */
.ticker-bar {
  background: #0f3823;
  color: #bbf7d0;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
}

.ticker-track {
  display: inline-flex;
  gap: 20px;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  margin-bottom: 28px;
}

.section-header.text-center {
  text-align: center;
}

.section-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

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

/* ==========================================================================
   Combos Section
   ========================================================================== */
.section-combos {
  padding: 48px 0 32px;
}

.combos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.combo-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

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

.combo-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.combo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.combo-discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-red);
  color: #fff;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.combo-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.combo-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.combo-items-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.combo-weight-badge {
  display: inline-block;
  background: var(--bg-subtle);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}

.combo-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.combo-price-box {
  display: flex;
  flex-direction: column;
}

.combo-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.combo-mrp {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   Catalog & Products Grid
   ========================================================================== */
.section-products {
  padding: 40px 0 60px;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.custom-select {
  padding: 8px 14px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.custom-select:focus {
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bbf7d0;
}

.card-img-wrap {
  position: relative;
  height: 190px;
  background: #f4f7f4;
  overflow: hidden;
  cursor: pointer;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge-tag-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.tag-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  width: fit-content;
}

.tag-badge.organic {
  background: #15803d;
  color: #fff;
}

.tag-badge.bestseller {
  background: #d97706;
  color: #fff;
}

.tag-badge.seasonal {
  background: #0284c7;
  color: #fff;
}

.tag-badge.discount {
  background: var(--accent-red);
  color: #fff;
}

.quick-view-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(4px);
  transition: all var(--transition-fast);
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-origin {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 4px;
}

.card-hindi-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Variant Weight Selector */
.card-variants {
  margin-bottom: 12px;
}

.variant-select {
  width: 100%;
  padding: 5px 8px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
}

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

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

.current-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.mrp-price {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-top: 2px;
}

/* Quantity Stepper & Add Button */
.card-action-wrap {
  flex-shrink: 0;
}

.btn-add-cart {
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid #86efac;
  transition: all var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 2px 4px;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: background var(--transition-fast);
}

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

.qty-val {
  font-size: 0.86rem;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-color);
  margin-top: 20px;
}

.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 12px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.promise-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.promise-card {
  background: var(--bg-page);
  padding: 26px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-normal);
}

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

.promise-icon-circle {
  width: 60px;
  height: 60px;
  background: var(--primary-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}

.promise-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.promise-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  padding: 60px 0;
  background: radial-gradient(circle at center, #f4faf6 0%, #edf7f0 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.stars {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-meta strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
}

.user-meta small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: #ffffff;
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-arrow {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 18px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
  background: #092615;
  color: #e2ece5;
  padding-top: 50px;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}

.col-brand .brand-title {
  color: #ffffff;
}

.footer-desc {
  color: #9cb5a4;
  margin: 14px 0 18px;
  line-height: 1.6;
  font-size: 0.88rem;
}

.safe-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.safe-badges span {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: #86efac;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary-light);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: #a4beac;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #86efac;
  padding-left: 4px;
}

.newsletter-sub {
  color: #a4beac;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-light);
}

.payment-icons {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.pay-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.82rem;
  color: #8da595;
}

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

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================================================
   Shopping Cart Slide-Over Drawer
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 17, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.cart-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.cart-header-emoji {
  font-size: 1.3rem;
}

.cart-header-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.cart-items-count {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.close-cart-btn {
  font-size: 1.6rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 4px;
}

.close-cart-btn:hover {
  color: var(--accent-red);
}

/* Free Delivery Bar */
.delivery-progress-wrap {
  padding: 10px 20px;
  background: #f0fdf4;
  border-bottom: 1px solid #dcfce7;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: #dcfce7;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #15803d 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Items List */
.cart-items-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

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

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

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.cart-item-weight {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

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

.cart-item-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 2px 4px;
}

.cart-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-qty-btn:hover {
  background: var(--primary);
  color: #fff;
}

.cart-qty-val {
  font-size: 0.82rem;
  font-weight: 800;
  min-width: 14px;
  text-align: center;
}

.empty-cart-view {
  padding: 50px 20px;
  text-align: center;
  margin: auto;
}

.empty-cart-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 10px;
}

.empty-cart-view h4 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.empty-cart-view p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* Cart Footer & Checkout */
.cart-drawer-footer {
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
  max-height: 52vh;
  overflow-y: auto;
}

.coupon-section {
  margin-bottom: 12px;
}

.coupon-input-group {
  display: flex;
  gap: 6px;
}

.coupon-input-group input {
  flex-grow: 1;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1.5px dashed var(--border-color);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
  outline: none;
}

.coupon-input-group input:focus {
  border-color: var(--primary);
}

.coupon-status {
  font-size: 0.78rem;
  margin-top: 4px;
}

.coupon-status.success {
  color: var(--primary);
  font-weight: 700;
}

.coupon-status.error {
  color: var(--accent-red);
}

/* Bill Breakdown */
.bill-summary {
  background: var(--bg-page);
  padding: 12px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  font-size: 0.85rem;
}

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

.bill-savings {
  color: var(--primary);
  font-weight: 600;
}

.free-text {
  color: var(--primary);
  font-weight: 700;
}

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

.bill-grand-total {
  font-size: 1rem;
  color: var(--text-main);
}

.grand-price {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Checkout Inputs */
.checkout-details-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-input-group {
  display: flex;
  gap: 8px;
}

.checkout-details-wrap input {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  outline: none;
}

.checkout-details-wrap input:focus {
  border-color: var(--primary);
}

.slot-select-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slot-select-wrap label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.slot-select {
  width: 100%;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-btn-icon {
  font-size: 1.2rem;
}

/* ==========================================================================
   Modals (Quick View, Order Success, Pincode)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 17, 0.65);
  backdrop-filter: blur(5px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.product-modal,
.order-success-modal,
.pincode-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 210;
  max-width: 580px;
  width: 90%;
  max-height: 88vh;
  overflow-y: auto;
  transition: all var(--transition-normal);
  padding: 24px;
}

.product-modal.active,
.order-success-modal.active,
.pincode-modal.active {
  transform: translate(-50%, -50%) scale(1);
}

.close-modal-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.6rem;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close-modal-btn:hover {
  background: var(--accent-red-subtle);
  color: var(--accent-red);
}

/* Quick View Modal Body */
.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  width: fit-content;
  margin-bottom: 6px;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.2;
}

.modal-hindi {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-mrp {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

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

.modal-nutrition {
  background: var(--bg-page);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.modal-nutrition strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
}

/* Order Success Modal */
.order-success-modal {
  text-align: center;
  max-width: 480px;
}

.success-animation {
  margin: 10px auto 16px;
}

.checkmark-circle {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.success-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.order-id-badge {
  display: inline-block;
  background: var(--primary-subtle);
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.success-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.order-summary-box {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: left;
  font-size: 0.85rem;
  margin-bottom: 20px;
  max-height: 180px;
  overflow-y: auto;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Pincode Modal */
.pincode-modal {
  text-align: center;
  max-width: 460px;
}

.pincode-modal-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 8px;
}

.pincode-modal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pincode-modal-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.pincode-input-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.pincode-input-box input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  outline: none;
}

.pincode-input-box input:focus {
  border-color: var(--primary);
}

.pincode-result {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
  min-height: 20px;
}

.popular-cities-pills small {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.78rem;
}

.pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pills-row span {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pills-row span:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
}

/* Modal GPS Button & Divider */
.btn-gps-modal {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.btn-gps-modal:hover {
  background: linear-gradient(135deg, #166534 0%, #15803d 100%);
  transform: translateY(-1px);
}

.pincode-or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 10px 0 14px;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.pincode-or-divider::before,
.pincode-or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px dashed var(--border-color);
}

.pincode-or-divider span {
  padding: 0 10px;
}

/* Status Badges */
.status-pill-green {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #16a34a;
  border: 1.5px solid #86efac;
  color: #ffffff !important;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.status-pill-red {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #dc2626;
  border: 1.5px solid #fca5a5;
  color: #ffffff !important;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 300;
  pointer-events: none;
}

.toast {
  background: #ffffff;
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideToast 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

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

.toast.removing {
  animation: fadeOutToast 0.3s forwards;
}

@keyframes fadeOutToast {
  to { transform: translateX(100%); opacity: 0; }
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 100;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.float-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-wa-tooltip {
  position: absolute;
  right: 68px;
  left: auto;
  white-space: nowrap;
  background: #092615;
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.floating-whatsapp-btn:hover .float-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 6px 12px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  z-index: 90;
  justify-content: space-around;
  align-items: center;
}

.mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.mob-btn small {
  font-size: 0.68rem;
  font-weight: 700;
  margin-top: 2px;
}

.highlight-cart-mob {
  background: var(--primary);
  color: #ffffff !important;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
}

.mob-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mob-cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--accent-amber);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pill-icon {
  font-family: 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .whatsapp-btn-header span.wa-text {
    display: none;
  }
  .whatsapp-btn-header {
    padding: 8px 10px;
  }
}

@media (max-width: 992px) {
  .main-header {
    position: relative;
    top: auto;
    box-shadow: none;
  }

  .floating-whatsapp-btn {
    display: none;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .main-footer {
    padding-bottom: 70px;
  }

  .header-container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand-logo {
    order: 1;
  }

  .header-actions {
    order: 2;
  }

  .location-picker {
    order: 3;
  }

  .search-bar-container {
    order: 4;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .hero-right {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-header {
    position: relative;
    top: auto;
    box-shadow: none;
  }

  .top-announcement {
    display: none;
  }

  .location-delivery-bar {
    padding: 10px 0;
    font-size: 0.8rem;
  }

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

  .loc-bar-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
  }

  .loc-gps-btn, .loc-check-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.78rem;
    padding: 6px 10px;
  }

  .header-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand-logo {
    order: 1;
  }

  .header-actions {
    order: 2;
  }

  .whatsapp-btn-header {
    display: none;
  }

  .location-picker {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .search-bar-container {
    order: 4;
    max-width: 100%;
    width: 100%;
  }

  .hero-features-grid {
    grid-template-columns: 1fr;
  }

  .modal-product-grid {
    grid-template-columns: 1fr;
  }

  .modal-img {
    height: 180px;
  }

  .mobile-sticky-bar {
    display: flex;
  }

  .floating-whatsapp-btn {
    display: none;
  }

  .main-footer {
    padding-bottom: 70px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card-img-wrap {
    height: 140px;
  }

  .card-title {
    font-size: 0.88rem;
  }

  .card-hindi-title {
    font-size: 0.75rem;
  }

  .current-price {
    font-size: 1rem;
  }

  .btn-add-cart {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}
