/* ============================================================
   JENJ ESSENTIALS — HOMEPAGE STYLES
   Warm Earthy Luxury — Terracotta · Deep Mocha · Cream
   ============================================================ */

/* ── HERO ─────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 950px;
  overflow: hidden;
  margin-top: -72px;
}

.hero-slides { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s ease, visibility 1.1s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    150deg,
    rgba(22,13,7,0.95) 0%,
    rgba(22,13,7,0.70) 50%,
    rgba(22,13,7,0.30) 100%
  );
}

.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 130px 6% 80px;
  max-width: 900px;
}

.hero-slide.active .hero-content > * {
  animation: heroFadeUp 0.9s cubic-bezier(0.25,0.46,0.45,0.94) both;
}
.hero-slide.active .hero-tag     { animation-delay: 0s; }
.hero-slide.active .hero-title   { animation-delay: 0.14s; }
.hero-slide.active .hero-sub     { animation-delay: 0.26s; }
.hero-slide.active .hero-actions { animation-delay: 0.38s; }

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

.hero-tag {
  display: inline-block;
  background: rgba(200,135,58,0.18);
  border: 1px solid rgba(200,135,58,0.5);
  color: #f5c87a;
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.42rem 1.2rem; border-radius: 50px;
  margin-bottom: 1.6rem; width: fit-content;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.5vw, 5.2rem);
  color: var(--cream);
  line-height: 1.06;
  margin-bottom: 1.6rem;
  font-weight: 600;
}
.hero-title em  { color: var(--terra); font-style: normal; }
.hero-title span { color: var(--terra); }

.hero-sub {
  color: rgba(253,246,239,0.72);
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-shop-btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--terra); color: white;
  padding: 0.9rem 2.2rem; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--transition); text-decoration: none;
  box-shadow: 0 6px 24px rgba(200,135,58,0.4);
  letter-spacing: 0.02em;
}
.hero-shop-btn:hover { background: var(--terra-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(200,135,58,0.5); color: white; }
.hero-shop-btn i { width: 17px; height: 17px; }

.hero-wa-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(37,211,102,0.14); border: 1.5px solid rgba(37,211,102,0.42);
  color: #4ade80; padding: 0.85rem 1.7rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition); text-decoration: none;
  letter-spacing: 0.02em;
}
.hero-wa-btn:hover { background: #25D366; border-color: #25D366; color: white; }

/* Slider controls */
.hero-dots {
  position: absolute; bottom: 38px; left: 8%;
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 28px; height: 4px; background: rgba(253,246,239,0.28);
  border: none; border-radius: 2px; cursor: pointer;
  transition: all 0.45s ease; padding: 0;
}
.hero-dot.active { background: var(--terra); width: 52px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(253,246,239,0.08); border: 1px solid rgba(253,246,239,0.18);
  color: var(--cream); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.28s; backdrop-filter: blur(10px);
}
.hero-arrow:hover { background: rgba(200,135,58,0.28); border-color: rgba(200,135,58,0.6); }
.hero-arrow.prev { left: 2rem; }
.hero-arrow.next { right: 2rem; }
.hero-arrow i { width: 22px; height: 22px; }

/* ── TRUST BAR ───────────────────────────────────────── */
.trust-bar {
  background: var(--mocha);
  border-bottom: 1px solid rgba(200,135,58,0.15);
  padding: 1.15rem 5%;
}
.trust-inner {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem;
  border-right: 1px solid rgba(253,246,239,0.06);
}
.trust-item:last-child { border-right: none; }
.trust-item i { width: 28px; height: 28px; color: var(--terra); flex-shrink: 0; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { color: var(--cream); font-size: 0.875rem; line-height: 1.2; font-weight: 600; }
.trust-item span   { color: rgba(253,246,239,0.45); font-size: 0.73rem; margin-top: 2px; }

/* ── STATS ───────────────────────────────────────────── */
.stats-section {
  padding: 5rem 5%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold), var(--terra));
}
.stats-inner { max-width: 1100px; margin: 0 auto; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: white; border-radius: var(--radius-xl);
  padding: 2.4rem 1.5rem; text-align: center;
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: all var(--transition-slow);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card:hover { border-color: var(--terra); box-shadow: var(--shadow-terra); transform: translateY(-6px); }

.stat-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--terra-glow); border: 1.5px solid rgba(200,135,58,0.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; color: var(--terra);
  transition: all var(--transition);
}
.stat-card:hover .stat-icon { background: var(--terra); color: white; border-color: var(--terra); }
.stat-icon i { width: 24px; height: 24px; }

.stat-num {
  font-family: var(--font-head); font-size: 2.8rem;
  font-weight: 700; color: var(--mocha); line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.8rem; color: var(--slate);
  text-transform: uppercase; letter-spacing: 0.07em; font-weight: 500;
}

/* ── SECTION HEADER ──────────────────────────────────── */
.section-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem;
}
.section-header.centered { flex-direction: column; align-items: center; text-align: center; }
.section-label {
  font-size: 0.75rem; font-weight: 700; color: var(--terra);
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.35rem;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--mocha); line-height: 1.15;
}
.section-title em { color: var(--terra); font-style: normal; }
.section-sub { color: var(--slate); font-size: 0.95rem; max-width: 540px; margin-top: 0.5rem; line-height: 1.7; }
.view-all-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 600; color: var(--terra);
  transition: gap 0.22s; white-space: nowrap;
}
.view-all-link:hover { gap: 0.75rem; }
.view-all-link i { width: 15px; height: 15px; }

/* Filter row */
.products-filter-row {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.filter-chip {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: 50px; padding: 0.42rem 1.05rem;
  font-size: 0.82rem; font-weight: 500; cursor: pointer;
  transition: all var(--transition); color: var(--mocha-light);
}
.filter-chip:hover, .filter-chip.active {
  background: var(--terra-glow); border-color: var(--terra); color: var(--terra);
}
.sort-select {
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); padding: 0.48rem 1rem;
  font-size: 0.82rem; cursor: pointer; outline: none;
  color: var(--mocha); font-family: var(--font-body);
}
.sort-select:focus { border-color: var(--terra); }

/* Product grids */
#all-products-grid, #featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.4rem;
}

/* ── LOYALTY BANNER ──────────────────────────────────── */
.loyalty-banner {
  background:
    linear-gradient(135deg, rgba(44,26,14,0.93) 0%, rgba(44,26,14,0.80) 55%, rgba(74,42,20,0.90) 100%),
    url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1600&q=80') center/cover no-repeat fixed;
  padding: 5.5rem 8%; position: relative; overflow: hidden;
}
.loyalty-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,135,58,0.13), transparent 68%);
  pointer-events: none;
}
.loyalty-banner::after {
  content: ''; position: absolute; bottom: -60px; left: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,135,58,0.07), transparent 68%);
  pointer-events: none;
}
.loyalty-inner {
  max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.loyalty-tag {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  color: var(--terra); text-transform: uppercase; letter-spacing: 0.14em;
  background: rgba(200,135,58,0.1); border: 1px solid rgba(200,135,58,0.25);
  padding: 0.38rem 1rem; border-radius: 50px; margin-bottom: 1.3rem;
}
.loyalty-text h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--cream); line-height: 1.1; margin-bottom: 1.25rem;
}
.loyalty-text h2 span { color: var(--terra); }
.loyalty-text p {
  color: rgba(253,246,239,0.62); line-height: 1.78;
  margin-bottom: 2.2rem; max-width: 490px;
}
.loyalty-text p strong { color: var(--terra); font-weight: 600; }

/* Loyalty card mock */
.loyalty-card-mock {
  background: linear-gradient(140deg, rgba(200,135,58,0.14), rgba(200,135,58,0.04));
  border: 1px solid rgba(200,135,58,0.22); border-radius: 22px;
  padding: 2.2rem; backdrop-filter: blur(12px);
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(44,26,14,0.3);
}
.loyalty-card-mock::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(200,135,58,0.1), transparent 58%);
}
.lc-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 1.6rem;
}
.lc-store {
  font-family: var(--font-head); color: var(--cream);
  font-size: 1.15rem; font-weight: 600; letter-spacing: 1px;
}
.lc-badge {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--terra);
  background: rgba(200,135,58,0.15); padding: 4px 11px;
  border-radius: 50px; border: 1px solid rgba(200,135,58,0.3);
}
.lc-points {
  text-align: center; padding: 1.6rem 0;
  border-top: 1px solid rgba(253,246,239,0.08);
  border-bottom: 1px solid rgba(253,246,239,0.08);
  margin-bottom: 1.3rem;
}
.lc-pts-num {
  display: block; font-family: var(--font-head);
  font-size: 3.6rem; font-weight: 700;
  color: var(--terra); line-height: 1;
}
.lc-pts-label {
  display: block; font-size: 0.76rem;
  color: rgba(253,246,239,0.48);
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.5rem;
}
.lc-footer {
  display: flex; justify-content: space-between;
  font-size: 0.74rem; color: rgba(253,246,239,0.38);
}

/* ── CATEGORIES GRID ─────────────────────────────────── */
.categories-section { background: var(--gray-50); }
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}
.categories-grid .cat-card {
  flex: 1 1 190px;
  min-width: 150px;
  max-width: calc(25% - 1.3rem);
}

.cat-card {
  border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3/4;
  position: relative; cursor: pointer; display: block;
  box-shadow: var(--shadow-sm); transition: all var(--transition-slow);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.cat-bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center; transition: transform var(--transition-slow);
}
.cat-card:hover .cat-bg { transform: scale(1.1); }
.cat-overlay-grad {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.88) 0%, rgba(44,26,14,0.08) 55%);
}
.cat-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.1rem 1rem;
  color: var(--cream); font-weight: 600;
  font-family: var(--font-head); font-size: 1.1rem;
}

/* ── WHY US ──────────────────────────────────────────── */
.why-us-section {
  background: linear-gradient(160deg, #fdf6ef 0%, #fff 40%, #fdf6ef 100%);
  position: relative; overflow: hidden;
}
.why-us-section::before {
  content: ''; position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,135,58,0.07), transparent 68%);
  pointer-events: none;
}
.why-us-section::after {
  content: ''; position: absolute;
  bottom: -100px; left: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,135,58,0.05), transparent 68%);
  pointer-events: none;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1;
}

.why-card {
  padding: 2.4rem 2rem; border-radius: var(--radius-xl);
  background: white;
  border: 1.5px solid var(--sand);
  transition: all var(--transition-slow);
  position: relative; overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,26,14,0.04);
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--terra), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.why-card::after {
  content: ''; position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,135,58,0.06), transparent 70%);
  pointer-events: none;
}
.why-card:hover::before { transform: scaleX(1); }
.why-card:hover {
  border-color: rgba(200,135,58,0.35); box-shadow: var(--shadow-terra);
  background: #fffdf9; transform: translateY(-6px);
}
.why-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terra-glow); border: 1.5px solid rgba(200,135,58,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; color: var(--terra);
  transition: all var(--transition);
}
.why-card:hover .why-icon { background: var(--terra); color: white; border-color: var(--terra); }
.why-icon i { width: 24px; height: 24px; }
.why-card h3 {
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
  color: var(--mocha); margin-bottom: 0.65rem;
}
.why-card p { font-size: 0.875rem; color: var(--slate); line-height: 1.72; }

/* ── PAGINATION ──────────────────────────────────────── */
.pagination-wrap { display: flex; justify-content: center; margin-top: 3rem; }
.pagination { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.page-btn {
  min-width: 42px; height: 42px; padding: 0 10px;
  background: white; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 500;
  color: var(--mocha); cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all var(--transition);
}
.page-btn:hover { border-color: var(--terra); color: var(--terra); }
.page-btn.active { background: var(--terra); border-color: var(--terra); color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-dots { color: var(--slate); padding: 0 4px; }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid    { grid-template-columns: repeat(2, 1fr); }
  .loyalty-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .loyalty-card-mock { max-width: 380px; }
  #all-products-grid, #featured-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 768px) {
  .hero-section { height: 62vh; min-height: 420px; max-height: 650px; }
  .hero-content { padding: 105px 6% 60px; }
  .hero-title   { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-arrow   { display: none; }
  .trust-inner  { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .trust-item   { border-right: none; }
  .loyalty-banner { padding: 3.5rem 5%; }
  .categories-grid .cat-card { max-width: calc(33.33% - 1.3rem); }
  .why-grid { grid-template-columns: 1fr; }
  #all-products-grid, #featured-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .hero-actions { gap: 0.75rem; }
  .hero-wa-btn,
  .hero-shop-btn { font-size: 0.875rem; padding: 0.78rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-section { height: 58vh; min-height: 380px; }
  .hero-content { padding: 95px 5% 50px; }
  .trust-inner  { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .trust-item   { padding: 0.55rem; gap: 0.55rem; }
  .categories-grid .cat-card { max-width: calc(50% - 1.3rem); }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  #all-products-grid, #featured-grid { grid-template-columns: 1fr !important; gap: 0.85rem !important; }
  .loyalty-inner { gap: 2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-shop-btn, .hero-wa-btn { width: 100%; justify-content: center; }
}



/* ============================================
   HIDE STAT COUNTER ICONS ONLY (MOBILE)
   Keep everything else exactly the same
   ============================================ */

@media screen and (max-width: 768px) {
  /* Hide only the stat icon - nothing else changes */
  .stat-icon {
    display: none !important;
  }
  
  /* All other styles remain exactly as they were -
     no changes to padding, font sizes, or spacing */
}

@media screen and (max-width: 480px) {
  /* Same - just hide the icon, change nothing else */
  .stat-icon {
    display: none !important;
  }
}