/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/
/* Examples (uncomment to use):*/
/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */
/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }
/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.status-icon.5d010d0c18e1226ea59dcc26d73fff38 {
    color: #ff0000 !important;
}

.banners-big__title {
    font-size: 38px;
}

.index-block__title {
    font-size: 38px;
}

.stop-height {
    margin: 60px 0 50px;
    border-left: 2px solid;
}

.stop-height-item {
    position: relative;
    margin-bottom: 40px;
}

.stop-height-item .input {
    position: relative;
    top: -33px;
    padding-right: 10px;
}

.stop-height-item .form-control {
    max-width: 130px;
}

.stop-height-item .input-unit {
    position: absolute;
    top: 50%;
    left: 88px;
    margin-top: -.85em;
    font-weight: bold;
}

.stop-height-floor-wrap {
    padding-right: 30px;
}

.stop-height-floor {
    padding: 7px 15px;
    height: 34px;
    font-size: 16px;
    line-height: 1em;
    font-weight: bold;
    text-align: center;
    border: 2px solid;
    border-left: none;
}

.stop-height-floor:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 15px;
    width: 100%;
    border-bottom: 1px dashed;
}

.stop-height-num {
    position: absolute;
    bottom: 34px;
    right: 30px;
    width: 25px;
    height: 25px;
    font-size: 13px;
    line-height: 20px;
    font-weight: bold;
    text-align: center;
    background-color: #FFFFFF;
    border: 2px solid;
    border-radius: 50%;
}

.stop-height-first {
    margin-bottom: 0;
}

.stop-height-first .stop-height-floor {
    padding: 0;
    border: none;
    border-bottom: 2px solid;
}

.stop-height-first .stop-height-floor:after {
    top: auto;
    bottom: 0;
}

.stop-height-first .stop-height-num {
    bottom: 2px;
}

.stop-height-first .input {
    top: 1px;
}

.stop-height-only .input {
    top: 0;
}

.stop-height-arrow {
    position: absolute;
    bottom: 0;
    right: 8px;
    height: 108px;
    border-left: 1px solid;
}

.stop-height-arrow:before,
.stop-height-arrow:after {
    content: '';
    display: block;
    position: absolute;
    left: -4px;
    border: 4px solid transparent;
}

.stop-height-arrow:before {
    top: -4px;
    border-bottom: 8px solid;
}

.stop-height-arrow:after {
    bottom: -4px;
    border-top: 8px solid;
}

.stop-height-item label.error {
    top: -25px;
    right: auto;
    width: 180px;
}

.opros .stop-height-item .input-inline label.error {
    left: 0;
}

.opros-ral-list {
    max-width: 300px;
}

.opros-ral-color {
    position: relative;
    top: 2px;
    float: right;
    clear: right;
    display: block;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.opros .raltable td {
    cursor: pointer;
    color: #000000;
}

.opros-form-result {
    margin: 0 auto;
    max-width: 700px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.opros-success {
    color: #38AC61;
}

.opros-error {
    margin: 30px 0 10px;
    color: #E02222;
}

.opros-img-check {
    position: relative;
    margin: 30px 0 0;
    text-align: center;
}

.opros-img-check label.error {
    left: 15px;
    right: auto;
}

.opros-img-check .opros-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.opros-img-check .opros-img img {
    margin: 0 20px 0 10px;
    max-width: 600px;
    width: calc(100% - 90px);
}

.montage,
.delivery,
.color,
.anti,
.setting-wall,
.setting-separate {
    color: var(--theme-base-color);
}

.montage::after,
.delivery::after,
.color-question::after,
.setting-wall::after,
.setting-separate::after {
    content: "❔";
}

.anti::before {
    content: "❔";
}

.required-star {
    color: #ff3f3f;
}

.staff-list-inner {}

.staff-list-inner__section {
    margin-top: 41px;
}

.staff-list-inner .staff-list-inner__section:first-child {
    margin-top: 0;
}

.staff-list-inner__section-content {
    margin-bottom: 24px;
}

.staff-list-inner__section-title {
    font-size: 1.73333em;
    line-height: calc(1em + 7px);
    color: #333;
    color: var(--white_text_black);
    margin-bottom: 23px;
}

.staff-list-inner__section-description {}

.staff-list-inner__list {}

.staff-list-inner__item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 36px;
    border: 1px solid #e5e5e5;
    border-color: var(--stroke_black);
}

.staff-list-inner__image-wrapper {
    position: relative;
    margin-right: 35px;
}

.staff-list-inner__image {
    width: 120px;
    height: 120px;
    position: relative;
    vertical-align: top;
    display: inline-block;
}

.staff-list-inner__image-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.staff-list-inner__content-wrapper {
    position: relative;
    width: 100%;
}

.staff-list-inner__top {
    position: relative;
    margin-bottom: 14px;
}

.staff-list-inner__bottom {}

.staff-list-inner__label {
    font-size: 0.86667em;
    line-height: calc(1em + 7px);
    color: #999999;
    margin-bottom: 5px;
}

.staff-list-inner__name {
    font-size: 1.2em;
    line-height: calc(1em + 7px);
    color: #333333;
    color: var(--white_text_black);
    font-weight: bold;
}

.staff-list-inner__properties {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: -19px;
    margin-right: -19px;
    margin-top: -14px !important;
}

.staff-list-inner__property {
    padding: 0 19px;
    margin-top: 14px;
}

.staff-list-inner__property-label {
    font-size: 0.86667em;
    line-height: calc(1em + 7px);
    color: #999999;
}

.staff-list-inner__property-value {}

.staff-list-inner__feedback {
    margin-top: -2px;
}

.staff-list-inner__arrow--mobile {
    display: none;
}

.staff-list-inner__description {
    padding-top: 20px;
}

.staff-list-inner__description p:last-child {
    margin-bottom: 0;
}

.staff-list-inner__list--border-edging .staff-list-inner__item {
    border-radius: 0;
}

.staff-list-inner__list--border-edging .staff-list-inner__wrapper:first-child .staff-list-inner__item {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.staff-list-inner__list--border-edging .staff-list-inner__wrapper:last-child .staff-list-inner__item {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

@media (max-width: 1200px) {
    .staff-list-inner__property--feedback {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .staff-list-inner__item {
        flex-direction: column;
    }

    .staff-list-inner__image-wrapper {
        margin: 0 0 33px 0;
    }

    .staff-list-inner__properties,
    .staff-list-inner__properties.line-block {
        align-items: flex-start;
    }

    .staff-list-inner__property {
        margin: 14px 0 0 0;
    }

    .staff-list-inner__property {}

    .staff-list-inner__property--feedback {
        width: 100%;
    }

    .staff-list-inner__property--socials {
        width: 100%;
    }

    .staff-list-inner__socials {
        margin-top: 5px;
    }

    .staff-list-inner__arrow--mobile {
        display: block;
    }

    .staff-list-inner__arrow--desktop {
        display: none;
    }
}

.reviews-info {
    padding: 40px;
    background: linear-gradient(0deg, #fafafa, #fafafa), #ffffff;
    background: var(--black_bg_black);
    border: 1px solid #e5e5e5;
    border-color: var(--stroke_black);
    box-sizing: border-box;
    border-radius: 4px;
    margin-bottom: 40px;
}

.reviews-info__line,
.reviews-info__col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.reviews-info__icon {
    margin-right: 23px;
}

.reviews-info__btn-wrapper {}

.reviews-info__property-value {}

.reviews-info__text {
    margin-top: -6px;
    margin-right: 40px;
}

.reviews-info__text p:last-child {
    margin-bottom: 0;
}

.reviews-info__btn-wrapper--singleton {
    margin: 0;
    padding: 0;
}

@media (max-width: 1200px) {
    .right_block.narrow_Y .reviews-info__line {
        flex-wrap: wrap;
    }

    .right_block.narrow_Y .reviews-info__btn-wrapper {
        margin-right: 0;
        margin-top: 20px;
        margin-left: 64px;
        text-align: left;
    }

    .right_block.narrow_Y .reviews-info__btn-wrapper--singleton {
        margin: 0;
        padding: 0;
    }

    .reviews-info__text {
        margin-right: 0;
    }
}

@media (max-width: 600px) {
    .right_block.narrow_Y .reviews-info__line {
        flex-wrap: wrap;
    }

    .right_block.narrow_Y .reviews-info__btn-wrapper {
        margin-right: 0;
        margin-top: 20px;
        margin-left: 0px;
        text-align: center;
    }

    .right_block.narrow_Y .reviews-info__btn-wrapper--singleton {
        margin: 0;
        padding: 0;
    }

    .reviews-info__text {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .reviews-info__line {
        flex-wrap: wrap;
    }

    .reviews-info__btn-wrapper {
        margin-right: 0;
        margin-top: 20px;
        margin-left: 64px;
        text-align: left;
    }

    .reviews-info__text {
        margin-right: 0;
    }
}

@media (max-width: 600px) {

    .reviews-info__col,
    .reviews-info__line {
        flex-direction: column;
    }

    .reviews-info {
        padding: 38px 26px 35px;
    }

    .reviews-info__icon {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }

    .reviews-info__text {
        margin-right: 0;
    }

    .reviews-info__btn-wrapper {
        margin-right: 0;
        margin-top: 20px;
        margin-left: 0;
        text-align: center;
    }

    .reviews-info__line {
        flex-direction: column;
    }
}

.tizers-list__item-image-wrapper--PICTURES {
    border-radius: unset;
}

.sections-list .sections-list__item-image.rounded {
    border-radius: unset;
}

.href-links li {
    display: inline;
    padding: 15px;
    list-style: none;
}

.href-links li a {
    border-bottom: 1px dotted;
}

.href-links li a:hover {
    border-bottom: 1px solid;
}

.href-links li:before {
    content: unset;
}

.types .bordered.tizers {
    border: none;
}

.types .tizers-list .tizers-list__item-image-wrapper--ICONS {
    width: 80px;
    height: 40px;
}

/*maim menu customize*/
.header-menu__item--wide .header-menu__dropdown-item {
    align-items: center;
}

.header-menu__dropdown-item-img {
    height: 150px;
}

.header-menu__dropdown-item-img-inner {
    height: 150px;
}

.header-menu__dropdown-item-img-inner img {
    width: 200px;
}

.header-menu__dropdown-menu--grids {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

@media (max-width: 1589px) {
    .header-menu__dropdown-menu--grids {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 1389px) {
    .header-menu__dropdown-menu--grids {
        grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
    }
}

@media (max-width: 1129px) {
    .header-menu__dropdown-menu--grids {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

.grid-list--items-4 {
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
}

@media (min-width: 769px) and (max-width: 1395px) {
    .grid-list--items-4 {
        grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    }
}

/*svg sections*/
.sections-list__item.inline-svg {
    background: #fff;
    overflow: hidden;
}

.sections-list__item.inline-svg span svg {
    width: auto;
    height: fit-content;
    margin-top: -10%;
}

.header-menu__dropdown-item-img-inner a svg {
    width: 180px;

}

/* Базовая карточка — используем стили project-list__item, но с возможностью переопределения */
.questionnaire-card {
    background: var(--card_bg_black, #fff);
    border: 1px solid var(--stroke_black, #e5e5e5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.questionnaire-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--theme-base-color, #9e9e9e);
}

/* Блок изображения (как в project-list__item-image-wrapper) */
.questionnaire-card .project-list__item-image-wrapper {
    position: relative;
    padding-top: 65%;
    /* Соотношение сторон, можно изменить */
    background-color: #f5f5f5;
    overflow: hidden;
}

.questionnaire-card .project-list__item-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.questionnaire-card:hover .project-list__item-image-wrapper img {
    transform: scale(1.05);
}

/* Стикеры (наличие) */
.questionnaire-stickers {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.sticker {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.sticker-warning {
    background-color: #f0ad4e;
}

.sticker-danger {
    background-color: #d9534f;
}

/* Контентная часть */
.questionnaire-card .project-list__item-content {
    padding: 20px;
    position: relative;
}

/* Заголовок модели */
.questionnaire-title {
    margin: 0 0 8px 0;
    font-size: 18px !important;
    line-height: 24px !important;
    font-weight: 700;
}

.questionnaire-title a {
    color: var(--white_text_black, #333);
    text-decoration: none;
}

.questionnaire-title a:hover {
    color: var(--theme-base-color, #16425b);
}

/* Краткое описание */
.questionnaire-description {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px;
    color: var(--light_basic_text_black, #666);
}

/* Список характеристик (такой же, как в каталоге) */
.props-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 20px;
}

.props-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--light_basic_text_black, #666);
}

.props-list li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: var(--theme-base-color, #9e9e9e);
    font-size: 18px;
    line-height: 1;
}

/* Кнопки */
.questionnaire-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.questionnaire-buttons .btn {
    white-space: normal;
    word-break: break-word;
    font-size: 16px;
    line-height: 20px;
    padding: 8px 16px;
}

@media (max-width: 767px) {
    .questionnaire-buttons {
        flex-direction: column;
    }

    .questionnaire-buttons .btn {
        width: 100%;
    }
}

/* Нижняя полоса (как в /types/) */
.questionnaire-card .s-item-bottom-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 66, 91, 0.25);
    backdrop-filter: blur(8px);
    width: 100%;
    cursor: pointer;
    transition: background-color 0.15s ease;
    padding: 0 20px;
    margin-top: 15px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.questionnaire-card .s-item-bottom-line:hover {
    background-color: rgba(0, 0, 0, 0.2);
}

.questionnaire-card .s-item-bottom-line .s-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    height: 60px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
}

.questionnaire-card .s-item-bottom-line .s-right svg {
    display: block;
    width: 24px;
    height: 24px;
}


/* Унификация размеров текста для всех элементов карточки для опросных листов */
.questionnaire-description,
.props-list,
.props-list li,
.questionnaire-buttons .btn,
.questionnaire-card .s-item-bottom-line .s-inner {
    font-size: 16px !important;
    line-height: 20px !important;
}

/* ===== ВЫДЕЛЕНИЕ ССЫЛОК НА СТРАНИЦЕ "СТАТЬ ПАРТНЁРОМ" ===== */
/* Ссылки в любом контенте внутри секций */
.section a:not(.btn):not(.product-card__link):not(.banners-big__title-link):not(.hero-scroll-link) {
    text-decoration: underline !important;
    text-decoration-color: #16425B !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    color: #16425B !important;
    transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

.section a:not(.btn):not(.product-card__link):hover {
    color: #2F668F !important;
    text-decoration-color: #2F668F !important;
}

/* Ссылки в любом контенте внутри блоков под ценой */
.block-with-icon a,
.index-block__preview a,
.accordion-preview a{
    text-decoration: underline !important;
    text-decoration-color: #16425B !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    color: #16425B !important;
	font-weight: 500 !important;
    transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

.block-with-icon a:hover,
.index-block__preview a:hover,
.accordion-preview a:hover {
    color: #2F668F !important;
    text-decoration-color: #2F668F !important;
}

/* Ссылки в серых блоках (index-block--fon) */
.index-block--fon a:not(.btn):not(.product-card__link):not(.banners-big__title-link):not(.hero-scroll-link):not(.color_light) {
    text-decoration: underline !important;

    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;

}

.index-block--fon a:not(.btn):not(.product-card__link):not(.color_light):hover {
    color: #2F668F !important;
    text-decoration-color: #2F668F !important;
}

/* Ссылки в тексте hero */
.hero-text-col a:not(.btn) {
    text-decoration: underline !important;
    text-decoration-color: #16425B !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    color: #16425B !important;
}

.hero-text-col a:not(.btn):hover {
    color: #2F668F !important;
    text-decoration-color: #2F668F !important;
}

/* Ссылки внутри списков (на случай, если .list не перекрыт) */
.list a:not(.btn) {
    text-decoration: underline !important;
    text-decoration-color: #16425B !important;
    text-underline-offset: 2px !important;
    text-decoration-thickness: 1px !important;
    color: #16425B !important;
}

.list a:not(.btn):hover {
    color: #2F668F !important;
    text-decoration-color: #2F668F !important;
}

/* Плавная прокрутка и отступ для фиксированной шапки */
html {
    scroll-padding-top: 100px;
    /* 100px — высота шапки */
    scroll-behavior: smooth;
}

/* Базовые отступы для секций */
.section-padding--default {
    padding-top: 60px;
    padding-bottom: 60px;
}

@media (max-width: 767px) {
    .section-padding--default {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Hero-секция – на всю ширину, контент внутри maxwidth-theme */
.hero-section {
    position: relative;
    background-color: #fff;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.hero-section .maxwidth-theme {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.hero-section .col-md-6 {
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 767px) {
    .hero-section .row {
        display: flex;
        flex-direction: column;
    }

    .hero-image-col {
        order: 1;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .hero-text-col {
        order: 2;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

@media (min-width: 768px) {
    .hero-section .row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .hero-text-col {
        order: 1;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-image-col {
        order: 2;
        padding-left: 0 !important;
        padding-right: 15px !important;
    }

    .hero-scroll-link {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1.5rem 0;
    }
}

.hero-image-col img {
    display: block;
    width: 100%;
    height: auto;
}

/* Текст hero */
.hero-text-col {
    font-family: 'Roboto', sans-serif;
}

.hero-text-col h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .hero-text-col h2 {
        font-size: 2.8rem;
    }
}

.hero-text-col .preamble {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-text-col .preamble {
        font-size: 1.25rem;
    }
}

/* Кнопка-полоса "Подробнее" */
.hero-scroll-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    transition: background-color 0.2s ease;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

.hero-scroll-link:hover {
    background-color: rgba(0, 0, 0, 0.2);
    color: inherit;
}

.hero-scroll-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1700px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.hero-scroll-link span {
    font-size: 1.375rem;
    line-height: 1.5rem;
}

@media (min-width: 576px) {
    .hero-scroll-link span {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }
}

.hero-scroll-link svg {
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(180deg);
    stroke: #fff;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .hero-scroll-link svg {
        width: 2rem;
        height: 2rem;
    }
}

/* Карточки товаров */
.product-card {
    position: relative;
    width: 100%;
    background-color: #000;
    color: #fff;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.7s, opacity 0.7s;
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 20px;
}

.product-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.product-card__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.product-card:hover .product-card__footer {
    background-color: rgba(0, 0, 0, 0.6);
}

.product-card__footer span {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
}

.product-card__footer svg {
    width: 1.25rem;
    height: 1.25rem;
    transform: rotate(90deg);
    stroke: #fff;
}

.product-card__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

@media (min-width: 768px) {
    .product-card {
        aspect-ratio: auto;
        min-height: 330px;
    }
}

@media (min-width: 992px) {
    .product-card {
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 767px) {
    .product-card-col {
        margin-bottom: 1.5rem;
    }
}

/* Серый фон для секций – на всю ширину */
.section.index-block--fon {
    position: relative;
    background-color: transparent;
}

.section.index-block--fon::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -9999px;
    right: -9999px;
    background-color: #f5f5f5;
    z-index: -1;
}

/* Списки с точками – для блоков с классом list-dots */
.list-dots ul,
.list-dots ol {
    list-style-type: disc !important;
    padding-left: 20px !important;
}

.list-dots ul li,
.list-dots ol li {
    list-style-type: disc !important;
    margin-bottom: 8px;
}

.list-dots ul li:before,
.list-dots ol li:before {
    display: none !important;
    /* убираем чёрточку, добавляемую шаблоном */
}

.list-dots ul li p,
.list-dots ol li p {
    display: inline;
    /* если внутри li есть параграф */
}

/* Скругление изображений */
.rounded {
    border-radius: 8px;
    overflow: hidden;
}

/* Вспомогательный класс для вертикального центрирования в рядах */
.align-items-center {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .align-items-center {
        flex-direction: column;
    }
}

/* Контейнер для карточки изображения с соотношением сторон 4:3 */
.image-card {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    /* 4:3 = 3/4 = 75% */
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f0f0f0;
    /* фон на время загрузки */
}

.image-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Усиление контраста текста */
body,
p,
li,
.text,
.preamble,
.content-text,
.section p,
.section li,
.section .preamble {
    color: #222222;
    /* глубокий тёмно-серый */
    font-weight: 400;
    /* нормальная насыщенность */
}

/* Заголовки – максимально чёткие */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: #111111;
    /* почти чёрный */
    font-weight: 600;
    /* полужирный для выразительности */
}

/* ===== ПОЛНЫЙ CUSTOM.CSS ДЛЯ СТРАНИЦЫ ТОВАРА ИНВАПРОМ А1 ===== */
/* Дата: 06.03.2026 */

/* 1. Выравнивание первого блока (ИНВАПРОМ А1) */
.s-detail-page--top-tizer-block-wrapper.s-left-right-block-wrapper {
  align-items: flex-start; /* прижимаем колонки к верху */
}

.s-detail-page--top-tizer-block-wrapper h2 {
  margin-top: 0 !important; /* убираем гигантский отступ */
}

/* Основные изображения в колонках (не иконки) */
.s-left-right-block-wrapper > .s-left > img,
.s-left-right-block-wrapper > .s-right > img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 2. Стили для иконок (.s-icon) */
.s-icon {
  display: block;
  text-align: center; /* для центрирования SVG */
}

/* Растровые изображения (PNG, JPG и др.) занимают всю ширину */
.s-icon img:not([src$=".svg"]):not([data-src$=".svg"]) {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG-иконки сохраняют свои пропорции и не растягиваются */
.s-icon img[src$=".svg"],
.s-icon img[data-src$=".svg"] {
  width: auto;
  height: auto;
  display: inline-block;
  max-width: none; /* можно задать фиксированный размер, если нужно */
}

/* 3. Размеры шрифтов для первого блока (в стиле страницы «Стать партнёром») */
.s-detail-page--top-tizer-block-wrapper .description {
  font-size: 20px !important;
  line-height: 28px !important;
}
.s-detail-page--top-tizer-block-wrapper .s-items-wrapper .s-item .s-title {
  font-size: 20px !important;
  line-height: 28px !important;
}
.s-detail-page--top-tizer-block-wrapper .s-items-wrapper .s-item .s-text {
  font-size: 16px !important;
  line-height: 24px !important;
}

/* 4. Универсальная адаптация для всех двухколоночных блоков */
.s-left-right-block-wrapper {
  display: flex;
  gap: 50px;
}

/* Планшеты (до 991px) – перестраиваем колонки вертикально */
@media (max-width: 991px) {
  .s-left-right-block-wrapper {
    flex-direction: column !important;
    gap: 30px;
  }

  /* Первый блок: картинка сверху, текст снизу */
  .s-detail-page--top-tizer-block-wrapper.s-left-right-block-wrapper {
    flex-direction: column-reverse !important;
  }

  .s-right-image.s-left-right-block-wrapper {
    flex-direction: column-reverse !important;
  }

  .s-left-image.s-left-right-block-wrapper {
    flex-direction: column !important;
  }

  .s-left-right-block-wrapper .s-left,
  .s-left-right-block-wrapper .s-right {
    width: 100% !important;
    flex: none !important;
  }

  .s-left-right-block-wrapper .s-left {
    margin-bottom: 20px;
  }

  /* Явно показываем правую колонку в первом блоке */
  .s-detail-page--top-tizer-block-wrapper .s-right {
    display: block !important;
  }
}

/* Мобильные (до 767px) – дополнительные корректировки */
@media (max-width: 767px) {
  .maxwidth-theme {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .s-left-right-block-wrapper {
    gap: 20px;
  }

  .s-detail-page-block-item-wrapper h2,
  .s-detail-page-block-item-wrapper .drag-block.container h2.index-block__title {
    font-size: 26px !important;
    line-height: 34px !important;
    margin-bottom: 15px;
  }

  .s-detail-page-block-item-wrapper .description,
  .s-detail-page-block-item-wrapper ul.s-items-wrapper-ul li,
  .s-detail-page-block-item-wrapper .drag-block.container .index-block__preview,
  .s-property-FREE_BLOCK_HTML-wrapper ul li {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .s-detail-page-block-item-wrapper .btn {
    font-size: 16px;
    padding: 12px 20px;
    white-space: normal;
  }
}

/* Очень маленькие телефоны (до 480px) */
@media (max-width: 480px) {
  .s-detail-page-block-item-wrapper h2 {
    font-size: 22px !important;
    line-height: 30px !important;
  }
  .s-detail-page-block-item-wrapper .description,
  .s-detail-page-block-item-wrapper ul.s-items-wrapper-ul li {
    font-size: 15px !important;
    line-height: 22px !important;
  }

  .maxwidth-theme {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* 5. Оформление списка с галочками */
.s-items-wrapper-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.s-items-wrapper-ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.s-items-wrapper-ul li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 19px;
  height: 15px;
  background: url('/bitrix/templates/ip/components/bitrix/catalog.element/main5/images/s_detail_page/block1/A1/check_small.svg') center/contain no-repeat;
}

/* 6. Видео-блок */
.s-detail-page--video-block-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 7. Отступы для серого фона */
.s-detail-page-block-item-wrapper-gray {
  padding-top: 40px;
  padding-bottom: 40px;
  margin-bottom: 40px;
  background-color: #F8F8F8;
}
@media (max-width: 767px) {
  .s-detail-page-block-item-wrapper-gray {
    padding-top: 40px;
    margin-bottom: 40px;
  }
}

/* 8. Вертикальные отступы между блоками внутри серого контейнера */
.s-detail-page-block-item-wrapper-gray .s-detail-page-block-item-wrapper {
  margin-bottom: 40px;
}
.s-detail-page-block-item-wrapper-gray .s-detail-page-block-item-wrapper:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .s-detail-page-block-item-wrapper-gray .s-detail-page-block-item-wrapper {
    margin-bottom: 30px;
  }
}
.right_dok .link a {
  display: inline-block;
  padding: 16px; /* пример, как у соседних иконок */
  color: #999999;           /* цвет обводки в обычном состоянии */
  transition: color 0.2s;   /* плавное изменение */
}
.right_dok .link a:hover {
  color: #ffffff;            /* цвет обводки при наведении (должен быть контрастным к фону) */
  }