/* BIONA — дизайн-система за макетами Claude Design (design/project/*.dc.html).
   Десктоп 1440 / мобайл 390. Заголовки — Lora, текст — IBM Plex Sans, дані — IBM Plex Mono. */

:root {
  --green: #00863e;
  --green-light: #74b746;
  --green-dark: #00663a;
  --ink: #23301f;
  --ink-2: #3e4a39;
  --ink-soft: #5f6b5a;
  --muted: #8a9385;
  --paper: #fbfbf8;
  --white: #ffffff;
  --soft: #f1f5ee;
  --soft-2: #e8f3e4;
  --line: #dde2d6;
  --line-2: #e4e7de;
  --line-3: #e1e7da;
  --line-row: #edefe9;
  --field: #cfd8c7;
  --pill-line: #c6e0be;
  --dotted: #d5ddcc;
  --dashed: #a9c7a0;
  --clay: #b4471f;
  --clay-hover: #96380f;
  --clay-soft: #f7ede7;
  --clay-line: #e5cbbd;
  --ok: #2e9e5b;
  --warn: #c98a17;
  --info: #2c6e8f;
  --error: #c0453a;
  --footer-text: #c7e2c0;
  --footer-muted: #9cc894;

  --f-head: "Lora", Georgia, serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --r-card: 12px;
  --r-ctl: 10px;
  --r-img: 8px;
  --shadow: 0 10px 28px rgba(35, 48, 31, 0.07);
  --shadow-pop: 0 18px 40px rgba(35, 48, 31, 0.14);
  --gutter: 48px;
  --section: 56px;
}

@media (max-width: 900px) {
  :root { --gutter: 16px; --section: 30px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); }
input, select, button, textarea { font-family: inherit; font-size: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: var(--ink-soft); }
:focus-visible { outline: 2px solid var(--green-light); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; margin: 0; text-wrap: pretty; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.h2 { font-size: 34px; line-height: 1.2; color: var(--green); }
.lead-soft { margin-top: 8px; font-size: 17px; color: var(--ink-soft); }
.link-more { font-size: 16px; font-weight: 600; white-space: nowrap; }
.mono { font-family: var(--f-mono); }
.label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 900px) {
  .h2 { font-size: 26px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ------------------------------------------------------------------ кнопки, поля, бейджі */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: var(--r-ctl); padding: 15px 24px;
  font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--ink); color: var(--paper); }
/* Терракота — лише купівля й заявки (правило брифу). */
.btn-buy { background: var(--clay); color: var(--paper); }
.btn-buy:hover { background: var(--clay-hover); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--field); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn-block { width: 100%; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.input, .select, .textarea {
  width: 100%; background: var(--white); border: 1px solid var(--field); border-radius: var(--r-ctl);
  padding: 13px 14px; font-size: 16px; outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); }
.input.is-mono { font-family: var(--f-mono); }
.field-error { font-size: 13px; color: var(--clay); min-height: 0; }
.field-error:empty { display: none; }
.is-invalid { border-color: var(--clay) !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.pill {
  display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green); background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: 999px; padding: 7px 14px;
}
.badge-organic {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--green); background: var(--soft-2);
  border: 1px solid var(--pill-line); border-radius: 999px; padding: 4px 8px; text-transform: uppercase;
}
.badge-season, .badge-now {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--clay);
  background: var(--clay-soft); border: 1px solid var(--clay-line); border-radius: 999px; padding: 4px 8px; white-space: nowrap;
}
.badge-now { border-radius: 6px; font-size: 10px; letter-spacing: 0.08em; padding: 4px 7px; }
.tag {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.35; color: var(--green); background: var(--soft-2);
  border: 1px solid var(--pill-line); border-radius: 6px; padding: 4px 7px;
}
.stock { font-family: var(--f-mono); font-size: 12px; white-space: nowrap; color: var(--ok); }
.stock.on_order { color: var(--warn); }
.stock.out { color: var(--ink-soft); }

/* Заглушка фото: смуги + підпис, що сюди встане */
.photo { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--soft-2); }
.photo > img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-placeholder {
  background: repeating-linear-gradient(135deg, #e4f0df 0 10px, #f1f8ed 10px 20px);
  display: flex; align-items: flex-end; padding: 10px;
}
.photo.is-placeholder.sand { background: repeating-linear-gradient(135deg, #e7e0ce 0 12px, #f2eee1 12px 24px); }
.photo-caption {
  font-family: var(--f-mono); font-size: 11px; line-height: 1.4; color: var(--green);
  background: rgba(251, 251, 248, 0.92); border: 1px dashed var(--dashed); border-radius: 6px; padding: 5px 8px;
}

/* ------------------------------------------------------------------ шапка */

.topbar { background: var(--soft); border-bottom: 1px solid var(--line-3); font-size: 13px; color: var(--ink-soft); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar .organic { font-family: var(--f-mono); font-size: 12px; color: var(--green); }
.topbar-phone { display: none; color: var(--ink-soft); }
.lang { display: flex; gap: 4px; align-items: center; }
.lang a, .lang span { padding: 3px 8px; border-radius: 6px; font-size: 12px; color: var(--ink-soft); }
.lang .is-active { background: var(--green); color: var(--paper); font-weight: 600; }
.lang .is-disabled { opacity: .45; }

.header { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.header .wrap { display: flex; align-items: center; gap: 36px; padding-top: 20px; padding-bottom: 18px; }
.logo img { width: 196px; height: auto; }
.search { flex: 1; position: relative; }
.search-box {
  display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--field);
  border-radius: var(--r-ctl); padding: 11px 14px;
}
.search-box:focus-within { border-color: var(--green); }
.search-icon { width: 14px; height: 14px; border: 1.6px solid var(--ink-soft); border-radius: 50%; flex: none; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.6px; background: var(--ink-soft); right: -5px; bottom: -2px; transform: rotate(45deg); }
.search-box input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; }
.search-hint { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
.search-results {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; background: var(--white);
  border: 1px solid var(--dotted); border-radius: var(--r-ctl); box-shadow: var(--shadow-pop); padding: 8px;
}
.search-results a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-img); color: var(--ink); }
.search-results a:hover, .search-results a.is-active { background: var(--soft); color: var(--ink); }
.search-results .name { font-family: var(--f-head); font-size: 16px; }
.search-results .cat { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.search-results .empty { padding: 14px 12px; font-size: 14px; color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.callcenter { text-align: right; line-height: 1.25; }
.callcenter .label { font-size: 11px; text-transform: none; letter-spacing: 0; }
.callcenter a { font-size: 17px; font-weight: 600; color: var(--green); white-space: nowrap; }
.cart-btn {
  display: flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--field);
  border-radius: var(--r-ctl); padding: 10px 14px; color: var(--ink); cursor: pointer;
}
.cart-btn:hover { border-color: var(--green); color: var(--ink); }
.cart-icon { width: 15px; height: 13px; border: 1.6px solid var(--ink); border-radius: 0 0 4px 4px; display: block; flex: none; }
.cart-label { font-size: 15px; font-weight: 600; }
.cart-count {
  min-width: 22px; text-align: center; background: var(--soft-2); color: var(--green); border-radius: 999px;
  font-family: var(--f-mono); font-size: 12px; padding: 2px 6px;
}
.burger, .search-toggle { display: none; }

.nav { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.nav .wrap { display: flex; gap: 28px; }
.nav a { padding: 13px 0; font-size: 16px; color: var(--ink); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a.is-active { color: var(--green); font-weight: 600; border-bottom-color: var(--green-light); }

@media (max-width: 1100px) {
  .header .wrap { gap: 20px; }
  .search-hint { display: none; }
  .nav .wrap { gap: 20px; overflow-x: auto; }
  .nav a { white-space: nowrap; }
}

@media (max-width: 900px) {
  .topbar .wrap { min-height: 0; padding-top: 10px; padding-bottom: 10px; font-size: 12px; }
  .topbar-company, .topbar .organic { display: none; }
  .topbar-phone { display: inline; }
  .lang a, .lang span { font-size: 11px; padding: 2px 7px; }

  .header .wrap { flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .logo { flex: 1; }
  .logo img { width: 132px; }
  .callcenter, .cart-label { display: none; }
  .header-actions { gap: 10px; }
  .cart-btn, .burger {
    position: relative; width: 44px; height: 44px; padding: 0; justify-content: center; display: flex;
    border: 1px solid var(--field); border-radius: var(--r-ctl); background: var(--white); cursor: pointer;
  }
  .cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; background: var(--green); color: var(--paper); font-size: 11px; padding: 2px 5px; }
  .burger { flex-direction: column; gap: 4px; align-items: center; }
  .burger span { width: 18px; height: 1.8px; background: var(--ink); display: block; }
  .search { flex: 1 0 100%; order: 3; }
  .search-box { padding: 12px; }

  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav .wrap { flex-direction: column; gap: 0; padding-top: 4px; padding-bottom: 8px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-row); }
  .nav a.is-active { border-bottom-color: var(--line-row); }
}

/* ------------------------------------------------------------------ підвал */

.footer { background: var(--green); color: var(--soft-2); margin-top: 64px; }
.footer .wrap { padding-top: 44px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand > img { width: 178px; height: auto; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; color: var(--footer-text); }
.footer-cert { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 11px; line-height: 1.5; color: var(--footer-text); max-width: 240px; }
.footer-cert img { width: 64px; height: 64px; flex: none; object-fit: contain; background: var(--paper); border-radius: 50%; padding: 2px; }
.footer-cert:hover { color: var(--paper); }
.footer-col { display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.footer-col .label { color: var(--footer-muted); letter-spacing: .08em; }
.footer a { color: var(--soft-2); }
.footer a:hover { color: var(--white); }
.footer-contacts { margin-top: 6px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--footer-text); }
.footer-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(232, 243, 228, .25); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--footer-muted); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 900px) {
  .footer { margin-top: 40px; }
  .footer .wrap { padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand > img { width: 148px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ------------------------------------------------------------------ картка препарату в сітці (макет «Каталог») */

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px;
  display: flex; flex-direction: column; gap: 11px; box-shadow: 0 8px 22px rgba(35, 48, 31, .06);
  transition: border-color .15s;
}
.product-card:hover { border-color: var(--dashed); }
.pc-photo { position: relative; display: block; }
.product-card .photo { height: 150px; }
.product-card .badge-organic { position: absolute; top: 9px; right: 9px; }
.pc-cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }
.product-card .head { display: flex; flex-direction: column; gap: 5px; min-height: 74px; }
.product-card .name { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.product-card a.name:hover { color: var(--green); }
.product-card .sub { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.facts {
  display: grid; grid-template-columns: 84px 1fr; gap: 6px 10px; align-content: start; flex: 1;
  border-top: 1px dotted var(--dotted); border-bottom: 1px dotted var(--dotted); padding: 10px 0; margin: 0;
}
.facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; line-height: 1.5; }
.facts dd { margin: 0; font-size: 13px; color: var(--ink); line-height: 1.45; }
.price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; }
.price { font-family: var(--f-head); font-size: 23px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.2; }
.price-unit { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.product-card .stock { font-size: 11px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { padding: 11px 13px; font-size: 15px; }
.card-actions .btn-primary, .card-actions .btn-buy { flex: 1; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.footnote { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); margin-top: 14px; }

/* сезонні картки на головній — крупніший варіант із макета «Головна» */
.product-card.is-season { padding: 16px; gap: 12px; box-shadow: var(--shadow); }
.product-card.is-season .photo { height: 168px; }
.product-card.is-season .head { gap: 6px; min-height: 82px; }
.product-card.is-season .name { font-size: 22px; }
.product-card.is-season .sub { font-size: 15px; line-height: 1.5; }
.product-card.is-season .facts { grid-template-columns: 108px 1fr; gap: 8px 12px; padding: 12px 0; }
.product-card.is-season .facts dd { font-size: 14px; }
.product-card.is-season .price { font-size: 26px; }
.product-card.is-season .stock { font-size: 12px; }
.product-card.is-season .card-actions { gap: 10px; margin-top: 2px; }
.product-card.is-season .card-actions .btn { padding: 13px 0; }
.product-card.is-season .card-actions .btn-outline { flex: 0 0 168px; }

@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-card { padding: 13px; gap: 10px; box-shadow: none; }
  .product-card .head { min-height: 0; gap: 4px; }
  .facts { border-bottom: 0; padding-bottom: 0; }
  .price { font-size: 22px; }
  .card-actions .btn { padding: 13px; font-size: 15px; }
  .product-card.is-season .photo { height: 150px; }
  .product-card.is-season .card-actions .btn-outline { flex: 0 0 158px; }
}

/* ------------------------------------------------------------------ головна: сезонний перший екран */

.hero { position: relative; height: 540px; overflow: hidden; }
.hero-photo { position: absolute; inset: 0; border-radius: 0; }
.hero-photo.is-placeholder { align-items: flex-start; justify-content: flex-end; padding: 20px 24px; }
.hero-photo .photo-caption { font-size: 12px; padding: 7px 11px; border-radius: var(--r-img); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(95deg, rgba(251,251,248,.97) 0%, rgba(251,251,248,.9) 38%, rgba(251,251,248,.3) 64%, rgba(251,251,248,.02) 86%);
}
.hero-content { position: relative; z-index: 1; padding-top: 72px; }
.hero-content > div { max-width: 700px; }
.hero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-meta .updated { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.hero h1 { margin-top: 22px; font-size: 52px; line-height: 1.14; color: var(--green); }
.hero p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 560px; }
.hero-cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.hero-cta .note { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); max-width: 220px; line-height: 1.5; }
.season-cards { margin-top: 32px; position: relative; }
.hero-mobile-text { display: none; }

@media (max-width: 900px) {
  .hero { height: 300px; }
  .hero::after { background: linear-gradient(180deg, rgba(251,251,248,.05) 30%, rgba(251,251,248,.55) 66%, rgba(251,251,248,.98) 96%); }
  .hero-photo.is-placeholder { align-items: flex-end; justify-content: stretch; padding: 12px 16px; }
  .hero-photo .photo-caption { width: 100%; font-size: 11px; }
  .hero-content { position: absolute; top: 14px; left: 0; right: 0; padding-top: 0; }
  .hero-content h1, .hero-content p, .hero-content .hero-cta, .hero-content .updated { display: none; }
  .hero-content .pill { font-size: 11px; padding: 6px 12px; background: rgba(251,251,248,.95); }
  .hero-mobile-text { display: block; padding-top: 18px; }
  .hero-mobile-text .updated { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); margin-bottom: 8px; }
  .hero-mobile-text h1 { font-size: 31px; line-height: 1.18; color: var(--green); }
  .hero-mobile-text p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }
  .hero-mobile-text .btn { margin-top: 16px; width: 100%; }
  .hero-mobile-text .note { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); margin-top: 10px; }
  .season-cards { margin-top: 22px; }
}

/* ------------------------------------------------------------------ підбір */

.picker {
  display: flex; align-items: flex-end; gap: 16px; background: var(--soft); border: 1px solid #dde7d6;
  border-radius: var(--r-card); padding: 22px 24px;
}
.picker .field { flex: 1; gap: 7px; }
.picker .btn { padding: 14px 30px; }
.picker-title { display: none; font-family: var(--f-head); font-size: 20px; color: var(--green); }
@media (max-width: 900px) {
  .picker { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px; }
  .picker-title { display: block; }
  .picker .field > label { display: none; }
  .picker .btn { padding: 15px 0; }
}

/* ------------------------------------------------------------------ лента BBCH */

.bbch { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.bbch-track { display: grid; grid-template-columns: repeat(var(--phases, 7), 1fr); gap: 12px; }
.bbch-phase {
  display: flex; flex-direction: column; gap: 8px; cursor: pointer; position: relative; text-align: left;
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
}
.bbch-marks { min-height: 54px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.bbch-sil {
  position: relative; height: 118px; border-radius: var(--r-img); border: 1px dashed var(--dashed);
  background: repeating-linear-gradient(135deg, #eff7eb 0 9px, #f7fbf5 9px 18px);
  display: flex; align-items: flex-end; justify-content: center; padding: 8px;
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); text-align: center; line-height: 1.35;
}
.bbch-sil .badge-now { position: absolute; top: 8px; left: 8px; }
.bbch-bar { height: 3px; border-radius: 2px; background: var(--pill-line); }
.bbch-phase.is-active .bbch-bar { background: var(--green); }
.bbch-phase.is-active .bbch-sil { border-style: solid; border-color: var(--green); }
.bbch-code { font-family: var(--f-mono); font-size: 12px; color: var(--ink); }
.bbch-name { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.bbch-phase.is-active .bbch-name { color: var(--green-dark); font-weight: 600; }
.bbch-detail {
  margin-top: 20px; background: var(--soft); border: 1px solid #dde7d6; border-radius: var(--r-ctl);
  padding: 18px 20px; display: flex; gap: 28px; align-items: center;
}
.bbch-detail .head { flex: 0 0 220px; }
.bbch-detail .title { font-family: var(--f-head); font-size: 22px; color: var(--green); line-height: 1.3; }
.bbch-detail .text { flex: 1; font-size: 16px; line-height: 1.6; }
.bbch-detail .products { margin-top: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--green-dark); }
@media (max-width: 1100px) { .bbch-track { overflow-x: auto; grid-template-columns: repeat(var(--phases, 7), minmax(130px, 1fr)); } }
@media (max-width: 900px) {
  .bbch { background: none; border: 0; padding: 0; }
  .bbch-track { display: flex; flex-direction: column; gap: 10px; overflow: visible; }
  .bbch-phase {
    flex-direction: row; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px;
  }
  .bbch-phase.is-active { border-color: var(--green); }
  .bbch-phase .bbch-marks { display: none; }
  .bbch-sil { flex: 0 0 62px; height: 84px; font-size: 9px; padding: 5px; }
  .bbch-sil .badge-now { display: none; }
  .bbch-bar { display: none; }
  .bbch-m { display: flex; flex-direction: column; gap: 6px; flex: 1; }
  .bbch-m .bbch-name { font-family: var(--f-head); font-size: 18px; color: var(--ink); line-height: 1.25; }
  .bbch-m .tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .bbch-detail { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; margin-top: 12px; }
  .bbch-detail .head { flex: none; }
  .bbch-detail .title { font-size: 19px; }
  .bbch-detail .text { font-size: 15px; }
}
@media (min-width: 901px) { .bbch-m .tags, .bbch-m .now-inline { display: none; } .bbch-m { display: contents; } }

/* ------------------------------------------------------------------ плитки культур, задач, болей */

.crop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.crop-tile { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); display: block; color: var(--ink); }
.crop-tile:hover { border-color: var(--green-light); color: var(--ink); }
.crop-tile .photo { height: 132px; border-radius: 0; padding: 9px; }
.crop-tile .photo-caption { font-size: 10px; padding: 4px 7px; }
.crop-tile .body { padding: 14px 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.crop-tile .name { font-family: var(--f-head); font-size: 20px; }
.crop-tile .more { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .crop-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .crop-tile .photo { height: 96px; }
  .crop-tile .body { padding: 10px 12px; }
  .crop-tile .name { font-size: 17px; }
  .crop-tile .more { display: none; }
}

.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.task-tile {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-ctl); padding: 18px; color: var(--ink);
}
.task-tile:hover { border-color: var(--green-light); color: var(--ink); }
.task-tile .num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.task-tile .name { flex: 1; font-size: 17px; }
.task-tile .arrow { color: var(--green); }
@media (max-width: 1100px) { .task-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .task-grid { grid-template-columns: 1fr; gap: 10px; } .task-tile { padding: 15px 14px; } }

.organic-band { border: 1px solid #dde7d6; border-radius: var(--r-card); background: var(--soft) url("../img/leaf-pattern.a3b73fb41189.svg") repeat; padding: 34px; }
.organic-card {
  background: rgba(251,251,248,.95); border: 1px solid var(--line-3); border-radius: var(--r-ctl);
  padding: 30px 32px; display: flex; gap: 32px; align-items: center;
}
.organic-card .badge { flex: 0 0 132px; height: 132px; background: none; border-radius: 0; }
.organic-card .badge > img { object-fit: contain; }
.organic-card .badge.is-placeholder { border: 1px dashed var(--dashed); border-radius: var(--r-ctl); background: repeating-linear-gradient(135deg, #eff7eb 0 9px, #f7fbf5 9px 18px); align-items: center; justify-content: center; text-align: center; }
.organic-card .badge .photo-caption { background: none; border: 0; color: var(--ink-soft); font-size: 10px; }
.organic-card h2 { font-size: 30px; color: var(--green); }
.organic-card p { margin-top: 12px; font-size: 17px; line-height: 1.65; max-width: 780px; }
.organic-card .link-more { display: inline-block; margin-top: 16px; }
@media (max-width: 900px) {
  .organic-band { padding: 14px; }
  .organic-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .organic-card .badge { flex: none; width: 96px; height: 96px; }
  .organic-card h2 { font-size: 24px; }
  .organic-card p { font-size: 16px; }
}

.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.help-card {
  display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 22px; color: var(--ink);
}
.help-card:hover { border-color: var(--green-light); color: var(--ink); }
.help-card .title { font-family: var(--f-head); font-size: 21px; line-height: 1.3; }
.help-card .text { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.help-card .more { font-size: 15px; font-weight: 600; color: var(--green); margin-top: auto; }
@media (max-width: 1100px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .help-grid { grid-template-columns: 1fr; gap: 12px; } .help-card { padding: 18px; } .help-card .title { font-size: 19px; } }

/* ------------------------------------------------------------------ експрес-аудит і зворотний дзвінок */

.audit {
  display: grid; grid-template-columns: 1fr 520px; gap: 40px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px 36px 38px;
}
.audit .kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--clay); }
.audit h2 { margin-top: 12px; font-size: 36px; line-height: 1.2; color: var(--green); }
.audit .text { margin-top: 14px; font-size: 17px; line-height: 1.65; max-width: 480px; }
.audit ul { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-soft); }
.audit li::before { content: "· "; }
.form-panel { background: var(--soft); border: 1px solid #dde7d6; border-radius: var(--r-ctl); padding: 24px; }
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.form-success { display: flex; flex-direction: column; gap: 10px; padding: 24px 4px; }
.form-success .title { font-family: var(--f-head); font-size: 24px; color: var(--green); }
.form-success .text { font-size: 16px; line-height: 1.6; }
.form-fail { font-size: 13px; color: var(--clay); }
@media (max-width: 1100px) { .audit { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .audit { padding: 20px; gap: 18px; }
  .audit h2 { font-size: 26px; margin-top: 10px; }
  .audit .text { font-size: 16px; }
  .form-panel { padding: 16px; }
  .form-row { grid-template-columns: 1fr; }
}

.production { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.production p { margin-top: 14px; font-size: 17px; line-height: 1.7; }
.production .points { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.production .points div { border-top: 2px solid var(--pill-line); padding-top: 10px; font-size: 15px; line-height: 1.5; }
.production .photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 150px; gap: 12px; }
.production .photos .photo:first-child { grid-column: span 2; }
.production .photos .photo.is-placeholder { border: 1px dashed var(--dashed); border-radius: var(--r-ctl); }
.production .photos .photo-caption { background: none; border: 0; padding: 0; }
@media (max-width: 900px) {
  .production { grid-template-columns: 1fr; gap: 18px; }
  .production p { font-size: 16px; }
  .production .points { grid-template-columns: 1fr; gap: 10px; }
  .production .photos { grid-template-rows: 130px 110px; gap: 10px; }
}

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; color: var(--ink); }
.article-card:hover { border-color: var(--green-light); color: var(--ink); }
.article-card .photo { height: 150px; border-radius: 0; }
.article-card .photo-caption { background: none; border: 0; padding: 0; }
.article-card .body { padding: 18px; }
.article-card .meta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; }
.article-card .title { font-family: var(--f-head); font-size: 20px; line-height: 1.35; margin-top: 8px; }
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card { display: flex; }
  .article-card .photo { flex: 0 0 110px; height: auto; min-height: 96px; }
  .article-card .photo-caption { display: none; }
  .article-card .body { padding: 12px 14px; }
  .article-card .title { font-size: 17px; margin-top: 4px; }
}

.callback {
  background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: var(--r-card);
  padding: 32px 36px; display: grid; grid-template-columns: 1fr 460px; gap: 40px; align-items: center;
}
.callback h2 { font-size: 30px; color: var(--green); }
.callback p { margin-top: 10px; font-size: 17px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips a, .chips span { background: var(--paper); border: 1px solid var(--pill-line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--ink); }
.chips a:hover { border-color: var(--green); color: var(--green); }
.callback .input, .callback .select { background: var(--paper); border-color: var(--pill-line); padding: 15px 14px; }
.callback .row { display: flex; gap: 10px; }
.callback .row > * { flex: 1; }
.callback .row .btn { flex: none; padding: 15px 22px; white-space: nowrap; }
.callback .done { background: var(--paper); border: 1px solid var(--pill-line); border-radius: var(--r-ctl); padding: 20px; font-size: 16px; line-height: 1.6; }
@media (max-width: 1100px) { .callback { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 900px) {
  .callback { padding: 20px; }
  .callback h2 { font-size: 23px; }
  .callback p { font-size: 16px; }
  .callback .row { flex-direction: column; }
  .callback .row .btn { padding: 16px 0; }
}

/* ------------------------------------------------------------------ прості сторінки-заглушки (до верстки решти розділів) */
.page-simple { padding-top: 32px; }
.page-simple h1 { font-size: 40px; line-height: 1.15; }
.page-simple .intro { margin-top: 12px; color: var(--ink-soft); max-width: 760px; }
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); padding-top: 20px; }
.crumbs a { color: var(--ink-soft); }
.crumbs span:last-child { color: var(--ink); }

/* ---------- фото упаковки (packshot): цілком, без обрізання ---------- */
.photo.is-packshot { background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.photo.is-packshot > img { object-fit: contain; width: 100%; height: 100%; padding: 8px; }
.product-card .photo.is-packshot { border: 0; border-bottom: 1px solid var(--line); border-radius: var(--r-img) var(--r-img) 0 0; }

/* ---------- текст з CMS ---------- */
.rich { max-width: 760px; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.rich > * + * { margin-top: 14px; }
.rich h3 { font-family: var(--f-head); font-size: 22px; line-height: 1.3; margin-top: 28px; }
.rich h3:first-child { margin-top: 0; }
.rich ul, .rich ol { padding-left: 22px; }
.rich li + li { margin-top: 6px; }
.rich a { text-decoration: underline; text-underline-offset: 3px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
.data-table th, .data-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.data-table th { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-weight: 500; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-img); }

/* ---------- стаття і блог (проміжні) ---------- */
.article { max-width: 820px; padding-top: 24px; }
.article-meta { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-soft); }
.article h1 { font-size: 40px; line-height: 1.15; margin-top: 10px; }
.article-cover { margin-top: 24px; border-radius: var(--r-card); overflow: hidden; }
.article-cover img { width: 100%; height: auto; max-height: 480px; object-fit: cover; display: block; }
.article-body { margin-top: 28px; max-width: none; }
.art-h2 { font-size: 28px; margin-top: 36px; }
.art-h3 { font-size: 22px; margin-top: 28px; }
.art-figure .photo { background: none; }
.art-figure img { width: 100%; height: auto; display: block; border-radius: var(--r-img); }
.art-figure figcaption, .art-table figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); margin-top: 6px; }
.art-quote { border-left: 3px solid var(--green); padding-left: 18px; font-family: var(--f-head); font-size: 20px; }
.art-note { background: var(--soft); border-radius: var(--r-card); padding: 18px 20px; }
.art-steps { padding-left: 22px; }
.art-steps li span { display: block; color: var(--ink-soft); }
.rubrics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
@media (max-width: 900px) { .article h1 { font-size: 30px; } }

/* ------------------------------------------------------------------ спільне */
.mono-note { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.is-green { color: var(--green); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ каталог (макет «Каталог») */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 14px; }
.cat-head-text { max-width: 720px; }
.cat-head h1 { font-size: 40px; line-height: 1.15; }
.cat-head .intro { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.cat-head-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sort-row { display: flex; align-items: center; gap: 10px; }

.sort-menu { position: relative; }
.sort-menu summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 236px;
  border: 1px solid var(--field); background: var(--white); border-radius: var(--r-ctl); padding: 10px 13px; font-size: 15px; cursor: pointer;
}
.sort-menu summary::-webkit-details-marker { display: none; }
.sort-menu summary:hover, .sort-menu[open] summary { border-color: var(--green); }
.chev { width: 7px; height: 7px; border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(45deg); margin-bottom: 3px; flex: 0 0 auto; }
.sort-list {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 246px; z-index: 20; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--dotted); border-radius: var(--r-ctl); box-shadow: var(--shadow-pop); padding: 6px;
}
.sort-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 11px; border-radius: var(--r-img); font-size: 15px; color: var(--ink); }
.sort-list a:hover { background: var(--soft); color: var(--ink); }
.sort-list a.is-active { background: var(--soft-2); color: var(--green-dark); font-weight: 600; }

.cat-bar { display: none; }
.cat-layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 40px; }

.cat-filters {
  display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 18px; position: sticky; top: 16px;
}
.cf-head { display: flex; align-items: center; justify-content: space-between; }
.cf-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; }
.cf-reset { font-family: var(--f-mono); font-size: 12px; }
.cf-group { border: 0; margin: 0; padding: 16px 0 0; border-top: 1px dotted var(--dotted); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cf-head + .cf-group, .cf-head + input + .cf-group, .cf-head + input + input + .cf-group { border-top: 0; padding-top: 0; }
.cf-label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft); text-transform: uppercase; padding: 0; margin-bottom: 10px; }
.cf-check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 3px 0; position: relative; }
.cf-check input, .chip input, .cf-toggle input, .pd-pack input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-check .box { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 4px; border: 1px solid var(--field); background: var(--paper); display: flex; align-items: center; justify-content: center; }
.cf-check input:checked + .box { background: var(--green); border-color: var(--green); }
.cf-check input:checked + .box::after { content: "✓"; color: var(--paper); font-size: 11px; font-weight: 700; }
.cf-check input:focus-visible + .box, .chip input:focus-visible + span, .cf-toggle input:focus-visible ~ .switch, .pd-pack input:focus-visible ~ .size { outline: 2px solid var(--green-light); outline-offset: 2px; }
.cf-check .name { flex: 1; font-size: 15px; line-height: 1.35; }
.cf-check .n { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.chip-set { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: inline-block; background: var(--paper); color: var(--ink); border: 1px solid var(--field); border-radius: 999px; padding: 7px 12px; font-size: 14px; line-height: 1.2; }
.chip:hover span { border-color: var(--green); color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.cf-toggle { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; position: relative; font-size: 15px; line-height: 1.35; }
.switch { width: 46px; height: 26px; border-radius: 999px; background: var(--dotted); padding: 3px; display: flex; flex: 0 0 auto; transition: background-color .15s; }
.switch::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); transition: transform .15s; }
.cf-toggle input:checked ~ .switch { background: var(--green); }
.cf-toggle input:checked ~ .switch::after { transform: translateX(20px); }
.cf-apply { display: none; gap: 8px; }
.cf-apply .btn { flex: 1; padding: 12px; font-size: 15px; }
.cat-filters:not([data-enhanced]) .cf-apply { display: flex; }
.cf-help { gap: 8px; }
.cf-help-title { font-family: var(--f-head); font-size: 16px; font-weight: 600; }
.cf-help-text { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.cf-help .btn { margin-top: 4px; padding: 11px 14px; font-size: 15px; }

.cat-results { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cat-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip-on { display: inline-flex; align-items: center; gap: 8px; background: var(--soft-2); border: 1px solid var(--pill-line); color: var(--green-dark); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
.chip-on:hover { border-color: var(--green); color: var(--green-dark); }
.cat-empty { border: 1px dashed var(--field); border-radius: var(--r-card); padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; color: var(--ink-soft); }
.cat-empty-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--ink); }
.cat-empty .btn { margin-top: 6px; padding: 12px 18px; font-size: 15px; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.pager { display: flex; gap: 6px; }
.pager a, .pager span { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-img); border: 1px solid var(--field); font-family: var(--f-mono); font-size: 13px; color: var(--ink); }
.pager a:hover { border-color: var(--green); color: var(--green); }
.pager .is-current { background: var(--green); border-color: var(--green); color: var(--paper); }

@media (max-width: 1100px) {
  .cat-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
  .cat-head { padding-top: 10px; }
  .cat-head h1 { font-size: 28px; }
  .cat-head .intro { font-size: 15px; margin-top: 10px; }
  .cat-head-tools { display: none; }
  .cat-bar {
    display: flex; gap: 8px; align-items: center; position: sticky; top: 0; z-index: 30; margin-top: 16px; padding: 10px var(--gutter);
    background: rgba(251, 251, 248, .96); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  }
  .cat-bar > * { flex: 1; }
  .cat-bar-btn { display: flex; align-items: center; justify-content: space-between; background: var(--white); border: 1px solid var(--field); border-radius: var(--r-ctl); padding: 11px 13px; font-size: 15px; font-weight: 600; cursor: pointer; }
  .cat-bar .sort-menu summary { min-width: 0; padding: 11px 12px; font-size: 14px; }
  .cat-bar .sort-list { left: 0; min-width: 0; }
  .cat-layout { grid-template-columns: 1fr; padding-top: 0; gap: 0; }
  .cat-filters { display: none; position: static; border: 0; border-radius: 0; background: var(--soft); margin: 0 calc(-1 * var(--gutter)); padding: 16px var(--gutter); border-bottom: 1px solid var(--line-3); gap: 16px; }
  .cat-filters.is-open { display: flex; }
  .cat-filters .cf-head { display: none; }
  .cf-group { border-top: 0; padding-top: 0; }
  .cf-label { margin-bottom: 8px; }
  .cat-filters .cf-check { display: inline-flex; }
  .cat-filters fieldset:first-of-type { flex-direction: row; flex-wrap: wrap; gap: 7px; }
  .cat-filters fieldset:first-of-type .cf-label { width: 100%; margin-bottom: 0; }
  .cat-filters .cf-check { padding: 0; }
  .cat-filters .cf-check .box, .cat-filters .cf-check .n { display: none; }
  .cat-filters .cf-check .name { border: 1px solid var(--field); background: var(--paper); border-radius: 999px; padding: 8px 13px; font-size: 14px; }
  .cat-filters .cf-check input:checked ~ .name { background: var(--green); border-color: var(--green); color: var(--paper); }
  .chip span { padding: 8px 13px; }
  .cat-filters .cf-apply { display: flex; }
  .cf-help { display: none; }
  .cat-results { padding-top: 16px; }
  .cat-foot { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------------ картка товару (макет «Картка товару») */
.pd-top { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 36px; align-items: start; padding-top: 22px; }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }
.pd-main { position: relative; height: 460px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--white); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-main.is-placeholder { background: repeating-linear-gradient(135deg, #e4f0df 0 12px, #f1f8ed 12px 24px); align-items: flex-end; justify-content: flex-start; padding: 14px; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pd-main .badge-organic { position: absolute; top: 14px; left: 14px; font-size: 11px; padding: 5px 10px; }
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumb { flex: 1; max-width: 25%; height: 92px; border-radius: var(--r-img); border: 1px solid var(--line); background: var(--white); cursor: pointer; padding: 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pd-thumb img { flex: 1; min-height: 0; width: 100%; object-fit: contain; }
.pd-thumb span { font-family: var(--f-mono); font-size: 10px; color: var(--ink-soft); }
.pd-thumb:hover { border-color: var(--dashed); }
.pd-thumb.is-active { border: 2px solid var(--green); padding: 5px; }

.pd-info { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pd-heading { display: flex; flex-direction: column; gap: 10px; }
.pd-heading .label { letter-spacing: .05em; }
.pd-heading h1 { font-size: 40px; line-height: 1.12; }
.pd-lead { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.pd-facts { display: grid; grid-template-columns: 132px 1fr; gap: 10px 14px; border-top: 1px dotted var(--dotted); border-bottom: 1px dotted var(--dotted); padding: 14px 0; margin: 0; }
.pd-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; line-height: 1.5; }
.pd-facts dd { margin: 0; font-size: 15px; line-height: 1.45; }

.pd-packs { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-packs legend { padding: 0; margin-bottom: 10px; letter-spacing: .05em; }
.pd-pack-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-pack {
  flex: 1 1 0; min-width: 96px; position: relative; display: flex; flex-direction: column; gap: 3px; cursor: pointer;
  border: 1px solid var(--field); background: var(--white); border-radius: var(--r-ctl); padding: 12px 13px;
}
.pd-pack:hover { border-color: var(--green); }
.pd-pack .size { font-size: 16px; font-weight: 600; }
.pd-pack .per { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.pd-pack:has(input:checked) { border: 2px solid var(--green); background: var(--soft-2); padding: 11px 12px; }
.pd-pack:has(input:checked) .size, .pd-pack:has(input:checked) .per { color: var(--green-dark); }

.pd-buy { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.pd-buy-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pd-total { font-family: var(--f-head); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pd-stock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pd-buy-actions { display: flex; gap: 10px; align-items: stretch; }
.stepper { display: flex; align-items: stretch; border: 1px solid var(--field); border-radius: var(--r-ctl); overflow: hidden; background: var(--white); }
.stepper button { width: 44px; background: var(--paper); border: 0; font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:hover { color: var(--green); }
.stepper button:first-child { border-right: 1px solid var(--line-2); }
.stepper button:last-child { border-left: 1px solid var(--line-2); }
.stepper input { width: 56px; border: 0; text-align: center; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; background: transparent; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-add { flex: 1; font-size: 17px; padding: 15px; }
.pd-oneclick { padding: 15px 18px; font-weight: 400; }
.pd-buy-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px dotted var(--dotted); padding-top: 12px; font-size: 14px; color: var(--ink-soft); }
.pd-boxes { display: flex; gap: 12px; }
.pd-box { flex: 1; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; font-size: 15px; }

.pd-tabs { padding-top: 40px; }
.pd-tablist { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); overflow-x: auto; }
.pd-tablist button { background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 12px 16px; font-size: 16px; color: var(--ink); cursor: pointer; white-space: nowrap; }
.pd-tablist button:hover { color: var(--green); }
.pd-tablist button[aria-selected="true"] { border-bottom-color: var(--green-light); color: var(--green); font-weight: 600; }
.pd-tablist .short { display: none; }
.pd-tablist:not([data-ready]) { display: none; }
.pd-panel { padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.pd-panel + .pd-panel { margin-top: 24px; }
.pd-tablist[data-ready] ~ .pd-panel + .pd-panel { margin-top: 0; }
.pd-panel.has-aside, .pd-compo { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.pd-h3 { font-family: var(--f-head); font-size: 24px; font-weight: 600; margin-bottom: 14px; }
.pd-panel .rich { color: var(--ink-2); }
.pd-steps, .pd-compat { border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 12px; }
.pd-compat { background: var(--white); }
.pd-steps-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.pd-steps ol { list-style: none; padding: 0; margin: 0; counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.pd-steps li { counter-increment: step; display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.pd-steps li::before { content: counter(step); width: 26px; height: 26px; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: var(--paper); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; }
.norms-table { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.nt-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.6fr; border-bottom: 1px solid var(--line-row); font-size: 15px; }
.nt-row:last-child { border-bottom: 0; }
.nt-row span { padding: 13px 16px; }
.nt-head { background: var(--soft); border-bottom: 1px solid var(--line-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-soft); text-transform: uppercase; }
.nt-head span { padding: 12px 16px; }
.nt-crop { font-weight: 600; }
.nt-note { color: var(--ink-soft); }
.compo-list { display: grid; grid-template-columns: 1fr auto; margin: 0; }
.compo-list dt, .compo-list dd { border-bottom: 1px dotted var(--dotted); padding: 9px 0; margin: 0; }
.compo-list dt { font-size: 15px; color: var(--ink-2); }
.compo-list dd { font-family: var(--f-mono); font-size: 13px; text-align: right; padding-left: 16px; }
.pd-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-card { border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; background: var(--white); display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.doc-card:hover { border-color: var(--green); color: var(--ink); }
.doc-icon { width: 34px; height: 42px; border: 1.6px solid var(--green); border-radius: 4px; }
.doc-name { font-family: var(--f-head); font-size: 18px; font-weight: 600; }

.pd-cta { margin-top: 44px; background: var(--green); border-radius: var(--r-card); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pd-cta > div { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.pd-cta-title { font-family: var(--f-head); font-size: 26px; font-weight: 600; color: var(--paper); }
.pd-cta-text { font-size: 16px; line-height: 1.6; color: #c7e2c0; }
.pd-cta-btn { background: var(--paper); color: var(--green-dark); white-space: nowrap; }
.pd-cta-btn:hover { background: var(--soft-2); color: var(--green-dark); }

.pd-related { padding: 44px 0 48px; display: flex; flex-direction: column; gap: 18px; }
.pd-related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pd-related-head .pd-h3 { margin: 0; font-size: 26px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mini-card .photo { height: 130px; }
.mini-name { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); min-height: 50px; line-height: 1.3; }
.mini-name:hover { color: var(--green); }
.mini-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-top: 1px dotted var(--dotted); padding-top: 10px; margin-top: auto; }
.mini-price .price { font-size: 21px; }
.mini-price .stock { font-size: 11px; }
.mini-card .btn { padding: 11px; font-size: 15px; }

/* діалоги заявок */
.lead-dialog { border: 0; border-radius: var(--r-card); padding: 28px; width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow-pop); background: var(--paper); color: var(--ink); }
.lead-dialog::backdrop { background: rgba(35, 48, 31, .45); }
.lead-dialog h2 { font-family: var(--f-head); font-size: 24px; padding-right: 32px; }
.dialog-text { margin: 8px 0 18px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--field); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 14px; }
.dialog-close:hover { border-color: var(--green); color: var(--green); }
.lead-dialog .form-stack { gap: 10px; }
.lead-dialog .done { background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: var(--r-ctl); padding: 18px; font-size: 16px; line-height: 1.55; }
.oc-line { display: flex; justify-content: space-between; gap: 12px; background: var(--soft); border-radius: var(--r-ctl); padding: 12px 14px; font-size: 15px; }
.oc-line b { font-family: var(--f-head); white-space: nowrap; }

@media (max-width: 1100px) {
  .pd-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .pd-main { height: 400px; }
  .pd-buy-actions { flex-wrap: wrap; }
  .pd-oneclick { flex: 1 0 100%; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pd-top { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; }
  .pd-main { height: 300px; }
  .pd-thumb { height: 72px; }
  .pd-heading h1 { font-size: 28px; }
  .pd-lead { font-size: 15px; }
  .pd-facts { grid-template-columns: 108px 1fr; gap: 8px 12px; }
  .pd-facts dd { font-size: 14px; }
  .pd-pack-list { gap: 8px; }
  .pd-pack { padding: 11px; min-width: 80px; }
  .pd-pack .size { font-size: 15px; }
  .pd-pack .per { font-size: 10px; }
  .pd-buy { padding: 14px; gap: 12px; box-shadow: none; }
  .pd-total { font-size: 28px; }
  .pd-buy-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pd-stock { align-items: flex-start; }
  .pd-stock .mono-note { display: none; }
  .stepper button { height: 48px; }
  .stepper input { width: 46px; font-size: 16px; }
  .pd-add { font-size: 16px; padding: 14px; }
  .pd-buy-foot { font-size: 13px; }
  .pd-boxes { flex-direction: column; }
  .pd-tabs { padding-top: 22px; }
  .pd-tablist button { padding: 11px 8px; font-size: 14px; }
  .pd-tablist .long { display: none; }
  .pd-tablist .short { display: inline; }
  .pd-panel { padding-top: 16px; }
  .pd-panel.has-aside, .pd-compo { grid-template-columns: 1fr; gap: 16px; }
  .pd-h3 { font-size: 21px; }
  .nt-head { display: none; }
  .nt-row { grid-template-columns: 1fr 1fr; padding: 10px 0; }
  .nt-row span { padding: 4px 14px; }
  .nt-crop, .nt-note { grid-column: 1 / -1; }
  .nt-row [data-k]::before { content: attr(data-k) " · "; font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; }
  .pd-docs { grid-template-columns: 1fr; }
  .pd-cta { flex-direction: column; align-items: stretch; padding: 18px; gap: 14px; margin-top: 28px; }
  .pd-cta-title { font-size: 20px; }
  .pd-cta-text { font-size: 14px; }
  .pd-related { padding: 28px 0 32px; }
  .pd-related-head .pd-h3 { font-size: 21px; }
  .mini-grid { grid-template-columns: 1fr; gap: 10px; }
  .mini-card { display: grid; grid-template-columns: 84px 1fr auto; grid-template-rows: auto auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px; }
  .mini-card .mini-photo { grid-row: 1 / 4; }
  .mini-card .photo { height: 84px; }
  .mini-card .pc-cat { grid-column: 2; }
  .mini-name { grid-column: 2; min-height: 0; font-size: 16px; }
  .mini-price { grid-column: 2; border: 0; padding: 0; }
  .mini-price .price { font-size: 16px; }
  .mini-price .price-unit, .mini-price .stock { display: none; }
  .mini-card .btn { grid-column: 3; grid-row: 1 / 4; padding: 10px 12px; font-size: 14px; }
  .lead-dialog { padding: 22px 18px; }
}

/* ------------------------------------------------------------------ кошик і оформлення (макет «Кошик і оформлення») */
.cart-page { padding-bottom: 48px; }
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 14px; margin-bottom: 24px; }
.cart-head h1 { font-size: 40px; }
.cart-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 22px 28px; align-items: start;
  grid-template-areas: "lines side" "form side";
}
.cart-lines { grid-area: lines; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.cart-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) 152px 132px 36px; gap: 18px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line-row); }
.cart-line .photo { width: 96px; height: 96px; border-radius: var(--r-img); }
.cl-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cl-name { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.cl-name:hover { color: var(--green); }
.cl-stepper { width: 152px; }
.cl-stepper button { width: 46px; height: 46px; flex: 0 0 auto; }
.cl-qty { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cl-sum { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.cl-total { font-family: var(--f-head); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cl-remove { width: 36px; height: 36px; border: 1px solid var(--line-2); background: var(--paper); border-radius: var(--r-img); cursor: pointer; color: var(--ink-soft); font-size: 15px; }
.cl-remove:hover { border-color: var(--error); color: var(--error); }
.cart-lines-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-size: 15px; }
.cl-clear { background: transparent; border: 0; padding: 0; cursor: pointer; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.cl-clear:hover { color: var(--error); }
.cart-lines.is-busy { opacity: .6; pointer-events: none; transition: opacity .15s; }

.cart-side { grid-area: side; align-self: stretch; }
.cart-side-sticky { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 16px; }
.cart-sum { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.cs-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.cs-rows { display: flex; flex-direction: column; gap: 10px; }
.cs-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.cs-rows .is-green { color: var(--green); }
.cs-k { color: var(--ink-soft); }
.cs-total { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.cs-amount { font-family: var(--f-head); font-size: 34px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }
.cs-submit { padding: 16px; font-size: 17px; }
.cs-error { font-family: var(--f-mono); font-size: 12px; color: var(--error); line-height: 1.5; }
.cs-note { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.cart-hint { border: 1px dashed var(--dashed); border-radius: var(--r-card); padding: 16px; background: var(--soft); display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 16px; }
.cart-hint-title { font-family: var(--f-head); font-size: 17px; font-weight: 600; color: var(--green-dark); }
.cart-trust { list-style: none; margin: 0; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; background: var(--white); display: flex; flex-direction: column; gap: 10px; }
.cart-trust li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cart-trust li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green-light); margin-top: 7px; }

.co-form { grid-area: form; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.co-form h2 { font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.co-form .label { letter-spacing: .05em; }
.co-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.co-group legend { padding: 0; margin-bottom: 12px; }
.co-sep { border-top: 1px dotted var(--dotted); padding-top: 18px; }
.co-tiles { display: flex; gap: 10px; }
.co-tile { flex: 1; position: relative; cursor: pointer; }
.co-tile input, .co-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-tile span { display: block; text-align: center; border: 1px solid var(--field); background: var(--paper); border-radius: var(--r-ctl); padding: 14px; font-size: 15px; }
.co-tile:hover span { border-color: var(--green); }
.co-tile input:checked + span { border: 2px solid var(--green); background: var(--soft-2); padding: 13px; font-weight: 600; color: var(--green-dark); }
.co-tile input:focus-visible + span, .co-option input:focus-visible ~ .co-radio { outline: 2px solid var(--green-light); outline-offset: 2px; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-field { display: flex; flex-direction: column; gap: 6px; }
.co-field .input, .co-field .textarea { background: var(--paper); }
.co-error { font-family: var(--f-mono); font-size: 11px; color: var(--error); }
.input.is-invalid { border-color: var(--error); }
.if-company { display: none; }
.co-form:has(input[name="buyer_type"][value="company"]:checked) .if-company { display: flex; }
.co-option { position: relative; display: flex; align-items: center; gap: 14px; cursor: pointer; border: 1px solid var(--field); background: var(--paper); border-radius: var(--r-ctl); padding: 14px 16px; }
.co-option:hover { border-color: var(--green); }
.co-radio { width: 18px; height: 18px; flex: 0 0 auto; border-radius: 50%; border: 1.6px solid var(--field); background: var(--white); }
.co-option-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.co-option-name { font-size: 15px; font-weight: 600; }
.co-option-note, .co-option-cost { font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.co-option-cost { font-size: 13px; white-space: nowrap; }
.co-option:has(input:checked) { border: 2px solid var(--green); background: var(--soft-2); padding: 13px 15px; }
.co-option:has(input:checked) .co-radio { border: 5px solid var(--green); background: var(--paper); }
.co-option:has(input:checked) :is(.co-option-name, .co-option-note, .co-option-cost) { color: var(--green-dark); }
.co-pay { border: 2px solid var(--green); background: var(--soft-2); border-radius: var(--r-ctl); padding: 13px 15px; display: flex; flex-direction: column; gap: 4px; }
.co-pay-name { font-size: 15px; font-weight: 600; color: var(--green-dark); }
.co-pay-note { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.co-mobile-submit { display: none; }
.cart-empty { margin-bottom: 20px; }

.order-done { max-width: 640px; padding-top: 60px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.od-check { width: 64px; height: 64px; border-radius: 50%; background: var(--soft-2); border: 1px solid var(--pill-line); color: var(--green); font-size: 28px; display: flex; align-items: center; justify-content: center; }
.order-done h1 { font-size: 38px; }
.order-done p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.od-box { width: 100%; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); padding: 18px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.od-box > div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.od-box .is-green { color: var(--green); }
.od-k { color: var(--ink-soft); }
.od-sum { border-top: 1px solid var(--line-2); padding-top: 10px; }
.od-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

@media (max-width: 1100px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr) auto 36px; grid-template-areas: "ph info info rm" "ph step sum rm"; row-gap: 12px; }
  .cart-line .photo { width: 80px; height: 80px; }
  .cl-photo { grid-area: ph; } .cl-info { grid-area: info; } .cl-stepper { grid-area: step; } .cl-sum { grid-area: sum; } .cl-remove { grid-area: rm; align-self: start; }
}
@media (max-width: 900px) {
  .cart-page { padding-bottom: 28px; }
  .cart-head { flex-direction: column; align-items: flex-start; gap: 4px; padding-top: 10px; margin-bottom: 16px; }
  .cart-head h1 { font-size: 28px; }
  .cart-layout { grid-template-columns: 1fr; grid-template-areas: "lines" "side" "form"; gap: 16px; }
  .cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "ph info rm" "step step sum"; gap: 10px 12px; padding: 14px; }
  .cl-remove { justify-self: end; }
  .cl-sum .mono-note { white-space: nowrap; }
  .cart-line .photo { width: 64px; height: 64px; }
  .cl-name { font-size: 17px; }
  .cl-info .stock { display: none; }
  .cl-stepper { width: 132px; }
  .cl-stepper button { width: 40px; height: 40px; }
  .cl-total { font-size: 18px; }
  .cl-remove { width: 32px; height: 32px; }
  .cart-lines-foot { padding: 12px 14px; font-size: 14px; }
  .cart-side-sticky { position: static; }
  .cart-sum { box-shadow: none; padding: 16px; gap: 10px; background: var(--soft); }
  .cs-title, .cs-submit, .cart-sum .cs-note, .cart-sum .cs-error, .cart-trust { display: none; }
  .cs-amount { font-size: 26px; }
  .cart-hint { margin-top: 12px; padding: 12px 14px; }
  .co-form { padding: 16px; gap: 16px; }
  .co-form h2 { font-size: 22px; }
  .co-fields { grid-template-columns: 1fr; gap: 12px; }
  .co-tile span { padding: 12px 8px; font-size: 14px; }
  .co-tile input:checked + span { padding: 11px 7px; }
  .co-option { padding: 12px; gap: 10px; }
  .co-option:has(input:checked) { padding: 11px; }
  .co-option-note { display: none; }
  .co-option:has(input:checked) .co-option-note { display: block; font-family: var(--f-body, inherit); font-size: 13px; line-height: 1.45; }
  .co-mobile-submit { display: flex; flex-direction: column; gap: 8px; }
  .co-mobile-submit .btn { padding: 15px; font-size: 16px; }
  .order-done { padding-top: 32px; padding-bottom: 40px; }
  .order-done h1 { font-size: 26px; }
  .order-done p { font-size: 15px; }
  .od-actions .btn { flex: 1 1 100%; }
}

/* легенда fieldset — звичайний рядок над вмістом, а не «врізка» в рамку */
.cf-group > legend, .co-group > legend, .pd-packs > legend { float: left; width: 100%; margin-bottom: 0; }

/* ------------------------------------------------------------------ спільне для «Задач» і «Органіки» */
.dot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.dot-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.dot-list li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green-light); margin-top: 8px; }
.tk-pill { font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; color: var(--green); background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: 999px; padding: 5px 11px; align-self: flex-start; }

/* ------------------------------------------------------------------ «Задачі» (макет «Задачі») */
.tasks-page { padding-bottom: 48px; }
.tk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-top: 16px; }
.tk-head > div { max-width: 720px; }
.tk-head h1 { font-size: 40px; line-height: 1.14; }
.tk-head .intro { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.tk-head .btn { white-space: nowrap; }
.tk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 28px; }
.tk-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-card); padding: 17px; display: flex; flex-direction: column; gap: 7px; color: var(--ink); }
.tk-card:hover { border-color: var(--dashed); color: var(--ink); }
.tk-card.is-active { border: 2px solid var(--green); background: var(--soft-2); padding: 16px; }
.tk-when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-soft); text-transform: uppercase; }
.tk-name { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.25; }
.tk-short { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.tk-card.is-active :is(.tk-when, .tk-name, .tk-short) { color: var(--green-dark); }

.tk-detail { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; scroll-margin-top: 16px; }
.tk-about, .tk-products { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tk-about h2 { font-family: var(--f-head); font-size: 30px; font-weight: 600; line-height: 1.2; margin-top: -6px; }
.tk-text { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.tk-block { display: flex; flex-direction: column; gap: 9px; border-top: 1px dotted var(--dotted); padding-top: 16px; }
.tk-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px dotted var(--dotted); padding-top: 16px; margin: 0; }
.tk-facts div { display: flex; flex-direction: column; gap: 3px; }
.tk-facts dd { margin: 0; font-size: 15px; line-height: 1.4; }
.tk-risk { border: 1px dashed var(--dashed); border-radius: var(--r-ctl); padding: 14px; background: var(--soft); display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.tk-risk .label { color: var(--green-dark); }
.tk-products { gap: 12px; }
.tk-products-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; }
.tk-product { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; gap: 16px; align-items: center; background: var(--paper); }
.tk-photo { flex: 0 0 auto; }
.tk-photo .photo { width: 84px; height: 84px; border-radius: var(--r-img); }
.tk-product-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tk-product-name { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tk-product-name:hover { color: var(--green); }
.tk-role { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.tk-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font-family: var(--f-mono); font-size: 12px; }
.tk-meta .is-green { color: var(--green-dark); }
.tk-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.tk-price { font-family: var(--f-head); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-buy .btn { margin-top: 4px; padding: 10px 16px; font-size: 15px; }
.tk-more { font-size: 15px; align-self: flex-start; }
.tk-how { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; background: var(--white); display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.tk-how-title { font-family: var(--f-head); font-size: 18px; font-weight: 600; color: var(--ink); }

.tk-pick { margin-top: 44px; background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.tk-pick-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.tk-pick-head > div { max-width: 640px; display: flex; flex-direction: column; gap: 6px; }
.tk-pick-head h2 { font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.tk-pick-head p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.tk-pick-head .mono-note { white-space: nowrap; }
.pick-chip { background: var(--white); color: var(--ink); border: 1px solid var(--field); border-radius: 999px; padding: 9px 15px; font-size: 15px; }
.pick-chip:hover { border-color: var(--green); color: var(--green); }
.pick-chip.is-active { background: var(--green); border-color: var(--green); color: var(--paper); }
.tk-pick-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tk-pick-text { display: flex; flex-direction: column; gap: 5px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); max-width: 760px; }
.tk-pick-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--ink); }
.tk-pick-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.tk-pick-actions .btn { padding: 13px 18px; font-size: 15px; }

@media (max-width: 1100px) {
  .tk-grid { grid-template-columns: repeat(2, 1fr); }
  .tk-detail { grid-template-columns: 1fr; }
  .tk-pick-card { flex-direction: column; align-items: stretch; }
}
@media (max-width: 900px) {
  .tasks-page { padding-bottom: 28px; }
  .tk-head { flex-direction: column; align-items: stretch; gap: 14px; padding-top: 10px; }
  .tk-head h1 { font-size: 28px; }
  .tk-head .intro { font-size: 15px; margin-top: 10px; }
  .tk-grid { display: flex; overflow-x: auto; gap: 10px; padding: 18px var(--gutter) 4px; margin: 0 calc(-1 * var(--gutter)); scroll-snap-type: x mandatory; scrollbar-width: none; }
  .tk-grid::-webkit-scrollbar { display: none; }
  .tk-card { flex: 0 0 210px; scroll-snap-align: start; padding: 13px; }
  .tk-card.is-active { padding: 12px; }
  .tk-name { font-size: 17px; }
  .tk-short { font-size: 13px; }
  .tk-detail { margin-top: 16px; padding: 16px; gap: 20px; }
  .tk-about h2 { font-size: 24px; }
  .tk-text { font-size: 15px; }
  .tk-product { flex-wrap: wrap; padding: 12px; gap: 12px; }
  .tk-photo .photo { width: 64px; height: 64px; }
  .tk-product-name { font-size: 17px; }
  .tk-buy { flex: 1 1 100%; flex-direction: row; align-items: center; gap: 10px; border-top: 1px dotted var(--dotted); padding-top: 10px; }
  .tk-buy .mono-note { flex: 1; }
  .tk-buy .btn { margin: 0; }
  .tk-price { font-size: 19px; }
  .tk-pick { margin-top: 28px; padding: 16px; }
  .tk-pick-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tk-pick-head h2 { font-size: 21px; }
  .pick-chip { padding: 8px 13px; font-size: 14px; }
  .tk-pick-title { font-size: 19px; }
  .tk-pick-actions .btn { flex: 1; padding: 12px; }
}

/* ------------------------------------------------------------------ «Органічне землеробство» */
.og-hero { position: relative; min-height: 420px; overflow: hidden; display: flex; }
.og-hero-bg { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #dfe9d8 0 12px, #edf3e8 12px 24px); }
.og-hero-img { width: 100%; height: 100%; object-fit: cover; }
.og-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(251,251,248,.97) 0%, rgba(251,251,248,.9) 42%, rgba(251,251,248,.25) 70%, rgba(251,251,248,.02) 90%); }
.og-hero-caption { position: absolute; right: 20px; top: 18px; z-index: 1; font-family: var(--f-mono); font-size: 12px; color: var(--green); background: rgba(251,251,248,.9); border: 1px dashed var(--dashed); border-radius: var(--r-img); padding: 7px 11px; }
.og-hero-inner { position: relative; width: 100%; padding-bottom: 40px; }
.og-hero-inner > * { max-width: 760px; }
.og-badges { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.og-badge { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--green); background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: 999px; padding: 7px 14px; }
.og-hero h1 { margin-top: 20px; font-size: 46px; line-height: 1.13; color: var(--green); }
.og-intro { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 640px; }
.og-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.og-actions .btn { padding: 15px 24px; font-size: 16px; }
.og-actions .btn-outline { background: rgba(251,251,248,.8); }

.og-page { padding-bottom: 48px; }
.og-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 32px; }
.og-kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 5px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.og-kpi-n { font-family: var(--f-head); font-size: 30px; font-weight: 600; color: var(--green); line-height: 1.2; }
.og-page h2 { font-family: var(--f-head); font-size: 32px; font-weight: 600; }
.og-about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; padding-top: 44px; }
.og-about-text { display: flex; flex-direction: column; gap: 14px; }
.og-about-text .rich { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.og-checks { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.og-checks li { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 14px; background: var(--white); }
.og-checks li > span:last-child { display: flex; flex-direction: column; gap: 3px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.og-checks b { font-size: 16px; color: var(--ink); }
.og-tick { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; background: var(--soft-2); border: 1px solid var(--pill-line); color: var(--green); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.og-side { display: flex; flex-direction: column; gap: 14px; }
.og-docs { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.og-docs-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.og-doc { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 13px; background: var(--paper); color: var(--ink); }
.og-doc:hover { border-color: var(--green); color: var(--ink); }
.og-doc .doc-icon { width: 28px; height: 34px; flex: 0 0 auto; }
.og-doc-text { display: flex; flex-direction: column; gap: 2px; }
.og-doc-name { font-size: 15px; font-weight: 600; }
.og-batch { border: 1px dashed var(--dashed); border-radius: var(--r-card); padding: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.og-batch-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--green-dark); }
.og-batch .btn { margin-top: 4px; padding: 12px; font-size: 15px; }

.og-allowed { padding-top: 48px; display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 16px; }
.og-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.og-section-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 8px; }
.og-section-head p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.og-section-head a { font-size: 15px; white-space: nowrap; }
.og-table { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.og-row { display: grid; grid-template-columns: 1.1fr 1.6fr 0.9fr 0.9fr 140px; align-items: center; border-bottom: 1px solid var(--line-row); font-size: 15px; }
.og-row:last-child { border-bottom: 0; }
.og-row > * { padding: 14px 16px; }
.og-row-head { background: var(--soft); border-bottom: 1px solid var(--line-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-soft); text-transform: uppercase; }
.og-row-head > * { padding: 12px 16px; }
.og-name { font-family: var(--f-head); font-size: 18px; font-weight: 600; color: var(--ink); }
.og-name:hover { color: var(--green); }
.og-task { color: var(--ink-2); line-height: 1.45; }
.og-rate { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.og-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.og-price .mono-note { font-weight: 400; }
.og-row .btn { width: 100%; padding: 10px; font-size: 14px; }

.og-steps { padding-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.og-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.og-step { border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; background: var(--white); display: flex; flex-direction: column; gap: 9px; }
.og-step-title { font-family: var(--f-head); font-size: 21px; font-weight: 600; line-height: 1.25; }
.og-step-text { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.og-step-products { font-family: var(--f-mono); font-size: 12px; color: var(--green-dark); border-top: 1px dotted var(--dotted); padding-top: 10px; margin-top: auto; }

.og-faq-wrap { margin-top: 48px; background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.og-faq { display: flex; flex-direction: column; gap: 12px; }
.og-faq h2 { font-size: 28px; }
.og-q { border-bottom: 1px dotted var(--field); padding-bottom: 12px; }
.og-q summary { font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.og-q summary::-webkit-details-marker { display: none; }
.og-q summary::after { content: "+"; font-family: var(--f-mono); color: var(--green); }
.og-q[open] summary::after { content: "−"; }
.og-q p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.og-consult { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.og-consult-text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.og-consult .input, .og-consult .textarea { background: var(--paper); }
.og-done { background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: var(--r-ctl); padding: 14px; font-size: 15px; line-height: 1.55; color: var(--green-dark); }
.og-cta { margin-top: 48px; }

@media (max-width: 1100px) {
  .og-about { grid-template-columns: 1fr; gap: 24px; }
  .og-row { grid-template-columns: 1fr 1.4fr 0.8fr 0.9fr 120px; }
}
@media (max-width: 900px) {
  .og-hero { min-height: 0; }
  .og-hero-bg::after { background: linear-gradient(180deg, rgba(251,251,248,.86) 0%, rgba(251,251,248,.96) 60%); }
  .og-hero-caption { display: none; }
  .og-hero-inner { padding-bottom: 26px; }
  .og-badges { margin-top: 14px; flex-wrap: wrap; gap: 8px; }
  .og-hero h1 { margin-top: 14px; font-size: 28px; }
  .og-intro { font-size: 15px; margin-top: 10px; }
  .og-actions { margin-top: 18px; gap: 10px; }
  .og-actions .btn { flex: 1 1 100%; padding: 14px; }
  .og-page { padding-bottom: 28px; }
  .og-kpis { grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 20px; }
  .og-kpi:first-child { grid-column: 1 / -1; }
  .og-kpi-n { font-size: 24px; }
  .og-page h2 { font-size: 24px; }
  .og-about { padding-top: 32px; }
  .og-about-text .rich { font-size: 15px; }
  .og-docs-title { font-size: 19px; }
  .og-allowed { padding-top: 32px; }
  .og-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .og-section-head p { font-size: 15px; }
  .og-table { border: 0; background: transparent; display: flex; flex-direction: column; gap: 10px; overflow: visible; }
  .og-row-head { display: none; }
  .og-row { grid-template-columns: 1fr auto; grid-template-areas: "name name" "task task" "rate rate" "price btn"; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); padding: 12px 14px; gap: 4px 12px; }
  .og-row:last-child { border-bottom: 1px solid var(--line); }
  .og-row > * { padding: 0; }
  .og-name { grid-area: name; font-size: 17px; }
  .og-task { grid-area: task; font-size: 14px; color: var(--ink-soft); }
  .og-rate { grid-area: rate; font-family: var(--f-mono); font-size: 12px; color: var(--green-dark); }
  .og-rate::before { content: attr(data-k) " "; }
  .og-price { grid-area: price; padding-top: 8px; }
  .og-row > span:last-child { grid-area: btn; padding-top: 8px; }
  .og-row .btn { width: auto; padding: 10px 16px; }
  .og-steps { padding-top: 32px; }
  .og-step-grid { grid-template-columns: 1fr; gap: 10px; }
  .og-step-title { font-size: 19px; }
  .og-faq-wrap { grid-template-columns: 1fr; padding: 16px; margin-top: 32px; gap: 20px; }
  .og-faq h2 { font-size: 22px; }
  .og-consult { padding: 16px; }
  .og-cta { margin-top: 32px; }
}

/* ------------------------------------------------------------------ «Про нас» і «Контакти» */

.ab-page { padding-bottom: 48px; }
.ab-page h2 { font-family: var(--f-head); font-size: 32px; font-weight: 600; }
.ab-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; padding-top: 16px; }
.ab-hero-text { display: flex; flex-direction: column; gap: 16px; }
.ab-hero h1 { font-size: 44px; line-height: 1.13; }
.ab-body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.ab-body p + p { margin-top: 12px; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.ab-media { position: relative; height: 380px; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden;
  background: repeating-linear-gradient(135deg, #e4f0df 0 12px, #f1f8ed 12px 24px); }
.ab-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-media iframe, .ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ab-play { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; gap: 12px; padding: 14px; border: 0;
  background: transparent; cursor: pointer; text-align: left; font-size: 15px; font-weight: 600; color: var(--green-dark); }
.ab-play > span:last-child { background: rgba(251,251,248,.94); border: 1px dashed var(--dashed); border-radius: 8px; padding: 7px 10px; }
.ab-play-icon { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--green); box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: background-color .15s, transform .15s; }
.ab-play-icon::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--paper);
  border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.ab-play:hover .ab-play-icon { background: var(--ink); transform: scale(1.05); }
.ab-play:focus-visible { outline: 2px solid var(--green-light); outline-offset: -4px; }
.ab-kpis { grid-template-columns: repeat(4, 1fr); padding-top: 36px; }
.ab-section { padding-top: 48px; display: flex; flex-direction: column; gap: 18px; }
.ab-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-step { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.ab-step-photo { height: 128px; border-radius: 0; }
.ab-step-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.ab-step-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.25; }
.ab-step-text { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.ab-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.ab-col { display: flex; flex-direction: column; gap: 14px; }
.ab-event { display: grid; grid-template-columns: 76px 1fr; gap: 16px; border-bottom: 1px dotted var(--dotted); padding-bottom: 13px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ab-year { font-family: var(--f-mono); font-size: 14px; color: var(--green); font-weight: 500; }
.ab-values { display: flex; flex-direction: column; gap: 14px; }
.ab-twin.is-single { grid-template-columns: 1fr; }
.ab-twin.is-single .ab-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-value { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; background: var(--white); display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.ab-value-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.ab-page .pd-cta { margin-top: 48px; }

.ct-head { padding-top: 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.ct-head h1 { font-size: 40px; line-height: 1.15; }
.ct-head .intro { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 720px; }
.ct-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; }
.ct-left { display: flex; flex-direction: column; gap: 14px; }
.ct-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.ct-card-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.ct-rows { display: grid; grid-template-columns: 104px 1fr; gap: 10px 14px; margin: 0; }
.ct-rows dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; line-height: 1.5; padding-top: 2px; }
.ct-rows dd { margin: 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.ct-rows dd .mono-note { display: block; }
.ct-rows dd a { color: var(--ink); }
.ct-rows dd a:hover { color: var(--green); }
.ct-rows dd .ct-phone { color: var(--green); font-weight: 600; font-size: 17px; }
.ct-req { border-top: 1px dotted var(--dotted); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.ct-actions { display: flex; gap: 10px; }
.ct-actions .btn { flex: 1; padding: 13px; font-size: 15px; }
.ct-map { position: relative; height: 260px; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: repeating-linear-gradient(135deg, #e7ede2 0 12px, #f3f7f0 12px 24px); display: flex; flex-direction: column;
  justify-content: space-between; align-items: flex-start; padding: 12px; }
.ct-map-caption { font-family: var(--f-mono); font-size: 12px; color: var(--green); background: rgba(251,251,248,.94); border: 1px dashed var(--dashed); border-radius: 8px; padding: 7px 10px; }
.ct-map-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-map-actions .btn { padding: 11px 16px; font-size: 15px; }
.ct-map-link { background: var(--paper); }
.ct-form { background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ct-form-head { display: flex; flex-direction: column; gap: 6px; }
.ct-form-title { font-family: var(--f-head); font-size: 24px; font-weight: 600; }
.ct-form-text, .ct-form-note { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.ct-form-note { font-size: 13px; }
.ct-form-note a { font-weight: 600; }
.ct-topics { border: 0; padding: 0; margin: 0; }
.ct-topics .co-tile span { padding: 11px 8px; font-size: 14px; line-height: 1.35; background: var(--white); }
.ct-topics .co-tile input:checked + span { padding: 10px 7px; }

@media (max-width: 1100px) {
  .ab-steps, .ab-twin.is-single .ab-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ab-page { padding-bottom: 28px; }
  .ab-page h2 { font-size: 24px; }
  .ab-hero, .ab-twin, .ct-grid { grid-template-columns: 1fr; gap: 20px; }
  .ab-hero h1, .ct-head h1 { font-size: 30px; }
  .ab-body p, .ct-head .intro { font-size: 16px; }
  .ab-media { height: 220px; }
  .ab-kpis { grid-template-columns: 1fr 1fr; padding-top: 24px; }
  .ab-kpis .og-kpi:first-child { grid-column: auto; }
  .ab-section { padding-top: 36px; gap: 14px; }
  .ab-steps { grid-template-columns: 1fr; gap: 12px; }
  .ab-step { flex-direction: row; }
  .ab-step-photo { width: 104px; height: auto; flex: none; }
  .ab-step-photo .photo-caption { display: none; }
  .ab-step-body { padding: 14px; }
  .ab-step-title { font-size: 18px; }
  .ab-twin.is-single .ab-values { grid-template-columns: 1fr; gap: 10px; }
  .ab-values { gap: 10px; }
  .ab-value-title { font-size: 18px; }
  .ab-actions .btn { flex: 1; }
  .ab-page .pd-cta { margin-top: 32px; }
  .ct-rows { grid-template-columns: 88px 1fr; }
  .ct-actions { flex-direction: column; }
  .ct-form { padding: 16px; }
  .ct-map { height: 220px; }
}

/* ------------------------------------------------------------------ сторінки культур */

.cr-page { padding-bottom: 48px; }
.cr-page h2 { font-family: var(--f-head); font-size: 32px; font-weight: 600; }
.cr-kpis { grid-template-columns: repeat(var(--n, 4), 1fr); }
.cr-section { padding-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.cr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cr-head > div { max-width: 700px; display: flex; flex-direction: column; gap: 8px; }
.cr-head p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.cr-phases { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.cr-track { display: grid; grid-template-columns: repeat(var(--phases), minmax(0, 1fr)); gap: 10px; }
.cr-phase { display: flex; flex-direction: column; gap: 8px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; }
.cr-sil { position: relative; height: 118px; border-radius: var(--r-img); background: repeating-linear-gradient(135deg, #e4f0df 0 8px, #f1f8ed 8px 16px);
  display: flex; align-items: flex-end; justify-content: center; padding: 8px; font-family: var(--f-mono); font-size: 10px; color: var(--green-dark); text-align: center; line-height: 1.4; }
.cr-now { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase;
  background: var(--green); color: var(--paper); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.cr-ph-m { display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--line-2); padding-top: 9px; }
.cr-ph-code { font-family: var(--f-mono); font-size: 11px; color: var(--ink-soft); }
.cr-ph-name { font-size: 15px; line-height: 1.3; color: var(--ink); }
.cr-phase:hover .cr-ph-m { border-top-color: var(--green-light); }
.cr-phase.is-active .cr-ph-m { border-top-color: var(--green); }
.cr-phase.is-active .cr-ph-code { color: var(--green); }
.cr-phase.is-active .cr-ph-name { font-weight: 600; color: var(--green-dark); }
.cr-phase:focus-visible { outline: 2px solid var(--green-light); outline-offset: 3px; border-radius: var(--r-img); }
.cr-detail { border-top: 1px dotted var(--dotted); padding-top: 20px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: start; }
.cr-detail[hidden] { display: none; }
.cr-detail-text { display: flex; flex-direction: column; gap: 12px; }
.cr-detail-text p { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.cr-detail-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.cr-detail-name { font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.cr-facts { display: grid; grid-template-columns: 108px 1fr; gap: 8px 12px; border-top: 1px dotted var(--dotted); padding-top: 14px; margin: 0; }
.cr-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; padding-top: 3px; }
.cr-facts dd { margin: 0; font-size: 15px; }
.cr-detail-products { display: flex; flex-direction: column; gap: 10px; }
.cr-prod { border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 14px; display: flex; align-items: center; gap: 14px; background: var(--paper); }
.cr-prod-photo { width: 66px; height: 66px; flex: none; }
.cr-prod-photo .photo { width: 66px; height: 66px; }
.cr-prod-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cr-prod-name { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); }
.cr-prod-name:hover { color: var(--green); }
.cr-prod-role { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.cr-prod-rate { font-family: var(--f-mono); font-size: 12px; color: var(--green-dark); }
.cr-prod-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cr-prod-price { font-family: var(--f-head); font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cr-prod-buy .btn { padding: 9px 14px; font-size: 14px; margin-top: 4px; }
.cr-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.cr-twin.is-single { grid-template-columns: 1fr; }
.cr-col { display: flex; flex-direction: column; gap: 14px; }
.cr-col h2 { font-size: 30px; }
.cr-problem { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; background: var(--white); display: flex; flex-direction: column; gap: 7px; }
.cr-problem-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; }
.cr-problem-text { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.cr-problem-fix { font-family: var(--f-mono); font-size: 12px; color: var(--green-dark); border-top: 1px dotted var(--dotted); padding-top: 9px; }
.cr-table { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white); }
.cr-row { display: grid; grid-template-columns: 1fr 1.3fr .8fr; border-bottom: 1px solid var(--line-row); font-size: 14px; }
.cr-row:last-child { border-bottom: 0; }
.cr-row > * { padding: 12px 14px; }
.cr-row > :first-child { color: var(--ink-soft); }
.cr-row > a { font-weight: 600; color: var(--ink); }
.cr-row > a:hover { color: var(--green); }
.cr-row > :last-child { font-variant-numeric: tabular-nums; }
.cr-row-head { background: var(--soft); border-bottom: 1px solid var(--line-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; color: var(--ink-soft); text-transform: uppercase; }
.cr-row-head > * { padding: 11px 14px; }
.cr-cost { border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; background: var(--soft); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cr-cost > div { display: flex; flex-direction: column; gap: 4px; }
.cr-cost-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; }
.cr-cost .btn { padding: 11px 16px; font-size: 15px; white-space: nowrap; }
.cr-grid { grid-template-columns: repeat(4, 1fr); }
.cr-page .pd-cta { margin-top: 48px; }
.cr-h3 { font-family: var(--f-head); font-size: 26px; font-weight: 600; }
.cr-crops { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cr-crop { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--white); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.cr-crop:hover { border-color: var(--green); color: var(--green); }
.cr-crop-photo { height: 92px; border-radius: 0; }
.cr-crop-photo .photo-caption { display: none; }
.cr-crop-name { padding: 12px 14px; font-size: 15px; font-weight: 600; }
.cr-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cr-crop.is-big .cr-crop-photo { height: 150px; }
.cr-crop.is-big .cr-crop-photo .photo-caption { display: inline-block; }
.cr-crop.is-big .cr-crop-name { font-family: var(--f-head); font-size: 20px; padding-bottom: 2px; }
.cr-crop.is-big .mono-note { padding: 0 14px 14px; }

@media (max-width: 1100px) {
  .cr-grid, .cr-index { grid-template-columns: repeat(3, 1fr); }
  .cr-crops { grid-template-columns: repeat(4, 1fr); }
  .cr-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cr-page { padding-bottom: 28px; }
  .cr-page h2, .cr-col h2 { font-size: 24px; }
  .cr-kpis { grid-template-columns: 1fr 1fr; }
  .cr-kpis .og-kpi:first-child { grid-column: auto; }
  .cr-section { padding-top: 32px; gap: 14px; }
  .cr-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cr-phases { padding: 14px; gap: 14px; }
  .cr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -14px; padding: 0 14px 4px; }
  .cr-phase { flex: 0 0 116px; scroll-snap-align: start; }
  .cr-sil { height: 72px; }
  .cr-sil > span:last-child { display: none; }
  .cr-ph-name { font-size: 14px; }
  .cr-detail { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; }
  .cr-detail-name { font-size: 21px; }
  .cr-facts { grid-template-columns: 76px 1fr; }
  .cr-prod { flex-wrap: wrap; gap: 10px 12px; padding: 12px; }
  .cr-prod-photo, .cr-prod-photo .photo { width: 52px; height: 52px; }
  .cr-prod-name { font-size: 17px; }
  .cr-prod-buy { flex: 1 1 100%; flex-direction: row; align-items: center; gap: 10px; }
  .cr-prod-buy .btn { margin: 0 0 0 auto; }
  .cr-twin { grid-template-columns: 1fr; gap: 28px; }
  .cr-row { grid-template-columns: .9fr 1.3fr .8fr; font-size: 13px; }
  .cr-row > * { padding: 10px; }
  .cr-cost { flex-direction: column; align-items: stretch; }
  .cr-crops { display: flex; overflow-x: auto; gap: 10px; margin: 0 -16px; padding: 0 16px 4px; }
  .cr-crop { flex: 0 0 132px; }
  .cr-index { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cr-crop.is-big .cr-crop-photo { height: 96px; }
  .cr-crop.is-big .cr-crop-photo .photo-caption { display: none; }
  .cr-crop.is-big .cr-crop-name { font-size: 16px; }
}

/* ------------------------------------------------------------------ блог, стаття, «Технології» */

.bl-page, .ar-page, .tc-page { padding-bottom: 48px; }
.bl-head, .tc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 16px; }
.bl-head > div:first-child, .tc-head > div:first-child { max-width: 760px; display: flex; flex-direction: column; gap: 12px; }
.bl-head h1, .tc-head h1 { font-size: 40px; line-height: 1.15; }
.bl-head .intro, .tc-head .intro { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.bl-stats { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.bl-rubrics { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.bl-rubric { border: 1px solid var(--field); background: var(--white); border-radius: 999px; padding: 9px 16px; font-size: 15px; color: var(--ink); }
.bl-rubric:hover { border-color: var(--green); color: var(--green); }
.bl-rubric.is-active { background: var(--green); border-color: var(--green); color: var(--paper); font-weight: 600; }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.bl-meta > :first-child { color: var(--green); }
.bl-lead { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.bl-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-soft); }
.bl-read { color: var(--green); font-weight: 600; }
.bl-feature { margin-top: 24px; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; color: var(--ink); }
.bl-feature:hover { border-color: var(--green-light); color: var(--ink); }
.bl-feature-photo { position: relative; min-height: 340px; }
.bl-feature-photo .photo { position: absolute; inset: 0; border-radius: 0; }
.bl-flag { position: absolute; top: 14px; left: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; background: var(--clay); color: var(--paper); border-radius: 6px; padding: 5px 9px; }
.bl-feature-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.bl-feature-title { font-family: var(--f-head); font-size: 30px; font-weight: 600; line-height: 1.2; }
.bl-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bl-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; color: var(--ink); }
.bl-card:hover { border-color: var(--green-light); color: var(--ink); }
.bl-card-photo .photo { height: 180px; border-radius: 0; }
.bl-card-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bl-card-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.3; }
.bl-pager { margin-top: 24px; }
.nl-band { margin-top: 40px; background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.nl-text { display: flex; flex-direction: column; gap: 6px; max-width: 560px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.nl-title { font-family: var(--f-head); font-size: 24px; font-weight: 600; color: var(--ink); }
.nl-form-wrap { flex: 0 1 460px; }
.nl-form { display: flex; flex-direction: column; gap: 6px; }
.nl-row { display: flex; gap: 10px; }
.nl-row .input { flex: 1; min-width: 0; }
.nl-row .btn { white-space: nowrap; }

.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; padding-top: 20px; }
.ar-main { max-width: 820px; }
.ar-main h1 { font-size: 40px; line-height: 1.15; margin-top: 12px; }
.ar-phase { color: var(--green-dark); background: var(--soft-2); border-radius: 999px; padding: 2px 8px; }
.ar-lead { margin-top: 16px; font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.ar-byline { margin-top: 22px; padding: 14px 0; border-top: 1px dotted var(--dotted); border-bottom: 1px dotted var(--dotted); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ar-author { display: flex; flex-direction: column; gap: 2px; }
.ar-author-name { font-weight: 600; }
.ar-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ar-share-btn { border: 1px solid var(--field); background: var(--white); border-radius: 8px; padding: 7px 11px; font-size: 13px; color: var(--ink); cursor: pointer; }
.ar-share-btn:hover { border-color: var(--green); color: var(--green); }
.ar-cover { margin: 24px 0 0; }
.ar-cover img { width: 100%; height: auto; max-height: 520px; object-fit: cover; display: block; border-radius: var(--r-card); }
.ar-cover figcaption { margin-top: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.ar-tldr { margin-top: 24px; background: var(--soft-2); border: 1px solid var(--pill-line); border-radius: var(--r-card); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.ar-tldr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ar-tldr li { display: flex; gap: 10px; font-size: 16px; line-height: 1.55; }
.ar-tldr li > span:first-child { color: var(--green); font-weight: 600; }
.ar-body { margin-top: 28px; }
.ar-body h2, .ar-body h3 { scroll-margin-top: 90px; }
.ar-faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.ar-faq .og-q p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.ar-tags { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ar-prevnext { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ar-prevnext a { border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; background: var(--white); display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-weight: 600; line-height: 1.4; }
.ar-prevnext a:hover { border-color: var(--green); color: var(--green); }
.ar-prevnext a.is-next { text-align: right; grid-column: 2; }
.ar-aside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; }
.ar-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.ar-toc a { font-size: 14px; line-height: 1.4; color: var(--ink-2); border-left: 2px solid var(--line-2); padding: 3px 0 3px 10px; }
.ar-toc a:hover { color: var(--green); border-left-color: var(--green); }
.ar-prod { display: flex; align-items: center; gap: 10px; }
.ar-prod-photo, .ar-prod-photo .photo { width: 52px; height: 52px; flex: none; }
.ar-prod-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ar-prod-name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.ar-prod-name:hover { color: var(--green); }
.ar-prod-price { font-family: var(--f-head); font-weight: 600; }
.ar-prod-add { width: 36px; height: 36px; flex: none; border: 0; border-radius: 8px; background: var(--green); color: var(--paper); font-size: 20px; cursor: pointer; }
.ar-prod-add:hover { background: var(--ink); }
.ar-prod-add:disabled { opacity: .4; cursor: default; }
.ar-box-link { font-size: 14px; font-weight: 600; }
.ar-ask { background: var(--soft); border-color: var(--line-3); font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.ar-ask-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--ink); }
.ar-more a { display: flex; flex-direction: column; gap: 3px; padding-bottom: 10px; border-bottom: 1px dotted var(--dotted); color: var(--ink); }
.ar-more a:last-child { border-bottom: 0; padding-bottom: 0; }
.ar-more a:hover .ar-more-title { color: var(--green); }
.ar-more-title { font-weight: 600; line-height: 1.35; }
.ar-trial-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ar-trial-badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 5px 9px; }
.ar-trial-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.ar-trial-meta { margin: 18px 0 0; display: grid; grid-template-columns: 120px 1fr; gap: 6px 14px; padding: 14px 0; border-top: 1px dotted var(--dotted); border-bottom: 1px dotted var(--dotted); }
.ar-trial-meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.ar-trial-meta dd { margin: 0; font-size: 15px; }

.tc-rules { padding-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tc-rule { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.tc-rule-v { font-family: var(--f-head); font-size: 26px; font-weight: 600; color: var(--green); }
.tc-rule-t { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tc-sil { align-items: center; }
.tc-dos { display: flex; flex-direction: column; gap: 14px; }
.tc-do, .tc-dont { border-radius: var(--r-ctl); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.tc-do { background: var(--soft-2); border: 1px solid var(--pill-line); }
.tc-dont { background: var(--clay-soft); border: 1px solid var(--clay-line); }
.tc-li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; }
.tc-ok { color: var(--green); font-weight: 700; }
.tc-no { color: var(--clay); font-weight: 700; }
.tc-calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.tc-calc-form { display: flex; flex-direction: column; gap: 16px; }
.tc-calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tc-calc-out { background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.tc-calc-rows { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; }
.tc-calc-rows dt { font-size: 15px; color: var(--ink-2); }
.tc-calc-rows dd { margin: 0; font-family: var(--f-head); font-size: 22px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tc-calc-note { font-size: 14px; line-height: 1.55; color: var(--ink-soft); border-top: 1px dotted var(--dotted); padding-top: 12px; }
.tc-compat .cr-row, .tc-compat .cr-row-head { grid-template-columns: 1.1fr auto 1.5fr; }
.tc-compat .cr-row > :first-child { color: var(--ink); font-weight: 600; }
.tc-compat .cr-row > :nth-child(2) { min-width: 64px; }
.tc-yn { font-family: var(--f-mono); font-size: 12px; border-radius: 999px; padding: 3px 10px; }
.tc-yn.is-yes { background: var(--soft-2); color: var(--green-dark); }
.tc-yn.is-no { background: var(--clay-soft); color: var(--clay); }
.tc-compat-note { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.tc-page .pd-cta { margin-top: 48px; }

@media (max-width: 1100px) {
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
  .ar-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
  .tc-rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .bl-head, .tc-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bl-head h1, .tc-head h1, .ar-main h1 { font-size: 28px; }
  .bl-head .intro, .tc-head .intro { font-size: 15px; }
  .bl-stats { flex-direction: row; gap: 14px; }
  .bl-rubrics { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 18px 16px 4px; }
  .bl-rubric { white-space: nowrap; padding: 8px 13px; font-size: 14px; }
  .bl-feature { grid-template-columns: 1fr; }
  .bl-feature-photo { min-height: 200px; }
  .bl-feature-body { padding: 18px; }
  .bl-feature-title { font-size: 22px; }
  .bl-grid { grid-template-columns: 1fr; gap: 12px; }
  .bl-card-photo .photo { height: 160px; }
  .nl-band { flex-direction: column; align-items: stretch; padding: 18px; gap: 14px; margin-top: 28px; }
  .nl-form-wrap { flex: none; }
  .nl-row { flex-direction: column; }
  .ar-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 14px; }
  .ar-aside { position: static; }
  .ar-toc { display: none; }
  .ar-lead { font-size: 16px; }
  .ar-prevnext { grid-template-columns: 1fr; }
  .ar-prevnext a.is-next { grid-column: auto; }
  .ar-trial-meta { grid-template-columns: 96px 1fr; }
  .tc-rules { grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 20px; }
  .tc-rule-v { font-size: 21px; }
  .tc-calc { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .tc-calc-fields { gap: 10px; }
}

/* ===================================================================== пошук (sr-*) */
.search-results a.all { justify-content: flex-start; margin-top: 4px; border-top: 1px dotted var(--dotted); border-radius: 0; color: var(--green); font-weight: 600; font-size: 14px; }
.sr-page { padding-bottom: 8px; }
.sr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-top: 16px; }
.sr-head > div:first-child { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sr-head h1 { font-size: 36px; line-height: 1.15; overflow-wrap: anywhere; }
.sr-summary { font-size: 16px; color: var(--ink-soft); }
.sr-sort { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.sr-seg { display: inline-flex; border: 1px solid var(--field); border-radius: var(--r-img); overflow: hidden; background: var(--white); }
.sr-seg a { padding: 9px 14px; font-size: 14px; color: var(--ink); }
.sr-seg a + a { border-left: 1px solid var(--field); }
.sr-seg a.is-on { background: var(--green); color: var(--paper); font-weight: 600; }
.sr-types { padding-top: 20px; }
.sr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding-top: 24px; padding-bottom: 72px; }
.sr-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.sr-group { display: flex; flex-direction: column; gap: 10px; }
.sr-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sr-group-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sr-label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sr-product { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; }
.sr-product:hover { border-color: var(--green-light); }
.sr-photo .photo { width: 104px; height: 104px; border-radius: var(--r-img); }
.sr-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.sr-cat { background: var(--soft-2); color: var(--green-dark); border: 1px solid var(--pill-line); border-radius: 999px; padding: 3px 9px; }
.sr-title { font-family: var(--f-head); font-size: 21px; font-weight: 600; line-height: 1.25; color: var(--ink); }
a.sr-title:hover { color: var(--green); }
.sr-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.sr-crops { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-soft); }
.sr-buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.sr-price { font-family: var(--f-head); font-size: 22px; font-weight: 600; white-space: nowrap; }
.sr-buy .btn { margin-top: 4px; padding: 10px 18px; }
.sr-row { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; color: var(--ink); }
.sr-row:hover { border-color: var(--green-light); color: var(--ink); }
.sr-row:hover .sr-title { color: var(--green); }
.sr-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-img); font-family: var(--f-mono); font-size: 11px; color: var(--green-dark); }
.sr-row-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.sr-kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sr-path { font-family: var(--f-mono); font-size: 12px; color: var(--green); overflow-wrap: anywhere; }
.sr-thumb { flex: 0 0 136px; }
.sr-thumb .photo { width: 136px; height: 88px; border-radius: var(--r-img); }
.sr-doc { align-items: center; }
.sr-doc .sr-icon { color: var(--clay); }
.sr-doc-name { font-weight: 600; font-size: 16px; }
.sr-dl { font-size: 14px; font-weight: 600; color: var(--green); white-space: nowrap; }
.sr-empty .sr-suggest { justify-content: center; }
.sr-reset { font-weight: 600; }
.sr-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-start { display: flex; flex-direction: column; gap: 12px; }
.sr-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.sr-more { font-size: 14px; color: var(--ink-soft); }
.sr-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.sr-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sr-crop-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sr-chip { border: 1px solid var(--field); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ink); background: var(--paper); }
.sr-chip:hover { border-color: var(--green); color: var(--green); }
.sr-chip.is-on { background: var(--green); border-color: var(--green); color: var(--paper); }
.sr-popular { list-style: none; margin: 0; padding: 0; }
.sr-popular li + li { border-top: 1px dotted var(--dotted); }
.sr-popular a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--ink); }
.sr-popular a:hover { color: var(--green); }
.sr-help { background: var(--soft); border-style: dashed; border-color: var(--field); font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.sr-help-title { font-family: var(--f-head); font-size: 19px; font-weight: 600; color: var(--green-dark); }
.sr-help .btn { padding: 11px 16px; }

@media (max-width: 1100px) {
  .sr-layout { grid-template-columns: 1fr; }
  .sr-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
  .sr-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .sr-head h1 { font-size: 27px; }
  .sr-sort { justify-content: space-between; }
  .sr-types { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 16px 16px 4px; }
  .sr-types .bl-rubric { white-space: nowrap; }
  .sr-layout { padding-top: 18px; gap: 24px; padding-bottom: 48px; }
  .sr-product { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; align-items: start; }
  .sr-photo .photo { width: 72px; height: 72px; }
  .sr-buy { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: left; border-top: 1px dotted var(--dotted); padding-top: 10px; }
  .sr-buy .btn { margin-top: 0; }
  .sr-title { font-size: 18px; }
  .sr-desc { font-size: 14px; }
  .sr-row { padding: 12px; gap: 12px; }
  .sr-thumb { flex-basis: 88px; }
  .sr-thumb .photo { width: 88px; height: 64px; }
  .sr-group-head { flex-wrap: wrap; }
  .sr-doc { flex-wrap: wrap; }
  .sr-aside { grid-template-columns: 1fr; }
  .sr-foot { flex-direction: column; align-items: flex-start; }
}

/* ===================================================================== доставка, оплата, гарантії (dl-*) */
.dl-page { padding-bottom: 72px; }
.dl-head { display: flex; flex-direction: column; gap: 12px; max-width: 780px; padding-top: 16px; }
.dl-head h1 { font-size: 40px; line-height: 1.15; }
.dl-head .intro { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.dl-tabs { display: flex; gap: 4px; margin-top: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.dl-tab { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 16px; font-size: 15px; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.dl-tab:hover { color: var(--green); }
.dl-tab.is-active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.dl-panel { padding-top: 28px; display: flex; flex-direction: column; gap: 32px; }
.dl-panel[hidden] { display: none; }
.dl-lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 820px; }
.dl-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-method { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dl-method-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px dotted var(--dotted); }
.dl-method-name { font-family: var(--f-head); font-size: 21px; font-weight: 600; }
.dl-cost { font-family: var(--f-mono); font-size: 12px; color: var(--green); text-align: right; }
.dl-facts { margin: 0; display: grid; grid-template-columns: 70px 1fr; gap: 8px 12px; font-size: 14px; }
.dl-facts dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.dl-facts dd { margin: 0; color: var(--ink); }
.dl-note { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.dl-method .dl-note { margin-top: auto; padding-top: 12px; border-top: 1px dotted var(--dotted); }
.dl-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.dl-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dl-col h2, .dl-h2 { font-size: 26px; }
.dl-text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.dl-chain { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-chain-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.dl-chain-n { font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--green-dark); }
.dl-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dl-flow li { display: flex; gap: 14px; align-items: flex-start; }
.dl-flow-n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; }
.dl-flow li > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.dl-flow-title { font-weight: 600; font-size: 16px; color: var(--ink); }
.dl-flow-text { font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.dl-pay { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.dl-pay-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.dl-pay-name { font-family: var(--f-head); font-size: 20px; font-weight: 600; }
.dl-who { font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; background: var(--soft-2); color: var(--green-dark); border: 1px solid var(--pill-line); border-radius: 999px; padding: 3px 9px; }
.dl-req { display: flex; flex-direction: column; gap: 8px; background: var(--soft); border: 1px solid var(--line-3); border-radius: var(--r-card); padding: 16px 18px; font-size: 14px; line-height: 1.55; }
.dl-docs { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.dl-docs h2 { font-size: 22px; }
.dl-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-checks li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.dl-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700; }
.dl-guar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-guar-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.dl-guar-n { font-family: var(--f-head); font-size: 28px; font-weight: 600; color: var(--green); }
.dl-guar-title { font-weight: 600; font-size: 17px; }
.dl-claim { list-style: none; margin: -16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: c; }
.dl-claim li { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; border-top: 2px solid var(--line-3); padding-top: 14px; }
.dl-claim .dl-flow-n { width: 28px; flex: none; }
.dl-tiers { background: var(--white); }
.dl-tiers .cr-row { grid-template-columns: 1fr .8fr 1.4fr; }
.dl-tiers .cr-row > :first-child { color: var(--ink); font-weight: 600; }
.dl-tier-d { color: var(--green-dark); font-weight: 600; }
.dl-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dl-perk { border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--white); }
.dl-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dl-form-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; }
.dl-page .pd-cta { margin-top: 56px; }

@media (max-width: 1100px) {
  .dl-methods, .dl-guar { grid-template-columns: 1fr 1fr; }
  .dl-claim { grid-template-columns: 1fr 1fr; }
  .dl-twin { gap: 28px; }
}
@media (max-width: 760px) {
  .dl-head h1 { font-size: 28px; }
  .dl-head .intro, .dl-lead { font-size: 15px; }
  .dl-tabs { margin: 18px -16px 0; padding: 0 16px; }
  .dl-tab { padding: 11px 12px; font-size: 14px; }
  .dl-panel { padding-top: 20px; gap: 24px; }
  .dl-methods, .dl-guar, .dl-twin, .dl-claim, .dl-perks { grid-template-columns: 1fr; }
  .dl-claim { margin-top: -8px; }
  .dl-method, .dl-docs, .dl-form { padding: 16px; }
  .dl-col h2, .dl-h2 { font-size: 22px; }
  .dl-chain-n { font-size: 19px; }
  .dl-tiers .cr-row { grid-template-columns: 1fr .9fr 1.2fr; }
  .dl-page .pd-cta { margin-top: 36px; }
}

/* силуети фаз BBCH (спрайт img/bbch.svg) */
.bbch-sil.has-art, .cr-sil.has-art { background: var(--soft); padding: 0; overflow: hidden; }
.bbch-sil.has-art { border-style: solid; border-color: var(--line); }
.sil-art { display: block; width: 100%; height: 100%; }
.bbch-phase.is-active .bbch-sil.has-art { border-color: var(--green); }
.cr-phase.is-active .cr-sil.has-art { box-shadow: inset 0 0 0 2px var(--green); }
.bbch-sil.has-art .badge-now, .cr-sil.has-art .cr-now { z-index: 1; }

/* власний випадний список (biona.js → enhanceSelect) замість системного <select> */
.cselect { position: relative; }
.cselect-native { display: none !important; }
.cselect-btn {
  display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; color: var(--ink); font: inherit; font-size: 16px;
  padding-right: 40px; position: relative; min-height: 48px; line-height: 1.25;
}
.cselect-btn::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.6px solid var(--ink-soft); border-bottom: 1.6px solid var(--ink-soft); transform: rotate(45deg); transition: transform .15s;
}
.cselect.is-open .cselect-btn { border-color: var(--green); }
.cselect.is-open .cselect-btn::after { transform: rotate(-135deg); margin-top: -2px; }
.cselect-btn.is-empty .cselect-value { color: var(--ink-soft); }
.cselect-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-ctl);
  box-shadow: 0 14px 34px rgba(24, 48, 28, .14), 0 2px 6px rgba(24, 48, 28, .06);
  max-height: 300px; overflow-y: auto; overscroll-behavior: contain; outline: none;
}
.cselect.is-up .cselect-list { top: auto; bottom: calc(100% + 6px); }
.cselect-list [role=option] {
  position: relative; padding: 10px 34px 10px 12px; border-radius: 6px; cursor: pointer; font-size: 15px; line-height: 1.35; color: var(--ink);
}
.cselect-list [role=option].is-placeholder { color: var(--ink-soft); }
.cselect-list [role=option].is-active { background: var(--soft-2); }
.cselect-list [role=option][aria-selected=true] { color: var(--green-dark); font-weight: 600; }
.cselect-list [role=option][aria-selected=true]::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 5px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg);
}
.callback .cselect-btn { background: var(--paper); border-color: var(--pill-line); }


/* ------------------------------------------------------------------ рух
   Принцип: коротко (до 250 мс для інтерфейсу), лише transform/opacity, ease-out на появу, вихід швидший за вхід.
   Наведення — тільки для миші; при prefers-reduced-motion лишається тільки зміна прозорості. */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --t-press: 160ms;
  --t-hover: 200ms;
  --t-pop: 200ms;
  --t-modal: 260ms;
}

/* кольори на наведенні змінюються плавно, а не стрибком */
a, .crop-tile, .task-tile, .help-card, .article-card, .bl-card, .bl-feature, .tk-card, .doc-card, .og-doc,
.sr-product, .sr-row, .chip span, .pick-chip, .pd-pack, .pd-thumb, .dl-tab, .pd-tablist button, .cart-btn,
.dialog-close, .stepper button, .input, .select, .textarea, .cselect-btn {
  transition: color var(--t-hover) ease, background-color var(--t-hover) ease, border-color var(--t-hover) ease,
    box-shadow var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.btn { transition: background-color var(--t-hover) ease, border-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* натискання: інтерфейс «чує» палець/мишу */
  .btn:not(:disabled):active, .cart-btn:active, .burger:active, .search-toggle:active, .dialog-close:active,
  .stepper button:active, .pick-chip:active, .chip:active span, .pd-pack:active, .pd-thumb:active,
  .dl-tab:active, .cr-phase:active, .bbch-phase:active, .cselect-btn:active, .ar-share-btn:active, .pager a:active {
    transform: scale(0.97);
  }

  /* картки злегка піднімаються, фото всередині — повільний наїзд */
  @media (hover: hover) and (pointer: fine) {
    .product-card, .crop-tile, .task-tile, .help-card, .article-card, .bl-card, .bl-feature, .tk-card, .doc-card, .sr-product {
      transition: border-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out);
    }
    .product-card:hover, .crop-tile:hover, .task-tile:hover, .help-card:hover, .article-card:hover, .bl-card:hover,
    .bl-feature:hover, .tk-card:hover, .doc-card:hover, .sr-product:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 32px rgba(35, 48, 31, .10);
    }
    .crop-tile .photo img, .article-card .photo img, .bl-card .photo img, .bl-feature .photo img, .product-card .pc-photo img {
      transition: transform 600ms var(--ease-out);
    }
    .crop-tile:hover .photo img, .article-card:hover .photo img, .bl-card:hover .photo img, .bl-feature:hover .photo img,
    .product-card:hover .pc-photo img {
      transform: scale(1.04);
    }
    .link-more, .ar-more a { transition: color var(--t-hover) ease; }
  }
}

/* ---------- діалоги: поява з легким підйомом, фон темнішає; закриття швидше ---------- */
.lead-dialog {
  opacity: 1; transform: none;
  transition: opacity 160ms ease, transform 160ms ease, overlay 160ms allow-discrete, display 160ms allow-discrete;
}
.lead-dialog[open] { transition-duration: var(--t-modal); transition-timing-function: var(--ease-out); }
.lead-dialog:not([open]) { opacity: 0; transform: translateY(6px) scale(0.98); }
@starting-style { .lead-dialog[open] { opacity: 0; transform: translateY(12px) scale(0.97); } }
.lead-dialog::backdrop { transition: background-color var(--t-modal) ease, overlay var(--t-modal) allow-discrete, display var(--t-modal) allow-discrete; }
@starting-style { .lead-dialog[open]::backdrop { background-color: rgba(35, 48, 31, 0); } }
.lead-dialog:not([open])::backdrop { background-color: rgba(35, 48, 31, 0); }
@media (max-width: 700px) {
  /* на телефоні вікно виїжджає знизу */
  @starting-style { .lead-dialog[open] { opacity: 0; transform: translateY(32px); } }
}

/* ---------- випадні списки, підказки пошуку, сортування: з’являються від свого тригера ---------- */
.cselect-list, .search-results, .sort-list {
  transform-origin: top center;
  transition: opacity var(--t-pop) var(--ease-out), transform var(--t-pop) var(--ease-out);
}
.cselect.is-up .cselect-list { transform-origin: bottom center; }
.sort-list { transform-origin: top right; }
@starting-style {
  .cselect-list, .search-results, .sort-list { opacity: 0; transform: translateY(-4px) scale(0.98); }
  .cselect.is-up .cselect-list { opacity: 0; transform: translateY(4px) scale(0.98); }
}
.cselect-btn::after { transition: transform var(--t-pop) var(--ease-out), margin-top var(--t-pop) var(--ease-out); }

/* ---------- мобільне меню й фільтри каталогу ---------- */
@media (max-width: 900px) {
  .nav.is-open, .cat-filters.is-open {
    transition: opacity 240ms var(--ease-drawer), transform 240ms var(--ease-drawer);
  }
  @starting-style {
    .nav.is-open, .cat-filters.is-open { opacity: 0; transform: translateY(-8px); }
  }
  .burger span { transition: transform 240ms var(--ease-out), opacity 160ms ease; transform-origin: center; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
}

/* ---------- вкладки й фази: новий вміст м’яко проявляється ---------- */
[role=tabpanel], [data-phase-detail], .lead-dialog .done, .form-success:not([hidden]), [data-form-success] {
  transition: opacity 220ms var(--ease-out), translate 220ms var(--ease-out);
}
@starting-style {
  [role=tabpanel], [data-phase-detail], .lead-dialog .done, [data-form-success] { opacity: 0; translate: 0 6px; }
}

/* ---------- поява блоків під час прокручування (клас ставить JS лише тим, що нижче першого екрана) ---------- */
.reveal { opacity: 0; translate: 0 18px; }
.reveal.is-in {
  opacity: 1; translate: 0 0;
  transition: opacity 600ms var(--ease-out), translate 700ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}

/* ---------- кошик: лічильник підстрибує, кнопка підтверджує ---------- */
.btn.is-added, .btn.is-added:hover { background: var(--green); color: var(--paper); }

/* ---------- перший екран головної: заголовок і текст проявляються по черзі ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > div > *, .hero-mobile-text > * { animation: rise 700ms var(--ease-out) both; }
  .hero-content > div > :nth-child(2), .hero-mobile-text > :nth-child(2) { animation-delay: 80ms; }
  .hero-content > div > :nth-child(3), .hero-mobile-text > :nth-child(3) { animation-delay: 160ms; }
  .hero-content > div > :nth-child(4), .hero-mobile-text > :nth-child(4) { animation-delay: 240ms; }
  .hero-content > div > :nth-child(5), .hero-mobile-text > :nth-child(5) { animation-delay: 300ms; }
  .hero .hero-photo img { animation: settle 1400ms var(--ease-out) both; }
}
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
@keyframes settle { from { scale: 1.04; } }

/* ---------- менше руху: лишаємо тільки прозорість ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { translate: none; }
  .lead-dialog:not([open]), .cselect-list, .search-results, .sort-list { transform: none !important; }
  @starting-style {
    .lead-dialog[open] { transform: none; }
    .cselect-list, .search-results, .sort-list, .nav.is-open, .cat-filters.is-open { transform: none; }
    [role=tabpanel], [data-phase-detail], [data-form-success] { translate: none; }
  }
}

/* ---------- шапка, що «їздить» ----------
   Липне до верху; при прокручуванні вниз ховається, вгору — виїжджає. JS ставить --mh = видима висота шапки,
   щоб інші липкі блоки (фільтри, підсумок кошика, зміст статті) ставали під неї, а не під неї ховались. */
.masthead {
  position: sticky; top: 0; z-index: 50;
  transition: transform 320ms var(--ease-drawer), box-shadow 200ms ease;
}
.masthead.is-stuck { box-shadow: 0 6px 22px rgba(35, 48, 31, .08); }
.masthead.is-hidden { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .masthead { transition: none; } }

.cat-filters { top: calc(var(--mh, 0px) + 16px); }
.cart-side-sticky, .ar-aside { top: calc(var(--mh, 0px) + 20px); }
.sr-aside { top: calc(var(--mh, 0px) + 16px); }
.cat-filters, .cart-side-sticky, .ar-aside, .sr-aside { transition: top 320ms var(--ease-drawer); }
.ar-body h2, .ar-body h3 { scroll-margin-top: calc(var(--mh-full, 0px) + 20px); }
@media (max-width: 900px) {
  .cat-bar { top: var(--mh, 0px); transition: top 320ms var(--ease-drawer); background: var(--paper); }
}

/* ---------- сітка препаратів на сторінці культури: правило .cr-grid стоїть нижче за .product-grid і перебивало
   мобільні колонки — на телефоні сторінка ставала ширшою за екран ---------- */
@media (max-width: 900px) { .cr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cr-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- мобільне меню випадає поверх сторінки, а не зсуває її вниз ---------- */
@media (max-width: 900px) {
  .masthead .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain;
    border-bottom: 1px solid var(--line-2);
    /* затемнення сторінки під меню (тінь обрізана зверху, щоб не темнити шапку) */
    box-shadow: 0 0 0 100vmax rgba(35, 48, 31, .35);
    clip-path: inset(0 0 -100vmax 0);
  }
}

/* ---------- каталог «за сезоном»: розділювачі груп у сітці ---------- */
.season-divider { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.season-divider:first-child { margin-top: 0; }
.season-divider span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); white-space: nowrap; }
.season-divider::after { content: ""; flex: 1; border-top: 1px dotted var(--dotted); }

/* ---------- фільтри каталогу на телефоні — шторка знизу поверх сторінки ----------
   Раніше панель розгорталась угорі сторінки й була не видна, якщо людина вже прокрутила нижче. */
.cf-close { display: none; }
html.is-locked { overflow: hidden; }
@media (max-width: 900px) {
  .cat-filters.is-open {
    position: fixed; inset: auto 0 0 0; z-index: 70; margin: 0;
    max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); border: 0; border-radius: 16px 16px 0 0; padding: 0 var(--gutter);
    box-shadow: 0 0 0 100vmax rgba(35, 48, 31, .4);
    transition: transform 340ms var(--ease-drawer), opacity 200ms ease;
  }
  @starting-style { .cat-filters.is-open { transform: translateY(100%); opacity: 1; } }
  .cat-filters.is-open .cf-head {
    display: flex; gap: 12px; position: sticky; top: 0; z-index: 1; background: var(--paper);
    padding: 16px 0 12px; border-bottom: 1px solid var(--line-row);
  }
  .cat-filters.is-open .cf-title { flex: 1; }
  .cat-filters.is-open .cf-close {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
    border: 1px solid var(--field); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; font-size: 14px;
  }
  .cat-filters.is-open .cf-apply {
    position: sticky; bottom: 0; background: var(--paper); margin-top: auto;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-row);
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  @starting-style { .cat-filters.is-open { transform: none; opacity: 0; } }
}
