/* v2 = v6 «Коллекционер» в цветах старого sad53.ru: стально-синие фоны и плашки вместо сиреневых,
   ягодный акцент от пиона в старом логотипе, тёмно-синий подвал как фон старой страницы */
:root {
  --bg: #ffffff; --surface: #eaf1f7; --text: #172636; --muted: #566676; --line: #d5e1ec;
  --accent: #7a1f4e; --accent-ink: #ffffff; --accent-2: #c2185b;
  --old-blue: #1f5a8a; --old-blue-2: #2b7fbf; --old-sky: #f2f6fa;
  --f-head: "Prata", Georgia, serif;
  --f-body: "Onest", "Segoe UI", Roboto, Arial, sans-serif;
  --fs: 16.5px; --radius: 14px; --head-w: 400;
}
.hero-split .wrap { padding-block: clamp(36px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.4em, 5vw, 4em); }
.hero .lead { font-size: 1.15em; color: var(--text); }
.hero-photo { aspect-ratio: 4 / 5; max-height: 560px; }
.btn { border-radius: 999px; }
.add { border-radius: 999px; }
.card-ph { border-radius: 18px; }

/* Шапка: белая, с синей полосой как у старого сайта */
.top { border-bottom: 0; box-shadow: inset 0 -3px 0 var(--old-blue); }

/* Первый экран на светло-голубом, как фон контента старой страницы */
.hero { background: linear-gradient(180deg, var(--old-sky), #ffffff 85%); }

/* Цифры коллекции: голубые плашки с синими цифрами */
.stats { border: 0; gap: 10px; }
.stats div { border: 0; background: var(--surface); border-radius: var(--radius); }
.stats b { color: var(--old-blue); }

/* Тонированные секции и карточки групп */
.g-card { background: var(--surface); }
.sec.tint { background: linear-gradient(180deg, #e6eef6, var(--surface)); }
.card-tag { color: var(--old-blue); }
.steps li::before { background: var(--old-blue); }
.faq summary::after { color: var(--old-blue); }

/* Подвал: тёмно-синий, как фон старого сайта */
.foot { background: linear-gradient(180deg, #1d5583, #17466d); }

/* Яндекс-карта */
.ymap .map-frame { box-shadow: 0 0 0 1px var(--line); border-radius: var(--radius) var(--radius) 0 0; }

/* Проложить маршрут: голубая плашка под картой, как продолжение рамки */
.route { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 14px 18px; }
.route-t { font: var(--head-w) 1.25em/1.2 var(--f-head); color: var(--text); }
.route-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px 8px 10px; text-decoration: none; color: var(--text); line-height: 1.15; transition: border-color .2s, box-shadow .2s; }
.route-btn:hover { border-color: var(--old-blue); box-shadow: 0 2px 10px rgba(31, 90, 138, .15); color: var(--text); }
.route-btn img { width: 34px; height: 34px; flex: none; padding: 5px; border-radius: 50%; background: var(--surface); object-fit: contain; }
.route-btn span { display: grid; font-weight: 600; font-size: .95em; }
.route-btn small { font-weight: 400; font-size: .78em; color: var(--muted); }
@media (max-width: 600px) { .route-btns { grid-template-columns: 1fr; } }

/* ---------- Меню с выпадающими фотоальбомами ---------- */
.menu-v2 { align-items: center; gap: 4px 22px; }
.menu-v2 a[aria-current="page"] { color: var(--accent); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: .7em; margin-left: 5px; color: var(--muted); }
.has-sub .sub { position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 300px; padding: 8px; margin-top: 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 34px rgba(23, 38, 54, .14); display: grid; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-sub .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub .sub a { padding: 8px 12px; border-radius: 8px; white-space: nowrap; font-size: .94em; }
.has-sub .sub a:hover { background: var(--surface); color: var(--text); }
.has-sub .sub a.sub2 { padding-left: 30px; color: var(--muted); font-weight: 400; position: relative; }
.has-sub .sub a.sub2::before { content: ""; position: absolute; left: 16px; top: 0; height: 50%; width: 8px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 980px) { .has-sub .sub { display: none; } .has-sub > a::after { content: ""; } }

/* ---------- Первый экран: обращение + случайный цветок ---------- */
.hero-greet .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
.greet p { font-size: 1.08em; line-height: 1.65; max-width: 34em; }
.greet p:first-child { font-family: var(--f-head); font-size: 1.3em; line-height: 1.45; color: var(--text); }
.rnd { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 18px 40px rgba(31, 90, 138, .1); display: grid; gap: 12px; }
.rnd-h { display: flex; justify-content: space-between; align-items: center; font-size: .78em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--old-blue); padding: 2px 4px 0; }
.rnd-h a { letter-spacing: 0; text-transform: none; font-size: 1.15em; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--old-blue); }
.rnd-h a:hover { background: var(--surface); }
.rnd-ph { position: relative; display: block; aspect-ratio: 4 / 4.2; border-radius: 14px; overflow: hidden; background: var(--surface); }
.rnd-ph img { width: 100%; height: 100%; object-fit: cover; }
.rnd-b { padding: 0 4px 4px; display: grid; gap: 2px; }
.rnd-b h2 { font-size: 1.7em; }
.rnd-b h2 a { color: var(--text); text-decoration: none; }
.rnd-price { margin: 8px 0 0; font-weight: 600; color: var(--accent); }
.rnd-price.off { font-weight: 400; color: var(--muted); font-size: .92em; }

/* ---------- Альбомы как каталог ---------- */
.chips-sub { margin-top: -12px; padding-left: 14px; border-left: 2px solid var(--line); }
.chips-sub a { font-size: .86em; padding: 5px 12px; }
.album-empty { background: var(--surface); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }
.sec.tint .chips a:not(.on) { background: var(--bg); }

/* ---------- Сквозной блок: опрос + соцсети ---------- */
.community { background: linear-gradient(180deg, var(--old-sky), var(--surface)); border-top: 1px solid var(--line); }
.comm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.poll-box, .social-box { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.social-box h2 { font-size: clamp(1.5em, 2.4vw, 2em); margin-bottom: 8px; }
.soc { display: grid; gap: 10px; margin-top: 18px; }
.soc-btn { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.soc-btn:hover { border-color: var(--old-blue); box-shadow: 0 2px 12px rgba(31, 90, 138, .14); color: var(--text); }
.soc-btn img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.soc-btn span { display: grid; line-height: 1.25; }
.soc-btn small { color: var(--muted); font-size: .84em; }
/* WP-Polls под стиль сайта */
.poll-box .wp-polls { font: inherit; }
.poll-box .wp-polls strong, .poll-box .wp-polls p[style*="center"] strong { display: block; font: var(--head-w) clamp(1.5em, 2.4vw, 2em)/1.2 var(--f-head); text-align: left; margin: 4px 0 14px; }
.poll-box .wp-polls p[style*="center"] { text-align: left !important; }
.poll-box .wp-polls-ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.poll-box .wp-polls-ul li { background: var(--surface); border-radius: 10px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; }
.poll-box .wp-polls-ul li label { cursor: pointer; flex: 1; }
.poll-box .wp-polls input[type="radio"], .poll-box .wp-polls input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; }
.poll-box .wp-polls input.Buttons, .poll-box .wp-polls input[type="button"] { font: 600 1em var(--f-body); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .75em 1.6em; cursor: pointer; }
.poll-box .wp-polls a { color: var(--old-blue); font-size: .92em; }
.poll-box .wp-polls .pollbar { background: var(--accent-2) !important; border: 0 !important; border-radius: 4px; height: 8px !important; margin: 4px 0 10px; }
.poll-box .wp-polls-loading { display: none; }

/* ---------- Каталог и цены: файлы для скачивания ---------- */
.docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.doc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.doc:hover { border-color: var(--old-blue); box-shadow: 0 4px 18px rgba(31, 90, 138, .14); color: var(--text); }
.doc-ic { width: 52px; height: 60px; flex: none; border-radius: 8px; background: #2b579a; color: #fff; display: grid; place-items: center; font: 700 1.5em/1 var(--f-body); position: relative; }
.doc-ic::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 14px 14px 0; border-color: transparent var(--surface) #6f93c9 transparent; }
.doc-b { display: grid; gap: 2px; flex: 1; min-width: 0; }
.doc-b b { font-family: var(--f-head); font-weight: 400; font-size: 1.3em; line-height: 1.2; }
.doc-b small { color: var(--muted); }
.doc-b .doc-meta { font-size: .8em; letter-spacing: .04em; }
.doc-dl { flex: none; background: var(--accent); color: #fff; border-radius: 999px; padding: .6em 1.2em; font-weight: 600; font-size: .92em; }
.doc-how { max-width: 760px; }
.doc-how h2 { font-size: clamp(1.6em, 2.6vw, 2.1em); margin-bottom: 8px; }
.doc-how .btn { margin-top: 18px; }

/* ---------- Подвал без контактов ---------- */
.foot .cols-v2 { grid-template-columns: 1.6fr 1fr 1fr; }

@media (max-width: 980px) {
  .hero-greet .wrap, .comm, .docs, .foot .cols-v2 { grid-template-columns: minmax(0, 1fr); }
  .rnd { max-width: 460px; }
}
@media (max-width: 600px) { .doc { flex-wrap: wrap; } .doc-dl { width: 100%; text-align: center; } }

/* Главная: галерея и карта на белом, разделяем тонкой линией */
#kak-nayti { border-top: 1px solid var(--line); }

/* Соцсети слева, опрос справа */
.comm .social-box { order: -1; }

/* Плотнее: отступ секций вдвое меньше базового (было до 96px) */
:root { --sec: clamp(28px, 3.6vw, 48px); }
.poll-box .wp-polls p:last-child { margin-bottom: 0; }
.sec-head { margin-bottom: clamp(18px, 2.4vw, 28px); }

/* Меню: тот же шрифт, что у названия сайта; явная подсветка при наведении */
.menu-v2 { gap: 2px 4px; }
.menu-v2 > a, .menu-v2 .has-sub > a { font: 400 1.02em/1 var(--f-head); color: var(--text); padding: 9px 12px; border-radius: 999px; position: relative; transition: background .15s, color .15s; }
.menu-v2 > a:hover, .menu-v2 .has-sub:hover > a, .menu-v2 .has-sub:focus-within > a { background: var(--surface); color: var(--accent); }
.menu-v2 > a[aria-current="page"] { color: var(--text); }
.menu-v2 > a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-2); }
.menu-v2 > a[aria-current="page"]:hover { color: var(--accent); }
.has-sub .sub { margin-top: 8px; }
.has-sub .sub a { font-family: var(--f-head); font-size: 1em; }
.has-sub .sub a:hover { background: var(--surface); color: var(--accent); }.top .wrap { gap: 16px; }
.logo small { white-space: nowrap; }
.menu-v2 { flex-wrap: nowrap; gap: 0 2px; }
.menu-v2 > a, .menu-v2 .has-sub > a { font-size: .95em; padding: 8px 10px; white-space: nowrap; }
.menu-v2 > a[aria-current="page"]::after { left: 10px; right: 10px; }
@media (max-width: 1180px) { .logo small { display: none; } }
@media (max-width: 980px) { .menu-v2 { overflow-x: auto; } .logo small { display: block; white-space: normal; } }
/* Подчёркивание текущего раздела и у «Фотоальбомов» */
.menu-v2 .has-sub > a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-2); }
.has-sub .sub a[aria-current="page"] { color: var(--accent); background: var(--surface); }

/* Случайный цветок: карточка по высоте левой колонки — низ вровень с кнопками */
.hero-greet .wrap { align-items: stretch; }
.hero-greet .rnd { display: flex; flex-direction: column; }
.hero-greet .rnd-ph { flex: 1 1 0; min-height: 240px; aspect-ratio: auto; }
@media (max-width: 980px) { .hero-greet .rnd-ph { flex: none; aspect-ratio: 4 / 4.2; } }
/* Ещё плотнее везде */
:root { --sec: clamp(20px, 2.6vw, 32px); }
.foot { padding-block: 28px 20px; }
.foot small { margin-top: 16px; }
.more { margin-top: 18px; }
.attrib { margin: 6px 0 0; }
.hero-split .wrap, .hero-greet .wrap { padding-block: clamp(24px, 3vw, 40px); }
.docs { margin-bottom: clamp(20px, 3vw, 32px); }
/* Главная: второй абзац приветствия крупнее на 30% (1.08em → 1.4em) */
.greet p + p { font-size: 1.4em; line-height: 1.55; max-width: 30em; }
/* «О саде»: подзаголовки внутри текста */
.prose h2 { font-size: clamp(1.4em, 2.2vw, 1.75em); margin: 1.4em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose .sign { font-weight: 600; margin-top: 1.2em; }
/* Каталог и цены: пометка о новом каталоге и условия */
.doc-pending { background: #fff6e0; border: 1px solid #f0d9a0; color: #6b4e10; border-radius: 12px; padding: 12px 16px; margin: 0 0 14px; font-size: .95em; }
#usloviya { margin-top: clamp(20px, 3vw, 32px); scroll-margin-top: 90px; }
.cond ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.cond li { background: var(--surface); border-radius: 10px; padding: 10px 14px 10px 40px; position: relative; }
.cond li::before { content: ""; position: absolute; left: 16px; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
/* ---------- Страницы v2: общий верх ---------- */
.page-top h1 { font-size: clamp(2.2em, 4.4vw, 3.4em); }
.page-top .sec-head { margin-bottom: clamp(18px, 2.6vw, 28px); }

/* Каталог: три шага в ряд */
.how3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: h; }
.how3 li { counter-increment: h; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 22px; display: grid; gap: 6px; align-content: start; }
.how3 li::before { content: counter(h); width: 38px; height: 38px; border-radius: 50%; background: var(--old-blue); color: #fff; display: grid; place-items: center; font: 400 1.15em/1 var(--f-head); margin-bottom: 6px; }
.how3 b { font: 400 1.3em/1.2 var(--f-head); }
.how3 span { color: var(--muted); font-size: .95em; }

/* Каталог: условия карточками */
.conds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.cond-card { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.cond-card h3 { font-size: 1.35em; margin-bottom: 10px; color: var(--old-blue); }
.cond-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cond-card li { position: relative; padding-left: 18px; font-size: .95em; line-height: 1.5; }
.cond-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); }

/* Контакты */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
a.ccard:hover { border-color: var(--old-blue); box-shadow: 0 4px 18px rgba(31, 90, 138, .14); color: var(--text); }
.cc-l { font-size: .76em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.cc-v { font: 400 1.65em/1.2 var(--f-head); overflow-wrap: anywhere; }
.cc-v.cc-addr { font-size: 1.25em; }
.cc-n { color: var(--muted); font-size: .92em; }
.cnotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cnotes div { border-top: 2px solid var(--line); padding-top: 12px; display: grid; gap: 4px; }
.cnotes b { font-weight: 600; }
.cnotes span { color: var(--muted); font-size: .94em; }

/* О саде */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.facts div { background: var(--surface); border-radius: 16px; padding: 16px 18px; display: grid; gap: 2px; }
.facts b { font: 400 1.9em/1.1 var(--f-head); color: var(--old-blue); }
.facts span { color: var(--muted); font-size: .9em; }
.ch-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ch-side { position: sticky; top: 90px; display: grid; gap: 10px; }
.ch-num { font: 400 1em/1 var(--f-head); color: var(--accent-2); letter-spacing: .1em; }
.ch-side h2 { font-size: clamp(1.7em, 3vw, 2.4em); }
.ch-ph { margin: 8px 0 0; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.ch-ph img { width: 100%; height: 100%; object-fit: cover; }
.ch-ph figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .78em; padding: 3px 9px; border-radius: 6px; }
.ch-text { font-size: 1.06em; }
.ch-text p { margin: 0 0 1em; }
.ch-sign { font: 400 1.4em/1.3 var(--f-head); text-align: right; color: var(--muted); margin: 0; }

@media (max-width: 980px) {
  .how3, .conds, .ccards, .cnotes { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ch-grid { grid-template-columns: minmax(0, 1fr); }
  .ch-side { position: static; }
  .ch-ph { max-width: 460px; }
}
/* Соцсети на всю ширину (страницы без опроса) */
.comm-solo { grid-template-columns: minmax(0, 1fr); }
.comm-solo .social-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); column-gap: clamp(20px, 4vw, 48px); align-items: center; }
.comm-solo .social-box > :not(.soc) { grid-column: 1; }
.comm-solo .soc { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.comm-solo .soc-btn { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; height: 100%; }
@media (max-width: 980px) { .comm-solo .social-box { grid-template-columns: minmax(0, 1fr); } .comm-solo .soc { grid-column: 1; grid-row: auto; margin-top: 16px; } }
@media (max-width: 600px) { .comm-solo .soc { grid-template-columns: minmax(0, 1fr); } .comm-solo .soc-btn { flex-direction: row; align-items: center; } }
/* Пион в подвале: справа, чуть выглядывает над подвалом */
.foot .wrap { position: relative; }
.foot-peony { position: absolute; right: var(--gut); bottom: -6px; width: 220px; height: auto; pointer-events: none; filter: drop-shadow(0 12px 22px rgba(8, 30, 50, .45)); }
.foot .cols-v2 { padding-right: 250px; }
.foot small { padding-right: 250px; }
@media (max-width: 980px) {
  .foot-peony { width: 130px; bottom: auto; top: -46px; }
  .foot .cols-v2, .foot small { padding-right: 0; }
  .foot .cols-v2 > div:first-child { padding-right: 120px; }
}
/* Пион меньше, на стыке подвала и блока выше, слегка прозрачный */
.foot-peony { width: 160px; top: -46px; bottom: auto; opacity: .82; }
.foot .cols-v2, .foot small { padding-right: 190px; }
@media (max-width: 980px) { .foot-peony { width: 110px; top: -38px; } .foot .cols-v2, .foot small { padding-right: 0; } }
.foot-peony { top: -70px; }
@media (max-width: 980px) { .foot-peony { top: -48px; } }

/* Пион: без прозрачности, чуть светлее */
.foot-peony { opacity: 1; filter: brightness(1.15) saturate(.92) drop-shadow(0 12px 22px rgba(8, 30, 50, .4)); }

/* Соцсети и опрос одной высоты; кнопки соцсетей заполняют карточку */
.comm:not(.comm-solo) { align-items: stretch; }
.comm:not(.comm-solo) .social-box { display: flex; flex-direction: column; }
.comm:not(.comm-solo) .soc { flex: 1; grid-auto-rows: 1fr; }

/* Меню: первый вариант (текст + подчёркивание), а разделы отделены общей подложкой */
.menu-v2 { gap: 0 2px; background: linear-gradient(180deg, var(--old-sky), var(--surface)); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.menu-v2 > a, .menu-v2 .has-sub > a { background: transparent; border: 0; padding: 8px 14px; }
.menu-v2 > a:hover, .menu-v2 .has-sub:hover > a, .menu-v2 .has-sub:focus-within > a { background: var(--bg); color: var(--accent); box-shadow: 0 1px 4px rgba(31, 90, 138, .12); }
.menu-v2 > a[aria-current="page"], .menu-v2 .has-sub > a[aria-current="page"] { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(31, 90, 138, .12); }
.menu-v2 > a[aria-current="page"]::after, .menu-v2 .has-sub > a[aria-current="page"]::after { display: block; content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent-2); }
@media (max-width: 980px) { .menu-v2 { border-radius: 14px; } }
/* Бегающая полоска под меню (вместо подчёркивания у каждого пункта) */
.menu-v2 { position: relative; }
.menu-v2 > a[aria-current="page"]::after, .menu-v2 .has-sub > a[aria-current="page"]::after { display: none; }
.nav-ink { position: absolute; left: 0; bottom: 8px; height: 2px; width: 0; border-radius: 2px; background: var(--accent-2); pointer-events: none; opacity: 0;
  transition: transform .38s cubic-bezier(.4, .1, .2, 1), width .38s cubic-bezier(.4, .1, .2, 1), opacity .2s; }
@media (prefers-reduced-motion: reduce) { .nav-ink { transition: none; } }
/* Опрос: подсветка ответа при наведении и выбранного ответа */
.poll-box .wp-polls-ul li { cursor: pointer; transition: background .15s, box-shadow .15s; }
.poll-box .wp-polls-ul li:hover { background: #dde8f2; box-shadow: inset 0 0 0 1px var(--line); }
.poll-box .wp-polls-ul li:has(input:checked) { background: #f6e6ee; box-shadow: inset 0 0 0 1px var(--accent-2); }
.poll-box .wp-polls-ul li:hover { background: #d6e4f1; box-shadow: inset 0 0 0 1px rgba(31, 90, 138, .35); }
.poll-box .wp-polls-ul li:has(input:checked):hover { background: #f2dce7; box-shadow: inset 0 0 0 1px var(--accent-2); }

/* Приветствие: оба абзаца одним шрифтом и размером — одно обращение */
.greet p, .greet p:first-child, .greet p + p { font-family: var(--f-head); font-size: 1.32em; line-height: 1.5; max-width: 32em; color: var(--text); }
.greet p + p { margin-top: .6em; }

/* Пион в подвале — кнопка «Наверх» */
.foot-peony { display: block; pointer-events: auto; cursor: pointer; transition: transform .25s ease; }
.foot-peony img { display: block; width: 100%; height: auto; }
.foot-peony:hover { transform: scale(1.06) rotate(-4deg); }
.foot-peony:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { .foot-peony { transition: none; } .foot-peony:hover { transform: none; } }

/* Пион в логотипе шапки */
.logo-pion { display: flex; align-items: center; gap: 10px; }
.logo-pion img { width: 46px; height: 46px; flex: none; filter: brightness(1.12) saturate(.92) drop-shadow(0 2px 4px rgba(122, 31, 78, .25)); transition: transform .3s ease; }
.logo-pion:hover img { transform: rotate(-8deg) scale(1.05); }
.logo-pion span { display: grid; }
@media (prefers-reduced-motion: reduce) { .logo-pion img { transition: none; } }

/* Контакты и цифры: ровные цифры Onest вместо «старинных» цифр Prata (1 похожа на l) */
.cc-v { font-family: var(--f-body); font-weight: 600; font-size: 1.45em; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.cc-v.cc-addr { font-size: 1.12em; font-weight: 500; line-height: 1.4; }
.facts b, .stats b { font-family: var(--f-body); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
/* Пояснения под карточками: текст сразу под заголовком, одинаково во всех колонках */
.cnotes div { align-content: start; }
/* Пион в шапке светлее */
.logo-pion img { filter: brightness(1.3) saturate(.85) drop-shadow(0 2px 4px rgba(122, 31, 78, .2)); }

.logo-pion img { filter: drop-shadow(0 2px 4px rgba(122, 31, 78, .18)); }

/* «Как найти сад»: памятка в левой колонке, низ вровень с картой */
#kak-nayti .map > div:first-child { display: flex; flex-direction: column; }
.visit { margin-top: auto; padding-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.visit div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; align-content: start; }
.visit b { font-family: var(--f-head); font-weight: 400; font-size: 1.12em; color: var(--old-blue); }
.visit span { font-size: .9em; color: var(--muted); line-height: 1.45; }
@media (max-width: 600px) { .visit { grid-template-columns: minmax(0, 1fr); } }
/* Лого: цветок без ссылки, при наведении «бьётся» как пульс; ссылка только у названия */
.logo-pion a { display: grid; text-decoration: none; color: var(--text); }
.logo-pion:hover img { transform: none; }
.pion-beat { cursor: default; transform-origin: 50% 55%; }
.pion-beat:hover { animation: pion-pulse 1.2s ease-in-out infinite; }
@keyframes pion-pulse {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.14); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.09); }
  70%, 100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) { .pion-beat:hover { animation: none; } }
/* «Как найти сад»: строки в стиле «Адреса» сразу под ним, без плашек */
.visit-list { margin-top: -18px; }
.visit-list a { font-weight: 400; }

/* Лого-пион: пульс + контур сердечка, расходящийся волной на каждый удар */
.pion-beat { position: relative; display: inline-block; width: 46px; height: 46px; flex: none; cursor: default; }
.pion-beat img { display: block; width: 46px; height: 46px; transform-origin: 50% 55%; }
.pion-beat:hover { animation: none; }
.pion-beat:hover img { animation: pion-pulse 1.2s ease-in-out infinite; }
.pion-beat::before, .pion-beat::after {
  content: ""; position: absolute; inset: -9px; pointer-events: none; opacity: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.6-4.6-9.4-9.3C1.2 7.7 3.4 4.2 6.9 4.2c2 0 3.6 1.1 5.1 3 1.5-1.9 3.1-3 5.1-3 3.5 0 5.7 3.5 4.3 7C19.6 15.9 12 20.5 12 20.5z' fill='none' stroke='%23c2185b' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pion-beat:hover::before { animation: pion-heart 1.2s ease-out infinite; }
.pion-beat:hover::after { animation: pion-heart 1.2s ease-out .34s infinite; }
@keyframes pion-heart {
  0%   { opacity: 0;   transform: scale(.75); }
  12%  { opacity: .85; transform: scale(.95); }
  55%  { opacity: 0;   transform: scale(1.35); }
  100% { opacity: 0;   transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) { .pion-beat:hover img, .pion-beat:hover::before, .pion-beat:hover::after { animation: none; } }
/* «Как найти сад»: связный текст под адресом */
.visit-text p { margin: 0 0 .9em; line-height: 1.65; }
.visit-text p:last-child { margin-bottom: 0; color: var(--muted); }

/* Сердечко мягче: светло-розовый тонкий контур, одна волна на удар */
.pion-beat::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.6-4.6-9.4-9.3C1.2 7.7 3.4 4.2 6.9 4.2c2 0 3.6 1.1 5.1 3 1.5-1.9 3.1-3 5.1-3 3.5 0 5.7 3.5 4.3 7C19.6 15.9 12 20.5 12 20.5z' fill='none' stroke='%23e9a9c3' stroke-width='.8' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pion-beat:hover::after { animation: none; }
@keyframes pion-heart {
  0%   { opacity: 0;   transform: scale(.8); }
  14%  { opacity: .55; transform: scale(.98); }
  60%  { opacity: 0;   transform: scale(1.3); }
  100% { opacity: 0;   transform: scale(1.3); }
}
.logo-pion img { filter: none; }
.visit-text p:last-child { color: var(--text); }

/* Подложка меню светлее */
.menu-v2 { background: linear-gradient(180deg, #fafcfe, #f3f7fb); border-color: #e4ecf4; }

/* Починка: WordPress ставит <body class="single">, а .single в теме — сетка в 2 колонки */
body.single { display: block; }

/* ---------- Страница цветка ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: .9em; color: var(--muted); margin-bottom: clamp(16px, 2.4vw, 24px); }
.crumbs a { color: var(--old-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumb-cur { color: var(--text); }
.sort-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.sort-photo { position: sticky; top: 90px; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); box-shadow: 0 24px 50px rgba(23, 38, 54, .14); }
.sort-photo img { width: 100%; height: 100%; object-fit: cover; }
.sort-photo .card-tag { left: 14px; top: 14px; }
.sort-info { display: grid; gap: 14px; align-content: start; padding-top: 6px; }
.sort-info .over { margin: 0; }
.sort-info h1 { font-size: clamp(2.4em, 5vw, 3.8em); line-height: 1.05; }
.sort-origin { margin: -4px 0 0; color: var(--muted); font-size: 1.05em; }
.sort-desc p { margin: 0 0 .8em; font-size: 1.08em; line-height: 1.7; max-width: 34em; }
.sort-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 4px 0; }
.sort-specs div { background: var(--surface); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.sort-specs dt { font-size: .76em; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sort-specs dd { margin: 0; font: 400 1.35em/1.2 var(--f-head); color: var(--old-blue); }
.sort-buy { margin-top: 6px; display: grid; gap: 6px; justify-items: start; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--old-sky)); }
.sort-buy b { font: 400 1.3em/1.2 var(--f-head); color: var(--accent); }
.sort-buy.off b { color: var(--muted); }
.sort-buy span { color: var(--muted); font-size: .95em; }
.sort-buy .btn { margin-top: 6px; }
.sort-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(28px, 4vw, 44px); padding-top: 20px; border-top: 1px solid var(--line); }
.sort-nav a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); padding: 10px; border-radius: 14px; transition: background .2s; }
.sort-nav a:hover { background: var(--surface); }
.sort-nav .sn-next { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.sort-nav img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.sort-nav span { display: grid; }
.sort-nav small { color: var(--muted); font-size: .8em; }
.sort-nav b { font: 400 1.2em/1.2 var(--f-head); }
@media (max-width: 860px) {
  .sort-grid { grid-template-columns: minmax(0, 1fr); }
  .sort-photo { position: static; aspect-ratio: 1; }
  .sort-nav { grid-template-columns: 1fr; }
  .sort-nav .sn-next { flex-direction: row; justify-content: flex-start; text-align: left; }
}
/* Факты «О саде»: тонкие ровные цифры вместо жирных — в тон заголовкам Prata */
.facts b { font-family: var(--f-body); font-weight: 400; font-size: 2.1em; line-height: 1.05; letter-spacing: -.02em; }
.facts span { margin-top: 4px; }
