:root {
    --color-primary: #112B3B;
    --color-text: #173D54;
    --color-heading: #1E4E6B;
    --color-section-title: #313131;
    --color-white: #FFFFFF;
    --color-bg: #FFFFFF;
    --color-accent: #0089DD;
    --color-accent-hover: #006bb3;
    --color-accent-light: #7BB6DA;
    --color-accent-border: #70C8FD;
    --color-accent-bg: #EBF7FE;
    --color-gray: #5A5A5A;
    --color-gray-light: #999;
    --color-border: #D9D9D9;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --section-bar-width: 4px;
    --section-bar-color: var(--color-accent-border);
    --max-width: 1170px;
    --color-price: #E31E24;
    --color-footer-bg: #252525;
    /* Подвал */
    --footer-frame-min-height: 566px;
    --color-footer-text: #ACACAC;
    --color-footer-muted: #6B6A6A;
    --color-footer-desc: #DADADA;
    --color-border-light: #D9E8F0;
    --color-black: #000000;
    --color-accent-light-hover: #5fa3c9;
    --color-primary-dark: #0d2230;
    --color-input-border: #B8D6E5;
    --color-error: #e74c3c;
    --color-hero-bg: #5a8fa8;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
    --font-size-h2: 38px;
    /* Типографика: единая шкала */
    --font-size-h1-page: 40px;
    --line-height-heading: 1.35;
    --font-size-hero-title: 48px;
    --font-size-hero-title-md: 36px;
    --font-size-breadcrumb: 14px;
    --color-gray-separator: #BDBDBD;
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
}

html {
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Нода: заголовок */
.field--name-node-title,
.field--name-node-title.field__item,
.field--name-node-title .field__item {
    color: var(--color-black);
    font-size: 24px;
}

/* DS: заголовок блока */
.field.field--name-block-title.field--type-ds.field__item,
.field.field--name-block-title.field--type-ds.field__item :is(h1, h2) {
    font-size: var(--font-size-h2);
    line-height: 1.2;
}

/* DS: заголовок ноды */
article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item,
article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item :is(h1, h2) {
    font-size: var(--font-size-h2);
    line-height: 1.2;
}

.field.field--name-node-title.field--type-ds.field--label-hidden.field__item {
    margin-top: 10px;
}

/* Шапка */
.ajax-progress {
    position: absolute;
    pointer-events: none;
}
.ajax-progress-throbber {
    display: none;
}

.toolbar .toolbar-tab .toolbar-icon {
    padding: 0.75em 1.5em 0.75em 2.5em;
}

#header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-bg);
    color: var(--color-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: var(--font-body);
}

.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.contact-item a:hover {
    opacity: 0.7;
}

.logo a,
.header-logo a {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 28px;
    line-height: 140%;
}

.header-logo img {
    max-height: 71px;
}

#header > .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.header-main {
    display: flex;
    align-items: center;
    padding: 25px 0;
}

.header-logo {
    flex-shrink: 0;
}

.header-right-col {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-right-inner {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 0;
}

.header-contacts-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 37px;
    flex-wrap: wrap;
}

.header-contacts-row .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: var(--color-text);
}

.header-contacts-row .contact-item .icon {
    display: none;
}

.header-contacts-row .contact-item:nth-child(2) {
    font-size: 18px;
    line-height: 21px;
}

.social {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 21px;
}

.social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: opacity 0.3s;
}

.social li a:hover {
    opacity: 0.7;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header-phone .icon-phone {
    flex-shrink: 0;
    width: 29px;
    height: 30px;
}

.header-phone__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone__info a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    text-align: right;
}

.header-phone__info a:hover {
    opacity: 0.7;
}

.header-phone__info a:first-child {
    font-size: 18px;
    line-height: 21px;
}

.header-phone__info .btn-callback {
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.06em;
    opacity: 0.6;
    cursor: pointer;
}

.header-right-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 21px 0;
    align-self: stretch;
}

.header-nav-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
    align-self: stretch;
}

.region-navigation .nav {
    gap: 32px;
}

.region-navigation .nav .nav-link {
    color: var(--color-text);
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.region-navigation .nav .nav-link:hover {
    text-decoration: underline;
}

.region-navigation .nav .nav-item.active .nav-link {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-text);
}

.region-navigation .nav > .nav-item:hover .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
}

.region-navigation .nav > .nav-item .dropdown-menu {
    background: var(--color-white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    min-width: 200px;
    margin-top: 8px;
}

.region-navigation .nav > .nav-item .dropdown-menu .dropdown-item {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    padding: 8px 20px;
    transition: background 0.2s, color 0.2s;
}

.region-navigation .nav > .nav-item .dropdown-menu .dropdown-item:hover {
    background: #EBF7FE;
    color: var(--color-accent);
}

.region-navigation .nav .nav-link.is-active {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
}

.region-navigation .nav .nav-link.is-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
}

/* Шапка: мобильное меню */
.mobile-menu-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}

.mobile-menu-btn:hover {
    background: transparent;
    border: none;
}

.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

#offcanvasNav.offcanvas {
    width: 320px;
    background: var(--color-white);
}

#offcanvasNav .offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#offcanvasNav .offcanvas-body {
    padding: 20px;
}

#offcanvasNav .nav {
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
}

#offcanvasNav .nav .nav-link {
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    padding: 6px 0;
    text-decoration: none;
}

#offcanvasNav .dropdown-menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 6px 0 0 14px;
    margin: 0;
    background: transparent;
}

#offcanvasNav .dropdown-item {
    padding: 6px 0;
    color: var(--color-text);
    text-decoration: none;
}

#offcanvasNav .offcanvas-contacts {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#offcanvasNav .offcanvas-contacts a,
#offcanvasNav .offcanvas-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
    text-decoration: none;
}

#offcanvasNav .offcanvas-logo img {
    max-height: 32px;
}

#offcanvasNav .offcanvas-callback {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 40px;
    background: transparent;
    color: var(--color-accent, #7BB6DA);
    border: 1px solid #7BB6DA;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

#offcanvasNav .offcanvas-callback:hover {
    background: #7BB6DA;
    color: var(--color-white);
}

/* Шапка: внутренние страницы */
#header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
    z-index: 1;
}

.hero-wrapper #header::before {
    display: none;
}

/* Внутренние: контент */
.wr_content {
    padding: 50px 0 80px;
    min-height: 400px;
}

/* О нас: декор */
.about-page {
    position: relative;
    overflow: hidden;
}

.about-page-decor {
    position: absolute;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.about-page-decor--small {
    right: 12%;
    bottom: 180px;
    width: 22px;
    height: 22px;
}

.about-page-decor--small svg {
    width: 22px;
    height: 22px;
}

.about-page-decor--big {
    right: 8%;
    bottom: 100px;
    width: 45px;
    height: 45px;
}

.about-page-decor--big svg {
    width: 45px;
    height: 45px;
}

.about-page > .container {
    position: relative;
    z-index: 1;
}

.wr_content .field--name-field-link,
.wr_content .field--type-link {
    display: none;
}

.wr_content h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-h1-page);
    line-height: var(--line-height-heading);
    color: var(--color-text);
    margin: 0 0 30px;
    position: relative;
    padding-left: 20px;
}

.wr_content h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: var(--section-bar-width);
    background: var(--color-accent-light);
    border-radius: 2px;
}

/* Крошки */
.breadcrumb {
    padding: 0;
    margin-bottom: 24px;
    background: none;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--font-body);
    font-size: var(--font-size-breadcrumb);
    line-height: 20px;
    color: var(--color-gray-light);
}

.breadcrumb a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    padding: 0 6px;
    color: var(--color-gray-separator);
}

/* Главная: шапка над слайдером */
.hero-wrapper #header {
    position: absolute;
    left: 0;
    right: 0;
    overflow: visible;
    background:
        url('/sites/all/themes/vesta_theme/image/header-bg_up.svg') no-repeat center bottom / max(100%, 1920px) auto,
        url('/sites/all/themes/vesta_theme/image/header-bg_up_2.svg') no-repeat center bottom / max(100%, 1920px) auto;
    background-clip: border-box;
    color: var(--color-text);
    box-shadow: none;
    padding-bottom: 13px;
    width: 100%;
}

.hero-wrapper .header-right-divider {
    background: rgba(255, 255, 255, 0.5);
}

/* Прайсы */
.prays-page,
.path-prays .wr_content,
.path-praisy .wr_content {
    padding: 50px 0 80px;
    background: var(--color-white);
}

/* Прайсы: секция услуг */
.prays-page.section-services::before,
.prays-page.section-services::after {
    display: none;
}

.prays-page.section-services {
    background: var(--color-white);
}

.prays-page.section-services > .container {
    padding-top: 0;
}

.prays-page .block-system-breadcrumb-block,
.path-prays .block-system-breadcrumb-block,
.path-praisy .block-system-breadcrumb-block {
    margin-bottom: 0 !important;
}

.prays-page .breadcrumb,
.path-prays .breadcrumb,
.path-praisy .breadcrumb {
    margin-bottom: 24px !important;
}

.prays-page .block-page-title-block,
.path-prays .block-page-title-block,
.path-praisy .block-page-title-block {
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

.prays-page .block + .block,
.path-prays .block + .block,
.path-praisy .block + .block {
    margin-top: 24px !important;
}

.prays-page h1,
.path-prays h1,
.path-praisy h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-h1-page);
    line-height: var(--line-height-heading);
    color: var(--color-heading);
    margin: 0;
    padding-left: 20px;
    position: relative;
}

.prays-page h1::before,
.path-prays h1::before,
.path-praisy h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: var(--section-bar-width);
    background: var(--color-accent-light);
    border-radius: 2px;
}

/* Прайсы: основной блок */
.prays-page .block-block-content,
.prays-page .block-system-main-block,
.path-prays .block-block-content,
.path-prays .block-system-main-block,
.path-praisy .block-block-content,
.path-praisy .block-system-main-block {
    max-width: 800px;
}

/* Прайсы: body и списки */
.price-list-links,
.prays-page .field--name-body .field__items,
.path-prays .field--name-body .field__items,
.path-praisy .field--name-body .field__items {
    display: block;
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
}

.price-list-links li,
.prays-page .field--name-body p,
.path-prays .field--name-body p,
.path-praisy .field--name-body p {
    margin: 0;
}

/* Прайсы: текст в body */
.prays-page .field--name-body p,
.path-prays .field--name-body p,
.path-praisy .field--name-body p,
body.vesta-path-prais #main .field--name-body p,
body.vesta-path-prais #main .wr_content .field--name-body p {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.6;
    color: #0089DD;
    font-family: var(--font-body);
}

/* Прайсы: ul в контенте */
.prays-page .block-system-main-block ul:not(.breadcrumb):not(.contextual-links),
.path-prays .block-system-main-block ul:not(.breadcrumb):not(.contextual-links),
.path-praisy .block-system-main-block ul:not(.breadcrumb):not(.contextual-links),
.prays-page .node__content ul:not(.breadcrumb),
.path-prays .node__content ul:not(.breadcrumb) {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: block;
}

/* Прайсы: PDF в параграфах */
.prays-page .field--name-body .field__item,
.path-prays .field--name-body .field__item,
.path-praisy .field--name-body .field__item {
    margin-bottom: 8px;
}

/* Contextual */
.contextual-region .contextual {
    top: -8px;
    right: 8px;
}

.contextual-region .contextual-region .contextual {
    top: 8px;
}

/* Contextual: иконка */
body.toolbar-tray-open .contextual-region .contextual,
body.user-logged-in .contextual-region:hover .contextual {
    display: block;
}

body.user-logged-in .contextual-region .contextual {
    display: block;
    opacity: 0.85;
}

body.user-logged-in .contextual-region .contextual:hover {
    opacity: 1;
}

.contextual-region .contextual .trigger {
    width: 22px !important;
    height: 22px !important;
    background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-white);
    background: #ccc;
    color: var(--color-white);
    top: -3px;
    right: -9px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
}

.offcanvas {
    --bs-offcanvas-bg: var(--color-white);
}

.offcanvas .offcanvas-title {
    color: #1B3A4B;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
}

.hero__blur-overlay {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    clip-path: url(#bgblur_0_2022_296_clip_path);
    height: 100%;
    width: 100%;
}

/* Hero */
.hero-wrapper {
    position: relative;
    height: 1070px;
    overflow: hidden;
    background: var(--color-hero-bg);
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider * {
    height: 100%;
}

.hero-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

.hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 482px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
}

.hero__bg-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 482px;
    z-index: 0;
    pointer-events: none;
}

.hero__bg-wave svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: bottom center;
}

.hero__bg-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 482px;
    z-index: 1;
    pointer-events: none;
}

.hero__bg-line svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero__content > .container {
    position: relative;
    z-index: 1;
    max-width: 916px;
    padding-bottom: 58px;
}

.hero__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--font-size-hero-title);
    line-height: var(--line-height-heading);
    letter-spacing: -0.02em;
    color: var(--color-text);
    margin: 0 0 24px;
}

.hero__subtitle {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 22px;
    line-height: 130%;
    color: var(--color-text);
    margin: 0 0 40px;
}

.hero__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 344px;
    height: 56px;
    padding: 0;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 22px;
    line-height: 145%;
    letter-spacing: 0.25px;
    border: none;
    transition: background 0.3s;
}

.hero__btn:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
}

/* О нас */
.section-about {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

/* О нас → услуги */
.section-about + .section-services:not(.section-services--page) > .container {
    padding-top: 0;
}

.section-about .container {
    position: relative;
    z-index: 1;
}

.section-about .view-content,
.section-about article,
.section-about .ds-2col,
.section-about .ds-2col-stacked {
    display: flex;
    gap: 60px;
    align-items: stretch;
}

.section-about .views-row {
    width: 100%;
}

.section-about .group-left {
    flex: 0 0 585px;
    width: 585px;
}

.section-about .group-left img {
    width: 585px;
    height: 752px;
    object-fit: cover;
    display: block;
}

.section-about .group-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
}

.section-about .block {
    position: relative;
}

.section-about .block > h2,
.section-about .block-title {
    position: absolute;
    top: 55px;
    left: 645px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-left: 4px solid var(--color-accent-border);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-section-title);
    margin: 0;
    z-index: 1;
}

.section-about .group-right > h2:first-child,
.section-about .group-right .field--name-title {
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-left: 4px solid var(--color-accent-border);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-section-title);
    margin: 0 0 18px;
}

.section-about .group-right > h2:first-child a,
.section-about .group-right .field--name-title a {
    color: inherit;
    text-decoration: none;
}

.section-about .group-right h2.node__title,
.section-about .group-right h1,
.section-about .node__title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 38px;
    line-height: 135%;
    color: #000;
    margin: 0 0 24px;
    max-width: 550px;
}

.section-about .node__title a {
    color: inherit;
    text-decoration: none;
}

.section-about .node__title a:hover {
    color: var(--color-accent-light);
}

.section-about .field--name-body,
.section-about .field--name-body p,
.section-about .field--name-body .field__item,
.section-about .field--name-body .field__item p,
.section-about .views-row .field--name-body,
.section-about .views-row .field--name-body p,
.section-about .views-row .field--name-body .field__item,
.section-about .views-row .field--name-body .field__item p,
.section-about .group-right .field--name-body,
.section-about .group-right .field--name-body p,
.section-about .group-right .field--name-body .field__item,
.section-about .group-right .field--name-body .field__item p,
.section-about .node--type-about .field--name-body,
.section-about .node--type-about .field--name-body p,
.section-about article .field--name-body,
.section-about article .field--name-body p {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    color: var(--color-gray);
    max-width: 617px;
    margin-bottom: 40px;
}

.section-about .field--name-body p,
.section-about .field--name-body .field__item p,
.section-about .group-right .field--name-body p,
.section-about .views-row .field--name-body p {
    margin: 0 0 16px;
    color: var(--color-gray);
}

.section-about .field--name-body p:last-child {
    margin-bottom: 0;
}

.section-about .field--type-link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    width: 294px;
    height: 49px;
    background: var(--color-accent-light);
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 20px;
    line-height: 145%;
    letter-spacing: 0.25px;
    border: none;
    transition: background 0.3s;
}

.section-about .field--type-link a:hover {
    background: var(--color-accent-light-hover);
    color: var(--color-white);
}

/* О нас: без вертикальных отступов секции, 768–991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-about {
        padding: 0;
    }
}

.section-about .about-decor {
    position: absolute;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.section-about .about-decor--left {
    top: calc(80px + 207px);
    left: calc(50% - 600px - 135px - 111px);
}

.section-about .about-decor--right-1 {
    top: calc(80px + 31px);
    left: calc(50% - 600px + 585px + 531px);
}

.section-about .about-decor--right-1 svg {
    width: 22px;
    height: 22px;
}

.section-about .about-decor--right-2 {
    top: calc(80px + 108px);
    left: calc(50% - 600px + 585px + 870px);
}

.section-about .about-decor--right-2 svg {
    width: 45px;
    height: 45px;
}

/* Услуги */
.section-services {
    position: relative;
    padding: 20px 0 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.section-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(269.47deg, rgba(255, 255, 255, 0) 77.68%, var(--color-white) 99.17%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.75) 17.02%, rgba(255, 255, 255, 0) 64.16%),
        url('/sites/all/themes/vesta_theme/image/white-brick-wall.png') center / cover;
    opacity: 0.75;
    z-index: 0;
}

.section-about + .section-services:not(.section-services--page)::before {
    inset: 0;
    background:
        linear-gradient(269.47deg, rgba(255, 255, 255, 0) 77.68%, var(--color-white) 99.17%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 8%, rgba(255, 255, 255, 0) 55%),
        url('/sites/all/themes/vesta_theme/image/white-brick-wall.png') center top / cover;
}

.section-services:not(.section-services--page)::before {
    background:
        linear-gradient(269.47deg, rgba(255, 255, 255, 0) 77.68%, var(--color-white) 99.17%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 8%, rgba(255, 255, 255, 0) 55%),
        url('/sites/all/themes/vesta_theme/image/white-brick-wall.png') center top / cover;
}

.section-services > .container {
    position: relative;
    z-index: 2;
}

.section-services::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--color-white) 100%);
    z-index: 1;
}

.section-services .block-block-content {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Главная/услуги: отступ интро-блока */
@media screen and (min-width: 360px) and (max-width: 574px) {
    .section-services:not(.section-services--page) .block-block-content {
        margin-bottom: 20px;
    }
}

.section-services .block-block-content > h2,
.section-services .block-block-content > .block-title,
.region-services .block-block-content > h2,
.region-services .block-block-content > .block-title {
    width: 100%;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-left: 4px solid var(--color-accent-border);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 18px;
}

/* Услуги: подпись блока */
@media screen and (max-width: 767px) {
    .section-services .block-block-content > .block-title,
    .region-services .block-block-content > .block-title {
        width: auto;
    }
}

.section-services .block-block-content .block-content {
    width: 100%;
}

.section-services .block-block-content .field--name-body {
    width: 100%;
    margin-bottom: 40px;
}

.section-services .block-block-content .field--name-body h2,
.region-services .block-block-content .field--name-body h2 {
    color: #000000;
}

/* Услуги: разметка из body */
.section-services .block-block-content .field--name-body .field__item,
.region-services .block-block-content .field--name-body .field__item {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

/* Услуги: DS group-left / group-right */
.section-services .ds-2col .group-left,
.section-services .ds-2col .group-right,
.region-services .ds-2col .group-left,
.region-services .ds-2col .group-right {
    display: block;
}

.section-services .ds-2col,
.region-services .ds-2col {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

.section-services .ds-2col .group-left,
.region-services .ds-2col .group-left {
    flex: 0 0 545px;
    width: 545px;
    max-width: 545px;
    min-height: 232px;
}

.section-services .ds-2col .group-left h2,
.region-services .ds-2col .group-left h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 38px;
    line-height: 135%;
    color: #000;
    margin: 0;
}

.section-services .ds-2col .group-right,
.region-services .ds-2col .group-right {
    flex: 1;
    min-width: 0;
    padding-top: 40px;
}

.section-services .ds-2col .group-right .field--name-body,
.section-services .ds-2col .group-right p,
.region-services .ds-2col .group-right .field--name-body,
.region-services .ds-2col .group-right p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--color-gray);
    margin: 0;
}

.section-services .block-block-content .field--name-body p {
    margin: 0;
}

/* Услуги: левая колонка */
.section-services .block-block-content .field--name-body .field__item > p:first-child,
.region-services .block-block-content .field--name-body .field__item > p:first-child {
    flex: 0 0 545px;
    width: 545px;
    max-width: 545px;
    min-height: 232px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 38px;
    line-height: 135%;
    color: #000;
    margin: 0;
}

/* Услуги: правая колонка */
.section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2),
.region-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
    flex: 0 0 370px;
    width: 370px;
    max-width: 370px;
    min-width: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 24px;
    line-height: 180%;
    color: #000000;
    margin: 0;
    padding-top: 0;
    margin-top: 24px;
    align-self: flex-start;
}


.section-services .view .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    max-width: 1190px;
}

/* Услуги: 768–991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-services .ds-2col .group-right,
    .region-services .ds-2col .group-right {
        width: 100%;
        padding-top: 0;
    }

    .section-services .view .view-content,
    .region-services .view .view-content {
        margin-bottom: 0;
    }

    .section-services .block-block-content,
    .region-services .block-block-content {
        margin-bottom: 0;
    }
}

/* Услуги: 993–1200px */
@media screen and (min-width: 993px) and (max-width: 1200px) {
    .section-services .ds-2col .group-left,
    .region-services .ds-2col .group-left {
        min-height: 160px;
    }

    .section-services .ds-2col .group-right,
    .region-services .ds-2col .group-right {
        padding-top: 0;
    }

    .section-services .block-content.block-content--type-basic.block-content--view-mode-full.ds-2col,
    .region-services .block-content.block-content--type-basic.block-content--view-mode-full.ds-2col,
    .section-services .block-block-content .ds-2col,
    .region-services .block-block-content .ds-2col {
        gap: 0;
    }

    /* flex с gap внутри body того же блока */
    .section-services .block-content.block-content--type-basic.block-content--view-mode-full .field--name-body .field__item,
    .region-services .block-content.block-content--type-basic.block-content--view-mode-full .field--name-body .field__item {
        gap: 0;
    }
}

.section-services .view .views-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 370px;
}

/* Услуги: при 3 колонках (≥768px) */
@media screen and (min-width: 768px) {
    .section-services .view .view-content,
    .region-services .view .view-content {
        align-items: stretch;
    }

    .section-services .view .views-row,
    .region-services .view .views-row {
        align-self: stretch;
        align-items: stretch;
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 0;
        box-sizing: border-box;
    }

    .section-services .view .views-row > *,
    .region-services .view .views-row > * {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
        width: 100%;
    }

    .section-services .view .views-row .views-field .field-content,
    .region-services .view .views-row .views-field .field-content {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .section-services .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col,
    .region-services .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
    }

    .section-services .view .views-row .group-up,
    .region-services .view .views-row .group-up {
        flex: 0 0 auto;
        width: 100%;
        align-self: stretch;
    }

    .section-services .view .views-row .group-down,
    .region-services .view .views-row .group-down {
        flex: 0 0 auto;
        width: 100%;
        margin-top: auto;
        align-self: stretch;
    }

    /* Верхний блок (иконка + заголовок) */
    .section-services .view .views-row:has(.group-up) .group-up,
    .region-services .view .views-row:has(.group-up) .group-up {
        min-height: 7rem;
    }
}

.section-services .view .views-row .field--name-field-image,
.section-services .view .views-row .field--type-image {
    margin-bottom: 20px;
}

.section-services .view .views-row .field--name-field-image img,
.section-services .view .views-row .field--type-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.section-services .view .views-row h2,
.section-services .view .views-row h3,
.section-services .view .views-row .node__title,
.section-services .view .views-row .field--name-title,
.section-services .view .views-row .field--name-node-title,
.region-services .view .views-row h2,
.region-services .view .views-row h3,
.region-services .view .views-row .node__title,
.region-services .view .views-row .field--name-title,
.region-services .view .views-row .field--name-node-title,
.section-services .view .views-row [class*="views-field-title"],
.region-services .view .views-row [class*="views-field-title"],
.section-services .view .views-row .views-field-title,
.section-services .view .views-row .field--name-node-title,
.section-services .field--name-node-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 24px;
    line-height: 120%;
    color: #000;
    margin: 0 0 24px;
}

/* Услуги: заголовок в карточке */
.section-services .field--name-node-title,
.section-services .field--name-node-title.field__item,
.section-services .field--name-node-title .field__item {
    margin-bottom: 24px;
}

/* Услуги: min-height заголовка в ряду */
.section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title),
.region-services .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title),
body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title) {
    min-height: 3.6em;
    margin-bottom: 0;
    box-sizing: content-box;
}

.section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) .field--name-node-title .field__item,
.region-services .view .views-row:not(:has(.group-up)) .field--name-node-title .field__item,
body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) .field--name-node-title .field__item {
    margin-bottom: 0;
}

.section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) .field--name-body,
.section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) .views-field-body,
.region-services .view .views-row:not(:has(.group-up)) .field--name-body,
.region-services .view .views-row:not(:has(.group-up)) .views-field-body,
body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) .field--name-body,
body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) .views-field-body {
    margin-top: 16px;
}

.section-services .view .views-row h2 a,
.section-services .view .views-row h3 a,
.section-services .view .views-row .node__title a {
    color: inherit;
    text-decoration: none;
}

.section-services .view .views-row .field--name-body {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--color-gray);
    margin-bottom: 16px;
}

.section-services .view .views-row .field--type-link a,
.section-services .view .views-row .node__links a,
.section-services .view .views-row a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}

.section-services .view .views-row .field--type-link a::after,
.section-services .view .views-row .node__links a::after {
    content: '  >';
}

/* Услуги: ссылка в карточке */
.section-services .view .views-row .field--type-link,
.section-services .view .views-row .node__links,
.section-services .view .views-row .links,
.section-services .view .views-row .field--name-field-link {
    text-align: left;
    justify-content: flex-start;
    display: flex;
    width: 100%;
}

.section-services .view .views-row .field--type-link a,
.section-services .view .views-row .node__links a,
.section-services .view .views-row .links a,
.section-services .view .views-row .field--name-field-link a {
    display: inline-block;
    text-align: left;
    margin-left: 0;
}

.section-services .view .views-row a:hover {
    color: var(--color-accent-hover);
}

.section-services .view .views-row h2 a,
.section-services .view .views-row h3 a,
.section-services .view .views-row .node__title a,
.section-services .field--name-node-title a {
    color: #000;
    font-size: 24px;
    font-weight: 400;
}

.section-services .view .views-row h2 a::after,
.section-services .view .views-row h3 a::after,
.section-services .view .views-row .node__title a::after {
    content: none;
}

/* Услуги: нижние ссылки секции */
.section-services .view {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-services .view-footer,
.section-services .more-link,
.section-services .services-btn-wrap {
    text-align: left;
    align-self: flex-start;
}

.section-services .view-footer a,
.section-services .more-link a,
.section-services .services-btn-wrap a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 247px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.section-services .view-footer a:hover,
.section-services .more-link a:hover,
.section-services .services-btn-wrap a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.section-services .view-footer a svg path,
.section-services .more-link a svg path,
.section-services .services-btn-wrap a svg path {
    fill: #0089DD;
    transition: fill 0.3s;
}

.section-services .view-footer a:hover svg path,
.section-services .more-link a:hover svg path,
.section-services .services-btn-wrap a:hover svg path {
    fill: var(--color-white);
}

.section-services .view-footer a::after,
.section-services .more-link a::after,
.section-services .services-btn-wrap a::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%230089DD'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
    vertical-align: middle;
}

.section-services .view-footer a:hover::after,
.section-services .more-link a:hover::after,
.section-services .services-btn-wrap a:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Услуги: страница */
.section-services--page {
    padding: 50px 0 80px;
}

.section-services--page::after {
    display: none;
}

.section-services--page h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 40px;
    line-height: 135%;
    color: var(--color-text);
    margin: 0 0 30px;
    padding-left: 20px;
    position: relative;
}

.section-services--page h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: var(--section-bar-width);
    background: var(--color-accent-light);
    border-radius: 2px;
}

.section-services--page .view .view-content {
    margin-bottom: 0;
}

.section-services--page .view-footer,
.section-services--page .more-link {
    display: none;
}

/* Обратная связь */
.section-feedback {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}

.section-feedback::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: url('/sites/all/themes/vesta_theme/image/white-brick-wall.png') center / cover;
    opacity: 0.85;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 30%, transparent 100%);
}

.section-feedback > .container {
    position: relative;
    z-index: 2;
}

.section-feedback .feedback-decor {
    position: absolute;
    z-index: 1;
    opacity: 0.6;
}

.section-feedback .feedback-decor--1 {
    width: 22px;
    height: 22px;
    top: 120px;
    left: 12%;
}

.section-feedback .feedback-decor--2 {
    width: 45px;
    height: 45px;
    top: 220px;
    left: 16%;
}

.section-feedback .block > h2,
.section-feedback .block > .block-title {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 20px;
    width: 100%;
}

.section-feedback .block-title {
    text-align: center;
    width: 100%;
}

.section-feedback .ds-2col .group-left,
.section-feedback .field--name-block-title {
    text-align: center;
}

.section-feedback .ds-2col .group-left h2,
.section-feedback .field--name-block-title h2 {
    text-align: center;
    color: #000000;
}

/* Обратная связь: заголовок */
.section-feedback .ds-2col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.section-feedback .ds-2col .group-left {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 20px;
}

.section-feedback .ds-2col .group-right {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
}

.section-feedback .block > h2::before,
.section-feedback .block > .block-title::before {
    content: '';
    display: inline-block;
    width: var(--section-bar-width);
    height: 24px;
    background: var(--color-accent-border);
    flex-shrink: 0;
}

.section-feedback .block-content > .field--name-body {
    max-width: 660px;
    margin: 0 auto 40px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--font-size-h2);
    line-height: var(--line-height-heading);
    color: var(--color-black);
}

.section-feedback .block-content > .field--name-body p {
    margin: 0;
}

.section-feedback form {
    max-width: 660px;
    margin: 0 auto;
}

.section-feedback .form-item {
    margin-bottom: 16px;
}

.section-feedback .form-item label {
    display: none;
}

.section-feedback .form-control,
.section-feedback .form-text,
.section-feedback .form-email,
.section-feedback .form-tel,
.section-feedback textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 150%;
    color: #333;
    background: var(--color-white);
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}

.section-feedback .form-control::placeholder,
.section-feedback .form-text::placeholder,
.section-feedback textarea::placeholder {
    color: var(--color-gray-light);
    font-size: 16px;
}

.section-feedback .form-control:focus,
.section-feedback .form-text:focus,
.section-feedback .form-email:focus,
.section-feedback .form-tel:focus,
.section-feedback textarea:focus {
    border-color: var(--color-accent-light);
}

.section-feedback textarea {
    min-height: 120px;
    resize: vertical;
}

.section-feedback .form-actions {
    text-align: center;
    margin-top: 24px;
}

.section-feedback .form-actions .btn,
.section-feedback .form-actions .form-submit,
.section-feedback .form-actions .webform-button--submit {
    display: inline-block;
    min-width: 200px;
    padding: 14px 50px;
    background: var(--color-accent-light);
    border: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
}

.section-feedback .form-actions .btn:hover,
.section-feedback .form-actions .form-submit:hover,
.section-feedback .form-actions .webform-button--submit:hover {
    background: var(--color-accent-light-hover);
}

.section-feedback .form-type-checkbox,
.section-feedback .js-form-type-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray);
    margin-top: 16px;
}

.section-feedback .form-type-checkbox label,
.section-feedback .js-form-type-checkbox label {
    cursor: pointer;
    display: none;
}

/* Форма: чекбокс — текст — ошибка (order) */
.section-feedback .form-type-checkbox input[type="checkbox"],
.section-feedback .js-form-type-checkbox input[type="checkbox"] {
    order: 1;
    flex: 0 0 auto;
    margin-top: 2px;
}

.section-feedback .form-type-checkbox .description,
.section-feedback .js-form-type-checkbox .description {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    white-space: normal;
}

.section-feedback .form-type-checkbox .form-item--error-message,
.section-feedback .form-type-checkbox strong.error,
.section-feedback .form-type-checkbox strong.error.form-item--error-message,
.section-feedback .js-form-type-checkbox .form-item--error-message,
.section-feedback .js-form-type-checkbox strong.error,
.section-feedback .js-form-type-checkbox strong.error.form-item--error-message {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
}

.section-feedback .form-type-checkbox .description p,
.section-feedback .js-form-type-checkbox .description p {
    display: inline;
    margin: 0;
}

.section-feedback .form-type-checkbox label a,
.section-feedback .js-form-type-checkbox label a,
.section-feedback .form-type-checkbox .description a {
    color: inherit;
    text-decoration: underline;
}

.section-feedback .form-type-checkbox label a:hover,
.section-feedback .js-form-type-checkbox label a:hover,
.section-feedback .form-type-checkbox .description a:hover {
    color: #333;
}

.section-feedback .form-type-checkbox input[type="checkbox"],
.section-feedback .js-form-type-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    margin: 3px 0 0;
    flex-shrink: 0;
    position: relative;
}

.section-feedback .form-type-checkbox input[type="checkbox"]:checked,
.section-feedback .js-form-type-checkbox input[type="checkbox"]:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.section-feedback .form-type-checkbox input[type="checkbox"]:checked::after,
.section-feedback .js-form-type-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.section-feedback .form-required-notice,
.section-feedback .description {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-light);
    margin-top: 12px;
}

/* Преимущества */
.section-benefits {
    background: #7BB6DA;
    padding: 60px 0;
}

.section-benefits .view-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
}

/* Преимущества: порядок карточек */
.section-benefits .view-content > .views-row:nth-child(1) {
    order: 4;
}

.section-benefits .view-content > .views-row:nth-child(2) {
    order: 3;
}

.section-benefits .view-content > .views-row:nth-child(3) {
    order: 2;
}

.section-benefits .view-content > .views-row:nth-child(4) {
    order: 1;
}

/* Преимущества: карточка */
.section-benefits .views-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    padding: 0;
    width: 270px;
    max-width: 100%;
    min-height: 0;
    flex: 0 1 auto;
    text-align: center;
    box-sizing: border-box;
}

/* Верхний блок — иконка */
.section-benefits .views-row .views-field-field-icon {
    order: 1;
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 42px;
    min-height: 50px;
    margin: 0 0 8px;
    padding: 0;
}

.section-benefits .views-row .views-field-field-icon .field--type-image,
.section-benefits .views-row .views-field-field-icon .field--name-field-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    margin: 0;
}

.section-benefits .views-row .views-field-field-icon .field--type-image img,
.section-benefits .views-row .views-field-field-icon .field--name-field-icon img,
.section-benefits .views-row .views-field-field-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.section-benefits .views-row .field--type-image img,
.section-benefits .views-row .field--name-field-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Верхний блок — заголовок */
.section-benefits .views-row .views-field-title,
.section-benefits .views-row .views-field-field-title,
.section-benefits .views-row .views-field-node-title {
    order: 2;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: 270px;
    margin: 0 0 8px;
    padding: 0;
    box-sizing: border-box;
}

/* Преимущества: описание */
.section-benefits .views-row .views-field-body,
.section-benefits .views-row .views-field.views-field-body,
.section-benefits .views-row .views-field:has(.field--name-body) {
    order: 3;
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: 270px;
    margin: 0;
    margin-top: auto;
    padding: 0;
    box-sizing: border-box;
}

.section-benefits .views-row h2,
.section-benefits .views-row h3,
.section-benefits .views-row .node__title,
.section-benefits .views-row .field--name-title,
.section-benefits .views-row .views-field-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 24px;
    line-height: 140%;
    color: var(--color-white);
    text-align: center;
    margin: 0;
}

.section-benefits .views-row h2 a,
.section-benefits .views-row h3 a,
.section-benefits .views-row .node__title a,
.section-benefits .views-row .views-field-title a,
.section-benefits .views-row a {
    color: var(--color-white);
    text-decoration: none;
}

.section-benefits .views-row .field--name-body,
.section-benefits .views-row .views-field-body {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 180%;
    text-align: center;
    color: #EBF7FE;
    opacity: 0.75;
}

.section-benefits .views-row .field--name-body p,
.section-benefits .views-row .views-field-body p {
    margin: 0;
}

.section-benefits .view > h2,
.section-benefits .view-header,
.section-benefits .block-title {
    display: none;
}

.section-benefits .views-row .views-field .field-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    width: 100%;
    text-align: center;
    justify-content: flex-start;
}

/* Галерея: отступ от формы */
.section-feedback:has(+ .section-gallery) {
    padding-bottom: 0;
}
.section-feedback + .section-gallery {
    padding-top: 106px;
}

/* Галерея */
.section-gallery {
    padding: 80px 0 0;
}

.section-gallery > .container {
    margin-bottom: 40px;
}

.section-gallery .view > h2,
.section-gallery .block > h2,
.section-gallery .block-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-section-title);
    margin: 0 0 10px;
}

.section-gallery .view > h2::before,
.section-gallery .block > h2::before,
.section-gallery .block-title::before {
    content: '';
    display: inline-block;
    width: var(--section-bar-width);
    height: 24px;
    background: var(--color-accent-border);
    flex-shrink: 0;
}

.section-gallery .view {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 30px;
}

.section-gallery .view-header,
.section-gallery .attachment-before {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 38px;
    line-height: 135%;
    color: #000;
    margin: 0;
}

.section-gallery .view-header p,
.section-gallery .attachment-before p {
    margin: 0;
}

.section-gallery .view-footer,
.section-gallery .more-link {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
}

.section-gallery .view-footer a,
.section-gallery .more-link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    height: 40px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    transition: background 0.3s, color 0.3s;
}

.section-gallery .view-footer a:hover,
.section-gallery .more-link a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.section-gallery .view-footer a::after,
.section-gallery .more-link a::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%230089DD'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.section-gallery .view-footer a:hover::after,
.section-gallery .more-link a:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.section-gallery .view-content {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    grid-column: 1 / -1;
    grid-row: 2;
}

.section-gallery .views-row {
    overflow: hidden;
    line-height: 0;
}

.section-gallery .views-row .item-list ul {
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    gap: 10px;
}

.section-gallery .views-row .item-list ul li {
    flex: 1 1 0;
    overflow: hidden;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.section-gallery .views-row .item-list ul li::before {
    display: none;
}

.section-gallery .views-row img {
    width: 100%;
    height: 546px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.section-gallery .views-row img:hover {
    transform: scale(1.05);
}

/* Фотогалерея: страница */
.gallery-page {
    padding: 50px 0 80px;
}

.gallery-page h1 {
    margin-top: 0;
    margin-bottom: 40px;
}

.gallery-page .view-footer,
.gallery-page .more-link,
.view-fotogalereya .view-footer,
.view-fotogalereya .more-link {
    display: none;
}

.photogallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 48px;
}

.photogallery-grid .views-row img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photogallery-grid .views-row img:hover {
    transform: scale(1.05);
}

.gallery-page .view-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-page .views-row {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s, transform 0.3s;
}

.gallery-page .views-row:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.gallery-page .views-row a {
    text-decoration: none;
    color: inherit;
}

.gallery-page .views-row img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-page .views-row img:hover {
    transform: scale(1.05);
}

.gallery-page .views-row .views-field-title,
.gallery-page .views-row .views-field-name,
.gallery-page .views-row h3 {
    padding: 16px 20px;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    line-height: 140%;
    color: var(--color-heading);
}

.gallery-page .views-row .views-field-title a,
.gallery-page .views-row .views-field-name a,
.gallery-page .views-row h3 a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.3s;
}

.gallery-page .views-row .views-field-title a:hover,
.gallery-page .views-row .views-field-name a:hover,
.gallery-page .views-row h3 a:hover {
    color: var(--color-accent);
}

.gallery-page .views-row .views-field-created,
.gallery-page .views-row .views-field-changed {
    padding: 0 20px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-gray-light);
}

/* Тизер альбома: отступ под фото */
.node--type-photogallery.node--view-mode-teaser .photogallery-teaser__media {
    margin-bottom: 20px;
}

/* Портфолио: тизер карточки */
.page-portfolio .node--type-photogallery.node--view-mode-teaser.ds-1col,
.path-portfolio .node--type-photogallery.node--view-mode-teaser.ds-1col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}
.page-portfolio .node--type-photogallery.node--view-mode-teaser .views-field-title,
.path-portfolio .node--type-photogallery.node--view-mode-teaser .views-field-title {
    margin-top: 0;
    margin-bottom: 0;
}
.page-portfolio .node--type-photogallery.node--view-mode-teaser .node-readmore,
.path-portfolio .node--type-photogallery.node--view-mode-teaser .node-readmore {
    margin-top: 12px;
}
.page-portfolio .node--type-photogallery.node--view-mode-teaser .field--name-node-link,
.path-portfolio .node--type-photogallery.node--view-mode-teaser .field--name-node-link {
    margin-top: 12px;
}

/* Портфолио: зазор превью и названия */
.page-portfolio .node--type-photogallery.node--view-mode-teaser .photogallery-teaser__media,
.path-portfolio .node--type-photogallery.node--view-mode-teaser .photogallery-teaser__media,
body.path-portfolio .node--type-photogallery.node--view-mode-teaser .photogallery-teaser__media {
    margin-bottom: 28px;
}

/* Вьюха без DS: поля соседями во views-row */
.page-portfolio .views-row > .views-field-field-gallery + .views-field-title,
.path-portfolio .views-row > .views-field-field-gallery + .views-field-title,
body.path-portfolio .views-row > .views-field-field-gallery + .views-field-title {
    margin-top: 28px;
}

.page-portfolio .views-row > .views-field-field-gallery,
.path-portfolio .views-row > .views-field-field-gallery,
body.path-portfolio .views-row > .views-field-field-gallery {
    margin-bottom: 28px;
}

/* Портфолио: заголовок альбома (DS) — 360–574px */
@media screen and (min-width: 360px) and (max-width: 574px) {
    .page-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item,
    .path-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item,
    body.path-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item,
    .page-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item :is(h1, h2, a),
    .path-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item :is(h1, h2, a),
    body.path-portfolio .node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item :is(h1, h2, a) {
        font-size: 14px;
    }
}

/* Фотогалерея: сетка альбома */
.node--type-photogallery.node--view-mode-full .field--name-field-gallery .field__items,
.node--type-photogallery.node--view-mode-full .field--name-field-galereya .field__items,
.node--type-photogallery.node--view-mode-full .field--name-field-gallery.field__items,
.node--type-photogallery.node--view-mode-full .field--name-field-galereya.field__items,
.node--type-photogallery.node--view-mode-full .field--name-field-gallery .item-list ul,
.node--type-photogallery.node--view-mode-full .field--name-field-galereya .item-list ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.node--type-photogallery.node--view-mode-full .field--name-field-gallery img,
.node--type-photogallery.node--view-mode-full .field--name-field-galereya img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
    border-radius: 8px;
}

.gallery-page .views-row .node__content,
.gallery-page .views-row .node-readmore {
    padding: 0 20px 20px;
    margin-top: 12px;
}

.gallery-page .views-row .node-readmore a,
.gallery-page .views-row .node__links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    height: 40px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.gallery-page .views-row .node-readmore a:hover,
.gallery-page .views-row .node__links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Фотогалерея: заголовок альбома */
.node--type-photogallery.node--view-mode-teaser .field--name-node-title h2,
.node--type-photogallery.node--view-mode-teaser .node__title,
.node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item,
.node--type-photogallery.node--view-mode-teaser .field.field--name-node-title.field--type-ds.field--label-hidden.field__item :is(h1, h2),
.node--type-photogallery.node--view-mode-teaser .views-field-title,
.node--type-photogallery.node--view-mode-teaser .views-field-title a {
    font-size: 18px;
    line-height: 1.35;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-heading);
}

.node--type-photogallery.node--view-mode-teaser .views-field-title a {
    text-decoration: none;
}

.node--type-photogallery.node--view-mode-teaser .views-field-title a:hover {
    color: var(--color-accent);
}

/* Фотогалерея: teaser */
.node--type-photogallery.node--view-mode-teaser .field--name-node-link {
    margin-top: 16px;
    padding: 0 0px 0px;
}

.node--type-photogallery.node--view-mode-teaser .field--name-node-link a.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    height: 40px;
    padding: 0 24px;
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 0;
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.node--type-photogallery.node--view-mode-teaser .field--name-node-link a.btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}


/* Каталог */
/* Каталог: отступ от услуг */
.section-services + .wrapper_catalog {
    padding-top: 20px;
}
.wrapper_catalog {
    position: relative;
    padding: 80px 0 60px;
    overflow: hidden;
}

.catalog-decor {
    position: absolute;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.catalog-decor--wind {
    right: 40px;
    top: 100px;
    width: 111px;
    height: 63px;
}

.wrapper_catalog .block-block-content {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.wrapper_catalog .block-block-content > h2,
.wrapper_catalog .block-block-content > .block-title {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-section-title);
    margin: 0 0 20px;
    border: none;
    padding: 0;
}

.wrapper_catalog .block-block-content > h2::before,
.wrapper_catalog .block-block-content > .block-title::before {
    content: '';
    display: inline-block;
    width: var(--section-bar-width);
    height: 24px;
    background: var(--color-accent-border);
    flex-shrink: 0;
}

.wrapper_catalog .block-block-content .field--name-body,
.wrapper_catalog .block-block-content .field__item {
    max-width: 750px;
    margin: 0 auto;
}

.wrapper_catalog .block-block-content .field--name-body p {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    color: var(--color-gray);
    margin: 0;
}

.wrapper_catalog .block-block-content .field--name-body p span:first-child {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 38px;
    line-height: 135%;
    color: #000;
    margin-bottom: 10px;
}

.wrapper_catalog .view {
    margin-bottom: 60px;
}

.wrapper_catalog .view:last-child {
    margin-bottom: 0;
}

.wrapper_catalog .view > h2,
.wrapper_catalog .view-header h2,
.wrapper_catalog .view > .view-header,
.wrapper_catalog .block-views > h2,
.wrapper_catalog .block-views > .block-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: #000000;
    text-transform: uppercase;
    padding-left: 18px;
    border-left: 9px solid var(--color-accent-border);
    margin: 0 0 30px;
    text-align: left;
}

.wrapper_catalog .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wrapper_catalog .views-row {
    background: var(--color-white);
    display: flex;
    flex-wrap: wrap;
}

/* Прямые потомки .views-row: полная ширина, кроме кнопок и превью */
.wrapper_catalog .views-row > div:not(.views-field-view-commerce-product):not([class*="views-field"][class*="nothing"]):not([class*="views-field-field"][class*="image"]):not([class*="views-field-field"][class*="product-view"]) {
    width: 100%;
    box-sizing: border-box;
}

.wrapper_catalog .views-row > .views-field-view-commerce-product,
.wrapper_catalog .views-row > [class*="views-field"][class*="nothing"] {
    width: auto;
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}

.wrapper_catalog .views-row .views-field-nothing,
.wrapper_catalog .views-row .views-field-view-commerce-product,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] {
    width: auto;
}

.wrapper_catalog .views-row .field--type-image,
.wrapper_catalog .views-row .field--name-field-image {
    text-align: left;
    margin-bottom: 21px;
    margin-left: 30px;
    box-sizing: border-box;
}

.wrapper_catalog .views-row .field--type-image img,
.wrapper_catalog .views-row .field--name-field-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.wrapper_catalog .views-row h2,
.wrapper_catalog .views-row h3,
.wrapper_catalog .views-row .node__title,
.wrapper_catalog .views-row .field--name-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-heading);
    text-transform: uppercase;
    margin: 0 0 12px;
    border: none;
    padding: 0;
}

.wrapper_catalog .views-row h2 a,
.wrapper_catalog .views-row h3 a,
.wrapper_catalog .views-row .node__title a,
.wrapper_catalog .views-row .views-field-title a {
    color: var(--color-heading);
    text-decoration: none;
}

/* Ссылка на товар: .catalog-card-link (Views) */
.wrapper_catalog .views-row a.catalog-card-link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.wrapper_catalog .views-row a.catalog-card-link:hover {
    color: var(--color-accent);
}

.wrapper_catalog .views-row [class*="views-field-field-image-product"] a.catalog-card-link,
.wrapper_catalog .views-row [class*="views-field-field-field-image-product"] a.catalog-card-link {
    display: block;
    line-height: 0;
}

.wrapper_catalog .views-row [class*="views-field-field-image-product"] a.catalog-card-link img,
.wrapper_catalog .views-row [class*="views-field-field-field-image-product"] a.catalog-card-link img {
    display: block;
    width: 100%;
    height: auto;
}

/* Главная, каталог: превью, margin-left 30px */
.wrapper_catalog--home .views-row .views-field-field-image,
.wrapper_catalog--home .views-row .views-field-field-catalog-image,
.wrapper_catalog--home .views-row .views-field-catalog-image,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="catalog-image"],
.wrapper_catalog--home .views-row [class*="views-field"][class*="catalog-image"]:not([class*="nothing"]),
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="image-product"],
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="product-view"] {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    margin-left: 30px;
    margin-right: auto;
    box-sizing: border-box;
}

.wrapper_catalog--home .views-row .views-field-field-image img,
.wrapper_catalog--home .views-row .views-field-field-catalog-image img,
.wrapper_catalog--home .views-row .views-field-catalog-image img,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="catalog-image"] img,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="image-product"] img,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="product-view"] img,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="image"] a img {
    transition: transform 0.3s ease;
    transform-origin: center center;
}

/* Hover: только img превью */
.wrapper_catalog--home .views-row .views-field-field-image img:hover,
.wrapper_catalog--home .views-row .views-field-field-catalog-image img:hover,
.wrapper_catalog--home .views-row .views-field-catalog-image img:hover,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="catalog-image"] img:hover,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="image-product"] img:hover,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="product-view"] img:hover,
.wrapper_catalog--home .views-row [class*="views-field-field"][class*="image"] a img:hover {
    transform: scale(1.05);
}

.wrapper_catalog .views-row .field--name-body,
.wrapper_catalog .views-row .field--name-field-harakteristiki {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.wrapper_catalog .views-row .field--name-body ul,
.wrapper_catalog .views-row .field--name-field-harakteristiki ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper_catalog .views-row .field--name-body ul li,
.wrapper_catalog .views-row .field--name-field-harakteristiki ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 2px;
}

.wrapper_catalog .views-row .field--name-body ul li::before,
.wrapper_catalog .views-row .field--name-field-harakteristiki ul li::before,
.wrapper_catalog .views-row .views-field-field-harakteristiki ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0)'%3E%3Ccircle cx='4' cy='4' r='4' fill='white'/%3E%3Cpath d='M4 0C1.8 0 0 1.8 0 4C0 6.2 1.8 8 4 8C6.2 8 8 6.2 8 4C8 1.8 6.2 0 4 0ZM6.23333 3.06667L3.8 5.8C3.7 5.9 3.56667 5.96667 3.43333 5.96667C3.3 5.96667 3.16667 5.9 3.06667 5.83333L1.8 4.56667C1.6 4.36667 1.6 4.06667 1.8 3.86667C2 3.66667 2.3 3.66667 2.5 3.83333L3.4 4.73333L5.5 2.36667C5.66667 2.2 5.96667 2.16667 6.2 2.33333C6.4 2.53333 6.4 2.83333 6.23333 3.06667Z' fill='%2395C5E1'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0'%3E%3Crect width='8' height='8' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E") no-repeat center / contain;
    border-radius: 0;
}

.wrapper_catalog .views-row .field--name-field-gabarity {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin-bottom: 12px;
}

.wrapper_catalog .views-row .field--name-field-gabarity .field__label {
    display: inline;
    font-weight: 400;
    font-size: 14px;
    color: var(--color-gray);
}

.wrapper_catalog .views-row .field--name-field-gabarity .field__item {
    display: inline;
}

.wrapper_catalog .views-row .field--name-field-cena,
.wrapper_catalog .views-row .field--name-price,
.wrapper_catalog .views-row .product--variation-field--variation-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-price);
    margin-bottom: 16px;
    margin-top: auto;
    padding-top: 8px;
}

.wrapper_catalog .views-row .views-field-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-heading);
    text-transform: uppercase;
    margin: 0 0 12px;
}

.wrapper_catalog .views-row .views-field-title a {
    color: inherit;
    text-decoration: none;
}

/* Каталог: превью, margin-left 30px */
.wrapper_catalog .views-row [class*="views-field-field"][class*="image"],
.wrapper_catalog .views-row [class*="views-field-field"][class*="product-view"] {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 21px;
    width: fit-content;
    max-width: 100%;
    margin-left: 30px;
    margin-right: auto;
    box-sizing: border-box;
}

.wrapper_catalog .views-row [class*="views-field-field"][class*="image"] .field-content,
.wrapper_catalog .views-row [class*="views-field-field"][class*="product-view"] .field-content {
    display: block;
    width: auto;
    max-width: min(320px, 100%);
    min-height: 0;
    text-align: left;
    box-sizing: border-box;
}

.wrapper_catalog .views-row [class*="views-field-field"][class*="image"] .field-content .field__item,
.wrapper_catalog .views-row [class*="views-field-field"][class*="product-view"] .field-content .field__item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    max-width: 100%;
}

.wrapper_catalog .views-row [class*="views-field-field"][class*="image"] .field-content a,
.wrapper_catalog .views-row [class*="views-field-field"][class*="product-view"] .field-content a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: auto;
    max-width: 100%;
}

.wrapper_catalog .views-row [class*="views-field-field"][class*="image"] img,
.wrapper_catalog .views-row [class*="views-field-field"][class*="product-view"] img {
    width: auto;
    max-width: 100%;
    max-height: 210px;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0;
}

.wrapper_catalog .views-row [class*="views-field"][class*="price"] {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-price);
    margin-top: auto;
    padding-top: 8px;
    margin-bottom: 16px;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin-bottom: 8px;
    text-align: left;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki .field-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki .field__item {
    position: relative;
    padding-left: 18px;
    margin-bottom: 2px;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki .field__item::before,
.wrapper_catalog .views-row .views-field-field-harakteristiki ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='5' fill='white'/%3E%3Cpath d='M5 0C2.25 0 0 2.25 0 5C0 7.75 2.25 10 5 10C7.75 10 10 7.75 10 5C10 2.25 7.75 0 5 0ZM7.79 3.83L4.75 7.25C4.62 7.37 4.46 7.46 4.29 7.46C4.12 7.46 3.96 7.37 3.83 7.29L2.25 5.71C2 5.46 2 5.08 2.25 4.83C2.5 4.58 2.87 4.58 3.12 4.79L4.25 5.92L6.88 2.96C7.08 2.75 7.46 2.71 7.75 2.92C7.96 3.17 7.96 3.54 7.79 3.83Z' fill='%2395C5E1'/%3E%3C/svg%3E") no-repeat center / contain;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wrapper_catalog .views-row .views-field-field-harakteristiki ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 2px;
}

.wrapper_catalog .views-row .views-field-field-gabarity {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin-bottom: 12px;
    text-align: left;
}

.wrapper_catalog .views-row .views-field-field-gabarity .views-label {
    display: inline;
    font-weight: 400;
    color: var(--color-gray);
    margin-right: 4px;
}

.wrapper_catalog .views-row .views-field-field-gabarity .field-content {
    display: inline;
}

.wrapper_catalog .views-row .views-field-nothing,
.wrapper_catalog .views-row .views-field-view-commerce-product,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] {
    display: inline-flex;
    margin-top: 12px;
}

.wrapper_catalog .views-row .views-field-nothing + .views-field-view-commerce-product,
.wrapper_catalog .views-row .views-field-view-commerce-product + .views-field-nothing,
.wrapper_catalog .views-row > [class*="views-field"][class*="nothing"] + .views-field-view-commerce-product,
.wrapper_catalog .views-row > .views-field-view-commerce-product + [class*="views-field"][class*="nothing"] {
    margin-left: 10px;
}

/* Каталог: ряд кнопок (Views) */
.wrapper_catalog .views-row .views-field-view-commerce-product {
    max-width: 100%;
    min-width: 0;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    padding: 0;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-height: 43px;
    height: auto;
    box-sizing: border-box;
    flex: none;
    flex-grow: 0;
    min-width: 0;
}

/* Ссылки часто внутри .field__items или div */
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content .field__items {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content > div:not(.field__items) {
    display: contents;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content .field__items > div {
    display: contents;
}

/* Купить: #7BB6DA, поля Views */
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"],
.wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy,
.wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax,
.wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart,
.wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"],
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    gap: 10px;
    width: 139px;
    max-width: 139px;
    height: 43px;
    flex: none;
    flex-grow: 0;
    flex-shrink: 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    cursor: pointer;
    opacity: 1;
    box-shadow: none;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0 !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"]:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"]:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"]:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

/* «Узнать больше» */
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
.wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link) {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    width: 157px;
    max-width: 157px;
    height: 43px;
    flex: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    cursor: pointer;
    background: transparent !important;
    color: #0089DD !important;
    border: 1px solid #0089DD !important;
    box-shadow: none !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link):hover,
.wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link):hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link):hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-white) !important;
}

/* Каталог <1400px: кнопки в ряд */
@media screen and (max-width: 1399px) {
    .wrapper_catalog .views-row > .views-field-nothing,
    .wrapper_catalog .views-row > [class*="views-field"][class*="nothing"] {
        flex: 1 1 40%;
        min-width: 0;
        max-width: 44%;
    }

    .wrapper_catalog .views-row > .views-field-view-commerce-product {
        min-width: 0;
        max-width: 58%;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
        width: 100%;
        max-width: 139px;
        box-sizing: border-box;
        padding: 10px min(40px, 3vw);
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content .button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit {
        width: 100%;
        max-width: 139px;
        box-sizing: border-box;
        padding: 10px min(40px, 3vw);
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link) {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: auto;
        min-height: 43px;
        padding: 8px 12px;
        gap: 0;
        white-space: nowrap;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 991px) {
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link) {
        width: 100%;
        padding: 8px 10px;
        font-size: 14px;
        height: 38px;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
        width: 100%;
        font-size: 14px;
        height: 38px;
    }
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content .button--add-to-cart,
.wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
.wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit,
.wrapper_catalog .views-row .views-field-nothing .field-content input[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row .views-field-nothing .field-content button[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row .views-field-nothing .field-content .button--add-to-cart,
.wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
.wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content input[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content button[type="submit"].button--add-to-cart,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content .button--add-to-cart,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit {
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 139px;
    max-width: 139px;
    min-height: 43px;
    height: 43px;
    padding: 10px 40px;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.25px;
    text-align: center;
    cursor: pointer;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    opacity: 1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .views-row .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .field-content .button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit:hover,
.wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content input[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content button[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-nothing .field-content .button--add-to-cart:hover,
.wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit:hover,
.wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content input[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content button[type="submit"].button--add-to-cart:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content .button--add-to-cart:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit:hover,
.wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

/* Каталог 768–991px: обе кнопки одной высоты */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        box-sizing: border-box;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content .button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row .views-field-nothing .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content .button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content .button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit {
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        box-sizing: border-box;
        padding: 0 12px;
        line-height: 1.2;
    }
}

/* Каталог ≤767px: две кнопки одинаковой ширины и высоты */
@media screen and (max-width: 767px) {
    .wrapper_catalog .views-row > .views-field-view-commerce-product,
    .wrapper_catalog .views-row > .views-field-nothing,
    .wrapper_catalog .views-row > [class*="views-field"][class*="nothing"] {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 5px);
        min-width: 0;
    }

    /* Каталог: специфичность block-views */
    .wrapper_catalog--page .block-views .views-row > .views-field-view-commerce-product,
    .wrapper_catalog--page .block-views .views-row > .views-field-nothing,
    .wrapper_catalog--page .block-views .views-row > [class*="views-field"][class*="nothing"] {
        flex: 1 1 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        min-width: 0 !important;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content,
    .wrapper_catalog .views-row .views-field-nothing .field-content,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row .views-field-nothing .field-content a.btn-buy,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.use-ajax,
    .wrapper_catalog .views-row .views-field-nothing .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content a[href*="/form/callback"],
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        box-sizing: border-box;
        padding: 0 6px;
        font-size: 12px;
        line-height: 1.15;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content .button--add-to-cart,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row .views-field-nothing .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .field-content .button--add-to-cart,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content input[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content button[type="submit"].button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .field-content .button--add-to-cart,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    .wrapper_catalog .views-row [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        box-sizing: border-box;
        padding: 0 6px;
        font-size: 12px;
        line-height: 1.15;
    }
}

/* Каталог ≤574px: кнопки столбиком */
@media screen and (max-width: 574px) {
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-view-commerce-product,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-nothing,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > [class*="views-field"][class*="nothing"] {
        flex: 1 1 100% !important;
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        align-self: stretch !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-nothing + .views-field-view-commerce-product,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-view-commerce-product + .views-field-nothing,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > [class*="views-field"][class*="nothing"] + .views-field-view-commerce-product,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-view-commerce-product + [class*="views-field"][class*="nothing"] {
        margin-left: 0 !important;
        margin-top: 5px !important;
    }

    /* Каталог: отступы между парами кнопок */
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-nothing:has(+ .views-field-view-commerce-product),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-view-commerce-product:has(+ .views-field-nothing),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > [class*="views-field"][class*="nothing"]:has(+ .views-field-view-commerce-product),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-view-commerce-product:has(+ [class*="views-field"][class*="nothing"]) {
        margin-top: 8px !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .commerce-order-item-add-to-cart-form,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .commerce-order-item-add-to-cart-form,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form {
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
    }

    /* Сброс display для вложенных div (не ряд ссылок в .views-row) */
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content > div:not(.field__items),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content .field__items > div {
        display: block !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content .field__items {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content a.btn-buy,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content a.use-ajax,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content a.button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content a[href*="/form/callback"],
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content a.btn-buy,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content a.use-ajax,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content a.button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content a[href*="/form/callback"],
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content a.btn-buy,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content a.use-ajax,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content a.button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content a[href*="/form/callback"] {
        width: 100% !important;
        max-width: 160px !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        height: calc(44px * 0.9 * 0.9) !important;
        min-height: calc(44px * 0.9 * 0.9) !important;
        max-height: calc(44px * 0.9 * 0.9) !important;
        box-sizing: border-box !important;
        padding: 0 8px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content input[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content button[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content .button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .commerce-order-item-add-to-cart-form button.form-submit,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content input[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content button[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .field-content .button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-nothing .commerce-order-item-add-to-cart-form button.form-submit,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content input[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content button[type="submit"].button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .field-content .button--add-to-cart,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) [class*="views-field"][class*="nothing"] .commerce-order-item-add-to-cart-form button.form-submit {
        width: 100% !important;
        max-width: 160px !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        height: calc(44px * 0.9 * 0.9) !important;
        min-height: calc(44px * 0.9 * 0.9) !important;
        max-height: calc(44px * 0.9 * 0.9) !important;
        box-sizing: border-box !important;
        padding: 0 8px !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    /* Название и цена: text-align left */
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--name-title,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser h2,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser h3,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .commerce-product__title,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--name-field-cena,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--name-price,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .product--variation-field--variation-price,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--type-commerce-price {
        text-align: left !important;
    }

    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--name-title .field__item,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--name-price .field__item,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .product-teaser .field--type-commerce-price .field__item {
        text-align: left !important;
    }

    /* Отдельные поля Views: заголовок и цена */
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-title,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > .views-field-title .field-content,
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > [class*="views-field"][class*="price"],
    :is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) > [class*="views-field"][class*="price"] .field-content {
        text-align: left !important;
    }
}

.wrapper_catalog .views-row .catalog-buttons,
.wrapper_catalog .views-row .node__links,
.wrapper_catalog .views-row .links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.wrapper_catalog .views-row .catalog-buttons a,
.wrapper_catalog .views-row .node__links a,
.wrapper_catalog .views-row .links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 43px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    border: 1px solid var(--color-accent-light);
    transition: background 0.3s, color 0.3s;
}

.wrapper_catalog .views-row .btn-more,
.wrapper_catalog .views-row .catalog-buttons a:first-child,
.wrapper_catalog .views-row .node__links li:first-child a {
    width: 225px;
    height: 40px;
    background: transparent;
    color: #0089DD;
    border: 1px solid #0089DD;
    font-family: var(--font-heading);
}

.wrapper_catalog .views-row .btn-more:hover,
.wrapper_catalog .views-row .catalog-buttons a:first-child:hover,
.wrapper_catalog .views-row .node__links li:first-child a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Каталог: .btn-buy, отдельные селекторы */
.wrapper_catalog .views-row .catalog-buttons .btn-buy,
.wrapper_catalog .views-row .node__links .btn-buy,
.wrapper_catalog .views-row .links .btn-buy,
.wrapper_catalog .views-row .catalog-buttons a:last-child,
.wrapper_catalog .views-row .node__links li:last-child a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    gap: 10px;
    width: 139px;
    max-width: 100%;
    height: 43px;
    background: #7BB6DA;
    color: #FFFFFF;
    border-color: #7BB6DA;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.25px;
    margin-left: -3px;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 0 !important;
}

.wrapper_catalog .views-row .catalog-buttons .btn-buy:hover,
.wrapper_catalog .views-row .node__links .btn-buy:hover,
.wrapper_catalog .views-row .links .btn-buy:hover,
.wrapper_catalog .views-row .catalog-buttons a:last-child:hover,
.wrapper_catalog .views-row .node__links li:last-child a:hover {
    background: var(--color-accent-light-hover);
    border-color: var(--color-accent-light-hover);
}

/* Тизер товара в каталоге */
.wrapper_catalog .views-row .product-teaser.flex,
.wrapper_catalog .views-row .product-teaser {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wrapper_catalog .views-row .product-teaser__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Тизер: ссылка на товар с картинки и заголовка */
.product-teaser .product-teaser__card-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Тизер: блок фото, margin-left 30px */
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__media {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    align-self: flex-start;
    margin-left: 30px;
    box-sizing: border-box;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__cover-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__media .field--name-field-metki-tovara {
    position: relative;
    z-index: 3;
    pointer-events: none;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__media .field--name-field-metki-tovara a {
    pointer-events: auto;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__media img {
    width: auto;
    max-width: min(320px, 100%);
    height: auto;
    max-height: 220px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__media:hover img {
    transform: scale(1.05);
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__card-link--title {
    display: block;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__card-link--title:hover,
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__card-link--title:focus-visible,
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__card-link--title:hover :where(.field--name-title, h2, h3, .field__item),
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__card-link--title:focus-visible :where(.field--name-title, h2, h3, .field__item) {
    color: var(--color-accent);
}

/* Заголовок товара в .field-content: не размеры кнопки */
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .views-field-view-commerce-product .field-content .product-teaser__card-link--title {
    width: auto;
    max-width: 100%;
    height: auto;
    min-height: 0;
    min-width: 0;
    flex: 0 1 auto;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* Тизер в каталоге: текст, text-align left */
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .group-up,
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .group-down,
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser-text {
    text-align: left;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .group-up {
    align-items: flex-start;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__price-row {
    text-align: left;
}

:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__price-row .field__item,
:is(.wrapper_catalog .views-row, .wrapper_catalog--page .block-views .views-row) .product-teaser .product-teaser__price-row .field--type-commerce-price {
    text-align: left;
}

.wrapper_catalog .views-row .product-teaser__actions .field {
    margin: 0;
}

.wrapper_catalog .views-row .product-teaser__actions .field--name-body .field__item,
.wrapper_catalog .views-row .product-teaser__actions .field--name-body p {
    margin: 0;
}


.wrapper_catalog .views-row .product-teaser__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 10px;
    width: 100%;
    min-height: 43px;
    margin-top: 12px;
    box-sizing: border-box;
}

.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.wrapper_catalog .views-row .product-teaser__actions a.catalog-teaser__more {
    white-space: nowrap;
}

/* product-teaser__actions: стиль ссылок */
.wrapper_catalog .views-row .product-teaser__actions a {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    width: 157px;
    height: 43px;
    flex: none;
    order: 0;
    flex-grow: 0;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    cursor: pointer;
    background: transparent !important;
    color: #0089DD !important;
    border: 1px solid #0089DD !important;
    border-radius: 0;
    box-shadow: none !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .views-row .product-teaser__actions a:hover {
    background: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: var(--color-white) !important;
}

/* «Купить» */
.wrapper_catalog .views-row .product-teaser__actions a.btn-buy,
.wrapper_catalog .views-row .product-teaser__actions a[href*="/form/callback"] {
    padding: 10px 40px;
    width: 139px;
    order: 1;
    opacity: 1 !important;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0 !important;
}

.wrapper_catalog .views-row .product-teaser__actions a.btn-buy:hover,
.wrapper_catalog .views-row .product-teaser__actions a[href*="/form/callback"]:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

/* DS: колонка «Купить» */
.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a,
.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a.btn-buy,
.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a.use-ajax,
.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a[href*="/form/callback"] {
    padding: 10px 40px;
    width: 139px;
    order: 1;
    opacity: 1 !important;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0 !important;
}

.wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

/* Submit формы корзины */
.wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form input[type="submit"],
.wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form button[type="submit"] {
    box-sizing: border-box;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    width: 139px;
    height: 43px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    text-align: center;
    cursor: pointer;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form input[type="submit"]:hover,
.wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form button[type="submit"]:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

/* Адаптив кнопок */
@media screen and (max-width: 1399px) {
    .wrapper_catalog .views-row .product-teaser__actions a {
        width: calc(51.3% - 5px);
        max-width: 157px;
        padding: 10px min(16px, 2vw);
    }

    .wrapper_catalog .views-row .product-teaser__actions a.btn-buy,
    .wrapper_catalog .views-row .product-teaser__actions a[href*="/form/callback"],
    .wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a,
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form input[type="submit"],
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form button[type="submit"] {
        width: calc(45.4% - 5px);
        max-width: 139px;
        padding: 10px min(40px, 3vw);
    }
}

@media screen and (max-width: 991px) {
    .wrapper_catalog .views-row .product-teaser__actions {
        height: auto;
    }

    .wrapper_catalog .views-row .product-teaser__actions a {
        width: calc(55% - 5px);
        padding: 8px 10px;
        font-size: 14px;
        height: 38px;
    }

    .wrapper_catalog .views-row .product-teaser__actions a.btn-buy,
    .wrapper_catalog .views-row .product-teaser__actions a[href*="/form/callback"],
    .wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a,
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form input[type="submit"],
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form button[type="submit"] {
        width: calc(45% - 5px);
        padding: 8px 16px;
        font-size: 14px;
        height: 38px;
    }
}

@media screen and (max-width: 574px) {
    .wrapper_catalog .views-row .product-teaser__actions a {
        width: calc(50% - 5px);
        padding: 6px 8px;
        font-size: 12px;
        height: 32px;
    }

    .wrapper_catalog .views-row .product-teaser__actions a.btn-buy,
    .wrapper_catalog .views-row .product-teaser__actions a[href*="/form/callback"],
    .wrapper_catalog .views-row .product-teaser__actions .catalog-teaser__buy a,
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form input[type="submit"],
    .wrapper_catalog .views-row .product-teaser__actions .commerce-order-item-add-to-cart-form button[type="submit"] {
        width: calc(50% - 5px);
        padding: 6px 10px;
        font-size: 12px;
        height: 32px;
    }
}

body.vesta-catalog-na-glavnuyu .wrapper_catalog .view-content {
    grid-template-columns: repeat(4, 1fr);
}

.wrapper_catalog .block + .block {
    margin-top: 60px;
}

/* Каталог: крошки и следующий блок */
.wrapper_catalog--page .block-system-breadcrumb-block + .block,
.wrapper_catalog--page .block-system-breadcrumb-block + [data-drupal-messages-fallback] + .block,
.wrapper_catalog--listing .block-system-breadcrumb-block + .block,
.wrapper_catalog--listing .block-system-breadcrumb-block + [data-drupal-messages-fallback] + .block,
.prays-page .block-system-breadcrumb-block + .block,
.prays-page .block-system-breadcrumb-block + [data-drupal-messages-fallback] + .block {
    margin-top: 0 !important;
}

/* Каталог: отступы между блоками */
.wrapper_catalog--page .block + .block,
.wrapper_catalog--listing .block + .block {
    margin-top: 24px !important;
}

.wrapper_catalog .view-footer,
.wrapper_catalog .more-link {
    margin-top: 30px;
}

.wrapper_catalog .view-footer a,
.wrapper_catalog .more-link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 247px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wrapper_catalog .view-footer a:hover,
.wrapper_catalog .more-link a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.wrapper_catalog .view-footer a::after,
.wrapper_catalog .more-link a::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%230089DD'/%3E%3C/svg%3E") no-repeat center / contain;
    flex-shrink: 0;
    transform: rotate(-90deg);
}

.wrapper_catalog .view-footer a:hover::after,
.wrapper_catalog .more-link a:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05084 9.70697L11.7578 15.414L17.4648 9.70697L16.0508 8.29297L11.7578 12.586L7.46484 8.29297L6.05084 9.70697Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

.wrapper_catalog .views-row .node__links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.wrapper_catalog .views-row .node__links ul li {
    padding: 0;
    margin: 0;
}

.wrapper_catalog .views-row .node__links ul li::before {
    display: none;
}

/* Каталог: главная */
.wrapper_catalog--page {
    padding: 50px 0 80px;
}

/* Каталог: декор */
.catalog-page-decor {
    position: absolute;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.catalog-page-decor--wind {
    left: 40px;
    right: auto;
    top: 120px;
    width: 111px;
    height: 63px;
}

/* Каталог: декор ≥1400px */
@media screen and (max-width: 1399px) {
    .catalog-page-decor--wind {
        display: none !important;
    }
}

/* Каталог: сетка категорий */
.wrapper_catalog--listing .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wrapper_catalog--listing .views-row {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.3s, transform 0.3s;
}

.wrapper_catalog--listing .views-row:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.wrapper_catalog--listing .views-row .views-field-field-image,
.wrapper_catalog--listing .views-row .views-field-field-catalog-image,
.wrapper_catalog--listing .views-row .views-field-catalog-image,
.wrapper_catalog--listing .views-row [class*="views-field-field"][class*="catalog-image"],
.wrapper_catalog--listing .views-row [class*="views-field"][class*="catalog-image"],
.wrapper_catalog--listing .views-row .field--name-field-image {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    width: fit-content;
    max-width: 100%;
    margin-left: 30px;
    margin-right: auto;
    box-sizing: border-box;
}

.wrapper_catalog--listing .views-row .views-field-field-image .field-content,
.wrapper_catalog--listing .views-row .views-field-field-catalog-image .field-content,
.wrapper_catalog--listing .views-row .views-field-catalog-image .field-content,
.wrapper_catalog--listing .views-row [class*="views-field-field"][class*="catalog-image"] .field-content,
.wrapper_catalog--listing .views-row [class*="views-field"][class*="catalog-image"] .field-content {
    width: auto;
    max-width: min(280px, 100%);
}

.wrapper_catalog--listing .views-row img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.wrapper_catalog--listing .views-row img:hover {
    transform: scale(1.05);
}

.wrapper_catalog--listing .views-row .views-field-name,
.wrapper_catalog--listing .views-row h3,
.wrapper_catalog--listing .views-row .views-field-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
    color: var(--color-heading);
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.wrapper_catalog--listing .views-row .views-field-name .field-content,
.wrapper_catalog--listing .views-row .views-field-title .field-content,
.wrapper_catalog--listing .views-row h3 .field-content {
    text-align: left;
}

.wrapper_catalog--listing .views-row .views-field-name a,
.wrapper_catalog--listing .views-row .views-field-title a,
.wrapper_catalog--listing .views-row h3 a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.3s;
}

.wrapper_catalog--listing .views-row .views-field-name a:hover,
.wrapper_catalog--listing .views-row .views-field-title a:hover,
.wrapper_catalog--listing .views-row h3 a:hover {
    color: var(--color-accent);
}

.wrapper_catalog--listing .views-row .views-field-description,
.wrapper_catalog--listing .views-row .views-field-description__value {
    padding: 12px 16px 0;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 160%;
    color: var(--color-gray);
}

.wrapper_catalog--listing .views-row .views-field-view-commerce-product,
.wrapper_catalog--listing .views-row .views-field-nothing,
.wrapper_catalog--listing .views-row [class*="views-field"][class*="nothing"] {
    display: inline-block;
    vertical-align: top;
    margin-top: 20px;
}

.wrapper_catalog--listing .views-row .views-field-view-commerce-product {
    padding: 0 0 20px;
}

.wrapper_catalog--listing .views-row .views-field-nothing,
.wrapper_catalog--listing .views-row [class*="views-field"][class*="nothing"] {
    padding: 0 16px 20px 10px;
}

/* Каталог: страница категории */
.wrapper_catalog--page .block-system-breadcrumb-block,
.wrapper_catalog--listing .block-system-breadcrumb-block {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0;
}

/* Каталог: крошки и заголовок */
.wrapper_catalog--page .block-system-breadcrumb-block + .block-page-title-block,
.wrapper_catalog--page .block-system-breadcrumb-block + [data-drupal-messages-fallback] + .block-page-title-block {
    margin-top: 0 !important;
}

.wrapper_catalog--page .breadcrumb {
    margin-bottom: 24px !important;
    padding-bottom: 0 !important;
}

.wrapper_catalog--page .block-page-title-block {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 30px;
}

.wrapper_catalog--page .block-page-title-block h1 {
    margin-top: 0;
    margin-bottom: 0;
}

.wrapper_catalog--page .taxonomy-term {
    display: none;
}

.wrapper_catalog--page .block-views .view-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wrapper_catalog--page .block-views > h2,
.wrapper_catalog--page .block-views > .block-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-heading);
    text-transform: uppercase;
    padding-left: 18px;
    border-left: 9px solid var(--color-accent-border);
    margin: 0 0 30px;
    text-align: left;
}

.wrapper_catalog--page .block-views .views-row {
    background: var(--color-white);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
}

.wrapper_catalog--page .block-views .views-row > div:not(.views-field-view-commerce-product):not([class*="views-field"][class*="nothing"]) {
    width: 100%;
    box-sizing: border-box;
}

.wrapper_catalog--page .block-views .views-row > .views-field-view-commerce-product,
.wrapper_catalog--page .block-views .views-row > [class*="views-field"][class*="nothing"] {
    width: auto;
    flex: 0 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Каталог: фон карточек прозрачный */
.wrapper_catalog--page .views-row,
.wrapper_catalog--listing .views-row,
:is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog .views-row {
    background: transparent !important;
}

.wrapper_catalog--listing .views-row {
    box-shadow: none;
}

.wrapper_catalog--listing .views-row:hover {
    box-shadow: none;
    transform: none;
}

/* Страница категории: ряд кнопок commerce, inline-flex */
.wrapper_catalog--page .block-views .views-row .views-field-nothing,
.wrapper_catalog--page .block-views .views-row .views-field-view-commerce-product,
.wrapper_catalog--page .block-views .views-row [class*="views-field"][class*="nothing"] {
    width: auto;
    display: inline-flex;
    margin-top: 12px;
}

.wrapper_catalog--page .block-views .views-row .views-field-nothing + .views-field-view-commerce-product,
.wrapper_catalog--page .block-views .views-row .views-field-view-commerce-product + .views-field-nothing,
.wrapper_catalog--page .block-views .views-row > [class*="views-field"][class*="nothing"] + .views-field-view-commerce-product,
.wrapper_catalog--page .block-views .views-row > .views-field-view-commerce-product + [class*="views-field"][class*="nothing"] {
    margin-left: 10px;
}

.wrapper_catalog--page .view-footer,
.wrapper_catalog--page .more-link {
    display: none;
}

/* Каталог: пагинация */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 50px 0 0;
    padding: 0;
    list-style: none;
}

.pager__item {
    margin: 0;
    padding: 0;
}

.pager__item a,
.pager__item span {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #D9E8F0;
    border-radius: 4px;
    background: var(--color-white);
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    cursor: pointer;
}

.pager__item a:hover {
    background: #EBF7FE;
    border-color: #70C8FD;
    color: var(--color-accent);
}

.pager__item.is-active a,
.pager__item.is-active span,
.pager__item--active a,
.pager__item--active span {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    pointer-events: none;
}

.pager__item--previous a,
.pager__item--next a,
.pager__item--first a,
.pager__item--last a {
    font-size: 0;
    position: relative;
}

.pager__item--previous a::before,
.pager__item--next a::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05 9.707L11.757 15.414L17.464 9.707L16.05 8.293L11.757 12.586L7.464 8.293L6.05 9.707Z' fill='%231E4E6B'/%3E%3C/svg%3E") no-repeat center / contain;
}

.pager__item--previous a::before {
    transform: rotate(90deg);
}

.pager__item--next a::before {
    transform: rotate(-90deg);
}

.pager__item--first a::before,
.pager__item--last a::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05 9.707L11.757 15.414L17.464 9.707L16.05 8.293L11.757 12.586L7.464 8.293L6.05 9.707Z' fill='%231E4E6B'/%3E%3C/svg%3E") no-repeat center / contain;
}

.pager__item--first a::before {
    transform: rotate(90deg);
}

.pager__item--last a::before {
    transform: rotate(-90deg);
}

.pager__item--previous a:hover::before,
.pager__item--next a:hover::before,
.pager__item--first a:hover::before,
.pager__item--last a:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.05 9.707L11.757 15.414L17.464 9.707L16.05 8.293L11.757 12.586L7.464 8.293L6.05 9.707Z' fill='%230089DD'/%3E%3C/svg%3E");
}

.pager__item.is-disabled a,
.pager__item.is-disabled span {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
}

.pager__item--ellipsis span {
    border: none;
    background: transparent;
    color: var(--color-gray-light);
    min-width: auto;
    padding: 0 4px;
}

/* Slick: слайдер */
div#slider-block .view.view-slayder.view-id-slayder .view-content .node--type-slide .content {
    position: absolute;
    top: 0;
    bottom: calc(1vw + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}


ul.slick-dots {
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
    list-style: none;
    margin: 10px 0;
}

ul.slick-dots li button {
    background: #686868;
    border-radius: 50%;
    border: none;
    padding: 0;
    width: 10px;
    font-size: 0;
    height: 10px;
    display: block;
}

ul.slick-dots li button::before {
    display: none;
}

ul.slick-dots li.slick-active button {
    background: #272727;
}


#scrollToTop {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
    width: 42px;
    height: 38px;
    background: transparent;
    border: 1px solid #7DCEFF;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    transition: background 0.3s, border-color 0.3s;
}

#scrollToTop:hover {
    background: rgba(125, 206, 255, 0.1);
    border-color: #5ab8f0;
}

#scrollToTop svg {
    width: 9px;
    height: 16px;
    display: block;
}

@media screen and (max-width: 767px) {
    #scrollToTop {
        left: 10px;
        bottom: 20px;
        width: calc(42px * 0.9);
        height: calc(38px * 0.9);
        padding: calc(8px * 0.9) calc(12px * 0.9);
    }

    #scrollToTop svg {
        width: calc(9px * 0.9);
        height: calc(16px * 0.9);
    }
}

/* Товар */
.product-teaser {
    display: flex;
    gap: 50px;
}
.product-view-full .product-teaser {
    gap: 0;
    column-gap: clamp(24px, 3vw, 42px);
    align-items: flex-start;
}
.product-view-full .product-teaser .product-teaser-info {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(500px, 100%);
}

/* Товар full: заголовок над колонками (типографика — в #main ниже, как у заголовка страницы без полоски) */
.product-view-full .product-view-full__header {
    margin-bottom: 24px;
}

/* Товар full: сетка, колонка фото auto, вторая 1fr */
article.product-view-full .product-full-layout {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: clamp(24px, 3vw, 42px);
    row-gap: 12px;
    align-items: start;
    justify-items: stretch;
    width: 100%;
}
article.product-view-full .product-full-layout .product-teaser-image {
    display: block;
    justify-content: unset;
    flex: unset;
    justify-self: start;
    width: auto;
    max-width: min(320px, 42vw);
    min-width: 0;
    overflow: hidden;
}
article.product-view-full .product-full-layout .product-teaser-info {
    flex: unset;
    max-width: 100%;
}
article.product-view-full .product-full-layout .current-slide .slick-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-teaser:empty,
.product-teaser:has(> :only-child:empty),
.product-teaser:has(.product-teaser-image:empty):has(.product-teaser-info:empty) {
    display: none;
}

.product-teaser .product-teaser-image {
    flex: 0 0 500px;
    max-width: 500px;
}

.product-teaser .current-slide.slick-slider {
    margin: 0 0 10px;
}

.product-teaser .current-slide .slick-slide img {
    width: 500px;
    height: 500px;
    object-fit: cover;
}
.product-view-full .product-teaser .current-slide .slick-slide img {
    width: auto;
    max-width: min(500px, 45vw);
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

.product-teaser .nav-slide .slick-list {
    margin: 0 -5px;
}

.product-teaser .nav-slide .slick-slide {
    margin: 0 5px;
    width: 118px;
    height: 118px;
}

.product-teaser .nav-slide .slick-slide img {
    width: 118px;
    height: 118px;
    object-fit: cover;
}

.product-teaser .product-teaser-info {
    flex: 1;
    min-width: 0;
    max-width: 500px;
}


.product-teaser .product-teaser-info form {
    padding-top: 0;
}

.product-teaser .product-teaser-info h1,
.product-teaser .product-teaser-info .field--name-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 32px;
    line-height: 135%;
    color: var(--color-heading);
    margin-bottom: 24px;
}

.product-teaser .product-teaser-info .field--name-variations form {
    margin-top: 20px;
}

.product-teaser .product-teaser-info .form-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    height: 48px;
    padding: 0 32px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-teaser .product-teaser-info .form-submit:hover {
    background: var(--color-accent-hover);
}

/* Товар full: цена и кнопки, фон как у страницы */
.product-view-full .product-price-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-self: flex-start;
    margin: 0;
    width: 50%;
    max-width: 50%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}
.product-view-full .product-price-actions .product-price-block {
    margin: 0 0 18px;
    text-align: left;
}
.product-view-full .product-price-actions .field_one_click {
    margin: 0;
    width: 100%;
}

.product-view-full .product-price-block .field--name-price,
.product-view-full .product-price-block .product--variation-field--variation-price,
.product-view-full .product-price-block .field--type-commerce-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    line-height: 135%;
    color: var(--color-price);
}

/* Товар full: старая цена */
.product-view-full .product-old-price {
    font-size: 16px;
    color: var(--color-text-light, #888);
    text-decoration: line-through;
    margin-bottom: 4px;
}

/* Товар full: H1 — 24px на широком экране, до 16px при сужении (320–1200px) */
#main article.product-view-full .product-view-full__header h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    font-size: clamp(16px, calc(16px + 8 * ((100vw - 320px) / 880)), 24px);
    line-height: var(--line-height-heading);
    color: var(--color-text);
    margin: 0 0 30px;
    padding-left: 0;
    position: relative;
    text-transform: none;
}

#main article.product-view-full .product-view-full__header h1::before {
    display: none;
    content: none;
}

#main article.product-view-full .product-full-layout__body,
#main article.product-view-full .product-view-full__below {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
}

#main article.product-view-full .product-full-layout__body a,
#main article.product-view-full .product-view-full__below a {
    color: var(--color-accent);
    text-decoration: none;
}

#main article.product-view-full .product-full-layout__body a:hover,
#main article.product-view-full .product-view-full__below a:hover {
    text-decoration: underline;
}

#main article.product-view-full .product-view-full__below .field__label,
#main article.product-view-full .product-view-full__below .field--name-field-harakteristiki .field__label,
#main article.product-view-full .product-view-full__below .field--name-field-princip-raboty .field__label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    line-height: 135%;
    color: var(--color-heading);
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Товар full: характеристики, габариты, списки (как в тизере каталога) */
#main article.product-view-full .product-view-full__specs,
#main article.product-view-full .product-view-full__specs .field--name-field-harakteristiki,
#main article.product-view-full .product-view-full__specs .field--name-field-kratkie-harakteristiki,
#main article.product-view-full .product-view-full__specs .text-formatted {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin-bottom: 8px;
}

#main article.product-view-full .product-view-full__specs .field-content {
    display: flex;
    flex-direction: column;
}

#main article.product-view-full .product-view-full__specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main article.product-view-full .product-view-full__specs ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 2px;
    color: var(--color-gray);
}

#main article.product-view-full .product-view-full__specs ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='5' fill='white'/%3E%3Cpath d='M5 0C2.25 0 0 2.25 0 5C0 7.75 2.25 10 5 10C7.75 10 10 7.75 10 5C10 2.25 7.75 0 5 0ZM7.79 3.83L4.75 7.25C4.62 7.37 4.46 7.46 4.29 7.46C4.12 7.46 3.96 7.37 3.83 7.29L2.25 5.71C2 5.46 2 5.08 2.25 4.83C2.5 4.58 2.87 4.58 3.12 4.79L4.25 5.92L6.88 2.96C7.08 2.75 7.46 2.71 7.75 2.92C7.96 3.17 7.96 3.54 7.79 3.83Z' fill='%2395C5E1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Маркеры: у li и p, не у .field__item-обёртки */
#main article.product-view-full .product-view-full__specs .field__item:has(ul) {
    padding-left: 0;
    margin-bottom: 0;
}

#main article.product-view-full .product-view-full__specs p {
    position: relative;
    padding-left: 18px;
    margin: 0 0 6px;
    color: var(--color-gray);
}

#main article.product-view-full .product-view-full__specs p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='5' cy='5' r='5' fill='white'/%3E%3Cpath d='M5 0C2.25 0 0 2.25 0 5C0 7.75 2.25 10 5 10C7.75 10 10 7.75 10 5C10 2.25 7.75 0 5 0ZM7.79 3.83L4.75 7.25C4.62 7.37 4.46 7.46 4.29 7.46C4.12 7.46 3.96 7.37 3.83 7.29L2.25 5.71C2 5.46 2 5.08 2.25 4.83C2.5 4.58 2.87 4.58 3.12 4.79L4.25 5.92L6.88 2.96C7.08 2.75 7.46 2.71 7.75 2.92C7.96 3.17 7.96 3.54 7.79 3.83Z' fill='%2395C5E1'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Товар full: габариты */
#main article.product-view-full .product-view-full__gabarity-block,
#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity,
#main article.product-view-full .product-view-full__gabarity-block .product-view-full__gabarity-formatted {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
    margin: 0 0 12px;
}

#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity .field__label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-gray);
    margin: 0 0 4px;
}

#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity.field--label-inline .field__label,
#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity.field--label-inline .field__items,
#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity.field--label-inline .field__item {
    display: inline;
    font-weight: 400;
    margin: 0;
}

#main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity .field__item {
    display: block;
    margin: 0;
}

#main article.product-view-full .product-view-full__description-body,
#main article.product-view-full .product-view-full__description-body .text-formatted {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 180%;
    color: var(--color-gray);
}

#main article.product-view-full .product-view-full__specs a,
#main article.product-view-full .product-view-full__description-body a {
    color: var(--color-accent);
    text-decoration: none;
}

#main article.product-view-full .product-view-full__specs a:hover,
#main article.product-view-full .product-view-full__description-body a:hover {
    text-decoration: underline;
}

/* Товар full: ≤573px — описание 12px (заголовок H1 — clamp выше) */
@media screen and (max-width: 573px) {
    #main article.product-view-full .product-view-full__specs,
    #main article.product-view-full .product-view-full__specs .field--name-field-harakteristiki,
    #main article.product-view-full .product-view-full__specs .field--name-field-kratkie-harakteristiki,
    #main article.product-view-full .product-view-full__specs .text-formatted,
    #main article.product-view-full .product-view-full__specs ul li,
    #main article.product-view-full .product-view-full__specs p,
    #main article.product-view-full .product-view-full__description-body,
    #main article.product-view-full .product-view-full__description-body .text-formatted,
    #main article.product-view-full .product-full-layout__body,
    #main article.product-view-full .product-view-full__below,
    #main article.product-view-full .product-view-full__gabarity-block,
    #main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity,
    #main article.product-view-full .product-view-full__gabarity-block .product-view-full__gabarity-formatted,
    #main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity .field__label,
    #main article.product-view-full .product-view-full__gabarity-block .field--name-field-gabarity .field__item {
        font-size: 12px;
        line-height: 160%;
    }
}

/* Товар full: кнопки корзины / Купить (#7BB6DA, 43×139) */
#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form button[type="submit"].form-submit,
#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form .button--add-to-cart {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    gap: 10px;
    width: 139px;
    max-width: 100%;
    min-width: 139px;
    min-height: 43px;
    height: 43px;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0 !important;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
    margin: 0;
    text-decoration: none !important;
    box-shadow: none;
}

#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form input[type="submit"].form-submit:hover,
#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form button[type="submit"].form-submit:hover,
#main article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form .button--add-to-cart:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
}

#main article.product-view-full .product-price-actions .btn-buy-oneclick,
#main article.product-view-full .product-price-actions a.btn-buy {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    gap: 10px;
    width: 139px;
    max-width: 100%;
    min-height: 43px;
    height: 43px;
    flex: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    letter-spacing: 0.25px;
    text-decoration: none !important;
    cursor: pointer;
    opacity: 1;
    box-shadow: none;
    background: #7BB6DA !important;
    color: #FFFFFF !important;
    border: 1px solid #7BB6DA !important;
    border-radius: 0 !important;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
    margin-left: -3px;
}

#main article.product-view-full .product-price-actions .btn-buy-oneclick:hover,
#main article.product-view-full .product-price-actions a.btn-buy:hover {
    background: var(--color-accent-light-hover) !important;
    border-color: var(--color-accent-light-hover) !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

@media screen and (min-width: 992px) {
    #main article.product-view-full .product-price-actions {
        align-items: flex-start;
    }

    #main article.product-view-full .product-price-actions .field_one_click {
        width: auto;
        max-width: none;
        box-sizing: border-box;
    }

    #main article.product-view-full .product-price-actions .btn-buy-oneclick,
    #main article.product-view-full .product-price-actions a.btn-buy {
        width: 139px;
        min-width: 0;
    }
}

/* Страница товара: блок .product-price-block */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    article.product-view-full .product-price-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    article.product-view-full .product-price-block .product-old-price {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        line-height: 1.25;
    }

    article.product-view-full .product-price-block .field__item {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        line-height: 1.25;
    }

    article.product-view-full .product-price-block img,
    article.product-view-full .product-price-block svg {
        flex-shrink: 0;
        align-self: center;
        vertical-align: middle;
    }

    article.product-view-full .product-price-block i,
    article.product-view-full .product-price-block [class*="icon"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        line-height: 1;
    }
}

/* Товар full: ≤991px — сетка auto + minmax(0,1fr) */
@media screen and (max-width: 991px) {
    article.product-view-full .product-full-layout {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        column-gap: clamp(16px, 2.5vw, 32px);
        row-gap: 12px;
        align-items: start;
        width: 100%;
    }

    article.product-view-full .product-teaser-image {
        justify-self: start;
        width: auto;
        max-width: min(280px, 46vw);
        min-width: 0;
    }

    article.product-view-full .product-teaser .current-slide .slick-slide img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    article.product-view-full .product-teaser-info {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    article.product-view-full .product-price-actions {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        align-self: start;
        align-items: flex-start !important;
        padding: clamp(8px, 2vw, 16px) 0 !important;
        box-sizing: border-box;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
    }

    article.product-view-full .product-price-actions .product-price-block {
        text-align: left;
        width: 100%;
        min-width: 0;
        margin-bottom: clamp(8px, 2vw, 16px) !important;
    }

    article.product-view-full .product-old-price {
        text-align: left;
        font-size: clamp(12px, 2.8vw, 16px);
    }

    /* Форма в корзину: ширина по кнопке */
    article.product-view-full .product-price-actions .product-full-layout__add-to-cart {
        width: fit-content;
        max-width: 100%;
    }

    article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form {
        display: inline-block;
        width: auto;
        max-width: 100%;
        vertical-align: top;
    }

    article.product-view-full .product-price-actions .field_one_click {
        width: auto;
        max-width: 100%;
    }

    /* Кнопки: min(139px, 100%) */
    article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form input[type="submit"].form-submit,
    article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form button[type="submit"].form-submit,
    article.product-view-full .product-price-actions .commerce-order-item-add-to-cart-form .button--add-to-cart,
    article.product-view-full .product-price-actions .btn-buy-oneclick,
    article.product-view-full .product-price-actions a.btn-buy {
        width: min(139px, 100%) !important;
        max-width: 100%;
        min-width: 0 !important;
        min-height: 43px;
        height: 43px;
        padding: 10px 40px !important;
        font-size: clamp(13px, 2.8vw, 16px) !important;
        line-height: 1.35 !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }

    article.product-view-full .product-price-block .field__item.field--type-commerce-price,
    article.product-view-full .product-price-block .field--name-price .field__item,
    article.product-view-full .product-price-block [class*="product--variation-field--variation-price"] .field__item,
    article.product-view-full .product-price-block .field__item[class*="product--variation-field--variation-price"],
    article.product-view-full .product-price-block .field__item[class*="variation_price"] {
        font-size: clamp(16px, 4vw, 24px) !important;
        line-height: 1.25 !important;
    }
}

/* Товар full: изображение */
.product-view-full .field--name-field-image-product-view {
    margin-bottom: 40px;
}

/* Товар full: табы */
.product-view-full .horizontal-tabs {
    border: none !important;
    background: transparent !important;
    margin-top: 0 !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid var(--color-border) !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    display: flex !important;
    gap: 30px !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list li.horizontal-tab-button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list li.horizontal-tab-button a {
    display: block !important;
    padding: 10px 0 !important;
    background: transparent !important;
    border: none !important;
    font-family: var(--font-heading) !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    color: var(--color-gray) !important;
    text-decoration: none !important;
    position: relative !important;
    transition: color 0.3s !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list li.horizontal-tab-button a:hover {
    color: var(--color-accent) !important;
    background: transparent !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list li.horizontal-tab-button.selected a {
    color: var(--color-accent) !important;
    background: transparent !important;
}

.product-view-full .horizontal-tabs ul.horizontal-tabs-list li.horizontal-tab-button.selected a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: var(--color-accent) !important;
}

.product-view-full .horizontal-tabs .horizontal-tabs-panes,
.product-view-full .horizontal-tabs [data-horizontal-tabs-panes] {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

.product-view-full .horizontal-tabs .horizontal-tabs-pane,
.product-view-full .horizontal-tabs details {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.product-view-full .horizontal-tabs .horizontal-tabs-pane .details-wrapper,
.product-view-full .horizontal-tabs details .details-wrapper {
    padding: 0 !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: var(--color-text) !important;
}

.product-view-full .horizontal-tabs .horizontal-tabs-pane .field__label,
.product-view-full .horizontal-tabs details .field__label {
    font-weight: 600 !important;
    color: var(--color-heading) !important;
    margin-bottom: 8px !important;
}

.product-view-full button.slick-prev.slick-arrow {
    left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
    right: -25px;
}


.node--view-mode-full .field--name-body img {
    margin: 0 10px;
}

/* Модалки и формы */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(17, 43, 59, 0.15);
    overflow: hidden;
}

.modal-header {
    background: var(--color-primary);
    color: var(--color-white);
    border-bottom: none;
    padding: 24px 32px;
}

.modal-header .modal-title,
.modal-header h5 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 22px;
    line-height: 130%;
    color: var(--color-white);
    text-align: center;
    width: 100%;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 32px;
}

.modal-body .form-item {
    margin-bottom: 20px;
}

.modal-body label,
.modal-body .form-item label {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: var(--color-text);
    margin-bottom: 8px;
    display: block;
}

.modal-body .form-text,
.modal-body .form-email,
.modal-body .form-tel,
.modal-body .form-textarea,
.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="tel"],
.modal-body textarea,
.modal-body select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-input-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 150%;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}

.modal-body .form-text:focus,
.modal-body .form-email:focus,
.modal-body .form-tel:focus,
.modal-body .form-textarea:focus,
.modal-body input[type="text"]:focus,
.modal-body input[type="email"]:focus,
.modal-body input[type="tel"]:focus,
.modal-body textarea:focus,
.modal-body select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(17, 43, 59, 0.1);
}

.modal-body .form-text::placeholder,
.modal-body input::placeholder,
.modal-body textarea::placeholder {
    color: #9BB8C7;
    font-size: 14px;
}

.modal-body textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-body .form-actions,
.modal-body .webform-actions,
.modal .form-actions,
.modal .webform-actions {
    text-align: left;
    margin-top: 24px;
    padding-top: 0;
}

.modal-body .form-actions .btn,
.modal-body .form-submit,
.modal-body .webform-button--submit,
.modal-body button[type="submit"],
.modal .form-actions .btn,
.modal .form-submit,
.modal .webform-button--submit,
.modal button[type="submit"] {
    display: inline-block;
    min-width: 200px;
    padding: 14px 50px;
    background: var(--color-accent-light);
    border: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
    text-decoration: none;
}

.modal-body .form-actions .btn:hover,
.modal-body .form-submit:hover,
.modal-body .webform-button--submit:hover,
.modal-body button[type="submit"]:hover,
.modal .form-actions .btn:hover,
.modal .form-submit:hover,
.modal .webform-button--submit:hover,
.modal button[type="submit"]:hover {
    background: var(--color-accent-light-hover);
}

.modal-body .form-required::after {
    color: var(--color-error);
}

.modal-body .form-required-notice,
.modal .form-required-notice,
.ui-dialog .ui-dialog-content .form-required-notice {
    font-size: 12px;
    color: var(--color-gray-light);
}

/* Модалка: согласие — flex + order */
.modal-body .form-type-checkbox,
.modal-body .js-form-type-checkbox,
.modal .form-type-checkbox,
.modal .js-form-type-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 8px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 24px;
    color: var(--color-gray-light);
    margin-top: 16px;
}

.modal-body .form-type-checkbox label,
.modal-body .js-form-type-checkbox label,
.modal .form-type-checkbox label,
.modal .js-form-type-checkbox label {
    cursor: pointer;
    display: none;
}

.modal-body .form-type-checkbox input[type="checkbox"],
.modal-body .js-form-type-checkbox input[type="checkbox"],
.modal .form-type-checkbox input[type="checkbox"],
.modal .js-form-type-checkbox input[type="checkbox"] {
    order: 1;
    flex: 0 0 auto;
    margin-top: 2px;
}

.modal-body .form-type-checkbox .description,
.modal-body .js-form-type-checkbox .description,
.modal .form-type-checkbox .description,
.modal .js-form-type-checkbox .description {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    white-space: normal;
}

.modal-body .form-type-checkbox .form-item--error-message,
.modal-body .form-type-checkbox strong.error,
.modal-body .form-type-checkbox strong.error.form-item--error-message,
.modal-body .js-form-type-checkbox .form-item--error-message,
.modal-body .js-form-type-checkbox strong.error,
.modal-body .js-form-type-checkbox strong.error.form-item--error-message,
.modal .form-type-checkbox .form-item--error-message,
.modal .form-type-checkbox strong.error,
.modal .form-type-checkbox strong.error.form-item--error-message,
.modal .js-form-type-checkbox .form-item--error-message,
.modal .js-form-type-checkbox strong.error,
.modal .js-form-type-checkbox strong.error.form-item--error-message {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
}

.modal-body .form-type-checkbox .description p,
.modal-body .js-form-type-checkbox .description p,
.modal .form-type-checkbox .description p,
.modal .js-form-type-checkbox .description p {
    display: inline;
    margin: 0;
}

.modal-body .form-type-checkbox label a,
.modal-body .js-form-type-checkbox label a,
.modal-body .form-type-checkbox .description a,
.modal .form-type-checkbox label a,
.modal .js-form-type-checkbox label a,
.modal .form-type-checkbox .description a {
    color: inherit;
    text-decoration: underline;
}

.modal-body .form-type-checkbox label a:hover,
.modal-body .js-form-type-checkbox label a:hover,
.modal-body .form-type-checkbox .description a:hover,
.modal .form-type-checkbox label a:hover,
.modal .js-form-type-checkbox label a:hover,
.modal .form-type-checkbox .description a:hover {
    color: #333;
}

.modal-body .form-type-checkbox input[type="checkbox"],
.modal-body .js-form-type-checkbox input[type="checkbox"],
.modal .form-type-checkbox input[type="checkbox"],
.modal .js-form-type-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    margin: 2px 0 0;
    flex-shrink: 0;
    position: relative;
}

.modal-body .form-type-checkbox input[type="checkbox"]:checked,
.modal-body .js-form-type-checkbox input[type="checkbox"]:checked,
.modal .form-type-checkbox input[type="checkbox"]:checked,
.modal .js-form-type-checkbox input[type="checkbox"]:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.modal-body .form-type-checkbox input[type="checkbox"]:checked::after,
.modal-body .js-form-type-checkbox input[type="checkbox"]:checked::after,
.modal .form-type-checkbox input[type="checkbox"]:checked::after,
.modal .js-form-type-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modal-body .webform-confirmation {
    text-align: center;
    padding: 24px 0;
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text);
}

/* Модалка: футер */
.modal-footer {
    border-top: none;
    padding: 0 32px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

/* Диалог Drupal */
.ui-dialog .ui-dialog-titlebar {
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 12px 12px 0 0;
    padding: 20px 24px;
    font-family: var(--font-heading);
}

.ui-dialog .ui-dialog-content {
    padding: 32px;
    font-family: var(--font-body);
}

.ui-dialog .ui-dialog-content .form-text,
.ui-dialog .ui-dialog-content input[type="text"],
.ui-dialog .ui-dialog-content input[type="email"],
.ui-dialog .ui-dialog-content input[type="tel"],
.ui-dialog .ui-dialog-content textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-input-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text);
    outline: none;
    box-sizing: border-box;
}

.ui-dialog .ui-dialog-content .form-actions,
.ui-dialog .ui-dialog-content .webform-actions {
    text-align: left;
    justify-content: flex-start;
    margin-top: 24px;
    padding-top: 0;
}

.ui-dialog .ui-dialog-content .form-submit,
.ui-dialog .ui-dialog-content .webform-button--submit {
    display: inline-block;
    min-width: 200px;
    padding: 14px 50px;
    background: var(--color-accent-light);
    border: none;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 145%;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 0;
}

.ui-dialog .ui-dialog-content .form-submit:hover,
.ui-dialog .ui-dialog-content .webform-button--submit:hover {
    background: var(--color-accent-light-hover);
}

.ui-dialog .ui-dialog-content .form-type-checkbox,
.ui-dialog .ui-dialog-content .js-form-type-checkbox,
.ui-dialog .ui-dialog-content .webform-element--title-inline.form-type-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    column-gap: 12px;
    row-gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 24px;
    color: var(--color-gray);
    margin-top: 16px;
}

.ui-dialog .ui-dialog-content .form-type-checkbox label,
.ui-dialog .ui-dialog-content .js-form-type-checkbox label {
    cursor: pointer;
    display: none;
}

.ui-dialog .ui-dialog-content .form-type-checkbox input[type="checkbox"],
.ui-dialog .ui-dialog-content .js-form-type-checkbox input[type="checkbox"] {
    order: 1;
    flex: 0 0 auto;
    margin-top: 2px;
}

.ui-dialog .ui-dialog-content .form-type-checkbox .description,
.ui-dialog .ui-dialog-content .js-form-type-checkbox .description {
    order: 2;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    white-space: normal;
}

.ui-dialog .ui-dialog-content .form-type-checkbox .form-item--error-message,
.ui-dialog .ui-dialog-content .form-type-checkbox strong.error,
.ui-dialog .ui-dialog-content .form-type-checkbox strong.error.form-item--error-message,
.ui-dialog .ui-dialog-content .js-form-type-checkbox .form-item--error-message,
.ui-dialog .ui-dialog-content .js-form-type-checkbox strong.error,
.ui-dialog .ui-dialog-content .js-form-type-checkbox strong.error.form-item--error-message {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
}

.ui-dialog .ui-dialog-content .form-type-checkbox .description p,
.ui-dialog .ui-dialog-content .js-form-type-checkbox .description p {
    display: inline;
    margin: 0;
}

.ui-dialog .ui-dialog-content .form-type-checkbox input[type="checkbox"],
.ui-dialog .ui-dialog-content .js-form-type-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    margin: 3px 0 0;
    flex-shrink: 0;
    position: relative;
}

.ui-dialog .ui-dialog-content .form-type-checkbox input[type="checkbox"]:checked,
.ui-dialog .ui-dialog-content .js-form-type-checkbox input[type="checkbox"]:checked {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.ui-dialog .ui-dialog-content .form-type-checkbox input[type="checkbox"]:checked::after,
.ui-dialog .ui-dialog-content .js-form-type-checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Контакты */
.contacts-page {
    position: relative;
    overflow: hidden;
}

.contacts-page::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: url('/sites/all/themes/vesta_theme/image/white-brick-wall.png') center / cover;
    opacity: 0.75;
    z-index: 0;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 40%, transparent 100%);
}

.contacts-page > .container {
    position: relative;
    z-index: 1;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contacts-item__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-accent-bg);
    border-radius: 50%;
}

.contacts-item__icon svg {
    width: 26px;
    height: 26px;
}

.contacts-item__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts-item__label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-light);
}

.contacts-item__content a,
.contacts-item__content span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.contacts-item__content a:hover {
    color: var(--color-accent);
}

.contacts-item--phone .contacts-item__content a {
    font-weight: 600;
    font-size: 20px;
    color: var(--color-heading);
}

.contacts-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}

.contacts-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent-bg);
    transition: background 0.3s;
}

.contacts-social a:hover {
    background: var(--color-accent-border);
}

.contacts-social a svg {
    width: 24px;
    height: 24px;
}

.contacts-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    background: #f0f0f0;
}

.contacts-map iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    display: block;
}

/* Подвал */
#footer {
    position: relative;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    background: var(--color-footer-bg);
    min-height: var(--footer-frame-min-height);
    padding: 80px 0 49px;
    overflow: hidden;
}

#footer > .container {
    max-width: var(--max-width);
    position: relative;
    z-index: 1;
}

/* Подвал: сетка колонок */
.footer-main {
    display: grid;
    grid-template-columns: minmax(0, 231px) minmax(0, 1fr) minmax(0, 320px);
    column-gap: 70px;
    align-items: start;
    margin-bottom: 143px;
}

/* Подвал: логотип */
.footer-col--brand {
    max-width: 231px;
    margin-top: -20px;
    margin-right: 0;
}

.footer-col--nav {
    margin-right: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 25px;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 0.85;
}

.footer-logo img {
    height: 62px;
    width: auto;
}

.footer-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-footer-desc);
    margin: 0;
}

/* Подвал: меню */
.footer-col__title {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-footer-muted);
    margin-bottom: 20px;
}

#footer .footer-col--nav .nav,
#footer .footer-col--nav ul:not(.footer-social) {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

#footer .footer-col--nav .nav-link,
#footer .footer-col--nav ul:not(.footer-social) a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-footer-text);
    text-decoration: none;
    padding: 0;
    transition: color 0.3s;
}

#footer .footer-col--nav .nav-link:hover,
#footer .footer-col--nav ul:not(.footer-social) a:hover {
    color: var(--color-white);
    text-decoration: none;
}

/* Подвал: контакты */
.footer-col--contacts {
    max-width: 320px;
    flex-shrink: 0;
}

.footer-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 13px;
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.footer-contact-item a,
.footer-contact-item span {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: var(--color-footer-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: var(--color-white);
}

.footer-contact-item--phone {
    flex-wrap: nowrap;
}

.footer-contact-item--phone a {
    color: var(--color-white);
    white-space: nowrap;
}

/* Подвал: соцсети */
.footer-social {
    list-style: none;
    padding: 20px 0 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.footer-social li a:hover {
    opacity: 0.7;
}

.footer-bottom .footer-policy {
    margin-left: 0;
}

/* Подвал: разделитель */
.footer-divider {
    height: 1px;
    background: var(--color-footer-muted);
}

/* Подвал: нижняя полоса */
.footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 231px) minmax(0, 1fr) minmax(0, 320px);
    grid-template-rows: auto;
    column-gap: 70px;
    align-items: center;
    padding: 17px 0 0;
}

.footer-bottom .footer-copyright {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
}

.footer-bottom .footer-studio {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    text-align: center;
}

.footer-bottom .footer-policy {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
}

.footer-bottom span,
.footer-bottom a {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: -0.03em;
    color: var(--color-footer-muted);
}

.footer-bottom a {
    text-decoration: underline;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--color-footer-text);
}

/* Подвал: декор */
.footer-decor {
    position: absolute;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

/* Подвал: декор «ветер» слева */
.footer-decor--left {
    left: 158px;
    top: 72px;
    width: 111px;
    height: 63px;
    transform: scaleX(-1);
    transform-origin: center center;
}

@media screen and (max-width: 1499px) {
    .footer-decor--left {
        /* Привязка к краю контейнера */
        left: calc((100% - var(--max-width)) / 2 - 111px - 1.25rem);
        transform-origin: right center;
    }
}

/* Подвал: ветер — на 50px левее при 1401–1700px */
@media screen and (min-width: 1401px) and (max-width: 1700px) {
    .footer-decor--left {
        left: 108px;
    }
}

@media screen and (min-width: 1401px) and (max-width: 1499px) {
    .footer-decor--left {
        left: calc((100% - var(--max-width)) / 2 - 111px - 1.25rem - 50px);
    }
}

.footer-decor--right {
    right: 63px;
    top: 352px;
    width: 50px;
    height: 50px;
}

/* Адаптив */
@media screen and (max-width: 1400px) {
    #header > .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-contacts-row {
        gap: 20px;
    }

    .footer-main {
        column-gap: 40px;
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 280px);
    }

    .footer-bottom {
        column-gap: 40px;
        grid-template-columns: minmax(0, 200px) minmax(0, 1fr) minmax(0, 280px);
        grid-template-rows: auto;
    }

    .footer-col--brand {
        margin-right: 0;
    }

    .footer-col--nav {
        margin-right: 0;
    }

    .section-about .group-left {
        flex: 0 0 468px;
        width: 468px;
    }

    .section-about .group-left img {
        width: 468px;
        height: 602px;
    }

    .section-about .ds-2col,
    .section-about .ds-2col-stacked {
        gap: 40px;
    }

    .catalog-decor--wind {
        display: none;
    }

    .section-about .block > h2,
    .section-about .block-title {
        position: absolute;
        top: 55px;
        left: 508px;
        margin-bottom: 18px;
    }

    /* Декор: позиция */
    .footer-decor--left {
        top: 72px;
    }

    .about-page .ds-2col,
    .about-page .ds-2col-stacked {
        gap: 10px;
    }

    .about-page .group-left {
        margin-bottom: 10px;
    }

    .about-page .group-left img {
        width: 90%;
        height: auto;
    }

    .about-page .field--name-body,
    .about-page .field--name-body p {
        font-size: 100%;
    }
}

/* Подвал: 1200–1400px */
@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .footer-decor--left {
        top: 352px;
    }

    #footer .footer-col--contacts {
        justify-self: center;
        text-align: center;
    }

    #footer .footer-col--contacts .footer-col__title {
        text-align: center;
        width: 100%;
    }

    #footer .footer-contacts-list {
        align-items: center;
    }

    #footer .footer-contact-item {
        justify-content: center;
    }

    #footer .footer-col--contacts .footer-social {
        justify-content: center;
    }
}

/* Подвал: 1400–1620px */
@media screen and (min-width: 1400px) and (max-width: 1620px) {
    .footer-decor--left {
        top: 352px;
    }
}

/* О нас / услуги: 1200–1399px */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .section-about .block > h2,
    .section-about .block-title {
        top: 25px;
        
    }

    .section-services .view.view-uslugi.view-id-uslugi.view-display-id-block_1 {
        position: relative;
        top: 35px;
    }

    .section-about .group-right,
    .section-services .ds-2col .group-right,
    .region-services .ds-2col .group-right {
        padding-top: 60px;
    }
}

/* Каталог: 1200–1400px */
@media screen and (min-width: 1200px) and (max-width: 1400px) {
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) #main .wr_content.wrapper_catalog {
        padding: 0;
    }
}

/* Каталог /catalog: 1200–1399px */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog .view-content,
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog--listing .view-content,
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog--page .block-views .view-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

/* Преимущества: 1200–1400px */
@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .section-benefits .view-content {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: center;
        max-width: 100%;
    }

    .section-benefits .views-row {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
        max-width: none;
        padding-left: 4px;
        padding-right: 4px;
        box-sizing: border-box;
    }

}

@media screen and (max-width: 1199px) {

    .section-benefits {
        padding: 0 0;
    }

    .section-about .block > h2,
    .section-about .block-title {
        position: static;
        margin-left: 0;
        margin-bottom: 18px;
        margin-top: 20px;
    }

    .section-about .group-right {
        padding-top: 10px;
    }

    .section-about .about-decor,
    .about-page-decor {
        display: none;
    }

    .footer-decor {
        display: none;
    }

    .wrapper_catalog .view-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .section-benefits .view-content {
        flex-wrap: wrap;
        gap: 30px 20px;
    }

    .wrapper_catalog--listing .view-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-page-decor {
        display: none;
    }

    .gallery-page .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .photogallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .item-list ul,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .item-list ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .section-gallery .views-row .item-list ul {
        flex-wrap: wrap;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 50%;
        width: 50%;
    }

    .section-gallery .views-row img {
        height: auto;
    }

    .section-gallery .views-row .item-list ul li img {
        height: auto;
    }

    .section-gallery .view-footer,
    .section-gallery .more-link {
        margin-bottom: 20px;
    }

    .section-services .block-block-content .field--name-body .field__item {
        gap: 60px;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        flex: 0 0 360px;
        font-size: 30px;
    }

    #header > .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-right-col {
        margin-left: 20px;
    }

    .header-contacts-row {
        gap: 15px;
    }

    .footer-main {
        column-gap: 40px;
        row-gap: 40px;
    }

    .footer-bottom {
        column-gap: 40px;
    }

    .section-services .ds-2col .group-left {
        flex: 0 0 400px;
        width: 400px;
        max-width: 400px;
    }

    .section-about .group-left {
        flex: 0 0 351px;
        width: 351px;
    }

    .section-about .group-left img {
        width: 351px;
        height: 451px;
    }

    .section-about .ds-2col,
    .section-about .ds-2col-stacked {
        gap: 30px;
    }

    .section-services .block > h2,
    .section-services .view-header h2,
    .section-services .block-title,
    .section-services .ds-2col .group-left h2,
    .region-services .ds-2col .group-left h2,
    .section-feedback .block-content > .field--name-body,
    .section-gallery .view-header,
    .section-gallery .attachment-before,
    .section-services--page h1,
    .wr_content h1,
    .field.field--name-block-title.field--type-ds.field__item,
    .field.field--name-block-title.field--type-ds.field__item :is(h1, h2),
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item,
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item :is(h1, h2) {
        font-size: 24px;
    }

    .wrapper_catalog .views-row .field--type-image,
    .wrapper_catalog .views-row .field--name-field-image,
    .wrapper_catalog .views-row [class*="views-field-field"][class*="image"] {
        text-align: center;
    }

    .section-benefits .views-row h2,
    .section-benefits .views-row h3,
    .section-benefits .views-row .node__title,
    .section-benefits .views-row .field--name-title,
    .section-benefits .views-row .views-field-title {
        font-size: 20px;
    }

    .section-benefits .views-row .field--name-body,
    .section-benefits .views-row .views-field-body {
        font-size: 14px;
    }

    .section-feedback .feedback-decor--2 {
        display: none;
    }

    .section-gallery .views-row img {
        height: 200px;
        object-fit: cover;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
    }

    .section-gallery .views-row .item-list ul {
        gap: 10px;
    }

    #footer .footer-col--nav .nav,
    #footer .footer-col--nav ul:not(.footer-social) {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 20px;
        justify-content: flex-start;
    }

    .footer-col--brand {
        margin-right: auto;
    }

    .footer-col--nav {
        margin-right: auto;
    }

    .section-services .view .views-row h2,
    .section-services .view .views-row h3,
    .section-services .view .views-row .node__title,
    .section-services .field--name-node-title,
    .section-services .view .views-row h2 a,
    .section-services .view .views-row h3 a,
    .section-services .view .views-row .node__title a,
    .section-services .field--name-node-title a {
        font-size: 16px;
    }

    .hero__title {
        font-size: var(--font-size-hero-title-md);
    }

    .footer-main {
        margin-bottom: 60px;
    }

    .photogallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page .ds-2col,
    .about-page .ds-2col-stacked {
        gap: 40px;
    }

    .about-page .group-left {
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 991px) {
    /* Шапка: мобильная строка */
    #header > .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-main {
        padding: 15px 0;
    }

    .header-right-inner {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex: 1;
        gap: 16px;
    }

    .header-contacts-row {
        margin: 0;
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }

    .header-nav-row {
        flex: 0 0 auto;
    }

    .header-logo img {
        max-height: 50px;
    }

    #offcanvasNav .nav .dropdown-menu {
        display: none;
        position: static;
        border: 0px solid;
        background: transparent;
        padding: 10px 0;
        border-bottom: 1px solid var(--color-gray-separator);
    }

    #offcanvasNav li.nav-item {
        width: 100%;
    }

    .header-main {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-right-col {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }

    .header-contacts-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .section-services .block-block-content .field--name-body .field__item {
        flex-direction: column;
        gap: 20px;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        flex: none;
        width: 497px;
        max-width: 100%;
        min-height: 167px;
        font-size: 28px;
    }

    .section-services .ds-2col .group-left {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .section-services .ds-2col {
        flex-direction: column;
        gap: 20px;
    }

    .section-services .view .views-row {
        padding: 12px;
        font-size: 12px;
    }

    .section-services .view .views-row img {
        max-height: 120px;
    }

    .section-services .view .views-row h2,
    .section-services .view .views-row h3,
    .section-services .view .views-row .node__title,
    .section-services .field--name-node-title,
    .section-services .view .views-row h2 a,
    .section-services .view .views-row h3 a,
    .section-services .view .views-row .node__title a,
    .section-services .field--name-node-title a {
        font-size: 20px;
        min-height: auto;
    }

    .section-services .view .views-row .field--name-body {
        font-size: 14px;
    }

    .section-feedback .feedback-decor--1 {
        left: 2%;
    }

    .section-feedback .feedback-decor--2 {
        left: 5%;
    }

    .section-services .view .view-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .section-services--page,
    .wr_content {
        padding: 40px 0 60px;
    }

    .hero-wrapper {
        height: 700px;
    }

    .hero__content {
        height: 350px;
    }

    .hero__title {
        font-size: var(--font-size-hero-title-md);
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__btn {
        width: 280px;
        height: 50px;
        font-size: 18px;
    }

    .section-about .view-content,
    .section-about article,
    .section-about .ds-2col,
    .section-about .ds-2col-stacked {
        flex-direction: column;
        gap: 40px;
    }

    .section-about .group-left {
        flex: none;
        width: 100%;
    }

    .section-about .group-left img {
        width: 100%;
        height: auto;
        max-height: 500px;
    }

    .section-about .group-right {
        padding-top: 0;
        min-height: auto;
        width: 100%;
        max-width: 670px;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .group-right h2,
    .section-about .node__title {
        font-size: 24px;
        width: 100%;
        max-width: 670px;
    }

    .section-about .field--name-body {
        column-count: 1;
        width: 100%;
        max-width: 670px;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 30px;
    }

    .footer-col--brand {
        grid-column: 1 / -1;
        max-width: 100%;
        width: 100%;
        margin-right: 0;
    }

    .footer-col--nav {
        width: auto;
        max-width: none;
        margin-right: 0;
    }

    .footer-col--contacts {
        width: auto;
        max-width: none;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacts-map {
        min-height: 300px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 10px;
        justify-items: center;
        text-align: center;
    }

    .footer-bottom .footer-copyright,
    .footer-bottom .footer-studio,
    .footer-bottom .footer-policy {
        grid-column: auto;
        grid-row: auto;
        justify-self: center;
        align-self: center;
        text-align: center;
    }

    .footer-bottom .footer-policy {
        margin-left: 0;
    }

    .wrapper_catalog {
        padding: 50px 0 40px;
    }

    .wrapper_catalog .view {
        margin-bottom: 40px;
    }

    .wrapper_catalog .view-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .wrapper_catalog .block-block-content .field--name-body p span:first-child {
        font-size: 30px;
    }

    .section-services--page h1,
    .wr_content h1,
    .field.field--name-block-title.field--type-ds.field__item,
    .field.field--name-block-title.field--type-ds.field__item :is(h1, h2),
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item,
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item :is(h1, h2) {
        font-size: 20px;
    }

    .wrapper_catalog--page,
    .gallery-page {
        padding: 40px 0 60px;
    }

    .wrapper_catalog--page .block-views .view-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .pager {
        gap: 6px;
        margin-top: 40px;
    }

    .pager__item a,
    .pager__item span {
        min-width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .gallery-page .view-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .gallery-page .views-row img {
        height: 200px;
    }

    .photogallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .item-list ul,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .item-list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__bg-wave {
        height: 350px;
    }

    .hero__bg-line {
        height: 350px;
    }

    .hero__bg-wave svg {
        object-position: bottom center;
    }

    .section-about .field--name-body {
        column-count: 1;
        column-gap: 0;
        width: 100%;
        max-width: 670px;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        font-size: 22px;
        min-height: auto;
    }

    .section-services .ds-2col .group-left h2,
    .region-services .ds-2col .group-left h2 {
        font-size: 20px;
    }

    .section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
        flex: none;
        width: 100%;
        max-width: 696px;
    }

    .section-services .ds-2col .group-left {
        min-height: auto;
        margin-bottom: 0;
    }

    .section-services .view .views-row {
        gap: 10px;
        padding: 15px;
    }

    .section-services .view-footer,
    .section-services .more-link,
    .section-services .services-btn-wrap {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .section-gallery .views-row .item-list ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
    }

    .section-gallery .views-row img {
        height: 120px;
        width: 100%;
        object-fit: cover;
    }

    .footer-col--brand {
        text-align: center;
    }

    .footer-logo {
        display: block;
        text-align: center;
    }

    .about-page .ds-2col,
    .about-page .ds-2col-stacked {
        gap: 10px;
    }

    .about-page .group-left {
        margin-bottom: 10px;
    }

    .about-page .group-left img {
        width: 90%;
        height: auto;
    }

    .about-page .field--name-body,
    .about-page .field--name-body p {
        font-size: 90%;
    }

    .about-page .group-right h2.node__title,
    .about-page .group-right h1 {
        font-size: 22px;
    }

    .gallery-page .views-row .node-readmore a,
    .gallery-page .views-row .node__links a,
    .gallery-page .views-row .field--name-node-link a,
    .gallery-page .btn-outline-primary,
    .node--type-photogallery.node--view-mode-teaser .field--name-node-link a.btn {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 0;
        height: auto;
    }

    .header-right-inner {
        margin-right: 0;
    }
}

/* Планшет ≤991: преимущества — по 2 карточки в ряд */
@media screen and (max-width: 991px) {
    .section-benefits .views-row {
        width: calc(50% - 10px);
    }
}

/* 992–1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    body.path-front .section-services:not(.section-services--page) .view .view-content {
        margin-bottom: 0;
        max-width: 100%;
    }

    body.path-front .section-services:not(.section-services--page) .view-footer,
    body.path-front .section-services:not(.section-services--page) .more-link,
    body.path-front .section-services:not(.section-services--page) .services-btn-wrap {
        display: none;
    }

    /* Услуги: сетка с group-up/down (главная + /uslugi) */
    .section-services:not(.section-services--page) .view .views-row,
    body.path-uslugi .section-services.section-services--page .view .views-row {
        max-width: none;
        width: 100%;
        align-items: stretch;
        min-width: 0;
        overflow: visible;
    }

    .section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title),
    body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title) {
        min-height: 3.6em;
        margin-bottom: 0;
    }

    .section-services:not(.section-services--page) .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col,
    body.path-uslugi .section-services.section-services--page .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
    }

    .section-services:not(.section-services--page) .view .views-row .group-up,
    body.path-uslugi .section-services.section-services--page .view .views-row .group-up {
        width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }

    .section-services:not(.section-services--page) .view .views-row .group-down,
    body.path-uslugi .section-services.section-services--page .view .views-row .group-down {
        width: 100%;
        flex: 0 0 auto;
        margin-top: auto;
        align-self: stretch;
    }

    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog--listing .views-row .views-field-view-commerce-product {
        padding: 0 0 20px;
    }
}

/* 768–991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-services:not(.section-services--page) .view .views-row,
    body.path-uslugi .section-services.section-services--page .view .views-row {
        max-width: none;
        width: 100%;
        align-items: stretch;
        min-width: 0;
        overflow: visible;
    }

    .section-services:not(.section-services--page) .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col,
    body.path-uslugi .section-services.section-services--page .view .views-row .node--type-usluga.node--view-mode-teaser.ds-1col {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        width: 100%;
        flex: 1 1 auto;
        min-height: 0;
    }

    .section-services:not(.section-services--page) .view .views-row .group-up,
    body.path-uslugi .section-services.section-services--page .view .views-row .group-up {
        width: 100%;
        flex: 0 0 auto;
        align-self: stretch;
    }

    .section-services:not(.section-services--page) .view .views-row .group-down,
    body.path-uslugi .section-services.section-services--page .view .views-row .group-down {
        width: 100%;
        flex: 0 0 auto;
        margin-top: auto;
        align-self: stretch;
    }

    .section-services:not(.section-services--page) .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title),
    .region-services .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title),
    body.path-uslugi .section-services.section-services--page .view .views-row:not(:has(.group-up)) :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"], .views-field-title, .views-field-node-title) {
        min-height: 3.6em;
        margin-bottom: 0;
    }

    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog--listing .views-row .views-field-view-commerce-product {
        padding: 0 0 20px;
    }

    #footer .footer-col--nav .nav,
    #footer .footer-col--nav ul:not(.footer-social) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
        row-gap: 14px;
        flex-direction: unset;
        flex-wrap: unset;
        justify-items: start;
    }
}

/* Преимущества: 768–991px */
@media screen and (min-width: 768px) and (max-width: 991px) {
    #main .section-benefits .views-row {
        align-items: center !important;
        text-align: center;
    }

    #main .section-benefits .views-row .views-field-field-icon {
        align-self: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #main .section-benefits .views-row .views-field-field-icon .field-content {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }
}

/* Преимущества: 992–1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .section-benefits .view-content {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px 12px;
        justify-content: stretch;
        align-items: stretch;
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }

    #main .section-benefits .views-row {
        align-items: center !important;
        text-align: center;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
        padding: 20px 15px;
        box-sizing: border-box;
    }

    #main .section-benefits .views-row .views-field-field-icon {
        align-self: center !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #main .section-benefits .views-row .views-field-field-icon .field-content {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }

    .section-benefits .views-row .views-field-title,
    .section-benefits .views-row .views-field-field-title,
    .section-benefits .views-row .views-field-node-title,
    .section-benefits .views-row .views-field-body,
    .section-benefits .views-row .views-field:has(.field--name-body) {
        max-width: none;
    }

    .section-benefits .views-row h2,
    .section-benefits .views-row h3,
    .section-benefits .views-row .node__title,
    .section-benefits .views-row .field--name-title,
    .section-benefits .views-row .views-field-title {
        font-size: 18px;
    }

    .section-benefits .views-row .field--name-body,
    .section-benefits .views-row .views-field-body {
        font-size: 14px;
    }

    .section-benefits .views-row img {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 767px) {
    .hero-wrapper #header {
        background-size: 100% auto, 100% auto;
        background-position: center top, center top;
    }

    .header-right-col {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .header-right-inner {
        margin-right: 0;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .header-main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-contacts-row {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .wrapper_catalog--listing .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-services .view .view-content {
        grid-template-columns: 1fr;
    }

    .section-services--page,
    .wr_content {
        padding: 25px 0 40px;
    }

    .section-services--page h1,
    .wr_content h1,
    .prays-page h1,
    .field.field--name-block-title.field--type-ds.field__item,
    .field.field--name-block-title.field--type-ds.field__item :is(h1, h2),
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item,
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item :is(h1, h2) {
        font-size: 20px;
    }

    .hero-wrapper {
        height: 550px;
    }

    .hero__content {
        height: 300px;
    }

    .hero__bg-wave {
        height: 300px;
    }

    .hero__bg-line {
        height: 300px;
    }

    .hero__content > .container {
        padding-bottom: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero__title {
        font-size: 22px;
        margin-bottom: 14px;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .hero__subtitle {
        font-size: 13px;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero__btn {
        width: 240px;
        height: 44px;
        font-size: 15px;
    }

    .section-about {
        padding: 40px 0;
    }

    .section-about .group-left img {
        max-height: 350px;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .node__title {
        font-size: 20px;
    }

    .section-about .group-right {
        width: 100%;
        max-width: 500px;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .group-right h2,
    .section-about .node__title {
        width: 100%;
        max-width: 500px;
    }

    .section-about .field--name-body {
        column-count: 1;
        font-size: 13px;
        width: 100%;
        max-width: 500px;
    }

    .section-about .field--name-body p {
        font-size: 13px;
    }

    .section-services .view .views-row h2,
    .section-services .view .views-row h3,
    .section-services .view .views-row .node__title,
    .section-services .field--name-node-title,
    .section-services .view .views-row h2 a,
    .section-services .view .views-row h3 a,
    .section-services .view .views-row .node__title a,
    .section-services .field--name-node-title a {
        font-size: 16px;
    }

    .section-services .view .views-row .field--name-body {
        font-size: 12px;
    }

    .section-services .block-block-content {
        text-align: center !important;
        justify-content: center;
    }

    .section-services .block > h2,
    .section-services .view-header h2,
    .section-services .block-title {
        font-size: 22px;
        text-align: center !important;
        justify-content: center;
    }

    .section-services .ds-2col {
        align-items: center !important;
    }

    .section-services .ds-2col .group-left {
        min-height: auto;
        margin-bottom: 0;
        text-align: center !important;
        width: 100%;
    }

    .section-services .ds-2col .group-left h2,
    .region-services .ds-2col .group-left h2 {
        font-size: 22px;
        margin-bottom: 8px;
        text-align: center !important;
        width: 100%;
    }

    .section-services .ds-2col .group-right,
    .section-services .ds-2col .group-right .field--name-body,
    .section-services .ds-2col .group-right p {
        text-align: center !important;
        width: 100%;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        font-size: 22px;
        text-align: center !important;
        width: 100%;
        max-width: 100%;
    }

    .section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
        width: 100%;
        max-width: 100%;
        text-align: center !important;
    }

    .section-services .block-block-content .field--name-body .field__item {
        align-items: center;
    }

    .section-services .view .view-content {
        gap: 10px;
    }

    .section-services .view .views-row {
        gap: 8px;
        padding: 10px;
        font-size: 12px;
    }

    .section-services .view .views-row h2,
    .section-services .view .views-row h3,
    .section-services .view .views-row .node__title,
    .section-services .field--name-node-title,
    .section-services .view .views-row h2 a,
    .section-services .view .views-row h3 a,
    .section-services .view .views-row .node__title a,
    .section-services .field--name-node-title a {
        font-size: 12px;
        min-height: auto;
    }

    .section-services .view .views-row .field--name-body {
        font-size: 16px;
    }

    .section-services .view .views-row img {
        max-height: 100px;
    }

    .section-feedback .block-content > .field--name-body {
        font-size: 22px;
    }

    .section-gallery .view-header,
    .section-gallery .attachment-before {
        font-size: 22px;
    }

    .wrapper_catalog .view > h2,
    .wrapper_catalog .view-header h2,
    .wrapper_catalog .block-views > .block-title {
        font-size: 20px;
        margin: 0 0 0px;
    }

    .wrapper_catalog .block-block-content .field--name-body p span:first-child {
        font-size: 20px;
    }

    .wrapper_catalog .block-block-content .field--name-body p {
        text-align: center !important;
    }

    .section-services .view-footer,
    .section-services .more-link,
    .section-services .services-btn-wrap {
        margin-top: 25px;
        width: 100%;
    }

    .section-services .view-footer a,
    .section-services .more-link a,
    .section-services .services-btn-wrap a {
        width: 35%;
        min-width: auto;
        font-size: 12px;
        padding: 6px 14px;
        height: auto;
    }

    .section-about .field--type-link a {
        width: 50%;
        max-width: 50%;
        height: 43px;
        font-size: 14px;
    }
}

/* О нас: ссылка «Узнать больше о нас» */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .section-about .field--type-link a[href="/about"],
    .section-about .field--type-link a[href="/about/"],
    .section-about a[href="/about"],
    .section-about a[href="/about/"] {
        font-size: 18px;
    }
}

@media screen and (max-width: 991px) {
    .wrapper_catalog .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .wrapper_catalog:not(.wrapper_catalog--page):not(.wrapper_catalog--listing) .view-content .views-row:nth-child(n+3) {
        display: none;
    }

    .section-benefits .views-row {
        width: calc(50% - 10px);
        padding: 20px 15px;
    }

    .section-benefits .views-row h2,
    .section-benefits .views-row h3,
    .section-benefits .views-row .node__title {
        font-size: 16px;
    }

    .section-benefits .views-row .field--name-body,
    .section-benefits .views-row .views-field-body {
        font-size: 14px;
    }

    .section-benefits .views-row img {
        width: 50px;
        height: 50px;
    }

    .section-gallery .views-row .item-list ul {
        justify-content: center;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
    }

    .section-gallery .views-row img {
        height: 150px;
        width: 100%;
        object-fit: cover;
    }

    .section-gallery .view-footer a,
    .section-gallery .more-link a {
        min-width: 150px;
        font-size: 14px;
        padding: 8px 14px;
    }

    .wrapper_catalog .views-row .catalog-buttons,
    .wrapper_catalog .views-row .node__links,
    .wrapper_catalog .views-row .links {
        flex-wrap: wrap;
    }

    .wrapper_catalog .views-row .catalog-buttons a,
    .wrapper_catalog .views-row .node__links a,
    .wrapper_catalog .views-row .links a {
        flex: none;
        width: 110px;
        height: 43px;
        font-size: 14px;
    }

    .wrapper_catalog--listing .views-row .views-field-name a,
    .wrapper_catalog--listing .views-row .views-field-title a,
    .wrapper_catalog--listing .views-row h3 a {
        display: block;
        text-align: center !important;
    }

    .wrapper_catalog .view-footer a,
    .wrapper_catalog .more-link a {
        width: 100%;
        max-width: 200px;
        font-size: 14px;
    }

    #footer {
        min-height: auto;
        padding: 40px 0 25px;
    }

    .footer-col--brand {
        margin-right: 0;
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        display: block;
        text-align: center;
    }

    .footer-desc {
        font-size: 14px;
    }

    .footer-col--nav {
        display: none;
        margin-right: 0;
    }

    .footer-col--contacts {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 25px;
        row-gap: 25px;
        margin-bottom: 30px;
    }

    .footer-col--brand {
        width: auto;
        max-width: 100%;
    }

    .footer-col--contacts {
        width: auto;
        max-width: 100%;
    }

    .wrapper_catalog--page .block-views .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-page .view-content {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .gallery-page .views-row img {
        height: 160px;
    }

    .photogallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .item-list ul,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .item-list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .pager__item a,
    .pager__item span {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        font-size: 12px;
    }

    .about-page .field--name-body {
        column-count: 1;
    }

    .about-page .group-left img {
        max-height: 300px;
    }

    .about-page .field--name-body,
    .about-page .field--name-body p {
        font-size: 14px;
    }

    .about-page .group-right h2.node__title,
    .about-page .group-right h1 {
        font-size: 20px;
    }

    .hero-wrapper #header {
        background-position: center top;
    }

    .hero__bg-wave {
        height: 300px;
    }

    .hero__bg-line {
        height: 300px;
    }

    .hero__bg-wave svg {
        object-position: bottom center;
    }

    .section-about .field--name-body {
        column-count: 1;
        max-width: 100%;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        font-size: 18px;
        min-height: auto;
    }

    .section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .wrapper_catalog .view > h2,
    .wrapper_catalog .view-header h2 {
        font-size: 18px;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 calc(50% - 5px);
        width: calc(50% - 5px);
    }

    .section-gallery .views-row img {
        height: 160px;
    }

    .footer-col--contacts {
        text-align: center;
    }

    .gallery-page .views-row .node-readmore a,
    .gallery-page .views-row .node__links a,
    .gallery-page .views-row .field--name-node-link a,
    .gallery-page .views-row a.btn-outline-primary,
    .gallery-page .btn-outline-primary,
    .node--type-photogallery.node--view-mode-teaser .field--name-node-link a.btn {
        min-width: 0;
        max-width: 140px;
        font-size: 14px;
        padding: 8px 8px;
        height: auto;
    }

    .modal-content {
        transform: scale(0.85);
        transform-origin: center center;
    }

    .modal-header {
        padding: 16px 20px;
    }

    .modal-header .modal-title,
    .modal-header h5 {
        font-size: 14px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body .form-item {
        margin-bottom: 14px;
    }

    .modal-body label,
    .modal-body .form-item label {
        font-size: 12px;
    }

    .modal-body .form-text,
    .modal-body .form-email,
    .modal-body .form-tel,
    .modal-body .form-textarea,
    .modal-body input[type="text"],
    .modal-body input[type="email"],
    .modal-body input[type="tel"],
    .modal-body textarea,
    .modal-body select {
        padding: 8px 12px;
        font-size: 14px;
    }

    .modal-body .form-submit,
    .modal-body .webform-button--submit,
    .modal-body button[type="submit"] {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* Подвал: 575–991px */
@media screen and (min-width: 575px) and (max-width: 991px) {
    #footer .footer-main {
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 24px;
    }

    #footer .footer-col--brand {
        grid-column: 1;
        max-width: 100%;
    }

    #footer .footer-col--contacts {
        grid-column: 1;
        max-width: 320px;
        width: 100%;
        text-align: center;
    }

    #footer .footer-col--contacts .footer-col__title {
        text-align: center;
    }

    #footer .footer-contacts-list {
        align-items: center;
    }

    #footer .footer-contact-item {
        justify-content: center;
        width: 100%;
    }

    #footer .footer-contact-item a,
    #footer .footer-contact-item span {
        text-align: center;
    }

    #footer .footer-col--contacts .footer-social {
        justify-content: center;
    }
}

@media screen and (min-width: 575px) and (max-width: 767px) {
    .page-portfolio .view-content,
    .path-portfolio .view-content,
    body.path-portfolio .view-content {
        display: grid;
        gap: 15px;
    }

    .page-portfolio .views-row img,
    .path-portfolio .views-row img,
    body.path-portfolio .views-row img {
        width: 80%;
        height: auto;
        object-fit: cover;
    }
}

@media screen and (max-width: 574px) {
    body,
    p,
    .field--name-body,
    .field--name-body p,
    .field__item,
    .form-control,
    .form-text,
    .form-email,
    .form-tel,
    textarea,
    .form-control::placeholder,
    .form-text::placeholder,
    textarea::placeholder,
    .section-feedback .form-control,
    .section-feedback .form-text,
    .section-feedback .form-email,
    .section-feedback .form-tel,
    .section-feedback textarea,
    .section-feedback .form-type-checkbox,
    .section-feedback .js-form-type-checkbox,
    .section-feedback .webform-element--title-inline,
    .wrapper_catalog .block-block-content .field--name-body p,
    .section-benefits .views-row .field--name-body,
    .section-benefits .views-row .views-field-body,
    .section-services .ds-2col .group-right .field--name-body,
    .section-services .ds-2col .group-right p,
    .region-services .ds-2col .group-right .field--name-body,
    .region-services .ds-2col .group-right p,
    .section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
        font-size: 12px;
    }

    .hero-wrapper #header {
        background: none;
    }

    .section-about h2,
    .section-services h2,
    .section-feedback h2,
    .section-gallery h2,
    .wrapper_catalog h2 {
        font-size: 18px;
        text-align: center;
    }

    .hero-wrapper {
        height: 380px;
    }

    .hero__content {
        height: 200px;
    }

    .hero__bg-wave {
        height: 200px;
        overflow: hidden;
    }

    .hero__bg-line {
        height: 200px;
    }

    .hero__bg-wave svg {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }

    .hero__title {
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
        margin-bottom: 4px;
        margin-top: 10px;
        width: 290px;
        max-width: 290px;
    }

    .hero__subtitle {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .hero__btn {
        width: 180px;
        height: 36px;
        font-size: 13px;
        margin-top: 8px;
    }

    .header-main {
        flex-wrap: wrap;
        gap: 0;
    }

    .header-right-col {
        order: -1;
        width: 100%;
        justify-content: flex-end;
        margin-top: -10px;
    }

    .header-right-inner {
        width: 100%;
        justify-content: flex-end;
    }

    .header-logo {
        order: 1;
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .header-logo img {
        max-height: 36px;
    }

    .header-contacts-row {
        gap: 8px;
    }

    .header-contacts-row .social svg {
        width: 17px;
        height: 17px;
    }

    .header-phone .icon-phone {
        width: 15px;
        height: 15px;
    }

    .mobile-menu-btn {
        background: transparent;
        border: none;
        border-radius: 0;
        width: 36px;
        height: 36px;
    }

    .mobile-menu-btn:hover {
        background: transparent;
        border: none;
    }

    .section-about .block > h2,
    .section-about .block-title {
        font-size: 18px;
        letter-spacing: 0.15em;
    }

    .section-about {
        padding: 10px 0;
    }

    .section-about .ds-2col,
    .section-about .ds-2col-stacked,
    .section-about .view-content,
    .section-about article {
        align-items: center;
        gap: 10px;
    }

    .section-about .group-left img {
        max-height: 200px;
    }

    .section-about .group-right {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        padding-top: 0;
        align-items: stretch;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .group-right h2,
    .section-about .node__title,
    .section-about .group-right .field--name-node-title,
    .section-about .group-right .field--name-node-title h2,
    .section-about .group-right .field--name-node-title .field__item,
    .section-about .group-right > h2:first-child {
        font-size: 16px;
        margin: 0 0 10px;
        width: 100%;
        max-width: 320px;
        display: block;
        box-sizing: border-box;
    }

    .section-about .field--name-body,
    .section-about .field--name-body p,
    .section-about .field--name-body .field__item,
    .section-about .field--name-body .field__item p,
    .section-about .views-row .field--name-body,
    .section-about .views-row .field--name-body p,
    .section-about .views-row .field--name-body .field__item p,
    .section-about .group-right .field--name-body,
    .section-about .group-right .field--name-body p,
    .section-about .group-right .field--name-body .field__item p,
    .section-about .node--type-about .field--name-body,
    .section-about .node--type-about .field--name-body p,
    .section-about article .field--name-body,
    .section-about article .field--name-body p {
        font-size: 12px;
        margin-bottom: 10px;
        column-count: 1;
        width: 100%;
        max-width: 320px;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .node__title {
        margin: 0 0 8px;
    }

    .section-about .field--type-link a {
        width: 320px;
        max-width: 320px;
        height: 38px;
        font-size: 13px;
        padding: 8px 10px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .section-services .view .views-row h2,
    .section-services .view .views-row h3,
    .section-services .view .views-row .node__title,
    .section-services .view .views-row .field--name-node-title,
    .section-services .view .views-row .field--name-node-title.field__item,
    .section-services .view .views-row .field--name-node-title h2,
    .section-services .view .views-row .field--name-node-title a,
    .section-services .view .views-row h2 a,
    .section-services .view .views-row .node__title a,
    .section-services .view .views-row .field--name-node-title a {
        font-size: 16px;
        text-align: left;
    }

    .section-services .view .views-row .field--name-body {
        font-size: 14px;
    }

    .section-services .view .view-content {
        grid-template-columns: 1fr;
        margin-bottom: 5px;
    }

    .section-services .view-header,
    .section-services .view-header h2 {
        font-size: 18px;
    }

    .section-services .block > h2,
    .section-services .block-title {
        font-size: 18px;
    }

    .section-services .ds-2col .group-left h2,
    .region-services .ds-2col .group-left h2 {
        font-size: 18px;
        width: 320px;
        max-width: 320px;
    }

    .section-services .ds-2col .group-left {
        width: 320px;
        max-width: 320px;
    }

    .section-services .ds-2col {
        gap: 0;
    }

    .section-services .ds-2col .group-right {
        padding-top: 0;
        width: 320px;
        max-width: 320px;
    }

    .section-services .block-block-content .field--name-body .field__item > p:first-child {
        font-size: 14px;
        min-height: auto;
    }

    .section-services .block-block-content .field--name-body .field__item > p:nth-child(n+2) {
        flex: none;
        width: 100%;
        max-width: 100%;
        font-size: 12px;
    }

    .section-services .block-block-content .field--name-node-title,
    .section-services .ds-2col .group-left .field--name-node-title,
    .section-services .field--name-node-title .field__item {
        font-size: 18px;
    }

    .section-services:not(.section-services--page) {
        min-height: 0;
        padding-top: 40px;
        padding-bottom: 16px;
    }

    .section-services:not(.section-services--page)::after {
        height: 40px;
    }

    .section-services + .wrapper_catalog {
        padding-top: 0;
    }

    .section-feedback .block-content > .field--name-body {
        font-size: 18px;
    }

    .section-gallery .view-header,
    .section-gallery .attachment-before {
        font-size: 18px;
    }

    .section-services--page h1,
    .wr_content h1,
    .prays-page h1,
    .field.field--name-block-title.field--type-ds.field__item,
    .field.field--name-block-title.field--type-ds.field__item :is(h1, h2),
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item,
    article.node:not(.node--type-photogallery.node--view-mode-teaser) .field.field--name-node-title.field--type-ds.field__item :is(h1, h2) {
        font-size: 14px;
    }

    .wrapper_catalog {
        padding: 10px 0 10px;
    }

    .wrapper_catalog .view > h2,
    .wrapper_catalog .view-header h2 {
        font-size: 12px;
    }

    .wrapper_catalog .block-block-content .field--name-node-title,
    .wrapper_catalog .block-block-content .group-left .field--name-node-title,
    .wrapper_catalog .block-block-content .ds-2col .group-left h2 {
        font-size: 18px;
    }

    .wrapper_catalog .block-block-content .field--name-body p span:first-child {
        font-size: 16px;
        width: 320px;
        max-width: 320px;
        margin: 0 0 0px;
    }

    .wrapper_catalog .block-block-content > .block-title {
        font-size: 18px;
    }

    .wrapper_catalog .views-row h2,
    .wrapper_catalog .views-row h3,
    .wrapper_catalog .views-row .node__title,
    .wrapper_catalog .views-row .views-field-title,
    .wrapper_catalog .views-row .views-field-title a {
        font-size: 12px;
    }

    .wrapper_catalog .views-row .field-content {
        font-size: 13px;
    }

    /* Каталог: размер текста карточек */
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog .views-row .field-content {
        font-size: 13px;
    }

    .wrapper_catalog .views-row .field--name-field-cena,
    .wrapper_catalog .views-row .field--name-price,
    .wrapper_catalog .views-row .product--variation-field--variation-price {
        font-size: 14px;
    }

    .wrapper_catalog .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wrapper_catalog:not(.wrapper_catalog--page):not(.wrapper_catalog--listing) .view-content .views-row:nth-child(n+3) {
        display: none;
    }

    .wrapper_catalog--listing .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wrapper_catalog--page .block-views .view-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .wrapper_catalog .views-row {
        padding: 10px;
    }

    .wrapper_catalog .views-row .field--type-image,
    .wrapper_catalog .views-row .field--name-field-image {
        margin-bottom: 8px;
    }

    .wrapper_catalog .views-row .field--name-field-gabarity,
    .wrapper_catalog .views-row .views-field-field-gabarity,
    .wrapper_catalog .views-row .field--name-field-harakteristiki,
    .wrapper_catalog .views-row .views-field-field-harakteristiki {
        display: none;
    }

    .section-services .view-footer,
    .section-services .more-link,
    .section-services .services-btn-wrap {
        margin-top: 10px;
        padding-bottom: 10px;
        text-align: left;
        align-self: stretch;
        width: 160%;
    }

    .section-services .view-footer a,
    .section-services .more-link a,
    .section-services .services-btn-wrap a {
        width: 30%;
        max-width: 30%;
        font-size: 12px;
        padding: 8px 4px;
    }

    .section-services .view .views-row .field--type-link a,
    .section-services .view .views-row .node__links a,
    .section-services .view .views-row a {
        font-size: 14px;
    }

    .section-about .field--type-link {
        text-align: left;
        width: 60%;
        display: flex;
        justify-content: flex-start;
    }

    .wrapper_catalog .view-footer,
    .wrapper_catalog .more-link {
        text-align: left;
        width: 100%;
        margin-bottom: 30px;
    }

    .wrapper_catalog .views-row .catalog-buttons,
    .wrapper_catalog .views-row .node__links {
        text-align: left;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    /* Исключение: ряд commerce + nothing без лишнего flex */
    .wrapper_catalog .views-row:not(:has(> .views-field-view-commerce-product)) > :is(.views-field-nothing, [class*="views-field"][class*="nothing"]),
    .wrapper_catalog .views-row:not(:has(> .views-field-nothing)):not(:has(> [class*="views-field"][class*="nothing"])) > .views-field-view-commerce-product {
        text-align: left;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        width: auto;
        flex: 0 0 auto;
        max-width: 100%;
    }

    .wrapper_catalog .views-row .catalog-buttons,
    .wrapper_catalog .views-row .node__links,
    .wrapper_catalog .views-row .links {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    /* Преимущества ≤574px: порядок и сетка */
    .section-benefits .view > .view-content,
    .section-benefits .view-content {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 24px 12px;
    }

    .section-benefits .view > .view-content > .views-row:nth-child(1),
    .section-benefits .view-content > .views-row:nth-child(1) {
        order: 4 !important;
    }

    .section-benefits .view > .view-content > .views-row:nth-child(2),
    .section-benefits .view-content > .views-row:nth-child(2) {
        order: 2 !important;
    }

    .section-benefits .view > .view-content > .views-row:nth-child(3),
    .section-benefits .view-content > .views-row:nth-child(3) {
        order: 3 !important;
    }

    .section-benefits .view > .view-content > .views-row:nth-child(4),
    .section-benefits .view-content > .views-row:nth-child(4) {
        order: 1 !important;
    }

    .section-benefits .view-content > ul {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 24px 12px;
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .section-benefits .view-content > ul > li:nth-child(1) {
        order: 4 !important;
    }

    .section-benefits .view-content > ul > li:nth-child(2) {
        order: 2 !important;
    }

    .section-benefits .view-content > ul > li:nth-child(3) {
        order: 3 !important;
    }

    .section-benefits .view-content > ul > li:nth-child(4) {
        order: 1 !important;
    }

    /* Преимущества ≤574: одна вертикальная ось */
    .section-benefits .views-row {
        width: 100%;
        max-width: 420px;
        min-width: 0;
        padding: 4px;
        align-items: center !important;
        text-align: center;
    }

    .section-benefits .views-row .views-field-title,
    .section-benefits .views-row .views-field-field-title,
    .section-benefits .views-row .views-field-node-title,
    .section-benefits .views-row .views-field-body,
    .section-benefits .views-row .views-field:has(.field--name-body) {
        max-width: 100% !important;
        width: 100% !important;
        align-self: stretch !important;
        box-sizing: border-box;
    }

    .section-benefits .views-row .views-field .field-content {
        align-items: center !important;
        text-align: center !important;
    }

    .section-benefits .views-row .views-field-field-icon {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        align-self: stretch !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 8px !important;
        padding: 0 !important;
        float: none !important;
    }

    .section-benefits .views-row .views-field-field-icon .views-label {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .section-benefits .views-row .views-field-field-icon .views-label:empty {
        display: none !important;
    }

    .section-benefits .views-row .views-field-field-icon .field-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        align-self: stretch !important;
    }

    .section-benefits .views-row .views-field-field-icon .field--type-image,
    .section-benefits .views-row .views-field-field-icon .field--name-field-icon {
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .section-benefits .views-row .views-field-field-icon .field__item,
    .section-benefits .views-row .views-field-field-icon .field--type-image .field__item,
    .section-benefits .views-row .views-field-field-icon .field--name-field-icon .field__item {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        text-align: center !important;
    }

    .section-benefits .views-row .views-field-field-icon img,
    .section-benefits .views-row .views-field-field-icon svg {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
        object-position: center center;
    }

    .section-benefits .views-row .views-field-field-icon a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .section-benefits .view-content > ul > li .views-field-field-icon,
    .section-benefits .view-content > ul > li .views-field-field-icon .field-content,
    .section-benefits .view-content > ul > li .views-field-field-icon .field__item {
        width: 100% !important;
        max-width: 100% !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .section-benefits .views-row h2,
    .section-benefits .views-row h3,
    .section-benefits .views-row .node__title,
    .section-benefits .views-row .field--name-title,
    .section-benefits .views-row .views-field-title {
        font-size: 18px;
        line-height: normal;
        text-align: center;
    }

    .section-benefits .views-row .views-field-title .field-content {
        font-size: 14px;
        text-align: center;
    }

    .section-benefits .views-row .field--name-body,
    .section-benefits .views-row .views-field-body,
    .section-benefits .views-row .views-field-body .field-content,
    .section-benefits .views-row .views-field-body .field-content p,
    .section-benefits .views-row .views-field-body .field-content span {
        font-size: 14px !important;
        font-family: var(--font-body) !important;
        line-height: normal !important;
        text-align: center !important;
    }

    .section-benefits .views-row img {
        width: 40px;
        height: 40px;
    }

    .section-gallery .views-row .item-list ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-gallery .views-row .item-list ul li {
        flex: 0 0 calc(50% - 4px);
        width: calc(50% - 4px);
        display: flex;
        justify-content: center;
    }

    .section-gallery .views-row img {
        width: 160px;
        height: 260px;
        object-fit: cover;
    }

    .section-feedback + .section-gallery {
        padding-top: 10px;
    }

    .section-gallery .view-footer,
    .section-gallery .more-link {
        margin-bottom: 5px;
    }

    .section-gallery .view-footer a,
    .section-gallery .more-link a {
        min-width: 100px;
        font-size: 12px;
        padding: 4px 8px;
    }

    .wrapper_catalog .view-footer a,
    .wrapper_catalog .more-link a {
        max-width: 180px;
        font-size: 12px;
        margin: 0 auto;
    }

    .footer-bottom span,
    .footer-bottom a {
        font-size: 12px;
    }

    .wrapper_catalog--page,
    .gallery-page {
        padding: 10px 0 10px;
    }

    .section-feedback {
        padding: 72px 0 90px;
    }

    .section-feedback .ds-2col .group-left,
    .section-feedback .ds-2col .group-right,
    .section-feedback .block-content > .field--name-body {
        max-width: 594px;
    }

    .section-feedback form {
        max-width: 594px;
    }

    .section-feedback .block > .block-title,
    .section-feedback .block > h2 {
        margin: 0 0 10px;
    }

    .section-feedback .form-actions .btn,
    .section-feedback .form-actions .form-submit,
    .section-feedback .form-actions .webform-button--submit {
        padding: 10px 50px;
        font-size: 13px;
    }

    .section-feedback .form-actions {
        margin-bottom: 20px;
    }

    .pager {
        flex-wrap: wrap;
        gap: 3px;
        margin-top: 15px;
    }

    .pager__item a,
    .pager__item span {
        min-width: 28px;
        height: 28px;
        padding: 0 4px;
        font-size: 12px;
        border-radius: 3px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        row-gap: 10px;
        margin-bottom: 10px;
    }

    .footer-col--brand {
        width: 100%;
        text-align: center;
    }

    .footer-col--contacts {
        width: 100%;
        text-align: center;
    }

    .footer-contacts-list {
        align-items: center;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-contact-item a,
    .footer-contact-item span {
        font-size: 12px;
    }

    .footer-contact-item--phone a {
        white-space: normal;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-logo {
        display: block;
        text-align: center;
        padding-top: 10px;
    }

    .footer-logo img {
        max-height: 50px;
        transform: scale(0.7);
        transform-origin: center center;
    }

    #footer {
        padding: 10px 0 10px;
    }

    .pager__item--first,
    .pager__item--last {
        display: none;
    }

    .section-feedback .feedback-decor--1,
    .section-feedback .feedback-decor--2 {
        display: none;
    }

    .photogallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya.field__items,
    .node--type-photogallery.node--view-mode-full .field--name-field-gallery .item-list ul,
    .node--type-photogallery.node--view-mode-full .field--name-field-galereya .item-list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-page .ds-2col,
    .about-page .ds-2col-stacked {
        flex-direction: column;
        gap: 10px;
    }

    .about-page .group-left {
        width: 100%;
        flex: none;
    }

    .about-page .group-right {
        width: 100%;
        padding-top: 0;
    }

    .about-page .field--name-body,
    .about-page .field--name-body p {
        column-count: 1;
        font-size: 12px;
    }

    .about-page .group-left img {
        max-height: 200px;
        width: auto;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    .about-page .group-right h2.node__title,
    .about-page .group-right h1,
    .about-page .group-right .field--name-node-title,
    .about-page .group-right .field--name-node-title h2 {
        font-size: 18px;
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .header-phone__info a:first-child {
        font-size: 14px;
    }

    .header-phone__info a {
        font-size: 12px;
    }

    

    .wrapper_catalog .views-row .catalog-buttons a,
    .wrapper_catalog .views-row .node__links a,
    .wrapper_catalog .views-row .links a,
    .wrapper_catalog .views-row .views-field-nothing a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog .views-row .btn-more {
        font-size: 12px;
        padding: 4px 5px;
        height: 32px;
        min-width: 0;
    }

    /* Две кнопки в ряд: равная ширина */
    .wrapper_catalog .views-row .catalog-buttons a,
    .wrapper_catalog .views-row .node__links a,
    .wrapper_catalog .views-row .links a {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    /* nothing: второстепенные ссылки, не кнопки commerce */
    .wrapper_catalog .views-row .views-field-nothing a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link) {
        max-width: 100px;
        flex: none;
        box-sizing: border-box;
    }

    .wrapper_catalog .view-footer a,
    .wrapper_catalog .more-link a {
        text-align: left;
    }

    .section-benefits {
        padding: 0 0;
    }

    .gallery-page .views-row .node-readmore a,
    .gallery-page .views-row .node__links a,
    .gallery-page .views-row .field--name-node-link a,
    .gallery-page .views-row a.btn-outline-primary,
    .gallery-page .btn-outline-primary,
    .node--type-photogallery.node--view-mode-teaser .field--name-node-link a.btn {
        min-width: 0;
        max-width: 140px;
        font-size: 14px;
        padding: 6px 6px;
        height: auto;
    }

    .modal-content {
        transform: scale(0.75);
        transform-origin: center center;
    }

    .modal-header {
        padding: 12px 16px;
    }

    .modal-header .modal-title,
    .modal-header h5 {
        font-size: 14px;
    }

    .modal-body {
        padding: 16px;
    }

    .modal-body .form-item {
        margin-bottom: 10px;
    }

    .modal-body label,
    .modal-body .form-item label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .modal-body .form-text,
    .modal-body .form-email,
    .modal-body .form-tel,
    .modal-body .form-textarea,
    .modal-body input[type="text"],
    .modal-body input[type="email"],
    .modal-body input[type="tel"],
    .modal-body textarea,
    .modal-body select {
        padding: 6px 10px;
        font-size: 13px;
    }

    .modal-body .form-submit,
    .modal-body .webform-button--submit,
    .modal-body button[type="submit"] {
        padding: 8px 24px;
        font-size: 13px;
    }

    .wrapper_catalog--page .views-row .field--name-field-gabarity,
    .wrapper_catalog--page .views-row .views-field-field-gabarity,
    .wrapper_catalog--page .views-row .field--name-body,
    .wrapper_catalog--page .views-row .views-field-body {
        display: none;
    }

    .wrapper_catalog--page .views-row .views-field-nothing,
    .wrapper_catalog--page .views-row .views-field-view-commerce-product,
    .wrapper_catalog--page .block-views .views-row .views-field-nothing,
    .wrapper_catalog--page .block-views .views-row .views-field-view-commerce-product,
    .wrapper_catalog--page .views-row .catalog-buttons,
    .wrapper_catalog--page .views-row .node__links,
    .wrapper_catalog--page .views-row .links {
        display: flex;
        justify-content: flex-start;
        width: auto;
        text-align: left;
    }

    /* Страница категории: ссылки в nothing, отдельно от commerce */
    .wrapper_catalog--page .views-row .views-field-nothing a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog--page .block-views .views-row .views-field-nothing a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link),
    .wrapper_catalog--page .views-row .catalog-buttons a,
    .wrapper_catalog--page .views-row .node__links a,
    .wrapper_catalog--page .views-row .links a {
        font-size: 12px;
        padding: 4px;
        height: auto;
        text-align: center;
    }

    .wrapper_catalog--page .views-row .views-field-title a,
    .wrapper_catalog--page .views-row .views-field-name a,
    .wrapper_catalog--page .views-row .node__title a,
    .wrapper_catalog--page .views-row h2 a,
    .wrapper_catalog--page .views-row h3 a {
        font-size: 13px;
        padding: 4px 9px;
        height: auto;
    }

    .wrapper_catalog--listing .views-row .views-field-name a,
    .wrapper_catalog--listing .views-row .views-field-title a,
    .wrapper_catalog--listing .views-row h3 a {
        font-size: 12px;
        padding: 5px 10px;
        height: auto;
        text-align: center;
    }

    /* Контакты: типографика */
    .contacts-page h1 {
        font-size: 18px;
    }

    .contacts-grid {
        gap: 10px;
        margin-top: 10px;
    }

    .contacts-list {
        gap: 10px;
    }

    .contacts-item {
        gap: 10px;
    }

    .contacts-item__icon {
        width: 40px;
        height: 40px;
    }

    .contacts-item__icon svg {
        width: 20px;
        height: 20px;
    }

    .contacts-item__label {
        font-size: 12px;
    }

    .contacts-item__content a,
    .contacts-item__content span {
        font-size: 14px;
    }

    .contacts-item--phone .contacts-item__content a {
        font-size: 14px;
    }

    .contacts-social {
        gap: 10px;
        margin-top: 10px;
        padding-top: 20px;
    }

    .contacts-social a {
        width: 36px;
        height: 36px;
    }

    .contacts-social a svg {
        width: 19px;
        height: 19px;
    }

    .contacts-map {
        min-height: 200px;
    }

    .contacts-map iframe {
        min-height: 200px;
    }

    .field--name-body.field--type-text-with-summary {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .wrapper_catalog .block + .block {
        margin-top: 10px;
    }

    .wrapper_catalog .block-title,
    .wrapper_catalog .block-views > .block-title,
    .wrapper_catalog .block-views > h2 {
        font-size: 14px;
    }

    .wrapper_catalog .views-row :is(.catalog-buttons, .node__links, .links) {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        margin: 5px 0 0;
        padding: 0;
        justify-content: flex-start;
    }

    .wrapper_catalog .views-row:not(:has(> .views-field-view-commerce-product)) > :is(.views-field-nothing, [class*="views-field"][class*="nothing"]),
    .wrapper_catalog .views-row:not(:has(> .views-field-nothing)):not(:has(> [class*="views-field"][class*="nothing"])) > .views-field-view-commerce-product {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: auto;
        flex: 0 0 auto;
        max-width: 100%;
        margin: 5px 0 0;
        padding: 0;
        justify-content: flex-start;
    }

    .wrapper_catalog .views-row:not(:has(> .views-field-view-commerce-product):has(> .views-field-nothing)):not(:has(> .views-field-view-commerce-product):has(> [class*="views-field"][class*="nothing"])) :is(.views-field-nothing + .views-field-view-commerce-product, .views-field-view-commerce-product + .views-field-nothing, [class*="views-field"][class*="nothing"] + .views-field-view-commerce-product, .views-field-view-commerce-product + [class*="views-field"][class*="nothing"]) {
        margin-left: 5px;
    }

    /* Каталог: отступ заголовка ≤574px */
    .wrapper_catalog .block-block-content > h2,
    .wrapper_catalog .block-block-content > .block-title,
    .wrapper_catalog .block-block-content h2.block-title,
    .wrapper_catalog .block.block-block-content .block-title,
    .wrapper_catalog .block.block-block-content > h2 {
        margin: 0 0 20px !important;
    }

    .wrapper_catalog .block-block-content .field--name-node-title,
    .wrapper_catalog .block-block-content .group-left .field--name-node-title,
    .wrapper_catalog .block-block-content .ds-2col .group-left h2 {
        margin: 0 0 20px !important;
    }
}

/* Услуги (главная): правая колонка и body */
@media screen and (min-width: 360px) and (max-width: 574px) {
    .section-services:not(.section-services--page) .ds-2col .group-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
    }

    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body,
    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body.field__item,
    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body .field__item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .region-services .ds-2col .group-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
    }

    .region-services .ds-2col .group-right .field--name-body,
    .region-services .ds-2col .group-right .field--name-body .field__item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .section-services .view .views-field .field-content,
    .region-services .view .views-field .field-content {
        min-height: 180px;
    }
}

/* О нас: group-right на всю ширину */
@media screen and (min-width: 360px) and (max-width: 574px) {
    .section-about .ds-2col,
    .section-about .ds-2col-stacked,
    .section-about .view-content,
    .section-about article {
        align-items: stretch;
    }

    .section-about .group-right {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        align-self: stretch;
        box-sizing: border-box;
    }

    .section-about .group-right h2.node__title,
    .section-about .group-right h1,
    .section-about .group-right h2,
    .section-about .node__title,
    .section-about .group-right .field--name-node-title,
    .section-about .group-right .field--name-node-title h2,
    .section-about .group-right .field--name-node-title .field__item,
    .section-about .group-right > h2:first-child {
        max-width: 100%;
    }

    .section-about .field--name-body,
    .section-about .field--name-body p,
    .section-about .field--name-body .field__item,
    .section-about .field--name-body .field__item p,
    .section-about .views-row .field--name-body,
    .section-about .views-row .field--name-body p,
    .section-about .views-row .field--name-body .field__item p,
    .section-about .group-right .field--name-body,
    .section-about .group-right .field--name-body p,
    .section-about .group-right .field--name-body .field__item p,
    .section-about .node--type-about .field--name-body,
    .section-about .node--type-about .field--name-body p,
    .section-about article .field--name-body,
    .section-about article .field--name-body p {
        max-width: 100%;
    }

    .section-about .field--type-link a {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Услуги (главная) */
@media screen and (min-width: 575px) and (max-width: 767px) {
    .section-services:not(.section-services--page) .ds-2col .group-right,
    .region-services .ds-2col .group-right {
        padding-top: 0;
    }

    .section-services .view-footer a,
    .section-services .more-link a,
    .section-services .services-btn-wrap a {
        display: inline-block;
        justify-content: unset;
        align-items: unset;
        gap: unset;
    }

    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body,
    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body .field__item,
    .section-services:not(.section-services--page) .ds-2col .group-right .field--name-body p,
    .region-services .ds-2col .group-right .field--name-body,
    .region-services .ds-2col .group-right .field--name-body .field__item,
    .region-services .ds-2col .group-right .field--name-body p {
        font-size: 16px;
    }

    .region.region-services {
        margin-bottom: 0;
    }

    .region.region-services .block-block-content {
        margin-bottom: 0;
    }

    .section-services .view .view-content {
        margin-bottom: 0;
    }

    .section-services:not(.section-services--page) {
        padding: 0;
    }
}

/* Каталог (главная): подпись под заголовком в body */
@media screen and (min-width: 575px) and (max-width: 767px) {
    .wrapper_catalog .block-block-content .field--name-body .field__item > p:first-of-type {
        text-align: center;
    }

    .wrapper_catalog .block-block-content .field--name-body .field__item > p:first-of-type > span:first-child {
        text-align: left;
    }

    /* Каталог: подпись под заголовком */
    .wrapper_catalog .block-block-content .field--name-body .field__item > p:first-of-type span:not(:first-child),
    .wrapper_catalog .block-block-content .field--name-body .field__item > p:nth-of-type(2) {
        margin-bottom: 0 !important;
    }
}

/* Каталог на главной: интро по центру, 360–574px */
@media screen and (min-width: 360px) and (max-width: 574px) {
    .wrapper_catalog .block-block-content,
    .wrapper_catalog .block-block-content .block-content,
    .wrapper_catalog .block-block-content .ds-2col,
    .wrapper_catalog .block-block-content .group-left,
    .wrapper_catalog .block-block-content .group-right,
    .wrapper_catalog .block-block-content .field--name-body,
    .wrapper_catalog .block-block-content .field--name-body .field__item {
        text-align: center !important;
    }

    .wrapper_catalog .block-block-content .field--name-body p,
    .wrapper_catalog .block-block-content .field--name-body .field__item p {
        text-align: center !important;
    }

    .wrapper_catalog .block-block-content .field--name-body p span:first-child {
        display: block;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* Карточки каталога: padding 0, высота контента кнопок */
    .wrapper_catalog .views-row {
        padding: 0;
    }

    .wrapper_catalog .views-row .views-field-view-commerce-product .field-content {
        min-height: 0;
    }

    .wrapper_catalog .views-row .views-field.views-field-price__number {
        margin-bottom: 6px;
    }
}

/* ≤574px: заголовки каталога */
@media screen and (max-width: 574px) {
    .wrapper_catalog .view > h2,
    .wrapper_catalog .view-header h2,
    .wrapper_catalog .view > .view-header,
    .wrapper_catalog .block-views > h2,
    .wrapper_catalog .block-views > .block-title,
    .wrapper_catalog .block-views h2,
    .wrapper_catalog .block-views .block-title {
        margin: 0 0 20px !important;
    }

    /* Каталог: подкатегории, текст карточки влево */
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row {
        text-align: left !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row .views-field-name,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row .views-field-title,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row h3,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row .views-field-name,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row .views-field-title,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row h3 {
        text-align: left !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row .views-field-name a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row .views-field-title a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--listing .views-row h3 a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row .views-field-name a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row .views-field-title a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--listing .views-row h3 a {
        display: inline-flex !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .field--name-body,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .views-field-body,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .field--name-body,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .views-field-body {
        display: block !important;
    }

    /* Commerce-поля: не ломать 50/50 */
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .node__links,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .links,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .node__links,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .links {
        display: flex !important;
        justify-content: flex-start !important;
        width: 100% !important;
        text-align: left !important;
        margin: 5px 0 0 !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .node__links,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .links,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .node__links,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .links {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .node__links a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .links a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .node__links a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .links a {
        font-size: 12px !important;
        padding: 4px 5px !important;
        height: 32px !important;
        min-width: 0 !important;
        text-align: center !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .node__links a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .links a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .catalog-buttons a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .node__links a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .links a {
        flex: 1 1 0 !important;
        width: auto !important;
    }

    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .views-field-title a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .views-field-name a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row .node__title a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row h2 a,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog--page .views-row h3 a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .views-field-title a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .views-field-name a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row .node__title a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row h2 a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog--page .views-row h3 a {
        font-size: 12px !important;
        padding: 4px 5px !important;
        height: auto !important;
    }

    /* Кнопка «Купить» в catalog-buttons */
    body.path-catalog-bytovye-kondicionery .wrapper_catalog .views-row .catalog-buttons .btn-buy,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog .views-row .node__links .btn-buy,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog .views-row .links .btn-buy,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog .views-row .catalog-buttons a:last-child,
    body.path-catalog-bytovye-kondicionery .wrapper_catalog .views-row .node__links li:last-child a,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog .views-row .catalog-buttons .btn-buy,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog .views-row .node__links .btn-buy,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog .views-row .links .btn-buy,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog .views-row .catalog-buttons a:last-child,
    body.path-catalog-promyshlennye-kondicionery .wrapper_catalog .views-row .node__links li:last-child a {
        margin-left: -1px;
    }

    /* Промышленные: цена 16px */
    body[class*="path-catalog-promyshlennye-kondicionery"] .wrapper_catalog .views-row .field--name-field-cena,
    body[class*="path-catalog-promyshlennye-kondicionery"] .wrapper_catalog .views-row .field--name-price,
    body[class*="path-catalog-promyshlennye-kondicionery"] .wrapper_catalog .views-row .product--variation-field--variation-price,
    body[class*="path-catalog-promyshlennye-kondicionery"] .wrapper_catalog .views-row [class*="views-field"][class*="price"] {
        font-size: 16px;
    }

    body[class*="path-catalog-promyshlennye-kondicionery"] article.product-view-full .product-price-block .field--name-price,
    body[class*="path-catalog-promyshlennye-kondicionery"] article.product-view-full .product-price-block .product--variation-field--variation-price,
    body[class*="path-catalog-promyshlennye-kondicionery"] article.product-view-full .product-price-block .field--type-commerce-price,
    body[class*="bytovye-kondicionery-na-glavnuyu"] article.product-view-full .product-price-block .field--name-price,
    body[class*="bytovye-kondicionery-na-glavnuyu"] article.product-view-full .product-price-block .product--variation-field--variation-price,
    body[class*="bytovye-kondicionery-na-glavnuyu"] article.product-view-full .product-price-block .field--type-commerce-price {
        font-size: 16px;
    }

    /* /catalog: заголовок карточки категории */
    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row .views-field-name,
    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row .views-field-title,
    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row h3 {
        font-size: 13px !important;
    }

    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row .views-field-name a,
    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row .views-field-title a,
    :is(body.vesta-path-catalog, body.path-catalog) .wrapper_catalog--listing .views-row h3 a {
        font-size: 13px !important;
    }
}

/* Услуги: карточки (медиа) */
#main .section-services .view .views-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
}

#main .section-services .view .views-row .field--type-link,
#main .section-services .view .views-row .node__links,
#main .section-services .view .views-row .links,
#main .section-services .view .views-row .field--name-field-link {
    text-align: left;
    justify-content: flex-start;
    align-self: flex-start;
}

#main .section-services .view .views-row .field--type-link a,
#main .section-services .view .views-row .node__links a,
#main .section-services .view .views-row .links a,
#main .section-services .view .views-row .field--name-field-link a {
    display: inline-block;
    text-align: left;
}

/* Услуги /uslugi: сетка карточек */
body.path-uslugi .section-services .view .views-row {
    max-width: none;
    align-items: stretch;
    min-width: 0;
    overflow: visible;
}

/* Услуги /uslugi: ≤991px — масштаб 90%, заголовки */
@media screen and (max-width: 991px) {
    body.path-uslugi .section-services .view .views-row { font-size: 90%; }
    body.path-uslugi .section-services .view .views-row :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"]),
    body.path-uslugi .section-services .view .views-row :is(h2, h3, .node__title, .field--name-node-title) a {
        font-size: calc(24px * 0.9);
    }
}
@media screen and (max-width: 767px) {
    body.path-uslugi .section-services .view .views-row :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"]),
    body.path-uslugi .section-services .view .views-row :is(h2, h3, .node__title, .field--name-node-title) a {
        font-size: calc(18px * 0.9);
    }
    /* Услуги /uslugi: ≤767px — плотнее типографика */
    body.path-uslugi .section-services .view .views-row :is(h2, h3, .node__title, .field--name-title, .field--name-node-title, [class*="views-field-title"]) {
        line-height: 1.12;
        margin-bottom: 12px;
    }
    body.path-uslugi .section-services .view .views-row .field--name-body {
        line-height: 1.45;
    }
    body.path-uslugi .section-services .view .views-row .field--name-body :is(p, li) {
        margin-top: 0.35em;
        margin-bottom: 0.35em;
    }
}

/* Каталог: 992–1199px */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    :is(body.vesta-path-catalog, body[class*="path-catalog"]) .wrapper_catalog--page .block-views .view-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    /* Карточки одной высоты, кнопки снизу */
    .wrapper_catalog .view-content,
    .wrapper_catalog--page .block-views .view-content {
        align-items: stretch;
    }

    /* flex-wrap: кнопки в ряд */
    .wrapper_catalog .views-row,
    .wrapper_catalog--page .block-views .views-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        align-items: stretch;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
    }

    .wrapper_catalog .views-row > .views-field-view-commerce-product,
    .wrapper_catalog .views-row > .views-field-nothing,
    .wrapper_catalog .views-row > [class*="views-field"][class*="nothing"],
    .wrapper_catalog--page .block-views .views-row > .views-field-view-commerce-product,
    .wrapper_catalog--page .block-views .views-row > .views-field-nothing,
    .wrapper_catalog--page .block-views .views-row > [class*="views-field"][class*="nothing"] {
        flex: 1 1 calc(50% - 5px);
        max-width: calc(50% - 5px);
        min-width: 0;
    }

    .wrapper_catalog--page .block-views .views-row > .views-field-view-commerce-product,
    .wrapper_catalog--page .block-views .views-row > .views-field-nothing,
    .wrapper_catalog--page .block-views .views-row > [class*="views-field"][class*="nothing"] {
        flex: 1 1 calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
    }

    .wrapper_catalog .views-row:has(> .views-field-view-commerce-product):has(> .views-field-nothing) > .views-field-nothing:has(+ .views-field-view-commerce-product),
    .wrapper_catalog .views-row:has(> .views-field-view-commerce-product):has(> .views-field-nothing) > .views-field-view-commerce-product:has(+ .views-field-nothing),
    .wrapper_catalog .views-row:has(> .views-field-view-commerce-product):has(> [class*="views-field"][class*="nothing"]) > [class*="views-field"][class*="nothing"]:has(+ .views-field-view-commerce-product),
    .wrapper_catalog .views-row:has(> .views-field-view-commerce-product):has(> [class*="views-field"][class*="nothing"]) > .views-field-view-commerce-product:has(+ [class*="views-field"][class*="nothing"]),
    .wrapper_catalog--page .block-views .views-row:has(> .views-field-view-commerce-product):has(> .views-field-nothing) > .views-field-nothing:has(+ .views-field-view-commerce-product),
    .wrapper_catalog--page .block-views .views-row:has(> .views-field-view-commerce-product):has(> .views-field-nothing) > .views-field-view-commerce-product:has(+ .views-field-nothing),
    .wrapper_catalog--page .block-views .views-row:has(> .views-field-view-commerce-product):has(> [class*="views-field"][class*="nothing"]) > [class*="views-field"][class*="nothing"]:has(+ .views-field-view-commerce-product),
    .wrapper_catalog--page .block-views .views-row:has(> .views-field-view-commerce-product):has(> [class*="views-field"][class*="nothing"]) > .views-field-view-commerce-product:has(+ [class*="views-field"][class*="nothing"]) {
        margin-top: auto;
    }

    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .catalog-buttons,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .node__links,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .links {
        flex-wrap: wrap;
    }

    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .catalog-buttons a,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .catalog-buttons a:first-child,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .catalog-buttons a:last-child,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .node__links a,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .node__links li:first-child a,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .node__links li:last-child a,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .links a,
    html body:is(.vesta-path-catalog, [class*="path-catalog"], [class*="path-alias--catalog"]) #main .wrapper_catalog .views-row .views-field-nothing a:not(.btn-buy):not(.use-ajax):not(.button--add-to-cart):not([href*="/form/callback"]):not(.product-teaser__card-link) {
        flex: none;
        width: 120px;
        height: 43px;
        font-size: 14px;
    }

    /* Карточка каталога (DS): ряд цен */
    .wrapper_catalog .product-teaser__price-row .field__item,
    .wrapper_catalog .product-teaser__price-row .field--type-commerce-price .field__item {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        line-height: 1.25;
    }

    .wrapper_catalog .product-teaser__price-row img,
    .wrapper_catalog .product-teaser__price-row svg {
        flex-shrink: 0;
        align-self: center;
        vertical-align: middle;
    }

    .wrapper_catalog .product-teaser__price-row .col-old-price {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
    }
}
