/* ==========================================================================
   PINATURA GREEN — TATA ORGANIC INSPIRED DESIGN SYSTEM
   Authentic Earthy Botanical Palette: Forest Green, Turmeric Gold, Warm Parchment
   ========================================================================== */

:root {
  /* Tata Organic Signature Greens */
  --primary: #26522e;            /* Deep botanical leaf green */
  --primary-hover: #1b3d22;      /* Deep forest canopy */
  --primary-light: #eaf4ec;      /* Fresh sprout herbal wash */
  --primary-glow: rgba(38, 82, 46, 0.28);
  
  --forest-deep: #19381e;        /* Deep earthy soil green */
  --forest-dark: #102613;        /* Deepest canopy midnight forest */
  --accent-sprout: #3e7e48;      /* Vibrant organic shoot green */
  
  /* Tata Sampann & Organic India Signature Harvest Golds */
  --accent-gold: #d97706;        /* Golden Turmeric / Saffron Ochre */
  --accent-gold-hover: #b45309;  /* Deep Spice Amber */
  --accent-gold-light: #fef3c7;  /* Soft Warm Turmeric Tint */
  --accent-gold-glow: rgba(217, 119, 6, 0.3);
  
  /* Tata Corporate Trust Blue (For Organic Certification & Seals) */
  --tata-trust-blue: #1e3a8a;
  --tata-trust-light: #dbeafe;
  
  /* Natural Farm-to-Table Canvases (Warm Organic Parchment & Unbleached Kraft) */
  --bg-main: #faf7f0;            /* Warm organic canvas (like unbleached cotton/paper) */
  --bg-secondary: #f3efe4;       /* Warm oat / harvest grain tone */
  --bg-card: #ffffff;            /* Pure clean product presentation */
  --bg-glass: rgba(250, 247, 240, 0.92);
  --bg-glass-dark: rgba(25, 56, 30, 0.94);
  
  /* Rich Earth Charcoal Typography */
  --text-main: #1c241d;          /* Deep rich botanical charcoal */
  --text-muted: #536255;         /* Warm sage-slate */
  --text-light: #839285;         /* Muted herb leaf */
  --text-white: #ffffff;
  
  /* Earthy Borders & Accents */
  --border-light: rgba(212, 203, 185, 0.7);
  --border-organic: rgba(38, 82, 46, 0.18);
  --border-gold: rgba(217, 119, 6, 0.25);
  
  /* Shadows with Anti-Gravity Soft Lift */
  --shadow-sm: 0 2px 8px rgba(28, 36, 29, 0.05);
  --shadow-md: 0 6px 20px rgba(28, 36, 29, 0.08);
  --shadow-lg: 0 16px 36px rgba(25, 56, 30, 0.14);
  --shadow-glow: 0 0 28px rgba(38, 82, 46, 0.22);
  --shadow-gold: 0 8px 24px rgba(217, 119, 6, 0.25);
  --shadow-anti-gravity: 0 20px 40px -15px rgba(25, 56, 30, 0.22);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  transition: var(--transition);
}

input, textarea, select {
  font-family: inherit;
  outline: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text-main);
  transition: var(--transition);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   Anti-Gravity Keyframes & Float Effects
   ========================================================================== */

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes floatSubtle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 15px var(--primary-glow);
  }
  50% {
    box-shadow: 0 0 35px var(--accent-gold-glow);
  }
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(0, 0) scale(1); }
}

.float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.float-subtle {
  animation: floatSubtle 4s ease-in-out infinite;
}

.glow-pulse {
  animation: pulseGlow 3s infinite;
}

/* Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Announcement Bar — Tata Organic Deep Earth Green with Turmeric Pop */
.top-announcement {
  background: linear-gradient(90deg, #102613 0%, #19381e 50%, #102613 100%);
  color: #faf7f0;
  font-size: 0.84rem;
  padding: 9px 16px;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

.top-announcement span.badge-pill {
  background: var(--accent-gold);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* Header & Navigation */
.header-glass {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-organic);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--forest-deep);
  letter-spacing: -0.5px;
}

.site-logo-img {
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.brand-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3e7e48 0%, #19381e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--primary-glow);
  color: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.brand-logo span.highlight {
  color: var(--primary);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  border-radius: var(--radius-full);
}

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

.header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.header-btn-ghost {
  color: var(--text-main);
  background: rgba(243, 239, 228, 0.85);
  border: 1px solid var(--border-light);
}

.header-btn-ghost:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-color: var(--border-organic);
}

.header-btn-cart {
  position: relative;
  background: linear-gradient(135deg, var(--forest-deep) 0%, #102613 100%);
  color: #ffffff;
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(25, 56, 30, 0.25);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.header-btn-cart:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--forest-deep) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

.cart-count-badge {
  background: var(--accent-gold);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

/* User Account Dropdown in Nav */
.user-menu-wrapper {
  position: relative;
}

.user-badge-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
}

.user-badge-btn:hover {
  border-color: var(--primary);
  background: var(--bg-main);
}

.user-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.user-dropdown-card {
  position: absolute;
  top: 120%;
  right: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: none;
  z-index: 110;
  flex-direction: column;
  gap: 6px;
}

.user-dropdown-card.show {
  display: flex;
  animation: floatSubtle 0.2s ease-out;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  width: 100%;
  text-align: left;
}

.user-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.user-dropdown-item.danger:hover {
  background: #fef2f2;
  color: #ef4444;
}

/* ==========================================================================
   Hero Section — Tata Organic Heritage Harvest & Anti-Gravity
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 65px 0 85px 0;
  overflow: hidden;
  background: radial-gradient(circle at 12% 25%, rgba(38, 82, 46, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 88% 75%, rgba(217, 119, 6, 0.08) 0%, transparent 45%),
              var(--bg-main);
}

.hero-orb-1 {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 82, 46, 0.12) 0%, transparent 70%);
  filter: blur(40px);
  animation: orbDrift 12s infinite alternate ease-in-out;
  pointer-events: none;
}

.hero-orb-2 {
  position: absolute;
  bottom: -150px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.1) 0%, transparent 70%);
  filter: blur(50px);
  animation: orbDrift 16s infinite alternate-reverse ease-in-out;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(38, 82, 46, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--forest-deep);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--forest-deep);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, #19381e 0%, #26522e 45%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 540px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #26522e 0%, #19381e 100%);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-anti-gravity);
  transition: var(--transition);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3e7e48 0%, #26522e 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px var(--primary-glow);
}

.btn-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-whatsapp-pill:hover {
  background: #20ba59;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-item h4 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--forest-deep);
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Visual & Anti-Gravity Floating Card */
.hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(25, 56, 30, 0.22);
  border: 1px solid var(--border-organic);
  transition: var(--transition);
}

.hero-main-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-card-content {
  padding: 22px;
  background: #ffffff;
}

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

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-deep);
}

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

/* Floating Badges around hero */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest-deep);
  z-index: 5;
}

.badge-top-left {
  top: -20px;
  left: -20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: 20px;
  right: -25px;
  animation: floatSlow 6.5s ease-in-out infinite reverse;
}

/* ==========================================================================
   Trust / Value Props Bar — Warm Oat Canvas
   ========================================================================== */

.value-props-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 30px 0;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-prop-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.value-prop-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
  border: 1px solid rgba(38, 82, 46, 0.15);
}

.value-prop-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.value-prop-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Catalog Section
   ========================================================================== */

.catalog-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-subtitle {
  color: var(--accent-gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--forest-deep);
  letter-spacing: -0.5px;
}

.catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: var(--transition);
}

.cat-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-tab-btn.active {
  background: linear-gradient(135deg, var(--forest-deep) 0%, var(--primary) 100%);
  color: #ffffff;
  border-color: var(--forest-deep);
  box-shadow: 0 4px 14px rgba(25, 56, 30, 0.25);
}

.search-box-wrapper {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  padding-left: 40px;
  padding-right: 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
}

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

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-organic);
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f7f4eb;
  overflow: hidden;
}

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

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

.product-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent-gold);
  color: #ffffff;
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.35);
}

.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  color: var(--forest-deep);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

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

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rating-stars {
  color: var(--accent-gold);
}

/* Card Variant Selector */
.card-variant-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.variant-pill-btn {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: #f7f4eb;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.variant-pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.variant-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 6px rgba(38, 82, 46, 0.25);
}

/* Sorting select */
.sort-select {
  padding: 9px 16px;
  border-radius: var(--radius-full);
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

/* FAQ item styling */
.faq-item {
  margin-bottom: 16px;
  padding: 14px 18px;
  background: #fbf9f4;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.faq-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

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

.product-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

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

.price-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--forest-deep);
}

.price-compare {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount-tag {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-top: 2px;
}

.btn-add-cart {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
  border: 1px solid var(--border-organic);
}

.btn-add-cart:hover {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ==========================================================================
   Slide-Over Cart Drawer
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 56, 30, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

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

.cart-drawer-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close-btn {
  font-size: 1.3rem;
  color: var(--text-muted);
  padding: 6px;
  border-radius: 8px;
}

.cart-close-btn:hover {
  background: #ffffff;
  color: var(--text-main);
}

/* Free Shipping Meter — Tata Turmeric to Forest Green */
.shipping-meter-box {
  padding: 12px 24px;
  background: #fef9ee;
  border-bottom: 1px solid #fde68a;
}

.shipping-meter-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meter-track {
  width: 100%;
  height: 6px;
  background: #fef3c7;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f7f4eb;
  flex-shrink: 0;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-deep);
}

.cart-item-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #ffffff;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-main);
  background: #fbf9f4;
}

.qty-btn:hover {
  background: #ede6d6;
}

.qty-display {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-remove-btn {
  color: #94a3b8;
  font-size: 0.85rem;
}

.cart-item-remove-btn:hover {
  color: #ef4444;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty-state svg {
  margin-bottom: 14px;
  color: #cbd5e1;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-main);
}

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

.cart-summary-row.total {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--forest-deep);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
}

.btn-checkout-primary, .btn-checkout-whatsapp {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #19381E 0%, #26522E 100%);
  color: #ffffff;
  padding: 15px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(25, 56, 30, 0.3);
  margin-top: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-checkout-primary:hover, .btn-checkout-whatsapp:hover {
  background: linear-gradient(135deg, #26522E 0%, #19381E 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(25, 56, 30, 0.45);
}

/* Payment Method Selection Cards */
.payment-methods-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 18px 0;
}

.payment-method-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.payment-method-card:hover {
  border-color: var(--primary);
  background: #fdfcf9;
}

.payment-method-card.active {
  border-color: var(--forest-deep);
  background: #fbf9f4;
  box-shadow: 0 4px 12px rgba(25, 56, 30, 0.08);
}

.payment-method-radio {
  margin-top: 3px;
  accent-color: var(--forest-deep);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.payment-method-info {
  flex: 1;
}

.payment-method-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.payment-badge-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  background: #FEF3C7;
  color: #B45309;
}

.payment-badge-tag.cod {
  background: #DCFCE7;
  color: #15803D;
}

.payment-method-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.4;
}

.checkout-note-prompt {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ==========================================================================
   Modals (Auth, Product Details, Order Confirmation, User Account)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 56, 30, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  padding: 30px;
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text-muted);
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-main);
}

.modal-close-btn:hover {
  background: #ede6d6;
  color: var(--text-main);
}

/* Auth Modal Tabs */
.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}

.auth-tab-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
}

.auth-tab-btn.active {
  color: var(--primary);
}

.auth-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--primary);
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--forest-deep);
}

.auth-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.auth-gate-alert {
  background: #fef9ee;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: #92400e;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
}

.btn-submit-auth {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--forest-deep) 100%);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-submit-auth:hover {
  background: linear-gradient(135deg, #3e7e48 0%, var(--primary) 100%);
  transform: translateY(-2px);
}

/* OTP Verification UI & Email Validation Styles */
.otp-inputs-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.otp-digit-input {
  width: 48px;
  height: 54px;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-light);
  background: #ffffff;
  color: var(--forest-deep);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

.otp-digit-input:focus {
  border-color: var(--primary);
  background: #fdfcf9;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.otp-digit-input.filled {
  border-color: var(--primary);
  background: #f0fdf4;
}

.email-feedback-error {
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.email-feedback-suggestion {
  color: #d97706;
  font-size: 0.78rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.email-feedback-success {
  color: #16a34a;
  font-size: 0.78rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* User Account Modal */
.user-account-modal .modal-card {
  max-width: 650px;
}

.order-history-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  transition: var(--transition);
}

.order-history-card:hover {
  border-color: var(--border-organic);
  box-shadow: var(--shadow-sm);
}

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

.order-id-tag {
  font-weight: 800;
  color: var(--forest-deep);
  font-size: 0.95rem;
}

/* Status Badges */
.status-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pending { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.status-confirmed { background: #eaf4ec; color: #1b3d22; border: 1px solid #c7e5cc; }
.status-processing { background: #ede9fe; color: #6b21a8; border: 1px solid #ddd6fe; }
.status-shipped { background: #dbeafe; color: #1e3a8a; border: 1px solid #bfdbfe; }
.status-delivered { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.status-cancelled { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* Product Details Modal */
.modal-product-details .modal-card {
  max-width: 780px;
  padding: 0;
  overflow: hidden;
}

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

.product-modal-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  background: #f7f4eb;
}

.product-modal-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.toast {
  background: var(--forest-deep);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
  border-left: 4px solid var(--accent-gold);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: auto;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Footer — Deep Tata Organic Forest & Harvest Gold
   ========================================================================== */

.footer-section {
  background: linear-gradient(180deg, #102613 0%, #0d1e10 100%);
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  position: relative;
  border-top: 3px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a3b8a6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: #a3b8a6;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #798d7d;
}

.admin-portal-link {
  color: var(--accent-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-portal-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 30px auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .value-props-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-details-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-img {
    height: 280px;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .value-props-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .floating-badge {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
