/* ============================================================
   MEHNDI MAGIC — Main Stylesheet
   Theme: Organic Natural Green/Earth — Professional yet Warm
   ============================================================ */

:root {
  --green-dark:   #2d5a27;
  --green-mid:    #4a7c40;
  --green-light:  #72a864;
  --green-pale:   #e8f5e4;
  --green-faint:  #f4fbf2;
  --earth-dark:   #5c3d1e;
  --earth-mid:    #8b5e3c;
  --earth-light:  #c4956a;
  --earth-pale:   #fdf0e6;
  --gold:         #c9963e;
  --gold-pale:    #fef8ec;
  --cream:        #fdfbf7;
  --text-dark:    #1e2d1a;
  --text-mid:     #3d4f38;
  --text-muted:   #6b7e65;
  --text-light:   #9aaa93;
  --border:       #d4e8ce;
  --border-light: #e8f0e5;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(45,90,39,0.08);
  --shadow-md:    0 8px 28px rgba(45,90,39,0.12);
  --shadow-lg:    0 20px 60px rgba(45,90,39,0.16);
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;
  --transition:   0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===================== UTILITY ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-mid);
  background: var(--green-pale); padding: 4px 14px;
  border-radius: 50px; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600; color: var(--text-dark);
  line-height: 1.25; margin-bottom: 1rem;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; margin-bottom: 2.5rem;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 26px; border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-mid); color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent; color: var(--green-mid);
  border-color: var(--green-mid);
}
.btn-outline:hover {
  background: var(--green-pale); transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); position: relative;
  transition: var(--transition);
}
.btn-icon:hover { background: var(--green-pale); color: var(--green-dark); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,251,247,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 1.5rem;
}
.logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.logo-leaf { font-size: 1.6rem; }
.logo-main {
  display: block; font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600; color: var(--green-dark);
  line-height: 1;
}
.logo-sub {
  display: block; font-size: 0.65rem; color: var(--text-muted);
  letter-spacing: 0.08em; margin-top: 2px;
}
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--text-mid);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green-dark); background: var(--green-pale); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--green-mid); color: white;
  font-size: 0.65rem; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.cart-badge.show { display: flex; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-sm);
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh; padding-top: 68px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--green-faint) 0%, var(--cream) 50%, var(--earth-pale) 100%);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(114,168,100,0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(196,149,106,0.07) 0%, transparent 50%);
}
.hero-leaves {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 C20 5 5 20 5 30 C5 20 20 55 30 55 C40 55 55 40 55 30 C55 20 40 5 30 5 Z' fill='none' stroke='%234a7c40' stroke-width='0.4' opacity='0.15'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding-top: 3rem; padding-bottom: 3rem;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: var(--green-pale); color: var(--green-dark);
  font-size: 0.8rem; font-weight: 600; border-radius: 50px;
  border: 1px solid var(--green-light); margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600; color: var(--text-dark);
  line-height: 1.15; margin-bottom: 1.25rem;
}
.hero-title em {
  color: var(--green-mid); font-style: italic;
}
.hero-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 480px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.1rem; color: var(--green-dark); font-weight: 700; }
.trust-item span { font-size: 0.78rem; color: var(--text-muted); }
.trust-divider { width: 1px; height: 36px; background: var(--border); }

.hero-visual { position: relative; }
.hero-img-frame {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--green-pale), var(--earth-pale));
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; color: var(--green-mid);
}
.hero-img-placeholder span { font-size: 4rem; }
.hero-img-placeholder p { font-family: var(--font-display); font-size: 1.2rem; }
.hero-badge-float {
  position: absolute;
  background: white; border-radius: var(--radius-md);
  padding: 10px 16px; font-size: 0.82rem; font-weight: 600;
  box-shadow: var(--shadow-md); color: var(--text-dark);
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-light);
}
.hero-badge-float.top-left { top: 20px; left: -20px; }
.hero-badge-float.bottom-right { bottom: 28px; right: -20px; }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: var(--text-muted); font-size: 0.78rem;
  letter-spacing: 0.06em;
  animation: bounce 2s infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--green-light);
  border-bottom: 2px solid var(--green-light);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===================== MARQUEE ===================== */
.marquee-strip {
  background: var(--green-dark); overflow: hidden;
  padding: 12px 0;
}
.marquee-track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: marquee 24s linear infinite;
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.88); letter-spacing: 0.04em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ===================== SECTIONS SHARED ===================== */
section { padding: 80px 0; }

/* ===================== STORY ===================== */
.story-section { background: var(--white); }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; margin-top: 2rem;
}
.story-video-wrap { border-radius: var(--radius-lg); overflow: hidden; }
.video-placeholder {
  background: var(--green-pale); border-radius: var(--radius-lg);
  overflow: hidden; cursor: pointer; transition: var(--transition);
}
.video-placeholder:hover { transform: scale(1.01); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
}
.play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(45,90,39,0.5);
  transition: var(--transition);
}
.play-btn:hover { background: rgba(45,90,39,0.7); }
.play-btn svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); transform: scale(1.8); }
.video-caption {
  padding: 12px 16px; font-size: 0.85rem;
  color: var(--green-dark); font-weight: 500;
}
.fact-card {
  display: flex; gap: 1rem; padding: 1.25rem;
  border-radius: var(--radius-md); background: var(--green-faint);
  border: 1px solid var(--border-light); margin-bottom: 1rem;
  transition: var(--transition);
}
.fact-card:hover { background: var(--green-pale); border-color: var(--border); }
.fact-icon { font-size: 1.6rem; flex-shrink: 0; }
.fact-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.fact-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===================== GALLERY ===================== */
.gallery-section { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px; margin-top: 2rem;
}
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; aspect-ratio: 1; cursor: pointer;
}
.gallery-item.large {
  grid-row: 1 / 3; aspect-ratio: unset;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(45,90,39,0.75) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-weight: 600; font-size: 0.9rem; }

/* ===================== HOW TO USE ===================== */
.howto-section { background: var(--earth-pale); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-bottom: 3rem;
}
.step-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  transition: var(--transition); position: relative;
}
.step-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.step-num {
  font-family: var(--font-display); font-size: 2.5rem;
  font-weight: 600; color: var(--green-pale);
  line-height: 1; margin-bottom: 0.5rem;
  -webkit-text-stroke: 1px var(--green-light);
}
.step-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.step-card h4 { font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); }

.howto-tips {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem 2.5rem; border: 1px solid var(--border-light);
}
.howto-tips h3 {
  font-family: var(--font-display); font-size: 1.3rem;
  margin-bottom: 1.25rem; color: var(--green-dark);
}
.tips-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 2rem; }
.tips-list li { font-size: 0.9rem; color: var(--text-mid); }

/* ===================== PRODUCT CARDS ===================== */
.product-preview-grid, .products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); overflow: hidden;
  transition: var(--transition); cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-md);
  border-color: var(--green-light);
}
.product-img-wrap {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--green-faint);
}
.product-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge-offer {
  position: absolute; top: 10px; left: 10px;
  background: #e74c3c; color: white; font-size: 0.72rem;
  font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.product-badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--green-mid); color: white; font-size: 0.72rem;
  font-weight: 700; padding: 3px 10px; border-radius: 50px;
}
.product-info { padding: 1rem 1.1rem 1.25rem; }
.product-category { font-size: 0.72rem; color: var(--green-mid); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.product-name { font-weight: 700; font-size: 0.98rem; margin-bottom: 6px; color: var(--text-dark); }
.product-weight { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.product-price { font-weight: 700; font-size: 1.1rem; color: var(--green-dark); }
.product-price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.product-stars { font-size: 0.82rem; color: var(--gold); margin-bottom: 12px; }
.product-add-btn {
  width: 100%; padding: 9px;
  background: var(--green-pale); color: var(--green-dark);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem;
  border: 1.5px solid var(--green-light); transition: var(--transition);
}
.product-add-btn:hover {
  background: var(--green-mid); color: white; border-color: var(--green-mid);
}

.product-card-skeleton {
  background: linear-gradient(90deg, var(--green-faint) 25%, var(--green-pale) 50%, var(--green-faint) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md); height: 320px;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section { background: var(--white); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 2rem;
}
.review-card {
  background: var(--cream); border-radius: var(--radius-md);
  padding: 1.5rem; border: 1px solid var(--border-light);
  transition: var(--transition);
}
.review-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.75rem; }
.review-text { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 1rem; line-height: 1.65; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-pale); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; color: var(--green-dark);
  flex-shrink: 0;
}
.review-author-info strong { font-size: 0.9rem; display: block; }
.review-author-info span { font-size: 0.78rem; color: var(--text-muted); }
.review-verified { font-size: 0.72rem; color: var(--green-mid); font-weight: 600; }

/* ===================== ABOUT ===================== */
.about-section { background: var(--green-faint); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius-xl);
  overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--green-pale), var(--earth-pale));
}
.about-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-badge-float {
  position: absolute; bottom: 20px; left: 20px;
  background: white; border-radius: var(--radius-md);
  padding: 14px 20px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}
.about-badge-float strong { display: block; font-size: 1rem; color: var(--green-dark); }
.about-badge-float span { font-size: 0.82rem; color: var(--text-muted); }
.about-text h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem; color: var(--text-dark);
}
.about-text p { margin-bottom: 1rem; color: var(--text-muted); line-height: 1.75; }

/* ===================== CONTACT ===================== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 3rem; margin-top: 2rem;
}
.contact-item {
  display: flex; gap: 1rem; padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light); margin-bottom: 1rem;
  align-items: flex-start;
}
.contact-item span { font-size: 1.4rem; }
.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item p { font-size: 0.88rem; color: var(--text-muted); }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--text-dark);
  background: var(--cream); transition: var(--transition);
}
.form-input:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(74,124,64,0.12);
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--green-dark); color: rgba(255,255,255,0.88);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-main { color: white; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-size: 0.88rem; color: rgba(255,255,255,0.6);
  margin-top: 1rem; line-height: 1.7;
}
.footer-links h5 {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-links a {
  display: block; font-size: 0.9rem; color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem; transition: var(--transition);
}
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 24px; font-size: 0.82rem;
  color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 1rem;
}
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-badges span {
  padding: 3px 10px; border-radius: 4px;
  background: rgba(255,255,255,0.1); font-size: 0.72rem;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===================== CHATBOT ===================== */
.chatbot-bubble {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-mid); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(74,124,64,0.4);
  transition: var(--transition);
}
.chatbot-bubble:hover {
  background: var(--green-dark); transform: scale(1.1);
}
.chat-pulse {
  position: absolute; top: 6px; right: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #2ecc71; border: 2px solid white;
}
.chatbot-window {
  position: fixed; bottom: 100px; right: 28px; z-index: 200;
  width: 360px; background: white;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light); overflow: hidden;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-header {
  background: var(--green-dark); color: white;
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.chat-header strong { font-size: 0.9rem; display: block; }
.chat-status { font-size: 0.72rem; color: #6ddf8e; }
.chat-close {
  margin-left: auto; color: rgba(255,255,255,0.7);
  font-size: 1rem; transition: var(--transition);
  padding: 4px 8px;
}
.chat-close:hover { color: white; }
.chat-messages {
  height: 260px; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--cream);
}
.chat-msg { display: flex; }
.chat-msg.bot { justify-content: flex-start; }
.chat-msg.user { justify-content: flex-end; }
.msg-bubble {
  max-width: 80%; padding: 10px 14px;
  border-radius: 14px; font-size: 0.88rem; line-height: 1.5;
}
.chat-msg.bot .msg-bubble {
  background: white; color: var(--text-dark);
  border-radius: 4px 14px 14px 14px;
  border: 1px solid var(--border-light);
}
.chat-msg.user .msg-bubble {
  background: var(--green-mid); color: white;
  border-radius: 14px 4px 14px 14px;
}
.msg-typing .msg-bubble { padding: 14px; }
.typing-dots { display: flex; gap: 4px; }
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted); animation: typing 1.2s infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 1; }
}
.chat-quick-btns {
  padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--border-light);
  background: white;
}
.chat-quick-btns button {
  padding: 5px 12px; border-radius: 50px;
  background: var(--green-faint); color: var(--green-dark);
  font-size: 0.78rem; font-weight: 500; border: 1px solid var(--border);
  transition: var(--transition);
}
.chat-quick-btns button:hover {
  background: var(--green-pale); border-color: var(--green-mid);
}
.chat-input-row {
  display: flex; padding: 10px 12px; gap: 8px;
  border-top: 1px solid var(--border-light); background: white;
}
.chat-input-row input {
  flex: 1; padding: 9px 14px; border-radius: 50px;
  border: 1.5px solid var(--border); font-size: 0.88rem;
  background: var(--cream); transition: var(--transition);
}
.chat-input-row input:focus { outline: none; border-color: var(--green-mid); }
#chat-send {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-mid); color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--transition);
}
#chat-send:hover { background: var(--green-dark); }

/* ===================== MODAL ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: white; border-radius: var(--radius-lg);
  padding: 2.5rem; width: 100%; max-width: 420px;
  position: relative; box-shadow: var(--shadow-lg);
  animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  color: var(--text-muted); font-size: 1.1rem; padding: 6px;
  border-radius: 50%; transition: var(--transition);
}
.modal-close:hover { background: var(--green-pale); color: var(--green-dark); }
.modal-logo {
  font-family: var(--font-display); font-size: 1.2rem;
  color: var(--green-dark); font-weight: 600; margin-bottom: 1.25rem;
}
.modal-box h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.modal-sub { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-box {
  width: 44px; height: 52px; text-align: center;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1.2rem; font-weight: 700;
  transition: var(--transition);
}
.otp-box:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(74,124,64,0.12); }
.resend-otp {
  text-align: center; margin-top: 1rem;
  font-size: 0.88rem; color: var(--text-muted);
}
.resend-otp a {
  color: var(--green-mid); cursor: pointer; font-weight: 600;
}
.resend-otp a:hover { text-decoration: underline; }

/* ===================== TOAST ===================== */
.toast-container {
  position: fixed; bottom: 100px; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--text-dark); color: white;
  padding: 12px 24px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 500;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.5s forwards;
  pointer-events: auto; box-shadow: var(--shadow-md);
}
.toast.success { background: var(--green-dark); }
.toast.error { background: #c0392b; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(-10px); }
}

/* ===================== PRODUCTS PAGE ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-faint), var(--earth-pale));
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark); margin-bottom: 0.75rem;
}
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

.filter-bar {
  background: var(--white); border-bottom: 1px solid var(--border-light);
  padding: 16px 0; position: sticky; top: 68px; z-index: 50;
}
.filter-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filter-cat-btn {
  padding: 7px 18px; border-radius: 50px;
  font-size: 0.86rem; font-weight: 500;
  border: 1.5px solid var(--border); color: var(--text-mid);
  background: white; transition: var(--transition);
}
.filter-cat-btn:hover, .filter-cat-btn.active {
  border-color: var(--green-mid); background: var(--green-pale);
  color: var(--green-dark);
}
.filter-sort select {
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-size: 0.88rem;
  color: var(--text-dark); background: white;
  cursor: pointer;
}

/* ===================== CART ===================== */
.cart-section { padding: 120px 0 60px; }
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
  display: flex; gap: 1.25rem; padding: 1.25rem;
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); align-items: flex-start;
}
.cart-item-img {
  width: 80px; height: 80px; border-radius: var(--radius-sm);
  object-fit: cover; background: var(--green-faint); flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-weight: 700; margin-bottom: 4px; }
.cart-item-info span { font-size: 0.85rem; color: var(--text-muted); }
.cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid); transition: var(--transition);
}
.qty-btn:hover { border-color: var(--green-mid); color: var(--green-dark); }
.qty-num { font-weight: 700; font-size: 0.95rem; min-width: 20px; text-align: center; }
.cart-item-price { font-weight: 700; color: var(--green-dark); white-space: nowrap; }

.cart-summary {
  background: var(--white); border-radius: var(--radius-md);
  border: 1px solid var(--border-light); padding: 1.5rem;
  height: fit-content; position: sticky; top: 100px;
}
.cart-summary h3 {
  font-family: var(--font-display); font-size: 1.2rem;
  margin-bottom: 1.25rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.9rem; margin-bottom: 0.75rem; color: var(--text-mid);
}
.summary-row.total {
  font-weight: 700; font-size: 1.05rem; color: var(--text-dark);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem; margin-top: 0.5rem;
}
.coupon-row { display: flex; gap: 8px; margin: 1rem 0; }
.coupon-row input {
  flex: 1; padding: 9px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.coupon-row input:focus { outline: none; border-color: var(--green-mid); }

/* ===================== ADMIN PANEL ===================== */
.admin-sidebar {
  width: 240px; min-height: 100vh;
  background: var(--green-dark); color: white;
  padding: 1.5rem 0; flex-shrink: 0;
}
.admin-sidebar .logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 1.5rem; font-size: 0.9rem; font-weight: 500;
  color: rgba(255,255,255,0.75); transition: var(--transition); cursor: pointer;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: rgba(255,255,255,0.1); color: white;
}
.admin-nav-item svg { flex-shrink: 0; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: 1/3; grid-row: auto; }
  .tips-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 55px 0; }
  .chatbot-window { width: calc(100vw - 40px); right: 20px; }
  .filter-inner { gap: 0.5rem; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0;
  background: white; padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-md); z-index: 99;
}

/* Admin layout */
.admin-layout {
  display: flex; min-height: 100vh;
}
.admin-main {
  flex: 1; padding: 2rem; background: var(--cream);
  overflow-x: hidden;
}

/* Product detail */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start; margin-top: 2rem;
}
.product-detail-imgs .main-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 1; background: var(--green-faint);
}
.product-detail-imgs .main-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.product-thumb {
  width: 68px; height: 68px; border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
}
.product-thumb.active { border-color: var(--green-mid); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Order tracking */
.track-steps {
  display: flex; gap: 0;
  margin: 2rem 0; position: relative;
}
.track-step {
  flex: 1; text-align: center; position: relative;
}
.track-step::before {
  content: ''; position: absolute;
  top: 20px; left: 50%; right: -50%;
  height: 2px; background: var(--border);
}
.track-step:last-child::before { display: none; }
.track-step.done::before { background: var(--green-mid); }
.track-dot {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; position: relative; z-index: 1;
  font-size: 1.1rem; transition: var(--transition);
}
.track-step.done .track-dot {
  border-color: var(--green-mid); background: var(--green-pale);
}
.track-step.current .track-dot {
  border-color: var(--green-mid); background: var(--green-mid);
  color: white;
}
.track-step-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.track-step.done .track-step-label,
.track-step.current .track-step-label { color: var(--green-dark); }
