/* ============================================================
   PETGLO BY DAMERAX — Jungle Book Animal Kingdom Theme
   assets/petglo.css  — Load AFTER style.css on storefront only
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ── JUNGLE PALETTE ─────────────────────────────────────── */
:root {
  --j-void:    #060E06;
  --j-deep:    #0D1A0D;
  --j-dark:    #152915;
  --j-forest:  #1E3E1E;
  --j-canopy:  #2A5A2A;
  --j-moss:    #3D7A3D;
  --j-fern:    #52A052;
  --j-lime:    #72CC72;
  --j-mist:    #A8E0A8;
  --j-dew:     #E0F5E0;
  --j-pale:    #F2FBF2;
  --j-gold:    #F0A830;
  --j-clay:    #C47A4A;
  --j-sunset:  #E86040;
  --j-sky:     #4AB8D8;
  --j-berry:   #9B4DB8;
  --j-spring:  cubic-bezier(.34,1.56,.64,1);
  --j-ease:    cubic-bezier(.25,.8,.25,1);
}

/* ── OVERRIDE body on storefront ────────────────────────── */
body.storefront,
.storefront {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  background: var(--j-void) !important;
  color: var(--j-dew) !important;
  --bg: var(--j-void) !important;
  --bg-warm: var(--j-deep) !important;
  --surface: var(--j-dark) !important;
  --border: rgba(72,160,72,.18) !important;
  --border-dark: rgba(114,204,114,.2) !important;
  --ink: var(--j-dew) !important;
  --ink-soft: var(--j-mist) !important;
  --ink-muted: #8ec88e !important;
  --ink-light: #6aaa6a !important;
  --gold: var(--j-gold) !important;
  --gold-light: #f5c85a !important;
  --gold-dark: #c87d18 !important;
  --gold-pale: rgba(240,168,48,.12) !important;
  --theme: var(--j-fern) !important;
  --theme-dark: var(--j-canopy) !important;
  --theme-light: rgba(82,160,82,.12) !important;
  --danger: #e84040 !important;
  --success: var(--j-lime) !important;
  --shadow: 0 2px 12px rgba(0,0,0,.4) !important;
  --shadow-md: 0 8px 32px rgba(0,0,0,.5) !important;
  --shadow-lg: 0 20px 60px rgba(0,0,0,.6) !important;
}

/* ── TICKER BAR ─────────────────────────────────────────── */
.j-ticker {
  background: var(--j-void);
  border-bottom: 1px solid rgba(114,204,114,.12);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 110;
}
.j-ticker-track {
  display: flex;
  gap: 0;
  animation: j-ticker-scroll 28s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.j-ticker-track span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--j-lime);
  padding: 0 2.5rem;
}
.j-ticker-track span.sep {
  color: var(--j-gold);
  padding: 0;
}
@keyframes j-ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── JUNGLE HEADER ──────────────────────────────────────── */
.storefront .store-header {
  background: rgba(13,26,13,.92) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(114,204,114,.15) !important;
  box-shadow: 0 4px 40px rgba(0,0,0,.5) !important;
  padding: .8rem 1.8rem !important;
}
.storefront .store-name {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600 !important;
  font-style: italic;
  color: var(--j-dew) !important;
  letter-spacing: .04em !important;
  font-size: 1.15rem !important;
}
.storefront .store-tagline {
  color: var(--j-lime) !important;
  opacity: .8 !important;
  letter-spacing: .15em !important;
}
.storefront .store-logo-text {
  color: var(--j-gold) !important;
  animation: j-logo-pulse 3s ease-in-out infinite !important;
}
@keyframes j-logo-pulse {
  0%,100% { filter: drop-shadow(0 0 4px rgba(240,168,48,.3)); }
  50%     { filter: drop-shadow(0 0 14px rgba(240,168,48,.7)); }
}

/* Search in header */
.storefront .header-search-container {
  background: rgba(21,41,21,.8) !important;
  border: 1px solid rgba(114,204,114,.2) !important;
}
.storefront .header-search-container:focus-within {
  border-color: var(--j-lime) !important;
  box-shadow: 0 0 0 3px rgba(114,204,114,.12) !important;
}
.storefront .header-search-container input {
  color: var(--j-dew) !important;
  background: transparent !important;
}
.storefront .header-search-container input::placeholder { color: #6aaa6a !important; }
.storefront .header-search-submit-btn { background: var(--j-canopy) !important; }
.storefront .header-search-submit-btn:hover { background: var(--j-fern) !important; }
.storefront .search-category-select { background: rgba(30,62,30,.8) !important; border-right-color: rgba(114,204,114,.2) !important; }
.storefront .search-category-select select { color: var(--j-mist) !important; background: transparent !important; }

/* Search dropdown */
.storefront .search-dropdown {
  background: var(--j-deep) !important;
  border: 1px solid rgba(114,204,114,.2) !important;
}
.storefront .search-result-item:hover { background: var(--j-dark) !important; }
.storefront .sr-title { color: var(--j-dew) !important; }

/* Header nav links */
.storefront .nav-link { color: var(--j-mist) !important; }
.storefront .nav-link:hover, .storefront .nav-link.active { color: var(--j-lime) !important; }
.storefront .nav-link.active::after { background: var(--j-lime) !important; }

/* Header bag button */
.storefront .header-bag-btn {
  background: rgba(30,62,30,.6) !important;
  border-color: rgba(114,204,114,.2) !important;
  color: var(--j-mist) !important;
}
.storefront .header-bag-btn:hover {
  background: var(--j-canopy) !important;
  border-color: var(--j-lime) !important;
  color: var(--j-dew) !important;
}

/* ── TAG FILTER BAR ─────────────────────────────────────── */
.storefront .tag-filter-bar {
  background: var(--j-deep) !important;
  border-bottom: 1px solid rgba(114,204,114,.12) !important;
  padding: .6rem 1.4rem !important;
}
.storefront .tag-chip {
  background: rgba(21,41,21,.7) !important;
  border: 1px solid rgba(114,204,114,.2) !important;
  color: var(--j-mist) !important;
  border-radius: 30px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  transition: all .22s var(--j-spring) !important;
}
.storefront .tag-chip:hover {
  border-color: var(--j-lime) !important;
  color: var(--j-lime) !important;
  background: rgba(114,204,114,.08) !important;
  transform: translateY(-1px) !important;
}
.storefront .tag-chip.active {
  background: var(--j-canopy) !important;
  border-color: var(--j-lime) !important;
  color: var(--j-dew) !important;
  box-shadow: 0 4px 16px rgba(114,204,114,.25) !important;
}

/* ── HERO SECTION ───────────────────────────────────────── */
.j-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(114,204,114,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(240,168,48,.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--j-void) 0%, var(--j-deep) 50%, var(--j-dark) 100%);
  padding: 0 0 3rem;
}

/* Bokeh dots */
.j-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(114,204,114,.07) 0%, transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(240,168,48,.05) 0%, transparent 25%),
    radial-gradient(circle at 50% 10%, rgba(74,184,216,.04) 0%, transparent 20%),
    radial-gradient(circle at 30% 85%, rgba(82,160,82,.06) 0%, transparent 22%),
    radial-gradient(circle at 70% 40%, rgba(155,77,184,.04) 0%, transparent 18%);
  pointer-events: none;
  z-index: 0;
}

/* Animated shimmer overlay */
.j-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(114,204,114,.03) 25%, transparent 50%, rgba(240,168,48,.02) 75%, transparent 100%);
  animation: j-hero-shimmer 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes j-hero-shimmer {
  0%,100% { opacity: .5; transform: scale(1); }
  50%     { opacity: 1;  transform: scale(1.02); }
}

/* Floating leaves */
.j-leaf {
  position: absolute;
  font-size: 1.5rem;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  opacity: .5;
}
.j-leaf-1 { top: 12%; left: 8%;  animation: j-leaf-drift-1 9s ease-in-out infinite; }
.j-leaf-2 { top: 25%; left: 18%; animation: j-leaf-drift-2 12s ease-in-out infinite .5s; font-size: 1.1rem; }
.j-leaf-3 { top: 60%; left: 5%;  animation: j-leaf-drift-1 10s ease-in-out infinite 1s; font-size: .9rem; }
.j-leaf-4 { top: 8%;  right: 30%; animation: j-leaf-drift-2 11s ease-in-out infinite .3s; }
.j-leaf-5 { top: 80%; right: 8%;  animation: j-leaf-drift-1 13s ease-in-out infinite .8s; font-size: 1.2rem; }
.j-leaf-6 { top: 45%; right: 3%;  animation: j-leaf-drift-2 8s ease-in-out infinite 1.5s; font-size: .85rem; }
@keyframes j-leaf-drift-1 {
  0%,100% { transform: translate(0,0) rotate(-5deg); }
  33%     { transform: translate(12px,-18px) rotate(8deg); }
  66%     { transform: translate(-8px,10px) rotate(-12deg); }
}
@keyframes j-leaf-drift-2 {
  0%,100% { transform: translate(0,0) rotate(10deg); }
  40%     { transform: translate(-14px,-12px) rotate(-6deg); }
  70%     { transform: translate(10px,14px) rotate(15deg); }
}

/* Floating wildlife */
.j-wildlife {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  opacity: .35;
}
.j-wildlife-1 { top: 18%; left: 60%; font-size: 1.4rem; animation: j-flutter-1 7s ease-in-out infinite; }
.j-wildlife-2 { top: 70%; left: 55%; font-size: 1rem;   animation: j-flutter-2 9s ease-in-out infinite .6s; }
.j-wildlife-3 { top: 40%; left: 88%; font-size: 1.2rem; animation: j-flutter-1 11s ease-in-out infinite 1s; }
@keyframes j-flutter-1 {
  0%,100% { transform: translate(0,0) scale(1); }
  30%     { transform: translate(20px,-25px) scale(1.1); }
  70%     { transform: translate(-10px,15px) scale(.9); }
}
@keyframes j-flutter-2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-18px,-20px); }
}

/* Hero inner layout */
.j-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Hero content */
.j-hero-content {}
.j-hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--j-lime);
  margin-bottom: 1.2rem;
  padding: .3rem .9rem;
  border: 1px solid rgba(114,204,114,.3);
  border-radius: 30px;
  background: rgba(114,204,114,.06);
}
.j-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  color: var(--j-pale);
  margin-bottom: 1.4rem;
  letter-spacing: .01em;
}
.j-hero-title em {
  color: var(--j-lime);
  font-style: italic;
}
.j-hero-desc {
  font-size: .97rem;
  color: #8ec88e;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}
.j-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.j-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--j-fern), var(--j-canopy));
  color: var(--j-pale);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s var(--j-spring);
  box-shadow: 0 4px 20px rgba(82,160,82,.35);
  will-change: transform;
}
.j-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(82,160,82,.5);
  background: linear-gradient(135deg, var(--j-lime), var(--j-fern));
  color: var(--j-void);
}
.j-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--j-mist);
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(114,204,114,.3);
  cursor: pointer;
  transition: all .3s var(--j-spring);
}
.j-btn-secondary:hover {
  background: rgba(114,204,114,.08);
  border-color: var(--j-lime);
  color: var(--j-lime);
  transform: translateY(-2px);
}

/* Hero stat counters */
.j-hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.j-stat {
  display: flex;
  flex-direction: column;
}
.j-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--j-lime);
  line-height: 1;
}
.j-stat-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6aaa6a;
  margin-top: .2rem;
}

/* Hero orb */
.j-hero-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 440px;
}
.j-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(114,204,114,.2);
  will-change: transform;
}
.j-orb-ring-1 {
  width: 360px; height: 360px;
  animation: j-ring-rotate 18s linear infinite;
  border-color: rgba(114,204,114,.15);
  border-style: dashed;
}
.j-orb-ring-2 {
  width: 280px; height: 280px;
  animation: j-ring-rotate 12s linear infinite reverse;
  border-color: rgba(240,168,48,.2);
}
.j-orb-ring-3 {
  width: 200px; height: 200px;
  animation: j-ring-rotate 8s linear infinite;
  border-color: rgba(82,160,82,.3);
  border-width: 2px;
}
@keyframes j-ring-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Small orbit emojis on rings */
.j-orb-ring-1::before {
  content: '🌿';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
}
.j-orb-ring-2::after {
  content: '🍃';
  position: absolute;
  bottom: -12px; right: -8px;
  font-size: 1rem;
}

/* Central emoji */
.j-orb-center {
  position: relative;
  z-index: 3;
  font-size: 5rem;
  animation: j-orb-float 4s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 0 30px rgba(114,204,114,.4));
}
@keyframes j-orb-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-18px); }
}

/* Glow behind orb */
.j-orb-glow {
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,160,82,.25) 0%, transparent 70%);
  z-index: 2;
  animation: j-glow-pulse 3s ease-in-out infinite;
}
@keyframes j-glow-pulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%     { transform: scale(1.3); opacity: 1; }
}

/* ── HABITAT GRID ────────────────────────────────────────── */
.j-habitats {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.j-section-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--j-lime);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.j-section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--j-lime);
  opacity: .5;
  display: inline-block;
}
.j-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 2.5rem;
}

.j-habitat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.j-habitat-card {
  background: rgba(21,41,21,.7);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 16px;
  padding: 1.5rem .8rem 1.2rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s var(--j-spring);
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.j-habitat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
  border-radius: 16px;
}
.j-habitat-card:hover::before { opacity: 1; }
.j-habitat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(114,204,114,.4);
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}

/* Per-habitat gradient backgrounds */
.j-habitat-canines::before   { background: linear-gradient(135deg, rgba(240,168,48,.12), transparent); }
.j-habitat-felines::before   { background: linear-gradient(135deg, rgba(232,96,64,.12), transparent); }
.j-habitat-birds::before     { background: linear-gradient(135deg, rgba(74,184,216,.12), transparent); }
.j-habitat-aquatic::before   { background: linear-gradient(135deg, rgba(52,124,220,.12), transparent); }
.j-habitat-exotic::before    { background: linear-gradient(135deg, rgba(155,77,184,.12), transparent); }
.j-habitat-small::before     { background: linear-gradient(135deg, rgba(196,122,74,.12), transparent); }

.j-habitat-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: .7rem;
  transition: transform .3s var(--j-spring);
  will-change: transform;
}
.j-habitat-card:hover .j-habitat-emoji {
  animation: j-emoji-bounce .5s var(--j-spring);
}
@keyframes j-emoji-bounce {
  0%  { transform: translateY(0) scale(1); }
  40% { transform: translateY(-10px) scale(1.2); }
  70% { transform: translateY(4px) scale(.95); }
  100%{ transform: translateY(0) scale(1); }
}
.j-habitat-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--j-mist);
  display: block;
}

/* ── FEATURED STRIP ─────────────────────────────────────── */
.j-featured-section {
  padding: 0 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.j-featured-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
}
.j-featured-strip::-webkit-scrollbar { display: none; }
.j-featured-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: var(--j-dark);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 14px;
  overflow: hidden;
  transition: all .3s var(--j-spring);
  will-change: transform;
  text-decoration: none;
}
.j-featured-card:hover {
  transform: translateY(-5px);
  border-color: var(--j-lime);
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 20px rgba(114,204,114,.1);
}
.j-featured-card img {
  width: 100%; height: 140px;
  object-fit: cover;
  transition: transform .4s ease;
}
.j-featured-card:hover img { transform: scale(1.06); }
.j-featured-info {
  padding: .6rem .75rem .8rem;
}
.j-featured-title {
  font-size: .72rem;
  font-weight: 600;
  color: var(--j-mist);
  line-height: 1.3;
  margin-bottom: .25rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.j-featured-price {
  font-family: 'Playfair Display', serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--j-lime);
}

/* ── PET PROFILE CARDS ───────────────────────────────────── */
.storefront .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 1.4rem !important;
}

.storefront .product-card {
  background: var(--j-dark) !important;
  border: 1px solid rgba(114,204,114,.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.4) !important;
  transition: all .35s var(--j-spring) !important;
  overflow: hidden !important;
  will-change: transform !important;
  display: flex !important;
  flex-direction: column !important;
}
.storefront .product-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: rgba(114,204,114,.4) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.6), 0 0 30px rgba(114,204,114,.1) !important;
}

/* Card image */
.storefront .product-card-img {
  aspect-ratio: 4/3 !important;
  position: relative !important;
  overflow: hidden !important;
}
.storefront .product-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .5s ease !important;
}
.storefront .product-card:hover .product-card-img img {
  transform: scale(1.08) !important;
}

/* Habitat badge (bottom-left overlay) */
.j-card-habitat-badge {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(13,26,13,.85);
  backdrop-filter: blur(8px);
  color: var(--j-lime);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 20px;
  border: 1px solid rgba(114,204,114,.3);
  z-index: 2;
}

/* Breed badge (top-right overlay) */
.j-card-breed-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: rgba(13,26,13,.85);
  backdrop-filter: blur(8px);
  color: var(--j-gold);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .22rem .7rem;
  border-radius: 20px;
  border: 1px solid rgba(240,168,48,.3);
  z-index: 2;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Adopted overlay */
.j-card-adopted-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,14,6,.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  gap: .4rem;
}
.j-card-adopted-overlay span:first-child {
  font-size: 2rem;
}
.j-card-adopted-overlay span:last-child {
  font-family: 'Playfair Display', serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--j-mist);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Card body */
.j-card-body {
  padding: 1rem 1.1rem .6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.j-card-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  color: var(--j-dew);
  line-height: 1.35;
  margin-bottom: .55rem;
  text-decoration: none;
  display: block;
}

/* Meta chips (age, gender, location) */
.j-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .65rem;
}
.j-meta-chip {
  font-size: .62rem;
  font-weight: 600;
  color: #6aaa6a;
  background: rgba(21,41,21,.8);
  border: 1px solid rgba(114,204,114,.15);
  border-radius: 20px;
  padding: .18rem .55rem;
  letter-spacing: .04em;
}

/* Health badges row */
.j-health-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .75rem;
}
.j-health-badge {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  border-radius: 20px;
  background: rgba(114,204,114,.1);
  border: 1px solid rgba(114,204,114,.25);
  color: var(--j-lime);
}
.j-health-badge.pedigree {
  background: rgba(240,168,48,.1);
  border-color: rgba(240,168,48,.3);
  color: var(--j-gold);
}

/* Price */
.j-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--j-lime);
  margin-bottom: .6rem;
  line-height: 1;
}

/* Enquire before you buy mini banner */
.j-enquire-banner {
  background: rgba(30,62,30,.6);
  border: 1px solid rgba(114,204,114,.2);
  border-radius: 8px;
  padding: .5rem .75rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.j-enquire-banner-icon {
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .05rem;
}
.j-enquire-banner-text {
  flex: 1;
}
.j-enquire-banner-title {
  font-size: .65rem;
  font-weight: 800;
  color: var(--j-lime);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.j-enquire-banner-sub {
  font-size: .58rem;
  color: #6aaa6a;
  margin-top: .1rem;
  line-height: 1.4;
}

/* Card action buttons */
.j-card-actions {
  padding: 0 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.j-card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

.j-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: #25D366;
  color: #fff;
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s var(--j-spring);
  box-shadow: 0 2px 10px rgba(37,211,102,.2);
}
.j-btn-wa:hover {
  background: #1aab52;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37,211,102,.35);
}
.j-btn-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: rgba(30,62,30,.7);
  color: var(--j-mist);
  padding: .6rem .8rem;
  border-radius: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(114,204,114,.2);
  cursor: pointer;
  transition: all .25s var(--j-spring);
}
.j-btn-profile:hover {
  background: var(--j-forest);
  border-color: var(--j-lime);
  color: var(--j-lime);
  transform: translateY(-2px);
}
.j-btn-cart-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--j-canopy), var(--j-dark));
  color: var(--j-dew);
  padding: .65rem 1rem;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(114,204,114,.25);
  cursor: pointer;
  transition: all .25s var(--j-spring);
  width: 100%;
}
.j-btn-cart-full:hover {
  background: linear-gradient(135deg, var(--j-fern), var(--j-canopy));
  color: var(--j-pale);
  box-shadow: 0 4px 16px rgba(82,160,82,.3);
  transform: translateY(-1px);
}

/* ── TRUST / PROMISE SECTION ─────────────────────────────── */
.j-promise-section {
  background: linear-gradient(180deg, var(--j-deep) 0%, var(--j-forest) 100%);
  border-top: 1px solid rgba(114,204,114,.12);
  border-bottom: 1px solid rgba(114,204,114,.12);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.j-promise-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(114,204,114,.06) 0%, transparent 70%);
  pointer-events: none;
}
.j-promise-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.j-promise-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 1rem;
}
.j-promise-body {
  font-size: .95rem;
  color: #8ec88e;
  line-height: 1.9;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.j-trust-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.j-trust-pillar {
  background: rgba(13,26,13,.7);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all .3s var(--j-spring);
}
.j-trust-pillar:hover {
  border-color: rgba(114,204,114,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}
.j-trust-pillar-icon { font-size: 2rem; margin-bottom: .8rem; display: block; }
.j-trust-pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--j-dew);
  margin-bottom: .4rem;
}
.j-trust-pillar-desc {
  font-size: .72rem;
  color: #6aaa6a;
  line-height: 1.6;
}

/* ── SECTION OVERRIDES ───────────────────────────────────── */
.storefront .store-main {
  background: var(--j-void) !important;
  padding: 0 !important;
  max-width: none !important;
}
.j-products-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.storefront .section-label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--j-lime) !important;
  border-bottom-color: rgba(114,204,114,.15) !important;
  font-size: .7rem !important;
}
.storefront .section-label::before { background: var(--j-lime) !important; }
.storefront .product-count {
  background: var(--j-canopy) !important;
  color: var(--j-dew) !important;
}

/* Empty state */
.j-empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 6rem 2rem;
}
.j-empty-state .j-empty-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 1.2rem;
  animation: j-orb-float 3s ease-in-out infinite;
}
.j-empty-state p {
  color: #6aaa6a;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.storefront .store-footer {
  background: var(--j-void) !important;
  border-top: 1px solid rgba(114,204,114,.1) !important;
  color: #3d7a3d !important;
}
.storefront .footer-name { color: var(--j-mist) !important; }
.storefront .footer-tagline { color: #3d7a3d !important; }
.storefront .footer-links a { color: #4a8a4a !important; }
.storefront .footer-links a:hover { color: var(--j-lime) !important; }
.storefront .footer-tag { border-color: rgba(114,204,114,.12) !important; color: #4a8a4a !important; }
.storefront .footer-tag:hover { border-color: var(--j-lime) !important; color: var(--j-lime) !important; }
.storefront .footer-credit { color: #2a5a2a !important; }
.storefront .footer-credit strong { color: #4a8a4a !important; }

/* ── BOTTOM NAV (jungle) ─────────────────────────────────── */
.storefront .bottom-nav {
  background: rgba(13,26,13,.95) !important;
  backdrop-filter: blur(24px) !important;
  border-top: 1px solid rgba(114,204,114,.15) !important;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5) !important;
}
.storefront .bnav-item { color: #3d7a3d !important; }
.storefront .bnav-item.active { color: var(--j-lime) !important; }
.storefront .bnav-item:hover { color: var(--j-mist) !important; }
.storefront .bnav-badge { background: var(--j-gold) !important; color: var(--j-void) !important; }

/* ── PRODUCT DETAIL PAGE ─────────────────────────────────── */
.j-product-header {
  background: rgba(13,26,13,.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(114,204,114,.15);
  padding: .85rem 1.8rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.j-back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--j-lime);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.j-back-link:hover {
  color: var(--j-dew);
  transform: translateX(-3px);
}

.j-product-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 6rem;
}
.j-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

/* Gallery */
.j-gallery-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--j-dark);
  border: 1px solid rgba(114,204,114,.15);
  aspect-ratio: 1;
}
.j-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity .2s ease;
}
.j-gallery-habitat-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(13,26,13,.85);
  backdrop-filter: blur(8px);
  color: var(--j-lime);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 20px;
  border: 1px solid rgba(114,204,114,.3);
  z-index: 2;
}
.j-gallery-adopted {
  position: absolute;
  inset: 0;
  background: rgba(6,14,6,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  z-index: 3;
}
.j-gallery-adopted-emoji { font-size: 3rem; }
.j-gallery-adopted-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--j-mist);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.j-gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .7rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.j-gallery-thumbs::-webkit-scrollbar { display: none; }
.j-gallery-thumb {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(114,204,114,.1);
  cursor: pointer;
  transition: border-color .2s ease;
}
.j-gallery-thumb:hover,
.j-gallery-thumb.active { border-color: var(--j-lime); }
.j-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product info panel */
.j-info-panel {}
.j-product-health-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.j-product-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.j-product-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--j-lime);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(114,204,114,.15);
  padding-bottom: 1.2rem;
}

/* Quick stat cards */
.j-stat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.j-stat-card {
  background: rgba(21,41,21,.6);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 10px;
  padding: .7rem .9rem;
}
.j-stat-card-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6aaa6a;
  margin-bottom: .2rem;
}
.j-stat-card-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--j-dew);
}

/* AI description callout */
.j-ai-callout {
  background: rgba(13,26,13,.8);
  border: 1px solid rgba(114,204,114,.15);
  border-left: 3px solid var(--j-lime);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.j-ai-callout-header {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--j-lime);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.j-ai-callout p {
  font-size: .88rem;
  color: #8ec88e;
  line-height: 1.85;
}

/* Enquire before buy block on detail page */
.j-product-enquire-block {
  background: rgba(30,62,30,.5);
  border: 1px solid rgba(114,204,114,.2);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.j-peb-icon { font-size: 2rem; margin-bottom: .5rem; display: block; }
.j-peb-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--j-lime);
  margin-bottom: .4rem;
}
.j-peb-body {
  font-size: .8rem;
  color: #8ec88e;
  line-height: 1.7;
}

/* CTA group */
.j-cta-group {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.5rem;
}
.j-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}
.j-btn-wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: #25D366;
  color: #fff;
  padding: .95rem 1.5rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s var(--j-spring);
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
  width: 100%;
}
.j-btn-wa-full:hover {
  background: #1aab52;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
}
.j-btn-addcart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--j-canopy);
  color: var(--j-dew);
  padding: .85rem 1.2rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(114,204,114,.25);
  cursor: pointer;
  transition: all .3s var(--j-spring);
}
.j-btn-addcart:hover {
  background: var(--j-fern);
  color: var(--j-void);
  box-shadow: 0 4px 16px rgba(82,160,82,.3);
  transform: translateY(-2px);
}
.j-btn-buynow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--j-gold), #c87d18);
  color: var(--j-void);
  padding: .85rem 1.2rem;
  border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .3s var(--j-spring);
  box-shadow: 0 4px 16px rgba(240,168,48,.25);
}
.j-btn-buynow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240,168,48,.4);
}
.j-view-cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: transparent;
  color: var(--j-lime);
  border: 1px solid rgba(114,204,114,.3);
  border-radius: 12px;
  padding: .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .2s ease;
}
.j-view-cart-link:hover { background: rgba(114,204,114,.08); }

/* Detail table */
.j-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.j-detail-table tr { border-bottom: 1px solid rgba(114,204,114,.08); }
.j-detail-table tr:last-child { border-bottom: none; }
.j-detail-table td {
  padding: .6rem .5rem;
  font-size: .83rem;
  vertical-align: middle;
}
.j-detail-table td:first-child {
  color: #6aaa6a;
  font-weight: 600;
  width: 45%;
  letter-spacing: .04em;
}
.j-detail-table td:last-child { color: var(--j-dew); }
.j-detail-yes { color: var(--j-lime) !important; font-weight: 700 !important; }
.j-detail-no  { color: #e84040 !important; font-weight: 700 !important; }

/* Tag chips on product page */
.j-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.5rem;
}
.j-product-tag {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 20px;
  background: rgba(114,204,114,.08);
  border: 1px solid rgba(114,204,114,.2);
  color: var(--j-lime);
  text-decoration: none;
  transition: all .2s var(--j-spring);
}
.j-product-tag:hover {
  background: rgba(114,204,114,.15);
  border-color: var(--j-lime);
}

/* ── CART PAGE ───────────────────────────────────────────── */
.j-cart-page .store-main {
  background: var(--j-void) !important;
}
.j-cart-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}
.j-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.j-cart-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 1.5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(114,204,114,.15);
}
.j-cart-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(114,204,114,.08);
  align-items: flex-start;
}
.j-cart-item:last-child { border-bottom: none; }
.j-cart-item-img {
  width: 90px; height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(114,204,114,.12);
  flex-shrink: 0;
}
.j-cart-item-info { flex: 1; min-width: 0; }
.j-cart-item-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--j-dew);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.j-cart-item-price { font-size: .78rem; color: #6aaa6a; margin-bottom: .6rem; }
.j-cart-qty-row { display: flex; align-items: center; gap: .5rem; }
.j-qty-btn {
  width: 30px; height: 30px;
  background: rgba(30,62,30,.7);
  border: 1px solid rgba(114,204,114,.2);
  border-radius: 8px;
  color: var(--j-mist);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.j-qty-btn:hover { background: var(--j-canopy); color: var(--j-dew); border-color: var(--j-lime); }
.j-qty-num { font-weight: 700; min-width: 26px; text-align: center; color: var(--j-dew); }
.j-remove-btn {
  background: none;
  border: none;
  color: #e84040;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .7;
  transition: opacity .2s;
}
.j-remove-btn:hover { opacity: 1; text-decoration: underline; }
.j-cart-item-subtotal {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--j-lime);
  white-space: nowrap;
  align-self: center;
}

/* Order summary */
.j-order-summary {
  background: var(--j-dark);
  border: 1px solid rgba(114,204,114,.15);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 80px;
}
.j-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(114,204,114,.12);
}
.j-summary-row {
  display: flex;
  justify-content: space-between;
  padding: .55rem 0;
  font-size: .86rem;
  border-bottom: 1px solid rgba(114,204,114,.06);
  color: #8ec88e;
}
.j-summary-row:last-child { border-bottom: none; }
.j-summary-total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--j-lime) !important;
  font-family: 'Playfair Display', serif;
  padding-top: .8rem;
  margin-top: .4rem;
  border-top: 1px solid rgba(114,204,114,.15);
}
.j-summary-btns { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .6rem; }

/* Empty cart state */
.j-empty-cart {
  text-align: center;
  padding: 5rem 2rem;
}
.j-empty-cart-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.5rem;
  animation: j-orb-float 3s ease-in-out infinite;
}
.j-empty-cart p {
  color: #6aaa6a;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ── CHECKOUT PAGE ───────────────────────────────────────── */
.j-checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 5rem;
}
.j-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
.j-form-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: 1.5rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(114,204,114,.15);
}

/* Form fields */
.j-form-group { margin-bottom: 1.2rem; }
.j-form-label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  color: #6aaa6a;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .45rem;
}
.j-form-input {
  width: 100%;
  padding: .8rem 1rem;
  background: rgba(21,41,21,.6);
  border: 1px solid rgba(114,204,114,.18);
  border-radius: 10px;
  color: var(--j-dew);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.j-form-input:focus {
  border-color: var(--j-lime);
  box-shadow: 0 0 0 3px rgba(114,204,114,.1);
}
.j-form-input::placeholder { color: #3d7a3d; }
.j-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Payment options */
.j-payment-options { display: flex; flex-direction: column; gap: .7rem; }
.j-payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(21,41,21,.5);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s var(--j-spring);
}
.j-payment-option:hover {
  border-color: rgba(114,204,114,.3);
  background: rgba(30,62,30,.5);
}
.j-payment-option.selected {
  border-color: var(--j-lime);
  background: rgba(114,204,114,.06);
  box-shadow: 0 0 0 2px rgba(114,204,114,.15);
}
.j-payment-option input[type="radio"] { display: none; }
.j-payment-icon { font-size: 1.4rem; }
.j-payment-label { font-weight: 700; font-size: .82rem; color: var(--j-dew); letter-spacing: .04em; }
.j-payment-sub { font-size: .72rem; color: #6aaa6a; margin-top: .1rem; }

/* Checkout items */
.j-checkout-item {
  display: flex;
  gap: .8rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(114,204,114,.08);
  align-items: center;
}
.j-checkout-item:last-child { border-bottom: none; }
.j-checkout-img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(114,204,114,.12);
  flex-shrink: 0;
}
.j-checkout-item-info { flex: 1; min-width: 0; }
.j-checkout-item-title { font-size: .82rem; font-weight: 600; color: var(--j-dew); }
.j-checkout-item-meta { font-size: .74rem; color: #6aaa6a; margin-top: .15rem; }
.j-checkout-item-sub { font-family: 'Playfair Display', serif; font-weight: 700; font-size: .92rem; color: var(--j-lime); }

/* Submit button */
.j-submit-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--j-fern), var(--j-canopy));
  color: var(--j-pale);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all .3s var(--j-spring);
  box-shadow: 0 4px 20px rgba(82,160,82,.3);
  margin-top: .8rem;
}
.j-submit-btn:hover {
  background: linear-gradient(135deg, var(--j-lime), var(--j-fern));
  color: var(--j-void);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(82,160,82,.4);
}

/* ── ORDER SUCCESS PAGE ──────────────────────────────────── */
.j-success-page {
  min-height: 100vh;
  background: var(--j-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.j-success-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(114,204,114,.08) 0%, transparent 60%);
  pointer-events: none;
}
.j-success-card {
  background: var(--j-dark);
  border: 1px solid rgba(114,204,114,.2);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 40px rgba(114,204,114,.05);
  position: relative;
  z-index: 1;
}
.j-success-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.2rem;
  animation: j-success-bounce .6s var(--j-spring);
}
@keyframes j-success-bounce {
  0%  { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100%{ transform: scale(1); opacity: 1; }
}
.j-success-confetti {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--j-lime), var(--j-gold), var(--j-sky), var(--j-berry), var(--j-lime));
  border-radius: 24px 24px 0 0;
  animation: j-confetti-slide 2s ease-out;
}
@keyframes j-confetti-slide {
  0%   { width: 0; }
  100% { width: 100%; }
}
.j-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: .5rem;
}
.j-success-subtitle { color: #8ec88e; font-size: .95rem; margin-bottom: 1.5rem; }
.j-order-num-badge {
  display: inline-block;
  background: rgba(114,204,114,.1);
  border: 1px solid rgba(114,204,114,.25);
  color: var(--j-lime);
  font-weight: 700;
  font-size: .9rem;
  padding: .5rem 1.5rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  letter-spacing: .06em;
}
.j-success-order-items {
  background: rgba(13,26,13,.7);
  border: 1px solid rgba(114,204,114,.12);
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.j-success-order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(114,204,114,.06);
  font-size: .83rem;
  color: var(--j-mist);
}
.j-success-order-item:last-child { border-bottom: none; }
.j-success-total {
  display: flex;
  justify-content: space-between;
  padding: .7rem 0 0;
  margin-top: .3rem;
  border-top: 1px solid rgba(114,204,114,.12);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--j-lime);
  font-weight: 700;
}
.j-success-actions { display: flex; flex-direction: column; gap: .7rem; margin-top: .5rem; }

/* ── OFFLINE PAGE ────────────────────────────────────────── */
.j-offline-page {
  min-height: 100vh;
  background: var(--j-void);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.j-offline-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(240,168,48,.05) 0%, transparent 60%);
  pointer-events: none;
}
.j-offline-card {
  background: var(--j-dark);
  border: 1px solid rgba(114,204,114,.15);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}
.j-offline-emoji {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.2rem;
  animation: j-orb-float 4s ease-in-out infinite;
}
.j-offline-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--j-pale);
  margin-bottom: .6rem;
}
.j-offline-body { color: #8ec88e; font-size: .92rem; line-height: 1.7; margin-bottom: 1.8rem; }
.j-offline-leaves {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: 1.4rem;
}
.j-offline-leaves span:nth-child(1) { animation: j-leaf-drift-1 5s ease-in-out infinite; }
.j-offline-leaves span:nth-child(2) { animation: j-leaf-drift-2 6s ease-in-out infinite .3s; }
.j-offline-leaves span:nth-child(3) { animation: j-leaf-drift-1 7s ease-in-out infinite .6s; }

/* ── PWA BANNER (jungle) ─────────────────────────────────── */
#pwaBanner, #iosBanner {
  background: rgba(13,26,13,.96) !important;
  border-top: 1px solid rgba(114,204,114,.2) !important;
  box-shadow: 0 -8px 32px rgba(0,0,0,.5) !important;
}

/* ── ANNOUNCEMENT BAR (jungle) ───────────────────────────── */
.storefront .announcement-bar {
  background: var(--j-void) !important;
  border-bottom: 1px solid rgba(114,204,114,.1) !important;
  color: var(--j-lime) !important;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .j-habitat-grid { grid-template-columns: repeat(3, 1fr); }
  .j-trust-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .j-hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1.5rem 2rem; }
  .j-hero-orb { height: 300px; }
  .j-orb-ring-1 { width: 260px; height: 260px; }
  .j-orb-ring-2 { width: 200px; height: 200px; }
  .j-orb-ring-3 { width: 140px; height: 140px; }
  .j-orb-center { font-size: 3.5rem; }
  .j-hero-content { order: -1; }

  .j-product-grid { grid-template-columns: 1fr; gap: 2rem; }
  .j-gallery-main { aspect-ratio: 4/3; }

  .j-cart-layout, .j-checkout-layout { grid-template-columns: 1fr; }
  .j-order-summary { position: static; }
}

@media (max-width: 768px) {
  .j-habitats, .j-products-wrapper, .j-product-detail,
  .j-cart-wrap, .j-checkout-wrap { padding-left: 1rem; padding-right: 1rem; }

  .j-habitat-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
  .j-habitat-emoji { font-size: 1.8rem; }

  .j-hero-inner { padding: 3rem 1rem 1.5rem; }
  .j-hero-title { font-size: 2rem; }

  .j-trust-pillars { grid-template-columns: repeat(2, 1fr); }

  .j-stat-cards { grid-template-columns: repeat(2, 1fr); }
  .j-cta-row { grid-template-columns: 1fr; }

  .j-form-row { grid-template-columns: 1fr; }

  .storefront .product-grid { grid-template-columns: 1fr 1fr !important; gap: .7rem !important; }
  .j-card-actions-row { grid-template-columns: 1fr; }

  .j-success-card { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .j-habitat-grid { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
  .j-habitat-card { padding: 1rem .5rem .8rem; border-radius: 12px; }
  .j-habitat-emoji { font-size: 1.5rem; }
  .j-habitat-name { font-size: .6rem; }

  .j-hero-stats { gap: 1rem; }
  .j-stat-num { font-size: 1.4rem; }

  .storefront .product-grid { grid-template-columns: 1fr 1fr !important; gap: .5rem !important; }
  .j-card-body { padding: .7rem .8rem .4rem; }
  .j-card-price { font-size: 1.1rem; }
  .j-card-actions { padding: 0 .8rem .8rem; }

  .j-trust-pillars { grid-template-columns: 1fr 1fr; }
}
.storefront #pwaBannerInstall {
  background: #1E3E1E !important;
  color: #72CC72 !important;
  border: 2px solid #52A052 !important;
  font-weight: 800 !important;
}