/* ============================================================
   Ecoze — Main CSS
   Premium Eco-Friendly Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --green-dark:     #1B4332;
  --green-mid:      #2D6A4F;
  --green-light:    #52B788;
  --green-pale:     #D8F3DC;
  --beige:          #F8F4EE;
  --cream:          #FEF9F0;
  --brown:          #6B4226;
  --brown-light:    #A0522D;
  --gold:           #C8963E;
  --text-dark:      #1A1A2E;
  --text-mid:       #4A4A5A;
  --text-light:     #7A7A8A;
  --white:          #FFFFFF;
  --border:         #E8E2D9;
  --shadow-sm:      0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.12);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      24px;
  --radius-pill:    100px;
  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading:   'Playfair Display', serif;
  --font-body:      'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green-mid); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-dark); }

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

/* ── Utility Classes ───────────────────────────────────────── */
.text-green { color: var(--green-mid) !important; }
.text-gold  { color: var(--gold) !important; }
.text-brown { color: var(--brown) !important; }
.bg-green   { background-color: var(--green-mid) !important; }
.bg-beige   { background-color: var(--beige) !important; }
.bg-cream   { background-color: var(--cream) !important; }
.bg-pale    { background-color: var(--green-pale) !important; }

.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  position: relative;
  margin-bottom: 0.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-light));
  border-radius: 2px;
  margin-top: 12px;
}

.section-title.text-center::after { margin: 12px auto 0; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-eco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-eco-primary {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(45, 106, 79, 0.35);
}
.btn-eco-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(45, 106, 79, 0.45);
  color: var(--white);
}

.btn-eco-outline {
  border-color: var(--green-mid);
  color: var(--green-mid);
  background: transparent;
}
.btn-eco-outline:hover {
  background: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-eco-gold {
  background: linear-gradient(135deg, var(--gold), #A0722A);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(200, 150, 62, 0.35);
}
.btn-eco-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 150, 62, 0.45);
  color: var(--white);
}

.btn-eco-sm { padding: 9px 20px; font-size: 0.82rem; }

/* ── Navigation ────────────────────────────────────────────── */
.navbar-eco {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.navbar-top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 6px 0;
  text-align: center;
}

.navbar-brand-eco {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 42px;
  width: auto;
  display: block;
}

.site-logo-lg {
  height: 56px;
  margin: 0 auto;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
}

.nav-link-eco {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark) !important;
  padding: 8px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link-eco:hover, .nav-link-eco.active {
  color: var(--green-mid) !important;
  background: var(--green-pale);
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  color: var(--text-dark);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.nav-icon-btn:hover { background: var(--green-pale); color: var(--green-mid); }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--green-mid);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-dark) 0%, #2D5A3D 50%, #1B3A2C 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

/* Green + white banner hero (homepage) */
.hero-banner {
  min-height: clamp(520px, 88vh, 820px);
  background: var(--green-dark);
}

.hero-banner::before {
  display: none;
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(27, 67, 50, 0.96) 0%,
    rgba(27, 67, 50, 0.88) 32%,
    rgba(27, 67, 50, 0.55) 48%,
    rgba(27, 67, 50, 0.2) 62%,
    rgba(27, 67, 50, 0.05) 78%,
    transparent 100%
  );
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 88px 0 72px;
}

.hero-btn-outline {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: white !important;
}

.hero-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: white !important;
}

.hero-animate {
  opacity: 0;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-delay, 0s);
  will-change: opacity, transform;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-line {
  display: block;
  color: var(--white);
}

.hero-title-accent {
  display: block;
  margin-top: 0.15em;
  color: var(--green-light);
  font-weight: 600;
}

.hero-rotate {
  position: relative;
  min-height: 1.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.hero-rotate-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(14px);
  animation: heroPhraseCycle 20s ease-in-out infinite;
}

.hero-rotate-item:nth-child(1) { animation-delay: 0s; }
.hero-rotate-item:nth-child(2) { animation-delay: 5s; }
.hero-rotate-item:nth-child(3) { animation-delay: 10s; }
.hero-rotate-item:nth-child(4) { animation-delay: 15s; }

@keyframes heroPhraseCycle {
  0%, 3% {
    opacity: 0;
    transform: translateY(14px);
  }
  6%, 22% {
    opacity: 1;
    transform: translateY(0);
  }
  25%, 100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@media (max-width: 991.98px) {
  .hero-banner-img {
    object-position: center center;
  }

  .hero-banner-overlay {
    background: linear-gradient(
      180deg,
      rgba(27, 67, 50, 0.94) 0%,
      rgba(27, 67, 50, 0.82) 45%,
      rgba(27, 67, 50, 0.65) 100%
    );
  }

  .hero-banner-content {
    padding: 72px 0 56px;
  }

  .hero-rotate {
    min-height: 1.5rem;
  }

  .hero-rotate-item {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate,
  .hero-rotate-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-rotate-item:not(:first-child) {
    display: none;
  }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}
.hero-blob-1 {
  width: 500px; height: 500px;
  background: var(--green-light);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 300px; height: 300px;
  background: var(--gold);
  bottom: -50px; left: 10%;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--green-pale);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--green-light);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.hero-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero-image-wrap {
  position: relative;
  padding: 20px;
}

.hero-logo-card {
  width: 100%;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.hero-logo-img {
  width: min(100%, 320px);
  height: auto;
  display: block;
}

.hero-logo-caption {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-top: 16px;
  font-weight: 500;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ── Product Card ──────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
}

.product-card-img {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  aspect-ratio: 1 / 1;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-sale    { background: #FF4D4D; color: white; }
.badge-new     { background: var(--green-mid); color: white; }
.badge-best    { background: var(--gold); color: white; }
.badge-natural { background: var(--green-pale); color: var(--green-dark); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 67, 50, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}

.product-short-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 12px;
  flex: 1;
}

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

.price-selling {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
}

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

.price-discount {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E63946;
  background: #FFF0F0;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ── Category Card ─────────────────────────────────────────── */
.category-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  border: none;
  display: block;
}

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

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 67, 50, 0.9) 0%, rgba(27, 67, 50, 0.2) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition);
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(27, 67, 50, 0.95) 0%, rgba(27, 67, 50, 0.4) 60%);
}

.category-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.category-card-sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

/* ── Ingredient Card ───────────────────────────────────────── */
.ingredient-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
}

.ingredient-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}

/* ── Feature Pills ─────────────────────────────────────────── */
.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.feature-pill:hover {
  border-color: var(--green-light);
  background: var(--green-pale);
}

.feature-pill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--green-dark);
  padding: 28px 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-light);
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-eco {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-label-eco {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control-eco {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  width: 100%;
}

.form-control-eco:focus {
  outline: none;
  border-color: var(--green-light);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

/* ── Cart ──────────────────────────────────────────────────── */
.cart-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  transition: var(--transition);
}

.cart-item:hover { box-shadow: var(--shadow-sm); }

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

.qty-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 36px;
  border: none;
  background: var(--beige);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.qty-btn:hover { background: var(--green-pale); color: var(--green-mid); }

.qty-input {
  width: 48px;
  height: 36px;
  border: none;
  text-align: center;
  font-weight: 600;
  background: white;
  font-size: 0.9rem;
}

/* ── Order Summary Box ─────────────────────────────────────── */
.order-summary {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

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

.summary-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-eco {
  background: var(--green-dark);
  color: rgba(255,255,255,0.8);
}

.footer-eco .footer-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
}

.footer-eco h6 {
  color: var(--green-light);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-eco a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  display: block;
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-eco a:hover { color: var(--green-light); padding-left: 4px; }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 32px 0 24px;
}

.footer-bottom {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-icon:hover {
  background: var(--green-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Alert Toasts ──────────────────────────────────────────── */
.toast-container-eco {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-eco {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--green-mid);
  min-width: 280px;
  font-size: 0.88rem;
  font-weight: 500;
  animation: slideInRight 0.3s ease;
}

.toast-eco.toast-danger { border-left-color: #E63946; }
.toast-eco.toast-warning { border-left-color: var(--gold); }
.toast-eco.toast-info { border-left-color: #3A86FF; }

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

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-eco {
  background: var(--beige);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-eco .breadcrumb {
  margin: 0;
  font-size: 0.82rem;
}

.breadcrumb-eco .breadcrumb-item.active { color: var(--text-mid); }

/* ── Search Bar ────────────────────────────────────────────── */
.search-bar-eco {
  position: relative;
}

.search-bar-eco input {
  border-radius: var(--radius-pill);
  border: 2px solid var(--border);
  padding: 12px 48px 12px 20px;
  font-size: 0.9rem;
  width: 100%;
  background: var(--white);
  transition: var(--transition);
}

.search-bar-eco input:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
  outline: none;
}

.search-bar-eco .search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

/* ── Product Filters Sidebar ───────────────────────────────── */
.product-filters-form {
  overflow-y: auto;
  flex: 1;
}

.filter-section {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.filter-option {
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--text-dark);
}

.filter-input {
  font-size: 0.82rem;
  padding: 8px;
  border-radius: 8px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--beige);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0;
}

.filter-pill:hover {
  border-color: var(--green-light);
  color: var(--green-dark);
}

.filter-pill.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: white;
}

.filter-pill-clear {
  background: transparent;
  border-style: dashed;
  color: var(--text-light);
}

.filter-sort-select {
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  width: auto;
  min-width: 160px;
}

.active-filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.active-filters-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.active-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(82, 183, 136, 0.12);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.active-filter-chip:hover {
  background: rgba(82, 183, 136, 0.22);
  color: var(--green-dark);
}

.active-filter-clear {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: none;
  margin-left: auto;
}

.active-filter-clear:hover {
  color: var(--green-dark);
}

/* ── Product Detail ────────────────────────────────────────── */
.product-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--beige);
}

.product-detail-img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.thumbnail-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.thumbnail-item {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.thumbnail-item:hover, .thumbnail-item.active {
  border-color: var(--green-mid);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-tab-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 24px;
}

/* ── Accordion ─────────────────────────────────────────────── */
.accordion-eco .accordion-button {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--beige);
  border-radius: var(--radius-sm) !important;
}

.accordion-eco .accordion-button:not(.collapsed) {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination-eco .page-link {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  margin: 0 3px;
  transition: var(--transition);
}

.pagination-eco .page-item.active .page-link {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: white;
}

.pagination-eco .page-link:hover {
  background: var(--green-pale);
  border-color: var(--green-light);
  color: var(--green-dark);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

[data-animate].visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.fade-in-up { animation: fadeInUp 0.6s ease both; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section-pad { padding: 50px 0; }
  .form-eco { padding: 24px; }
  .hero { min-height: 70vh; }
  .hero-title { font-size: 2rem; }
  .cart-item { flex-wrap: wrap; }
}
