*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #FAF8F2;
  --surface:      #FFFFFF;
  --surface2:     #F3EFE4;
  --surface3:     #EBE5D6;

  --border:       #E5DECE;
  --border2:      #D0C4AF;

  --text:         #231F1A;
  --text-muted:   #7A6D60;
  --text-dim:     #ADA08F;

  --green:        #3D6B50;
  --green-dark:   #2C5039;
  --green-mid:    #5A8A6A;
  --green-light:  #EDF5EF;
  --green-border: rgba(61,107,80,.18);

  --gold:         #B07A10;
  --gold-dark:    #8A5E0A;
  --gold-light:   #FEF9EC;
  --gold-border:  rgba(176,122,16,.2);

  --radius:    22px;
  --radius-sm: 14px;
  --radius-xs: 8px;

  --shadow-sm: 0 1px 3px rgba(35,31,26,.06), 0 1px 2px rgba(35,31,26,.03);
  --shadow-md: 0 4px 18px rgba(35,31,26,.08), 0 2px 6px rgba(35,31,26,.04);
  --shadow-lg: 0 12px 40px rgba(35,31,26,.1), 0 4px 14px rgba(35,31,26,.05);
}

body {
  font-family: 'Nunito', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ── HEADER ── */
.header {
  background: var(--surface);
  border-bottom: 1.5px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 62px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
}
.logo-leaf {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1;
}
.logo-text {
  font-size: 18px; font-weight: 800; color: var(--text);
  letter-spacing: -.03em;
}
.logo-text em { font-style: normal; color: var(--green); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: 6px 13px; border-radius: var(--radius-xs);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface2); }
.nav a.active { color: var(--green); }

/* ── NAV DROPDOWN ── */
.nav-dropdown { position: relative; }

.nav-dropdown-btn {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: 6px 13px; border-radius: var(--radius-xs);
  transition: color .15s, background .15s;
  font-family: inherit;
}
.nav-dropdown-btn:hover { color: var(--text); background: var(--surface2); }
.nav-dropdown-btn.active { color: var(--green); }
.nav-chevron {
  width: 14px; height: 14px; color: currentColor;
  flex-shrink: 0; transition: transform .2s;
}
.nav-dropdown.open .nav-dropdown-btn { color: var(--text); background: var(--surface2); }
.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 172px;
  padding: 6px;
  z-index: 200;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--text);
  text-decoration: none; padding: 9px 12px;
  border-radius: var(--radius-xs);
  transition: background .12s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: var(--surface2); color: var(--text); }
.ndm-icon { font-size: 15px; line-height: 1; flex-shrink: 0; }

/* ── NAV CTA (Индивидуальный курс) ── */
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: -.01em;
  color: var(--gold-dark) !important;
  background: var(--gold-light);
  border: 1.5px solid rgba(176,122,16,.28);
  border-radius: var(--radius-xs);
  padding: 7px 15px !important;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, box-shadow .15s, transform .12s;
}
.nav-cta svg { flex-shrink: 0; opacity: .85; }
.nav-cta:hover {
  background: #fdf0c8 !important;
  box-shadow: 0 3px 12px rgba(176,122,16,.22);
  transform: translateY(-1px);
  color: var(--gold-dark) !important;
}

/* ── BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: var(--radius-xs);
  margin-left: auto; flex-shrink: 0;
}
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV ── */
@media (max-width: 760px) {
  .nav-burger { display: flex; }

  .nav {
    display: none;
    flex-direction: column; gap: 2px;
    position: absolute; left: 0; right: 0; top: 62px;
    background: var(--surface);
    border-bottom: 1.5px solid var(--border);
    padding: 10px 16px 16px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav.nav-open { display: flex; }

  .nav a, .nav-dropdown-btn { padding: 10px 12px; width: 100%; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-btn { width: 100%; justify-content: space-between; }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none; border: none;
    background: var(--surface2);
    border-radius: var(--radius-xs);
    margin-top: 2px; padding: 4px 4px 4px 8px;
    transform: none !important;
    opacity: 1 !important; pointer-events: auto !important;
    display: none;
    min-width: 0;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    padding: 11px 15px !important;
  }
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 68px 0 48px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 30px; padding: 5px 14px; margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.hero-title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}
.hero-title em { font-style: normal; color: var(--green); }
.hero-sub {
  font-size: 17px; color: var(--text-muted);
  max-width: 500px; margin: 0 auto 48px; line-height: 1.65;
}

/* ── START BANNER ── */
.start-banner {
  display: flex; align-items: center; gap: 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 80px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.start-banner:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.start-banner-icon {
  font-size: 30px; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
}
.start-banner-body { flex: 1; }
.start-banner-label {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); margin-bottom: 5px;
}
.start-banner-title {
  font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px;
}
.start-banner-text {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}
.start-banner-cta {
  flex-shrink: 0;
  font-size: 13px; font-weight: 700; color: var(--green);
  white-space: nowrap;
}

/* ── GOALS GRID ── */
.goals-section { padding-bottom: 80px; }

.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.goal-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  cursor: pointer;
}
.goal-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.goal-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1;
  flex-shrink: 0;
}
.goal-card-name {
  font-size: 16px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25;
}
.goal-card-tagline {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  flex: 1;
}
.goal-card-arrow {
  font-size: 13px; font-weight: 700; color: var(--green);
  opacity: 0; transition: opacity .2s;
}
.goal-card:hover .goal-card-arrow { opacity: 1; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-dim);
  padding: 24px 0 0;
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb-sep { color: var(--border2); }
.breadcrumb-cur { color: var(--text-muted); }

/* ── GOAL HERO ── */
.goal-hero {
  display: flex; gap: 40px; align-items: flex-start;
  padding-bottom: 48px;
}
.goal-hero-icon {
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: 24px;
  background: var(--green-light);
  border: 2px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; line-height: 1;
}
.goal-hero-body { flex: 1; }
.goal-hero-label {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); margin-bottom: 8px;
}
.goal-hero-q {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.15;
  margin-bottom: 14px;
}
.goal-hero-s {
  font-size: 17px; color: var(--text-muted); line-height: 1.7;
  max-width: 640px;
}

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── SECTION ── */
.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.section-title {
  font-size: 20px; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 20px;
}

/* ── SYMPTOMS BLOCK ── */
.symptoms-block {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.symptoms-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-dim); margin-bottom: 16px;
}
.symptoms-list {
  display: flex; flex-wrap: wrap; gap: 10px; list-style: none;
}
.symptoms-list li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; padding: 7px 15px;
}
.symptoms-list li::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--gold);
  flex-shrink: 0;
}

/* ── DEFICITS GRID ── */
.deficits-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.deficit-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex; gap: 16px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.deficit-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.deficit-name { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.deficit-role { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── TIPS ── */
.tips-list { display: flex; flex-direction: column; gap: 10px; }
.tip-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px; line-height: 1.55;
}
.tip-icon {
  font-size: 18px; flex-shrink: 0; margin-top: 1px;
}

/* ── COURSES SECTION ── */
.courses-section { padding: 48px 0 64px; }
.courses-title {
  font-size: 26px; font-weight: 900; letter-spacing: -.03em;
  margin-bottom: 6px;
}
.courses-sub {
  font-size: 15px; color: var(--text-muted); margin-bottom: 40px;
}

/* Tier: Premium */
.tier-premium {
  background: linear-gradient(135deg, #1E1A14 0%, #2A2318 60%, #1E1A14 100%);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
  color: #fff;
}
.tier-premium .tier-header { margin-bottom: 28px; }
.tier-badge-premium {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); background: rgba(176,122,16,.15);
  border: 1px solid rgba(176,122,16,.3);
  border-radius: 30px; padding: 4px 12px; margin-bottom: 10px;
}
.tier-name-premium {
  font-size: 20px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px;
}
.tier-desc-premium { font-size: 14px; color: rgba(255,255,255,.5); }

.tier-products-premium {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.product-card-premium {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-brand-premium { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.product-name-premium { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.3; }
.product-dose-premium { font-size: 12px; color: rgba(255,255,255,.4); }
.product-why-premium {
  font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px; margin-top: 4px;
}
.product-btn-premium {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--gold);
  text-decoration: none; margin-top: 8px;
  border: 1px solid rgba(176,122,16,.4); border-radius: 8px;
  padding: 6px 12px; width: fit-content;
  transition: background .15s;
}
.product-btn-premium:hover { background: rgba(176,122,16,.1); }

/* Tier: Value */
.tier-value {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.tier-badge-value {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 30px; padding: 4px 12px; margin-bottom: 10px;
}
.tier-name-value {
  font-size: 20px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px;
}
.tier-desc-value { font-size: 14px; color: var(--text-muted); }

.tier-products-value {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 24px;
}
.product-card-value {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.product-brand-value { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.product-name-value { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.3; }
.product-dose-value { font-size: 12px; color: var(--text-dim); }
.product-why-value {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.5;
  border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px;
}
.product-btn-value {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--green);
  text-decoration: none; margin-top: 6px;
  border: 1.5px solid var(--green-border); border-radius: 8px;
  padding: 6px 12px; width: fit-content;
  transition: background .15s, border-color .15s;
}
.product-btn-value:hover { background: var(--green-light); border-color: var(--green); }

/* Tier: Budget */
.tier-budget {
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.tier-badge-budget {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--surface3);
  border: 1px solid var(--border2);
  border-radius: 30px; padding: 4px 12px; margin-bottom: 10px;
}
.tier-name-budget {
  font-size: 20px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px;
}
.tier-desc-budget { font-size: 14px; color: var(--text-muted); }

.tier-products-budget {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 24px;
}
.product-card-budget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.product-brand-budget { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim); }
.product-name-budget { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.3; }
.product-dose-budget { font-size: 12px; color: var(--text-dim); }
.product-why-budget {
  font-size: 12.5px; color: var(--text-muted); line-height: 1.5;
  border-top: 1px solid var(--border); padding-top: 8px; margin-top: 4px;
}
.product-btn-budget {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; margin-top: 6px;
  border: 1px solid var(--border2); border-radius: 8px;
  padding: 6px 12px; width: fit-content;
  transition: color .15s, border-color .15s;
}
.product-btn-budget:hover { color: var(--text); border-color: var(--text); }

/* ── OTHER GOALS ── */
.other-goals-section { padding-top: 48px; padding-bottom: 72px; }
.other-goals-title {
  font-size: 15px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-dim); margin-bottom: 18px;
}
.other-goals-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.other-goal-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px; border-radius: 30px;
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-decoration: none;
  transition: border-color .15s, color .15s, background .15s;
  box-shadow: var(--shadow-sm);
}
.other-goal-chip:hover {
  border-color: var(--green); color: var(--green);
  background: var(--green-light);
}
.other-goal-chip span { font-size: 18px; line-height: 1; }

/* ── DISCLAIMER ── */
.disclaimer {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px; color: var(--text-dim); line-height: 1.6;
  margin-bottom: 40px;
}
.disclaimer a { color: var(--green); text-decoration: underline; }
.disclaimer a:hover { color: var(--green-dark); }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.45);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex; gap: 48px; align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { flex: 1; }
.footer-logo {
  font-size: 18px; font-weight: 800; color: #fff;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.footer-logo em { font-style: normal; color: var(--green-mid); }
.footer-desc { font-size: 13px; line-height: 1.65; max-width: 240px; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.footer-links a {
  font-size: 12.5px; color: rgba(255,255,255,.4);
  text-decoration: none; padding: 4px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px; transition: color .15s, border-color .15s;
}
.footer-links a:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.footer-goals-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(255,255,255,.3);
  margin-bottom: 14px; white-space: nowrap;
}
.footer-goals-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
}
.footer-goals-grid a {
  font-size: 13px; color: rgba(255,255,255,.45);
  text-decoration: none; padding: 3px 0;
  transition: color .15s;
  white-space: nowrap;
}
.footer-goals-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px;
}

/* ── SECTION HELPERS ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 14px;
}
.section-sub {
  font-size: 15px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6;
}

/* ── PLAIN LIST (рекомендуемые БАДы) ── */
.plain-list { list-style: none; display: flex; flex-direction: column; }
.plain-list-item {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.plain-list-item:first-child { border-top: 1px solid var(--border); }
.plain-list-name {
  font-size: 15px; font-weight: 700; min-width: 200px; flex-shrink: 0;
}
.plain-list-role {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}

/* ── TIER CARDS (goal page) ── */
.tiers-stack { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }

.tier-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 32px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.tier-card:hover { border-color: var(--border2); box-shadow: var(--shadow-md); }

.tier-card--premium { border-top: 3px solid var(--gold); }
.tier-card--value   { border-top: 3px solid var(--green-dark); }
.tier-card--light   { border-top: 3px solid var(--border2); }

.tier-card-left { flex: 1; }
.tier-card-right { flex-shrink: 0; }

/* Pill badges */
.tier-pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 30px; padding: 4px 12px; margin-bottom: 8px;
}
.tier-pill--premium {
  color: var(--gold); background: rgba(176,122,16,.12);
  border-color: rgba(176,122,16,.3);
}
.tier-pill--value {
  color: var(--green-dark); background: var(--green-light);
  border-color: rgba(44,80,57,.25);
}
.tier-pill--neutral {
  color: var(--text-muted); background: var(--surface3);
  border-color: var(--border2);
}

.tier-card-desc {
  font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5;
}
.tier-products-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tier-products-list li {
  font-size: 13.5px; color: var(--text-muted); line-height: 1.4;
}
.tier-brand {
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-dim); margin-right: 4px;
}
.tier-dose { font-size: 12px; color: var(--text-dim); }

/* CTA кнопки */
.tier-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700;
  padding: 11px 22px; border-radius: var(--radius-sm);
  text-decoration: none; white-space: nowrap;
  background: var(--gold); color: #fff;
  transition: opacity .15s;
}
.tier-cta:hover { opacity: .88; }

.tier-cta--premium {
  background: #fff; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.tier-cta--premium:hover { background: rgba(176,122,16,.07); opacity: 1; }

.tier-cta--value {
  background: #fff; color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}
.tier-cta--value:hover { background: var(--green-light); opacity: 1; }

.tier-cta--ghost {
  background: transparent; color: var(--text-muted);
  border: 1.5px solid var(--border2);
}
.tier-cta--ghost:hover { color: var(--text); border-color: var(--text); opacity: 1; }

/* ── COURSE HERO ── */
.course-hero { padding: 0 0 40px; }
.course-hero-top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.course-hero-goal {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; transition: color .15s;
}
.course-hero-goal:hover { color: var(--green); }
.course-hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 16px;
}
.course-hero-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.course-meta { display: flex; gap: 20px; flex-wrap: wrap; }
.course-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-dim);
}
.course-meta-item svg { flex-shrink: 0; }

/* ── SCHEDULE ── */
.schedule-grid {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.schedule-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  min-width: 200px; flex: 1;
  box-shadow: var(--shadow-sm);
}
.schedule-time {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); margin-bottom: 10px;
}
.schedule-items { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.schedule-items li { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ── PRODUCT DETAIL CARDS ── */
.products-stack { display: flex; flex-direction: column; gap: 16px; }
.product-detail-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; gap: 24px;
  box-shadow: var(--shadow-sm);
}
.product-detail-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--text-dim);
  flex-shrink: 0;
}
.product-detail-body { flex: 1; }
.product-detail-brand {
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--green); margin-bottom: 4px;
}
.product-detail-name { font-size: 20px; font-weight: 900; letter-spacing: -.02em; margin-bottom: 4px; }
.product-detail-dose { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }

.product-detail-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 20px; }
.product-detail-row {
  display: flex; gap: 16px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; line-height: 1.5;
}
.product-detail-row:first-child { border-top: 1px solid var(--border); }
.product-detail-label {
  font-size: 12px; font-weight: 700; color: var(--text-dim);
  min-width: 120px; flex-shrink: 0;
  text-transform: uppercase; letter-spacing: .04em;
}
.product-detail-row--why { align-items: flex-start; color: var(--text-muted); }
.product-detail-note {
  display: flex; align-items: flex-start; gap: 7px;
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
  background: var(--gold-light); border: 1px solid var(--gold-border);
  border-radius: var(--radius-xs); padding: 10px 14px; margin-top: 10px;
}
.product-detail-note svg { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.product-detail-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--green);
  text-decoration: none;
  border: 1.5px solid var(--green-border); border-radius: var(--radius-sm);
  padding: 9px 18px; background: var(--green-light);
  transition: background .15s, border-color .15s;
}
.product-detail-btn:hover { background: var(--green); color: #fff; border-color: var(--green); }

.product-detail-pharmacy {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 9px 18px; background: var(--surface2);
}

/* ── WARNINGS ── */
.warnings-block {
  background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.warnings-title {
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.warnings-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.warnings-list li {
  font-size: 13.5px; color: var(--text-muted); padding-left: 14px; position: relative; line-height: 1.5;
}
.warnings-list li::before {
  content: '—'; position: absolute; left: 0; color: var(--gold);
}

/* ── OTHER TIERS (course page) ── */
/* ── ARTICLES GRID ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.article-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-card-tag {
  display: inline-flex;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 20px; padding: 3px 10px;
  align-self: flex-start;
}
.article-card-title {
  font-size: 16px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.02em;
}
.article-card-excerpt {
  font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1;
}
.article-card-link {
  font-size: 13px; font-weight: 700; color: var(--green); margin-top: 4px;
}

.other-tiers-title {
  font-size: 13px; font-weight: 700; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px;
}
.other-tiers-row { display: flex; gap: 10px; flex-wrap: wrap; }
.other-tier-chip {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; padding: 9px 18px;
  border: 1.5px solid var(--border); border-radius: 30px;
  background: var(--surface);
  transition: border-color .15s, color .15s;
}
.other-tier-chip:hover { border-color: var(--green); color: var(--green); }
.other-tier-chip--back { color: var(--text-dim); }
.other-tier-chip--back:hover { color: var(--text); border-color: var(--border2); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .goals-grid { grid-template-columns: repeat(3, 1fr); }
  .deficits-grid { grid-template-columns: 1fr; }
  .tier-card { flex-direction: column; align-items: flex-start; gap: 20px; }
  .plain-list-name { min-width: 160px; }
}

@media (max-width: 700px) {
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-hero { flex-direction: column; gap: 20px; }
  .goal-hero-icon { width: 70px; height: 70px; font-size: 34px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-goals-grid { grid-template-columns: 1fr 1fr 1fr; }
  .product-detail-card { flex-direction: column; gap: 16px; }
  .product-detail-row { flex-direction: column; gap: 4px; }
  .product-detail-label { min-width: auto; }
  .plain-list-item { flex-direction: column; gap: 4px; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 36px; }
  .goals-grid { gap: 10px; }
  .goal-card { padding: 18px 16px; }
  .tier-card { padding: 20px; }
  .product-detail-card { padding: 20px; }
  .schedule-card { min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   БАЗА ЗНАНИЙ — общие элементы
═══════════════════════════════════════════════════════════ */
/* ── Topbar: крошки + поиск ── */
.kb-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0 0; flex-wrap: wrap;
}

.kb-breadcrumb {
  font-size: 13px; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.kb-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.kb-breadcrumb a:hover { color: var(--green); }

.kb-search-form { flex-shrink: 0; }
.kb-search-wrap { position: relative; }
.kb-search-icon {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); pointer-events: none;
}
.kb-search {
  width: 260px;
  padding: 7px 12px 7px 34px;
  font-size: 13px; font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface); color: var(--text);
  transition: border-color .15s;
  outline: none;
}
.kb-search:focus { border-color: var(--green-mid); }

.kb-hero {
  padding: 22px 0 20px;
}
.kb-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  letter-spacing: -.03em; color: var(--text); margin: 0 0 8px;
}
.kb-sub {
  font-size: 15px; color: var(--text-muted);
}

.kb-cats {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
}
.kb-cat-btn {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 5px 12px; border-radius: 20px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  text-decoration: none; transition: all .14s;
  white-space: nowrap;
}
.kb-cat-btn:hover { border-color: var(--green-mid); color: var(--green); }
.kb-cat-btn.active {
  background: var(--green); border-color: var(--green);
  color: #fff;
}
.kb-cat-count {
  font-size: 11px; opacity: .75; margin-left: 2px;
}

.kb-count {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 20px;
}
.kb-count strong { color: var(--text); }
.kb-count a { color: var(--green); text-decoration: none; }
.kb-count a:hover { text-decoration: underline; }

.kb-empty {
  text-align: center; padding: 60px 0;
  font-size: 15px; color: var(--text-muted);
}

/* ── Сетка нутриентов ── */
.nutrients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 64px;
}
.nutrient-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none; color: inherit;
  transition: border-color .14s, box-shadow .14s, transform .12s;
}
.nutrient-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.nc-cat {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--text-dim); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
.nc-cat-icon { font-size: 13px; }
.nc-name {
  font-size: 15px; font-weight: 700; color: var(--text);
  line-height: 1.35; margin-top: 2px;
}
.nc-name-en {
  font-size: 12px; color: var(--text-dim);
}
.nc-forms {
  font-size: 12px; color: var(--text-muted);
  margin-top: auto; padding-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   СТРАНИЦА НУТРИЕНТА
═══════════════════════════════════════════════════════════ */
.nut-head { padding: 22px 0 18px; }

.nut-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border); border-radius: 20px; padding: 4px 12px;
  margin-bottom: 12px;
}
.nut-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 900;
  letter-spacing: -.03em; color: var(--text); line-height: 1.1;
  margin: 0 0 8px;
}
.nut-title-en {
  font-size: 16px; color: var(--text-muted); font-weight: 500;
}

.nut-divider {
  border: none; border-top: 1.5px solid var(--border);
  margin: 0 0 32px;
}

.nut-description {
  font-size: 16px; line-height: 1.75; color: var(--text);
  max-width: 720px; margin: 0 0 44px;
}
.nut-description p + p { margin-top: 10px; }

/* Инфо-плашки */
.nut-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; margin-bottom: 44px;
}
.nut-info-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.nic-icon { font-size: 20px; margin-bottom: 8px; }
.nic-title {
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 10px;
}
.nic-text { font-size: 14px; line-height: 1.65; color: var(--text); }
.nic-text p + p { margin-top: 8px; }

/* Секция форм */
.nut-forms-section { margin-bottom: 56px; }
.nut-section-title {
  font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.nut-forms-count {
  font-size: 13px; font-weight: 700;
  color: var(--text-muted); background: var(--surface2);
  border-radius: 20px; padding: 2px 10px;
}
.nut-section-sub {
  font-size: 14px; color: var(--text-muted); margin-bottom: 20px;
}
.forms-list { display: flex; flex-direction: column; gap: 8px; }

/* Карточка формы — ссылка */
.form-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-decoration: none; color: inherit;
  transition: border-color .14s, box-shadow .14s, transform .1s;
}
.form-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.form-card--best {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 1px var(--green-border);
}
.form-card--best:hover { box-shadow: var(--shadow-md); }

.fc-name-wrap { flex: 1; }
.fc-name { font-size: 15px; font-weight: 700; color: var(--text); }
.fc-name-en { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

.fc-bio-wrap { flex-shrink: 0; text-align: right; min-width: 100px; }
.fc-bio-label { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.fc-bio-num { font-size: 20px; font-weight: 900; color: var(--text); line-height: 1.1; margin: 2px 0; }
.fc-bio-bar {
  height: 4px; background: var(--surface2);
  border-radius: 4px; overflow: hidden; width: 100px; margin-left: auto;
}
.fc-bio-fill { height: 100%; border-radius: 4px; }

.fc-arrow {
  font-size: 16px; color: var(--text-dim);
  flex-shrink: 0; transition: transform .14s, color .14s;
}
.form-card:hover .fc-arrow { transform: translateX(3px); color: var(--green); }
/* Ингредиент без ссылки на форму — не интерактивный */
.form-card--plain { cursor: default; }
.form-card--plain:hover {
  border-color: var(--border); box-shadow: none; transform: none;
}

/* ═══════════════════════════════════════════════════════════
   БРЕНДЫ
═══════════════════════════════════════════════════════════ */

/* Группировка по стране */
.brands-group { margin-bottom: 44px; }
.brands-group-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 800; color: var(--text);
  margin-bottom: 14px;
}
.brands-group-count {
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  background: var(--surface2); border-radius: 20px; padding: 2px 9px;
}

/* Сетка карточек */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.brand-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-decoration: none; color: inherit;
  transition: border-color .14s, box-shadow .14s, transform .12s;
}
.brand-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.bc-top {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.bc-name {
  font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.3;
}
.bc-score {
  font-size: 13px; font-weight: 800;
  white-space: nowrap; flex-shrink: 0;
}
.bc-meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.bc-country {
  font-size: 12px; color: var(--text-muted);
}
.bc-cnt {
  font-size: 12px; color: var(--text-dim);
  margin-top: auto;
}

/* Страница бренда — реквизиты */
.brand-info-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.brand-link-card {
  display: flex; flex-direction: column; gap: 3px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  text-decoration: none; color: inherit;
  min-width: 200px;
  transition: border-color .14s, box-shadow .14s;
}
.brand-link-card:hover {
  border-color: var(--green-mid);
  box-shadow: var(--shadow-sm);
}
.brand-link-card--iherb:hover { border-color: var(--gold-dark); }
.blc-icon { font-size: 18px; margin-bottom: 4px; }
.blc-label {
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted);
}
.blc-val {
  font-size: 13px; font-weight: 600; color: var(--green);
}
.brand-link-card--iherb .blc-val { color: var(--gold-dark); }

/* ═══════════════════════════════════════════════════════════
   СТРАНИЦА ФОРМЫ НУТРИЕНТА
═══════════════════════════════════════════════════════════ */

/* Бейдж-ссылка на родительский нутриент */
.nf-parent-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--green); background: var(--green-light);
  border: 1px solid var(--green-border); border-radius: 20px; padding: 4px 12px;
  text-decoration: none; margin-bottom: 12px;
  transition: background .14s;
}
.nf-parent-badge:hover { background: #ddf0e4; }

/* Блок биодоступности */
.nf-bio-block {
  display: flex; align-items: center; gap: 28px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 36px;
}
.nf-bio-left { flex-shrink: 0; min-width: 90px; }
.nf-bio-label {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 4px;
}
.nf-bio-num {
  font-size: 42px; font-weight: 900; line-height: 1; letter-spacing: -.03em;
}
.nf-bio-tag {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  margin-top: 4px;
}

.nf-bio-bar-wrap { flex: 1; }
.nf-bio-bar {
  height: 10px; background: var(--surface2);
  border-radius: 6px; overflow: hidden; margin-bottom: 6px;
}
.nf-bio-fill { height: 100%; border-radius: 6px; transition: width .4s; }
.nf-bio-scale {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-dim);
}

.nut-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; padding: 8px 0;
  transition: color .14s;
}
.nut-back:hover { color: var(--green); }

@media (max-width: 640px) {
  .kb-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kb-search { width: 100%; }
  .kb-search-form { width: 100%; }
  .nutrients-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .nut-info-grid { grid-template-columns: 1fr; }
  .form-card { gap: 14px; padding: 14px 16px; }
  .fc-bio-bar { width: 80px; }
  .fc-arrow { display: none; }
}

/* ─── SUPPLEMENTS ───────────────────────────────────── */

/* Toolbar: счётчик + сортировка */
.supp-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 16px 0 20px;
  flex-wrap: wrap;
}
.supp-sort { display: flex; gap: 6px; }
.supp-sort-btn {
  display: inline-block; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 20px;
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: all .14s;
}
.supp-sort-btn:hover { border-color: var(--green); color: var(--green); }
.supp-sort-btn.active {
  background: var(--green); border-color: var(--green);
  color: #fff;
}

/* Лейаут: сайдбар + контент */
.supp-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 4px;
}

/* Сайдбар */
.supp-sidebar {
  position: sticky; top: 80px;
}
.supp-sidebar-title {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-dim); margin-bottom: 8px; padding: 0 4px;
}
.supp-sidebar-link {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  padding: 6px 8px; border-radius: var(--radius-xs);
  transition: color .14s, background .14s;
  gap: 6px;
}
.supp-sidebar-link:hover { color: var(--text); background: var(--surface2); }
.supp-sidebar-link.active {
  color: var(--green); font-weight: 700;
  background: var(--green-light);
}
.supp-sidebar-cnt {
  font-size: 11px; color: var(--text-dim); flex-shrink: 0;
}

.supp-content { min-width: 0; }

/* Сетка продуктов */
.supps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
}

/* Карточка продукта */
.supp-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 18px 14px;
  text-decoration: none; color: var(--text);
  transition: box-shadow .18s, border-color .18s, transform .15s;
}
.supp-card:hover {
  border-color: var(--green-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sc-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 4px;
}
.sc-cat { font-size: 12px; color: var(--text-muted); }
.sc-score {
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--green); border-radius: 6px;
  padding: 2px 7px; flex-shrink: 0;
}
.sc-name {
  font-size: 14px; font-weight: 600; line-height: 1.35;
  color: var(--text); flex: 1;
}
.sc-brand { font-size: 13px; color: var(--text-muted); }
.sc-foot {
  display: flex; align-items: center; gap: 6px;
  margin-top: 6px; flex-wrap: wrap;
}
.sc-form {
  font-size: 11px; color: var(--text-dim);
  background: var(--surface2); border-radius: 4px;
  padding: 2px 6px;
}
.sc-iherb {
  font-size: 11px; font-weight: 700;
  color: var(--gold); background: var(--gold-light);
  border: 1px solid var(--gold-border);
  border-radius: 4px; padding: 2px 6px;
}

/* Пагинация */
.supp-pages {
  display: flex; justify-content: center; align-items: center;
  gap: 4px; margin: 32px 0 48px; flex-wrap: wrap;
}
.spp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: all .14s;
}
.spp-btn:hover { border-color: var(--green); color: var(--green); }
.spp-btn.active {
  background: var(--green); border-color: var(--green);
  color: #fff; font-weight: 700;
}
.spp-ellipsis { font-size: 14px; color: var(--text-dim); padding: 0 4px; }

/* ─── SUPPLEMENT INDIVIDUAL ─────────────────────────── */

/* Ссылка на бренд под заголовком */
.supp-brand-link {
  color: var(--green); text-decoration: none;
  font-weight: 600;
}
.supp-brand-link:hover { text-decoration: underline; }

/* Метрики */
.supp-metrics {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin: 28px 0 32px;
}
.supp-metric {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 22px;
  min-width: 120px;
}
.sm-label {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: .03em; margin-bottom: 4px;
}
.sm-val {
  font-size: 28px; font-weight: 800; color: var(--green);
  line-height: 1.1;
}
.sm-max { font-size: 16px; font-weight: 500; color: var(--text-dim); }
.sm-val--text { font-size: 16px; font-weight: 700; color: var(--text); }

/* Состав */
.supp-ingr-section { margin: 32px 0; }
.supp-ingr-list {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.supp-ingr-row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}
.supp-ingr-row:last-child { border-bottom: none; }
.supp-ingr-row:hover { background: var(--surface2); }
.sir-name { font-size: 14px; color: var(--text); }
.sir-form { font-size: 12px; color: var(--text-dim); }
.sir-dose {
  font-size: 14px; font-weight: 600; color: var(--text);
  white-space: nowrap; display: flex; align-items: baseline; gap: 4px;
}
.sir-unit { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.sir-dv {
  display: inline-block;
  font-size: 11px; color: var(--text-dim);
  background: var(--surface2); border-radius: 4px;
  padding: 1px 5px; margin-left: 4px;
}

/* Кнопки покупки */
.supp-buy-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 32px 0;
}
.supp-buy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: opacity .14s, transform .14s;
}
.supp-buy-btn:hover { opacity: .88; transform: translateY(-1px); }
.supp-buy-btn--iherb {
  background: var(--green); color: #fff;
}
.supp-buy-btn--wb {
  background: #7B2FBE; color: #fff;
}
.supp-buy-btn--ozon {
  background: #005BFF; color: #fff;
}

@media (max-width: 860px) {
  .supp-layout { grid-template-columns: 1fr; }
  .supp-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
  .supp-sidebar-title { width: 100%; }
  .supp-sidebar-link { border: 1px solid var(--border); padding: 4px 10px; border-radius: 20px; }
  .supp-sidebar-link.active { border-color: var(--green); }
}

@media (max-width: 640px) {
  .supps-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .supp-card { padding: 12px 12px 10px; }
  .supp-metrics { gap: 10px; }
  .supp-metric { padding: 12px 16px; min-width: 100px; }
  .sm-val { font-size: 22px; }
  .supp-buy-btn { padding: 10px 18px; font-size: 14px; }
  .supp-toolbar { flex-direction: column; align-items: flex-start; }
}

/* ─── CONTACTS ──────────────────────────────────────── */

.contact-success {
  background: color-mix(in srgb, var(--green) 12%, transparent);
  border: 1px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
}
.contact-errors {
  background: #2a1010;
  border: 1px solid #7f1d1d;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 18px;
  display: flex; flex-direction: column; gap: 4px;
}
.contact-form { display: flex; flex-direction: column; gap: 0; }
.cf-group { margin-bottom: 18px; }
.cf-label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px;
}
.cf-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .14s;
}
.cf-input:focus { outline: none; border-color: var(--green); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-captcha { width: 140px; }
.cf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  padding: 12px 28px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: opacity .14s;
  width: 100%;
}
.cf-btn:hover { opacity: .88; }

/* ─── BRAND PAGE ────────────────────────────────────── */

.brand-supps-section { margin-top: 36px; }

.brand-supps-head {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
  margin-bottom: 4px;
}
.brand-supps-all {
  font-size: 13px; font-weight: 600; color: var(--green);
  text-decoration: none; white-space: nowrap;
}
.brand-supps-all:hover { text-decoration: underline; }

.brand-supps-btn {
  display: inline-block;
  padding: 9px 22px; border-radius: 20px;
  border: 1.5px solid var(--green); color: var(--green);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .14s, color .14s;
}
.brand-supps-btn:hover { background: var(--green); color: #fff; }

/* ─── ARTICLES ──────────────────────────────────────── */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.article-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 22px 24px 18px;
  text-decoration: none; color: inherit;
  transition: border-color .14s, box-shadow .14s;
}
.article-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.ac-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
.ac-title {
  font-size: 16px; font-weight: 700; color: var(--text);
  line-height: 1.4; margin-bottom: 8px;
}
.ac-sub {
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
  flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.ac-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.ac-date { font-size: 12px; color: var(--text-dim); }
.ac-read { font-size: 12px; font-weight: 600; color: var(--green); }

/* Страница статьи */
.art-head { margin: 24px 0 0; }
.art-title {
  font-size: 28px; font-weight: 800; color: var(--text);
  line-height: 1.3; margin: 10px 0 14px;
}
.art-subtitle {
  font-size: 16px; color: var(--text-muted); line-height: 1.6;
  margin: 0 0 14px; max-width: 720px;
}
.art-meta { display: flex; gap: 16px; align-items: center; }
.art-date { font-size: 13px; color: var(--text-dim); }

.art-body {
  max-width: 720px;
  margin: 28px 0 0;
  font-size: 15px; line-height: 1.75; color: var(--text);
}
.art-body h2 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin: 32px 0 12px;
}
.art-body h3 {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin: 24px 0 10px;
}
.art-body p { margin: 0 0 14px; }
.art-body ul, .art-body ol {
  margin: 0 0 14px; padding-left: 22px;
}
.art-body li { margin-bottom: 6px; }
.art-body strong { font-weight: 700; color: var(--text); }

@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
  .art-title { font-size: 22px; }
  .art-subtitle { font-size: 15px; }
  .art-body { font-size: 14px; }
}
