/* ============================================================
   VYAS ORGANICS FARMS — Main Stylesheet
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #2A431C;
  --green-mid:    #3D6128;
  --green-light:  #5A8A3A;
  --green-accent: #2E9E7B;
  --cream:        #FBF8F3;
  --cream-warm:   #F5EDD9;
  --gold:         #E8A020;
  --gold-light:   #F6C14A;
  --text-dark:    #1A1A1A;
  --text-mid:     #444444;
  --text-light:   #777777;
  --white:        #FFFFFF;
  --border:       #E2D9C8;
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 15px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(42,67,28,0.3);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; }

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo { margin-bottom: 16px; }
.logo-icon { font-size: 28px; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--green-dark);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: var(--green-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav ul li { position: relative; }
.nav ul li a {
  display: block;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--text-mid);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav ul li a:hover { color: var(--green-dark); background: var(--cream); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 8px;
  min-width: 180px;
  flex-direction: column;
  gap: 2px;
  z-index: 200;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12));
}
.has-dropdown.open .dropdown { display: flex; }
.dropdown-inner { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; }
.dropdown li a { padding: 10px 14px; font-size: 13px; border-radius: 6px; display: block; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-mid);
  transition: all var(--transition);
}
.icon-btn:hover { background: var(--cream); color: var(--green-dark); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Cart Drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 200;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
}
.cart-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all var(--transition);
}
.cart-close:hover { background: var(--cream); color: var(--text-dark); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { color: var(--text-light); text-align: center; padding: 40px 0; font-size: 14px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-icon { font-size: 32px; }
.cart-item-info { flex: 1; }
.cart-item-info strong { display: block; font-size: 14px; margin-bottom: 4px; }
.cart-item-info span { font-size: 13px; color: var(--text-light); }
.cart-item-price { font-weight: 700; color: var(--green-dark); font-size: 15px; }
.cart-item-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text-light); font-size: 16px; padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: #e53e3e; }
.cart-footer { padding: 16px 24px 24px; border-top: 1px solid var(--border); }
.cart-total {
  display: flex;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--green-dark);
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 150;
}
.mobile-overlay.show { display: block; }

/* ---------- Section base ---------- */
.section { padding: 80px 0; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  background: var(--cream-warm);
  color: var(--green-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--green-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p { color: var(--text-mid); max-width: 540px; margin: 0 auto; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 50%, var(--green-light) 100%);
}
.hero-bg::after {
  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.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 80px 0;
  max-width: 640px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 17px;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}
.trust-icon { font-size: 18px; }

/* ---------- Categories ---------- */
.categories-section { background: var(--white); }

/* Slider wrapper */
.cat-slider-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cat-slider-viewport {
  flex: 1;
  overflow: hidden;
}
.cat-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Arrow buttons */
.cat-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cat-arrow:hover {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.cat-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dot indicators */
.cat-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.cat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.cat-dot.active {
  background: var(--green-dark);
  width: 24px;
  border-radius: 4px;
}

/* Category card */
.category-card {
  flex: 0 0 calc(25% - 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--green-dark);
  background: var(--cream-warm);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.category-img {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.category-card span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
}

/* ---------- Products ---------- */
.products-section { background: var(--cream); }

.product-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-light);
}
.product-card.hidden { display: none; }

.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 1;
}
.new-badge { background: var(--gold); color: var(--text-dark); }

.product-img {
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  height: 200px;
  border-bottom: 1px solid var(--border);
}

.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
}
.product-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--green-dark);
  line-height: 1.3;
}
.product-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-light); }
.product-desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; flex: 1; }

.product-variants { display: flex; gap: 6px; flex-wrap: wrap; }
.variant-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-mid);
  transition: all var(--transition);
}
.variant-btn:hover, .variant-btn.active {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-price { display: flex; align-items: baseline; gap: 8px; }
.price-current {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--green-dark);
}
.price-original {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: line-through;
}

/* ---------- Why Us ---------- */
.why-us-section {
  background: var(--green-dark);
  padding: 60px 0;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item { text-align: center; color: var(--white); }
.why-icon { font-size: 40px; margin-bottom: 14px; }
.why-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 10px;
}
.why-item p { font-size: 13px; opacity: 0.8; line-height: 1.6; }

/* ---------- Story ---------- */
.story-section { background: var(--white); }
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-img-placeholder {
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 420px;
  gap: 16px;
  text-align: center;
  color: var(--text-mid);
}
.story-emoji { font-size: 80px; }
.story-img-placeholder p { font-size: 14px; font-weight: 500; line-height: 1.5; }
.story-text { display: flex; flex-direction: column; gap: 18px; }
.story-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--green-dark);
  line-height: 1.2;
}
.story-text p { color: var(--text-mid); font-size: 15px; line-height: 1.7; }

/* ---------- Reviews ---------- */
.reviews-section { background: var(--cream-warm); }
.overall-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.big-stars { font-size: 20px; color: var(--gold); letter-spacing: 2px; }
.big-score {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--green-dark);
}
.big-count { font-size: 13px; color: var(--text-light); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.review-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: 14px; font-weight: 600; }
.reviewer span { font-size: 12px; color: var(--text-light); }

/* ---------- Newsletter ---------- */
.newsletter-section {
  background: var(--cream-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.newsletter-text p { color: var(--text-mid); font-size: 14px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  min-width: 280px;
  transition: border-color var(--transition);
  background: var(--white);
}
.newsletter-form input:focus { border-color: var(--green-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: var(--white); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand .logo-main { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); }
.footer-brand p { font-size: 13px; opacity: 0.75; line-height: 1.6; max-width: 240px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background var(--transition);
}
.social-links a:hover { background: rgba(255,255,255,0.2); }

.footer-links h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul a { font-size: 13px; opacity: 0.7; transition: opacity var(--transition); }
.footer-links ul a:hover { opacity: 1; }

.footer-contact h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}
.footer-contact p { font-size: 13px; opacity: 0.7; margin-bottom: 8px; line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; opacity: 0.6; }
.payment-icons { display: flex; gap: 8px; font-size: 20px; }

/* ---------- Product Modal ---------- */
.product-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 250;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.product-modal-overlay.open { display: flex; }

.product-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  position: relative;
  animation: modalIn 0.28s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.product-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--cream);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  transition: all var(--transition);
}
.product-modal-close:hover { background: var(--border); color: var(--text-dark); }

.product-modal-img {
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  min-height: 320px;
}

.product-modal-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-modal-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--green-dark);
  line-height: 1.3;
}
.product-modal-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}
.product-modal-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.product-modal-footer .price-current { font-size: 24px; }
.product-modal-footer .btn { flex: 1; }

.product-card { cursor: pointer; }

@media (max-width: 640px) {
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    animation: modalUp 0.3s ease;
  }
  @keyframes modalUp {
    from { transform: translateY(60px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
  }
  .product-modal-overlay { padding: 0; align-items: flex-end; }
  .product-modal-img {
    font-size: 72px;
    min-height: 160px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .product-modal-body { padding: 24px 20px; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---------- WhatsApp Float Button ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 185px;
  overflow: hidden;
  white-space: nowrap;
}
.wa-float svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
/* Pulse ring animation */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.18); opacity: 0; }
}
@media (max-width: 480px) {
  .wa-float span { display: none; }
  .wa-float { padding: 13px; border-radius: 50%; bottom: 20px; right: 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .category-card { flex: 0 0 calc(33.333% - 11px); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 2; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .story-inner { gap: 40px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 0; left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 180;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 20px 40px;
    border-right: 1px solid var(--border);
    transition: left 0.3s ease;
    box-shadow: 4px 0 20px rgba(0,0,0,0.1);
  }
  .nav.open { left: 0; }
  .nav ul { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav ul li a { padding: 12px 16px; font-size: 15px; width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .has-dropdown:hover .dropdown { display: none; }

  .hero-content h1 { font-size: 34px; }
  .hero-content { padding: 60px 0; }

  .category-card { flex: 0 0 calc(50% - 8px); }
  .products-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .story-inner { grid-template-columns: 1fr; }
  .story-img-placeholder { height: 260px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 26px; }
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; }
  .newsletter-form input { min-width: 240px; width: 100%; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-trust { gap: 16px; }
  .cat-arrow { width: 32px; height: 32px; font-size: 18px; }
  .section { padding: 56px 0; }
}
