/* Карточка сорта: слайды, пищевая ценность, размеры. Стиль — по макету карточек пайплайна. */
:root {
  --paper: #fafaf8; --ink: #1a1a18; --muted: #7a7a74; --line: #d6d6d0;
  --track: #e8e8e2; --high: #d6684a; --low: #96b496;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
p, h1, h2, dl, dd, figure { margin: 0; }
.vc { max-width: 1900px; margin: 0 auto; padding: 48px; }

.vc-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.vc-head h1 { font-size: 40px; font-weight: 400; line-height: 1.2; }
.vc-sub { margin-top: 6px; font-size: 20px; color: var(--muted); }
.vc-facts { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 20px; }
.vc-facts dt, .vc-summary dt { font-size: 15px; color: var(--muted); }
.vc-facts dd { margin-top: 4px; font-size: 19px; }


.vc-nutrition { padding: 30px 0 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vc-nutrition h2 { font-size: 18px; font-weight: 400; text-transform: uppercase; color: var(--muted); }
.vc-nutrients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 0; margin-top: 22px; }
.vc-label { font-size: 18px; color: var(--muted); }
.vc-value { margin-top: 4px; font-size: 30px; }
.vc-bar { width: calc(100% - 60px); height: 12px; margin: 14px 0 10px; border-radius: 6px; background: var(--track); overflow: hidden; }
.vc-bar span { display: block; height: 100%; border-radius: 6px; background: var(--low); }
.vc-bar.is-high span { background: var(--high); }
.vc-no-norm { margin-top: 18px; }

.vc-summary { padding-top: 34px; }
.vc-summary dl { display: flex; flex-wrap: wrap; gap: 16px 70px; }
.vc-summary dt { font-size: 18px; }
.vc-summary dd { margin-top: 6px; font-size: 28px; }
.vc-note { margin-top: 10px; font-size: 17px; line-height: 1.4; color: var(--muted); }
.vc-summary dl + .vc-note { margin-top: 34px; }

.vc-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 16px; }
.vc-nav a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.vc-nav a:hover { color: var(--ink); border-color: var(--ink); }

.vc-block { padding: 34px 0; border-bottom: 1px solid var(--line); }
/* H1 «Томат Балконное чудо» в тексте обычным регистром, заглавными — только видом (без встроенного стиля: CSP) */
.vc-h1-caps { text-transform: uppercase; }
/* «Растят сейчас» и отзывы */
.vc-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.vc-now img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.vc-now a { display: grid; gap: 4px; text-decoration: none; color: inherit; font-size: 14px; }
.vc-review { padding: 12px 0; border-bottom: 1px solid var(--line); }
.vc-review img { max-width: 240px; border-radius: 10px; }
.vc-review-form form { display: grid; gap: 8px; max-width: 520px; margin-top: 10px; }
.vc-block.vc-last { border-bottom: 0; }
.vc-h2 { margin-bottom: 18px; font-size: 18px; font-weight: 400; text-transform: uppercase; color: var(--muted); }
.vc-scroll { overflow-x: auto; }
.vc-views, .vc-cuts { display: block; width: 100%; min-width: 900px; height: auto; font-family: inherit; }
.vc-views text, .vc-cuts text { fill: var(--muted); }
.vc-views .ink, .vc-cuts .ink { fill: var(--ink); }
.vc-views line { vector-effect: non-scaling-stroke; }
.vc-views .grid { stroke: #e4e4de; stroke-width: 1px; }
.vc-views .grid-major { stroke: #cecec7; stroke-width: 1px; }
.vc-views .axis { stroke: var(--ink); stroke-width: 2px; }
.vc-cuts .leader { fill: none; stroke: #008fb2; stroke-width: 2px; }
.vc-cuts .dot { fill: #008fb2; }
.vc-cuts .ruler { stroke: var(--ink); stroke-width: 2.5px; }

.vc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.vc-gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--track); }
.vc-gallery figcaption { margin-top: 8px; font-size: 16px; color: var(--muted); }
.vc-register { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 34px; }
.vc-register dt { font-size: 15px; color: var(--muted); }
.vc-register dd { margin-top: 4px; font-size: 19px; overflow-wrap: anywhere; }
.vc-unsupported { margin: 30px 0; }
.vc-description { max-width: 70em; margin-bottom: 26px; font-size: 18px; line-height: 1.55; }
.vc-described { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px dashed var(--line); }
.vc-summary { padding-bottom: 34px; border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .vc-gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vc { padding: 24px 16px; }
  .vc-head h1 { font-size: 30px; }
  .vc-nutrients { grid-template-columns: repeat(2, 1fr); }
  .vc-value, .vc-summary dd { font-size: 22px; }
  .vc-summary dl { gap: 14px 32px; }
}

/* Куда пойти дальше с карточки сорта: наборы, соседние сорта культуры и разделы сайта */
.vc-next {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
}
.vc-next h2 { margin: 0 0 10px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vc-next a { color: var(--ink); }
.vc-next-list { margin: 0; padding: 0; list-style: none; }
.vc-next-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.vc-next-list span { color: var(--muted); font-size: 13px; text-align: right; }
.vc-next-all { display: inline-block; margin-top: 10px; font-size: 14px; }

/* снимки садоводов: пустой блок зовёт прислать первый */
.vc-people-empty { font-size: 18px; line-height: 1.45; color: var(--muted); }
.vc-people-empty a { color: inherit; font-weight: 600; }

.vc-discoverer { margin: 0 0 18px; font-size: 18px; }
.vc-dispute { margin-top: 6px; font-size: 14px; color: var(--muted); }
.vc-dispute summary { cursor: pointer; }
.vc-dispute textarea { display: block; width: 100%; margin: 6px 0; font: inherit; box-sizing: border-box; }
.vc-dispute button { font: inherit; cursor: pointer; }

/* Гроу вики на карточке сорта */
.vw-tabs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -6px 0 16px; font-size: 14px; }
.vw-tabs a, .vw a { color: #2e6b45; }
.vw-lead { max-width: 760px; margin: 0 0 14px; font-size: 17px; line-height: 1.55; }
.vw-body { max-width: 760px; font-size: 16px; line-height: 1.6; }
.vw-body h2 { margin: 22px 0 6px; font-size: 19px; }
.vw-body h3 { margin: 16px 0 4px; font-size: 16px; }
.vw-body p, .vw-body ul, .vw-body ol { margin: 0 0 12px; }
.vw-body .wk-red { color: var(--high); }
.vw-body .wk-ref { font-size: 11px; line-height: 0; }
.vw-sources { margin: 10px 0 0; padding-left: 22px; font-size: 13px; color: var(--muted); }
.vw-sources li:target { background: #f5e6b3; }
.vw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 20px; }
.vw-cell { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.45; }
.vw-cell h3 { margin: 0 0 8px; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.vw-cell p { margin: 0; }
.vw-cell ul { margin: 0; padding-left: 18px; }
.vw-cell dl { margin: 6px 0 0; display: grid; gap: 4px; }
.vw-cell dl div { display: flex; justify-content: space-between; gap: 8px; }
.vw-cell dd { margin: 0; font-weight: 600; }
.vw-big { font-size: 30px; line-height: 1.1; font-weight: 600; }
.vw-muted { color: var(--muted); }
.vw-back { margin-top: 14px; font-size: 14px; }
.ad-slot { display: grid; place-items: center; min-height: 280px; margin: 20px 0; border-radius: 12px; }
.ad-preview { padding: 12px; color: var(--muted); font-size: 13px; text-align: center; }
.ad-slot:has(.ad-preview) { border: 1.5px dashed var(--line); }

/* Слайды сорта 1:1 (08.10.2026): плод, пищевая ценность, размер, разрез, росток, кисть */
.vc-slides { --g: #2f6b3a; --red: #b8322a; }
.vs-main { max-width: 640px; background: #fff; border-radius: 14px; overflow: hidden; }
.vs-stage { position: relative; aspect-ratio: 1; container-type: inline-size; background: #eee; }
.vs-stage img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-main figcaption { padding: 8px 12px; font-size: 15px; color: var(--muted); }
.vs-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 640px; margin: 8px 0 0; padding: 0; list-style: none; }
.vs-thumbs li { container-type: inline-size; min-width: 0; }
.vs-thumbs button { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: 8px; overflow: hidden;
  outline: 2px solid transparent; transition: transform .15s, box-shadow .15s; }
.vs-thumbs button:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(31, 42, 31, .18); }
.vs-thumbs button[aria-current="true"] { outline-color: var(--g); }
.vs-thumbs button:focus-visible { outline-color: var(--ink); }
.vs-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.vs-tile { width: 100%; aspect-ratio: 1; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between;
  padding: 9cqw; background: var(--g); color: #fff; line-height: 1; }
.vs-brand { display: flex; align-items: center; gap: 4cqw; font-size: 10cqw; font-weight: 600; }
.vs-brand svg { width: 14cqw; height: 14cqw; flex: none; }
.vs-tile b { font-size: 25cqw; font-weight: 800; }
.vs-tile small { font-size: 10.5cqw; opacity: .9; }
.vs-go { font-size: 10cqw; font-weight: 600; }
.vs-go::after { content: " →"; }
@container (max-width: 70px) { .vs-brand span, .vs-tile small { display: none; } .vs-tile b { font-size: 30cqw; } }

.vs-nutri { display: none; position: absolute; inset: 0; flex-direction: column; padding: 5cqw 5.5cqw; background: #fff; }
.vc-slides.show-nutri .vs-stage img { display: none; }
.vc-slides.show-nutri .vs-nutri { display: flex; }
.vs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; }
.vs-head h3 { margin: 0; font-size: 5cqw; }
.vs-logo { display: flex; align-items: center; gap: 1.2cqw; color: var(--g); font-weight: 700; font-size: 2.6cqw; }
.vs-logo svg { width: 3.6cqw; height: 3.6cqw; }
.vs-sub { margin: .6cqw 0 2cqw; font-size: 2.7cqw; color: var(--muted); }
.vs-nutri table { width: 100%; border-collapse: collapse; font-size: 2.7cqw; }
.vs-nutri th { text-align: left; font-weight: 400; font-size: 2.1cqw; color: var(--muted); padding: 0 0 .8cqw; }
.vs-nutri td { padding: .9cqw 0; border-top: 1px solid var(--line); vertical-align: middle; }
.vs-v { font-weight: 700; white-space: nowrap; padding-right: 2cqw; }
.vs-f { white-space: nowrap; text-align: right; }
.vs-bar { display: inline-block; vertical-align: middle; width: 20cqw; height: 1cqw; margin-right: 1.6cqw; border-radius: 1cqw; background: var(--track); }
.vs-bar i { display: block; height: 100%; border-radius: 1cqw; background: var(--red); }
.vs-pct { font-size: 2.2cqw; color: var(--muted); white-space: nowrap; }
.vs-note { margin-top: auto; font-size: 1.9cqw; color: var(--muted); }
