/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --green:       #82ae46;
  --green-dk:    #5a8a28;
  --green-lt:    #e8f3e0;
  --green-glow:  rgba(130,174,70,.22);
  --cream:       #f7faf3;
  --dark:        #1e3320;
  --text:        #2d4d31;
  --text2:       #4a6b4c;
  --text3:       #7a9a7c;
  --orange:      #ff6b4a;
  --border:      #ddebd0;
  --white:       #ffffff;
  --shadow-sm:   0 4px 16px rgba(45,77,49,.07);
  --shadow-md:   0 10px 36px rgba(45,77,49,.11);
  --shadow-lg:   0 20px 60px rgba(45,77,49,.14);
  --trans:       all .3s cubic-bezier(.25,.46,.45,.94);
  --r:           18px;
  --r-sm:        12px;
  --r-pill:      100px;
}

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

.hero-modern {
  position: relative;
  min-height: 620px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(30,51,32,.72) 0%,  rgba(30,51,32,.15) 55%, transparent 100%),
    linear-gradient(to right, rgba(30,51,32,.5) 0%, rgba(30,51,32,.1) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 90px 0 64px;
}

.hero-content-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.95);
  padding: 7px 18px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(130,174,70,.7);
  animation: eyebrow-pulse 2s ease-out infinite;
}

@keyframes eyebrow-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(130,174,70,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(130,174,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(130,174,70,0); }
}

.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -.015em;
  max-width: 640px;
  text-shadow: 0 2px 24px rgba(0,0,0,.18);
}

.hero-title em {
  font-style: italic;
  color: #c5e07a;
}

.hero-desc {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,.82);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  letter-spacing: .02em;
  transition: var(--trans);
}

.hero-btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 32px rgba(255,107,74,.45);
  position: relative;
  overflow: hidden;
  font-size: 16px;
  padding: 17px 34px;
  animation: cta-breathe 2.6s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%, 100% { box-shadow: 0 10px 32px rgba(255,107,74,.45); }
  50%      { box-shadow: 0 10px 40px rgba(255,107,74,.7); }
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.4) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.hero-btn-primary:hover::before { transform: translateX(120%); }

.hero-btn-primary:hover {
  background: #ff5636;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 44px rgba(255,107,74,.55);
  color: #fff;
  animation-play-state: paused;
}

.hero-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 17px 6px;
  box-shadow: none;
}

.hero-btn-secondary:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* ── TRENDING PANEL — the thing that replaces the old slide dots.
   Real products, real prices, live from the same feed as the "Popular
   Picks" grid further down the page (see js/homepage_products.js) — not
   a second request, just a second place the first response gets
   rendered into. ───────────────────────────────────────────────── */
.hero-trending {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(20,35,22,.35), var(--shadow-lg);
  padding: 28px 24px;
  width: 100%;
  transform: translateY(-14px);
}

.hero-trending-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 18px;
  padding: 0 2px;
}

.hero-trending-live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255,107,74,.6);
  animation: eyebrow-pulse 2s ease-out infinite;
}

.hero-trending-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-trend-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: var(--trans);
}

.hero-trend-row:hover { background: var(--green-lt); }

.hero-trend-thumb {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--green-lt);
}

.hero-trend-info {
  min-width: 0;
  flex: 1;
}

.hero-trend-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-trend-price {
  display: block;
  font-size: 13px;
  color: var(--text2);
  margin-top: 2px;
}

.hero-trend-price b { color: var(--green-dk); font-weight: 700; }

.hero-trend-add {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--green-lt);
  color: var(--green-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: var(--trans);
}

.hero-trend-add:hover { background: var(--green); color: #fff; }

.hero-trend-skel {
  height: 84px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--green-lt) 25%, #f1f7ec 37%, var(--green-lt) 63%);
  background-size: 400% 100%;
  animation: skel-shimmer 1.4s ease infinite;
}

@keyframes skel-shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

.hero-trending-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green-dk);
  text-decoration: none;
  border-top: 1px solid var(--border);
}

.hero-trending-viewall:hover { color: var(--orange); }

/* scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: cue-bob 2s ease-in-out infinite;
}

.hero-scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

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

@media (max-width: 1100px) {
  .hero-content-inner { grid-template-columns: 320px minmax(0, 1fr); gap: 36px; }
  .hero-trending { padding: 22px 18px; }
}

@media (max-width: 900px) {
  .hero-content { padding: 70px 0 40px; }
  .hero-content-inner { 
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 32px;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-trending { max-width: 440px; margin: 0 auto; transform: none; }
  .hero-trend-row { text-align: left; }
}

@media (max-width: 480px) {
  .hero-trending { padding: 20px 16px; border-radius: 18px; }
  .hero-trend-thumb { width: 54px; height: 54px; }
  .hero-trend-name { font-size: 14px; }
}

/* ── WHOLESALE STRIP ─────────────────────────────────────────── */
.wholesale-strip-section {
  background: var(--dark);
  padding: 34px 0;
}

.wholesale-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wholesale-strip-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}

.wholesale-strip-text h3 {
  font-family: 'Lora', Georgia, serif;
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 6px;
}

.wholesale-strip-text p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin: 0;
  max-width: 480px;
}

.wholesale-strip .hero-btn-primary { flex-shrink: 0; animation: none; }

/* ── HOW IT WORKS — also carries the trust stats inline (no floating
   overlay competing with the hero CTA for attention). ───────────── */
.how-it-works-section {
  padding: 20px 0;
  background: var(--dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.trust-strip-section {
  padding: 26px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.trust-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.trust-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-item .num {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--green-dk);
}

.trust-item .lbl {
  font-size: 12px;
  color: var(--text3);
  font-weight: 600;
  text-align: left;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .trust-item { min-width: 46%; }
}

.how-it-works-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 6px 4px;
  transition: var(--trans);
}

.how-step:hover { transform: translateY(-2px); }

.how-step-num {
  display: none;
}

.how-step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--trans);
}

.how-step:hover .how-step-icon {
  background: var(--green);
  color: var(--dark);
  border-color: var(--green);
}

.how-step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.how-step-title {
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
}

.how-step-sub {
  color: rgba(255,255,255,.55);
  font-size: 12.5px;
}

.how-step-arrow {
  color: rgba(255,255,255,.3);
  font-size: 18px;
}

@media (max-width: 767px) {
  .how-it-works-grid { flex-direction: column; align-items: stretch; gap: 14px; }
  .how-step-arrow { display: none; }
  .how-step { justify-content: center; }
}

/* ── FEATURES ────────────────────────────────────────────────── */
.features-section {
  padding: 88px 0 80px;
  background: var(--white);
  position: relative;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-lt), var(--green), var(--green-lt));
}

.feature-card {
  text-align: center;
  padding: 42px 28px 36px;
  border-radius: var(--r);
  background: var(--cream);
  border: 1.5px solid var(--border);
  transition: var(--trans);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform .35s ease;
  transform-origin: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  background: var(--green-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--green);
  transition: var(--trans);
}

.feature-card:hover .feature-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.08) rotate(-4deg);
}

.feature-title {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}

.feature-subtitle {
  color: var(--text3);
  font-size: 13.5px;
  line-height: 1.65;
}

/* ── SHARED SECTION HEADER ───────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-lt);
  color: var(--green-dk);
  padding: 5px 16px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
  border: 1px solid rgba(130,174,70,.2);
}

.section-subtitle::before {
  content: '🌿';
  font-size: 13px;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: -.02em;
  line-height: 1.2;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.section-description {
  color: var(--text3);
  font-size: 15.5px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── CATEGORY SHOWCASE ───────────────────────────────────────── */
.category-showcase {
  padding: 80px 0;
  background: var(--cream);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.category-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.category-card.large {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
  min-height: 580px;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}

.category-card:hover .category-image { transform: scale(1.07); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,40,22,.78) 0%, rgba(20,40,22,.08) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  transition: var(--trans);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(20,40,22,.88) 0%, rgba(20,40,22,.18) 60%, transparent 100%);
}

.category-name {
  font-family: 'Lora', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  letter-spacing: -.01em;
}

.category-card.large .category-name { font-size: 30px; }

.category-count {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-count::before {
  content: '→';
  opacity: 0;
  transform: translateX(-6px);
  display: inline-block;
  transition: var(--trans);
}

.category-card:hover .category-count::before {
  opacity: 1;
  transform: translateX(0);
}

.category-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Fallback when fewer than 5 categories actually have in-stock products —
   the 1-large-tile-plus-4 layout above assumes exactly 5 items and leaves
   an empty grid gap with fewer. This drops the featured-tile treatment
   for a plain, evenly-sized grid that looks intentional at any count. */
.category-grid.no-feature {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-template-rows: none;
}
.category-grid.no-feature .category-card {
  height: 260px;
}

/* ── PRODUCTS SECTION ────────────────────────────────────────── */
.products-section {
  padding: 80px 0 90px;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.product-card-home {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.product-image-home {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--cream);
}

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

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

.product-badge-home {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 2;
}

/* wishlist icon top-right */
.product-wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 14px;
  text-decoration: none;
  transition: var(--trans);
  z-index: 2;
  border: 1px solid rgba(255,255,255,.6);
  opacity: 0;
}

.product-card-home:hover .product-wish-btn { opacity: 1; }
.product-wish-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

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

.product-category-home {
  font-size: 10.5px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 7px;
}

.product-title-home {
  font-family: 'Lora', serif;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-title-home a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.product-title-home a:hover { color: var(--green); }

.product-price-home {
  font-size: 17px;
  font-weight: 800;
  color: var(--green-dk);
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-price-home small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text3);
}

.product-actions-home {
  display: flex;
  gap: 9px;
  margin-top: auto;
}

.action-btn-home {
  flex: 1;
  height: 38px;
  background: var(--green-lt);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dk);
  font-size: 15px;
  transition: var(--trans);
  text-decoration: none;
  border: 1px solid transparent;
}

.action-btn-home:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--green-glow);
}

/* ── NEWSLETTER ──────────────────────────────────────────────── */
.newsletter-section {
  padding: 88px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* organic blob shapes */
.newsletter-section::before,
.newsletter-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-section::before {
  width: 480px; height: 480px;
  background: rgba(130,174,70,.1);
  top: -120px; left: -120px;
}

.newsletter-section::after {
  width: 320px; height: 320px;
  background: rgba(130,174,70,.07);
  bottom: -80px; right: -80px;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.newsletter-title {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.01em;
  line-height: 1.2;
}

.newsletter-text {
  font-size: 15px;
  color: rgba(255,255,255,.62);
  margin-bottom: 36px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill);
  padding: 6px 6px 6px 22px;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  font-family: 'Poppins', sans-serif;
  min-width: 0;
}

.newsletter-input::placeholder { color: rgba(255,255,255,.4); }

.newsletter-btn {
  padding: 12px 26px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

.newsletter-btn:hover {
  background: var(--green-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--green-glow);
}

/* ── SKELETONS ───────────────────────────────────────────────── */
.skeleton-product {
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-image-home {
  height: 210px;
  background: linear-gradient(90deg, #e8f0e3 25%, #f4f9f1 50%, #e8f0e3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}

.skeleton-content-home {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line-home {
  height: 13px;
  background: linear-gradient(90deg, #e8f0e3 25%, #f4f9f1 50%, #e8f0e3 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 6px;
}

.skeleton-line-home.category { width: 38%; height: 11px; }
.skeleton-line-home.title    { width: 82%; height: 15px; }
.skeleton-line-home.price    { width: 48%; height: 17px; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content-inner > * {
  opacity: 0;
  animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) both;
}
.hero-content-inner > *:nth-child(1) { animation-delay: .1s; }
.hero-content-inner > *:nth-child(2) { animation-delay: .22s; }
.hero-content-inner > *:nth-child(3) { animation-delay: .36s; }
.hero-content-inner > *:nth-child(4) { animation-delay: .5s; }

.hero-trust-wrap {
  opacity: 0;
  animation: fadeInUp .8s cubic-bezier(.16,1,.3,1) .65s both;
}

@media (max-width: 1100px) {
  .products-grid      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .category-grid      { grid-template-columns: repeat(2, 1fr); }
  .category-card.large { grid-column: span 2; grid-row: span 1; min-height: 300px; }
  .products-grid      { grid-template-columns: repeat(2, 1fr); }

  .newsletter-form {
    flex-direction: column;
    background: none;
    border: none;
    padding: 0;
    align-items: stretch;
  }
  .newsletter-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--r-pill);
    padding: 14px 22px;
    color: #fff;
  }
  .newsletter-btn { border-radius: var(--r-pill); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-modern { min-height: 0; }
  .features-section, .category-showcase,
  .products-section, .newsletter-section { padding: 60px 0; }
  .section-title { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  .products-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card.large { grid-column: span 1; min-height: 260px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-btn { width: 100%; max-width: 280px; justify-content: center; }
}
/* ── WELCOME BACK MODAL ──────────────────────────────────────── */
.kf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 15, 0.55);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s ease;
}
.kf-modal-backdrop.show { display: flex; opacity: 1; }

.kf-modal {
  background: var(--white, #fff);
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px 32px 28px;
  position: relative;
  transform: translateY(16px) scale(.97);
  transition: transform .25s ease;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.kf-modal-backdrop.show .kf-modal { transform: translateY(0) scale(1); }

.kf-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  background: var(--green-lt);
  color: var(--dark);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.kf-modal-close:hover { background: var(--green); color: #fff; }

.kf-modal-header { text-align: center; margin-bottom: 22px; }
.kf-modal-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dk);
  background: var(--green-lt);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.kf-modal-title { font-size: 24px; font-weight: 700; color: var(--dark); margin: 0 0 8px; }
.kf-modal-subtitle { font-size: 14px; color: var(--text2); margin: 0; }

.kf-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.kf-modal-item {
  border: 1px solid #eef3ea;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  position: relative;
}
.kf-modal-item img { width: 100%; height: 80px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.kf-modal-item-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
}
.kf-modal-item-name { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; line-height: 1.3; }
.kf-modal-item-price { font-size: 13px; font-weight: 700; color: var(--green-dk); margin-bottom: 8px; }
.kf-modal-item-price small { font-weight: 400; color: var(--text2); }
.kf-modal-item-add {
  display: block;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 0;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease;
}
.kf-modal-item-add:hover { background: var(--green-dk); color: #fff; }

.kf-modal-cta {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dk);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .kf-modal { padding: 26px 20px 22px; }
  .kf-modal-grid { grid-template-columns: repeat(2, 1fr); }
}