/**
 * JOY HUE STOREFRONT THEME
 * Version: 1.0.0 — Chebochok Experience OS
 * Brand: Joy Hue Children's Christian Resources
 *
 * Palette: Warm Sun (red), Calm Lake (green), Gentle Gold, Sky Blue, Faith Purple
 * Fonts: Fredoka One (headlines), Outfit (body), Comic Neue (child text)
 */

/* ─── Google Fonts ─────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Outfit:wght@300;400;500;600;700&family=Comic+Neue:ital,wght@0,400;0,700;1,400&family=Nunito:wght@400;600;700;800&display=swap');

/* ─── Design Tokens ────────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --jh-warm-sun:      #FF4136;
  --jh-calm-lake:     #2ECC40;
  --jh-gentle-gold:   #FFDC00;
  --jh-sky-blue:      #39CCCC;
  --jh-soft-yellow:   #FFF6B5;
  --jh-orange-yellow: #FF851B;
  --jh-faith-purple:  #B10DC9;
  --jh-truth-black:   #2D1B4E;
  --jh-white:         #FFFFFF;
  --jh-off-white:     #F9FAFB;
  --jh-cream:         #FFFFFF;

  /* Semantic */
  --jh-primary:       var(--jh-warm-sun);
  --jh-primary-dark:  #E02222;
  --jh-secondary:     var(--jh-calm-lake);
  --jh-accent:        var(--jh-gentle-gold);
  --jh-info:          var(--jh-sky-blue);
  --jh-highlight:     var(--jh-soft-yellow);
  --jh-deep:          var(--jh-faith-purple);

  /* Neutrals */
  --jh-gray-100: #F3F4F6;
  --jh-gray-200: #E5E7EB;
  --jh-gray-300: #D1D5DB;
  --jh-gray-400: #9CA3AF;
  --jh-gray-500: #6B7280;
  --jh-gray-700: #374151;
  --jh-gray-900: #251040;

  /* Typography */
  --jh-font-headline: 'Fredoka One', 'Nunito', cursive;
  --jh-font-body:     'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --jh-font-child:    'Comic Neue', cursive;

  /* Spacing */
  --jh-sp-1:  4px;
  --jh-sp-2:  8px;
  --jh-sp-3:  12px;
  --jh-sp-4:  16px;
  --jh-sp-5:  20px;
  --jh-sp-6:  24px;
  --jh-sp-8:  32px;
  --jh-sp-10: 40px;
  --jh-sp-12: 48px;
  --jh-sp-16: 64px;
  --jh-sp-24: 96px;

  /* Border Radius */
  --jh-radius-sm:   6px;
  --jh-radius-md:   14px;
  --jh-radius-lg:   22px;
  --jh-radius-xl:   32px;
  --jh-radius-pill: 999px;

  /* Shadows */
  --jh-shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --jh-shadow-md:   0 4px 20px rgba(0,0,0,0.12);
  --jh-shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
  --jh-shadow-colored: 0 6px 24px rgba(227, 72, 68, 0.25);

  /* Transitions */
  --jh-ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --jh-ease-bounce: cubic-bezier(0.34, 1.2, 0.64, 1);
  --jh-dur-fast:   150ms;
  --jh-dur-normal: 250ms;
  --jh-dur-slow:   400ms;

  /* Layout */
  --jh-container:   1280px;
  --jh-nav-height:  72px;
}

/* ─── Reset & Base ─────────────────────────────────────────────────── */
.jh-storefront *,
.jh-storefront *::before,
.jh-storefront *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.jh-storefront {
  font-family: var(--jh-font-body);
  color: var(--jh-gray-900);
  background: var(--jh-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.jh-storefront img { max-width: 100%; height: auto; display: block; }
.jh-storefront a { color: inherit; text-decoration: none; }
.jh-storefront ul { list-style: none; padding: 0; margin: 0; }

/* ─── Layout Container ─────────────────────────────────────────────── */
.jh-container {
  max-width: var(--jh-container);
  margin: 0 auto;
  padding: 0 var(--jh-sp-6);
}

/* ─── NAVIGATION ───────────────────────────────────────────────────── */
.jh-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--jh-nav-height);
  background: var(--jh-white);
  border-bottom: 2px solid var(--jh-gray-200);
  box-shadow: var(--jh-shadow-sm);
}

.jh-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--jh-container);
  margin: 0 auto;
  padding: 0 var(--jh-sp-6);
}

.jh-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-2);
  font-family: var(--jh-font-headline);
  font-size: 1.75rem;
  color: var(--jh-warm-sun);
  letter-spacing: -0.02em;
  transition: transform var(--jh-dur-fast) var(--jh-ease-bounce);
}

.jh-nav__logo:hover { transform: scale(1.04); }

.jh-nav__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--jh-warm-sun), var(--jh-gentle-gold));
  border-radius: var(--jh-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 3px 10px rgba(227,72,68,0.35);
}

.jh-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-1);
}

.jh-nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--jh-gray-700);
  padding: var(--jh-sp-2) var(--jh-sp-4);
  border-radius: var(--jh-radius-sm);
  transition: all var(--jh-dur-fast) var(--jh-ease);
  position: relative;
}

.jh-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 2px;
  background: var(--jh-warm-sun);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width var(--jh-dur-normal) var(--jh-ease);
}

.jh-nav__link:hover { color: var(--jh-warm-sun); background: rgba(227,72,68,0.06); }
.jh-nav__link:hover::after { width: 60%; }
.jh-nav__link.active { color: var(--jh-warm-sun); font-weight: 600; }
.jh-nav__link.active::after { width: 60%; }

.jh-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-3);
}

.jh-nav__cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--jh-radius-md);
  border: 2px solid var(--jh-gray-200);
  background: var(--jh-white);
  cursor: pointer;
  font-size: 20px;
  transition: all var(--jh-dur-fast) var(--jh-ease);
  color: var(--jh-gray-700);
}

.jh-nav__cart-btn:hover {
  border-color: var(--jh-warm-sun);
  color: var(--jh-warm-sun);
  transform: translateY(-1px);
  box-shadow: var(--jh-shadow-sm);
}

.jh-cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--jh-warm-sun);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--jh-font-body);
  border: 2px solid white;
}

/* ─── HERO SECTION ─────────────────────────────────────────────────── */
.jh-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--jh-off-white) 0%, #FFF0E8 40%, var(--jh-cream) 100%);
  padding: var(--jh-sp-24) 0 var(--jh-sp-16);
}

.jh-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,174,60,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.jh-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,184,97,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.jh-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jh-sp-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.jh-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--jh-sp-2);
  background: linear-gradient(135deg, rgba(227,72,68,0.1), rgba(239,174,60,0.1));
  border: 1.5px solid rgba(227,72,68,0.25);
  color: var(--jh-warm-sun);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--jh-sp-1) var(--jh-sp-4);
  border-radius: var(--jh-radius-pill);
  margin-bottom: var(--jh-sp-5);
}

.jh-hero__title {
  font-family: var(--jh-font-headline);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.1;
  color: var(--jh-truth-black);
  margin-bottom: var(--jh-sp-5);
}

.jh-hero__title span { color: var(--jh-warm-sun); }

.jh-hero__subtitle {
  font-size: 1.1rem;
  color: var(--jh-gray-500);
  line-height: 1.7;
  margin-bottom: var(--jh-sp-8);
  max-width: 480px;
}

.jh-hero__actions {
  display: flex;
  gap: var(--jh-sp-4);
  flex-wrap: wrap;
}

.jh-hero__image {
  position: relative;
  border-radius: var(--jh-radius-xl);
  overflow: hidden;
  box-shadow: var(--jh-shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--jh-calm-lake), var(--jh-sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
}

.jh-hero__image-placeholder {
  font-size: 5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  animation: jh-float 3s ease-in-out infinite;
}

.jh-hero__badges {
  display: flex;
  gap: var(--jh-sp-3);
  margin-top: var(--jh-sp-6);
  flex-wrap: wrap;
}

.jh-trust-badge {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--jh-gray-700);
}

.jh-trust-badge__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--jh-calm-lake);
  box-shadow: 0 0 0 3px rgba(94,184,97,0.2);
}

/* ─── BUTTONS ──────────────────────────────────────────────────────── */
.jh-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--jh-sp-2);
  font-family: var(--jh-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: var(--jh-sp-3) var(--jh-sp-6);
  border-radius: var(--jh-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--jh-dur-normal) var(--jh-ease-bounce);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.jh-btn--primary {
  background: var(--jh-warm-sun);
  color: var(--jh-white);
  border-color: var(--jh-warm-sun);
  box-shadow: 0 4px 14px rgba(227,72,68,0.3);
}
.jh-btn--primary:hover {
  background: var(--jh-primary-dark);
  border-color: var(--jh-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,72,68,0.4);
}

.jh-btn--secondary {
  background: transparent;
  color: var(--jh-truth-black);
  border-color: var(--jh-gray-300);
}
.jh-btn--secondary:hover {
  background: var(--jh-gray-100);
  border-color: var(--jh-gray-400);
  transform: translateY(-1px);
}

.jh-btn--green {
  background: var(--jh-calm-lake);
  color: white;
  border-color: var(--jh-calm-lake);
  box-shadow: 0 4px 14px rgba(94,184,97,0.3);
}
.jh-btn--green:hover {
  background: #4da850;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(94,184,97,0.4);
}

.jh-btn--ghost {
  background: rgba(255,255,255,0.8);
  color: var(--jh-warm-sun);
  border-color: rgba(227,72,68,0.3);
  backdrop-filter: blur(8px);
}
.jh-btn--ghost:hover {
  background: var(--jh-warm-sun);
  color: white;
  transform: translateY(-2px);
}

.jh-btn--lg {
  padding: var(--jh-sp-4) var(--jh-sp-8);
  font-size: 1rem;
  border-radius: var(--jh-radius-lg);
}

.jh-btn--sm {
  padding: var(--jh-sp-2) var(--jh-sp-4);
  font-size: 0.8rem;
}

/* ─── SECTION HEADERS ──────────────────────────────────────────────── */
.jh-section {
  padding: var(--jh-sp-24) 0;
}

.jh-section--gray { background: var(--jh-gray-100); }
.jh-section--cream { background: var(--jh-cream); }
.jh-section--white { background: var(--jh-white); }

.jh-section-header {
  text-align: center;
  margin-bottom: var(--jh-sp-12);
}

.jh-section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jh-warm-sun);
  margin-bottom: var(--jh-sp-3);
}

.jh-section-title {
  font-family: var(--jh-font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  color: var(--jh-truth-black);
  line-height: 1.2;
  margin-bottom: var(--jh-sp-4);
}

.jh-section-subtitle {
  font-size: 1.05rem;
  color: var(--jh-gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── PRODUCT CARDS ────────────────────────────────────────────────── */
.jh-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--jh-sp-6);
}

.jh-product-card {
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  overflow: hidden;
  box-shadow: var(--jh-shadow-sm);
  border: 1.5px solid var(--jh-gray-200);
  transition: all var(--jh-dur-normal) var(--jh-ease);
  display: flex;
  flex-direction: column;
  position: relative;
}

.jh-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--jh-shadow-lg);
  border-color: rgba(227,72,68,0.2);
}

.jh-product-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--jh-gentle-gold) 0%, var(--jh-soft-yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.jh-product-card__image-emoji {
  font-size: 3.5rem;
  animation: jh-float 4s ease-in-out infinite;
}

.jh-product-card__badge {
  position: absolute;
  top: var(--jh-sp-3);
  left: var(--jh-sp-3);
  background: var(--jh-warm-sun);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px var(--jh-sp-2);
  border-radius: var(--jh-radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.jh-product-card__badge--new { background: var(--jh-calm-lake); }
.jh-product-card__badge--sale { background: var(--jh-warm-sun); }
.jh-product-card__badge--best { background: var(--jh-faith-purple); }

.jh-product-card__wishlist {
  position: absolute;
  top: var(--jh-sp-3);
  right: var(--jh-sp-3);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--jh-dur-fast) var(--jh-ease-bounce);
  box-shadow: var(--jh-shadow-sm);
}
.jh-product-card__wishlist:hover { transform: scale(1.15); }

.jh-product-card__body {
  padding: var(--jh-sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.jh-product-card__category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jh-sky-blue);
  margin-bottom: var(--jh-sp-2);
}

.jh-product-card__title {
  font-family: var(--jh-font-headline);
  font-size: 1.05rem;
  color: var(--jh-truth-black);
  line-height: 1.3;
  margin-bottom: var(--jh-sp-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.6em; /* Fixed height for 2 lines of text to align cards */
}

.jh-product-card__age {
  font-size: 0.75rem;
  color: var(--jh-gray-400);
  margin-bottom: var(--jh-sp-4);
  display: flex;
  align-items: center;
  gap: var(--jh-sp-1);
}

.jh-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--jh-sp-4);
  border-top: 1px solid var(--jh-gray-200);
  margin-top: auto;
  gap: var(--jh-sp-2);
}

.jh-product-card__price {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  gap: var(--jh-sp-1) var(--jh-sp-2);
  min-width: 0;
  flex: 1;
}

.jh-price-main {
  font-family: var(--jh-font-headline);
  font-size: 1.3rem;
  color: var(--jh-warm-sun);
  white-space: nowrap;
}

.jh-price-was {
  font-size: 0.8rem;
  color: var(--jh-gray-400);
  text-decoration: line-through;
}

.jh-add-to-cart-btn {
  width: 38px; height: 38px;
  border-radius: var(--jh-radius-md);
  background: var(--jh-warm-sun);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--jh-dur-fast) var(--jh-ease-bounce);
  box-shadow: 0 3px 10px rgba(227,72,68,0.3);
}
.jh-add-to-cart-btn:hover {
  background: var(--jh-primary-dark);
  transform: scale(1.1) rotate(-5deg);
}

/* ─── CATEGORY PILLS ───────────────────────────────────────────────── */
.jh-category-pills {
  display: flex;
  gap: var(--jh-sp-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--jh-sp-10);
}

.jh-category-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--jh-sp-2);
  padding: var(--jh-sp-2) var(--jh-sp-5);
  border-radius: var(--jh-radius-pill);
  border: 2px solid var(--jh-gray-200);
  background: var(--jh-white);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jh-gray-700);
  cursor: pointer;
  transition: all var(--jh-dur-fast) var(--jh-ease);
}

.jh-category-pill:hover,
.jh-category-pill.active {
  border-color: var(--jh-warm-sun);
  background: rgba(227,72,68,0.06);
  color: var(--jh-warm-sun);
  transform: translateY(-1px);
}

/* ─── FEATURE CARDS ────────────────────────────────────────────────── */
.jh-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jh-sp-6);
}

.jh-feature-card {
  text-align: center;
  padding: var(--jh-sp-10) var(--jh-sp-6);
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  border: 1.5px solid var(--jh-gray-200);
  box-shadow: var(--jh-shadow-sm);
  transition: all var(--jh-dur-normal) var(--jh-ease);
}

.jh-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jh-shadow-md);
  border-color: transparent;
}

.jh-feature-card:nth-child(1) { --fc-color: var(--jh-warm-sun); }
.jh-feature-card:nth-child(2) { --fc-color: var(--jh-calm-lake); }
.jh-feature-card:nth-child(3) { --fc-color: var(--jh-sky-blue); }
.jh-feature-card:nth-child(4) { --fc-color: var(--jh-gentle-gold); }
.jh-feature-card:nth-child(5) { --fc-color: var(--jh-faith-purple); }
.jh-feature-card:nth-child(6) { --fc-color: var(--jh-soft-yellow); }

.jh-feature-card__icon {
  width: 68px; height: 68px;
  border-radius: var(--jh-radius-lg);
  background: color-mix(in srgb, var(--fc-color, var(--jh-warm-sun)) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto var(--jh-sp-5);
  transition: transform var(--jh-dur-normal) var(--jh-ease-bounce);
}

.jh-feature-card:hover .jh-feature-card__icon { transform: scale(1.12) rotate(-4deg); }

.jh-feature-card__title {
  font-family: var(--jh-font-headline);
  font-size: 1.15rem;
  color: var(--jh-truth-black);
  margin-bottom: var(--jh-sp-3);
}

.jh-feature-card__desc {
  font-size: 0.875rem;
  color: var(--jh-gray-500);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────────────── */
.jh-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jh-sp-6);
}

.jh-testimonial-card {
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  padding: var(--jh-sp-6);
  box-shadow: var(--jh-shadow-sm);
  border: 1.5px solid var(--jh-gray-200);
  transition: all var(--jh-dur-normal) var(--jh-ease);
}

.jh-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--jh-shadow-md);
}

.jh-testimonial-stars {
  color: var(--jh-gentle-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--jh-sp-4);
}

.jh-testimonial-quote {
  font-size: 0.95rem;
  color: var(--jh-gray-700);
  line-height: 1.7;
  margin-bottom: var(--jh-sp-5);
  font-style: italic;
}

.jh-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-3);
}

.jh-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
  font-family: var(--jh-font-headline);
  flex-shrink: 0;
}

.jh-testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--jh-truth-black);
}

.jh-testimonial-role {
  font-size: 0.78rem;
  color: var(--jh-gray-400);
}

/* ─── ANNOUNCEMENT BANNER ──────────────────────────────────────────── */
.jh-announcement {
  background: linear-gradient(90deg, var(--jh-warm-sun) 0%, var(--jh-gentle-gold) 100%);
  color: white;
  text-align: center;
  padding: var(--jh-sp-3) var(--jh-sp-6);
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.01em;
}

.jh-announcement a { color: white; text-decoration: underline; }

/* ─── BLOG CARDS ───────────────────────────────────────────────────── */
.jh-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jh-sp-6);
}

.jh-blog-card {
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  overflow: hidden;
  box-shadow: var(--jh-shadow-sm);
  border: 1.5px solid var(--jh-gray-200);
  transition: all var(--jh-dur-normal) var(--jh-ease);
  display: flex;
  flex-direction: column;
}

.jh-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--jh-shadow-md);
}

.jh-blog-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--jh-sky-blue), var(--jh-faith-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.jh-blog-card__body { padding: var(--jh-sp-5); flex: 1; display: flex; flex-direction: column; }
.jh-blog-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jh-sky-blue);
  margin-bottom: var(--jh-sp-2);
}

.jh-blog-card__title {
  font-family: var(--jh-font-headline);
  font-size: 1.05rem;
  color: var(--jh-truth-black);
  line-height: 1.35;
  margin-bottom: var(--jh-sp-3);
  flex: 1;
}

.jh-blog-card__excerpt {
  font-size: 0.85rem;
  color: var(--jh-gray-500);
  line-height: 1.6;
  margin-bottom: var(--jh-sp-4);
}

.jh-blog-card__meta {
  font-size: 0.75rem;
  color: var(--jh-gray-400);
  display: flex;
  align-items: center;
  gap: var(--jh-sp-2);
  margin-top: auto;
}

/* ─── CART ─────────────────────────────────────────────────────────── */
.jh-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--jh-sp-8);
  align-items: start;
  padding: var(--jh-sp-12) 0;
}

.jh-cart-item {
  display: flex;
  gap: var(--jh-sp-5);
  padding: var(--jh-sp-5);
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  border: 1.5px solid var(--jh-gray-200);
  margin-bottom: var(--jh-sp-4);
  transition: box-shadow var(--jh-dur-fast) var(--jh-ease);
}

.jh-cart-item:hover { box-shadow: var(--jh-shadow-sm); }

.jh-cart-item__image {
  width: 90px; height: 90px;
  border-radius: var(--jh-radius-md);
  background: linear-gradient(135deg, var(--jh-gentle-gold), var(--jh-soft-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.jh-cart-item__title { font-family: var(--jh-font-headline); font-size: 1rem; margin-bottom: var(--jh-sp-1); }
.jh-cart-item__variant { font-size: 0.8rem; color: var(--jh-gray-400); margin-bottom: var(--jh-sp-3); }

.jh-qty-control {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-3);
  border: 2px solid var(--jh-gray-200);
  border-radius: var(--jh-radius-md);
  overflow: hidden;
  width: fit-content;
}

.jh-qty-btn {
  width: 34px; height: 34px;
  border: none;
  background: var(--jh-gray-100);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--jh-gray-700);
  transition: background var(--jh-dur-fast);
}
.jh-qty-btn:hover { background: var(--jh-gray-200); }

.jh-qty-value {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 20px;
  text-align: center;
}

.jh-cart-summary {
  background: var(--jh-white);
  border-radius: var(--jh-radius-lg);
  border: 1.5px solid var(--jh-gray-200);
  padding: var(--jh-sp-6);
  position: sticky;
  top: calc(var(--jh-nav-height) + var(--jh-sp-4));
  box-shadow: var(--jh-shadow-md);
}

.jh-cart-summary__title {
  font-family: var(--jh-font-headline);
  font-size: 1.3rem;
  margin-bottom: var(--jh-sp-5);
  padding-bottom: var(--jh-sp-4);
  border-bottom: 2px solid var(--jh-gray-200);
}

.jh-cart-summary__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--jh-gray-700);
  margin-bottom: var(--jh-sp-3);
}

.jh-cart-summary__row--total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--jh-truth-black);
  padding-top: var(--jh-sp-4);
  border-top: 2px solid var(--jh-gray-200);
  margin-top: var(--jh-sp-4);
}

/* ─── FOOTER ───────────────────────────────────────────────────────── */
.jh-footer {
  background: var(--jh-orange-yellow);
  color: var(--jh-truth-black);
  padding: var(--jh-sp-24) 0 var(--jh-sp-8);
}

.jh-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--jh-sp-8);
  margin-bottom: var(--jh-sp-12);
}

.jh-footer__logo {
  font-family: var(--jh-font-headline);
  font-size: 1.75rem;
  color: var(--jh-truth-black);
  display: flex;
  align-items: center;
  gap: var(--jh-sp-2);
  margin-bottom: var(--jh-sp-4);
}

.jh-footer__tagline {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(26, 26, 46, 0.75);
  margin-bottom: var(--jh-sp-6);
}

.jh-footer__social {
  display: flex;
  gap: var(--jh-sp-3);
}

.jh-social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--jh-radius-sm);
  background: rgba(26, 26, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--jh-dur-fast) var(--jh-ease);
  cursor: pointer;
  border: 1px solid rgba(26, 26, 46, 0.15);
  color: var(--jh-truth-black);
}
.jh-social-btn:hover {
  background: var(--jh-truth-black);
  border-color: var(--jh-truth-black);
  color: var(--jh-white);
  transform: translateY(-2px);
}

.jh-footer__heading {
  font-family: var(--jh-font-headline);
  font-size: 1rem;
  color: var(--jh-truth-black);
  margin-bottom: var(--jh-sp-5);
}

.jh-footer__link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jh-footer__link-list li { margin-bottom: var(--jh-sp-3); }
.jh-footer__link-list a {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.7);
  text-decoration: none;
  transition: color var(--jh-dur-fast);
}
.jh-footer__link-list a:hover { color: var(--jh-primary); }

.jh-footer__bottom {
  padding-top: var(--jh-sp-6);
  border-top: 1px solid rgba(26, 26, 46, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jh-sp-4);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(26, 26, 46, 0.6);
}

.jh-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-4);
  flex-wrap: wrap;
}

.jh-footer__bottom-links a {
  color: rgba(26, 26, 46, 0.6);
  transition: color var(--jh-dur-fast);
  white-space: nowrap;
}

.jh-footer__bottom-links a:hover { color: var(--jh-primary); }

/* ─── PAGE HEADER ──────────────────────────────────────────────────── */
.jh-page-header {
  background: linear-gradient(135deg, #FFF0E8 0%, var(--jh-cream) 100%);
  color: var(--jh-truth-black);
  padding: var(--jh-sp-16) 0;
  position: relative;
  overflow: hidden;
}

.jh-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(227,72,68,0.08) 0%, transparent 60%);
}

/* Default light-background styling for title/subtitle/breadcrumbs */
.jh-page-header__title {
  font-family: var(--jh-font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  position: relative;
  color: inherit;
}

.jh-page-header__subtitle {
  font-size: 1rem;
  color: var(--jh-gray-500);
  margin-top: var(--jh-sp-3);
  position: relative;
}

.jh-breadcrumb a,
.jh-breadcrumb__sep,
.jh-breadcrumb span {
  color: var(--jh-gray-500);
}

/* Custom dark-background headers (automatically targeted when style="background: ..." is set inline) */
.jh-page-header[style*="background"] {
  color: white;
}
.jh-page-header[style*="background"] .jh-page-header__subtitle {
  color: rgba(255,255,255,0.85);
}
.jh-page-header[style*="background"] .jh-breadcrumb a,
.jh-page-header[style*="background"] .jh-breadcrumb__sep,
.jh-page-header[style*="background"] .jh-breadcrumb span {
  color: rgba(255,255,255,0.65);
}

/* Legacy utility classes */
.jh-page-header--light {
  color: var(--jh-truth-black);
}
.jh-page-header--light .jh-page-header__subtitle {
  color: var(--jh-gray-500);
}
.jh-page-header--light .jh-breadcrumb a,
.jh-page-header--light .jh-breadcrumb__sep,
.jh-page-header--light .jh-breadcrumb span {
  color: var(--jh-gray-500);
}


/* ─── FORM ELEMENTS ────────────────────────────────────────────────── */
.jh-input {
  width: 100%;
  padding: var(--jh-sp-3) var(--jh-sp-4);
  border: 2px solid var(--jh-gray-200);
  border-radius: var(--jh-radius-md);
  font-family: var(--jh-font-body);
  font-size: 0.9rem;
  color: var(--jh-truth-black);
  background: var(--jh-white);
  transition: border-color var(--jh-dur-fast);
  outline: none;
}
.jh-input:focus { border-color: var(--jh-warm-sun); box-shadow: 0 0 0 3px rgba(227,72,68,0.1); }

.jh-input-group {
  display: flex;
  gap: 0;
  border: 2px solid var(--jh-gray-200);
  border-radius: var(--jh-radius-md);
  overflow: hidden;
  transition: border-color var(--jh-dur-fast);
}
.jh-input-group:focus-within { border-color: var(--jh-warm-sun); }
.jh-input-group .jh-input { flex: 1; min-width: 0; border: none; box-shadow: none; border-radius: 0; }
.jh-input-group .jh-btn { flex-shrink: 0; border-radius: 0; border: none; }

/* ─── NEWSLETTER CTA ───────────────────────────────────────────────── */
.jh-newsletter-cta {
  background: linear-gradient(135deg, var(--jh-warm-sun) 0%, var(--jh-faith-purple) 100%);
  border-radius: var(--jh-radius-xl);
  padding: var(--jh-sp-16) var(--jh-sp-12);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.jh-newsletter-cta::before {
  content: '✝️';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: -30px; right: -30px;
  line-height: 1;
}

.jh-newsletter-cta__title {
  font-family: var(--jh-font-headline);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: var(--jh-sp-4);
}

.jh-newsletter-cta__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--jh-sp-8);
}

/* ─── BREADCRUMB ───────────────────────────────────────────────────── */
.jh-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--jh-sp-2);
  font-size: 0.82rem;
  color: var(--jh-gray-400);
  margin-bottom: var(--jh-sp-6);
}

.jh-breadcrumb a { color: var(--jh-gray-400); transition: color var(--jh-dur-fast); }
.jh-breadcrumb a:hover { color: var(--jh-warm-sun); }
.jh-breadcrumb__sep { color: var(--jh-gray-300); }

/* ─── RATING STARS ─────────────────────────────────────────────────── */
.jh-rating { display: flex; align-items: center; gap: var(--jh-sp-1); }
.jh-rating__star { color: var(--jh-gentle-gold); font-size: 0.95rem; }
.jh-rating__count { font-size: 0.8rem; color: var(--jh-gray-400); margin-left: var(--jh-sp-2); }

/* ─── ANIMATIONS ───────────────────────────────────────────────────── */
@keyframes jh-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(2deg); }
  66% { transform: translateY(-4px) rotate(-1deg); }
}

@keyframes jh-fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes jh-scale-in {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes jh-shimmer {
  from { background-position: -200% center; }
  to { background-position: 200% center; }
}

.jh-animate-in { animation: jh-fade-in-up 0.5s var(--jh-ease) both; }
.jh-animate-in-delay-1 { animation-delay: 0.1s; }
.jh-animate-in-delay-2 { animation-delay: 0.2s; }
.jh-animate-in-delay-3 { animation-delay: 0.3s; }

/* ─── UTILITY ──────────────────────────────────────────────────────── */
.jh-text-center { text-align: center; }
.jh-mt-8 { margin-top: var(--jh-sp-8); }
.jh-mt-12 { margin-top: var(--jh-sp-12); }
.jh-mb-4 { margin-bottom: var(--jh-sp-4); }
.jh-mb-6 { margin-bottom: var(--jh-sp-6); }

.jh-divider {
  border: none;
  border-top: 1.5px solid var(--jh-gray-200);
  margin: var(--jh-sp-8) 0;
}

/* ─── LAYOUT UTILITIES ────────────────────────────────────────────── */
.jh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--jh-sp-6);
  text-align: center;
}

.jh-shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--jh-sp-8);
}

.jh-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jh-sp-12);
  align-items: start;
}

.jh-blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* Mobile dropdown navigation menu */
.jh-mobile-dropdown {
  display: none;
  background: var(--jh-white);
  border-bottom: 2px solid var(--jh-gray-200);
  box-shadow: var(--jh-shadow-md);
  position: absolute;
  top: var(--jh-nav-height);
  left: 0;
  right: 0;
  z-index: 199;
}
.jh-mobile-dropdown.active {
  display: block;
}
.jh-mobile-menu__list {
  padding: var(--jh-sp-4) 0;
  list-style: none;
}
.jh-mobile-nav__link {
  display: block;
  padding: var(--jh-sp-3) var(--jh-sp-6);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--jh-gray-700);
  border-bottom: 1px solid var(--jh-gray-100);
  text-decoration: none;
}
.jh-mobile-nav__link:hover {
  background: rgba(227,72,68,0.05);
  color: var(--jh-warm-sun);
}

/* ─── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .jh-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .jh-hero__subtitle { margin: 0 auto var(--jh-sp-8); }
  .jh-hero__actions { justify-content: center; }
  .jh-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-testimonial-grid { grid-template-columns: 1fr 1fr; }
  .jh-blog-grid { grid-template-columns: 1fr 1fr; }
  .jh-footer__grid { grid-template-columns: 1fr 1fr; }
  .jh-cart-layout { grid-template-columns: 1fr; }
  
  .jh-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .jh-shop-layout { grid-template-columns: 1fr; gap: var(--jh-sp-6); }
  .jh-product-layout { grid-template-columns: 1fr; gap: var(--jh-sp-8); }
  .jh-blog-featured { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .jh-nav__menu { display: none; }
  .jh-mobile-nav-toggle { display: flex !important; }
  #jh-logout-btn { display: none !important; }
}

@media (max-width: 640px) {
  .jh-hero { padding: var(--jh-sp-16) 0 var(--jh-sp-12); }
  .jh-feature-grid { grid-template-columns: 1fr; }
  .jh-testimonial-grid { grid-template-columns: 1fr; }
  .jh-blog-grid { grid-template-columns: 1fr; }
  .jh-footer__grid { grid-template-columns: 1fr; }
  .jh-product-grid { grid-template-columns: 1fr; }
  .jh-stats-grid { grid-template-columns: 1fr; }

  /* ── Nav: tighter inner padding so logo + actions don't overlap ── */
  .jh-nav__inner {
    padding: 0 var(--jh-sp-3);
    gap: var(--jh-sp-2);
  }

  /* ── Logo: hide text, shrink icon so it doesn't crowd actions ── */
  .jh-nav__logo-text { display: none; }
  .jh-nav__logo-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* ── Actions: tighter gap, smaller buttons ── */
  .jh-nav__actions {
    gap: var(--jh-sp-1) !important;
  }
  .jh-nav__cart-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  /* ── Currency select: compact on mobile ── */
  .jh-nav__actions select {
    padding: 3px 4px !important;
    font-size: 0.75rem !important;
    margin-right: 0 !important;
    max-width: 60px;
  }

  /* ── Footer bottom bar: clean vertical stack ── */
  .jh-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--jh-sp-3);
  }

  .jh-footer__bottom-links {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .jh-cart-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--jh-sp-3);
  }
  .jh-cart-item__image {
    width: 120px;
    height: 120px;
  }
  .jh-cart-item div[style*="text-align:right"] {
    text-align: center !important;
    margin-top: var(--jh-sp-2);
  }
}

/* Custom premium mobile storefront adjustments */
@media (max-width: 640px) {
  .jh-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: var(--jh-sp-3) !important;
  }
  .jh-product-card__body {
    padding: var(--jh-sp-3) !important;
  }
  /* ── Footer: tight padding, no wrap, items aligned ── */
  .jh-product-card__footer {
    padding: var(--jh-sp-2) var(--jh-sp-2) var(--jh-sp-2) !important;
    gap: var(--jh-sp-1) !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  .jh-product-card__title {
    font-size: 0.9rem !important;
    height: 2.6em !important;
    line-height: 1.3 !important;
  }
  /* ── Price: shrinks to fill available space, text truncates ── */
  .jh-product-card__price {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    overflow: hidden !important;
  }
  .jh-price-main {
    font-size: 0.9rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .jh-price-was {
    font-size: 0.7rem !important;
  }
  /* ── Add-to-cart: compact, never shrinks ── */
  .jh-add-to-cart-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    border-radius: 8px !important;
  }
  .jh-product-card__image-emoji {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .jh-scroll-reveal {
    transform: translateY(6px) !important;
  }
}

/* Off-canvas Mobile bottom sheet filters styling */
@keyframes jh-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (max-width: 992px) {
  .jh-mobile-filter-trigger {
    display: inline-flex !important;
  }
  .jh-mobile-filter-close {
    display: inline-block !important;
  }
  #shop-filters {
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    display: none !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }
  #shop-filters.active {
    display: flex !important;
  }
  #shop-filters > div {
    width: 100% !important;
    max-width: 540px !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
    border-radius: var(--jh-radius-lg) var(--jh-radius-lg) 0 0 !important;
    border: none !important;
    box-shadow: var(--jh-shadow-lg) !important;
    animation: jh-slide-up 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
    padding: var(--jh-sp-6) !important;
  }
}




/* ─── CART / CHECKOUT MOBILE FIXES ──────────────────────────────── */

/* Prevent any child from overflowing the viewport without breaking sticky navigation */
.jh-storefront { overflow-x: clip; }
.jh-container  { overflow-x: visible; }

/* Checkout steps — wrap and shrink on narrow screens */
#checkout-steps {
  flex-wrap: wrap;
  gap: var(--jh-sp-2) !important;
}

@media (max-width: 640px) {
  /* Reduce section vertical padding */
  .jh-section { padding: var(--jh-sp-8) 0; }

  /* Tighten container side padding */
  .jh-container { padding: 0 var(--jh-sp-4); }

  /* Cart layout already stacks at 1024px — ensure it on all mobiles */
  .jh-cart-layout {
    grid-template-columns: 1fr !important;
    padding: var(--jh-sp-6) 0 !important;
  }

  /* Checkout steps: hide connectors, compact */
  #checkout-steps { justify-content: flex-start !important; gap: var(--jh-sp-3) !important; }
  #checkout-steps .step-connector { display: none; }

  /* Checkout form grids — stack to single col */
  #cart-section div[style*="grid-template-columns:1fr 1fr"],
  #cart-section div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--jh-sp-3) !important;
  }

  /* Cart item — less padding */
  .jh-cart-item { padding: var(--jh-sp-4); }

  /* Cart summary — no sticky on mobile */
  .jh-cart-summary { position: static; }

  /* Page header — compact */
  .jh-page-header { padding: var(--jh-sp-6) 0 !important; }
  .jh-page-header__title { font-size: 1.6rem !important; }

  /* Coupon row — stack */
  #coupon-section .jh-input-group {
    flex-direction: column;
    max-width: 100% !important;
  }
  #coupon-section .jh-input-group .jh-btn { width: 100%; justify-content: center; }
}

/* ─── RESPONSIVE FORM ROW ────────────────────────────────────────── */
.jh-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jh-sp-4);
  margin-bottom: var(--jh-sp-4);
}
@media (max-width: 560px) {
  .jh-form-row { grid-template-columns: 1fr; }
}

/* ─── NEWSLETTER MOBILE ──────────────────────────────────────────── */
@media (max-width: 560px) {
  /* Newsletter CTA section — reduce padding */
  .jh-newsletter-cta {
    padding: var(--jh-sp-10) var(--jh-sp-5);
    border-radius: var(--jh-radius-lg);
  }

  /* Input + button stack vertically */
  #newsletter-form .jh-input-group,
  #blog-newsletter-section .jh-input-group,
  .jh-newsletter-cta .jh-input-group {
    flex-direction: column;
    border-radius: var(--jh-radius-md);
    overflow: visible;
    border: none;
    gap: var(--jh-sp-3);
    background: transparent !important;
  }

  /* Email input — full width pill */
  #newsletter-form .jh-input-group .jh-input,
  #blog-newsletter-section .jh-input-group .jh-input,
  .jh-newsletter-cta .jh-input-group .jh-input {
    width: 100%;
    border-radius: var(--jh-radius-md) !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
    padding: var(--jh-sp-4) var(--jh-sp-5);
    font-size: 1rem;
    background: rgba(255,255,255,0.15) !important;
  }

  /* Submit button — full width */
  #newsletter-form .jh-input-group .jh-btn,
  #blog-newsletter-section .jh-input-group .jh-btn,
  .jh-newsletter-cta .jh-input-group .jh-btn {
    width: 100%;
    border-radius: var(--jh-radius-md) !important;
    padding: var(--jh-sp-4) var(--jh-sp-5);
    justify-content: center;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5) !important;
    background: rgba(255,255,255,0.20) !important;
    color: white !important;
    font-weight: 700;
  }
  .jh-newsletter-cta .jh-input-group .jh-btn:hover {
    background: rgba(255,255,255,0.30) !important;
  }
}
