:root {
  --ink: #1a2420;
  --accent: #2f6b4f;
  --paper: #f4f7f4;
  --mist: #e6eee8;
  --white: #fff;
  --line: rgba(26, 36, 32, .12);
  --shadow: 0 18px 55px rgba(20, 32, 24, .11);
  --radius: 1.75rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Sofia Sans", sans-serif; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
.ce-mark {
  display: inline-block;
  width: 1.35em;
  height: auto;
  margin: 0 .12em;
  vertical-align: -0.18em;
}
.ce-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 36rem;
  margin: 1rem 0 1.5rem;
  padding: .85rem 1rem;
  border: 1px dashed rgba(33, 70, 50, .28);
  border-radius: 1rem;
  background: #fff;
}
.ce-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: #31583d;
  font-weight: 700;
}
.ce-card .ce-mark--card {
  width: 2.6rem;
  height: auto;
  margin: 0;
  flex: none;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .button, .site-menu a, .cart-link, .hub-card, .archive-card { min-height: 44px; }
h1, h2, h3, .section-title { margin-top: 0; font-family: "Sofia Sans Condensed", sans-serif; line-height: .98; text-wrap: balance; }
h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.02em; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid #4e936f; outline-offset: 3px; }
::selection { background: #c6ddcc; color: var(--ink); }
::placeholder { color: #5c6b64; }

/* A11y: jump past the header. Hidden unless keyboard-focused (Tab). */
.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  padding: .75rem 1rem;
  border-radius: .75rem;
  border: 1px solid #1a2420;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(20, 32, 24, .16);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus-visible {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26, 36, 32, .97); color: var(--white); box-shadow: 0 12px 34px rgba(10, 20, 14, .13); }
.nav-shell { width: min(80rem, calc(100% - 2rem)); min-height: 4.75rem; margin: auto; display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 2.75rem; padding: 0; border-radius: 0; background: transparent; }
.site-menu { display: flex; align-items: center; gap: 1rem; margin-left: auto; font-size: .88rem; font-weight: 700; }
.site-menu a, .cart-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.cart-link { gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: var(--accent); font-weight: 800; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: transparent; color: inherit; padding: .5rem 1rem; }

/* Inner-page heroes: half homepage height (50svh), dark, vertically centered */
/* Shared inner-page banner — homepage hero image + dark overlay */
.page-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(16rem, 38svh, 22rem);
  padding: clamp(5.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  background: #0f1a14;
  box-sizing: border-box;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-biohumax-garden-label-contrast.webp") center 46% / cover no-repeat;
  transform: scale(1.02);
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 12, .42) 0%, rgba(7, 18, 12, .52) 55%, rgba(7, 18, 12, .68) 100%),
    linear-gradient(90deg, rgba(7, 18, 12, .45) 0%, rgba(7, 18, 12, .18) 72%);
}
@media (max-width: 767px) {
  .page-banner::before {
    background-image: url("../img/hero-biohumax-mobile-v2.webp");
  }
}
/* Single posts / pages with their own featured image */
.page-banner--featured::before {
  background-image: var(--page-banner-image);
  background-position: center;
  background-size: cover;
}
@media (max-width: 767px) {
  .page-banner--featured::before {
    background-image: var(--page-banner-image-mobile, var(--page-banner-image));
  }
}
.page-hero-photo picture,
.page-hero-photo picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.page-hero-photo picture img {
  object-fit: cover;
  transform: scale(1.02);
}
.page-banner__inner {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: 80rem;
  width: 100%;
  padding-inline: 1rem;
}
@media (min-width: 768px) {
  .page-banner__inner { padding-inline: 2rem; }
}
.page-banner h1 {
  margin: 0;
  max-width: 28ch;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(5, 14, 9, .28);
}
.page-banner h1 sup {
  font-family: "Sofia Sans", sans-serif;
  position: relative;
  top: -.1em;
  font-size: .35em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: .05em;
}
.page-banner p,
.page-banner__help {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  text-shadow: 0 2px 14px rgba(5, 14, 9, .22);
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 50svh;
  height: 50svh;
  padding: 5.5rem max(1rem, calc((100% - 76rem) / 2)) 2.75rem;
  color: #fff;
  background: #0f1a14;
  box-sizing: border-box;
}
.page-hero-photo { color: #fff; }
.page-hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.page-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,18,12,.42) 0%, rgba(7,18,12,.48) 55%, rgba(7,18,12,.58) 100%),
    linear-gradient(90deg, rgba(7,18,12,.28) 0%, rgba(7,18,12,.08) 72%);
}
.page-hero-copy {
  position: relative; z-index: 1;
  width: min(44rem, 100%);
}
.page-hero-copy h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(5,14,9,.28);
}

.page-hero-copy p,
.page-hero-help {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(.98rem, 1.7vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 14px rgba(5,14,9,.22);
}

.content-section { width: min(80rem, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(4rem, 8vw, 7rem); }
.content-section.narrow, .article-shell { width: min(48rem, calc(100% - 2rem)); }
.section-title { max-width: 15ch; margin-bottom: 2.5rem; font-size: clamp(2.5rem, 6vw, 5rem); }
.section-action { margin-top: 2.5rem; text-align: center; }
.prose { font-size: clamp(1rem, 1.5vw, 1.1rem); }
.prose > * { max-width: 72ch; margin-inline: auto; }
.prose p { margin-block: 0 1.25rem; }
.prose h2 { margin-top: 3.2rem; margin-bottom: 1rem; font-size: clamp(1.7rem, 4vw, 2.65rem); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-block: .55rem; }
.editorial { font-size: clamp(1.05rem, 1.6vw, 1.18rem); line-height: 1.75; }
.editorial > * { margin-left: 0; }

.hub-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hub-card, .archive-card { position: relative; display: flex; min-height: 25rem; overflow: hidden; border-radius: var(--radius); background: var(--white); text-decoration: none; box-shadow: var(--shadow); }
.hub-card img, .archive-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.hub-card::after, .archive-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,24,15,.86), rgba(10,24,15,0) 70%); }
.hub-card span, .archive-card strong, .archive-card > span { position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; color: var(--white); }
.hub-card span { bottom: 1.4rem; }
.hub-card strong { display: block; font-family: "Sofia Sans Condensed", sans-serif; font-size: 2rem; line-height: 1; }
.hub-card small { display: block; margin-top: .55rem; font-weight: 700; }
.archive-card strong { bottom: 3.2rem; font-family: "Sofia Sans Condensed", sans-serif; font-size: 1.75rem; line-height: 1.05; }
.archive-card > span { bottom: 1.2rem; font-size: .9rem; font-weight: 800; text-decoration: underline; }
.hub-card:hover img, .archive-card:hover img { transform: scale(1.04); }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { min-height: 28rem; }

.guide-section { overflow: hidden; }
.guide-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.method-guide { border-top: 1px solid var(--line); padding: 2rem 1.5rem 2rem 0; }
.method-guide h2 { max-width: 18ch; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.method-guide ul { margin: 0; padding-left: 1.25rem; }
.method-guide li { margin-block: .65rem; }

.related { width: min(80rem, calc(100% - 2rem)); margin: 0 auto 5rem; padding: 2rem; border-radius: var(--radius); background: var(--mist); }
.related h2 { font-size: 2rem; }
.related a { display: block; max-width: 58rem; padding-block: .7rem; border-top: 1px solid var(--line); font-weight: 700; }

.purchase-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr);
  grid-template-areas:
    "stage intro"
    "stage buy";
  background: var(--mist);
}
.purchase-intro {
  grid-area: intro;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .75rem;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 3.5rem) .75rem;
  background: var(--white);
}
.purchase-intro h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.25rem);
}
/* Gentle ® like home “За БИОХУМАКС®” — smaller and not flying high */
.purchase-intro h1 sup,
#product-title sup {
  font-family: "Sofia Sans", sans-serif;
  position: relative;
  top: -.1em;
  font-size: .35em;
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: .05em;
}
.purchase-lead {
  margin: 0;
  max-width: none;
  width: 100%;
  color: #4a5a52;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 600;
  line-height: 1.5;
}
.product-stage {
  grid-area: stage;
  background: #fff;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}
.product-stage__frame {
  position: relative;
  display: inline-grid;
  place-items: center;
  max-width: 100%;
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
}
.product-stage img {
  display: block;
  max-height: min(32rem, 100%);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: none;
}
.product-stage__sale {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 2;
  display: none;
  padding: .35rem .7rem .3rem;
  border-radius: .35rem;
  background: #b13228;
  color: #fff;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(120, 30, 24, .22);
}
.product-stage__sale.is-visible {
  display: inline-block;
}
.product-sale-tag {
  display: inline-block;
  margin-left: .45rem;
  padding: .18rem .45rem .14rem;
  vertical-align: middle;
  border-radius: .3rem;
  background: #b13228;
  color: #fff;
  font-family: "Sofia Sans", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.1;
  text-transform: none;
}
.product-option__price.is-sale {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
  line-height: 1.15;
}
.product-option__price-old {
  color: #7a8680;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: line-through;
}
.product-option__price-new {
  font-size: 1.18rem;
  font-weight: 800;
  color: #1a2420;
}
.purchase-buy {
  grid-area: buy;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: .5rem clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 3vw, 2.25rem);
  background: var(--white);
}
.option-group { display: grid; gap: .55rem; }
.product-option { display: block; cursor: pointer; }
.product-option input { position: absolute; opacity: 0; pointer-events: none; }
.product-option > span {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem 1rem;
  align-items: start;
  padding: .95rem 1.85rem .95rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.product-option input:checked + span {
  border-color: var(--accent);
  background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.product-option input:checked + span::after {
  content: "✓";
  position: absolute;
  top: .45rem;
  right: .55rem;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1;
  color: #2f6b4f;
}
.product-option input:focus-visible + span { outline: 3px solid #4e936f; outline-offset: 3px; }
.product-option strong { grid-column: 1; grid-row: 1; font-family: "Sofia Sans Condensed", sans-serif; font-size: 1.25rem; padding-right: .5rem; }
.product-option b { grid-column: 2; grid-row: 1; align-self: center; font-variant-numeric: tabular-nums; }
.gift-label {
  grid-column: 1;
  grid-row: 2;
  color: #b5534a;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .01em;
}
.product-option__desc {
  grid-column: 1 / -1;
  margin: .1rem 0 0;
  color: #6a756e;
  font-style: normal;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
}
.product-option__perks {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .65rem;
  margin: .15rem 0 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.product-option__perks .order-free-ship__tag,
.product-option__perks .product-perks__tag {
  display: inline-block;
  margin: 0;
  font-size: .92rem;
  padding: .4rem .75rem .35rem;
  border: 1.5px solid #c0453a;
  border-radius: .35rem;
  background: linear-gradient(180deg, #fff5f3 0%, #f6ddd8 100%);
  box-shadow:
    2px 2px 0 rgba(160, 45, 38, .16),
    inset 0 1px 0 rgba(255, 255, 255, .65);
  color: #b13228;
}
.purchase-qty { margin-top: 1rem; }
.purchase-qty__head { display: flex; align-items: center; justify-content: space-between; gap: .45rem .75rem; flex-wrap: wrap; }
.purchase-qty__head label { font-size: .86rem; font-weight: 700; }
.qty-need {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  max-width: 100%;
  padding: .5rem .75rem;
  border: 1px solid rgba(47, 107, 79, .28);
  border-radius: .55rem;
  background: var(--mist);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.qty-need svg { width: .95rem; height: .95rem; flex: none; }
.qty-need:hover { background: #dce8e0; }
.buy-row { display: flex; align-items: end; gap: .75rem; margin-top: .4rem; }
.buy-row input { width: 6rem; min-height: 3rem; border: 1px solid var(--line); border-radius: .8rem; padding: .6rem; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--accent); color: var(--white); padding: .7rem 1.35rem; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(20,32,24,.16); }
.button:hover { transform: translateY(-1px); }
.button.secondary { background: var(--ink); }
.button.light { background: var(--white); color: var(--ink); }
.text-link { display: inline-flex; margin-top: .75rem; align-self: flex-start; font-weight: 800; color: var(--accent); }

/* Desktop shop: keep the whole purchase block in the first viewport */
@media (min-width: 981px) {
  body.shop-page .purchase-hero,
  main.shop-page .purchase-hero {
    height: calc(100svh - 4.5rem);
    max-height: calc(100svh - 4.5rem);
    overflow: hidden;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  body.shop-page .purchase-intro,
  main.shop-page .purchase-intro {
    justify-content: flex-start;
    gap: .45rem;
    padding: 2rem clamp(1.1rem, 2.4vw, 2rem) .35rem;
  }
  body.shop-page .purchase-intro h1,
  main.shop-page .purchase-intro h1 {
    font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  }
  body.shop-page .purchase-lead,
  main.shop-page .purchase-lead {
    max-width: none;
    font-size: .98rem;
    line-height: 1.4;
  }
  body.shop-page .purchase-buy,
  main.shop-page .purchase-buy {
    min-height: 0;
    overflow: auto;
    padding: .25rem clamp(1.1rem, 2.4vw, 2rem) 1rem;
  }
  body.shop-page .purchase-choice-label,
  main.shop-page .purchase-choice-label {
    margin-bottom: .45rem;
    font-size: 1.02rem;
  }
  body.shop-page .option-group,
  main.shop-page .option-group {
    gap: .4rem;
  }
  body.shop-page .product-option > span,
  main.shop-page .product-option > span {
    padding: .7rem 1.65rem .7rem .95rem;
  }
  body.shop-page .product-option strong,
  main.shop-page .product-option strong {
    font-size: 1.1rem;
  }
  body.shop-page .product-option__perks,
  main.shop-page .product-option__perks {
    gap: .4rem .5rem;
  }
  body.shop-page .product-option__perks .order-free-ship__tag,
  body.shop-page .product-option__perks .product-perks__tag,
  main.shop-page .product-option__perks .order-free-ship__tag,
  main.shop-page .product-option__perks .product-perks__tag {
    font-size: .82rem;
    padding: .28rem .6rem .24rem;
  }
  body.shop-page .purchase-qty,
  main.shop-page .purchase-qty {
    margin-top: .7rem;
  }
  body.shop-page .buy-row,
  main.shop-page .buy-row {
    margin-top: .35rem;
  }
  body.shop-page .buy-row input,
  body.shop-page .purchase-buy .button,
  main.shop-page .buy-row input,
  main.shop-page .purchase-buy .button {
    min-height: 2.65rem;
  }
  body.shop-page .purchase-buy .text-link,
  main.shop-page .purchase-buy .text-link {
    margin-top: .55rem;
  }
  body.shop-page .product-stage,
  main.shop-page .product-stage {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    padding: .65rem;
  }
  body.shop-page .product-stage__frame,
  main.shop-page .product-stage__frame {
    width: 100%;
    height: 100%;
    max-width: none;
    place-items: center;
    padding: 1.75rem;
    box-sizing: border-box;
  }
  body.shop-page .product-stage img,
  main.shop-page .product-stage img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 981px) and (max-height: 820px) {
  body.shop-page .product-stage img,
  main.shop-page .product-stage img {
    max-width: 100%;
    max-height: calc(100svh - 4.5rem - 3rem);
  }
  body.shop-page .purchase-intro h1,
  main.shop-page .purchase-intro h1 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }
  body.shop-page .purchase-lead,
  main.shop-page .purchase-lead {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.split-section { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: center; gap: clamp(2rem, 8vw, 7rem); }
.split-section > img { max-height: 32rem; margin: auto; object-fit: contain; }
.tinted-section { width: 100%; padding-inline: max(1rem, calc((100% - 80rem) / 2)); background: var(--mist); }
.dark-section { width: 100%; padding-inline: max(1rem, calc((100% - 80rem) / 2)); background: var(--ink); color: var(--white); }
.link-cloud { display: flex; flex-wrap: wrap; gap: .65rem; }
.link-cloud a { min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .6rem 1rem; text-decoration: none; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.form-grid label:not(.check) { display: grid; gap: .35rem; align-content: start; font-weight: 700; }
.form-grid input:not([type="checkbox"]):not([type="radio"]), .form-grid textarea, .calculator-box input:not([type="radio"]), .calculator-box select { width: 100%; min-height: 48px; border: 1px solid #9aa8a1; border-radius: .8rem; background: var(--white); padding: .75rem; color: var(--ink); }
.form-grid input:not([type="checkbox"]):not([type="radio"]) { height: 48px; align-self: start; }
.form-grid textarea { min-height: 7rem; resize: vertical; }
.form-grid label:has(textarea) { grid-column: 1 / -1; }
.form-grid .check, .form-grid button, .form-grid > a { grid-column: 1 / -1; }
.check { display: flex; min-height: 44px; align-items: center; gap: .6rem; }
.check input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent); }
.demo-note { padding: 1rem; border-radius: 1rem; background: var(--mist); font-weight: 700; }
.text-button { min-height: 44px; justify-self: start; border: 0; background: transparent; color: var(--accent); padding: 0; font-weight: 800; text-decoration: underline; cursor: pointer; }

.calculator-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .85fr); overflow: hidden; border-radius: 2rem; background: var(--white); box-shadow: var(--shadow); }
.calc-controls, .calc-output { padding: clamp(1.5rem, 5vw, 3rem); }
.calc-controls { display: grid; gap: 1.2rem; }
.calc-controls label { display: grid; gap: .4rem; font-weight: 700; }
.input-unit { display: flex; align-items: center; border: 1px solid #9aa8a1; border-radius: .8rem; overflow: hidden; }
.input-unit input { border: 0; border-radius: 0; }
.input-unit b { padding-right: 1rem; }
.calc-output { display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--white); }
.calc-output strong { display: block; margin-block: 1rem; font-family: "Sofia Sans Condensed", sans-serif; font-size: clamp(3rem, 8vw, 5rem); line-height: .9; }
.calc-output .button { margin-top: 2rem; align-self: flex-start; }

.cart-lines { display: grid; gap: .75rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line input { width: 5rem; min-height: 44px; padding: .5rem; border: 1px solid #9aa8a1; border-radius: .7rem; }
.cart-line button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.cart-summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.cart-summary strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.confirmation { text-align: center; }
.confirmation .button { margin-top: 1rem; }
.cookie-form { display: grid; gap: .4rem; margin-top: 2rem; }

/* Matches homepage footer exactly */
.site-footer {
  background: #1a2420;
  color: #fff;
  padding: 3.5rem 0;
}
.site-footer__inner {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-grid nav,
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-brand img {
  display: block;
  width: auto;
  height: 5rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.footer-brand > p {
  margin: 1.25rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.7);
}
.footer-brand a[href^="tel:"] {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
}
.footer-brand a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.footer-grid h2 {
  margin: 0 0 0.75rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}
.footer-grid nav a:hover,
.footer-brand a:hover {
  color: #fff;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}
.footer-legal p {
  margin: 0;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .footer-legal {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
  }
}
.toast { position: fixed; right: 1rem; bottom: 1rem; z-index: 100; max-width: min(24rem, calc(100% - 2rem)); padding: 1rem 1.2rem; border-radius: 1rem; background: var(--ink); color: var(--white); box-shadow: var(--shadow); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-menu { position: fixed; inset: 4.75rem 0 0; display: none; flex-direction: column; align-items: stretch; gap: 0; overflow: auto; background: var(--paper); color: var(--ink); padding: 1rem; }
  .site-menu.open { display: flex; }
  .site-menu a { min-height: 52px; padding-inline: .75rem; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .cart-link { margin-left: 0; }
  .archive-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .purchase-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "stage"
      "buy";
  }
  .purchase-intro {
    justify-content: flex-start;
    padding: 2.5rem 1.5rem 1rem;
  }
  .purchase-buy { padding: 1rem 1.5rem 3rem; }
  .product-stage {
    min-height: 0;
    width: 100%;
    padding: 0 1.5rem 1rem;
  }
  .product-stage__frame {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .product-stage img {
    width: 100%;
    max-width: 100%;
    max-height: min(22rem, 70vw);
    height: auto;
    object-fit: contain;
  }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .cart-link { width: 44px; overflow: hidden; padding-inline: .7rem; font-size: 0; }
  .cart-link span { font-size: .8rem; }
  .page-hero {
    min-height: 50svh;
    height: 50svh;
    align-items: center;
    text-align: center;
    padding-inline: 1.25rem;
  }
  .page-hero-copy { margin-inline: auto; }
  .page-hero-copy h1 {
    max-width: 14ch;
    margin-inline: auto;
    font-size: clamp(2.1rem, 9vw, 3rem);
  }
  .page-hero-help { margin-inline: auto; }
  .purchase-intro { padding: 1.75rem 1rem .85rem; gap: .85rem; }
  .purchase-intro h1 { font-size: clamp(2.8rem, 14vw, 4rem); }
  .purchase-lead { max-width: none; font-size: 1.02rem; }
  .purchase-buy { padding: 1rem 1rem 2.5rem; }
  .product-stage {
    min-height: 0;
    padding: 0 1rem 1rem;
  }
  .product-stage__frame {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  .product-stage img {
    width: 100%;
    max-width: 100%;
    max-height: min(20rem, 78vw);
    height: auto;
  }
  .product-option > span { padding: 1rem; }
  .hub-grid, .archive-grid, .article-grid { grid-template-columns: 1fr; }
  .hub-card, .archive-card { min-height: 22rem; }
  .guide-track { display: flex; width: calc(100% + 1rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 1rem 2.75rem 1.5rem 0; }
  .guide-track::-webkit-scrollbar { display: none; }
  .method-guide { flex: 0 0 84vw; max-width: 22rem; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 1.35rem; background: var(--white); padding: 1.4rem; }
  .method-guide h2, .method-guide li, .article-shell, .article-shell p, .article-shell h2 { text-align: left; }
  .section-title, .content-section > h2, .content-section > p:not(.demo-note) { margin-inline: auto; text-align: center; }
  .split-section { grid-template-columns: 1fr; }
  .split-section > div, .split-section > div h2, .split-section > div p { text-align: center; }
  .split-section > img { max-height: 22rem; }
  .form-grid { grid-template-columns: 1fr; }
  .calculator-box { grid-template-columns: 1fr; }
  .purchase-qty__head { align-items: stretch; flex-direction: column; }
  .qty-need { justify-content: space-between; }
  .buy-row { align-items: stretch; flex-direction: column; }
  .buy-row input { width: 100%; }
  .cart-line { grid-template-columns: 1fr auto; }
  .cart-line input { grid-row: 2; }
  .cart-summary { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid nav, .footer-brand { align-items: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 767px) {
  body:has(#cookie:not([hidden])) .hero-slide { padding-bottom: 8.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Client corrections: areas + benefits on home */
.home-areas, .home-benefits { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.home-areas { background: #fff; }
.home-benefits { background: #fcfaf6; }
.home-areas__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .home-areas__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.home-areas__list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: .85rem;
  min-width: 0;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(26, 36, 32, .1);
  border-radius: .9rem;
  background: #f7faf6;
  font-weight: 700;
  line-height: 1.4;
  color: #1a2420;
}
.home-areas__list li::before { content: none; }
.home-areas__list .home-areas__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}
.home-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 700px) {
  .home-benefits__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .home-benefits__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-benefits__grid li {
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(26, 36, 32, .1);
  border-radius: 1.1rem;
  background: #fff;
}
.home-benefits__grid h3 {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #19382a;
}
.home-benefits__grid p {
  margin: .55rem 0 0;
  color: rgba(26, 36, 32, .72);
  font-size: .95rem;
  line-height: 1.5;
}
.order-free-ship {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .55rem .75rem;
  margin: 1.15rem 0 0;
  max-width: 100%;
}
.order-free-ship__tag {
  display: inline-block;
  padding: .45rem .85rem .4rem;
  border: 1.5px solid #c0453a;
  border-radius: .35rem;
  background:
    linear-gradient(180deg, #fff5f3 0%, #f6ddd8 100%);
  box-shadow:
    2px 2px 0 rgba(160, 45, 38, .16),
    inset 0 1px 0 rgba(255, 255, 255, .65);
  color: #b13228;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
}
.order-free-ship__note {
  color: #2f6b4f;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
}
.product-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .65rem;
  margin-top: .9rem;
}
@media (max-width: 767px) {
  .product-card-content .product-perks {
    justify-content: center;
  }
}
.product-perks__tag {
  font-size: .92rem;
  padding: .4rem .75rem .35rem;
}
.purchase-choice-label {
  margin: 0 0 .75rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #2f6b4f;
}

/* The approved logo asset contains its own matching white backing. */
img[src*="biohumax-logo-matching-corners"]{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;object-fit:contain}

/* Home section rhythm — production CSS sometimes omits Tailwind py-* utilities. */
#order{padding-block:5rem}
#bio{padding-block:5rem}
#journal{padding-block:4rem}
@media (min-width:768px){#bio{padding-block:7rem}}
