/* ============================================================
   NEFRO — Complete Design System
   Pharaonic Premium Pet Nutrition
   Version 2.0 | June 2026
   ============================================================ */

/* Fonts are loaded from the HTML <head> with preconnect (faster than @import) */

/* === DESIGN TOKENS === */
:root {
  /* Official NEFRO Brand Guidelines palette */
  --gold:           #C5A55A;  /* Primary Gold — logo, headlines, premium highlights */
  --gold-dark:      #9C8247;  /* darker gold — hover states, borders */
  --gold-light:     #D9C494;  /* Sand tint — subtle highlights */
  --gold-subtle:    #F6F1E2;  /* pale gold wash — backgrounds */
  --gold-glow:      rgba(197,165,90,0.15);
  --ivory:          #FFF8E7;  /* Off-White — backgrounds, packaging, white space */
  --linen:          #F3EAD3;  /* deeper cream — alternating sections */
  --charcoal:       #1B2A4A;  /* NEFRO Navy — text, dark backgrounds, buttons */
  --stone:          #5C6B85;  /* navy-tinted grey — subtext, captions */
  --white:          #FFFFFF;
  --olive:          #75856C;  /* Dusty Olive — wellness/eco elements, badges */
  --cinnamon:       #A96F59;  /* Cinnamon Wood — warm accents (Puppy & Kitten line) */
  --green:          #75856C;
  --danger:         #C0392B;

  --font-display:   'EB Garamond', 'Garamond', 'Georgia', serif;
  --font-label:     'EB Garamond', 'Garamond', 'Georgia', serif;
  --font-body:      'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;

  --text-hero:      clamp(40px, 5.5vw, 76px);
  --text-h1:        clamp(32px, 4vw, 58px);
  --text-h2:        clamp(26px, 3.2vw, 44px);
  --text-h3:        clamp(20px, 2.5vw, 32px);
  --text-h4:        clamp(17px, 2vw, 22px);
  --text-body-lg:   18px;
  --text-body:      16px;
  --text-sm:        14px;
  --text-xs:        12px;
  --text-label:     11px;

  --space-xs:       4px;
  --space-sm:       8px;
  --space-md:       16px;
  --space-lg:       24px;
  --space-xl:       40px;
  --space-2xl:      64px;
  --space-3xl:      96px;
  --space-4xl:      128px;

  --section-py:     clamp(60px, 8vw, 120px);
  --container:      1280px;
  --container-pad:  clamp(20px, 5vw, 80px);

  --radius-sm:      2px;
  --radius-md:      4px;
  --radius-lg:      8px;
  --radius-xl:      16px;
  --radius-full:    9999px;

  --shadow-sm:      0 2px 8px rgba(197,165,90,0.08);
  --shadow-md:      0 4px 24px rgba(197,165,90,0.12);
  --shadow-lg:      0 8px 48px rgba(197,165,90,0.16);
  --shadow-xl:      0 16px 64px rgba(197,165,90,0.20);

  --transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height:     80px;
  --nav-height-scrolled: 64px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* === EGYPTIAN PATTERN UTILITY === */
.eg-pattern {
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(197,165,90,0.035) 30px,rgba(197,165,90,0.035) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(197,165,90,0.035) 30px,rgba(197,165,90,0.035) 31px);
}
.eg-pattern-dark {
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(197,165,90,0.07) 30px,rgba(197,165,90,0.07) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(197,165,90,0.07) 30px,rgba(197,165,90,0.07) 31px);
}

/* === LAYOUT === */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--container-pad); }
.section { padding: var(--section-py) 0; }
.section--linen { background-color: var(--linen); }
.section--dark { background-color: var(--charcoal); color: var(--white); }
.section--gold { background-color: var(--gold); color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* === GOLD DIVIDER === */
.gold-rule {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-md) auto;
}
.gold-rule--left { margin-left: 0; }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: var(--space-3xl); }
.section-header--left { text-align: left; }
.section-label {
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
}
.section--dark .section-title { color: var(--white); }
.section-sub {
  font-size: var(--text-body-lg);
  color: var(--stone);
  max-width: 600px;
  margin: var(--space-md) auto 0;
  line-height: 1.7;
}
.section--dark .section-sub { color: rgba(255,255,255,0.65); }

/* === TYPOGRAPHY === */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
p { line-height: 1.75; }
.text-gold { color: var(--gold); }
.text-stone { color: var(--stone); }
.text-white { color: var(--white); }
.font-display { font-family: var(--font-display); }
.font-label { font-family: var(--font-label); }

/* === LOGO === */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  user-select: none;
  text-decoration: none;
}
.logo-emblem {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.logo-emblem::before,
.logo-emblem::after {
  content: '';
  position: absolute;
  background: var(--gold);
}
.logo-emblem::before {
  width: 1.5px;
  height: 8px;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}
.logo-emblem::after {
  width: 8px;
  height: 1.5px;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
}
.logo-cartouche {
  width: 26px;
  height: 34px;
  border: 1.5px solid var(--gold);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-n {
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.logo-wordmark {
  font-family: var(--font-label);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--gold);
  line-height: 1;
}
.logo-hieroglyphs {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.15em;
  opacity: 0.85;
}
.logo--sm .logo-emblem { width: 42px; height: 42px; }
.logo--sm .logo-cartouche { width: 20px; height: 26px; }
.logo--sm .logo-n { font-size: 12px; }
.logo--sm .logo-wordmark { font-size: 14px; }
.logo--white .logo-emblem,
.logo--white .logo-cartouche { border-color: var(--white); }
.logo--white .logo-n,
.logo--white .logo-wordmark,
.logo--white .logo-hieroglyphs { color: var(--white); }

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition-slow);
}
.nav--transparent { background: transparent; }
.nav--scrolled {
  background: rgba(245,240,230,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: var(--nav-height-scrolled);
  box-shadow: 0 1px 0 rgba(197,165,90,0.2);
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Real logo image in nav */
.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  transition: var(--transition);
}
.nav--scrolled .nav__logo-img { height: 44px; }

/* Footer logo image — official gold logo shows as-is on navy */
.footer__logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin: 0 auto var(--space-md);
  filter: brightness(1.35) saturate(1.1);
}

/* Pet photo cinematic cards */
.pet-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--charcoal);
}
.pet-photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
  display: block;
}
.pet-photo-card:hover img { transform: scale(1.05); }
.pet-photo-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.1) 55%, transparent 100%);
}
.pet-photo-card__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
}

/* Cinematic hero photo */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(27,42,74,0.82) 0%, rgba(27,42,74,0.55) 50%, rgba(27,42,74,0.2) 100%);
}

/* Product card pet photo (replaces emoji bags) */
.product-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--charcoal);
}
.product-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card__photo img { transform: scale(1.06); }
.product-card__photo-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  position: relative;
  transition: var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.nav__link:hover { color: var(--gold); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.nav__lang {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--stone);
  cursor: pointer;
  transition: var(--transition);
}
.nav__lang:hover { color: var(--gold); }
.nav__cart {
  position: relative;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.nav__cart svg { stroke: var(--charcoal); transition: var(--transition); }
.nav__cart:hover svg { stroke: var(--gold); }
.nav__cart-count {
  position: absolute;
  top: 0; right: 0;
  width: 16px; height: 16px;
  background: var(--gold);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  display: none;
}
.nav__cart-count.visible { display: flex; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* Mobile Nav */
.nav__mobile {
  position: fixed;
  top: 0; right: -100%;
  width: min(360px, 100vw);
  height: 100vh;
  background: var(--ivory);
  z-index: 1001;
  padding: var(--nav-height) var(--space-xl) var(--space-xl);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  box-shadow: -8px 0 40px rgba(27,42,74,0.12);
}
.nav__mobile.open { right: 0; }
.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(197,165,90,0.2);
  padding-bottom: var(--space-md);
  transition: var(--transition);
}
.nav__mobile-link:hover { color: var(--gold); padding-left: var(--space-sm); }
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,42,74,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.nav__overlay.open { opacity: 1; pointer-events: all; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: transparent;
  padding-left: 0; padding-right: 0;
}
.btn--ghost:hover { color: var(--gold); }
.btn--lg { padding: 18px 48px; font-size: 12px; }
.btn--sm { padding: 10px 22px; font-size: 10px; }
.btn svg { transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background-color: var(--ivory);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(197,165,90,0.03) 40px,rgba(197,165,90,0.03) 41px),
    repeating-linear-gradient(-45deg,transparent,transparent 40px,rgba(197,165,90,0.03) 40px,rgba(197,165,90,0.03) 41px);
  pointer-events: none;
}
.hero__bg-circle {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(400px, 50vw, 700px);
  height: clamp(400px, 50vw, 700px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,165,90,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.hero__label {
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.hero__label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  font-size: var(--text-body-lg);
  color: var(--stone);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ring {
  width: clamp(320px, 38vw, 520px);
  height: clamp(320px, 38vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(197,165,90,0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(197,165,90,0.15);
}
.hero__product {
  width: 70%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__product-bag {
  width: 200px;
  height: 280px;
  background: linear-gradient(145deg, #FFFBF2, #F3EAD3);
  border-radius: 16px 16px 20px 20px;
  box-shadow: 0 20px 60px rgba(197,165,90,0.2), 0 4px 16px rgba(27,42,74,0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(197,165,90,0.3);
  overflow: hidden;
}
.hero__product-bag::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
}
.hero__product-emblem {
  width: 64px; height: 64px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero__product-emblem::before {
  content: 'N';
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}
.hero__product-name {
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-align: center;
}
.hero__product-line {
  font-family: var(--font-display);
  font-size: 8px;
  color: var(--stone);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__product-animal {
  font-size: 56px;
  line-height: 1;
  margin-top: 4px;
}
.hero__badges {
  position: absolute;
  right: -16px;
  top: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.hero__badge {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--charcoal);
  padding: var(--space-xl) 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.trust-item__icon {
  width: 36px; height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}
.trust-item__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.3;
}
.trust-item__text strong {
  display: block;
  font-size: var(--text-body);
  color: var(--white);
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* === AI ADVISOR BANNER === */
.advisor-banner {
  background: linear-gradient(135deg, #1B2A4A 0%, #243759 50%, #1B2A4A 100%);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.advisor-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(197,165,90,0.06) 30px,rgba(197,165,90,0.06) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(197,165,90,0.06) 30px,rgba(197,165,90,0.06) 31px);
  pointer-events: none;
}
.advisor-banner__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-3xl);
}
.advisor-banner__icon {
  width: 80px; height: 80px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.advisor-banner__icon svg { color: var(--gold); }
.advisor-banner__label {
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}
.advisor-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.advisor-banner__sub {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-body);
  max-width: 500px;
}

/* === PRODUCT CARDS === */
.products-section {}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.product-card {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197,165,90,0.4);
}
.product-card__visual {
  background: linear-gradient(145deg, var(--ivory), var(--linen));
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 20px,rgba(197,165,90,0.04) 20px,rgba(197,165,90,0.04) 21px),
    repeating-linear-gradient(-45deg,transparent,transparent 20px,rgba(197,165,90,0.04) 20px,rgba(197,165,90,0.04) 21px);
  pointer-events: none;
}
.product-card__bag {
  width: 110px; height: 150px;
  background: linear-gradient(145deg, #FFFBF2, #F3EAD3);
  border-radius: 10px 10px 14px 14px;
  border: 1px solid rgba(197,165,90,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 8px 32px rgba(197,165,90,0.15);
  position: relative;
  z-index: 1;
}
.product-card__bag::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.product-card__emblem {
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-label);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}
.product-card__bag-name {
  font-family: var(--font-label);
  font-size: 7px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-align: center;
  line-height: 1.3;
}
.product-card__animal { font-size: 28px; }
.product-card__body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.product-card__formula {
  font-family: var(--font-label);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.product-card__benefits {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  flex: 1;
}
.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--gold-subtle);
  color: var(--gold-dark);
  letter-spacing: 0.05em;
}
.product-card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(197,165,90,0.15);
}
.product-card__price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
}
.product-card__price-sub { font-size: 12px; color: var(--stone); font-weight: 400; }

/* === WHY NEFRO PILLARS === */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.pillar {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transition: var(--transition-slow);
  transform-origin: left;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-lg);
  border: 1.5px solid rgba(197,165,90,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  background: var(--gold-subtle);
  font-size: 26px;
}
.pillar__label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}
.pillar__body { font-size: var(--text-sm); color: var(--stone); line-height: 1.7; }

/* === INGREDIENTS === */
.ingredients-section {
  background: var(--linen);
  position: relative;
  overflow: hidden;
}
.ingredients-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}
.ingredients-visual {
  position: relative;
}
.ingredients-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--linen) 50%, var(--gold-subtle) 100%);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 120px;
  border: 1px solid rgba(197,165,90,0.2);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.ingredients-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 20px,rgba(197,165,90,0.05) 20px,rgba(197,165,90,0.05) 21px),
    repeating-linear-gradient(-45deg,transparent,transparent 20px,rgba(197,165,90,0.05) 20px,rgba(197,165,90,0.05) 21px);
}
.ingredients-badge {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
}
.ingredients-badge__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.ingredients-badge__label {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0.9;
}
.ingredients-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.ingredient-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(197,165,90,0.15);
}
.ingredient-item__icon { font-size: 24px; }
.ingredient-item__name { font-size: var(--text-sm); font-weight: 600; color: var(--charcoal); }
.ingredient-item__sub { font-size: 11px; color: var(--stone); }
.avoid-list { margin-top: var(--space-lg); }
.avoid-list__title { font-size: var(--text-sm); font-weight: 600; color: var(--charcoal); margin-bottom: var(--space-sm); }
.avoid-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(192,57,43,0.08);
  color: var(--danger);
  margin: 3px;
}
.avoid-tag::before { content: '✕'; font-size: 9px; }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--ivory); overflow: hidden; }
.testimonials-carousel { position: relative; }
.testimonials-track {
  display: flex;
  gap: var(--space-lg);
  overflow: hidden;
}
.testimonial-card {
  min-width: calc(33.333% - var(--space-lg) * 2/3);
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  flex-shrink: 0;
  transition: var(--transition-slow);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: var(--space-md); }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.testimonial-quote::before { content: '"'; color: var(--gold); font-size: 40px; line-height: 0; vertical-align: -12px; margin-right: 2px; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid rgba(197,165,90,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.testimonial-name { font-weight: 600; font-size: var(--text-sm); color: var(--charcoal); }
.testimonial-detail { font-size: 11px; color: var(--stone); }
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.carousel-btn {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(197,165,90,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: var(--transition);
  cursor: pointer;
}
.carousel-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(197,165,90,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }

/* === NEWSLETTER === */
.newsletter-section {
  background: var(--charcoal);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 40px,rgba(197,165,90,0.05) 40px,rgba(197,165,90,0.05) 41px),
    repeating-linear-gradient(-45deg,transparent,transparent 40px,rgba(197,165,90,0.05) 40px,rgba(197,165,90,0.05) 41px);
  pointer-events: none;
}
.newsletter-section .logo { margin: 0 auto var(--space-xl); }
.newsletter-offer {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--white);
  margin-bottom: var(--space-md);
}
.newsletter-sub {
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
}
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid rgba(197,165,90,0.4);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: none;
  padding: 16px var(--space-lg);
  color: var(--white);
  font-size: var(--text-sm);
  outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-btn {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px var(--space-xl);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.newsletter-btn:hover { background: var(--gold-dark); }
.newsletter-disclaimer { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: var(--space-md); }

/* === FOOTER === */
.footer {
  background: #14203A;
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-xl);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(197,165,90,0.15);
  margin-bottom: var(--space-xl);
}
.footer__brand-desc {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
}
.footer__social { display: flex; gap: var(--space-md); margin-top: var(--space-xl); }
.footer__social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(197,165,90,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 14px;
  transition: var(--transition);
}
.footer__social-link:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.footer__col-title {
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}
.footer__links { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__link {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer__link:hover { color: var(--gold); padding-left: 4px; }
.footer__hieroglyphs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(197,165,90,0.1);
  border-bottom: 1px solid rgba(197,165,90,0.1);
  margin-bottom: var(--space-lg);
  font-size: 20px;
  letter-spacing: var(--space-md);
  color: rgba(197,165,90,0.4);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer__copy { font-size: 11px; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: var(--space-lg); }
.footer__legal a { font-size: 11px; color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer__legal a:hover { color: var(--gold); }

/* === SHOP / PRODUCT DETAIL === */
.filter-bar {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.filter-btn {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(197,165,90,0.3);
  color: var(--stone);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* === CART SIDEBAR === */
.cart-sidebar {
  position: fixed;
  right: -440px;
  top: 0; bottom: 0;
  width: 420px;
  background: var(--white);
  z-index: 1100;
  box-shadow: -8px 0 60px rgba(27,42,74,0.15);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-sidebar.open { right: 0; }
.cart-sidebar__header {
  padding: var(--space-xl);
  border-bottom: 1px solid rgba(197,165,90,0.15);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-sidebar__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
}
.cart-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--stone);
  font-size: 20px;
  transition: var(--transition);
}
.cart-close:hover { color: var(--gold); }
.cart-sidebar__items { flex: 1; overflow-y: auto; padding: var(--space-lg); }
.cart-empty {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--stone);
}
.cart-empty-icon { font-size: 64px; margin-bottom: var(--space-md); opacity: 0.4; }
.cart-sidebar__footer {
  padding: var(--space-xl);
  border-top: 1px solid rgba(197,165,90,0.15);
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-lg);
}
.cart-total__label { font-size: var(--text-sm); color: var(--stone); }
.cart-total__amount {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
}

/* === AI ADVISOR === */
.advisor-page {
  min-height: 100vh;
  background: var(--ivory);
  padding-top: var(--nav-height);
}
.advisor-hero {
  background: var(--charcoal);
  padding: var(--space-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.advisor-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(197,165,90,0.07) 30px,rgba(197,165,90,0.07) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(197,165,90,0.07) 30px,rgba(197,165,90,0.07) 31px);
}
.advisor-form-section { padding: var(--space-3xl) 0; }
.advisor-form-card {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.advisor-steps {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
  position: relative;
}
.advisor-steps::before {
  content: '';
  position: absolute;
  top: 16px; left: 20px; right: 20px;
  height: 1px;
  background: rgba(197,165,90,0.2);
  z-index: 0;
}
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  flex: 1;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 1.5px solid rgba(197,165,90,0.3);
  background: var(--white);
  color: var(--stone);
  transition: var(--transition);
}
.step-label { font-size: 10px; color: var(--stone); text-align: center; }
.step-indicator.active .step-num { background: var(--gold); color: var(--white); border-color: var(--gold); }
.step-indicator.done .step-num { background: var(--green); color: var(--white); border-color: var(--green); }
.advisor-step { display: none; }
.advisor-step.active { display: block; }
.form-section-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  margin-bottom: var(--space-xl);
  color: var(--charcoal);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(197,165,90,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); margin-bottom: var(--space-lg); }
.form-row--full { grid-template-columns: 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.03em;
}
.form-label span { color: var(--gold); }
.form-control {
  padding: 12px 16px;
  border: 1.5px solid rgba(197,165,90,0.25);
  border-radius: var(--radius-md);
  font-size: var(--text-body);
  color: var(--charcoal);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-control::placeholder { color: rgba(107,99,85,0.5); }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--space-sm); }
.radio-card {
  border: 1.5px solid rgba(197,165,90,0.25);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  position: relative;
}
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card-icon { font-size: 28px; }
.radio-card-label { font-size: var(--text-sm); font-weight: 600; color: var(--charcoal); }
.radio-card-sub { font-size: 10px; color: var(--stone); }
.radio-card:hover { border-color: var(--gold); }
.radio-card.selected { border-color: var(--gold); background: var(--gold-subtle); }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-sm); }
.checkbox-item {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border: 1.5px solid rgba(197,165,90,0.2);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-size: var(--text-sm);
}
.checkbox-item input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; }
.checkbox-item:hover { border-color: var(--gold); }
.advisor-nav-btns {
  display: flex; gap: var(--space-md); justify-content: space-between;
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(197,165,90,0.15);
}
.result-card {
  background: linear-gradient(145deg, var(--ivory), var(--linen));
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 20px,rgba(197,165,90,0.04) 20px,rgba(197,165,90,0.04) 21px),
    repeating-linear-gradient(-45deg,transparent,transparent 20px,rgba(197,165,90,0.04) 20px,rgba(197,165,90,0.04) 21px);
}
.result-royal-seal {
  width: 80px; height: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%; margin: 0 auto var(--space-xl);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  background: var(--white);
  font-family: var(--font-label); font-size: 28px; font-weight: 700; color: var(--gold);
}
.result-product-name {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
  position: relative; z-index: 1;
}
.result-formula-name {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: var(--space-xl);
  position: relative; z-index: 1;
}
.result-feeding-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg); margin-bottom: var(--space-xl);
  position: relative; z-index: 1;
}
.result-feeding-item {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}
.result-feeding-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.result-feeding-unit { font-size: 12px; color: var(--stone); }
.result-feeding-label { font-size: var(--text-sm); font-weight: 600; margin-top: 4px; color: var(--charcoal); }
.result-benefits { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-xl); position: relative; z-index: 1; }
.result-transition {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: left;
  position: relative; z-index: 1;
  margin-bottom: var(--space-xl);
}
.result-transition h4 { font-family: var(--font-display); font-size: 20px; margin-bottom: var(--space-md); }
.transition-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-sm); }
.transition-step {
  text-align: center;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--ivory);
}
.transition-step__day { font-size: 10px; color: var(--stone); font-weight: 600; letter-spacing: 0.1em; }
.transition-step__ratio {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; color: var(--gold);
  line-height: 1.2;
}
.transition-step__sub { font-size: 9px; color: var(--stone); margin-top: 2px; }
.result-disclaimer {
  font-size: 11px; color: var(--stone);
  border-top: 1px dashed rgba(197,165,90,0.3);
  padding-top: var(--space-md); margin-top: var(--space-xl);
  line-height: 1.6;
  position: relative; z-index: 1;
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg,transparent,transparent 30px,rgba(197,165,90,0.06) 30px,rgba(197,165,90,0.06) 31px),
    repeating-linear-gradient(-45deg,transparent,transparent 30px,rgba(197,165,90,0.06) 30px,rgba(197,165,90,0.06) 31px);
  pointer-events: none;
}
.page-hero__label {
  font-family: var(--font-label); font-size: 9px; letter-spacing: 0.3em;
  color: var(--gold); display: block; margin-bottom: var(--space-md); position: relative; z-index: 1;
}
.page-hero__title {
  font-family: var(--font-display); font-size: var(--text-h1);
  color: var(--white); margin-bottom: var(--space-md); position: relative; z-index: 1;
}
.page-hero__sub { color: rgba(255,255,255,0.6); font-size: var(--text-body-lg); max-width: 560px; margin: 0 auto; position: relative; z-index: 1; }

/* === ABOUT === */
.about-story { max-width: 760px; margin: 0 auto; }
.about-story p { font-family: var(--font-display); font-size: 20px; line-height: 1.8; color: var(--charcoal); margin-bottom: var(--space-xl); }
.about-story p:first-child::first-letter { font-size: 64px; font-weight: 700; color: var(--gold); float: left; line-height: 0.75; margin-right: 8px; margin-top: 12px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.value-card { text-align: center; padding: var(--space-xl); background: var(--white); border-radius: var(--radius-lg); border: 1px solid rgba(197,165,90,0.15); }
.value-icon { font-size: 36px; margin-bottom: var(--space-md); }
.value-name { font-family: var(--font-label); font-size: 10px; letter-spacing: 0.15em; color: var(--gold); margin-bottom: var(--space-sm); }
.value-title { font-family: var(--font-display); font-size: 20px; margin-bottom: var(--space-md); }
.value-body { font-size: var(--text-sm); color: var(--stone); line-height: 1.7; }
.cert-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-lg); }
.cert-badge {
  display: flex; align-items: center; gap: var(--space-md);
  background: var(--white); border: 1px solid rgba(197,165,90,0.2);
  border-radius: var(--radius-md); padding: var(--space-md) var(--space-xl);
  box-shadow: var(--shadow-sm);
}
.cert-icon { font-size: 28px; }
.cert-name { font-weight: 700; font-size: var(--text-sm); color: var(--charcoal); }
.cert-desc { font-size: 11px; color: var(--stone); }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--space-4xl); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: var(--space-xl); }
.contact-item { display: flex; gap: var(--space-lg); align-items: flex-start; }
.contact-icon { font-size: 24px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: var(--text-sm); font-weight: 700; color: var(--charcoal); }
.contact-value { font-size: var(--text-sm); color: var(--stone); }
.contact-form-card { background: var(--white); border: 1px solid rgba(197,165,90,0.2); border-radius: var(--radius-xl); padding: var(--space-3xl); box-shadow: var(--shadow-lg); }
.form-group textarea { resize: vertical; min-height: 140px; }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { color: var(--white); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-up { animation: fadeUp 0.6s ease both; }
.animate-up-delay-1 { animation-delay: 0.1s; }
.animate-up-delay-2 { animation-delay: 0.2s; }
.animate-up-delay-3 { animation-delay: 0.3s; }

/* === TOAST NOTIFICATION === */
.toast {
  position: fixed; bottom: 90px; right: var(--space-xl); z-index: 9999;
  background: var(--charcoal); color: var(--white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 500;
  box-shadow: var(--shadow-xl);
  border-left: 3px solid var(--gold);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateX(0); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .advisor-banner__inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .ingredients-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .result-feeding-grid { grid-template-columns: repeat(3, 1fr); }
  .transition-steps { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; --section-py: 60px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .trust-bar__inner { justify-content: center; gap: var(--space-xl); }
  .trust-divider { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .testimonials-track { flex-direction: column; }
  .testimonial-card { min-width: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .advisor-form-card { padding: var(--space-xl); }
  .form-row { grid-template-columns: 1fr; }
  .form-row--3 { grid-template-columns: 1fr; }
  .result-feeding-grid { grid-template-columns: 1fr 1fr 1fr; }
  .transition-steps { grid-template-columns: repeat(2, 1fr); }
  .cart-sidebar { width: 100%; right: -100%; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .result-feeding-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
}


/* ── Accessibility ───────────────────────────────────────────────────── */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--charcoal); color: #fff; padding: 12px 22px;
  border-radius: 0 0 8px 0; font-size: 14px; text-decoration: none; }
.skip-link:focus { left: 0; }
main:focus { outline: none; }
/* Visible keyboard focus (was relying on the UA default, which the resets hide) */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important; }
}


/* ── Mobile hardening ─────────────────────────────────────────────────────
   Systemic guards against horizontal page overflow on small screens. */
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }

/* Grid/flex children default to min-width:auto, so any wide descendant
   (a table, a long string) pushes the track past the viewport instead of
   letting the child scroll internally. min-width:0 restores shrinking. */
.product-detail > *, .contact-grid > *, .grid-2 > *, .pdp-hero > *,
.shop-layout > *, .footer__inner > * { min-width: 0; }

@media (max-width: 760px) {
  /* Wide data tables scroll inside their own box instead of stretching
     the page (the page itself must never scroll sideways). */
  .spec-table, .pdp-table, .legal table {
    display: block; width: 100%; overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .spec-table thead, .pdp-table thead { white-space: nowrap; }

  /* Long unbreakable strings (emails, URLs, codes) must wrap, not push. */
  .contact-value, .contact-item, .legal p, .legal li,
  .footer__link, .pdp-info__desc { overflow-wrap: anywhere; }

  /* Decorative badge hung outside its parent. */
  .product-detail-badge { right: 8px; }

  /* Dense numeric grids get too tight below ~760px. */
  .feeding-grid, .result-feeding-grid { grid-template-columns: repeat(2, 1fr); }

  /* Full-width CTAs on narrow screens rather than overflowing inline. */
  .btn--lg { width: 100%; justify-content: center; }

  /* The desktop nav actions (Sign In / Find My Formula / EN|AR) do not fit
     beside the burger on a phone — they are already in the mobile menu. */
  .nav__actions .btn, .nav__lang { display: none; }

  /* Paired prev/next actions must wrap rather than sit side by side. */
  .advisor-nav-btns { flex-wrap: wrap; }
  .advisor-nav-btns .btn { flex: 1 1 100%; }

  /* Tab strips scroll inside themselves; otherwise the row inflates the
     document width and every position:fixed element stretches with it. */
  .tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex: 0 0 auto; }
}

@media (max-width: 420px) {
  .feeding-grid, .result-feeding-grid { grid-template-columns: 1fr 1fr; }
}


/* ── Inline repeat() grids ────────────────────────────────────────────────
   ~22 elements across the site hard-code `grid-template-columns:repeat(N,1fr)`
   in a style attribute, so no stylesheet media query can collapse them and
   they push the page sideways on phones. An inline declaration can only be
   beaten by !important, hence the attribute selectors below. If those inline
   styles are ever moved into classes, delete this block. */
@media (max-width: 900px) {
[style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
[style*="repeat(5,1fr)"], [style*="repeat(5, 1fr)"],
[style*="repeat(6,1fr)"], [style*="repeat(6, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
[style*="repeat(2,1fr)"], [style*="repeat(2, 1fr)"],
[style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"],
[style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
[style*="repeat(5,1fr)"], [style*="repeat(5, 1fr)"],
[style*="repeat(6,1fr)"], [style*="repeat(6, 1fr)"] { grid-template-columns: 1fr !important; }
}


/* ── Mobile overflow guards ──────────────────────────────────────────────
   Tab strips and wide tables must scroll inside themselves rather than be
   clipped by their container (which made later tabs unreachable on phones). */
.tabs {
  overflow-x: auto;
  scrollbar-width: none;              /* Firefox */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.tabs::-webkit-scrollbar { display: none; }   /* Safari/Chrome */
.tab-btn {
  flex: 0 0 auto;                     /* stop buttons shrinking below content */
  white-space: nowrap;
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .tab-btn { padding-left: 16px; padding-right: 16px; }
}

/* Wide tables get their own horizontal scroller */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.table-scroll > table { min-width: 520px; }   /* keeps columns readable */
