/*
Theme Name: Green Drive
Theme URI: https://greenwaydrive.ru/
Description: Независимый каталог продукции Greenway с обзорами и ценами. Светлая эко-витрина: белый, листовой зелёный, мята, графит; карточки-ценники с датой снимка. Comfortaa + Geist.
Version: 1.2.1
Requires PHP: 7.4
Text Domain: greendrive
*/

:root {
	--bg: #ffffff;
	--wash: #f3faf5;
	--mint: #e2f4e7;
	--mint-2: #c6e9d1;
	--leaf: #3aa655;
	--leaf-2: #2b8c45;
	--leaf-ink: #1c6c32;
	--graphite: #1e2427;
	--text: #2f373a;
	--muted: #637074;
	--line: #e1e9e3;
	--line-2: #d0dcd3;
	--sun: #f5d94a;
	--w: #b4487a;
	--m: #2f6d9a;
	--u: #6b7a2a;
	--r: 14px;
	--f-h: 'Comfortaa', 'Trebuchet MS', sans-serif;
	--f-t: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.62 var(--f-t); font-feature-settings: 'tnum' 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-ink); text-decoration-color: rgba(28, 108, 50, .35); text-underline-offset: 3px; }
a:hover { color: var(--leaf-2); text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--f-h); color: var(--graphite); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 12px; }
.muted { color: var(--muted); }
.ico { width: 24px; height: 24px; flex: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--text { max-width: 820px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px;
	background: var(--leaf-ink); color: #fff; font: 600 16px/1 var(--f-t); text-decoration: none; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--leaf-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--leaf-ink); box-shadow: inset 0 0 0 2px var(--mint-2); }
.btn--ghost:hover { background: var(--mint); color: var(--leaf-ink); }
.btn.is-placeholder { cursor: default; }

/* ---------- Шапка ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--leaf) 0 22%, var(--mint-2) 22% 100%); opacity: .9; }
.top__row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--graphite); flex: none; }
.logo__mark { width: 38px; height: 36px; }
.logo__tag { fill: var(--leaf); }
.logo__hole { fill: #fff; }
.logo__gd { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo__txt { font: 700 20px/1 var(--f-h); letter-spacing: -.02em; }
.logo__txt b { color: var(--leaf-2); font-weight: 700; margin-left: 3px; }
.top__nav { margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--wash); color: var(--leaf-ink); }
.nav .is-cur a { background: var(--mint); color: var(--leaf-ink); }
.nav .nav--kak-kupit a { box-shadow: inset 0 0 0 1.5px var(--mint-2); color: var(--leaf-ink); margin-left: 6px; }
.top__find { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--graphite); }
.top__find:hover { background: var(--mint); color: var(--leaf-ink); }
.top__find .ico { width: 21px; height: 21px; }
.top__menu { display: none; position: relative; }
.top__menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.top__menu summary::-webkit-details-marker { display: none; }
.top__menu[open] summary { background: var(--mint); }
.top__bars { display: grid; gap: 5px; }
.top__bars i { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--graphite); }
.top__drop { position: fixed; left: 0; right: 0; top: 69px; background: #fff; border-bottom: 1px solid var(--line); padding: 16px 20px 22px; box-shadow: 0 20px 40px -24px rgba(30, 36, 39, .35); max-height: calc(100vh - 69px); overflow: auto; }
.nav--drop { flex-direction: column; gap: 0; margin-top: 12px; }
.nav--drop a { padding: 12px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.nav--drop .nav--kak-kupit a { box-shadow: none; margin: 0; }

/* ---------- Поиск ---------- */
.finder { position: relative; display: flex; align-items: center; background: #fff; border: 2px solid var(--mint-2); border-radius: 999px; padding: 5px; max-width: 620px; transition: border-color .15s; }
.finder:focus-within { border-color: var(--leaf); }
.finder__ic { width: 20px; height: 20px; margin-left: 14px; color: var(--muted); }
.finder input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 17px/1 var(--f-t); color: var(--graphite); padding: 12px 12px; }
.finder input::-webkit-search-cancel-button { display: none; }
.finder button { border: 0; border-radius: 999px; background: var(--leaf-ink); color: #fff; font: 600 16px/1 var(--f-t); padding: 0 22px; min-height: 44px; cursor: pointer; }
.finder button:hover { background: var(--leaf-2); }

/* ---------- Главная: первый экран с краем чековой ленты ---------- */
.hero { background: var(--mint); position: relative; padding: 30px 0 44px;
	-webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
	mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 40px; align-items: center; }
.hero__t { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; max-width: 16em; }
.hero__d { font-size: 17px; color: var(--text); max-width: 36em; margin-bottom: 18px; }
.hero__hints { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 15px; color: var(--muted); }
.hero__hints a { background: rgba(255, 255, 255, .75); border-radius: 999px; padding: 4px 12px; text-decoration: none; color: var(--leaf-ink); font-weight: 500; }
.hero__hints a:hover { background: #fff; }

.receipt { background: #fff; border-radius: 6px 6px 0 0; padding: 22px 22px 26px; font-size: 15px; box-shadow: 0 18px 40px -26px rgba(30, 60, 40, .45); position: relative; transform: rotate(1.2deg);
	-webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%;
	mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 14px 100%; }
.receipt__h { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--muted); }
.receipt__date { font: 700 26px/1.2 var(--f-h); color: var(--graphite); margin: 4px 0 14px; }
.receipt__rows { list-style: none; margin: 0; padding: 12px 0 0; border-top: 2px dashed var(--line-2); }
.receipt__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.receipt__rows b { font-variant-numeric: tabular-nums; color: var(--graphite); }
.receipt__sum { border-top: 2px dashed var(--line-2); margin-top: 8px; padding-top: 10px !important; font-weight: 600; color: var(--graphite); }
.receipt__n { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Секции ---------- */
.sec { padding-top: 56px; padding-bottom: 8px; }
.sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 22px; }
.sec__t { font-size: clamp(22px, 2.2vw, 27px); margin: 0; }
.sec__d { margin: 0; color: var(--muted); font-size: 15px; }
.sec__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 14px; }
.sec__foot .snap { margin: 0; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.more .ico { width: 20px; height: 20px; }
.band { background: var(--wash); margin-top: 56px; padding-bottom: 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .sec { padding-top: 44px; }
.snap { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 600; color: var(--leaf-2); margin: 0 0 8px; }
.empty { color: var(--muted); padding: 24px 0; }

/* Разделы */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--text); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { border-color: var(--mint-2); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(30, 90, 50, .5); color: var(--text); }
.tile__ic { width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: var(--leaf-ink); display: grid; place-items: center; margin-bottom: 10px; }
.tile__ic .ico { width: 30px; height: 30px; }
.tile__t { font: 700 18px/1.3 var(--f-h); color: var(--graphite); }
.tile__d { font-size: 14.5px; color: var(--muted); }
.tile__n { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--muted); }
.tile__n b { font: 700 22px/1 var(--f-h); color: var(--leaf-2); margin-right: 2px; }

/* ---------- Ценники ---------- */
.ptags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 1.2em 0 .4em; }
.ptags--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ptags--one { grid-template-columns: minmax(0, 420px); }
.ptag { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 10px 10px 10px 10px; padding: 16px 18px 14px 18px; min-width: 0; }
.ptag::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 10px 0 0 10px; background: var(--leaf); }
.ptag__hole { position: absolute; top: 14px; right: 14px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--wash); }
.ptag__sale { position: absolute; top: -10px; right: 34px; background: var(--sun); color: var(--graphite); font: 600 13px/1 var(--f-t); padding: 5px 8px; border-radius: 6px; }
.ptag__brand { margin: 0 24px 6px 0; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--leaf-2); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.ptag__code { color: var(--muted); font-weight: 500; letter-spacing: .02em; text-transform: none; font-variant-numeric: tabular-nums; }
.ptag__name { margin: 0 0 12px; font-size: 15.5px; line-height: 1.4; color: var(--graphite); font-weight: 500; }
.ptag__foot { margin-top: auto; border-top: 2px dashed var(--line-2); padding-top: 10px; }
.ptag__price { margin: 0; font-variant-numeric: tabular-nums; }
.ptag__price b { font: 700 22px/1.2 var(--f-h); color: var(--graphite); letter-spacing: -.01em; }
.ptag__price s { color: var(--muted); font-size: 15px; margin-left: 6px; }
.ptag__rate { margin: 2px 0 0; font-size: 14px; }
.ptag__date { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }
.rate__s { color: #e0a800; }
.rate b { color: var(--graphite); font-weight: 600; }
.rate__n { color: var(--muted); }
.rate--none { color: var(--muted); }

/* ---------- Таблицы: «прайс» ---------- */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.4em 0 .4em; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.tbl table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.45; margin: 0; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--mint); color: var(--graphite); font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 1px solid var(--mint-2); }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.tbl tbody tr:nth-child(even) > * { background: #fafdfb; }
.tbl tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.tbl thead tr > :first-child { background: var(--mint); z-index: 2; }
.tbl tbody tr:nth-child(even) > :first-child { background: #fafdfb; }
.tbl--price td { font-variant-numeric: tabular-nums; }
.tbl--price td:last-child { white-space: nowrap; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .num small { display: block; color: var(--muted); font-size: 12.5px; }
.content .tbl + .snap { margin-top: 6px; margin-bottom: 1.4em; }
.perf { min-width: 640px; }
.perf--mini { min-width: 520px; }
.pnum { font: 700 17px/1.3 var(--f-h) !important; color: var(--graphite); }
.pnum a { text-decoration: none; }
.ptype { display: inline-block; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin-right: 6px; }
.ptype--w { background: #f8e8f0; color: var(--w); }
.ptype--m { background: #e6eff6; color: var(--m); }
.ptype--u { background: #eef1dd; color: var(--u); }
.pline { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.pnotes { color: var(--text); min-width: 180px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1em 0 0; }
.chips[hidden] { display: none; }
.chip { font: 500 15px/1 var(--f-t); border: 1.5px solid var(--line-2); background: #fff; color: var(--text); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.chip span { color: var(--muted); font-size: 13px; margin-left: 2px; }
.chip.is-on { background: var(--leaf-ink); border-color: var(--leaf-ink); color: #fff; }
.chip.is-on span { color: #cfe9d6; }
.dtab tr[hidden] { display: none; }
.pn-m { display: none; }

/* ---------- CTA ---------- */
.cta { display: flex; align-items: center; gap: 22px; background: var(--graphite); color: #dfe7e2; border-radius: 18px; padding: 26px 28px; margin: 2em 0 1em; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; border: 22px solid rgba(58, 166, 85, .18); pointer-events: none; }
.cta__tag { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--leaf); color: #fff; display: grid; place-items: center; }
.cta__tag .ico { width: 30px; height: 30px; }
.cta__b { flex: 1; min-width: 0; }
.cta__t { font: 700 20px/1.3 var(--f-h); color: #fff; margin: 0 0 4px; }
.cta__d { margin: 0; font-size: 15.5px; color: #c3cfc8; }
.btn--cta { background: var(--leaf); color: #fff; position: relative; z-index: 1; flex: none; }
.btn--cta:hover { background: #47b862; color: #fff; }
.sec--cta { padding-top: 40px; }
.sec--cta .cta { margin: 0; }

/* ---------- Как купить ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 22px 22px 20px; border-radius: var(--r); background: var(--wash); border: 1px solid var(--line); }
.steps__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--leaf); color: var(--leaf-ink); font: 700 16px/1 var(--f-h); margin-bottom: 12px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { font-size: 15.5px; margin-bottom: 10px; }
.steps a { font-weight: 600; font-size: 15px; }

/* ---------- Карточки записей ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--mint-2); box-shadow: 0 14px 30px -24px rgba(30, 90, 50, .5); }
.card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card__b { padding: 18px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.card__cat { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--leaf-2); margin: 0 0 8px; }
.card__ic { width: 18px; height: 18px; }
.card__t { font-size: 17.5px; line-height: 1.35; margin: 0 0 8px; }
.card__t a { color: var(--graphite); text-decoration: none; }
.card__t a:hover { color: var(--leaf-ink); }
.card__ex { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.card__d { margin: auto 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Шапки страниц ---------- */
.phead { background: var(--wash); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.phead__row { display: flex; gap: 20px; align-items: flex-start; }
.phead__ic { width: 64px; height: 64px; flex: none; border-radius: 18px; background: #fff; border: 1px solid var(--mint-2); color: var(--leaf-ink); display: grid; place-items: center; }
.phead__ic .ico { width: 36px; height: 36px; }
.phead__t { font-size: clamp(26px, 3vw, 36px); margin: 0 0 8px; }
.phead__d { color: var(--text); max-width: 46em; }
.phead__d p:last-child { margin-bottom: 0; }
.phead__n { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.phead__n b { color: var(--leaf-2); }
.phead--search .finder { margin-top: 18px; }
.hub { padding-top: 32px; }

/* ---------- Статья ---------- */
.art__head { padding: 36px 0 8px; }
.art__head .wrap { max-width: 1200px; }
.chip-cat { display: inline-flex; align-items: center; gap: 7px; background: var(--mint); color: var(--leaf-ink); border-radius: 999px; padding: 6px 13px 6px 10px; font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 16px; }
.chip-cat .ico { width: 18px; height: 18px; }
.art__t { font-size: clamp(27px, 3.3vw, 38px); max-width: 21em; margin-bottom: 12px; }
.art__meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.art__cover { margin-top: 24px; margin-bottom: 0; }
.art__cover img { border-radius: 16px; width: 100%; }
.art__grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; padding-top: 28px; }
.art__main { min-width: 0; max-width: 760px; }
.art__side { position: relative; }
.toc { position: sticky; top: 96px; border-left: 2px solid var(--mint-2); padding: 2px 0 2px 18px; font-size: 14.5px; }
.toc__h { font-weight: 600; color: var(--graphite); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0 0 8px; line-height: 1.4; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--leaf-ink); }
.toc--mob { display: none; }

.content { font-size: 17.5px; }
.content > *:first-child { margin-top: 0; }
.content h2 { font-size: clamp(22px, 2.3vw, 26px); margin: 1.9em 0 .7em; }
.content h3 { font-size: 19px; margin: 1.5em 0 .5em; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.content li { margin-bottom: .35em; }
.content ul li::marker { color: var(--leaf); }
.content blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--leaf); color: var(--graphite); }
.content img { border-radius: 12px; }
.content hr { border: 0; border-top: 2px dashed var(--line-2); margin: 2em 0; }

.brief { background: var(--mint); border-radius: 16px; padding: 22px 24px 8px; margin: 0 0 1.6em; position: relative; }
.brief h2 { font-size: 15px !important; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px !important; color: var(--leaf-ink); font-family: var(--f-t); font-weight: 600; }
.brief ul { padding-left: 1.1em; }
.nld { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--graphite); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 14px; margin: -.4em 0 1.6em; background: #fff; }
.nld::before { content: 'i'; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--graphite); color: #fff; font: 600 13px/20px var(--f-t); text-align: center; }

.faq { margin-top: 2em; }
.qa { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.qa summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--leaf-2); border-bottom: 2px solid var(--leaf-2); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa__q { font-size: 17px !important; margin: 0 !important; font-family: var(--f-t); font-weight: 600; }
.qa__a { padding: 0 18px 6px; font-size: 16.5px; }
.qa[open] { border-color: var(--mint-2); }

.sec--rel { padding-bottom: 24px; }

/* ---------- Страница, 404 ---------- */
.pg { padding-top: 40px; padding-bottom: 40px; }
.pg__t { font-size: clamp(26px, 3vw, 36px); }
.nf { padding: 64px 24px 56px; }
.nf__code { font: 700 88px/1 var(--f-h); color: var(--mint-2); margin: 0 0 12px; }
.nf__d { color: var(--muted); }
.nf .finder { margin: 20px 0 22px; }

/* ---------- Пагинация ---------- */
.navigation.pagination { margin-top: 28px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.page-numbers.current { background: var(--leaf-ink); border-color: var(--leaf-ink); color: #fff; }

/* ---------- Подвал ---------- */
.foot { margin-top: 72px; border-top: 1px solid var(--line); background: var(--wash); font-size: 15px; }
.foot__row { display: flex; gap: 40px; justify-content: space-between; padding-top: 36px; padding-bottom: 24px; }
.foot__brand { max-width: 420px; }
.foot__t { color: var(--muted); margin: 12px 0 0; }
.foot__menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 36px; }
.foot__menu a { color: var(--text); text-decoration: none; }
.foot__menu a:hover { color: var(--leaf-ink); }
.foot__c { border-top: 1px solid var(--line); padding-top: 16px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 14px; }
.foot__ind { margin: 0; color: var(--graphite); font-weight: 500; }
.foot__l { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__l a { color: var(--muted); }

/* ---------- ≤1100: меню в раскрывашку ---------- */
@media (max-width: 1100px) {
	.top__nav { display: none; }
	.top__find { margin-left: auto; }
	.top__menu { display: block; }
}

/* ---------- ≤920: планшет ---------- */
@media (max-width: 920px) {
	body { font-size: 16.5px; }
	.wrap { padding: 0 20px; }
	.hero { padding: 40px 0 60px; }
	.hero__row { grid-template-columns: 1fr; gap: 32px; }
	.receipt { max-width: 420px; transform: none; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.ptags, .ptags--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: 1fr; }
	.art__grid { grid-template-columns: 1fr; gap: 0; }
	.art__side { display: none; }
	.toc--mob { display: block; position: static; border: 1px solid var(--line); border-radius: 12px; padding: 0; margin: 0 0 24px; background: var(--wash); }
	.toc--mob summary { cursor: pointer; padding: 12px 16px; font-weight: 600; color: var(--graphite); }
	.toc--mob ol { padding: 0 16px 12px 16px; }
	.toc--mob li { margin-bottom: 8px; }
	.toc--mob a { color: var(--text); }
	.foot__row { flex-direction: column; gap: 22px; }
	.cta { flex-wrap: wrap; }
	.cta__b { flex-basis: calc(100% - 80px); }
}

/* ---------- ≤560: телефон ---------- */
@media (max-width: 560px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.top__row { min-height: 60px; gap: 8px; }
	.top__drop { top: 61px; max-height: calc(100vh - 61px); }
	.logo__mark { width: 34px; height: 32px; }
	.logo__txt { font-size: 18px; }
	.hero { padding: 30px 0 52px; }
	.hero__d { font-size: 16.5px; }
	.finder__ic { display: none; }
	.finder input { padding: 11px 12px; font-size: 16px; }
	.finder button { padding: 0 16px; }
	.sec { padding-top: 44px; }
	.tiles { gap: 10px; }
	.tile { padding: 16px 14px; }
	.tile__ic { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 6px; }
	.tile__ic .ico { width: 26px; height: 26px; }
	.tile__t { font-size: 16px; }
	.tile__d { display: none; }
	.ptags, .ptags--4 { grid-template-columns: 1fr; gap: 12px; }
	.cards { grid-template-columns: 1fr; gap: 12px; }
	.tbl { margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
	.tbl th, .tbl td { padding: 10px 11px; }
	.tbl table { font-size: 14.5px; }
	.perf .pnotes { display: none; }
	.perf, .perf--mini { min-width: 0; }
	.pn-m { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--text); }
	.pline { display: block; margin-top: 3px; }
	.cta { padding: 22px 20px; gap: 16px; }
	.cta__tag { width: 46px; height: 46px; }
	.cta__b { flex-basis: calc(100% - 64px); }
	.btn--cta { width: 100%; }
	.phead { padding: 28px 0 24px; }
	.phead__ic { width: 50px; height: 50px; border-radius: 14px; }
	.phead__ic .ico { width: 28px; height: 28px; }
	.art__head { padding-top: 24px; }
	.content { font-size: 16.5px; }
	.brief { padding: 18px 18px 6px; margin-left: -4px; margin-right: -4px; }
	.foot__menu { grid-template-columns: 1fr 1fr; gap: 6px 16px; }
	.foot__c { flex-direction: column; }
}

/* 29.09: поиск убран из первого экрана главной — без хвостового отступа */
.hero__d:last-child { margin-bottom: 0; }

/* ---------- Линейки (хабы) — v1.1 ---------- */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.line { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--mint-2); border-radius: var(--r); background: #fff; color: var(--text); text-decoration: none; transition: border-color .15s; }
.line:hover { border-color: var(--mint-2); color: var(--text); }
.line__t { font: 700 17px/1.25 var(--f-h); color: var(--graphite); }
.line__d { font-size: 14px; color: var(--muted); }
.line__n { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--leaf-ink); }
.art__line { margin: -4px 0 10px; font-size: 15px; color: var(--muted); }
.art__line a { font-weight: 600; }
.line-grid { margin-top: 2em; }
@media (max-width: 1100px) {
	.lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
	.lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.lines { grid-template-columns: 1fr; gap: 8px; }
	.line { padding: 12px 14px; }
}

/* 1.2.0: первый экран без чека — чипсы разделов и фото популярных товаров; фото в ценниках и карточках */
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a { display: inline-flex; gap: 6px; align-items: baseline; background: rgba(255, 255, 255, .8); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--leaf-ink); font-weight: 500; font-size: 15px; }
.hero__chips a:hover { background: #fff; }
.hero__chips b { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; font-size: 13.5px; }
.hero__prods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hprod { background: #fff; border-radius: 12px; padding: 10px 12px 12px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; box-shadow: 0 14px 30px -26px rgba(30, 60, 40, .5); }
.hprod__img { grid-column: 1 / -1; display: block; aspect-ratio: 4 / 3; margin-bottom: 6px; }
.hprod__img img { width: 100%; height: 100%; object-fit: contain; }
.hprod__s { font-size: 13px; color: var(--muted); }
.hprod__p { font: 700 16px/1.2 var(--f-h); color: var(--graphite); font-variant-numeric: tabular-nums; }
.ptag--img { padding-top: 12px; }
.ptag__img { display: block; aspect-ratio: 4 / 3; margin: 0 0 10px; }
.ptag__img img { width: 100%; height: 100%; object-fit: contain; }
.ptag--img .ptag__sale { top: 10px; right: 10px; }
.card__img--prod { display: block; background: var(--wash); }
.card__img--prod img { aspect-ratio: 16 / 9; object-fit: contain; width: 100%; padding: 10px 0; }
@media (max-width: 920px) {
  .hero__row { grid-template-columns: 1fr; gap: 22px; }
  .hero__prods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero { padding: 22px 0 34px; }
  .hero__prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptags--4, .ptags:not(.ptags--one) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ptag--img { padding: 10px 10px 10px 14px; }
  .ptag--img .ptag__img { aspect-ratio: 1 / 1; margin-bottom: 8px; }
  .ptag--img .ptag__name { font-size: 14px; margin-bottom: 8px; }
  .ptag--img .ptag__price b { font-size: 18px; }
  .ptag--img .ptag__date { display: none; }
}
