/* ==========================================================================
   Тема V2 «Редакция» — второй слой: страницы и пересборка композиции.
   Подключается после theme.css. Здесь только то, что относится к содержимому
   конкретных типов страниц: обложка главной, шапки разделов, статья,
   карточки товаров, мобильные перестройки.
   ========================================================================== */

/* ── шапка: не даём меню переноситься ─────────────────────────────────── */
.v2-header__inner { gap: 28px; }
.v2-nav { gap: 18px; }
.v2-nav__link { font-size: 12px; letter-spacing: .09em; }
@media (max-width: 1380px) {
  .v2-header__inner { gap: 18px; }
  .v2-nav { gap: 13px; }
  .v2-nav__link { font-size: 11px; }
  .v2-city__btn { font-size: 12px; }
}
@media (max-width: 1240px) {
  .v2-nav { display: none; }
}
.v2-utility__phone { font-weight: 600; color: inherit; text-decoration: none; }
.v2-utility__phone:hover { text-decoration: underline; }

/* ── обложка главной ──────────────────────────────────────────────────── */
.v2-hero { padding: 56px 0 0; }
.v2-hero__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.v2-hero .v2-display { margin: 14px 0 22px; }
.v2-hero .v2-lead { max-width: 46ch; font-size: 17px; line-height: 1.65; }
.v2-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.v2-btn--lg { height: 54px; padding: 0 26px; font-size: 15px; }

.v2-checks { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; border-top: 1px solid var(--v2-line); padding-top: 24px; }
.v2-checks li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.5; color: var(--v2-ink); }
.v2-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--v2-green); font-weight: 700; }

.v2-hero__aside { border-left: 1px solid var(--v2-line); padding-left: 34px; }
.v2-hero__aside-title { font-family: var(--v2-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-muted); margin: 4px 0 18px; }
.v2-numlist { list-style: none; counter-reset: v2num; margin: 0; padding: 0; display: grid; gap: 16px; }
.v2-numlist li { counter-increment: v2num; position: relative; padding-left: 38px; font-size: 14px; line-height: 1.5; }
.v2-numlist li::before { content: counter(v2num, decimal-leading-zero); position: absolute; left: 0; top: -1px; font-size: 11px; letter-spacing: .08em; color: var(--v2-gold); font-weight: 700; }
.v2-hero__aside-link { display: inline-block; margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--v2-green); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.v2-hero__aside-link:hover { color: var(--v2-ink); }

/* индекс типов документов — строки вместо карточек */
.v2-index { margin: 52px 0 0; border-top: 1px solid var(--v2-ink); }
.v2-index__link { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 24px; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--v2-line); text-decoration: none; color: var(--v2-ink); transition: background .18s ease, padding .18s ease; }
.v2-index__link:hover { background: var(--v2-card); padding-left: 16px; padding-right: 16px; }
.v2-index__num { font-size: 12px; letter-spacing: .1em; color: var(--v2-gold); font-weight: 700; }
.v2-index__label { font-family: var(--v2-serif); font-size: 22px; line-height: 1.2; display: block; }
.v2-index__label small { display: block; margin-top: 5px; font-family: var(--v2-sans); font-size: 13px; color: var(--v2-muted); line-height: 1.4; }
.v2-index__meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--v2-muted); white-space: nowrap; }
.v2-index__arrow { font-size: 18px; color: var(--v2-green); }
@media (max-width: 900px) {
  .v2-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .v2-hero__aside { border-left: 0; border-top: 1px solid var(--v2-line); padding: 26px 0 0; }
  .v2-checks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .v2-hero { padding-top: 30px; }
  .v2-hero .v2-lead { font-size: 15px; }
  .v2-index__link { grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; padding: 18px 2px; }
  .v2-index__label { font-size: 18px; }
  .v2-index__meta { display: none; }
}

/* ── первый экран внутренних страниц ─────────────────────────────────── */
.v2-pagehead { padding: 40px 0 30px; border-bottom: 1px solid var(--v2-ink); margin-bottom: 32px; }
.v2-pagehead__title { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; margin: 12px 0 16px; max-width: 22ch; }
.v2-pagehead__lead { max-width: 62ch; font-size: 16px; line-height: 1.6; color: var(--v2-ink-soft); }
.v2-pagehead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.v2-pagehead--row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: end; }
@media (max-width: 860px) {
  .v2-pagehead { padding: 26px 0 22px; margin-bottom: 24px; }
  .v2-pagehead--row { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}

/* ── статья: заголовок как главный элемент ───────────────────────────── */
.v2-arthead { padding: 34px 0 6px; }
.v2-arthead__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); }
.v2-arthead__meta a { color: var(--v2-green); text-decoration: none; }
.v2-arthead__title { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.1; margin: 14px 0 18px; max-width: 26ch; }
.v2-arthead__lead { font-size: 17px; line-height: 1.6; color: var(--v2-ink-soft); max-width: 60ch; }
.v2-arthead__figure { margin: 30px 0 0; }
.v2-arthead__figure img { width: 100%; height: auto; display: block; border-radius: 3px; }
.v2-article-body { max-width: 68ch; margin-top: 34px; font-size: 16.5px; line-height: 1.72; }
.v2-article-body p { margin: 0 0 18px; }
.v2-article-body h2 { font-size: var(--h2-size, 32px); line-height: 1.22; margin: 40px 0 14px; padding-top: 6px; scroll-margin-top: 120px; }
.v2-article-body h3 { font-size: 20px; line-height: 1.3; margin: 30px 0 12px; scroll-margin-top: 120px; }
.v2-article-body ul, .v2-article-body ol { margin: 0 0 20px; padding-left: 22px; }
.v2-article-body li { margin: 0 0 8px; }
.v2-article-body a { color: var(--v2-green); text-underline-offset: 3px; }
.v2-article-body img { max-width: 100%; height: auto; margin: 8px 0 20px; border-radius: 3px; }
.v2-article-body blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--v2-gold); font-family: var(--v2-serif); font-size: 19px; line-height: 1.5; }
.v2-article-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.v2-article-body th, .v2-article-body td { border-bottom: 1px solid var(--v2-line); padding: 10px 12px; text-align: left; vertical-align: top; }
.v2-article-body th { background: var(--v2-card); font-weight: 600; }
@media (max-width: 640px) {
  .v2-arthead { padding-top: 22px; }
  .v2-arthead__lead { font-size: 15.5px; }
  .v2-article-body { font-size: 16px; line-height: 1.68; }
}

/* ── карточки каталога ───────────────────────────────────────────────── */
/* Больше воздуха фотографиям: сетка подстраивается под ширину колонки */
/* сетки «4 в ряд» держим ровно 4 колонками на десктопе (было auto-fill: на широких экранах давало 5) */
@media (min-width: 1024px) {
  .v2-main .grid[class*="lg:grid-cols-4"], .fmt-main .grid[class*="lg:grid-cols-4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.v2-main .grid[class*="lg:grid-cols-3"] { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.v2-main .pc-body > div:last-child { flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.v2-main .pc-body > div:last-child > span { white-space: nowrap; }
.v2-main .pc-body > div:last-child > a { flex: 1 0 100%; margin-top: 12px; height: auto; padding: 11px 14px; border-radius: 3px; justify-content: center; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.v2-main .product-image-container { background: var(--v2-card); }
.v2-main .product-image-container img { mix-blend-mode: multiply; }

/* ── убираем декоративные подложки оригинала ─────────────────────────── */
.v2-main section[style*="wave"], .v2-main section[style*="url(/images/bg"] { background-image: none !important; }
.v2-main [id="advantages"], .v2-main [id="quick-order"], .v2-main [id="reviews"],
.v2-main [id="blog-main"], .v2-main [id="delivery-rf"], .v2-main [id="regions"] { background-image: none !important; }
.v2-main .shimmer-effect { display: none !important; }
.v2-main .hero-slider, .v2-main .hero-slider__track { display: none !important; }

/* заголовки секций: слева, с надзаголовком-линейкой */
.v2-main .v2-section__head:not(.v2-hero *) { text-align: left; }
.v2-section__head { margin-bottom: 26px; }

/* длинные разделы: чуть больше воздуха между секциями */
.v2-main > section { scroll-margin-top: 110px; }

/* ── мобильная версия ────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .v2-railbar { display: flex; }
  .v2-rail--right { position: static; }
  .v2-panel--toc { display: none; }
  .v2-main { padding-left: 0; padding-right: 0; }
  .v2-hero__actions .v2-btn { width: 100%; justify-content: center; }
  .v2-main .pc-body { padding: 16px; }
}
@media (max-width: 420px) {
  .v2-display { font-size: 30px; line-height: 1.06; }
  .v2-brand__tag { display: none; }
  .v2-utility__facts span:nth-child(3), .v2-utility__facts i:nth-of-type(2) { display: none; }
}

/* ── печать ──────────────────────────────────────────────────────────── */
@media print {
  .v2-header, .v2-rail, .v2-footer, .v2-railbar, .v2-chat, #ds-chat-btn { display: none !important; }
  .v2-shell { display: block !important; }
}

/* ── категория: шапка, SEO-текст, вопросы, баннер ───────────────────── */
.v2-main .bcbar { min-height: 0; padding: 12px 0; background: none !important; border-bottom: 1px solid var(--v2-line); margin-bottom: 4px; }
.v2-main .bcbar > div { min-height: 0; }
.v2-main .bcbar__pattern { display: none !important; }
.v2-main .bcbar nav { font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; }
.v2-main .bcbar a { color: var(--v2-muted); }

.v2-pagehead__aside { padding-bottom: 6px; }
@media (max-width: 860px) { .v2-pagehead__aside { margin-top: 8px; } }

/* SEO-текст категории: узкая мера, обычная гарнитура */
.v2-main .cat-seo { max-width: 68ch; font-size: 16px; line-height: 1.7; text-align: left !important; color: var(--v2-ink-soft); }
.v2-main .cat-seo h2, .v2-main .cat-seo h3 { font-family: var(--v2-serif) !important; color: var(--v2-ink); text-align: left; }
.v2-main .cat-seo h2 { font-size: 26px; margin: 2.1rem 0 .7rem; }
.v2-main .cat-seo h3 { font-size: 20px; margin: 1.6rem 0 .5rem; }
.v2-main .cat-seo li::marker { color: var(--v2-gold); }

/* аккордеон вопросов */
.v2-main .cat-faq { gap: 0; border-top: 1px solid var(--v2-ink); }
.v2-main .cat-faq-item { border: 0; border-bottom: 1px solid var(--v2-line); border-radius: 0; background: none; }
.v2-main .cat-faq-item summary { padding: 16px 0; font-size: 15px; font-weight: 600; }
.v2-main .cat-faq-item summary .cat-faq-plus { color: var(--v2-gold); font-weight: 400; }
.v2-main .cat-faq-item .cat-faq-a { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--v2-ink-soft); }
.v2-main .cat-faq-item[open] { border-color: var(--v2-line); }

/* баннер: вместо градиента — чернильный блок */
.v2-main .cat-banner { background: var(--v2-ink) !important; border-radius: 3px !important; }
.v2-main .cat-banner h2, .v2-main .cat-banner p { font-family: var(--v2-serif) !important; }
.v2-main .cat-banner-cta { background: var(--v2-gold) !important; color: var(--v2-ink) !important; border-radius: 3px !important; height: 52px !important; padding: 0 28px !important; font-size: 14px !important; letter-spacing: .04em; text-transform: uppercase; }

/* «Другие разделы» — плоские ярлыки */
.v2-main .cat-other-links a { border-radius: 3px !important; border-color: var(--v2-line) !important; font-size: 13px !important; }
.v2-main .cat-other-links a:hover { border-color: var(--v2-ink) !important; }

/* ── связанные материалы внизу статьи (режим left и мобильный) ──────── */
.v2-related { margin: 46px 0 0; border-top: 1px solid var(--v2-ink); padding-top: 22px; }
.v2-related__title { font-family: var(--v2-sans) !important; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-muted); margin: 0 0 14px; font-weight: 600; }
.v2-related__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.v2-related__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 10px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--v2-line); text-decoration: none; color: var(--v2-ink); }
.v2-related__num { font-size: 11px; letter-spacing: .08em; color: var(--v2-gold); font-weight: 700; }
.v2-related__title { font-size: 14.5px; line-height: 1.4; }
.v2-related__arrow { color: var(--v2-green); font-size: 15px; }
.v2-related__item:hover .v2-related__title { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .v2-related__list { grid-template-columns: 1fr; } }

/* ── статья: остатки оригинала ──────────────────────────────────────── */
.v2-main .blog-related { display: none !important; }
.v2-main .pop-slider { padding-bottom: 12px; }
.v2-main .pop-slide { flex: 0 0 240px !important; }
.v2-main #blogForm { display: grid; gap: 12px; }

/* индекс-строки: 4 слота (номер, текст, мета, стрелка) */
.v2-index__link { grid-template-columns: 40px minmax(0, 1fr) auto 22px !important; }
.v2-index__arrow { justify-self: end; }
.v2-pagehead + .v2-index { border-top: 0; margin-top: -6px; }
.v2-main .v2-index { margin-top: 8px; }
/* на главной индекс-строки идут внутри первого экрана — нужен воздух
   между ссылкой «Гарантии и доставка» и линией списка */
.v2-hero .v2-index { margin-top: 40px; }
.v2-hero { padding-bottom: 40px; }

/* секционный заголовок: kicker над линией, заголовок слева, действие справа */
.v2-section__head { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 4px 20px; }
.v2-section__kicker { grid-column: 1 / -1; }
.v2-section__title { grid-column: 1; }
.v2-section__actions { grid-column: 2; justify-self: end; padding-bottom: 4px; }
.v2-section__lead { grid-column: 1 / -1; margin: 4px 0 18px; }
.v2-catsec .v2-section__title a { color: inherit; text-decoration: none; }
.v2-catsec .v2-section__title a:hover { color: var(--v2-green); }

@media (min-width: 1181px) {
/* ── раскладка right/both: правая панель — сосед оболочки ────────────── */
body.v2-mode-right .v2-body,
body.v2-mode-both  .v2-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  column-gap: 30px;
  align-items: start;
  padding-left: 40px; padding-right: 40px;
}
body.v2-mode-right .v2-body > .v2-header,
body.v2-mode-right .v2-body > .v2-footer,
body.v2-mode-both  .v2-body > .v2-header,
body.v2-mode-both  .v2-body > .v2-footer { grid-column: 1 / -1; }

body.v2-mode-right .v2-body > .v2-shell,
body.v2-mode-both  .v2-body > .v2-shell { grid-column: 1; grid-row: 2; }

body.v2-mode-right .v2-body > .v2-rail--right,
body.v2-mode-both  .v2-body > .v2-rail--right {
  grid-column: 2; grid-row: 2;
  position: sticky; top: 104px;
  max-height: calc(100vh - 128px); overflow-y: auto;
  margin-top: 20px;
}

/* внутри такой раскладки shell уже без собственной правой колонки */
body.v2-mode-right .v2-shell--right { grid-template-columns: minmax(0, 1fr); }
body.v2-mode-both  .v2-shell--both  { grid-template-columns: 246px minmax(0, 1fr); }

/* на узких экранах — обычная колонка, панели уходят в off-canvas */
}
@media (max-width: 1180px) {
  body.v2-mode-right .v2-body, body.v2-mode-both .v2-body, body.v2-mode-left .v2-body { display: block; padding-left: 0; padding-right: 0; }
  body.v2-mode-right .v2-shell--right, body.v2-mode-both .v2-shell--both { grid-template-columns: minmax(0, 1fr); }
}

/* планшет: меню и панели доступны бургером, а не только на телефоне */
@media (max-width: 1180px) and (min-width: 768px) {
  .v2-burger { display: flex; }
  .v2-drawer { display: block; position: fixed; inset: 0 0 auto 0; z-index: 130; background: var(--v2-paper); border-bottom: 1px solid var(--v2-line); padding: 16px; transform: translateY(-102%); transition: transform .25s ease; max-height: 100dvh; overflow: auto; }
  .v2-drawer.is-open { transform: translateY(0); }
  .v2-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
  .v2-drawer__nav { display: flex; flex-direction: column; }
  .v2-drawer__link { padding: 11px 0; border-bottom: 1px solid var(--v2-line); font-size: 14px; font-weight: 600; text-decoration: none; }
  .v2-drawer__cta { display: flex; gap: 10px; margin-top: 16px; }
}

/* узкий телефон: шапка в одну строку без переполнения */
@media (max-width: 560px) {
  .v2-header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px; }
  .v2-brand { gap: 0; }
  .v2-brand__mark { display: none; }
  .v2-brand__name { font-size: 14px; letter-spacing: 0; }
  .v2-header__tools { gap: 8px; }
  .v2-city__btn { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; max-width: 112px; padding: 0; border: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v2-burger { width: 34px; height: 34px; }
  .v2-shell { padding: 12px 12px 36px; }
  .v2-railbar { padding: 0 0 6px; }
}

/* не удваиваем линию под первым экраном, если сразу начинается секция */
.v2-pagehead + .v2-section, .v2-pagehead + section.v2-section { border-top: 0; padding-top: 26px; }
.v2-pagehead + .v2-section > .v2-section__head:first-child,
.v2-pagehead + .v2-section > div > .v2-section__head:first-child { border-top: 0; padding-top: 0; }
/* страницы с новым первым экраном: линию даёт сам первый экран, секции — без второй */
body:has(.v2-pagehead) .v2-section__head { border-top: 0; }

/* ── каталог профессий: собственные линейные иконки вместо иллюстраций ── */
.v2-prof {
  display: flex; flex-direction: column; align-items: flex-start; height: 100%;
  padding: 20px 20px 18px; border: 1px solid var(--v2-line); border-radius: 3px;
  background: var(--v2-card); color: inherit; text-decoration: none;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.v2-prof:hover { border-color: var(--v2-green); background: #fffef7; transform: translateY(-2px); }
.v2-prof__tile {
  position: relative; display: grid; place-items: center;
  width: 96px; height: 96px; margin-bottom: 14px; overflow: hidden;
  border: 1px solid var(--v2-line); border-radius: 2px;
  background: linear-gradient(180deg, #fffdf6 0%, #f6f3e9 100%);
  color: var(--v2-ink);
  transition: border-color .18s ease, background .18s ease;
}
.v2-prof__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.v2-prof__tile::after {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 1px solid var(--v2-gold); border-left: 1px solid var(--v2-gold);
}
.v2-prof:hover .v2-prof__tile { border-color: var(--v2-green); background: #edf3ec; }
.v2-prof__svg { width: 35px; height: 35px; }
.v2-prof__svg .v2i-accent { stroke: var(--v2-green); }
.v2-prof__initials { font-family: var(--v2-serif); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.v2-prof__name { margin: 0 0 6px; font-family: var(--v2-serif); font-size: 17px; font-weight: 600; line-height: 1.25; }
.v2-prof__desc {
  margin: 0 0 14px; flex: 1; font-size: 12px; line-height: 1.5; color: var(--v2-muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.v2-prof__more {
  display: inline-flex; align-items: center; gap: 6px; width: 100%;
  padding-top: 12px; border-top: 1px solid var(--v2-line);
  font-family: var(--v2-sans); font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--v2-green);
}
.v2-prof__arrow { transition: transform .18s ease; }
.v2-prof:hover .v2-prof__arrow { transform: translateX(3px); }

@media (max-width: 560px) {
  .v2-prof { padding: 14px 14px 13px; }
  .v2-prof__tile { width: 72px; height: 72px; margin-bottom: 12px; }
  .v2-prof__svg { width: 28px; height: 28px; }
  .v2-prof__initials { font-size: 19px; }
  .v2-prof__name { font-size: 15px; }
  .v2-prof__desc { font-size: 11.5px; -webkit-line-clamp: 2; margin-bottom: 10px; }
  .v2-prof__more { font-size: 9px; letter-spacing: .1em; padding-top: 10px; }
}

/* ── карточка каталога: ссылка «Подробнее» на страницу товара ── */
.pc-title-link { color: inherit; text-decoration: none; }
.pc-title-link:hover { color: var(--v2-green); }
.pc-more {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin: 0 0 12px; padding: 9px 0 10px;
  border-top: 1px solid var(--v2-line);
  font-family: var(--v2-sans); font-size: 10px; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--v2-green); text-decoration: none;
}
.pc-more__arrow { transition: transform .18s ease; }
.pc-more:hover { color: var(--v2-ink); }
.pc-more:hover .pc-more__arrow { transform: translateX(3px); }

/* ── страница товара ── */
.v2-product {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 42px; align-items: start;
  padding: 8px 0 34px; border-bottom: 1px solid var(--v2-ink);
}
.v2-product__media {
  position: relative; display: grid; place-items: center;
  min-height: 340px; padding: 34px 30px;
  border: 1px solid var(--v2-line); border-radius: 3px;
  background: linear-gradient(180deg, #fffdf6 0%, #f4f1e7 100%);
}
.v2-product__media img { max-height: 320px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(15, 28, 38, .16)); }
.v2-product__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 4px 9px; border-radius: 2px;
  background: var(--v2-green); color: #fbfaf4;
  font-family: var(--v2-sans); font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.v2-product__info { padding-top: 4px; }
.v2-product__kicker {
  margin: 0 0 12px; font-family: var(--v2-sans); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--v2-green);
}
.v2-product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.v2-product__price-now { font-family: var(--v2-serif); font-size: 38px; font-weight: 700; line-height: 1; color: var(--v2-ink); }
.v2-product__price-old { font-size: 17px; color: var(--v2-muted); text-decoration: line-through; }
.v2-product__discount {
  padding: 2px 7px; border: 1px solid var(--v2-line); border-radius: 2px;
  font-family: var(--v2-sans); font-size: 11px; font-weight: 700; color: var(--v2-ink);
}
.v2-product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 12px; }
.v2-product__note { margin: 0; font-size: 12.5px; color: var(--v2-muted); }
.v2-facts__link { color: var(--v2-green); text-decoration: none; border-bottom: 1px solid rgba(14, 107, 87, .35); }
.v2-bullets { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 26px; }
.v2-bullets__item { position: relative; padding: 0 0 0 22px; font-size: 14.5px; line-height: 1.5; color: var(--v2-ink); }
.v2-bullets__item::before { content: ""; position: absolute; left: 0; top: .58em; width: 10px; height: 1px; background: var(--v2-gold); }

@media (max-width: 900px) {
  .v2-product { grid-template-columns: 1fr; gap: 24px; }
  .v2-product__media { min-height: 260px; padding: 22px; }
  .v2-product__media img { max-height: 240px; }
  .v2-product__price-now { font-size: 30px; }
}

/* заголовки: балансируем строки, чтобы не рвались диапазоны годов */
.v2-pagehead__title, .v2-arthead__title { text-wrap: balance; }

/* карточка: одна линия вместо «пустой рамки» — ссылка без верхней рамки, цену отделяем линией */
.pc-body .pc-more { border-top: 0; padding: 2px 0 12px; justify-content: space-between; }
.pc-body > div:last-child { border-top: 1px solid var(--v2-line); padding-top: 12px; }

/* мобильная/планшетная раскладка: панель в разметке стоит до контента,
   но визуально должна идти после него (иначе заголовок уезжает вниз) */
@media (max-width: 1180px) {
  body.v2-mode-right .v2-body,
  body.v2-mode-both  .v2-body { display: flex; flex-direction: column; }
  body.v2-mode-right .v2-body > .v2-header,
  body.v2-mode-both  .v2-body > .v2-header { order: 0; }
  body.v2-mode-right .v2-body > .v2-shell,
  body.v2-mode-both  .v2-body > .v2-shell { order: 1; }
  body.v2-mode-right .v2-body > .v2-rail--right,
  body.v2-mode-both  .v2-body > .v2-rail--right { order: 2; }
  body.v2-mode-right .v2-body > .v2-footer,
  body.v2-mode-both  .v2-body > .v2-footer { order: 3; }
}

/* Страница товара: заголовок подбирается под длину названия и на десктопе
   держится в одну строку, чтобы не рвать диапазоны годов. */
.v2-pagehead--product .v2-pagehead__title { font-size: var(--v2-title-size, 56px); line-height: 1.08; }
@media (min-width: 1024px) {
  /* длинные названия товаров переносятся: иначе H1 выходил за экран до 680px */
  .v2-pagehead--product .v2-pagehead__title { white-space: normal; text-wrap: balance; }
  .v2-pagehead--product.v2-pagehead--row { grid-template-columns: minmax(0, 1fr) 270px; }
}
.v2-pagehead--product .v2-pagehead__title.v2-title-wrap { white-space: normal; text-wrap: balance; }
.v2-pagehead--product .v2-pagehead__lead { margin-top: 14px; }
.v2-pagehead--product .v2-pagehead__actions { margin-top: 20px; }
/* На странице товара заголовок может занимать всю колонку (снимаем ограничение 22ch) */
.v2-pagehead--product .v2-pagehead__title { max-width: none; }
@media (max-width: 1023px) {
  .v2-pagehead--product .v2-pagehead__title { font-size: clamp(30px, 9.5vw, 46px); }
}

/* ---------- Производные позиции: годы, FAQ, призыв к действию ---------- */

/* Светлее общий фон: тёплые пятна вместо ровного серо-кремового */
body.v2 {
  background:
    radial-gradient(1100px 520px at 8% -8%, #fdf9f0 0%, rgba(253,249,240,0) 62%),
    radial-gradient(900px 460px at 96% 2%, #f0f6f2 0%, rgba(240,246,242,0) 58%),
    radial-gradient(700px 500px at 50% 100%, #f8f2e6 0%, rgba(248,242,230,0) 60%),
    var(--v2-paper, #f4f1e9);
}

.v2-pagehead .v2-pagehead__lead { color: var(--v2-ink-soft, #4b5b66); }

/* Крупнее фото в карточках каталога */
.product-image-container { min-height: 250px; padding: 20px 16px; background: linear-gradient(165deg, #fdfaf3 0%, #f2ecdf 100%); }
.product-image-container img { max-height: 210px; }

/* Годы выпуска */
.v2-yeargrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.v2-yeargrid__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 14px;
  padding: 16px 18px; background: var(--v2-card, #fffdf8); border: 1px solid var(--v2-line, #d7d3c7);
  border-radius: 4px; text-decoration: none; color: var(--v2-ink, #0f1c26);
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.v2-yeargrid__link:hover { border-color: var(--v2-green, #0e6b57); background: #fff; transform: translateY(-1px); }
.v2-yeargrid__num { font-family: var(--v2-serif, Georgia), serif; font-size: 24px; line-height: 1; color: var(--v2-gold, #c2922c); }
.v2-yeargrid__label { font-size: 14px; font-weight: 600; }
.v2-yeargrid__meta { grid-column: 2; font-size: 12.5px; color: var(--v2-ink-soft, #4b5b66); }

/* Вопросы и ответы */
.v2-faq { border-top: 1px solid var(--v2-line, #d7d3c7); }
.v2-faq__item { border-bottom: 1px solid var(--v2-line, #d7d3c7); }
.v2-faq__q {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--v2-serif, Georgia), serif; font-size: 18px; font-weight: 600; color: var(--v2-ink, #0f1c26);
}
.v2-faq__q::-webkit-details-marker { display: none; }
.v2-faq__q::after {
  content: '+'; position: absolute; right: 4px; top: 15px; font-family: var(--v2-sans, sans-serif);
  font-size: 20px; color: var(--v2-green, #0e6b57);
}
.v2-faq__item[open] .v2-faq__q::after { content: '–'; }
.v2-faq__a { padding: 0 0 20px; max-width: 72ch; font-size: 15px; line-height: 1.62; color: var(--v2-ink-soft, #4b5b66); }

/* Призыв к действию */
.v2-cta {
  margin: 44px 0 10px; border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(600px 260px at 88% 0%, rgba(194,146,44,.22) 0%, rgba(194,146,44,0) 60%),
    linear-gradient(135deg, #12242f 0%, #0f1c26 100%);
  color: #f6f2e8;
}
.v2-cta__inner { padding: 40px 42px; }
.v2-cta__kicker { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; color: #d9b25e; }
.v2-cta__title { margin: 0 0 12px; font-family: var(--v2-serif, Georgia), serif; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; color: #fdfaf3; }
.v2-cta__lead { margin: 0 0 22px; max-width: 62ch; font-size: 15.5px; line-height: 1.6; color: rgba(246,242,232,.8); }
.v2-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v2-cta .v2-btn--outline { color: #f6f2e8; border-color: rgba(246,242,232,.45); }
.v2-cta .v2-btn--outline:hover { background: rgba(246,242,232,.1); }

/* Широкая таблица характеристик */
.v2-facts--wide { margin-top: 26px; max-width: none; }
.v2-facts--wide .v2-facts__row { grid-template-columns: 220px minmax(0, 1fr); }

@media (max-width: 767px) {
  .v2-cta__inner { padding: 26px 20px; }
  .v2-facts--wide .v2-facts__row { grid-template-columns: minmax(0, 1fr) auto; }
  .product-image-container { min-height: 220px; }
  .product-image-container img { max-height: 180px; }
}

/* Едва заметная «бумажная» сетка поверх светлых пятен */
body.v2 {
  background-image:
    radial-gradient(rgba(15, 28, 38, .05) 1px, transparent 1px),
    radial-gradient(rgba(15, 28, 38, .025) 1px, transparent 1px),
    radial-gradient(1100px 520px at 8% -8%, #fdf9f0 0%, rgba(253,249,240,0) 62%),
    radial-gradient(900px 460px at 96% 2%, #f0f6f2 0%, rgba(240,246,242,0) 58%),
    radial-gradient(700px 500px at 50% 100%, #f8f2e6 0%, rgba(248,242,230,0) 60%);
  background-size: 26px 26px, 52px 52px, auto, auto, auto;
  background-position: 0 0, 13px 13px, 0 0, 0 0, 0 0;
}
.v2-section__lead a { white-space: nowrap; }

/* Панели: подписи и списки крупнее, кнопка формы в одну строку */
.v2-panel { padding: 18px 18px 20px; }
.v2-panel__title { font-size: 12.5px; letter-spacing: .12em; margin-bottom: 14px; }
.v2-catlist__link { font-size: 15px; padding: 8px 6px; }
.v2-catlist__count { font-size: 12.5px; }
.v2-linklist__link, .v2-linklist__text { font-size: 15px; padding: 7px 6px; }
.v2-linklist--posts .v2-linklist__link { font-size: 14px; }
.v2-panel__more { font-size: 13px; }
.v2-label { font-size: 11.5px; }
.v2-input { height: 42px; font-size: 15px; }
.v2-quick__submit {
  height: 44px; font-size: 12px; letter-spacing: .05em;
  white-space: nowrap; padding: 0 10px;
}
.v2-note { font-size: 12.5px; }
.v2-toc__link { font-size: 14.5px; }
@media (max-width: 1180px) {
  .v2-catlist__link, .v2-linklist__link { font-size: 16px; }
}
/* select в панели: длинные названия документов не должны обрезаться */
.v2-select { font-size: 13.5px; }
.v2-select { font-size: 12.5px; padding-right: 22px; background-position: calc(100% - 13px) 19px, calc(100% - 8px) 19px; }

/* Каталог: заголовки разделов по центру и больше воздуха между секциями */
.v2-catsec { padding: 56px 0 64px; }
.v2-catsec--center .v2-section__head {
  display: block; text-align: center; padding: 0 0 28px; border-top: 0;
}
.v2-catsec--center .v2-section__kicker { justify-content: center; }
.v2-catsec--center .v2-section__title { margin: 10px auto 0; }
.v2-catsec--center .v2-section__actions {
  display: flex; justify-content: center; margin-top: 16px;
}
@media (max-width: 767px) {
  .v2-catsec { padding: 36px 0 44px; }
  .v2-catsec--center .v2-section__head { padding-bottom: 20px; }
}
.v2-catsec--center .v2-section__actions { margin: 16px auto 0; display: inline-flex; justify-content: center; }

/* Каталог: единые отступы у секций городов и блога, острые углы вместо legacy-скруглений */
.v2-kind-catalog #regions, .v2-kind-catalog #blog-main { padding-top: 64px; padding-bottom: 64px; }
.v2-main .ds-city-frame { border-radius: var(--v2-radius); border-width: 1px; }
.v2-main .ds-city-link:hover .ds-city-frame { box-shadow: none; transform: none; }
.v2-main .ds-city-link:hover .ds-city-img { transform: scale(1.03); }
@media (max-width: 767px) {
  .v2-kind-catalog #regions, .v2-kind-catalog #blog-main { padding-top: 40px; padding-bottom: 40px; }
}

/* Подвал: полоса гарантий с нормальными отступами, а не «прижато влево» */
.v2-footer { padding-top: 8px; }
.v2-guarantees { margin: 0 0 44px; padding-bottom: 4px; column-gap: 34px; }
.v2-guarantees__item { padding: 26px 26px; border-right: 1px solid rgba(232, 228, 217, .16); }
.v2-guarantees__item:first-child { padding-left: 0; }
.v2-guarantees__item:last-child { padding-right: 0; border-right: 0; }
.v2-guarantees__title { font-size: 18px; }
.v2-guarantees__text { margin-top: 8px; font-size: 12.5px; }
.v2-footer__grid { gap: 56px; }
.v2-footer__title { margin-bottom: 16px; }
.v2-footer__links li + li { margin-top: 9px; }
@media (max-width: 1023px) {
  .v2-guarantees { column-gap: 0; }
  .v2-guarantees__item { padding: 20px 18px; }
  .v2-guarantees__item:first-child { padding-left: 0; }
}
@media (max-width: 767px) {
  .v2-guarantees { margin-bottom: 30px; }
  .v2-guarantees__item { padding: 16px 0; border-right: 0; }
  .v2-footer__grid { gap: 28px; }
}
/* Полоса гарантий: по центру каждой колонки, с воздухом */
.v2-guarantees__item { text-align: center; padding: 26px 20px; }
.v2-guarantees__item:first-child { padding-left: 20px; }
.v2-guarantees__item:last-child { padding-right: 20px; }
@media (max-width: 767px) { .v2-guarantees__item { text-align: left; padding: 16px 0; } }

/* H1: на десктопе держим в одну строку, при нехватке места JS уменьшает кегль */
@media (min-width: 1024px) {
  .v2-pagehead__title, .v2-arthead__title { max-width: none; white-space: nowrap; }
}
.v2-pagehead__title.v2-title-wrap, .v2-arthead__title.v2-title-wrap {
  white-space: normal !important; text-wrap: balance;
}

/* Первый экран в одну колонку, когда заголовку нужна вся ширина */
@media (min-width: 1024px) {
  .v2-pagehead--stack { display: block; }
  .v2-pagehead--stack .v2-pagehead__main { max-width: none; }
  .v2-pagehead--stack .v2-pagehead__aside { margin-top: 26px; }
  .v2-pagehead--stack .v2-facts { max-width: none; }
  .v2-pagehead--stack .v2-facts__row { padding-left: 0; }
}

/* Главная: обложка в одну колонку — заголовок занимает всю ширину и держится в строку */
@media (min-width: 1024px) {
  .v2-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v2-hero__copy { max-width: none; }
  .v2-hero .v2-lead { max-width: 62ch; }
  .v2-hero__aside {
    border-left: 0; border-top: 1px solid var(--v2-line);
    padding: 26px 0 0; margin-top: 38px;
  }
  .v2-hero__aside-title { margin-bottom: 16px; }
  .v2-hero__aside .v2-numlist {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px;
  }
  .v2-hero__aside .v2-numlist li { padding-left: 0; padding-top: 22px; font-size: 13.5px; }
  .v2-hero__aside .v2-numlist li::before { top: 0; }
  .v2-hero__aside-link { margin-top: 20px; }
}

/* Слайдер-река на главной не должен создавать горизонтальный скролл */
.v2-main .hs-river-viewport { overflow: hidden; }
.v2-main .hs-river, .v2-main .hs-river-track, .v2-main .hs-river-item { max-width: 100%; }

/* Карточки цен профессии: цена и кнопка не вылезают за карточку */
.prof-prices .pc-body > div:last-child { flex-direction: column; align-items: stretch; gap: 10px; }
.prof-prices .pc-body > div:last-child a { width: 100%; }

/* Стрелки слайдера отзывов не должны вылезать за экран на телефоне */
@media (max-width: 767px) {
  .v2-main .reviews-arrow { width: 32px; height: 32px; }
  .v2-main .reviews-arrow-right { right: 2px; }
  .v2-main .reviews-arrow-left { left: 2px; }
}

/* ===== Конструктор информационных страниц: секции ===== */

/* Полоса доверия */
.v2-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); margin: 8px 0 8px; }
.v2-trust__item { padding: 22px 18px; border-right: 1px solid var(--v2-line); display: grid; gap: 6px; }
.v2-trust__item:last-child { border-right: 0; }
.v2-trust__num { font-family: var(--v2-serif); font-size: 30px; line-height: 1; color: var(--v2-ink); }
.v2-trust__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-muted); }

/* Карточки-обещания */
.v2-promise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); }
.v2-promise { background: var(--v2-card); padding: 26px 24px 24px; display: grid; align-content: start; gap: 10px; }
.v2-promise__num { font-size: 11px; letter-spacing: .14em; color: var(--v2-gold); font-weight: 700; }
.v2-promise__title { font-family: var(--v2-serif); font-size: 21px; line-height: 1.25; margin: 0; }
.v2-promise__text { margin: 0; color: var(--v2-ink-soft); font-size: 14.5px; line-height: 1.6; }

/* Два списка */
.v2-dodont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); }
.v2-dodont__col { background: var(--v2-card); padding: 28px 26px; }
.v2-dodont__head { font-family: var(--v2-sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-muted); margin: 0 0 16px; }
.v2-dodont__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.v2-dodont__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; }
.v2-dodont__mark { position: absolute; left: 0; top: 0; font-weight: 700; }
.v2-dodont__col--do .v2-dodont__mark { color: var(--v2-green); }
.v2-dodont__col--dont .v2-dodont__mark { color: var(--v2-muted); }

/* Таблица условий */
.v2-condtable { margin: 0; border-top: 1px solid var(--v2-line); }
.v2-condtable__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 15px 2px; border-bottom: 1px solid var(--v2-line); }
.v2-condtable dt { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--v2-muted); }
.v2-condtable dd { margin: 0; font-size: 15.5px; text-align: right; }
.v2-condtable--lib .v2-condtable__row { grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); }
.v2-condtable--lib dd { text-align: left; font-size: 14.5px; color: var(--v2-ink-soft); }
.v2-libcode { display: inline-block; min-width: 40px; font-family: var(--v2-sans); font-size: 11px; letter-spacing: .1em; color: var(--v2-gold); font-weight: 700; }
.v2-libsrc { color: var(--v2-muted); }

/* Шаги */
.v2-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); counter-reset: none; }
.v2-steps__item { background: var(--v2-card); padding: 24px 22px; display: grid; align-content: start; gap: 8px; }
.v2-steps__num { font-size: 11px; letter-spacing: .14em; color: var(--v2-gold); font-weight: 700; }
.v2-steps__title { font-family: var(--v2-serif); font-size: 19px; margin: 0; }
.v2-steps__text { margin: 0; font-size: 14px; line-height: 1.55; color: var(--v2-ink-soft); }

/* Таймлайн */
.v2-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.v2-timeline__item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; padding: 18px 0 18px 26px; border-left: 1px solid var(--v2-line); position: relative; }
.v2-timeline__item::before { content: ""; position: absolute; left: -5px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--v2-gold); }
.v2-timeline__time { font-family: var(--v2-serif); font-size: 19px; color: var(--v2-ink); }
.v2-timeline__title { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.v2-timeline__text { margin: 0; font-size: 14.5px; color: var(--v2-ink-soft); line-height: 1.55; }

/* Редакционная колонка */
.v2-section--narrow .v2-article-body { max-width: 68ch; }

/* Крупная цитата */
.v2-quote-sec { margin: 8px 0; border-top: 1px solid var(--v2-line); border-bottom: 1px solid var(--v2-line); padding: 44px 0; }
.v2-quote { margin: 0; }
.v2-quote p { font-family: var(--v2-serif); font-size: clamp(24px, 3vw, 36px); line-height: 1.3; margin: 0; max-width: 26ch; }

/* Чек-лист */
.v2-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.v2-checklist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 15px; line-height: 1.5; align-items: start; }
.v2-checklist__box { width: 16px; height: 16px; margin-top: 3px; border: 1px solid var(--v2-ink); display: inline-block; }

/* Отзывы */
.v2-reviewgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); }
.v2-review { background: var(--v2-card); margin: 0; padding: 26px 24px; display: grid; gap: 14px; align-content: space-between; }
.v2-review__text { margin: 0; font-size: 15px; line-height: 1.6; }
.v2-review__meta { font-size: 12.5px; color: var(--v2-muted); }
.v2-review__stars { color: var(--v2-gold); letter-spacing: .1em; }

/* География */
.v2-citygrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.v2-citycard { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.v2-citycard__pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--v2-line); background: var(--v2-paper); }
.v2-citycard__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-citycard__name { font-family: var(--v2-serif); font-size: 18px; }
.v2-citycard__meta { font-size: 12.5px; color: var(--v2-muted); line-height: 1.45; }
.v2-citycard:hover .v2-citycard__name { color: var(--v2-green); }

/* Галерея образцов */
.v2-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v2-gallery__item { margin: 0; display: grid; gap: 10px; }
.v2-gallery__link { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--v2-line); background: linear-gradient(165deg, #fdfaf3, #f2ecdf); }
.v2-gallery__link img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; }
.v2-gallery__cap { font-size: 13px; color: var(--v2-ink-soft); }

/* Оплата */
.v2-paygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--v2-line); border: 1px solid var(--v2-line); }
.v2-pay { background: var(--v2-card); padding: 24px; display: grid; gap: 8px; align-content: start; }
.v2-pay__num { font-size: 11px; letter-spacing: .14em; color: var(--v2-gold); font-weight: 700; }
.v2-pay__title { font-family: var(--v2-serif); font-size: 20px; margin: 0; }
.v2-pay__text { margin: 0; font-size: 14.5px; color: var(--v2-ink-soft); line-height: 1.55; }

/* Таблица доставки по городам */
.v2-dtable { border: 1px solid var(--v2-line); }
.v2-dtable__head, .v2-dtable__row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; padding: 13px 18px; align-items: center; }
.v2-dtable__head { background: var(--v2-paper); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); border-bottom: 1px solid var(--v2-line); }
.v2-dtable__row + .v2-dtable__row { border-top: 1px solid var(--v2-line); }
.v2-dtable__row { font-size: 14.5px; }
.v2-dtable__city { font-family: var(--v2-serif); font-size: 17px; }

.v2-picker {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px;
  margin: 24px 0 0; padding: 22px 24px;
  border: 1px solid var(--v2-line); background: var(--v2-card);
}
.v2-picker__field { display: grid; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); }
.v2-picker__field .v2-select { margin: 0; font-size: 14.5px; }
.v2-picker__out { grid-column: 1 / -1; display: grid; gap: 8px; padding-top: 8px; border-top: 1px solid var(--v2-line); }
.v2-picker__line { display: flex; justify-content: space-between; gap: 16px; margin: 0; font-size: 14.5px; }
.v2-picker__line strong { font-weight: 600; text-align: right; }
.v2-picker__note { margin: 4px 0 0; font-size: 12.5px; color: var(--v2-muted); }

/* Витрина вариантов */
.v2-variants-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v2-variant-card { border: 1px solid var(--v2-line); background: var(--v2-card); padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; }
.v2-variant-card__top { display: flex; justify-content: space-between; align-items: baseline; }
.v2-variant-card__code { font-family: var(--v2-sans); font-size: 12px; letter-spacing: .14em; color: var(--v2-gold); font-weight: 700; }
.v2-variant-card__kind { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-muted); }
.v2-variant-card__title { font-family: var(--v2-serif); font-size: 22px; margin: 0; }
.v2-variant-card__title a { color: inherit; text-decoration: none; }
.v2-variant-card__title a:hover { color: var(--v2-green); }
.v2-variant-card__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--v2-ink-soft); }
.v2-variant-card__secs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.v2-variant-card__secs li { font-size: 12.5px; color: var(--v2-muted); display: flex; gap: 8px; }
.v2-variant-card__secs li span { color: var(--v2-gold); letter-spacing: .08em; font-weight: 700; }
.v2-variant-card__link { margin-top: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-green); text-decoration: none; font-weight: 700; }

/* Плашка варианта на макете */
.v2-variant-strip { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; border: 1px solid var(--v2-line); background: var(--v2-card); padding: 16px 20px; margin: 0 0 26px; }
.v2-variant-strip__main { display: flex; align-items: center; gap: 16px; }
.v2-variant-strip__code { font-family: var(--v2-serif); font-size: 26px; line-height: 1; color: var(--v2-gold); }
.v2-variant-strip__kicker { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); }
.v2-variant-strip__name { margin: 2px 0 0; font-family: var(--v2-serif); font-size: 20px; }
.v2-variant-strip__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.v2-variant-strip__link { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-green); text-decoration: none; font-weight: 700; }
.v2-variant-strip__link--all { color: var(--v2-ink); border-bottom: 1px solid currentColor; }

@media (max-width: 1023px) {
  .v2-promise-grid, .v2-reviewgrid, .v2-variants-grid, .v2-gallery, .v2-citygrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-timeline__item { grid-template-columns: 140px minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 767px) {
  .v2-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-trust__item { border-bottom: 1px solid var(--v2-line); }
  .v2-trust__item:nth-child(2n) { border-right: 0; }
  .v2-trust__item:nth-last-child(-n+2) { border-bottom: 0; }
  .v2-promise-grid, .v2-reviewgrid, .v2-variants-grid, .v2-gallery, .v2-citygrid, .v2-paygrid, .v2-dodont, .v2-checklist, .v2-steps { grid-template-columns: minmax(0, 1fr); }
  .v2-timeline__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v2-condtable__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .v2-condtable dd { text-align: left; }
  .v2-condtable--lib .v2-condtable__row { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .v2-condtable--lib dt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
  .v2-condtable--lib .v2-libcode { min-width: 0; }
  .v2-dtable__head { display: none; }
  .v2-dtable__row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; }
  .v2-dtable__city { grid-column: 1; font-size: 18px; }
  .v2-dtable__row span[role="cell"]:not(.v2-dtable__city) { grid-column: 1 / -1; font-size: 13.5px; color: var(--v2-ink-soft); }
  .v2-picker { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .v2-picker__line { flex-direction: column; gap: 2px; }
  .v2-picker__line strong { text-align: left; font-weight: 500; }
  .v2-variant-strip { align-items: flex-start; }
}

/* 404 и служебные экраны: сетка «Разделы каталога» (tailwind-классы оригинала)
   не должна растягивать страницу длинными названиями на узких экранах */
.v2-shell .grid > a { min-width: 0; }
.v2-shell .grid > a span { min-width: 0; overflow-wrap: break-word; word-break: normal; }

/* ── правки по аудиту отступов 2026-11-11 ────────────────────────────── */

/* CTA в карточке товара: кнопка больше не растягивается на 116px и не
   обрезается вместе с подписью (было: 63px срезано на 361 странице /profession/*) */
.v2-main .pc-body > div:last-child > a,
.fmt-main .pc-body > div:last-child > a { flex: 0 0 auto; }

/* мобильное меню/чат: место под фиксированную кнопку чата внизу страницы */
@media (max-width: 767px) {
  .fmt-footer { padding-bottom: calc(1.5rem + 58px); }
}

/* Регионы: «Что мы изготавливаем» — ровно 3 карточки в ряд (3×2) */
.reg-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (min-width: 768px) { .reg-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reg-cats > a .rounded-2xl { border-radius: 18px; }
