/* ==========================================================================
   RootCleanse — Fun Lime Brand Layer
   Colours guided by product label: lime green, charcoal, white
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --lime: #A8C73A;
  --lime-bright: #B8D94A;
  --lime-deep: #8FB02E;
  --leaf: #2F6B32;
  --charcoal: #1A1A1A;
  --mist: #F4F8E8;
  --mint: #E5F0C8;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Outfit", system-ui, sans-serif;
  --radius-md: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 60px rgba(168, 199, 58, 0.18);
}

/* ---- Base ---- */
body {
  font-family: var(--font-sans);
  background: #fff;
  color: var(--charcoal);
}

h1, h2, h3, h4, h5, .logo__text, .product-card__title,
.product-info__title, .hero__title, .page-hero__title,
.section__title, .rs-step__title, .testimonial-card__quote {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

/* ---- Announcement ---- */
.announce-bar {
  background: var(--lime);
  color: var(--charcoal);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  height: 2.35rem;
}

.announce-msg a {
  color: var(--leaf-dark);
  font-weight: 800;
}

/* ---- Header ---- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  backdrop-filter: blur(16px);
}

/* Official SVG logo (wider plant + wordmark) */
.logo {
  gap: 0.5rem;
  align-items: center;
}

.logo__img {
  width: auto !important;
  height: 3.2rem !important;
  max-width: 8rem;
  object-fit: contain;
  display: block;
  transform-origin: center bottom;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.site-header.is-scrolled .logo__img {
  height: 2.7rem !important;
}

/* SVG already includes RootCleanse text — hide duplicate wordmark */
.logo__text {
  display: none;
}

/* Hover lift — desktop only; no bounce animation (fights sticky scroll scale) */
@media (hover: hover) and (pointer: fine) {
  .logo:hover .logo__img {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 14px rgba(168, 199, 58, 0.45));
  }
  .site-chrome.is-scrolled .logo:hover .logo__img,
  .site-header.is-scrolled .logo:hover .logo__img {
    transform: scale(0.95);
  }
}

@keyframes logo-bounce {
  0%, 100% { transform: scale(1.07) rotate(-3deg); }
  25% { transform: scale(1.1) rotate(4deg); }
  50% { transform: scale(1.05) rotate(-2deg); }
  75% { transform: scale(1.09) rotate(2deg); }
}

/* Footer logo plate styles live in styles.css (.footer-brand__logo) */

.nav-main__link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--charcoal);
}

.nav-main__link::after {
  background: var(--lime);
  height: 2px;
  border-radius: 2px;
}

.nav-main__link:hover,
.nav-main__link[aria-current="page"] {
  color: var(--leaf);
}

.header-icon:hover {
  background: var(--mist);
  color: var(--leaf);
}

.basket-count {
  background: var(--lime);
  color: var(--charcoal);
  font-weight: 800;
}

/* ---- Buttons: fun & punchy ---- */
.btn {
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.95rem 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn--primary {
  background: var(--charcoal);
  color: #fff;
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--lime);
}

.btn--primary:hover {
  background: #000;
  border-color: #000;
  box-shadow: 6px 6px 0 var(--lime);
}

.btn--gold,
.btn--lime {
  background: var(--lime);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--charcoal);
  font-weight: 800;
}

.btn--gold:hover,
.btn--lime:hover {
  background: var(--lime-bright);
  box-shadow: 6px 6px 0 var(--charcoal);
}

.btn--secondary {
  background: #fff;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  box-shadow: 3px 3px 0 var(--mint);
}

.btn--secondary:hover {
  background: var(--mist);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn--secondary::after { content: none; }

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--ghost-dark {
  border: 2px solid var(--charcoal);
  color: var(--charcoal);
}

/* ---- Hero: bold, fun, lime energy ---- */
.hero {
  min-height: min(90vh, 48rem);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.hero__bg img {
  opacity: 0.45;
  filter: saturate(1.15) contrast(1.05);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.hero__overlay {
  background:
    linear-gradient(120deg, rgba(26, 26, 26, 0.92) 0%, rgba(26, 26, 26, 0.72) 45%, rgba(47, 107, 50, 0.35) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 199, 58, 0.35), transparent 50%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -6rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(168, 199, 58, 0.35), transparent 65%);
  pointer-events: none;
  z-index: 1;
  animation: blob-float 10s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
}

.hero__content {
  max-width: 38rem;
  padding-block: clamp(4.5rem, 12vh, 8rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--charcoal);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  animation: pop-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__title {
  font-size: clamp(3.2rem, 2.2rem + 5vw, 5.75rem);
  line-height: 0.95;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.hero__title em,
.hero__title .lime {
  color: var(--lime);
  font-style: normal;
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 30rem;
}

.hero__trust {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.hero__trust::before {
  background: var(--lime);
}

/* ---- Sections ---- */
.section--cream,
.section--stone {
  background: var(--mist);
}

.section--white {
  background: #fff;
}

.section--forest,
.section--moss {
  background: var(--charcoal);
  color: #fff;
}

.section--forest h2,
.section--forest h3,
.section--moss h2 {
  color: #fff;
}

.section__eyebrow {
  color: var(--lime-deep);
  background: var(--mint);
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
}

.section--forest .section__eyebrow,
.banner--editorial .section__eyebrow,
.banner--forest .section__eyebrow,
.page-hero .page-hero__eyebrow {
  background: rgba(168, 199, 58, 0.2);
  color: var(--lime);
}

.section__title {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.divider {
  background: var(--lime);
  width: 3.5rem;
  height: 4px;
  border-radius: 4px;
}

/* ---- 3 Rs fun steps ---- */
.rs-timeline {
  gap: 1.25rem;
  border: none;
}

.rs-timeline::before { display: none; }

.rs-step {
  text-align: left;
  background: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 6px 6px 0 var(--lime);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-step:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 10px 10px 0 var(--lime);
}

.rs-step:nth-child(2) { box-shadow: 6px 6px 0 var(--mint); }
.rs-step:nth-child(2):hover { box-shadow: 10px 10px 0 var(--mint); }
.rs-step:nth-child(3) { box-shadow: 6px 6px 0 var(--leaf); }
.rs-step:nth-child(3):hover { box-shadow: 10px 10px 0 var(--leaf); color: inherit; }

.rs-step__num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
}

.rs-step__title {
  font-size: 1.65rem;
  font-weight: 800;
}

.rs-step__product {
  color: var(--leaf);
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* ---- Product cards ---- */
.product-card {
  background: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--mint);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 10px 0 var(--lime);
  border-color: var(--charcoal);
}

.product-card__media {
  aspect-ratio: 1;
  border-radius: 0;
  margin: 0;
  background: var(--mist);
}

.product-card__media img {
  object-fit: cover !important;
  padding: 0 !important;
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.product-card__title {
  font-size: 1.15rem;
  font-weight: 800;
}

.product-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--leaf);
}

.badge {
  background: var(--lime);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.badge--bundle {
  background: var(--charcoal);
  color: var(--lime);
  border-color: var(--charcoal);
}

.badge--stock {
  background: #fff;
  color: var(--leaf);
  border-color: var(--leaf);
}

/* ---- Feature / edu cards ---- */
.feature-card,
.edu-card,
.ingredient-card,
.testimonial-card {
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--mint);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.edu-card:hover,
.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--lime);
  border-color: var(--charcoal);
}

.feature-card__number,
.feature-card__icon,
.edu-card__icon,
.benefit-item__icon {
  color: var(--lime-deep);
}

/* ---- Featured product ---- */
.featured-product {
  background: linear-gradient(135deg, var(--mist) 0%, #fff 50%, var(--mint) 100%);
}

.featured-product__media {
  border-radius: 24px;
  border: 2px solid var(--charcoal);
  box-shadow: 10px 10px 0 var(--lime);
  overflow: hidden;
}

.featured-product__price {
  color: var(--charcoal);
  font-weight: 800;
}

.featured-product__includes {
  background: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 16px;
  border-left: 2px solid var(--charcoal);
}

.featured-product__includes li::before {
  background: var(--lime);
  width: 0.55rem;
  height: 0.55rem;
}

/* ---- Banners ---- */
.banner--editorial {
  background: linear-gradient(135deg, #1a1a1a 0%, #2F6B32 100%);
  position: relative;
  overflow: hidden;
}

.banner--editorial::before {
  content: "PARASITE CLEANSE";
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 6rem);
  color: rgba(168, 199, 58, 0.12);
  letter-spacing: 0.08em;
  white-space: nowrap;
  pointer-events: none;
}

.banner--forest {
  background: var(--lime);
  color: var(--charcoal);
}

.banner--forest h2 {
  color: var(--charcoal);
  font-weight: 800;
}

.banner--forest .btn--ghost {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.banner--forest .btn--ghost:hover {
  background: rgba(0, 0, 0, 0.08);
}

.banner--upsell {
  background: linear-gradient(135deg, var(--charcoal), var(--leaf));
  border-radius: 20px;
}

/* ---- Page hero ---- */
.page-hero {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 20rem;
  height: 20rem;
  right: -4rem;
  top: -4rem;
  background: radial-gradient(circle, rgba(168, 199, 58, 0.4), transparent 70%);
  animation: blob-float 8s ease-in-out infinite;
}

.page-hero__title {
  color: #fff;
  font-weight: 800;
}

.page-hero__text {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumbs,
.breadcrumbs a {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a:hover {
  color: var(--lime);
}

/* ---- Forms ---- */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(168, 199, 58, 0.35);
}

.form-label {
  color: var(--charcoal);
  font-weight: 700;
}

/* ---- FAQ ---- */
.faq-item__question {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
}

.faq-item__icon::before,
.faq-item__icon::after {
  background: var(--lime-deep);
}

.filter-btn,
.category-pill {
  border-radius: 999px;
  border: 2px solid var(--charcoal);
  font-weight: 700;
}

.filter-btn.is-active,
.filter-btn:hover,
.category-pill.is-active,
.category-pill:hover {
  background: var(--lime);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

/* ---- Footer accents (structure in styles.css) ---- */
.footer-signup__form .btn {
  box-shadow: none;
}

/* ---- Testimonials ---- */
.testimonial-card {
  border-top: 2px solid var(--charcoal);
  box-shadow: 4px 4px 0 var(--mint);
}

.testimonial-card__stars {
  color: var(--lime-deep);
}

/* ---- Article cards ---- */
.article-card {
  border: 2px solid var(--charcoal);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 4px 4px 0 var(--mint);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 0 var(--lime);
}

.article-card__media {
  border-radius: 0;
}

.article-card__cat {
  color: var(--lime-deep);
  font-weight: 800;
}

/* ---- Symptoms / notes ---- */
.symptom-item {
  border: 2px solid var(--charcoal);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--mint);
}

.symptom-item__dot {
  background: var(--lime);
}

.note-box {
  background: var(--mint);
  border: 2px solid var(--charcoal);
  border-radius: 14px;
  color: var(--charcoal);
}

.warning-box {
  border-left: 4px solid var(--lime);
  background: var(--mist);
}

/* ---- Cart drawer ---- */
.cart-drawer__panel {
  border-left: 3px solid var(--lime);
}

.delivery-progress__fill {
  background: linear-gradient(90deg, var(--lime), var(--leaf));
}

/* ---- Cookie / back to top ---- */
.back-to-top {
  background: var(--lime);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--charcoal);
}

.back-to-top:hover {
  background: var(--lime-bright);
}

.cookie-notice {
  border-top: 3px solid var(--lime);
}

/* ---- Animations ---- */
@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, 16px); }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.85) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fun marquee strip */
.fun-strip {
  background: var(--lime);
  color: var(--charcoal);
  overflow: hidden;
  border-block: 2px solid var(--charcoal);
  padding: 0.85rem 0;
}

.fun-strip__track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fun-strip__track span {
  padding: 0 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.fun-strip__track span::after {
  content: "✦";
  color: var(--charcoal);
  opacity: 0.5;
}

/* Stage pills */
.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--mint);
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--charcoal);
}

.stage-pill--lime {
  background: var(--lime);
}

/* (logo hover handled above) */

/* Floating leaf decorations */
.float-deco {
  animation: float-y 4s ease-in-out infinite;
}

/* Intro benefits */
.intro-benefit {
  background: #fff;
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  box-shadow: 3px 3px 0 var(--lime);
  font-weight: 700;
}

.intro-benefit::before {
  content: "\2713";
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  border-radius: 50%;
  border: 1.5px solid var(--charcoal);
  font-size: 0.7rem;
  margin-right: 0.35rem;
  background-image: none !important;
}

/* Product page */
.product-gallery__main {
  border: 2px solid var(--charcoal);
  border-radius: 20px;
  box-shadow: 8px 8px 0 var(--mint);
}

.product-info__price {
  color: var(--leaf);
  font-weight: 800;
}

.qty-selector {
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  overflow: hidden;
}

/* Ebook */
.ebook-card {
  border: 2px solid var(--charcoal);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--lime);
}

.ebook-cover {
  border: 2px solid var(--charcoal);
  box-shadow: none;
  transform: none;
}

/* Modal */
.modal__dialog {
  border: 3px solid var(--charcoal);
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--lime);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img,
  .fun-strip__track,
  .hero::after,
  .page-hero::before,
  .float-deco {
    animation: none !important;
  }
}

/* Mobile */
@media (max-width: 800px) {
  .rs-step {
    box-shadow: 4px 4px 0 var(--lime);
  }
  .btn--primary,
  .btn--gold {
    box-shadow: 3px 3px 0 var(--charcoal);
  }
  .hero__title {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
  }
}

/* ==========================================================================
   Logo + homepage tidy extras
   ========================================================================== */

/* Header spacing cleaner — height locked (no scroll shrink reflow) */
.site-header:not(.site-header--center) .site-header__inner {
  height: 4.25rem;
  gap: 1rem;
}

.site-header:not(.site-header--center).is-scrolled .site-header__inner {
  height: 4.25rem;
}

.nav-main {
  gap: 0.15rem;
}

/* Hero title lime accent */
.hero__title .lime,
.lime {
  color: var(--lime);
  font-style: normal;
}

/* Smoother fun strip */
.fun-strip {
  position: relative;
  z-index: 2;
}

.fun-strip__track span {
  white-space: nowrap;
}

/* Tighter product grid rhythm */
.section .grid--4 {
  gap: 1.75rem 1.35rem;
}

/* Cleaner product card CTAs */
.product-card__actions .btn {
  border-radius: 999px;
}

.product-card__actions .btn--primary {
  box-shadow: 3px 3px 0 var(--lime);
}

.product-card__actions .btn--primary:hover {
  box-shadow: 5px 5px 0 var(--lime);
}

/* Page load logo intro disabled — animated transform on sticky logo janks scroll */

/* Announcement bar — no shine layer (repaint jank; marquee is enough) */
.announce-bar {
  position: relative;
  overflow: hidden;
}

.announce-bar::after {
  content: none;
  display: none;
  animation: none;
}

@keyframes shine {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Hero content entrance cascade */
.hero__content > * {
  animation: hero-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__eyebrow { animation-delay: 0.05s; }
.hero__title { animation-delay: 0.15s; }
.hero__text { animation-delay: 0.28s; }
.hero .btn-group { animation-delay: 0.4s; }
.hero__trust { animation-delay: 0.52s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 3R step numbers pulse gently */
.rs-step__num {
  animation: soft-pulse 3s ease-in-out infinite;
}

.rs-step:nth-child(2) .rs-step__num { animation-delay: 0.4s; }
.rs-step:nth-child(3) .rs-step__num { animation-delay: 0.8s; }

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Basket pop when count changes */
.basket-count {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.basket-count.is-pop {
  transform: scale(1.35);
}

/* Toast more on-brand */
.toast {
  border-left: 4px solid var(--lime);
  border-radius: 12px;
  font-weight: 600;
}

/* Mobile logo a bit smaller */
@media (max-width: 640px) {
  .logo__img {
    height: 2.75rem !important;
    max-width: 6.5rem;
  }
  .site-header.is-scrolled .logo__img {
    height: 2.4rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo__img,
  .hero__content > *,
  .rs-step__num,
  .announce-bar::after,
  .fun-strip__track {
    animation: none !important;
  }
}

/* ==========================================================================
   Centered logo header + polished sticky menu (v2.6.7)
   3-column GRID — logo never collides with links / Parasites
   ========================================================================== */

.site-header--center {
  --header-height: 5.75rem;
  --header-height-scrolled: 4.65rem;
  --nav-link-gap: 0.15rem;
  --nav-group-gap: 0.7rem;
  background: transparent;
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.site-chrome.is-scrolled .site-header--center {
  border-bottom-color: rgba(26, 26, 26, 0.08);
}

/* Equal side columns + auto center brand = logo stays centered without overlap */
.site-header--center .site-header__inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.1rem;
  height: var(--header-height);
  min-height: var(--header-height);
  position: relative;
  overflow: visible;
  padding-inline: 0.1rem;
  /* No height transition — animating sticky height causes scroll glitches */
  transition: none;
}

.site-header--center.is-scrolled .site-header__inner,
.site-chrome.is-scrolled .site-header--center .site-header__inner {
  /* Keep same height as resting state (polish.css locks this too) */
  height: var(--header-height);
  min-height: var(--header-height);
}

/* —— Brand (center column) —— */
.site-header--center .site-header__brand {
  grid-column: 2;
  position: static;
  left: auto;
  top: auto;
  transform: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
  padding-inline: 0.35rem;
}

.site-header--center .logo--center,
.site-header--center .site-header__brand .logo,
.site-header--center .site-header__brand .custom-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-header--center .logo__img,
.site-header--center .site-header__brand .custom-logo,
.site-header--center .site-header__brand img {
  height: 4.25rem !important;
  max-width: 10.5rem !important;
  width: auto !important;
  object-fit: contain;
  display: block;
  /* Scale-only shrink in polish.css — never change layout height on scroll */
  transition: transform 0.22s ease, filter 0.28s ease;
  transform-origin: center center;
}

.site-header--center.is-scrolled .logo__img,
.site-header--center.is-scrolled .site-header__brand .custom-logo,
.site-header--center.is-scrolled .site-header__brand img,
.site-chrome.is-scrolled .site-header--center .logo__img,
.site-chrome.is-scrolled .site-header--center .site-header__brand img {
  height: 4.25rem !important;
  max-width: 10.5rem !important;
}

.site-header--center .site-header__brand .logo:hover .logo__img,
.site-header--center .site-header__brand:hover img {
  filter: drop-shadow(0 6px 14px rgba(168, 199, 58, 0.35));
}

/* —— Left rail (col 1) —— */
.site-header--center .nav-main--left {
  grid-column: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: var(--nav-link-gap);
  min-width: 0;
  max-width: 100%;
  overflow: hidden; /* never spill over logo */
  z-index: 3;
  margin: 0;
  padding: 0;
}

/* —— Right rail (col 3): links then Parasites then icons —— */
.site-header--center .header-right {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: var(--nav-group-gap);
  min-width: 0;
  max-width: 100%;
  z-index: 3;
  margin: 0;
  padding: 0;
  overflow: visible; /* mega menu must not clip */
}

/* Text links can shrink/hide; Parasites + icons never shrink */
.site-header--center .nav-main--right {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: var(--nav-link-gap);
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  max-width: 100%;
}

/* Learn slot — always visible until burger breakpoint */
.site-header--center .nav-main--learn {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: 0;
  overflow: visible;
  z-index: 4; /* mega menu above neighbours */
}

.site-header--center .nav-main--learn .nav-main__link,
.site-header--center .nav-main--learn .nav-mega__trigger {
  flex-shrink: 0;
}

/* —— Nav links —— */
.site-header--center .nav-main__link {
  position: relative;
  font-family: var(--font-display, Outfit, system-ui, sans-serif);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal, #1a1a1a);
  padding: 0.55rem 0.65rem;
  border-radius: 0;
  background: transparent !important;
  white-space: nowrap;
  line-height: 1.2;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.site-header--center .nav-main__link::after {
  content: "";
  display: block !important;
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime, #a8c73a);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  opacity: 1;
}

.site-header--center .nav-main__link:hover,
.site-header--center .nav-main__link[aria-current="page"] {
  color: var(--leaf, #2f6b32);
  background: transparent !important;
}

.site-header--center .nav-main__link:hover::after,
.site-header--center .nav-main__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header--center .nav-mega__trigger {
  font-family: var(--font-display, Outfit, system-ui, sans-serif);
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.6rem !important;
}

/* —— Parasites: own slot, never covers links —— */
.site-header--center .nav-parasites-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  height: 2.45rem;
  padding: 0 1rem;
  font-family: var(--font-display, Outfit, system-ui, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(47, 107, 50, 0.2);
  margin: 0;
  gap: 0.35rem;
}

.site-header--center .nav-parasites-btn__icon {
  width: 0.9rem;
  height: 0.9rem;
}

/* —— Icons —— */
.site-header--center .header-actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border-left: 1px solid rgba(26, 26, 26, 0.1);
  padding-left: 0.75rem;
  margin-left: 0;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.site-header--center .header-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  color: var(--charcoal, #1a1a1a);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-header--center .header-icon:hover {
  border-color: rgba(47, 107, 50, 0.25);
  background: var(--mist, #f4f8e8);
  color: var(--leaf, #2f6b32);
}

.site-header--center .nav-toggle {
  display: none;
  position: static;
  transform: none;
  flex: 0 0 auto;
  width: 2.45rem;
  height: 2.45rem;
  z-index: 5;
  margin: 0;
}

/* Mid width: drop secondary right links only — Learn + Parasites stay */
@media (max-width: 1280px) {
  .site-header--center {
    --nav-group-gap: 0.55rem;
  }
  .site-header--center .nav-main--right {
    display: none !important;
  }
  .site-header--center .nav-main--learn {
    display: flex !important;
  }
  .site-header--center .nav-main__link,
  .site-header--center .nav-mega__trigger {
    font-size: 0.72rem !important;
    padding: 0.45rem 0.5rem !important;
  }
  .site-header--center .nav-main__link::after {
    left: 0.5rem;
    right: 0.5rem;
  }
  .site-header--center .nav-parasites-btn {
    height: 2.35rem;
    padding: 0 0.9rem;
    font-size: 0.7rem;
  }
  .site-header--center .logo__img,
  .site-header--center .site-header__brand .custom-logo,
  .site-header--center .site-header__brand img {
    height: 4.75rem !important;
    max-width: 11.75rem !important;
  }
}

/* Burger: hide text nav + Learn slot (mobile drawer has Learn) */
@media (max-width: 1100px) {
  .site-header--center {
    --header-height: 5.15rem;
    --header-height-scrolled: 4.55rem;
    --nav-group-gap: 0.55rem;
  }
  .site-header--center .site-header__inner {
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
  }
  .site-header--center .nav-main--left,
  .site-header--center .nav-main--right,
  .site-header--center .nav-main--learn {
    display: none !important;
  }
  .site-header--center .site-header__brand {
    grid-column: 1;
    justify-self: start;
    padding-inline: 0;
  }
  .site-header--center .header-right {
    grid-column: 2;
    justify-self: end;
    overflow: visible;
    gap: var(--nav-group-gap);
  }
  .site-header--center .nav-toggle {
    display: flex !important;
  }
  .site-header--center .nav-parasites-btn {
    display: inline-flex !important;
  }
  .site-header--center .header-actions {
    padding-left: 0.6rem;
  }
  .site-header--center .logo__img,
  .site-header--center .site-header__brand .custom-logo,
  .site-header--center .site-header__brand img {
    height: 4rem !important;
    max-width: 10.25rem !important;
  }
  .site-header--center.is-scrolled .logo__img,
  .site-header--center.is-scrolled .site-header__brand img {
    height: 3.45rem !important;
    max-width: 8.75rem !important;
  }
}

@media (max-width: 480px) {
  .site-header--center {
    --header-height: 4.65rem;
    --header-height-scrolled: 4.25rem;
  }
  .site-header--center .header-actions .header-icon[aria-label="Search"] {
    display: none;
  }
  .site-header--center .logo__img,
  .site-header--center .site-header__brand .custom-logo,
  .site-header--center .site-header__brand img {
    height: 3.4rem !important;
    max-width: 8.5rem !important;
  }
  .site-header--center .nav-parasites-btn {
    height: 2.2rem;
    padding: 0 0.7rem;
    font-size: 0.66rem;
  }
  .site-header--center .header-actions {
    border-left: none;
    padding-left: 0;
  }
}

/* ---- Hero slider ---- */
.hero--slider {
  position: relative;
  min-height: min(92vh, 52rem);
  display: block;
  background: var(--charcoal);
  overflow: hidden;
}

.hero--slider .hero-slides {
  position: relative;
  min-height: min(92vh, 52rem);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 6.5s ease;
  filter: saturate(1.1) contrast(1.05);
}

.hero-slide.is-active .hero-slide__bg img {
  transform: scale(1.12);
  animation: none;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(18, 18, 18, 0.88) 0%, rgba(18, 18, 18, 0.55) 48%, rgba(47, 107, 50, 0.28) 100%),
    radial-gradient(ellipse at 85% 15%, rgba(168, 199, 58, 0.35), transparent 45%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 14vh, 9rem);
  max-width: 42rem;
  margin-inline: 0 auto 0;
}

.hero-slide.is-active .hero-slide__content > * {
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide.is-active .hero__eyebrow { animation-delay: 0.05s; }
.hero-slide.is-active .hero__title { animation-delay: 0.15s; }
.hero-slide.is-active .hero__text { animation-delay: 0.28s; }
.hero-slide.is-active .btn-group { animation-delay: 0.4s; }

.hero--slider .hero__title {
  font-size: clamp(2.8rem, 2rem + 4.5vw, 5.25rem);
  color: #fff;
  margin-bottom: 1.15rem;
}

.hero--slider .hero__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-controls {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(168, 199, 58, 0.45);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.hero-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  border: 2px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  background: var(--lime);
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.hero-arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 1.6rem;
  background: var(--lime);
}

.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  transition: width 0.1s linear;
}

.hero-progress span.is-running {
  transition: width 6s linear;
  width: 100%;
}

@media (max-width: 700px) {
  .hero--slider,
  .hero--slider .hero-slides {
    min-height: 85vh;
  }
  .hero-slide__content {
    padding-block: 4.5rem 6.5rem;
  }
  .hero-controls {
    bottom: 1.1rem;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem;
  }
}

/* Mobile nav panel polish */
.nav-mobile__panel {
  padding-top: calc(var(--header-height) + 1.5rem);
}

.nav-mobile__list {
  gap: 0.15rem !important;
}

.nav-mobile__link {
  font-family: var(--font-display, Outfit, system-ui, sans-serif);
  font-weight: 600;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(47, 107, 50, 0.12) !important;
  padding: 1.05rem 0.15rem !important;
  color: var(--charcoal, #1a1a1a);
}

.nav-mobile__link:hover,
.nav-mobile__link[aria-current="page"] {
  color: var(--leaf, #2f6b32) !important;
}

.nav-mobile__cta {
  margin-top: 1.75rem;
  border-radius: 999px;
}

.nav-mobile__parasites {
  margin-bottom: 0.85rem !important;
  text-transform: uppercase;
}

/* Brand mark sizes for .site-header--center are defined once in the header block above (v2.5.2). */

/* Real product photography */
.product-card__media {
  background: #2a4a36;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__media img {
  object-fit: contain !important;
  width: 100%;
  height: 100%;
  padding: 0.75rem !important;
  background: transparent;
}

.featured-product__media {
  background: #2a4a36;
}

.featured-product__media img {
  object-fit: contain !important;
  padding: 1.5rem !important;
}

.hero-slide__bg {
  background: #1e3a28;
}

.hero-slide__bg img {
  object-fit: contain !important;
  object-position: center center;
  padding: 2rem 4rem;
  background: radial-gradient(ellipse at center, #3d6b4a 0%, #1a2e22 70%);
  transform: scale(1) !important;
}

.hero-slide.is-active .hero-slide__bg img {
  transform: scale(1.03) !important;
  transition: transform 6s ease;
}

.hero-slide__overlay {
  background:
    linear-gradient(105deg, rgba(18, 18, 18, 0.82) 0%, rgba(18, 18, 18, 0.35) 50%, rgba(18, 18, 18, 0.15) 100%) !important;
}

.product-gallery__main {
  background: #2a4a36 !important;
}

.product-gallery__main img {
  object-fit: contain !important;
  padding: 1.25rem !important;
}

.product-gallery__thumb {
  background: #2a4a36;
}

.product-gallery__thumb img {
  object-fit: contain !important;
  padding: 0.25rem;
}

.quick-view__media {
  background: #2a4a36;
  border-radius: 16px;
}

.quick-view__media img {
  object-fit: contain !important;
  padding: 1rem;
  width: 100%;
  height: 100%;
}

.cart-item__img {
  object-fit: contain !important;
  background: #2a4a36;
  padding: 0.2rem;
}

@media (max-width: 700px) {
  .hero-slide__bg img {
    padding: 3rem 1rem 8rem;
  }
}

/* Recreated lifestyle product photography — full-bleed cover */
.product-card__media {
  background: #e8efe4 !important;
}

.product-card__media img {
  object-fit: cover !important;
  padding: 0 !important;
}

.featured-product__media {
  background: #e8efe4 !important;
}

.featured-product__media img {
  object-fit: cover !important;
  padding: 0 !important;
}

.hero-slide__bg {
  background: #1a2e22 !important;
}

.hero-slide__bg img {
  object-fit: cover !important;
  object-position: center center !important;
  padding: 0 !important;
  background: none !important;
  transform: scale(1.04) !important;
}

.hero-slide.is-active .hero-slide__bg img {
  transform: scale(1.1) !important;
}

.hero-slide__overlay {
  background:
    linear-gradient(100deg, rgba(12, 16, 14, 0.88) 0%, rgba(12, 16, 14, 0.45) 48%, rgba(12, 16, 14, 0.2) 100%) !important;
}

.product-gallery__main {
  background: #e8efe4 !important;
}

.product-gallery__main img {
  object-fit: cover !important;
  padding: 0 !important;
}

.product-gallery__thumb {
  background: #e8efe4 !important;
}

.product-gallery__thumb img {
  object-fit: cover !important;
  padding: 0 !important;
}

.quick-view__media {
  background: #e8efe4 !important;
}

.quick-view__media img {
  object-fit: cover !important;
  padding: 0 !important;
}

.cart-item__img {
  object-fit: cover !important;
  background: #e8efe4 !important;
  padding: 0 !important;
}

/* Fun product scenes — brighter hero overlay so lime vibes show */
.hero-slide__overlay {
  background:
    linear-gradient(100deg, rgba(12, 18, 14, 0.78) 0%, rgba(12, 18, 14, 0.28) 52%, rgba(168, 199, 58, 0.12) 100%) !important;
}

.product-card__media {
  background: linear-gradient(160deg, #e8f5c8 0%, #d4e8a8 100%) !important;
}

/* Homepage ingredients grid */
.grid--ingredients {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5, 1.25rem);
}
@media (max-width: 1024px) {
  .grid--ingredients { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid--ingredients { grid-template-columns: 1fr 1fr; }
}

/* ===== Learning hub + articles (v1.4) ===== */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border-radius: 1.15rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(26,26,26,0.08);
}
.article-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mist, #f4f8e8);
}
.article-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}
.article-card:hover .article-card__media img {
  transform: scale(1.04);
}
.article-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.article-card__cat {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--leaf, #2f6b32);
}
.article-card__title {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
.article-card__excerpt {
  color: var(--muted, #5c6350);
  font-size: .92rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__meta {
  margin-top: auto;
  padding-top: .5rem;
  font-size: .8rem;
  color: var(--muted, #5c6350);
}

.article-hero-img {
  margin: 0 0 1.75rem;
  border-radius: 1.15rem;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--mist, #f4f8e8);
}
.article-hero-img img,
.article-hero-img__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}
@media (max-width: 700px) {
  .article-hero-img { aspect-ratio: 16 / 10; }
}

.article-body.entry-content {
  max-width: 42rem;
}
.article-body h2 {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.45rem;
  margin: 2rem 0 .85rem;
  color: var(--charcoal, #1a1a1a);
}
.article-body h3 {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.15rem;
  margin: 1.5rem 0 .6rem;
}
.article-body p,
.article-body li {
  color: var(--muted, #5c6350);
  line-height: 1.75;
  font-size: 1.05rem;
}
.article-body .fact-box {
  background: var(--mist, #f4f8e8);
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--lime, #a8c73a);
}
.article-body .fact-box__label {
  display: block;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--leaf, #2f6b32);
  margin-bottom: .35rem;
}
.article-body .pull-quote {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--leaf, #2f6b32);
  border: none;
  margin: 1.75rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--lime, #a8c73a);
}
.article-disclaimer {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  background: #fafafa;
  border-radius: .85rem;
  font-size: .9rem;
  color: var(--muted, #5c6350);
}
.article-related__title {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  text-align: center;
}

.hub-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .hub-featured { grid-template-columns: 1fr; }
}
.hub-featured__main {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 320px;
  display: block;
  color: #fff;
  text-decoration: none;
}
.hub-featured__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.hub-featured__content {
  position: relative;
  z-index: 1;
  padding: 1.75rem;
  background: linear-gradient(transparent, rgba(26,26,26,.78));
  margin-top: auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
}
.hub-featured__content h2 {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin: 0;
  color: #fff;
}
.hub-featured__content p { color: rgba(255,255,255,.88); margin: 0; }
.hub-featured__content .article-card__cat { color: var(--lime, #a8c73a); }
.hub-featured__side {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.hub-side-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: .85rem;
  align-items: center;
  padding: .65rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}
.hub-side-card:hover { box-shadow: 0 10px 28px rgba(26,26,26,.08); }
.hub-side-card__img {
  aspect-ratio: 1;
  border-radius: .75rem;
  overflow: hidden;
  background: var(--mist, #f4f8e8);
}
.hub-side-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-side-card__cat {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--leaf, #2f6b32);
  margin-bottom: .2rem;
}
.hub-side-card__title {
  font-family: var(--font-display, Outfit, sans-serif);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1.3;
}

/* ===== Homepage cleanse video ===== */
.rc-video-section {
  background: linear-gradient(180deg, #0f1a10 0%, #1a2618 50%, #122016 100%);
  color: #fff;
  padding-block: clamp(2.75rem, 6vw, 5rem);
}
.rc-video-section__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 900px) {
  .rc-video-section__grid { grid-template-columns: 1fr; }
}
.rc-video-frame {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a120c;
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(168,199,58,.2);
}
.rc-video-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rc-video-frame__toggle {
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: none;
  background: rgba(26,26,26,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-video-frame__play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
  margin-left: 2px;
}
.rc-video-frame.is-paused .rc-video-frame__play {
  /* play icon already */
}
.rc-video-section__caption {
  margin: .75rem 0 0;
  font-size: .8rem;
  opacity: .65;
}
.rc-video-section__copy .section__eyebrow { color: var(--lime, #a8c73a); }
.rc-video-section__copy h2 {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0 0 .85rem;
  color: #fff;
  line-height: 1.15;
}
.rc-video-section__copy .text-muted { color: rgba(255,255,255,.78) !important; }
.rc-video-section__list {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.rc-video-section__list li {
  padding: .7rem .9rem;
  border-radius: .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(168,199,58,.18);
  font-size: .95rem;
}
.rc-video-section__list strong { color: var(--lime, #a8c73a); }
.rc-video-section .btn--secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff;
}
.rc-video-section .btn--secondary:hover {
  border-color: var(--lime, #a8c73a);
  color: #fff;
}

/* ===== Article cinematic hero ===== */
.article-hero-banner {
  position: relative;
  min-height: clamp(22rem, 52vh, 34rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #132016;
}
.article-hero-banner__media {
  position: absolute;
  inset: 0;
}
.article-hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.article-hero-banner__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,18,12,.25) 0%, rgba(10,18,12,.35) 40%, rgba(10,18,12,.88) 100%),
    linear-gradient(90deg, rgba(10,18,12,.55) 0%, transparent 55%);
}
.article-hero-banner__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2rem, 5vw, 3.5rem);
  max-width: 48rem;
}
.article-hero-banner .breadcrumbs a,
.article-hero-banner .breadcrumbs span {
  color: rgba(255,255,255,.85);
}
.article-hero-banner .article-header__cat {
  color: var(--lime, #a8c73a);
  margin-top: 1rem;
}
.article-hero-banner .article-header__title {
  color: #fff;
  font-size: clamp(1.85rem, 4vw, 3rem);
  margin: .35rem 0 .75rem;
  line-height: 1.12;
  text-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.article-hero-banner .article-header__summary {
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 38rem;
  margin: 0 0 1rem;
}
.article-hero-banner .article-header__meta {
  color: rgba(255,255,255,.7);
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  font-size: .9rem;
}
/* Do not squeeze the single-article grid — full width with sidebar */
.article-page .article-layout {
  max-width: none;
  margin-inline: 0;
  padding-top: .5rem;
  width: 100%;
}
.article-page .article-body {
  max-width: none;
}
.article-page .article-main {
  min-width: 0;
  max-width: 46rem;
}
/* Card images stronger crop */
.article-card__media {
  aspect-ratio: 16 / 10 !important;
}
.article-card__img,
.article-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* =========================================================
   FUN HOMEPAGE + ANNOUNCE MARQUEE (v1.8)
   ========================================================= */

/* Top bar — scrolling ticker (always shows content) */
.announce-bar {
  background: linear-gradient(90deg, #1e3d22 0%, #2f6b32 40%, #3d8a42 60%, #2f6b32 100%) !important;
  color: #fff !important;
  height: auto !important;
  min-height: 2.4rem;
  overflow: hidden !important;
  position: relative;
  z-index: 1001;
  border-bottom: 2px solid rgba(168, 199, 58, 0.45);
}
.announce-bar__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.announce-bar__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0;
  animation: announce-marquee 28s linear infinite;
  padding: 0.55rem 0;
}
.announce-bar__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}
.announce-bar__item::after {
  content: "·";
  margin-left: 1.75rem;
  color: var(--lime, #a8c73a);
  font-weight: 900;
}
@keyframes announce-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-bar__track { animation: none; justify-content: center; width: 100%; flex-wrap: wrap; }
  .announce-bar__item:nth-child(n+4) { display: none; }
}

/* Hero fun blobs + text rise */
.hero--slider { position: relative; overflow: hidden; }
.hero-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: blob-drift 12s ease-in-out infinite;
}
.hero-blob--1 {
  width: 22rem; height: 22rem;
  background: var(--lime, #a8c73a);
  top: -6rem; left: -4rem;
  animation-delay: 0s;
}
.hero-blob--2 {
  width: 16rem; height: 16rem;
  background: #7cb342;
  bottom: 10%; right: -3rem;
  animation-delay: -4s;
  opacity: 0.25;
}
.hero-blob--3 {
  width: 12rem; height: 12rem;
  background: #c5e063;
  top: 40%; left: 45%;
  animation-delay: -7s;
  opacity: 0.18;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(18px, -22px) scale(1.08); }
  66% { transform: translate(-14px, 16px) scale(0.94); }
}
.hero-slide.is-active .hero-slide__bg img {
  animation: hero-kenburns 7s ease-out forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-slide.is-active .hero-anim {
  animation: hero-rise-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-slide.is-active .hero-anim:nth-child(1) { animation-delay: 0.08s; }
.hero-slide.is-active .hero-anim:nth-child(2) { animation-delay: 0.18s; }
.hero-slide.is-active .hero-anim:nth-child(3) { animation-delay: 0.28s; }
.hero-slide.is-active .hero-anim:nth-child(4) { animation-delay: 0.38s; }
@keyframes hero-rise-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Bounce buttons */
.btn--bounce:hover {
  animation: btn-bounce 0.45s ease;
}
@keyframes btn-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px) scale(1.03); }
  70% { transform: translateY(1px); }
}
.btn--primary:hover,
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(47, 107, 50, 0.28);
}

/* Fun strip faster + sparkle */
.fun-strip {
  position: relative;
  overflow: hidden;
}
.fun-strip__track {
  animation-duration: 18s !important;
}
.fun-strip__track span {
  transition: transform 0.2s ease;
}
.fun-strip:hover .fun-strip__track {
  animation-play-state: paused;
}

/* Intro benefit pop */
.intro-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.intro-benefit {
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
}
.intro-benefit:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 5px 5px 0 var(--leaf, #2f6b32);
}
.reveal.is-visible .intro-benefit {
  animation: pop-card 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
.reveal.is-visible .intro-benefit:nth-child(1) { animation-delay: 0.05s; }
.reveal.is-visible .intro-benefit:nth-child(2) { animation-delay: 0.12s; }
.reveal.is-visible .intro-benefit:nth-child(3) { animation-delay: 0.2s; }
@keyframes pop-card {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* 3 Rs steps cascade */
.rs-timeline .rs-step {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rs-timeline .rs-step:hover {
  transform: translateY(-8px);
}
.reveal.is-visible .rs-step {
  animation: step-in 0.65s cubic-bezier(0.16,1,0.3,1) both;
}
.reveal.is-visible .rs-step:nth-child(1) { animation-delay: 0.05s; }
.reveal.is-visible .rs-step:nth-child(2) { animation-delay: 0.15s; }
.reveal.is-visible .rs-step:nth-child(3) { animation-delay: 0.25s; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(36px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.rs-step__num {
  animation: soft-glow 2.8s ease-in-out infinite;
}
@keyframes soft-glow {
  0%, 100% { filter: drop-shadow(0 0 0 transparent); }
  50% { filter: drop-shadow(0 0 10px rgba(168,199,58,0.55)); }
}

/* Product cards playful hover */
.product-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease !important;
}
.product-card:hover {
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 20px 48px rgba(47,107,50,0.16) !important;
}
.product-card:hover .product-card__media img {
  transform: scale(1.06);
  transition: transform 0.45s ease;
}

/* Ingredient / benefit cards */
.ingredient-card,
.edu-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ingredient-card:hover,
.edu-card:hover {
  transform: translateY(-6px);
}

/* Why cards stagger (homepage) */
.why-card.reveal {
  transition-delay: calc(var(--why-i, 0) * 0.05s);
}
.why-card:nth-child(odd) .why-card__icon {
  background: linear-gradient(145deg, #eef5dc 0%, #e5efd0 100%);
}

/* Symptom items wiggle on hover */
.symptom-item {
  transition: transform 0.2s ease, background 0.2s ease;
}
.symptom-item:hover {
  transform: translateX(4px);
  background: var(--mist, #f4f8e8);
}

/* FAQ fun */
.faq-item__question {
  transition: color 0.2s ease, background 0.2s ease;
}
.faq-item:hover .faq-item__question {
  color: var(--leaf, #2f6b32);
}

/* Final CTA pulse */
.banner--forest .btn--primary {
  animation: cta-pulse 2.4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168,199,58,0.45); }
  50% { box-shadow: 0 0 0 12px rgba(168,199,58,0); }
}

/* Floating particles on dark banners */
.banner--forest,
.rc-video-section {
  position: relative;
  overflow: hidden;
}
.banner--forest::before,
.rc-video-section::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime, #a8c73a);
  opacity: 0.35;
  top: 20%;
  left: 12%;
  animation: particle-float 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes particle-float {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  50% { transform: translateY(-18px); opacity: 0.55; }
}

/* Stronger reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Lime word sparkle if used */
.hero__title .lime,
.lime {
  color: var(--lime, #a8c73a);
  display: inline-block;
  animation: lime-wiggle 3s ease-in-out infinite;
}
@keyframes lime-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob,
  .hero-slide.is-active .hero-slide__bg img,
  .hero-slide.is-active .hero-anim,
  .rs-step__num,
  .banner--forest .btn--primary,
  .fun-strip__track,
  .announce-bar__track,
  .lime {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Click sparkles on hero */
.rc-spark {
  position: fixed;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--lime, #a8c73a);
  pointer-events: none;
  z-index: 9999;
  animation: spark-pop 0.7s ease-out forwards;
  box-shadow: 0 0 12px var(--lime, #a8c73a);
}
@keyframes spark-pop {
  0% { transform: scale(0.4); opacity: 1; }
  100% { transform: scale(2.2) translateY(-24px); opacity: 0; }
}

.announce-bar__item {
  /* decorative star via CSS so encoding never fails */
}
.announce-bar__item::before {
  content: "?";
  margin-right: 0.4rem;
  color: var(--lime, #a8c73a);
}
/* hide leading * if present */

/* =========================================================
   LEARN MEGA MENU + STICKY CHROME (v2.6.7)
   ========================================================= */

/* Sticky top bar: announce + header stay visible while scrolling */
.site-chrome {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transition: box-shadow 0.28s ease, background 0.28s ease;
}

.site-chrome.is-scrolled {
  box-shadow: 0 10px 32px rgba(26, 26, 26, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

/* Collapse announce bar when scrolled so menu feels tighter */
.site-chrome .announce-bar {
  max-height: 2.5rem;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease, border-color 0.25s ease;
}

.site-chrome.is-scrolled .announce-bar {
  max-height: 0;
  opacity: 0;
  border-bottom-width: 0;
  pointer-events: none;
}

.site-header {
  position: relative !important;
  z-index: 2;
  width: 100%;
  background: transparent;
}

.site-header__inner {
  position: relative;
}
.nav-main {
  position: static; /* allow mega full width */
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

/* Mega wrapper */
.nav-mega {
  position: static;
  display: inline-flex;
  align-items: center;
}
.nav-mega__trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
}
.nav-mega__chev {
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  transition: transform 0.2s ease;
  opacity: 0.7;
}
.nav-mega.is-open .nav-mega__chev,
.nav-mega:hover .nav-mega__chev {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

/* Panel */
.learn-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.28s cubic-bezier(0.16,1,0.3,1), transform 0.28s cubic-bezier(0.16,1,0.3,1), visibility 0.28s;
  z-index: 999;
}
.nav-mega.is-open .learn-mega,
.nav-mega:focus-within .learn-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
/* Keep open when hovering panel gap */
.site-header.is-mega-open {
  box-shadow: 0 18px 40px rgba(26,26,26,0.08);
}

.learn-mega[hidden] {
  display: block !important; /* we control with opacity */
}
.nav-mega:not(.is-open):not(:focus-within) .learn-mega {
  /* hidden state */
}

.learn-mega__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
  gap: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1.25rem;
  padding: 1.35rem;
  box-shadow: 0 28px 70px rgba(26,26,26,0.14);
  animation: mega-pop 0.35s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes mega-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.nav-mega.is-open .learn-mega__inner {
  animation: mega-pop 0.35s cubic-bezier(0.16,1,0.3,1) both;
}

.learn-mega__featured {
  background: linear-gradient(165deg, #f4f8e8 0%, #fff 60%);
  border-radius: 1rem;
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(47,107,50,0.1);
}
.learn-mega__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf, #2f6b32);
  margin: 0 0 0.4rem;
}
.learn-mega__title {
  font-family: var(--font-display, Outfit, sans-serif);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--charcoal, #1a1a1a);
}
.learn-mega__text {
  font-size: 0.9rem;
  color: var(--muted, #5c6350);
  line-height: 1.5;
  margin: 0 0 1rem;
}
.learn-mega__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.learn-mega__quick {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: grid;
  gap: 0.4rem;
}
.learn-mega__quick a {
  color: var(--leaf, #2f6b32);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.learn-mega__quick a:hover { text-decoration: underline; }

.learn-mega__articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .learn-mega__inner { grid-template-columns: 1fr; }
  .learn-mega__articles { grid-template-columns: 1fr 1fr; }
}

.learn-mega__card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: #fafaf7;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  animation: mega-card-in 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.nav-mega.is-open .learn-mega__card:nth-child(1) { animation-delay: 0.04s; }
.nav-mega.is-open .learn-mega__card:nth-child(2) { animation-delay: 0.08s; }
.nav-mega.is-open .learn-mega__card:nth-child(3) { animation-delay: 0.12s; }
.nav-mega.is-open .learn-mega__card:nth-child(4) { animation-delay: 0.16s; }
@keyframes mega-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.learn-mega__card:hover {
  transform: translateY(-3px);
  border-color: rgba(168,199,58,0.5);
  box-shadow: 0 12px 28px rgba(47,107,50,0.1);
  background: #fff;
}
.learn-mega__card-img {
  aspect-ratio: 1;
  border-radius: 0.7rem;
  overflow: hidden;
  background: var(--mist, #f4f8e8);
}
.learn-mega__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.learn-mega__card:hover .learn-mega__card-img img {
  transform: scale(1.08);
}
.learn-mega__card-cat {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--leaf, #2f6b32);
  margin-bottom: 0.2rem;
}
.learn-mega__card-title {
  display: block;
  font-family: var(--font-display, Outfit, sans-serif);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--charcoal, #1a1a1a);
}

/* Mobile learn accordion */
.nav-mobile__learn {
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 0.5rem;
  padding-top: 0.35rem;
}
.nav-mobile__learn-toggle {
  width: 100%;
  justify-content: space-between;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.nav-mobile__learn-panel {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0 0.75rem 0.75rem;
}
.nav-mobile__learn-panel[hidden] { display: none !important; }
.nav-mobile__sublink {
  display: block;
  padding: 0.55rem 0.4rem;
  color: var(--muted, #5c6350);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav-mobile__sublink:hover { color: var(--leaf, #2f6b32); }
.nav-mobile__sublink--all {
  font-weight: 700;
  color: var(--leaf, #2f6b32);
}

/* Desktop only mega */
@media (max-width: 980px) {
  .nav-mega .learn-mega { display: none !important; }
  .nav-mega__chev { display: none; }
}

/* ---------- EXTRA FUN ANIMATIONS ---------- */
body.home .site-header {
  animation: header-drop 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes header-drop {
  from { transform: translateY(-12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Stagger nav links */
.nav-main__link {
  transition: color 0.2s ease, transform 0.2s ease !important;
}
.nav-main__link:hover {
  transform: translateY(-1px);
}

/* Logo fun bounce on hover already exists — amp it */
.logo:hover .logo__img,
.logo--center:hover img {
  animation: logo-wiggle 0.55s ease;
}
@keyframes logo-wiggle {
  0%,100% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.06) rotate(-3deg); }
  60% { transform: scale(1.04) rotate(2deg); }
}

/* Section headers bounce in more */
.section__header.reveal.is-visible .section__eyebrow {
  animation: label-pop 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
.section__header.reveal.is-visible .section__title {
  animation: title-pop 0.65s cubic-bezier(0.16,1,0.3,1) 0.08s both;
}
@keyframes label-pop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes title-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

/* Floating orbs on cream sections */
.section--cream {
  position: relative;
  overflow: hidden;
}
.section--cream::after {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,199,58,0.18), transparent 70%);
  top: -6rem;
  right: -4rem;
  pointer-events: none;
  animation: orb-float 10s ease-in-out infinite;
}
@keyframes orb-float {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-20px, 16px); }
}

/* Product grid cascade */
.grid .product-card.reveal.is-visible,
.grid .article-card.reveal.is-visible {
  animation: card-cascade 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
.grid .product-card.reveal.is-visible:nth-child(1),
.grid .article-card.reveal.is-visible:nth-child(1) { animation-delay: 0.05s; }
.grid .product-card.reveal.is-visible:nth-child(2),
.grid .article-card.reveal.is-visible:nth-child(2) { animation-delay: 0.1s; }
.grid .product-card.reveal.is-visible:nth-child(3),
.grid .article-card.reveal.is-visible:nth-child(3) { animation-delay: 0.15s; }
.grid .product-card.reveal.is-visible:nth-child(4),
.grid .article-card.reveal.is-visible:nth-child(4) { animation-delay: 0.2s; }
@keyframes card-cascade {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Fun strip rainbow edge */
.fun-strip {
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}
.fun-strip__track span:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Basket count pop already — enhance */
.basket-count.is-pop {
  animation: basket-pop 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes basket-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Page load confetti dots (subtle) */
.rc-fun-dots {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}
.rc-fun-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime, #a8c73a);
  opacity: 0;
  animation: fun-dot-fall 2.2s ease-out forwards;
}
@keyframes fun-dot-fall {
  0% { transform: translateY(-10px) scale(0.5); opacity: 0.8; }
  100% { transform: translateY(40vh) scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .learn-mega,
  .learn-mega__card,
  .learn-mega__inner,
  .section--cream::after,
  .nav-mega__chev,
  .rc-fun-dot {
    animation: none !important;
    transition: none !important;
  }
}
