/* Новый дизайн всего сайта ventys.ru (макет sajt-ventys/maket/ves-sajt, утвержден 26.10.2026).
   Подключается поверх ventys.css только при App\Support\Design::on() — на <body class="d2">.
   Токены — как у новой главной (home2.css): белый фон, черный PT Sans, серый #6e6e73, линии #e6e6e6, фон блоков #f5f5f4.
   Зеленый остается только точкой в логотипе и отметкой «в наличии». */
.d2 { --ink: #111; --muted: #6e6e73; --line: #e6e6e6; --alt: #f5f5f4; --green: #8bc348; --font: "PT Sans", Arial, sans-serif;
      --gap: clamp(20px, 2.4vw, 32px); --sec: clamp(64px, 8vw, 120px);
      --vt-green: #111; --vt-green-dark: #333; --vt-green-light: #333; --vt-text: #111; --vt-muted: #6e6e73; --vt-link: #111; --vt-bg: #f5f5f4; --vt-border: #e6e6e6;
      background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
.d2 .w2, .d2 .vt-container, .d2 .vc { box-sizing: border-box; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.d2 .e2 { margin: 0 0 16px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Кнопки: черные «таблетки» вместо зеленых */
.d2 .b2, .d2 .vt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 999px;
    border: 1px solid #111; background: #fff; color: #111; font: 700 16px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.d2 .b2--black, .d2 .vt-btn--solid { background: #111; color: #fff; }
.d2 .b2--black:hover, .d2 .vt-btn--solid:hover, .d2 .vt-btn--solid:focus-visible { background: #333; border-color: #333; color: #fff; }
.d2 .vt-btn:not(.vt-btn--solid):hover { background: #111; color: #fff; }
.d2 .b2--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }

/* Поля ввода: черная рамка при вводе вместо зеленой */
.d2 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):focus, .d2 textarea:focus, .d2 select:focus {
    border-color: #111 !important; box-shadow: 0 0 0 3px rgba(17, 17, 17, .08) !important; }

/* ---------- Шапка ---------- */
.d2 .h2 { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.d2 .h2__in { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); display: flex; align-items: center; gap: 24px; height: 76px; }
.d2 .h2__logo { font: 700 28px/1 var(--font); letter-spacing: -.02em; color: #111; text-decoration: none; white-space: nowrap; }
.d2 .h2__logo span { color: var(--green); }
.d2 .h2__nav { display: flex; gap: 2px; margin-right: auto; }
.d2 .h2__i { position: relative; }
.d2 .h2__i > a { display: block; padding: 10px 11px; border-radius: 999px; font-size: 15px; color: #333; text-decoration: none; white-space: nowrap; }
.d2 .h2__i > a:hover, .d2 .h2__i.is-on > a { color: #000; background: var(--alt); }
.d2 .h2__drop { position: absolute; left: 0; top: 100%; min-width: 280px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .06); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.d2 .h2__i:hover .h2__drop, .d2 .h2__i:focus-within .h2__drop { opacity: 1; visibility: visible; transform: none; }
.d2 .h2__drop a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; color: #333; text-decoration: none; }
.d2 .h2__drop a:hover { background: var(--alt); color: #000; }
.d2 .h2__tel { font-size: 15px; font-weight: 700; color: #111; text-decoration: none; white-space: nowrap; }
.d2 .h2__mob { display: none; }
.d2 .h2__burger { display: none; padding: 8px; cursor: pointer; }
.d2 .h2__burger svg { width: 24px; height: 24px; fill: none; stroke: #111; stroke-width: 1.6; }
/* мини-корзина Bagisto: только иконка, черная */
.d2 .h2__cart { display: flex; align-items: center; }
.d2 .h2__cart .icon-cart { font-size: 26px; color: #111; }
.d2 .h2__cart .bg-navyBlue { background: #111 !important; }
@media (max-width: 1360px) { .d2 .h2__i > a { padding: 10px 7px; font-size: 14px; } .d2 .h2__in { gap: 14px; } }
@media (max-width: 1200px) { .d2 .h2__tel { display: none; } }
@media (max-width: 1024px) {
    .d2 .h2__in { height: 64px; }
    .d2 .h2__logo { margin-right: auto; }
    .d2 .h2__burger { display: block; }
    .d2 .h2__nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 12px 20px 28px;
        background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 64px); overflow: auto; }
    .d2 .h2__toggle:checked + .h2__nav { display: flex; }
    .d2 .h2__i > a { padding: 14px 0; font-size: 18px; font-weight: 700; border-radius: 0; background: none !important; }
    .d2 .h2__drop { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; padding: 0 0 8px 14px; border: 0; box-shadow: none; }
    .d2 .h2__drop a { padding: 7px 0; font-size: 16px; }
    .d2 .h2__mob { display: grid; gap: 12px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
    .d2 .h2__mob a { color: #111; text-decoration: none; }
    .d2 .h2__mob-tel { font-size: 22px; font-weight: 700; }
}
@media (max-width: 640px) { .d2 .h2__calc { display: none; } }

/* ---------- Подвал ---------- */
.d2 .f2 { background: var(--alt); padding: clamp(56px, 7vw, 96px) 0 32px; font-size: 15px; color: #333; }
.d2 .f2__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: var(--gap); }
.d2 .f2__brand { display: grid; gap: 16px; align-content: start; }
.d2 .f2__brand p { margin: 0; color: var(--muted); max-width: 19em; }
.d2 .f2__tel { font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: #111; text-decoration: none; }
.d2 .f2__mail { justify-self: start; font-weight: 700; color: #111; border-bottom: 1px solid #111; text-decoration: none; }
.d2 .f2__col { display: grid; gap: 10px; align-content: start; }
.d2 .f2__title { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.d2 .f2__col a { color: #333; text-decoration: none; } .d2 .f2__col a:hover { color: #000; }
.d2 .f2__bot { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid #d9d9d9; font-size: 13px; color: var(--muted); }
.d2 .f2__bot a { color: var(--muted); text-decoration: none; } .d2 .f2__bot a:hover { color: #000; }
@media (max-width: 1024px) { .d2 .f2__top { grid-template-columns: 1fr 1fr; } .d2 .f2__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .d2 .f2__top { grid-template-columns: 1fr; } }

/* ---------- Хлебные крошки (каталог, товар, страницы) ---------- */
.d2 .vp-crumbs, .d2 .vc-crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; padding-top: 28px; font-size: 14px; color: var(--muted); }
.d2 .vp-crumbs a, .d2 .vc-crumbs a { color: var(--muted); text-decoration: none; }
.d2 .vp-crumbs a:hover, .d2 .vc-crumbs a:hover { color: #000; text-decoration: none; }
.d2 .vp-crumbs a::after { content: "/"; width: auto; height: auto; margin: 0 0 0 8px; border: 0; transform: none; color: #c4c4c4; }
.d2 .vp-crumbs span { color: var(--muted); }

/* ---------- Каталог ---------- */
.d2 .vcat { padding-top: 0; padding-bottom: var(--sec); color: var(--ink); }
.d2 .vcat .e2 { margin-top: clamp(36px, 5vw, 72px); }
.d2 .vcat__row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.d2 .vcat__title { margin: 0; text-align: left; font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.d2 .vcat__sum { margin: 0; color: var(--muted); }
.d2 .vcat__nav { justify-content: flex-start; gap: 8px; margin: 32px 0 clamp(48px, 6vw, 80px); }
.d2 .vcat__nav a { height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 400; font-size: 15px; color: #333; }
.d2 .vcat__nav a:hover { border-color: #111; color: #000; }
.d2 .vcat__group { padding: 0; border: 0; scroll-margin-top: 96px; }
.d2 .vcat__group + .vcat__group { margin-top: clamp(72px, 9vw, 120px); }
.d2 .vcat__group-title { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid #111;
    text-align: left; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1; }
.d2 .vcat__group-title small { font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.d2 .vcat__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); justify-content: stretch; }
.d2 .c2 { display: flex; flex-direction: column; }
.d2 .c2__img { display: block; aspect-ratio: 1; margin-bottom: 18px; border-radius: 4px; overflow: hidden; background: #fff; }
.d2 .c2__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.d2 .c2:hover .c2__img img { transform: scale(1.03); }
.d2 .c2__name { font-size: 16px; line-height: 1.35; color: #111; text-decoration: none; }
.d2 .c2__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.d2 .c2__meta { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.d2 .c2__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; }
.d2 .c2__price { margin: 0; font-size: clamp(24px, 2.2vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.d2 .c2__price span { font-size: .6em; font-weight: 400; }
.d2 .c2__add { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #111; border-radius: 50%; background: #fff; cursor: pointer; transition: .2s; }
.d2 .c2__add svg { width: 18px; height: 18px; fill: none; stroke: #111; stroke-width: 1.8; }
.d2 .c2__add:hover, .d2 .c2__add.is-done { background: #111; } .d2 .c2__add:hover svg, .d2 .c2__add.is-done svg { stroke: #fff; }
.d2 .c2__add.is-done svg { transform: rotate(45deg); transition: transform .3s; }
.d2 .ask2 { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; margin-top: var(--sec); margin-bottom: var(--sec); padding-top: 32px; padding-bottom: 32px; border: 1px solid var(--line); border-radius: 4px; }
.d2 .ask2 h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); letter-spacing: -.02em; }
.d2 .ask2 p { margin: 10px 0 0; color: var(--muted); }
@media (max-width: 1024px) { .d2 .vcat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; } }
@media (max-width: 640px) {
    .d2 .vcat__row, .d2 .ask2 { grid-template-columns: 1fr; }
    .d2 .c2__name { font-size: 15px; } .d2 .c2__price { font-size: 22px; } .d2 .c2__add { width: 38px; height: 38px; }
    .d2 .ask2 { margin-left: 20px; margin-right: 20px; padding: 24px; }
}

/* ---------- Карточка товара ---------- */
.d2 .vp { padding-top: 0; padding-bottom: var(--sec); color: var(--ink); }
.d2 .vp-crumbs { margin-bottom: clamp(28px, 4vw, 56px); }
.d2 .vp-main { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); }
.d2 .vp-gallery { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; position: sticky; top: 100px; }
.d2 .vp-gallery__main { grid-column: 2; aspect-ratio: 1; border-radius: 4px; }
.d2 .vp-gallery__main img { object-fit: cover; }
.d2 .vp-gallery__thumbs { grid-column: 1; grid-row: 1; display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; align-content: start; }
.d2 .vp-gallery__thumb { aspect-ratio: 1; padding: 0; overflow: hidden; border-radius: 4px; }
.d2 .vp-gallery__thumb img { object-fit: cover; }
.d2 .vp-gallery__thumb:hover, .d2 .vp-gallery__thumb.is-active { border-color: #111; }
.d2 .vp-info__top { justify-content: flex-start; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.d2 .vp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; color: #111; font-size: 14px; }
.d2 .vp-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.d2 .vp-article { opacity: 1; }
.d2 .vp-title { margin: 0; font-size: clamp(28px, 2.9vw, 42px); line-height: 1.08; letter-spacing: -.025em; overflow-wrap: break-word; hyphens: auto; }
.d2 .vp-price { margin: 36px 0 0; font-size: clamp(44px, 4.6vw, 64px); letter-spacing: -.03em; line-height: 1; }
.d2 .vp-buy { gap: 12px; margin: 32px 0 0; }
.d2 .vp-buy__btn { order: 2; min-width: 0; min-height: 54px; padding: 0 34px; font-size: 16px; }
.d2 .vp-qty { order: 1; width: 140px; height: 54px; padding: 0 18px; border: 1px solid #d6d6d6 !important; border-radius: 999px !important; font-size: 17px; }
.d2 .vp-qty .icon-minus, .d2 .vp-qty .icon-plus { color: #111; }
.d2 .vp-h2 { margin: 48px 0 0; font-size: 13px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.d2 .vp-specs { display: block; margin: 14px 0 0; }
.d2 .vp-specs__row { grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.d2 .vp-specs__row:last-child { border-bottom: 1px solid var(--line); }
.d2 .vp-specs dt { font-size: 16px; }
.d2 .vp-specs dd { color: var(--muted); }
.d2 .vp-desc { margin-top: 36px; font-size: 17px; line-height: 1.6; color: #333; }
.d2 .vp-bottom { margin-top: var(--sec); display: grid; gap: 24px; }
.d2 .vp-ask { padding: 32px; border: 1px solid var(--line); border-radius: 4px; }
.d2 .vp-ask summary { min-width: 0; font-size: 16px; }
.d2 .vp-ask .vt-form { padding: 0; background: none; }
.d2 .vp-back { margin-top: 0; color: #111; font-size: 16px; font-weight: 700; }
.d2 .vp-back__icon { width: 28px; height: 28px; background: #111; }
.d2 .vp-back__icon::before { top: 10px; left: 11px; }
@media (max-width: 1024px) { .d2 .vp-main { grid-template-columns: minmax(0, 1fr); } .d2 .vp-gallery { position: static; } }
@media (max-width: 640px) {
    .d2 .vp-gallery { grid-template-columns: minmax(0, 1fr); }
    .d2 .vp-gallery__main { grid-column: 1; }
    .d2 .vp-gallery__thumbs { grid-row: 2; grid-template-columns: repeat(4, 1fr); }
    .d2 .vp-buy__btn { flex: 1; }
}

/* ---------- Текстовые страницы и списки (статьи, новости, услуги, о компании) ---------- */
.d2 .vc { padding-top: 0; padding-bottom: var(--sec); line-height: 1.6; color: #222; }
.d2 .vc > h1 { margin: clamp(36px, 5vw, 72px) 0 clamp(28px, 4vw, 48px); max-width: 15em; font-size: clamp(40px, 5.6vw, 80px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #111; }
.d2 .vc-date { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.d2 .vc-body { max-width: 760px; font-size: 18px; line-height: 1.7; }
.d2 .vc-faq .vc-body, .d2 .vc-contacts .vc-body { max-width: none; }
.d2 .vc-body h2 { margin: 2em 0 .6em; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #111; }
.d2 .vc-body h3 { margin: 1.6em 0 .5em; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: #111; }
.d2 .vc-body p { margin: 0 0 1.1em; }
.d2 .vc-body a { color: #111; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.d2 .vc-body img { border-radius: 4px; }
.d2 .vc-body blockquote { margin: 2em 0; padding: 0 0 0 24px; border-left: 2px solid #111; font-size: 22px; line-height: 1.45; color: #111; }
.d2 .vc-body table { font-size: 16px; }
.d2 .vc-body td, .d2 .vc-body th { border-color: var(--line); padding: 10px 14px; }
.d2 .vc-main-img { border-radius: 4px; }
.d2 .vc-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.d2 .vc-card { display: grid; gap: 14px; align-content: start; border: 0; border-radius: 0; background: none; overflow: visible; }
.d2 .vc-card > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--alt); }
.d2 .vc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.d2 .vc-card:hover img { transform: scale(1.03); }
.d2 .vc-card-body { display: grid; gap: 10px; padding: 0; }
.d2 .vc-card .vc-date { margin: 0; }
.d2 .vc-card-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: #111; }
.d2 .vc-card-title:hover { color: #111; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.d2 .vc-card-text { font-size: 15px; color: var(--muted); }
.d2 .vc-inline { border-color: var(--line); }
.d2 .vc-pager { justify-content: center; margin-top: 72px; }
.d2 .vc-pager a, .d2 .vc-pager span { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; color: #111; text-decoration: none; }
.d2 .vc-pager span { background: #111; border-color: #111; color: #fff; }
.d2 .vc-review-btn { margin-bottom: 32px; }
@media (max-width: 1024px) { .d2 .vc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .d2 .vc-cards { grid-template-columns: 1fr; } .d2 .vc-body { font-size: 17px; } }

/* Контакты: утвержденный макет, зеленый → черный */
.d2 .vc-contacts { --kt-green: #111; --kt-green-dark: #333; --kt-soft: #f5f5f4; --kt-muted: #6e6e73; --kt-line: #e6e6e6; --kt-bg: #f5f5f4; --kt-head: #111; }

/* ---------- Формы ---------- */
.d2 .vt-form-wrap { max-width: 760px; }
.d2 .vt-form__title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; line-height: 1.1; color: #111; }
.d2 .vt-form__intro { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); color: #333; }
.d2 .vt-form__row label { font-size: 14px; font-weight: 400; color: var(--muted); }
.d2 .vt-form__row label span { color: #111; }
.d2 .vt-form__row input[type=text], .d2 .vt-form__row input[type=tel], .d2 .vt-form__row input[type=email] { height: 54px; padding: 0 20px; border: 1px solid #d6d6d6; border-radius: 999px; font-size: 16px; }
.d2 .vt-form__row textarea { padding: 16px 20px; border: 1px solid #d6d6d6; border-radius: 22px; font-size: 16px; }
.d2 .vt-form__row input[type=file] { width: 100%; padding: 18px 20px; border: 1px dashed #c4c4c4; border-radius: 22px; font-size: 15px; background: #fff; cursor: pointer; }
.d2 .vt-form__row input[type=file]:hover { border-color: #111; }
.d2 .vt-form__consent label { font-size: 14px; color: var(--muted); }
.d2 .vt-form__consent a { color: #111; }
.d2 .vt-form__done { border-left-color: #111; background: var(--alt); border-radius: 4px; }
.d2 .vt-form-block { margin-top: var(--sec); padding: clamp(24px, 4vw, 48px); background: var(--alt); border-radius: 4px; }
.d2 .vt-form button[type=submit] { margin-top: 8px; }

/* ---------- Корзина и оформление заказа (Bagisto): черные кнопки и акценты ---------- */
.d2 .primary-button { background: #111 !important; border-color: #111 !important; border-radius: 999px !important; color: #fff !important; }
.d2 .primary-button:hover { background: #333 !important; }
.d2 .secondary-button { border-color: #111 !important; border-radius: 999px !important; color: #111 !important; }
.d2 .text-blue-700, .d2 .text-navyBlue { color: #111 !important; }
.d2 .bg-navyBlue { background: #111 !important; }

/* Широкие таблицы в статьях прокручиваются внутри, а не раздвигают страницу на телефоне */
.d2 .vc-body table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Заголовок первого уровня внутри текста страницы (перенесен из Битрикса) — как подзаголовок, а не второй огромный h1 */
.d2 .vc-body h1 { margin: 0 0 .6em; font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: #111; }
.d2 .vp-price span { font-size: .5em; font-weight: 400; }
/* Видео, карты и длинные ссылки из старых текстов не шире экрана */
.d2 .vc-body iframe, .d2 .vc-body video, .d2 .vc-body embed, .d2 .vc-body object { max-width: 100%; }
.d2 .vc-body iframe[src*="youtube"], .d2 .vc-body iframe[src*="rutube"], .d2 .vc-body iframe[src*="vk.com"] { height: auto; aspect-ratio: 16 / 9; }
.d2 .vc-body [id*="map"], .d2 .vc-body ymaps { max-width: 100% !important; }
.d2 .vc-body a { overflow-wrap: anywhere; }

/* ---------- Салатовые акценты (пожелание владельца 26.10.2026): точки, легкое свечение, отметки ---------- */
.d2 { --lime: #8bc348; --lime-glow: rgba(139, 195, 72, .38); --lime-soft: rgba(139, 195, 72, .14); }
/* точка после коротких заголовков разделов и в заголовках главной */
.d2 .h-dot::after { content: "."; color: var(--lime); }
.d2 .dot, .v2 .dot { color: #8bc348; }
/* подпись над заголовком начинается с салатовой точки */
.d2 .e2::before, .d2 .v2 .eyebrow::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 10px 2px 0; border-radius: 50%; background: var(--lime); vertical-align: middle; }
/* кнопки: при наведении мягкое салатовое свечение */
.d2 .b2, .d2 .vt-btn, .d2 .v2 .btn { transition: background .2s, color .2s, box-shadow .25s, transform .25s; }
.d2 .b2--black:hover, .d2 .vt-btn--solid:hover, .d2 .v2 .btn--black:hover, .d2 .primary-button:hover { box-shadow: 0 10px 28px -6px var(--lime-glow), 0 0 0 4px var(--lime-soft); transform: translateY(-1px); }
.d2 .vt-btn:not(.vt-btn--solid):hover, .d2 .ask2 .b2:hover { box-shadow: 0 10px 28px -8px var(--lime-glow); }
/* «+ в корзину»: салатовое кольцо при наведении, салатовая заливка после добавления */
.d2 .c2__add:hover { box-shadow: 0 0 0 5px var(--lime-soft), 0 8px 20px -6px var(--lime-glow); }
.d2 .c2__add.is-done { background: var(--lime); border-color: var(--lime); }
/* активный пункт меню — салатовая точка под ним */
.d2 .h2__i.is-on > a { position: relative; }
.d2 .h2__i.is-on > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--lime); }
/* счетчик корзины — салатовый */
.d2 .h2__cart .bg-navyBlue { background: var(--lime) !important; color: #111 !important; font-weight: 700; }
/* поля при вводе: черная рамка и легкое салатовое свечение */
.d2 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):focus, .d2 textarea:focus, .d2 select:focus { box-shadow: 0 0 0 4px var(--lime-soft) !important; }
/* карточки товаров и новостей: при наведении фото чуть приподнимается с мягкой тенью */
.d2 .c2__img, .d2 .vc-card > a, .d2 .v2 .card__img { transition: box-shadow .4s, transform .4s; }
.d2 .c2:hover .c2__img, .d2 .vc-card:hover > a, .d2 .v2 .card:hover .card__img { box-shadow: 0 18px 40px -22px rgba(80, 120, 30, .45); }
/* мелочи: группы каталога, «В наличии», ссылки в подвале, сообщение формы */
.d2 .vcat__nav a:hover { border-color: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); color: #000; }
.d2 .f2__col a:hover, .d2 .f2__tel:hover { color: #000; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.d2 .vt-form__done { border-left-color: var(--lime); }
.d2 .vc-body blockquote { border-left-color: var(--lime); }
.d2 .vp-gallery__thumb.is-active { border-color: #111; box-shadow: 0 0 0 3px var(--lime-soft); }

/* Размытие фона шапки — на подложке ::before, а не на самой шапке: backdrop-filter на .h2 делал шапку рамкой
   для position:fixed, и выезжающая корзина Bagisto сжималась до высоты шапки (не открывалась на телефоне, 26.10.2026) */
.d2 .h2 { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.d2 .h2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
/* Кнопка «Продолжить оформление заказа» в выезжающей корзине — черная «таблетка» с салатовым свечением, счетчик остается салатовым */
.d2 .h2__cart a.bg-navyBlue { background: #111 !important; color: #fff !important; font-weight: 700; border-radius: 999px !important; transition: box-shadow .25s, background .2s; }
.d2 .h2__cart a.bg-navyBlue:hover { background: #333 !important; box-shadow: 0 10px 28px -6px var(--lime-glow), 0 0 0 4px var(--lime-soft); }

/* ---------- Корзина /checkout/cart и оформление /checkout/onepage (шаблоны Bagisto + наши этапы) ---------- */
/* шапка этих страниц: логотип и «Войти» — в той же ширине и высоте, что общая шапка */
.d2 #main > .flex-wrap:first-child > div, .d2 #main > .flex.flex-wrap:first-child > div { box-sizing: border-box; max-width: 1280px; margin: 0 auto; height: 76px; align-items: center; padding: 0 clamp(20px, 4vw, 48px) !important; border: 0 !important; }
.d2 #main > .flex-wrap:first-child, .d2 #main > .flex.flex-wrap:first-child { border-bottom: 1px solid var(--line); }
.d2 #main > .flex-wrap:first-child img, .d2 #main > .flex.flex-wrap:first-child img { height: 30px; width: auto; }
.d2 #main .container { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4vw, 48px) !important; padding-right: clamp(20px, 4vw, 48px) !important; padding-bottom: var(--sec); }
.d2 .co2-title { margin: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 36px); font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1; color: #111; }
/* этапы: текущий — черный, пройденный — салатовый оттенок */
.d2 .vt-steps__bar { gap: 8px; margin: 0 0 32px; }
.d2 .vt-steps__bar li { padding: 12px 20px; border-radius: 999px; background: var(--alt); color: var(--muted); font-weight: 700; font-size: 15px; }
.d2 .vt-steps__bar li.is-on { background: #111; color: #fff; box-shadow: 0 10px 24px -10px var(--lime-glow); }
.d2 .vt-steps__bar li.is-done { background: var(--lime-soft); color: #111; }
.d2 .vt-steps__bar li.is-done::before { content: "✓ "; color: #5d8f22; }
.d2 .vt-back { color: #111; }
/* поля — «таблетки», как в формах сайта */
.d2 #steps-container input[type=text], .d2 #steps-container input[type=tel], .d2 #steps-container input[type=email], .d2 #steps-container select {
    height: 54px; padding: 0 20px !important; border: 1px solid #d6d6d6 !important; border-radius: 999px !important; font-size: 16px; background: #fff; }
.d2 #steps-container textarea { padding: 16px 20px !important; border: 1px solid #d6d6d6 !important; border-radius: 22px !important; font-size: 16px; }
.d2 #steps-container label { color: #111; }
/* выбор доставки и оплаты */
.d2 .vt-co__opt { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; transition: border-color .15s, box-shadow .2s; }
.d2 .vt-co__opt:hover { border-color: #111; }
.d2 .vt-co__opt.is-on { border-color: #111; background: #fff; box-shadow: 0 0 0 4px var(--lime-soft); }
.d2 .vt-co__opt.is-on b { color: #111; }
.d2 .vt-co__opt.is-on b::before { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--lime); vertical-align: middle; }
.d2 .vt-co__check input { accent-color: #111; }
.d2 .vt-co__box, .d2 .vt-recap { border: 0; border-radius: 18px; background: var(--alt); }
.d2 .vt-co__pickup b { color: #111; }
.d2 .vt-co__btn { border-color: #111; border-radius: 999px; background: #111; }
.d2 .vt-co__btn:hover { background: #333; border-color: #333; box-shadow: 0 8px 22px -8px var(--lime-glow); }
.d2 .vt-co__label span { color: #111; }
.d2 .vt-step__title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.02em; color: #111; }
.d2 .vt-place__btn { border-radius: 999px !important; background: #111 !important; transition: box-shadow .25s, background .2s; }
.d2 .vt-place__btn:hover { background: #333 !important; box-shadow: 0 10px 28px -6px var(--lime-glow), 0 0 0 4px var(--lime-soft); }
/* сводка корзины справа и кнопки Bagisto */
.d2 #main .container .rounded-xl.border, .d2 #main .container .rounded-lg.border:not(input):not(textarea):not(select) { border-color: var(--line) !important; }
.d2 #main .container h1, .d2 #main .container h2.text-2xl, .d2 #main .container p.text-2xl { letter-spacing: -.02em; color: #111; }
.d2 #main .container .text-blue-700, .d2 #main .container a.text-blue-700 { color: #111 !important; text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.d2 #main .container input[type=checkbox] { accent-color: #111; }
