/* ════════════════════════════════════════════════════
   NATURE FORCE — Design System
   Apple × biotech × premium longevity
   Per Brand Adaptation Brief
   ════════════════════════════════════════════════════ */

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

:root {
  /* Primary monochrome palette (90% of interface) */
  --color-white:        #FFFFFF;
  --color-ivory:        #F7F7F5;
  --color-graphite:     #1E1E1E;
  --color-silver:       #D7DADF;
  --color-titanium:     #A9AFB7;

  /* Functional aliases */
  --color-bg:           var(--color-white);
  --color-bg-soft:      var(--color-ivory);
  --color-bg-dark:      var(--color-graphite);
  --color-text:         var(--color-graphite);
  --color-text-body:    #5C626A;   /* body copy. 6.16:1 на білому — Інесса 11.08: описи були бліді */
  --color-text-muted:   #767D86;  /* labels, eyebrows, breadcrumb, верхня смуга.
                                     Було var(--color-titanium) #A9AFB7 = 2.21:1 — не проходило
                                     навіть AA-large. Тепер 4.16:1. Інесса 11.08: «дуже бліде» */
  --color-text-on-dark: #F7F7F5;
  --color-text-on-dark-muted: rgba(247,247,245,0.55);
  --color-border:       var(--color-silver);
  --color-border-dark:  rgba(247,247,245,0.12);
  --color-line:         rgba(30,30,30,0.08);

  /* SKU accent colors (10% — subtle, never dominant) */
  --accent-morning:     #D7B56D;
  --accent-day:         #8FAFC8;
  --accent-evening:     #7E789A;
  --accent-immunity:    #C8B86A;
  --accent-kids:        #A9C0A3;
  --accent-default:     #D7B56D;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing — generous, 80/20 rule */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2.5rem;
  --space-lg:  5rem;
  --space-xl:  8rem;
  --space-xxl: 12rem;

  /* Layout */
  --max-width: 1320px;
  --gutter:    clamp(24px, 6vw, 80px);
  --section-y: clamp(80px, 12vw, 160px);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.45s var(--ease);
}

/* ════════════════════════════════════════════════════
   RESET + BASE
   ════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.6; }

/* ════════════════════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: inherit;
}

.h-display {
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 300;
}

h1, .h1 { font-size: clamp(44px, 6.5vw, 88px); font-weight: 300; }
h2, .h2 { font-size: clamp(34px, 4.5vw, 64px); font-weight: 300; }
h3, .h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; }
h4, .h4 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
}

.eyebrow-on-dark { color: rgba(247,247,245,0.6); }

.lead {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--color-text);
  font-weight: 300;
  letter-spacing: -0.005em;
}

.lead-muted { color: var(--color-text-body); }
.lead-on-dark { color: var(--color-text-on-dark-muted); }

p { margin-bottom: 1em; font-weight: 400; }
p:last-child { margin-bottom: 0; }

.italic { font-style: italic; }
.serif  { font-family: var(--font-serif); }

/* ════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide { width: 100%; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }

section { padding-block: var(--section-y); position: relative; z-index: 2; }

.section-white  { background: var(--color-white); }
.section-ivory  { background: var(--color-ivory); }
.section-dark   { background: var(--color-graphite); color: var(--color-text-on-dark); }

/* Sections after .hero need solid backgrounds — they slide OVER the pinned hero image */
.hero ~ section,
.hero ~ .newsletter,
.hero ~ .site-footer,
.site-footer { position: relative; z-index: 2; }

/* ════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 20px 36px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  max-width: 100%;
}

.btn:hover { opacity: 1; }

/* На мобільному довгі кнопки переносяться, а не вилазять за екран */
@media (max-width: 800px) {
  .btn { white-space: normal; text-align: center; }
}

.btn-primary {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}
.btn-primary:hover {
  background: var(--color-white);
  color: var(--color-graphite);
}

.btn-outline {
  background: transparent;
  color: var(--color-graphite);
  border: 1px solid var(--color-graphite);
}
.btn-outline:hover {
  background: var(--color-graphite);
  color: var(--color-white);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-graphite);
  border-color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border: none;
  padding: 14px 0;
  border-bottom: 1px solid currentColor;
}

/* ════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ════════════════════════════════════════════════════ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  color: var(--color-graphite);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-top {
  background: transparent;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 9px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0;
}

.site-logo img {
  height: 38px;
  width: auto;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--color-graphite);
  padding-block: 8px;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-graphite);
  transition: width var(--transition);
}

.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }

/* ── Випадаюче меню (структура Cymbiotika) ── */
.site-nav .has-dropdown { position: relative; }
.site-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: block;
  flex-direction: column;
  gap: 0;
  padding: 10px 0;
  margin-top: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  box-shadow: 0 12px 32px rgba(30,30,30,0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 60;
  text-transform: none;
  letter-spacing: 0.02em;
}
.site-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* місток, щоб курсор не «провалювався» між пунктом і меню */
.site-nav .has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
.site-nav .dropdown li { display: block; }
.site-nav .dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-body);
}
.site-nav .dropdown a::after { display: none; }
.site-nav .dropdown a:hover {
  background: var(--color-ivory);
  color: var(--color-graphite);
}

.nav-cta {
  font-size: 11px !important;
  font-weight: 500;
  letter-spacing: 0.18em;
  padding: 12px 22px !important;
  border: 1px solid var(--color-graphite);
  color: var(--color-graphite) !important;
}

.nav-cta:hover {
  background: var(--color-graphite);
  color: var(--color-white) !important;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}

/* Header e-commerce icons */
.header-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--color-graphite);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition);
  padding: 0;
}

.header-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-icon:hover { opacity: 0.5; }

.header-icon-count {
  font-size: 11px;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
  vertical-align: middle;
}

.header-icon-pair {
  display: inline-flex;
  align-items: center;
}

.header-icon-pair .header-icon { width: auto; padding-right: 2px; }

/* Header icons — graceful degradation */
@media (max-width: 1180px) {
  .header-icon.icon-wishlist,
  .header-icon.icon-user { display: none; }
  .header-icons { gap: 14px; }
}

@media (max-width: 1024px) {
  /* Tablet/mobile: keep only cart + CTA, hide search and partner-CTA text */
  .header-icon.icon-search { display: none; }
  .nav-cta { display: none; }
  .header-icons { gap: 10px; }
}

@media (max-width: 600px) {
  /* Very small phones: only cart icon */
  .header-icons { gap: 8px; }
  .header-icon { width: 30px; height: 30px; }
  .header-icon svg { width: 18px; height: 18px; }
}

/* Floating cart pill — bottom right */
.floating-cart {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--color-graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 12px 32px rgba(30,30,30,0.18);
  z-index: 80;
  transition: all 0.35s var(--ease);
  cursor: pointer;
  text-decoration: none;
}

.floating-cart:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30,30,30,0.24);
  opacity: 1;
}

.floating-cart svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--accent-morning);
  color: var(--color-graphite);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-white);
  letter-spacing: 0;
  padding: 0 5px;
}

@media (max-width: 600px) {
  .floating-cart {
    width: 56px; height: 56px;
    bottom: 20px; right: 20px;
  }
  .floating-cart svg { width: 22px; height: 22px; }
}

/* ════════════════════════════════════════════════════
   E-COMMERCE — wishlist heart, cart button, toast, qty
   ════════════════════════════════════════════════════ */

/* Badge on header icons */
.header-icon { position: relative; }
.icon-badge {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--color-graphite);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 600;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  letter-spacing: 0;
}

/* Wishlist heart on product cards */
.product-card { position: relative; }
.wishlist-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  padding: 0;
}
.wishlist-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-graphite);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.3s ease, transform 0.25s ease;
}
.wishlist-toggle.active svg {
  fill: var(--color-graphite);
}
.wishlist-toggle:hover { transform: scale(1.08); }
.wishlist-toggle.pulse svg { animation: heartPulse 0.45s var(--ease); }
@keyframes heartPulse {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* Small "Add to cart" icon button in card footer */
.card-cart-btn {
  background: transparent;
  border: 1px solid var(--color-graphite);
  color: var(--color-graphite);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}
.card-cart-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-cart-btn:hover {
  background: var(--color-graphite);
  color: var(--color-white);
}

/* ── TOAST ──────────────────────────────────────── */
.toast {
  position: fixed;
  top: 110px;
  right: 24px;
  background: var(--color-graphite);
  color: var(--color-white);
  padding: 14px 22px 14px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 200;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
  transform: translateX(140%);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
  min-width: 280px;
  max-width: 380px;
  border-radius: 2px;
}
.toast-show { transform: translateX(0); opacity: 1; }
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-morning);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 18px; height: 18px;
  stroke: var(--color-graphite);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toast-message {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.4;
  letter-spacing: 0.005em;
}
@media (max-width: 600px) {
  .toast {
    top: auto;
    bottom: 100px;
    right: 16px;
    left: 16px;
    min-width: auto;
    max-width: none;
  }
}

/* ── QTY CONTROLS (product detail + cart) ───────── */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  background: var(--color-white);
}
.qty-btn {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--color-graphite);
  cursor: pointer;
  transition: opacity var(--transition);
  padding: 0;
}
.qty-btn:hover { opacity: 0.55; }
.qty-value, .detail-qty-value {
  min-width: 36px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-graphite);
}

/* ── PRODUCT DETAIL — wishlist heart inline ─────── */
.product-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.product-hero-wishlist {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.product-hero-wishlist svg {
  width: 22px; height: 22px;
  stroke: var(--color-graphite);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-hero-wishlist.active svg { fill: var(--color-graphite); }
.product-hero-wishlist:hover { transform: scale(1.05); }

/* ── CART PAGE ──────────────────────────────────── */
.cart-page-header {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
}
.cart-page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.9;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; }
}

.cart-items {
  display: flex;
  flex-direction: column;
}

.cart-row {
  display: grid;
  grid-template-columns: 32px 80px 1fr 90px 100px 90px;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
  position: relative;
}
.cart-row-remove {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--color-line);
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
  line-height: 1;
}
.cart-row-remove:hover {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}
.cart-row-image {
  width: 80px;
  height: 80px;
  background: var(--color-ivory);
  overflow: hidden;
}
.cart-row-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.cart-row-info { min-width: 0; }
.cart-row-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.cart-row-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}
.cart-row-price-mobile { display: none; }
.cart-row-price,
.cart-row-total {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  text-align: right;
}
.cart-row-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-line);
  background: var(--color-white);
  justify-self: center;
}
.cart-row-qty .qty-btn { width: 32px; height: 32px; font-size: 16px; }
.cart-row-qty .qty-value { min-width: 28px; font-size: 15px; }

@media (max-width: 720px) {
  .cart-row {
    grid-template-columns: 32px 80px 1fr;
    grid-template-rows: auto auto;
    gap: 14px 14px;
  }
  .cart-row-price { display: none; }
  .cart-row-price-mobile { display: block; font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
  .cart-row-qty { grid-column: 2 / 3; justify-self: start; margin-top: 8px; }
  .cart-row-total { grid-column: 3 / 4; align-self: end; }
}

.cart-empty {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.cart-empty p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.cart-coupon {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 18px;
  border: 1px dashed var(--color-line);
}
.cart-coupon input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-graphite);
  padding: 6px 0;
}
.cart-coupon input:focus { outline: none; }
.cart-coupon button {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-graphite);
  cursor: pointer;
}

/* Cart summary box */
.cart-summary {
  background: var(--color-ivory);
  padding: clamp(28px, 3vw, 44px);
  position: sticky;
  top: 100px;
}
.cart-summary h2 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}
.cart-summary-row > span:first-child {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cart-summary-row > span:last-child {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-graphite);
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
}
.cart-summary-total > span:first-child {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cart-summary-total > span:last-child {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 36px);
  color: var(--color-graphite);
  font-weight: 400;
}
.cart-summary .btn { width: 100%; margin-top: 8px; }
.cart-summary-continue {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.cart-summary-continue a { text-decoration: underline; }

/* ── WISHLIST PAGE ─────────────────────────────── */
.wishlist-empty {
  text-align: center;
  padding: clamp(60px, 8vw, 120px) 0;
}
.wishlist-empty p {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 26px);
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-graphite);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .header-main { padding-block: 16px; }
}

/* ════════════════════════════════════════════════════
   HERO — text directly on full-bleed image (Apple × biotech)
   ════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: transparent;
  color: var(--color-graphite);
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* PINNED hero image — locked to viewport, content scrolls over it */
.hero-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* Soft fade-out gradient on the left so text remains readable */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(237,233,226,0.92) 0%,
    rgba(237,233,226,0.7) 25%,
    rgba(237,233,226,0.3) 50%,
    rgba(237,233,226,0) 75%
  );
  pointer-events: none;
}

/* Grid wraps content, overlays image */
.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero-content {
  max-width: 560px;
  padding: clamp(80px, 12vw, 160px) 0;
}

.hero-content > * + * { margin-top: 28px; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--color-graphite);
}

.hero-title .accent {
  font-style: italic;
  color: var(--color-titanium);
}

.hero-subtitle {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--color-graphite);
  opacity: 0.78;
  max-width: 460px;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px !important;
}

/* Mobile: image becomes top banner, text stacks below */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    background: #EDE9E2;
  }
  .hero-image {
    position: relative;
    top: auto;
    left: auto;
    height: 55vh;
    min-height: 380px;
    width: 100%;
  }
  .hero-image::after {
    background: linear-gradient(
      180deg,
      transparent 60%,
      rgba(237,233,226,0.85) 100%
    );
  }
  .hero-image img { object-position: center; }
  .hero-grid { padding-inline: 0; }
  .hero-content {
    background: #EDE9E2;
    padding: clamp(40px, 8vw, 80px) clamp(24px, 6vw, 48px);
    max-width: none;
  }
}

/* ════════════════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════════════════ */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.section-header > * + * { margin-top: 20px; }

.section-header-left {
  text-align: left;
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.section-header-left > * + * { margin-top: 20px; }

/* ════════════════════════════════════════════════════
   BENEFITS GRID (Why partner, principles)
   ════════════════════════════════════════════════════ */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(32px, 4vw, 64px);
}

.benefit {
  padding: 40px 0 0 0;
  border-top: 1px solid var(--color-line);
}

.section-dark .benefit { border-top-color: var(--color-border-dark); }

.benefit-num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  display: block;
  text-transform: uppercase;
}

.benefit-title {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.15;
}

.benefit-desc {
  font-size: 14.5px;
  color: var(--color-text-body);
  line-height: 1.6;
  font-weight: 300;
}

.section-dark .benefit-desc { color: var(--color-text-on-dark-muted); }

/* ════════════════════════════════════════════════════
   PRODUCT CARDS — premium minimal
   ════════════════════════════════════════════════════ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 4vw, 48px);
}

.products-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 48px);
}

@media (max-width: 900px) { .products-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products-grid-3 { grid-template-columns: 1fr; } }

.product-card {
  background: var(--color-white);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.section-dark .product-card {
  background: transparent;
  color: var(--color-text-on-dark);
}

.section-ivory .product-card { background: var(--color-white); }

.product-card:hover { opacity: 1; }

.product-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-ivory);
}

.section-dark .product-card-image { background: rgba(255,255,255,0.04); }

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.product-card:hover .product-card-image img {
  transform: scale(1.03);
}

.product-card-body {
  padding: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card-category {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 400;
  margin: 8px 0 12px;
}

.product-card-claim {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.55;
  margin-bottom: 24px;
  flex: 1;
  font-weight: 300;
}

.section-dark .product-card-claim { color: var(--color-text-on-dark-muted); }

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}

.section-dark .product-card-footer { border-top-color: var(--color-border-dark); }

.product-card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
}

.product-card-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* SKU accent lines (subtle, on product cards) */
.product-card[data-category="morning"]   .product-card-footer { border-top-color: var(--accent-morning); }
.product-card[data-category="day"]       .product-card-footer { border-top-color: var(--accent-day); }
.product-card[data-category="evening"]   .product-card-footer { border-top-color: var(--accent-evening); }
.product-card[data-category="immunity"]  .product-card-footer { border-top-color: var(--accent-immunity); }
.product-card[data-category="kids"]      .product-card-footer { border-top-color: var(--accent-kids); }

/* ════════════════════════════════════════════════════
   DAILY SYSTEM — clean architecture
   ════════════════════════════════════════════════════ */

.daily-system {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--color-line);
  border-left: 1px solid var(--color-line);
}

.section-dark .daily-system {
  border-color: var(--color-border-dark);
}

.system-item {
  padding: clamp(40px, 5vw, 64px) clamp(28px, 3vw, 48px);
  border-right: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  transition: background var(--transition);
  position: relative;
}

.section-dark .system-item {
  border-right-color: var(--color-border-dark);
  border-bottom-color: var(--color-border-dark);
}

.system-item:hover { background: var(--color-ivory); }
.section-dark .system-item:hover { background: rgba(255,255,255,0.02); }

.system-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  display: block;
}

.system-time {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  display: block;
}

.system-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 400;
}

.system-list {
  list-style: none;
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.85;
  font-weight: 300;
}

/* SKU-coloured top accent on system items */
.system-item[data-category="morning"]::before  { background: var(--accent-morning); }
.system-item[data-category="day"]::before      { background: var(--accent-day); }
.system-item[data-category="evening"]::before  { background: var(--accent-evening); }
.system-item[data-category="kids"]::before     { background: var(--accent-kids); }

.system-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
}

@media (max-width: 900px) { .daily-system { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .daily-system { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   STATS — clean scientific
   ════════════════════════════════════════════════════ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(40px, 5vw, 80px);
  text-align: left;
  padding-block: clamp(60px, 8vw, 100px);
  border-block: 1px solid var(--color-line);
}

.section-dark .stats { border-color: var(--color-border-dark); }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: var(--color-graphite);
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.section-dark .stat-num { color: var(--color-text-on-dark); }

.stat-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════
   SPLIT (image + content)
   ════════════════════════════════════════════════════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}

/* min-width:0 — щоб 1fr-колонки могли стискатись нижче min-content
   (інакше фото/текст розпирають колонку й обрізаються на мобільному) */
.split-image, .split-content { min-width: 0; }

.split-reverse .split-image { order: 2; }

.split-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-ivory);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Feature-split: фото збільшене й вертикальне (4:5), щоб за висотою
   гармоніювало з текстовим блоком праворуч. Кадрування — на носик + струмінь. */
.split--feature {
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: stretch;
}
.split-image--feature {
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(30, 30, 30, 0.16);
  /* align-items: stretch розтягує блок по висоті сусідньої колонки,
     а aspect-ratio перераховує з цієї висоти ширину — на довгих текстах
     зображення вилазило за свою колонку й наїжджало на текст. */
  width: 100%;
  max-width: 100%;
  align-self: start;
}
.split-image--feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
}
@media (max-width: 800px) {
  .split--feature { grid-template-columns: 1fr; }
  .split-image--feature { aspect-ratio: 4 / 3; }
}

.split-content > * + * { margin-top: 24px; }
.split-content .lead { margin-top: 28px; }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-image { order: 0; }
}

/* ════════════════════════════════════════════════════
   PARTNER SEGMENTS
   ════════════════════════════════════════════════════ */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-line);
}

.section-dark .segments-grid { background: var(--color-border-dark); }

.segment {
  background: var(--color-white);
  padding: clamp(40px, 4vw, 64px) clamp(28px, 3vw, 48px);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.section-dark .segment { background: var(--color-graphite); }

.segment:hover { background: var(--color-ivory); }
.section-dark .segment:hover { background: rgba(255,255,255,0.02); }

.segment-num {
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.segment-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  font-weight: 400;
}

.segment-desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
  font-weight: 300;
}

.section-dark .segment-desc { color: var(--color-text-on-dark-muted); }

.segment-link {
  margin-top: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 900px) { .segments-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .segments-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   APPLY / FORM
   ════════════════════════════════════════════════════ */

.apply-section {
  text-align: center;
  padding-block: clamp(80px, 12vw, 160px);
}

.apply-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 28px;
}

.field { display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.section-dark .field label { color: var(--color-text-on-dark-muted); }

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  transition: border-color var(--transition);
}

.section-dark .field input,
.section-dark .field textarea,
.section-dark .field select {
  color: var(--color-text-on-dark);
  border-bottom-color: var(--color-border-dark);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--color-graphite);
}

.section-dark .field input:focus,
.section-dark .field textarea:focus,
.section-dark .field select:focus {
  border-bottom-color: var(--color-text-on-dark);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   NEWSLETTER
   ════════════════════════════════════════════════════ */

.newsletter {
  background: var(--color-ivory);
  border-top: 1px solid var(--color-line);
  padding-block: clamp(40px, 5vw, 64px);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.newsletter-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-graphite);
  letter-spacing: -0.01em;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
}

.newsletter-form input[type="email"] {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-graphite);
  font-weight: 400;
  transition: border-color var(--transition);
  width: 100%;
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-graphite);
}

.newsletter-form button {
  background: var(--color-graphite);
  color: var(--color-white);
  border: 1px solid var(--color-graphite);
  padding: 18px 36px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--color-white);
  color: var(--color-graphite);
}

@media (max-width: 800px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .newsletter-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════ */

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: flex-start;
}

.testimonials-intro > * + * { margin-top: 24px; }

.testimonials-intro .eyebrow { margin-bottom: 24px; display: block; }

.testimonials-quote {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
}

.testimonials-intro .divider-line {
  width: 56px;
  height: 1px;
  background: var(--accent-morning);
  margin-top: 40px;
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--accent-morning);
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-body);
  font-weight: 300;
  max-width: 540px;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.testimonial-divider {
  width: 56px;
  height: 1px;
  background: var(--accent-morning);
  margin-top: 16px;
}

@media (max-width: 900px) {
  .testimonials { grid-template-columns: 1fr; gap: 56px; }
}

/* ════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════ */

.site-footer {
  background: var(--color-ivory);
  color: var(--color-text);
  padding-top: clamp(60px, 8vw, 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--color-line);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.footer-col a { color: var(--color-text); font-weight: 300; }

.footer-brand {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-graphite);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

.footer-tagline {
  font-size: 14px;
  max-width: 320px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--color-text-body);
}

/* Контакти продавця у футері — видимі на кожній сторінці.
   Потрібні і покупцю, і при ручній перевірці платіжною системою. */
.footer-contacts {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}
.footer-contacts a {
  color: var(--color-text-body);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-contacts a:hover { color: var(--color-text-on-dark); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-block: 32px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--color-text-muted);
  transition: color var(--transition);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.footer-legal a:hover { color: var(--color-graphite); opacity: 1; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.footer-social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-graphite);
  transition: all var(--transition);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:hover {
  opacity: 0.5;
}

@media (max-width: 700px) {
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-social { width: 100%; flex-wrap: wrap; }
}

/* Language switcher (footer) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lang-switch a {
  color: var(--color-text-muted);
  padding: 6px 10px;
  transition: color var(--transition);
}

.lang-switch a:hover { opacity: 1; color: var(--color-graphite); }
.lang-switch a.active { color: var(--color-graphite); }

.lang-switch .lang-sep {
  color: var(--color-text-muted);
  opacity: 0.5;
}

@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ════════════════════════════════════════════════════
   PRODUCT DETAIL
   ════════════════════════════════════════════════════ */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  padding-top: clamp(40px, 6vw, 80px);
}

.product-hero-image {
  aspect-ratio: 3 / 4;
  background: var(--color-ivory);
  overflow: hidden;
}

/* ─── PDP-галерея: слайдер фото (каталожне + імиджеві) ─── */
.product-gallery { position: relative; }
.product-gallery .pgallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease);
}
.product-gallery .pgallery-slide.is-active { opacity: 1; visibility: visible; }
.pgallery-prev, .pgallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--color-graphite);
}
.pgallery-prev { left: 12px; }
.pgallery-next { right: 12px; }
.pgallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.pgallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.4);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}
.pgallery-dot.is-active { background: var(--color-graphite); border-color: var(--color-graphite); }

.product-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.product-hero-content > * + * { margin-top: 24px; }

.product-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.product-hero-price {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin-top: 20px;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.benefits-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--color-text-body);
  line-height: 1.6;
  font-weight: 300;
}

.benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 1px;
  background: var(--color-graphite);
}

@media (max-width: 800px) { .product-hero { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   ACCORDION
   ════════════════════════════════════════════════════ */

.accordion { border-top: 1px solid var(--color-line); }
.accordion-item { border-bottom: 1px solid var(--color-line); }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.6vw, 26px);
  text-align: left;
  color: inherit;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.accordion-trigger::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}

.accordion-item.open .accordion-trigger::after { content: '−'; }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.accordion-item.open .accordion-content {
  max-height: 2000px;
  padding-bottom: 32px;
}

.accordion-content p,
.accordion-content ul {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  font-weight: 300;
}

.accordion-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-content li::before {
  content: '— ';
  color: var(--color-text-muted);
}

/* ════════════════════════════════════════════════════
   PAGE BANNER (inner pages)
   ════════════════════════════════════════════════════ */

.page-banner {
  background: var(--color-ivory);
  color: var(--color-graphite);
  padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 120px);
  text-align: center;
}

.page-banner > .container > * + * { margin-top: 20px; }
.page-banner .lead { margin-top: 28px; color: var(--color-text-body); max-width: 640px; margin-inline: auto; }

.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.breadcrumb a:hover { color: var(--color-graphite); }

/* ════════════════════════════════════════════════════
   QUOTE / MANIFESTO
   ════════════════════════════════════════════════════ */

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.25;
  font-weight: 300;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.01em;
}

.quote-attribution {
  text-align: center;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════
   UTILITIES
   ════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Thin scientific divider */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-line);
  margin-block: var(--space-md);
}

/* ════════════════════════════════════════════════════
   ACCOUNT — Customer dashboard
   ════════════════════════════════════════════════════ */

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Sidebar ── */
.account-sidebar {
  position: sticky;
  top: 100px;
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 28px 24px;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}

.account-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-graphite);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  flex-shrink: 0;
}

.account-user-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-graphite);
  line-height: 1.3;
}

.account-user-email {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 2px;
  word-break: break-all;
}

.account-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 3px;
  font-size: 14px;
  color: var(--color-text-body);
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.account-nav a svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.account-nav a:hover {
  background: var(--color-white);
  color: var(--color-graphite);
  opacity: 1;
}

.account-nav a.is-active {
  background: var(--color-white);
  color: var(--color-graphite);
  font-weight: 500;
}

.account-badge {
  margin-left: auto;
  background: var(--color-graphite);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

.account-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 24px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.account-logout svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-logout:hover {
  border-color: var(--color-graphite);
  color: var(--color-graphite);
  background: var(--color-white);
}

/* ── Main content ── */
.account-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Stats grid */
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.account-stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 24px 22px;
  transition: border-color var(--transition);
}

.account-stat-card:hover {
  border-color: var(--color-graphite);
}

.account-stat-card--accent {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}

.account-stat-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.account-stat-card--accent .account-stat-label { color: rgba(255,255,255,0.6); }

.account-stat-value {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
  margin-bottom: 8px;
}

.account-stat-card--accent .account-stat-value { color: var(--color-white); }

.account-stat-meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

.account-stat-card--accent .account-stat-meta { color: rgba(255,255,255,0.55); }

.account-stat-meta a { color: var(--color-graphite); border-bottom: 1px solid currentColor; }

/* Cards */
.account-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 32px;
}

.account-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}

.account-card-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--color-graphite);
  margin: 0;
}

.account-edit-btn {
  background: transparent;
  border: 1px solid var(--color-line);
  padding: 8px 16px;
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-graphite);
  cursor: pointer;
  transition: all var(--transition);
}

.account-edit-btn:hover {
  background: var(--color-graphite);
  color: var(--color-white);
  border-color: var(--color-graphite);
}

.account-link {
  font-size: 13px;
  color: var(--color-text-muted);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.account-link:hover { color: var(--color-graphite); opacity: 1; }

/* Profile info grid */
.account-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  margin: 0;
}

.account-info-grid > div { margin: 0; }

.account-info-grid dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.account-info-grid dd {
  font-size: 15px;
  color: var(--color-graphite);
  margin: 0;
}

/* Orders */
.account-orders {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-order {
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
  transition: border-color var(--transition);
}

.account-order:hover { border-color: var(--color-graphite); }

.account-order-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 24px;
}

.account-order-id {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-graphite);
  letter-spacing: 0.02em;
}

.account-order-meta {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.account-order-status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid;
}

.account-order-status--done {
  color: #2D6A4F;
  border-color: #B7E4C7;
  background: #F1FAEE;
}

.account-order-status--shipping {
  color: #844B00;
  border-color: #FFE0B5;
  background: #FFF7E6;
}

.account-order-total {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-graphite);
  min-width: 100px;
  text-align: right;
}

.account-order-action {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-graphite);
  border-bottom: 1px solid var(--color-graphite);
  padding-bottom: 2px;
}

.account-order-items {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--color-line);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Addresses */
.account-addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.account-address {
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: 3px;
}

.account-address-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: 12px;
}

.account-address-default {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--color-text-muted);
  background: var(--color-ivory);
  padding: 3px 8px;
  border-radius: 10px;
}

.account-address-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* Bonuses */
.account-bonus-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

.account-bonus-num {
  font-family: var(--font-serif);
  font-size: 88px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-graphite);
}

.account-bonus-meta p {
  font-size: 14px;
  color: var(--color-text-body);
  margin: 0;
}

.account-bonus-bar {
  width: 100%;
  height: 6px;
  background: var(--color-ivory);
  border-radius: 3px;
  margin: 14px 0;
  overflow: hidden;
}

.account-bonus-bar-fill {
  height: 100%;
  background: var(--color-graphite);
  border-radius: 3px;
}

.account-bonus-hint {
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
  margin-top: 8px !important;
}

/* Header icon active state */
.header-icon.is-active { color: var(--color-graphite); opacity: 1; }
.header-icon.is-active svg { stroke-width: 2.2; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .account-stats { grid-template-columns: repeat(2, 1fr); }
  .account-bonus-block { grid-template-columns: 1fr; gap: 20px; }
  .account-bonus-num { font-size: 64px; }
}

@media (max-width: 900px) {
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
  .account-sidebar { position: static; }
  .account-info-grid { grid-template-columns: 1fr; gap: 18px; }
  .account-addresses { grid-template-columns: 1fr; }
  .account-card { padding: 22px; }
  .account-order-row { grid-template-columns: 1fr; gap: 12px; align-items: flex-start; }
  .account-order-total { text-align: left; min-width: 0; }
}

/* ════════════════════════════════════════════════════
   DAILY SYSTEM V2 — alternating image/text blocks (Inessa feedback)
   ════════════════════════════════════════════════════ */

.daily-system-v2 {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 8vw, 120px);
  margin-top: 80px;
}

.day-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.day-block--reverse .day-block-text { order: 2; }
.day-block--reverse .day-block-image { order: 1; }

.day-block-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 480px;
}

.day-block-num {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.day-block-eyebrow {
  margin: 0;
}

.day-block-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-graphite);
  margin: 0;
}

.day-block-caption {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-graphite);
  opacity: 0.85;
  margin: 0;
  max-width: 380px;
}

.day-block-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
}

.day-block-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-graphite);
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  margin-right: 8px;
  background: var(--color-white);
}

.day-block-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-graphite);
  border-bottom: 1px solid var(--color-graphite);
  padding-bottom: 4px;
  margin-top: 16px;
  align-self: flex-start;
  transition: opacity var(--transition);
}

.day-block-link:hover { opacity: 0.6; }

.day-block-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
}

.day-block-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.day-block:hover .day-block-image img { transform: scale(1.04); }

/* H2 accent (italic titanium-like) for philosophy h2 */
.h2-accent {
  font-style: italic;
  color: var(--color-titanium);
  font-weight: 300;
}

/* Hero rhythm line — smaller italic accent under main subtitle */
.hero-subtitle-rhythm {
  display: inline-block;
  margin-top: 6px;
  font-style: italic;
  font-size: 0.92em;
  opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .day-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .day-block--reverse .day-block-text { order: 2; }
  .day-block--reverse .day-block-image { order: 1; }
  .day-block,
  .day-block--reverse {
    /* Always image on top, text below for mobile */
  }
  .day-block .day-block-image { order: 1; }
  .day-block .day-block-text { order: 2; }
  .day-block-title { font-size: clamp(32px, 8vw, 42px); }
}

/* ════════════════════════════════════════════════════
   SECTION ORIGIN — full-bleed image with text overlay
   (Inessa: "чотири країни. одна європейська система")
   ════════════════════════════════════════════════════ */

.section-origin {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: #0a0a0a;
}

.section-origin-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.section-origin-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark gradient overlay: lab visible right, text readable left */
.section-origin-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 10, 0.92) 0%,
      rgba(8, 8, 10, 0.78) 30%,
      rgba(8, 8, 10, 0.40) 55%,
      rgba(8, 8, 10, 0.10) 80%,
      rgba(8, 8, 10, 0) 100%
    );
  pointer-events: none;
}

.section-origin-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(80px, 12vw, 160px);
}

.section-origin-content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-origin-content .h2 {
  color: var(--color-white);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-origin-content .lead-on-dark {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Mobile — image becomes top banner, text full-width below */
@media (max-width: 900px) {
  .section-origin {
    flex-direction: column;
    min-height: auto;
  }
  .section-origin-bg {
    position: relative;
    height: 50vh;
    min-height: 320px;
  }
  .section-origin-bg::after {
    background: linear-gradient(
      180deg,
      transparent 50%,
      rgba(8, 8, 10, 0.7) 100%
    );
  }
  .section-origin-inner {
    background: #0a0a0a;
    padding-block: clamp(48px, 10vw, 80px);
    padding-inline: clamp(24px, 6vw, 48px);
  }
  .section-origin-content { max-width: 100%; }
}

/* Wider variant for science block (more text content) */
.section-origin-content--wide { max-width: 640px; }

/* Benefits list on dark full-bleed origin section */
.section-origin-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-origin-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.section-origin-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* ════════════════════════════════════════════════════
   HERO — RIGHT VARIANT (partners.html)
   Image subject is on LEFT, text shifted to RIGHT
   ════════════════════════════════════════════════════ */

.hero--right .hero-image img {
  object-position: 20% center;   /* shelf stays visible on left */
}

/* Flip the gradient: dark on RIGHT, transparent on LEFT */
.hero--right .hero-image::after {
  background: linear-gradient(
    270deg,
    rgba(20, 20, 22, 0.92) 0%,
    rgba(20, 20, 22, 0.78) 30%,
    rgba(20, 20, 22, 0.40) 55%,
    rgba(20, 20, 22, 0.10) 80%,
    rgba(20, 20, 22, 0) 100%
  );
}

/* Push content to the right */
.hero--right .hero-content {
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  max-width: 520px;
}

/* Switch text colors for dark background (this hero overlay is dark) */
.hero--right .hero-title,
.hero--right .hero-subtitle {
  color: var(--color-white);
}

.hero--right .hero-title .accent {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

.hero--right .hero-subtitle {
  color: rgba(255, 255, 255, 0.78);
  opacity: 1;
}

.hero--right .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

/* Outline button needs to be visible on dark */
.hero--right .btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}
.hero--right .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-graphite);
}

/* Mobile — image becomes top banner, text below on solid dark */
@media (max-width: 900px) {
  .hero--right .hero-image::after {
    background: linear-gradient(
      180deg,
      transparent 50%,
      rgba(20, 20, 22, 0.85) 100%
    );
  }
  .hero--right .hero-content {
    background: #141416;
    margin-left: 0;
    max-width: none;
  }
  .hero--right .hero-title,
  .hero--right .hero-subtitle { color: var(--color-white); }
}

/* ════════════════════════════════════════════════════
   HERO YACHT — ЖИВИ НА ПОВНУ (Round 2 — Inessa's vision)
   Image: full-bleed yacht photo, text overlay on top
   ════════════════════════════════════════════════════ */

.hero--yacht .hero-image::after {
  background: linear-gradient(
    180deg,
    rgba(0, 20, 35, 0.20) 0%,
    rgba(0, 20, 35, 0.10) 40%,
    rgba(0, 20, 35, 0.55) 100%
  );
}

/* ── Ken Burns: subtle cinematic breathing of the yacht image ── */
@keyframes hero-yacht-ken-burns {
  0%   { transform: scale(1.02) translate3d(0%, 0%, 0); }
  25%  { transform: scale(1.07) translate3d(-1%, -0.5%, 0); }
  50%  { transform: scale(1.10) translate3d(-1.5%, -1%, 0); }
  75%  { transform: scale(1.06) translate3d(-0.5%, 0%, 0); }
  100% { transform: scale(1.02) translate3d(0%, 0%, 0); }
}

.hero--yacht .hero-image img {
  animation: hero-yacht-ken-burns 40s ease-in-out infinite;
  will-change: transform;
  transform-origin: center 40%;
}

/* Respect users who turn off motion */
@media (prefers-reduced-motion: reduce) {
  .hero--yacht .hero-image img {
    animation: none;
    transform: scale(1.02);
  }
}

.hero--yacht .hero-content {
  max-width: 720px;
}

.hero-title--yacht {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.5vw, 120px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--color-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  margin-bottom: 32px;
}

.hero-title--yacht .hero-line {
  display: block;
  white-space: nowrap;
}

.hero-subtitle--yacht {
  color: var(--color-white);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
  max-width: 540px;
}

.hero-subtitle--yacht .hero-subtitle-rhythm {
  display: inline-block;
  margin-top: 8px;
  font-style: italic;
  font-size: 0.88em;
  opacity: 0.78;
}

/* Slogan ЕНЕРГІЯ · ФОКУС · ВІДНОВЛЕННЯ (round3, Inessa) */
.hero-slogan--yacht {
  margin-top: -12px;
  margin-bottom: 28px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* round3: контраст hero на мобільному — світлий фон, тому текст робимо темним
   (фікс "очень бледно": білий текст на кремовому фоні не читався) */
@media (max-width: 900px) {
  .hero-title--yacht,
  .hero-subtitle--yacht,
  .hero-slogan--yacht {
    color: var(--color-graphite);
    text-shadow: none;
  }
  .hero-slogan--yacht { color: var(--color-titanium); }
  .hero-subtitle--yacht { opacity: 0.85; }
  .btn-outline--on-dark {
    border-color: var(--color-graphite);
    color: var(--color-graphite);
  }
  .btn-outline--on-dark:hover {
    background: var(--color-graphite);
    color: var(--color-white);
  }
}

/* round3: теги-продукти в day-block стали клікабельними посиланнями */
.day-block-list a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.day-block-list li:has(a) { cursor: pointer; }
.day-block-list a:hover { color: var(--color-graphite); }

/* round3: блок "Чому спрей?" — список переваг */
.section-why-spray .why-spray-list { margin-top: 28px; }

/* ✎ МАЯЧОК ДЛЯ ІНЕССИ — місце під текст (прибрати перед запуском: grep copy-marker / product-desc-placeholder) */
.product-desc-placeholder {
  position: relative;
  border: 2px dashed #C99A2E;
  border-radius: 10px;
  padding: 36px 28px 24px;
  margin-bottom: 40px;
  background: rgba(201,154,46,0.07);
  color: var(--color-graphite);
}
.product-desc-placeholder::before {
  content: '✎ Інессо — потрібен текст сюди';
  position: absolute;
  top: -12px;
  left: 20px;
  background: #C99A2E;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.product-desc-placeholder strong {
  display: block;
  margin-bottom: 8px;
  color: var(--color-graphite);
  letter-spacing: 0.02em;
}
.product-desc-placeholder p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-text-body); }
.product-desc-placeholder .ask {
  margin-top: 10px;
  font-size: 13px;
  color: #8a6d1e;
}

/* ✎ мини-маячок усередині акордеонів/дрібних місць */
.copy-note {
  display: block;
  border-left: 3px solid #C99A2E;
  background: rgba(201,154,46,0.08);
  padding: 10px 14px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #8a6d1e;
  border-radius: 0 6px 6px 0;
}
.copy-note::before { content: '✎ Інессо: '; font-weight: 600; }

/* round3: сторінки сетів (ранок/день/вечір) */
.set-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.set-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.set-products-grid { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 900px) {
  .set-hero { grid-template-columns: 1fr; }
  .set-hero-image { order: -1; }
  .set-products-grid { grid-template-columns: 1fr; }
}

/* round3: бейджі виробництва/членства у футері (адаптовано під темний футер) */
.footer-badges {
  padding: 32px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}
.footer-badges-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-badges-row {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-badge {
  height: 58px;
  width: auto;
  opacity: 0.7;
  /* нормалізуємо різнокольорові логотипи у спокійний монохром під наш футер */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}
.footer-badge:hover { opacity: 1; }
@media (max-width: 600px) { .footer-badge { height: 48px; } .footer-badges-row { gap: 24px; } }

/* round3: зображення сертифікатів */
.cert-card { text-align: center; }
.cert-image {
  display: block;
  width: auto;
  max-width: 150px;
  height: 90px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.btn-outline--on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline--on-dark:hover {
  background: var(--color-white);
  color: var(--color-graphite);
}

/* ════════════════════════════════════════════════════
   SYSTEM INTRO — Text + 4 pillars (clean, no overlay)
   Variant I per Inessa Round 2 — separated from photo
   ════════════════════════════════════════════════════ */

.section-system-intro {
  background: var(--color-ivory);
  padding-block: clamp(72px, 9vw, 120px);
  position: relative;
  z-index: 2;
}

.system-intro-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.system-intro-head .eyebrow {
  margin: 0;
}

.system-intro-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-graphite);
  margin: 0;
}

.system-intro-subhead {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--color-text-muted);
  font-style: italic;
  margin: 0;
  max-width: 560px;
}

/* 4 столпа — desktop: 4 in row, tablet: 2x2, mobile: stacked */
.system-intro-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  max-width: 1100px;
  margin-inline: auto;
}

.system-pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(20px, 2vw, 32px) clamp(16px, 1.5vw, 24px);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  transition: border-color var(--transition);
}

.system-pillar-card:hover {
  border-color: var(--color-graphite);
}

.system-pillar-icon {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: var(--color-graphite);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid var(--color-graphite);
  border-radius: 50%;
  padding: 12px;
  flex-shrink: 0;
}

.system-pillar-title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  color: var(--color-graphite);
  margin: 0;
  line-height: 1.25;
}

.system-pillar-desc {
  font-family: var(--font-sans);
  font-size: clamp(13px, 0.95vw, 14px);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════
   SYSTEM VISUAL — Photo of 6 sprays, full-bleed, no text
   ════════════════════════════════════════════════════ */

/* Горизонтальний паралакс-банер (6 спреїв) */
.section-system-visual {
  display: block;
  width: 100%;
  height: clamp(340px, 46vw, 560px);
  background-color: #F1E9DC;
  background-image: url('../images/lifestyle/system-shelf-wide.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .section-system-visual {
    height: clamp(240px, 58vw, 420px);
    background-attachment: scroll;
  }
}

/* ── Tablet — 2×2 grid pillars ── */
@media (max-width: 900px) {
  .system-intro-pillars {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
  }
}

/* ── Mobile — stacked pillars ── */
@media (max-width: 540px) {
  .system-intro-pillars {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
  }
  .system-pillar-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
    gap: 18px;
  }
  .system-pillar-icon {
    width: 44px;
    height: 44px;
    padding: 9px;
  }
  .system-pillar-title {
    font-size: 16px;
  }
  .system-pillar-desc {
    font-size: 13px;
  }
}

/* ════════════════════════════════════════════════════
   ПІДБІР ЗА МЕТОЮ — Shop by Benefit (адаптація Cymbiotika)
   ════════════════════════════════════════════════════ */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  margin-top: var(--space-md);
  border: 1px solid var(--color-line);
}
.goal-card {
  background: var(--color-white);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  transition: background var(--transition);
}
.goal-card:hover { background: var(--color-ivory); }
.goal-card-icon {
  width: 34px;
  height: 34px;
  color: var(--color-graphite);
  margin-bottom: 4px;
}
.goal-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.goal-card-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 400;
}
.goal-card-desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
  font-weight: 300;
}
.goal-card-hint {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.bundle-old {
  margin-left: 6px;
  font-size: 0.82em;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* ════════════════════════════════════════════════════
   Хедер-банер розділів (згенероване фото + заголовок зліва)
   ════════════════════════════════════════════════════ */
.page-hero-banner { position: relative; overflow: hidden; }
.page-hero-banner-img {
  display: block;
  width: 100%;
  height: clamp(300px, 40vw, 520px);
  object-fit: cover;
  object-position: center right;
}
.page-hero-banner .container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
/* Матова плашка під заголовком — читабельність на будь-якому фото */
.page-hero-banner-content {
  max-width: 480px;
  padding: 30px 34px;
  border-radius: 20px;
  background: rgba(247, 247, 245, 0.74);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
  box-shadow: 0 10px 44px rgba(30, 30, 30, 0.08);
}
.page-hero-banner-content .h2 { margin-block: 10px 12px; }
.page-hero-banner-content .eyebrow { color: var(--color-text-body); }
.page-hero-banner-content .lead-muted { color: var(--color-text); }
@media (max-width: 720px) {
  .page-hero-banner-img { height: 420px; object-position: 72% center; }
  .page-hero-banner-content {
    max-width: 100%;
    padding: 22px 24px;
    border-radius: 16px;
  }
}
@media (max-width: 900px) { .goal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .goal-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════
   FAQ / Accordion (Support, адаптація Cymbiotika)
   ════════════════════════════════════════════════════ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 4px 0;
}
.faq-item:first-child { border-top: 1px solid var(--color-line); }
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-graphite);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-text-muted);
  transition: transform var(--transition);
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 44px 24px 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--color-text-body);
}

/* ════════════════════════════════════════════════════
   Purchase card + Subscribe & Save (сторінки наборів)
   ════════════════════════════════════════════════════ */
.set-hero-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-graphite);
}
.purchase-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  padding: clamp(24px, 4vw, 40px);
}
.purchase-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}
.purchase-price { text-align: right; white-space: nowrap; }
.purchase-price-now {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--color-graphite);
}

/* Purchase-mode options */
.purchase-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 8px;
}
.pmode {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.pmode:hover { border-color: var(--color-graphite); }
.pmode input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid var(--color-titanium);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  margin: 0;
}
.pmode input:checked {
  border-color: var(--color-graphite);
}
.pmode input:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: var(--color-graphite);
}
.pmode-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}
.pmode-title {
  font-size: 15px;
  color: var(--color-graphite);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pmode-price {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-graphite);
}
.pmode-cycle {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-muted);
}
.pmode-badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--color-graphite);
  color: var(--color-white);
}
/* Selected subscribe option */
.pmode:has(input:checked) { border-color: var(--color-graphite); }
.pmode-featured:has(input:checked) { background: var(--color-ivory); }

.purchase-perks {
  list-style: none;
  margin: 20px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.purchase-perks li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-body);
}
.purchase-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 1.5px solid var(--color-graphite);
  border-bottom: 1.5px solid var(--color-graphite);
  transform: rotate(-45deg);
}
.purchase-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.purchase-cta { flex: 1 1 auto; min-width: 220px; }
.purchase-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--color-text-muted);
}

.cart-summary-saved span:last-child { color: var(--color-graphite); font-weight: 500; }

/* Subscribe tag in cart row */
.cart-row-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--color-graphite);
  background: var(--color-ivory);
  border: 1px solid var(--color-line);
  padding: 2px 8px;
}

/* ════════════════════════════════════════════════════
   HOMEPAGE 2026-07-14 — Cymbiotika-flow rebuild
   (спека: Homepage-Cymbiotika-Flow-2026-07-13)
   ════════════════════════════════════════════════════ */

/* ─── §1.1 HERO SLIDER ─── */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #EDE9E2;
  z-index: 1;
  /* слайдер — це <section>, а section має padding-block: var(--section-y).
     Через це над hero висіла порожня смуга 160px. Гасимо. */
  padding-block: 0;
}
.hero-slider ~ section,
.hero-slider ~ .newsletter,
.hero-slider ~ .site-footer { position: relative; z-index: 2; }

.hero-slides { position: relative; min-height: 100vh; }

.hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s var(--ease);
  z-index: 0;
}
.hero-slider .hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

/* Override pinned/fixed hero image — contained inside each slide */
.hero-slider .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Slider controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.14);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-graphite);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-arrow:hover { background: #fff; }
.hero-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow--prev { left: clamp(12px, 2vw, 32px); }
.hero-arrow--next { right: clamp(12px, 2vw, 32px); }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(30,30,30,0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.hero-dot.is-active { background: var(--color-graphite); width: 26px; }

@media (max-width: 900px) {
  .hero-slider, .hero-slides { min-height: auto; }
  .hero-slider .hero-slide {
    position: relative;
    inset: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-slider .hero-slide.is-active { display: flex; }
  .hero-slider .hero-image {
    position: relative;
    inset: auto;
    height: 52vh;
    min-height: 340px;
    width: 100%;
  }
  .hero-slider .hero-content {
    background: #EDE9E2;
    padding: clamp(32px, 7vw, 64px) clamp(24px, 6vw, 40px);
    max-width: none;
  }
  .hero-arrow { top: 26vh; width: 44px; height: 44px; }
  .hero-dots { bottom: auto; top: calc(52vh - 30px); }
}

/* Десктоп: лайфстайл-фото вертикальні (1600×2400), широкий hero їх ріже по центру
   і флакони випадають із кадру. Зсуваємо фокус кропу вниз — на продукт. */
@media (min-width: 901px) {
  .hero-slider .hero-slide[data-hero-slogan="central"] .hero-image img { object-position: 50% 50%; }
  /* ранок: флакони в лівому нижньому куті — нижче не опускаємо, інакше зникають */
  .hero-slider .hero-slide[data-hero-slogan="morning"] .hero-image img { object-position: 50% 62%; }
  /* день: люди в офісі зверху + етикетки Neuro/Immune читаються */
  .hero-slider .hero-slide[data-hero-slogan="day"]     .hero-image img { object-position: 55% 50%; }
  /* вечір: дівчина зліва, Sleep Complex + Biotin справа */
  .hero-slider .hero-slide[data-hero-slogan="evening"] .hero-image img { object-position: 62% 55%; }
}

/* ─── §1.2 BEST SELLERS — 3 sets ─── */
.sets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.set-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  transition: transform var(--transition);
}
.set-card:hover { transform: translateY(-4px); }
.set-card-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-ivory); }
.set-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.set-card:hover .set-card-image img { transform: scale(1.04); }
.set-card-body { padding: 24px 0 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.set-card-category { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.set-card-title { font-family: var(--font-serif); font-size: 24px; font-weight: 400; line-height: 1.1; color: var(--color-graphite); }
.set-card-claim { font-size: 14px; line-height: 1.55; color: var(--color-text-body); flex: 1; }
.set-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.set-card-price { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--color-graphite); }
.set-card-cta { font-size: 13px; letter-spacing: 0.04em; color: var(--color-text-muted); transition: color 0.3s var(--ease); }
.set-card:hover .set-card-cta { color: var(--color-graphite); }

/* ─── KIDS section ─── */
.section-kids {
  padding-block: var(--section-y);
  background: linear-gradient(180deg, #F2F5F0 0%, var(--color-white) 100%);
}
.eyebrow-kids { color: var(--accent-kids); }
.nav-kids { color: #6E8A66; }
.kids-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.kids-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid rgba(169,192,163,0.35);
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.kids-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(110,138,102,0.14); }
.kids-card-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-ivory); }
.kids-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.kids-card:hover .kids-card-image img { transform: scale(1.04); }
.kids-card-body { padding: 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.kids-card-category { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-kids); }
.kids-card-title { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--color-graphite); }
.kids-card-claim { font-size: 14px; line-height: 1.5; color: var(--color-text-body); flex: 1; }
.kids-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.kids-card-price { font-family: var(--font-serif); font-size: 20px; color: var(--color-graphite); }
.kids-card-cta { font-size: 13px; color: var(--color-text-muted); }
.kids-card:hover .kids-card-cta { color: #6E8A66; }

/* ─── §1.3 CAPSULE PROBLEM (negative block) ─── */
.capsule-problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.capsule-visual { display: flex; align-items: center; justify-content: center; }
.capsule-visual img {
  width: 100%;
  max-width: 440px;
  height: auto;
  /* темний фон картинки зливається з секцією #1E1E1E — лишається лише капсула, що світиться */
  mix-blend-mode: lighten;
  transform: scale(1.76); /* +60%, потім ще +10% від того — Женя просив крупніше */
  transform-origin: center;
}
.section-capsule-problem { overflow: hidden; } /* щоб збільшена капсула не давала горизонтальний скрол */
.capsule-shape {
  width: 120px;
  height: 260px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  transform: rotate(-18deg);
}
.capsule-half { flex: 1; }
.capsule-half--top { background: linear-gradient(180deg, #C8B86A 0%, #b3a45c 100%); }
.capsule-half--bottom { background: linear-gradient(180deg, #f4f2ec 0%, #dad6c9 100%); position: relative; }
.capsule-half--bottom::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 999px;
  background-image: radial-gradient(rgba(120,110,80,0.5) 1.4px, transparent 1.6px);
  background-size: 12px 12px;
  opacity: 0.8;
}
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.problem-card {
  padding: 28px 22px;
  border: 1px solid var(--color-border-dark);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.problem-card-num { font-family: var(--font-serif); font-size: 26px; color: var(--accent-immunity); display: block; margin-bottom: 12px; }
.problem-card-title { font-size: 17px; font-weight: 500; margin-bottom: 8px; color: var(--color-text-on-dark); }
.problem-card-desc { font-size: 14px; line-height: 1.55; color: var(--color-text-on-dark-muted); }

/* ─── §1.5 COMPARE TABLE ─── */
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  font-size: 15px;
  vertical-align: middle;
}
.compare-table thead th { font-family: var(--font-serif); font-size: 20px; font-weight: 400; }
.compare-table th.compare-us, .compare-table td.compare-us {
  background: #F4F7F3;
  border-left: 2px solid var(--accent-kids);
  border-right: 2px solid var(--accent-kids);
}
.compare-table thead th.compare-us { color: #4f6b48; }
.compare-table td.compare-them { color: var(--color-text-body); }
.compare-note { display: block; font-size: 11px; letter-spacing: 0.04em; color: var(--color-text-muted); text-transform: none; font-family: var(--font-sans); }
.c-yes { font-weight: 500; color: var(--color-graphite); }

/* ─── §1.6 EXPERT ─── */
.expert-quote { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 26px); font-style: italic; line-height: 1.4; color: var(--color-graphite); }
.expert-attribution { margin-top: 24px; font-size: 14px; letter-spacing: 0.04em; color: var(--color-graphite); }
.expert-note { color: var(--color-text-muted); font-size: 12px; }

/* ─── §1.7 BLOG HOME ─── */
.blog-home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.blog-home-card { display: flex; flex-direction: column; background: var(--color-white); transition: transform var(--transition); }
.blog-home-card:hover { transform: translateY(-4px); }
.blog-home-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-ivory); }
.blog-home-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.blog-home-card:hover .blog-home-image img { transform: scale(1.04); }
.blog-home-body { padding: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.blog-home-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); }
.blog-home-title { font-family: var(--font-serif); font-size: 21px; font-weight: 400; line-height: 1.2; color: var(--color-graphite); }
.blog-home-excerpt { font-size: 14px; line-height: 1.55; color: var(--color-text-body); }

/* ─── §1.8 VIDEO SETS (3 vertical slots) ─── */
.video-sets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); }
.video-slot { display: flex; flex-direction: column; gap: 16px; }
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--color-border-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.video-play {
  width: 62px; height: 62px; border-radius: 999px;
  border: 1px solid rgba(247,247,245,0.4);
  display: flex; align-items: center; justify-content: center;
}
.video-play svg { width: 24px; height: 24px; fill: var(--color-text-on-dark); }
.video-placeholder-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-on-dark-muted); }
.video-slot-link { font-size: 14px; letter-spacing: 0.03em; color: var(--color-text-on-dark); }
.video-slot-link:hover { color: #fff; }

/* ─── Responsive: homepage grids ─── */
@media (max-width: 900px) {
  .sets-grid, .kids-grid, .blog-home-grid, .video-sets-grid, .problem-cards { grid-template-columns: 1fr; }
  .capsule-problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .capsule-shape { margin-inline: auto; }
  .video-frame { max-width: 340px; margin-inline: auto; width: 100%; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .sets-grid, .kids-grid, .blog-home-grid, .video-sets-grid, .problem-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Best Sellers (6 продуктів): мінімальна картка — фото + діюча речовина + ціна (16.07) ─── */
.bestsellers-grid .product-card { cursor: pointer; }
.product-card-ingredient {
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-graphite);
  letter-spacing: 0.01em;
}
.bestsellers-grid .product-card-price { display: inline-block; margin-top: 8px; }

/* ════════════════════════════════════════════════════
   КОНСТРУКТОР СЕТІВ — «Зібери свій сет»
   ════════════════════════════════════════════════════ */
.constructor-layout {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.pick-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.pick-tile:hover { border-color: var(--color-titanium); transform: translateY(-2px); }
.pick-tile.is-picked {
  border-color: var(--color-graphite);
  box-shadow: 0 10px 30px rgba(30,30,30,0.10);
}
.pick-input { position: absolute; opacity: 0; pointer-events: none; }
.pick-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 22px; height: 22px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  z-index: 2;
}
.pick-tile.is-picked .pick-check {
  background: var(--color-graphite);
  border-color: var(--color-graphite);
}
.pick-tile.is-picked .pick-check::after {
  content: '';
  position: absolute;
  left: 7px; top: 4px;
  width: 6px; height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.pick-img { display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: 10px; background: var(--color-ivory); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.pick-name { font-family: var(--font-serif); font-size: 18px; color: var(--color-graphite); }
.pick-ingr { font-size: 13px; color: var(--color-text-body); }
.pick-price { font-family: var(--font-serif); font-size: 16px; margin-top: 4px; }

.constructor-summary {
  position: sticky;
  top: 120px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: clamp(22px, 2.5vw, 32px);
  background: var(--color-ivory);
}
.sum-list { list-style: none; margin: 0 0 16px; padding: 0; }
.sum-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--color-line);
  font-size: 14px;
}
.sum-list a { color: var(--color-graphite); }
.sum-desc { font-size: 14px; line-height: 1.55; color: var(--color-text-body); margin-bottom: 20px; }
.sum-rows { border-top: 1px solid var(--color-line); padding-top: 14px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--color-text-body); }
.sum-row--disc em { font-style: normal; color: var(--color-text-muted); }
.sum-row.sum-total {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-graphite);
  border-top: 1px solid var(--color-line);
  margin-top: 8px; padding-top: 12px;
}
.sum-cta { width: 100%; margin-top: 18px; }
.sum-cta:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 1024px) {
  .constructor-layout { grid-template-columns: 1fr; }
  .constructor-summary { position: static; }
}
@media (max-width: 640px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════════
   MOBILE MENU — Cymbiotika-style white panel (2026-07-14)
   ════════════════════════════════════════════════════ */
.mobile-menu-promo,
.mobile-menu-cta,
.mobile-menu-footer { display: none; }

@media (max-width: 1024px) {
  body.nav-locked { overflow: hidden; }

  /* Solid header while menu open — also removes backdrop-filter so the
     fixed panel's containing block is the viewport (bottom:0 stretches full height) */
  .site-header.menu-open {
    z-index: 300;
    background: var(--color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .menu-toggle { line-height: 1; }

  /* The panel itself */
  .site-header.menu-open .site-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    /* top set inline by JS = header bottom */
    background: var(--color-white);
    z-index: 150;
    padding: 20px clamp(20px, 5vw, 30px) 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: mmSlide 0.28s var(--ease);
  }
  @keyframes mmSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: none; }
  }

  /* Ordering: promo → cta → list → footer */
  .site-header.menu-open .site-nav > .mobile-menu-promo  { order: 0; }
  .site-header.menu-open .site-nav > .mobile-menu-cta    { order: 1; }
  .site-header.menu-open .site-nav > ul                  { order: 2; }
  .site-header.menu-open .site-nav > .mobile-menu-footer { order: 3; }

  /* Promo card */
  .site-header.menu-open .mobile-menu-promo {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--color-ivory);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 16px;
  }
  .mobile-menu-promo img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    opacity: 1 !important;
  }
  .mm-promo-text p {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.2;
    color: var(--color-graphite);
    margin-bottom: 6px;
  }
  .mm-promo-text a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-body);
  }

  /* Create-bundle CTA */
  .site-header.menu-open .mobile-menu-cta {
    display: block;
    text-align: center;
    background: var(--color-graphite);
    color: var(--color-text-on-dark);
    padding: 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 22px;
  }

  /* List → vertical accordion */
  .site-header.menu-open .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
  }
  .site-header.menu-open .site-nav > ul > li {
    border-bottom: 1px solid var(--color-line);
  }
  .site-header.menu-open .site-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 2px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-graphite);
  }
  .site-header.menu-open .site-nav > ul > li > a::after { display: none; }

  /* Chevron on expandable items */
  .site-header.menu-open .site-nav .has-dropdown > a::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease);
    background: none;
    position: static;
  }
  .site-header.menu-open .site-nav .has-dropdown.sub-open > a::after {
    transform: rotate(-135deg);
  }

  /* Sub-list (collapsed by default, expands on .sub-open) */
  .site-header.menu-open .site-nav .has-dropdown::after { display: none; }
  .site-header.menu-open .site-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
    background: var(--color-ivory);
    border-radius: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  /* 620px, а не 340px: в «За метою» 9 пунктів (Усі цілі + 8 цілей Інесси).
     При 340px список обрізало б — overflow:hidden ховає решту без скролу. */
  .site-header.menu-open .site-nav .has-dropdown.sub-open .dropdown {
    max-height: 620px;
    margin: 0 0 14px;
    padding: 6px 0;
  }
  .site-header.menu-open .site-nav .dropdown a {
    padding: 13px 16px;
    font-size: 15px;
    color: var(--color-text-body);
  }
  .site-header.menu-open .site-nav .dropdown a:hover { color: var(--color-graphite); }

  /* Footer: account + language */
  .site-header.menu-open .mobile-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-line);
  }
  .mm-account {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-graphite);
  }
  .mm-account svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .mm-lang { display: flex; gap: 8px; font-size: 13px; letter-spacing: 0.08em; color: var(--color-text-muted); }
  .mm-lang .active { color: var(--color-graphite); font-weight: 600; }
}

/* ─── §1.6 EXPERT PORTRAIT (фото 300×300 з norvita.eu — не розтягуємо) ─── */
.split-image--expert {
  aspect-ratio: 1 / 1;
  max-width: 340px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--color-ivory);
}
.split-image--expert img { object-position: center top; }

/* ─── ARTICLE (сторінки блогу) ─── */
.article { max-width: 720px; margin-inline: auto; }
.article-placeholder-note {
  padding: 16px 20px;
  margin-bottom: var(--space-md);
  background: var(--color-ivory);
  border-left: 3px solid var(--color-graphite);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.article-lead {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.5;
  color: var(--color-graphite);
  margin-bottom: var(--space-md);
}
.article-h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  color: var(--color-graphite);
  margin: var(--space-md) 0 12px;
}
.article p { font-size: 17px; line-height: 1.75; color: var(--color-graphite); margin-bottom: 18px; }
.article-cta { margin-top: var(--space-md); }
.article-back { margin-top: var(--space-sm); }

@media (max-width: 560px) {
  .split-image--expert { max-width: 220px; }
  .article p { font-size: 16px; }
}

/* ════════════════════════════════════════════════════
   PDP — «Цей продукт у сеті» (тези Інесси 03.08)
   Замість трьох карток «Часто беруть разом» — одна картка
   релевантного сету з прорахованою вартістю.
   ════════════════════════════════════════════════════ */
.pdp-set {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: clamp(18px, 2.6vw, 28px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pdp-set:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(30, 30, 30, 0.07); }
.pdp-set-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--color-ivory); }
.pdp-set-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pdp-set:hover .pdp-set-image img { transform: scale(1.04); }
.pdp-set-body { display: flex; flex-direction: column; gap: 14px; padding: 8px 0; }
.pdp-set-eyebrow {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-text-muted);
}
.pdp-set-title {
  font-family: var(--font-serif); font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400; line-height: 1.1; color: var(--color-graphite);
}
.pdp-set-claim { font-size: 15px; line-height: 1.6; color: var(--color-text-body); }
.pdp-set-items { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pdp-set-items li {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 14px; color: var(--color-graphite);
  padding-bottom: 10px; border-bottom: 1px solid var(--color-line);
}
.pdp-set-item-name { color: var(--color-graphite); }
.pdp-set-item-price { color: var(--color-text-muted); white-space: nowrap; }
.pdp-set-items em {
  font-style: normal; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.pdp-set-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: 10px;
}
.pdp-set-prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pdp-set-price { font-family: var(--font-serif); font-size: 28px; color: var(--color-graphite); }
.pdp-set-save {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-default);
}
.pdp-set--morning .pdp-set-save { color: var(--accent-morning); }
.pdp-set--day     .pdp-set-save { color: var(--accent-day); }
.pdp-set--evening .pdp-set-save { color: var(--accent-evening); }
.pdp-set--kids    .pdp-set-save { color: var(--accent-kids); }
.pdp-set-cta { font-size: 13px; letter-spacing: 0.04em; color: var(--color-text-muted); transition: color 0.3s var(--ease); }
.pdp-set:hover .pdp-set-cta { color: var(--color-graphite); }

@media (max-width: 860px) {
  .pdp-set { grid-template-columns: 1fr; }
  .pdp-set-image { aspect-ratio: 3 / 2; }
  .pdp-set-price { font-size: 24px; }
}

/* Розділ «Як працює наноемульсія» на PDP — контент norvita.eu */
.nano-grid { margin-top: 8px; }
.nano-grid .benefit-desc { font-size: 15px; }

/* ════════════════════════════════════════════════════
   Розділ «За потребою» — текст + картка продукту
   Тексти Інесси (05.08): опис механізму + формула під потребу.
   ════════════════════════════════════════════════════ */
.need-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.need-content { max-width: 720px; }
.need-sub {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-text-body);
  margin: 12px 0 28px;
}
.need-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-body);
  margin-bottom: 16px;
}
.need-text p:last-child { margin-bottom: 0; }
.need-text strong { color: var(--color-graphite); font-weight: 500; }

.need-benefits {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.need-benefits-title {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 18px;
}
.need-note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* картка продукту тримається в полі зору поки читаєш довгий текст */
.need-aside { position: sticky; top: 100px; }

@media (max-width: 980px) {
  .need-layout { grid-template-columns: 1fr; }
  .need-aside { position: static; max-width: 420px; }
}

/* Перемикач мови в шапці (клієнт просила «зверху») */
.header-lang {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.header-lang:hover { color: var(--color-graphite); border-color: var(--color-graphite); }
@media (max-width: 900px) { .header-lang { padding: 5px 8px; font-size: 11px; } }

/* ════════════════════════════════════════════════════
   Юридичні сторінки — тимчасова заглушка
   Тексти документів додаємо, коли Інесса дасть реквізити
   та рішення щодо умов повернення.
   ════════════════════════════════════════════════════ */
.legal-stub { min-height: 60vh; }
.legal-stub .breadcrumb { margin-bottom: 40px; }
.legal-stub-inner { max-width: 660px; }
.legal-stub-note {
  margin-top: 40px;
  padding: 32px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
}
.legal-stub-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-body);
  background: var(--color-ivory);
  border: 1px solid var(--color-border);
}
.legal-stub-note p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 12px;
}
.legal-stub-note p:last-child { margin-bottom: 0; }
.legal-stub-contacts {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}
.legal-stub-contacts a { color: var(--color-graphite); text-decoration: underline; }
.legal-stub-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Підпис про джерело даних у розділі «Виробництво» */
.production-source {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Чекбокс згоди на обробку персональних даних.
   Обовʼязковий для contact-form і partner-form: бекенд відхиляє
   відправку без поля consent. */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-body);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--color-graphite);
  cursor: pointer;
}
.form-consent a { color: inherit; text-decoration: underline; }
.form-consent a:hover { color: var(--color-graphite); }
.section-dark .form-consent { color: var(--color-text-on-dark-muted); }
.section-dark .form-consent a { color: var(--color-text-on-dark); }

/* ════════════════════════════════════════════════════
   AI-АСИСТЕНТ — віджет чату (issue #17)
   Ліворуч знизу: праворуч стоїть floating cart.
   ════════════════════════════════════════════════════ */
.assistant {
  position: fixed;
  bottom: 28px;
  left: 28px;
  /* Вище шапки (100), щоб на мобільному панель не йшла під неї,
     але нижче тоста (200) і мобільного меню (150/300). */
  z-index: 110;
  font-family: var(--font-sans);
}

/* ── Кнопка-запуск ── */
.assistant-launcher {
  position: relative;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 999px;
  background: var(--color-graphite);
  color: var(--color-white);
  box-shadow: 0 12px 32px rgba(30,30,30,0.18);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.assistant-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(30,30,30,0.24);
}
.assistant-launcher svg {
  width: 24px; height: 24px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.assistant-launcher-close {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.assistant.is-open .assistant-launcher > svg { opacity: 0; transform: rotate(90deg); }
.assistant.is-open .assistant-launcher-close { opacity: 1; transform: rotate(0deg); }

/* ── Панель ── */
.assistant-panel {
  position: absolute;
  bottom: calc(100% + 16px);
  left: 0;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 540px;
  max-height: calc(100vh - 140px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(30,30,30,0.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom left;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.assistant.is-open .assistant-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* ── Шапка ── */
.assistant-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
}
.assistant-head-title {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.2;
}
.assistant-head-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--color-text-on-dark-muted);
}
.assistant-close {
  flex: none;
  width: 30px; height: 30px;
  padding: 0;
  background: none;
  border: none;
  color: var(--color-text-on-dark-muted);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.assistant-close:hover { color: var(--color-text-on-dark); }
.assistant-close svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round;
}

/* ── Стрічка повідомлень ── */
.assistant-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: var(--color-ivory);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.assistant-msg {
  max-width: 85%;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.6;
}
.assistant-msg p { margin: 0; }
.assistant-msg p + p { margin-top: 9px; }
.assistant-msg--bot {
  align-self: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  color: var(--color-text);
}
.assistant-msg--user {
  align-self: flex-end;
  background: var(--color-graphite);
  color: var(--color-text-on-dark);
}
.assistant-disclaimer {
  margin: 0;
  padding: 10px 13px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--color-text-body);
  background: rgba(30,30,30,0.04);
  border-left: 2px solid var(--color-border);
}
.assistant-offline-links {
  margin-top: 10px !important;
  font-size: 13px;
}
.assistant-offline-links a {
  color: var(--color-graphite);
  text-decoration: underline;
}

/* ── Індикатор набору ── */
.assistant-typing { display: flex; gap: 5px; align-items: center; }
.assistant-typing span {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--color-titanium);
  animation: assistant-dot 1.3s infinite ease-in-out;
}
.assistant-typing span:nth-child(2) { animation-delay: 0.18s; }
.assistant-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes assistant-dot {
  0%, 60%, 100% { opacity: 0.28; transform: translateY(0); }
  30%           { opacity: 1;    transform: translateY(-3px); }
}

/* ── Кнопка «в кошик» під відповіддю ── */
.assistant-action {
  align-self: flex-start;
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.assistant-add-to-cart-btn {
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-graphite);
  border: 1px solid var(--color-graphite);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: left;
}
.assistant-add-to-cart-btn:hover:not(:disabled) { opacity: 0.85; }
.assistant-add-to-cart-btn.is-done {
  background: transparent;
  color: var(--color-text-body);
  border-color: var(--color-border);
  cursor: default;
}
.assistant-action-link {
  font-size: 12.5px;
  color: var(--color-text-body);
  text-decoration: underline;
}
.assistant-action-link:hover { color: var(--color-graphite); }

/* ── Картка ліда ── */
.assistant-lead-card {
  align-self: flex-start;
  max-width: 90%;
  padding: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
}
.assistant-lead-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}
.assistant-lead-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-line);
  font-size: 13.5px;
  color: var(--color-text-body);
}
.assistant-lead-data strong { color: var(--color-text); font-weight: 500; }
.assistant-lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-body);
  cursor: pointer;
}
.assistant-lead-consent input { margin-top: 2px; flex: none; accent-color: var(--color-graphite); }
.assistant-lead-consent a { color: var(--color-graphite); text-decoration: underline; }
.assistant-lead-error {
  margin: 9px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #B4472F;
}
.assistant-lead-error:empty { display: none; }
.assistant-lead-submit-btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-graphite);
  border: none;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.assistant-lead-submit-btn:hover:not(:disabled) { opacity: 0.85; }
.assistant-lead-submit-btn:disabled { opacity: 0.5; cursor: default; }
.assistant-lead-card.is-done {
  border-color: var(--color-line);
  background: rgba(30,30,30,0.03);
}
.assistant-lead-card.is-done p {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-body);
}

/* ── Поле вводу ── */
.assistant-form {
  flex: none;
  display: flex;
  gap: 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
}
.assistant-input {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text);
  background: none;
  border: none;
}
.assistant-input::placeholder { color: var(--color-text-muted); }
.assistant-input:focus { outline: none; }
.assistant-input:disabled { opacity: 0.5; }
.assistant-send {
  flex: none;
  width: 54px;
  background: none;
  border: none;
  border-left: 1px solid var(--color-line);
  color: var(--color-graphite);
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.assistant-send:hover:not(:disabled) { background: var(--color-ivory); }
.assistant-send:disabled { opacity: 0.4; cursor: default; }
.assistant-send svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Мобільна ── */
@media (max-width: 600px) {
  .assistant { bottom: 20px; left: 20px; }
  .assistant-launcher { width: 56px; height: 56px; }
  .assistant-launcher svg { width: 22px; height: 22px; }
  .assistant-panel {
    width: calc(100vw - 40px);
    height: calc(100vh - 160px);
    max-height: 560px;
  }
}

/* Вузькі екрани: кошик і асистент не мають злипатись */
@media (max-width: 360px) {
  .assistant-launcher { width: 50px; height: 50px; }
}

/* ════════════════════════════════════════════════════
   РЕЖИМ ВІТРИНИ — роздріб вимкнено (NF_SHOP_ENABLED = false)
   ════════════════════════════════════════════════════ */
.is-showcase-off {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.showcase-notice { max-width: 640px; padding: 24px 0 8px; }
.showcase-notice .lead { margin-top: 14px; }
.showcase-notice-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
