/* ============================================================
   JENJ ESSENTIALS — GLOBAL STYLES
   Theme: Warm Earthy Luxury — Terracotta · Cream · Deep Mocha
   Fonts: Cormorant Garamond (headings) + Outfit (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Core Palette */
  --mocha:       #2c1a0e;
  --mocha-mid:   #3d2314;
  --mocha-light: #5c3d27;
  --terra:       #c8873a;
  --terra-dark:  #a8692a;
  --terra-glow:  rgba(200, 135, 58, 0.12);
  --terra-light: #fdf0e0;
  --sky:         #0ea5e9;
  --sky-dark:    #0284c7;
  --sky-light:   #d0f2ff;
  --sky-glow:    rgba(14, 165, 233, 0.14);
  --navy:        #0f172a;
  --navy-mid:    #1e293b;
  --navy-light:  #94a3b8;
  --cream:       #fdf6ef;
  --cream-dark:  #f5e8d6;
  --sand:        #e8d5b9;
  --sage:        #7a9e7e;
  --sage-light:  #eaf3eb;
  --rose:        #d4756b;
  --rose-light:  #fdf0ee;

  /* Neutrals */
  --slate:       #7a6a5a;
  --slate-light: #b0a090;
  --gray-50:     #faf8f5;
  --gray-100:    #f3ede5;
  --gray-200:    #e5d9cc;
  --gray-300:    #d4c4b0;
  --off-white:   #fdf6ef;
  --white:       #ffffff;
  --text:        #2c1a0e;

  /* Typography */
  --font-head:   'Cormorant Garamond', Georgia, serif;
  --font-body:   'Outfit', 'Helvetica Neue', sans-serif;

  /* Spacing & Shape */
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   18px;
  --radius-xl:   28px;
  --shadow-sm:   0 1px 4px rgba(44,26,14,0.06);
  --shadow:      0 4px 12px rgba(44,26,14,0.08);
  --shadow-md:   0 8px 24px rgba(44,26,14,0.12);
  --shadow-lg:   0 20px 50px rgba(44,26,14,0.15);
  --shadow-terra:0 4px 18px rgba(200,135,58,0.25);
  --transition:  0.22s ease;
  --transition-slow: 0.45s ease;

  /* Status */
  --success:     #2d7a4f;
  --danger:      #c0392b;
  --accent:      #c8873a;
  --gold:        #d4a040;

  /* Legacy aliases (for older CSS files) */
  --black:       #2c1a0e;
  --bg:          #faf8f5;
  --text2:       #7a6a5a;
  --border:      #e5d9cc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── PAGE LOADER ─────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--mocha);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.25rem; z-index: 99999;
}
.loader-logo {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 600;
  color: var(--cream); letter-spacing: 3px;
}
.loader-logo span { color: var(--terra); }
.loader-tagline {
  font-size: 0.78rem; color: rgba(253,246,239,0.45);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 400;
}
.loader-bar {
  width: 120px; height: 2px;
  background: rgba(253,246,239,0.12);
  border-radius: 10px; overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; width: 45%; height: 100%;
  background: var(--terra); border-radius: 10px;
  animation: loaderSlide 1.2s ease-in-out infinite alternate;
}
@keyframes loaderSlide { from { transform: translateX(0); } to { transform: translateX(170%); } }

/* ── NAVBAR ─────────────────────────────────────── */
.jenj-navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; transition: all 0.35s ease;
  height: 72px;
}
.jenj-navbar.solid {
  background: var(--mocha);
  box-shadow: 0 2px 20px rgba(44,26,14,0.3);
}
.jenj-navbar.transparent { background: transparent; }
.jenj-navbar.scrolled {
  background: var(--mocha) !important;
  box-shadow: 0 2px 20px rgba(44,26,14,0.35);
}

.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 2rem;
  height: 72px; display: flex; align-items: center; gap: 2rem;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 2px; flex-shrink: 0;
  display: flex; align-items: baseline; gap: 2px;
}
.logo-jenj { color: var(--cream); }
.logo-essentials { color: var(--terra); font-weight: 400; font-size: 1.1rem; letter-spacing: 4px; }

.nav-links { display: flex; list-style: none; gap: 0.1rem; margin-left: 0.5rem; }
.nav-links a {
  color: rgba(253,246,239,0.72); font-size: 0.875rem; font-weight: 500;
  padding: 0.45rem 0.9rem; border-radius: var(--radius-sm);
  transition: all var(--transition); letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--cream); background: rgba(253,246,239,0.08); }

.nav-actions { display: flex; align-items: center; gap: 0.4rem; margin-left: auto; }

.nav-search-wrap {
  display: flex; align-items: center;
  background: rgba(253,246,239,0.08);
  border: 1px solid rgba(253,246,239,0.14);
  border-radius: 50px; overflow: hidden;
  transition: all var(--transition);
}
.nav-search-wrap:focus-within {
  background: rgba(253,246,239,0.14);
  border-color: var(--terra);
}
.nav-search-wrap input {
  background: transparent; border: none;
  color: var(--cream); padding: 0.42rem 0.9rem;
  font-size: 0.84rem; outline: none; width: 185px;
}
.nav-search-wrap input::placeholder { color: rgba(253,246,239,0.38); }
.nav-search-wrap button {
  background: transparent; border: none;
  color: rgba(253,246,239,0.55); padding: 0.42rem 0.7rem;
  display: flex; align-items: center;
}
.nav-search-wrap button:hover { color: var(--terra); }
.nav-search-wrap button i { width: 16px; height: 16px; }

.nav-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(253,246,239,0.75); transition: all var(--transition);
  position: relative; flex-shrink: 0;
}
.nav-icon-btn:hover { background: rgba(253,246,239,0.1); color: var(--cream); }
.nav-icon-btn i { width: 20px; height: 20px; }

#cart-badge {
  position: absolute; top: -3px; right: -3px;
  background: var(--terra); color: white;
  font-size: 0.62rem; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--mocha);
}

.nav-avatar-btn img {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--terra);
}

.nav-hamburger {
  display: none; background: rgba(253,246,239,0.1); border: none;
  color: var(--cream); width: 40px; height: 40px;
  border-radius: var(--radius-sm); align-items: center;
  justify-content: center; flex-shrink: 0;
}
.nav-hamburger i { width: 20px; height: 20px; }

/* Mobile Nav */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(44,26,14,0.6); z-index: 1001;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed; top: 0; right: -100%;
  width: min(310px, 88vw); height: 100vh;
  background: var(--mocha); z-index: 1002;
  transition: right 0.3s ease; padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  overflow-y: auto; box-shadow: -6px 0 40px rgba(44,26,14,0.4);
}
.mobile-nav.open { right: 0; }
.mobile-nav-close {
  align-self: flex-end; background: rgba(253,246,239,0.1);
  border: none; color: var(--cream); width: 38px; height: 38px;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin-bottom: 0.5rem;
}
.mobile-nav-close i { width: 18px; height: 18px; }
.mobile-logo { margin-bottom: 1rem; }
.mobile-links { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-links a {
  display: flex; align-items: center; gap: 0.8rem;
  color: rgba(253,246,239,0.72); padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm); font-size: 0.9rem;
  transition: all var(--transition);
}
.mobile-links a:hover { background: rgba(253,246,239,0.08); color: var(--cream); }
.mobile-links a i { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-nav-divider { height: 1px; background: rgba(253,246,239,0.08); margin: 0.5rem 0; }

/* ── FLOATING CART ──────────────────────────────── */
#float-cart { position: fixed; bottom: 28px; right: 28px; z-index: 9998; }
#float-cart button {
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(200,135,58,0.45);
  transition: all 0.3s ease; position: relative;
}
#float-cart button:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(200,135,58,0.55); }
#float-cart button i { width: 26px; height: 26px; color: white; }
#float-cart .cart-badge-num {
  position: absolute; top: -4px; right: -4px;
  background: var(--mocha); color: var(--cream);
  font-size: 0.65rem; font-weight: 700; width: 20px; height: 20px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.wave-ring {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(200,135,58,0.3);
  animation: waveRing 2.5s ease-out infinite; pointer-events: none;
}
.wave-ring-1 { width: calc(100% + 20px); height: calc(100% + 20px); animation-delay: 0s; }
.wave-ring-2 { width: calc(100% + 42px); height: calc(100% + 42px); animation-delay: 0.8s; }
@keyframes waveRing { 0% { transform: scale(0.7); opacity: 0.65; } 100% { transform: scale(1.2); opacity: 0; } }

/* ── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--terra); color: white; border: none;
  padding: 0.8rem 1.85rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--terra-dark); transform: translateY(-2px); color: white; box-shadow: var(--shadow-terra); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-primary i { width: 16px; height: 16px; }
.w-full { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.82rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--terra);
  border: 1.5px solid var(--terra);
  padding: 0.75rem 1.75rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-outline:hover { background: var(--terra); color: white; }

/* ── PRODUCT CARDS ──────────────────────────────── */
.product-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; border: 1.5px solid var(--gray-200);
  transition: all var(--transition-slow); position: relative;
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(18px);
}
.product-card.visible { opacity: 1; transform: translateY(0); }
.product-card:hover { border-color: var(--terra); box-shadow: var(--shadow-terra); transform: translateY(-5px); }

.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--gray-50); flex-shrink: 0; }
.product-main-img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-main-img { transform: scale(1.07); }

.product-badge-sale {
  position: absolute; top: 10px; left: 10px;
  background: var(--rose); color: white;
  font-size: 0.65rem; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; z-index: 2;
}
.sold-out-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(44,26,14,0.75); color: rgba(253,246,239,0.9);
  font-size: 0.62rem; font-weight: 700; padding: 3px 10px;
  border-radius: 50px; z-index: 2;
}

.wishlist-btn {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: white; border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-light); transition: all var(--transition);
  z-index: 3; opacity: 0;
  box-shadow: 0 2px 8px rgba(44,26,14,0.15);
}
.product-card:hover .wishlist-btn { opacity: 1; }
.wishlist-btn:hover, .wishlist-btn.wishlisted { color: var(--rose); }
.wishlist-btn.wishlisted i { fill: var(--rose); }
.wishlist-btn i { width: 15px; height: 15px; }

.product-cat-tag {
  font-size: 0.65rem; font-weight: 600;
  color: var(--terra); text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.product-name {
  font-size: 0.92rem; font-weight: 500; color: var(--mocha);
  line-height: 1.35; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.5rem;
}
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--terra); }
.product-price-wrap { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.product-old-price { text-decoration: line-through; color: var(--slate-light); font-size: 0.82rem; }
.product-discount-badge {
  font-size: 0.7rem; color: var(--rose); font-weight: 700;
  background: var(--rose-light); padding: 1px 7px; border-radius: 50px;
}

.product-actions { display: flex; gap: 0.45rem; margin-top: auto; padding-top: 0.6rem; }
.btn-view, .btn-cart {
  flex: 1; padding: 0.52rem 0.3rem; border: none;
  border-radius: var(--radius-sm); font-size: 0.78rem;
  font-weight: 600; cursor: pointer; transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.btn-view i, .btn-cart i { width: 13px; height: 13px; }
.btn-view { background: var(--gray-100); color: var(--mocha); border: 1.5px solid var(--gray-200); }
.btn-view:hover { background: var(--mocha); color: var(--cream); border-color: var(--mocha); }
.btn-cart { background: var(--terra); color: white; }
.btn-cart:hover { background: var(--terra-dark); }
.btn-cart:disabled { opacity: 0.5; cursor: not-allowed; background: var(--gray-200); color: var(--slate); }

/* ── SKELETON ───────────────────────────────────── */
.skeleton-card { background: white; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-200); }
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--cream-dark) 50%, var(--gray-100) 75%);
  background-size: 200% 100%; animation: shimmer 1.6s infinite; border-radius: var(--radius-sm);
}
.skeleton-img { width: 100%; aspect-ratio: 1; border-radius: 0; }
.skeleton-body { padding: 1rem; }
.skeleton-line { height: 13px; margin-bottom: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── PRODUCTS GRID ──────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.4rem; }

/* ── FORMS ──────────────────────────────────────── */
.form-input {
  width: 100%; background: white;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 0.75rem 1.1rem; font-size: 0.9rem;
  font-family: var(--font-body); color: var(--mocha);
  outline: none; transition: all var(--transition);
}
.form-input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px var(--terra-glow); }
textarea.form-input { resize: vertical; min-height: 90px; }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--mocha-light); margin-bottom: 0.4rem; }
.form-group { margin-bottom: 1.2rem; }
.form-hint { font-size: 0.72rem; color: var(--slate); margin-top: 0.28rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── STATUS BADGES ──────────────────────────────── */
.status-badge { display: inline-block; padding: 3px 11px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: capitalize; }
.status-pending          { background: #fef3c7; color: #92400e; }
.status-confirmed        { background: #dbeafe; color: #1d4ed8; }
.status-out_for_delivery { background: #ede9fe; color: #6d28d9; }
.status-delivered        { background: var(--sage-light); color: #15803d; }
.status-cancelled        { background: var(--rose-light); color: #991b1b; }

/* ── FOOTER ─────────────────────────────────────── */
#main-footer {
  background: var(--mocha);
  color: rgba(253,246,239,0.65);
  margin-top: 5rem;
}
.footer-body { padding: 4rem 5%; border-bottom: 1px solid rgba(253,246,239,0.08); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem; max-width: 1360px; margin: 0 auto;
}
.footer-logo {
  font-family: var(--font-head); font-size: 1.8rem;
  font-weight: 600; display: block; margin-bottom: 0.8rem;
  color: var(--cream); letter-spacing: 2px;
}
.footer-logo span { color: var(--terra); }
.footer-brand .footer-tagline { font-size: 0.85rem; opacity: 0.55; margin-bottom: 1.2rem; line-height: 1.7; font-style: italic; }
.footer-socials { display: flex; gap: 0.6rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(253,246,239,0.06); border: 1px solid rgba(253,246,239,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(253,246,239,0.6); transition: all var(--transition);
}
.social-btn:hover { color: var(--cream); border-color: var(--terra); background: rgba(200,135,58,0.15); }
.whatsapp-social { background: rgba(37,211,102,0.12); color: #4ade80; border-color: rgba(37,211,102,0.2); }
.whatsapp-social:hover { background: #25D366; color: white; border-color: #25D366; }
.footer-col h4 {
  color: var(--cream); font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.1rem; font-weight: 600;
  font-family: var(--font-body);
}
.footer-col a {
  display: block; color: rgba(253,246,239,0.5);
  font-size: 0.875rem; padding: 0.24rem 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--terra); }
.footer-contact .contact-item {
  display: flex; align-items: flex-start;
  gap: 0.6rem; margin-bottom: 0.8rem; font-size: 0.84rem;
}
.footer-contact .contact-item i { width: 15px; height: 15px; color: var(--terra); flex-shrink: 0; margin-top: 2px; }
.footer-contact .contact-item a { display: inline; color: rgba(253,246,239,0.5); padding: 0; }
.footer-contact .contact-item a:hover { color: var(--terra); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding: 1.4rem 5%; font-size: 0.8rem;
  color: rgba(253,246,239,0.35);
}
.footer-bottom-left { display: flex; flex-direction: column; gap: 3px; }
.footer-dev { font-size: 0.77rem; opacity: 0.65; }
.footer-dev a { color: var(--terra); text-decoration: none; font-weight: 600; }

.footer-payment-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-payment-label {
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(253,246,239,0.3); margin: 0;
}
.footer-payment-badges {
  display: flex; align-items: center; gap: 10px;
  background: rgba(253,246,239,0.04);
  border: 1px solid rgba(253,246,239,0.09);
  border-radius: 14px; padding: 10px 16px;
}
.payment-badge { display: flex; align-items: center; gap: 8px; }
.payment-badge-img-wrap {
  width: 38px; height: 38px; border-radius: 9px;
  overflow: hidden; flex-shrink: 0;
  background: rgba(253,246,239,0.07);
}
.payment-badge-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.payment-badge-text { display: flex; flex-direction: column; gap: 1px; }
.pbt-main { font-size: 0.76rem; font-weight: 700; color: rgba(253,246,239,0.82); line-height: 1.2; }
.pbt-sub  { font-size: 0.65rem; font-weight: 400; color: rgba(253,246,239,0.38); line-height: 1.2; }
.payment-badge-divider { width: 1px; height: 32px; background: rgba(253,246,239,0.09); flex-shrink: 0; }

/* ── SCROLL REVEAL ──────────────────────────────── */
.scroll-reveal, .reveal-zoom {
  opacity: 0; transform: translateY(24px) scale(0.97);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.2,0.9,0.4,1);
}
.scroll-reveal.revealed, .reveal-zoom.revealed { opacity: 1; transform: translateY(0) scale(1); }

/* ── UTILITIES ──────────────────────────────────── */
.container { max-width: 1360px; margin: 0 auto; padding: 0 2rem; }
.py-nav    { padding-top: calc(72px + 2.5rem); padding-bottom: 4rem; }
.section   { padding: 5.5rem 5%; }
.mt-1      { margin-top: 0.5rem; }
.mt-2      { margin-top: 1rem; }
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state h3 { font-family: var(--font-head); font-size: 1.4rem; margin: 1rem 0 0.5rem; color: var(--mocha); }
.empty-state p  { color: var(--slate); margin-bottom: 1.5rem; }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links   { display: none; }
}
@media (max-width: 768px) {
  body { padding-top: 68px; }
  .nav-search-wrap { display: none; }
  .nav-hamburger   { display: flex; }
  .nav-inner       { gap: 0.5rem; padding: 0 1.25rem; }
  .footer-grid     { grid-template-columns: 1fr; gap: 1.75rem; }
  .form-row        { grid-template-columns: 1fr; }
  .products-grid   { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .product-img-wrap { aspect-ratio: 4/3; }
  .product-name { font-size: 1rem; min-height: auto; -webkit-line-clamp: unset; }
  .product-price { font-size: 1.15rem; }
  .wishlist-btn { opacity: 1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr !important; gap: 0.9rem !important; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-payment-wrap { width: 100%; align-items: center; }
  .footer-payment-badges { width: 100%; justify-content: center; flex-wrap: wrap; gap: 8px; border-radius: 12px; padding: 12px; box-sizing: border-box; }
}

/* ── EXTRA FIXES ─────────────────────────────────────── */

/* Cart badge always uses flex when count > 0 */
#cart-badge,
.cart-badge-num {
  display: none;
  align-items: center;
  justify-content: center;
}

/* Mobile: show sign-in icon properly */
@media (max-width: 768px) {
  .nav-icon-btn i { width: 22px; height: 22px; }
  .nav-avatar-btn img { width: 36px; height: 36px; }
}

/* All-products section background */
#all-products { background: var(--cream); }

/* Improve hero btn on very small screens */
@media (max-width: 380px) {
  .hero-title { font-size: 1.85rem; }
  .hero-sub   { font-size: 0.88rem; }
  .hero-shop-btn { padding: 0.72rem 1.4rem; font-size: 0.85rem; }
}

/* ── ENHANCED SCROLL ANIMATIONS ────────────────────── */
/* Slide in from left */
.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.9,0.4,1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

/* Slide in from right */
.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2,0.9,0.4,1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Zoom in */
.reveal-zoom {
  opacity: 0; transform: scale(0.88);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2,0.9,0.4,1);
}
.reveal-zoom.revealed { opacity: 1; transform: scale(1); }

/* Slide up (default scroll-reveal already defined, this is an alias) */
.reveal-up {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.68s cubic-bezier(0.2,0.9,0.4,1);
}
.reveal-up.revealed { opacity: 1; transform: translateY(0); }

/* Staggered delay helpers for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }