a:hover {color: #212529;}

.product-item-image-slider-slide-container>.active {
    background-color: transparent
}

/* container */
.cat-section-container {
    padding: 0 30px;
}
    @media (max-width: 1000px) {
        .cat-section-container {
            padding: 0;
        }
    }

    .product-item-detail-tabs-container-fixed,
    .product-item-detail-tabs-container-fixed.active,
    .product-item-detail-short-card-fixed {display: none; height: 0; width: 0; overflow: hidden; opacity: 0;}

/* hover in section */
/* на ховер вплывающий блок */
    .bx-no-touch .product-item-container .product-item-info-container.product-item-hidden,
    .bx-touch .product-item-info-container.product-item-hidden,
.bx-no-touch .product-item-container.hover .product-item-info-container.product-item-hidden,
.product-item-line-card .product-item-container .product-item-info-container.product-item-hidden {display: none;}
.product-item {padding: 0;}
.bx-no-touch .product-item-container.hover .product-item {
    right: -15px; right: 0 !important;
    left: -15px; left: 0 !important;
    padding: 0 !important; 
    box-shadow: none !important;
}

/* catalog / item / background */
.catalog-section .row .col-sm-4 {margin-bottom: 30px;}
.product-item.has-background,
.bx-no-touch .product-item-container.hover .product-item.has-background {
    background-size: 100% auto;
    background-position: 50% 0;
    background-repeat: no-repeat;
    border-radius: 30px;
}
.bx-no-touch .product-item-container {gap: 30px;}
.bx-no-touch .product-item-container .product-item,
.bx-no-touch .product-item-container.hover .product-item {
    border: none !important;
    background: transparent;
    /* background-color: #fff; */
    border-radius: 30px;
    position: relative;
    overflow: auto;    
    background-size: 100% auto;
    background-repeat: no-repeat;
}
/* Добавим стили для улучшения читаемости контента на фоновом изображении */
.product-item.has-background .product-item-title,
.product-item.has-background .product-item-info-container {
    position: relative;
    z-index: 2;
}
.product-item-container .cat-product-item-title { /* title */
    text-align: center; padding: 0 10px;
    font-weight: 600; font-size: 22px; line-height: 24px;
}
    .product-item-container .cat-product-item-title a {text-decoration: none;}
.product-item-container .product-item-price-container { /* price */
    margin: 12px 0 24px 0;
    text-align: center;
}
    .product-item-price-current {font-weight: normal; font-size: 18px; line-height: 20px; color: #7F8B71;}
.product-item-image-wrapper {
    margin-bottom: 0px;
}


/* FILTERS */
.cat-section-container .smart-filter {}
.cat-section-container .smart-filter .smart-filter-section {
    background: #EFF3D6 url(../img/stars.png) no-repeat 95% 22px;
    background-size: auto 126px;
    border-radius: 30px;
    padding: 22px 30px;
}
    @media (max-width: 1000px) {
        .cat-section-container .smart-filter .smart-filter-section {
            padding: 22px 10px;
        }
    }
    .cat-section-container .smart-filter .smart-filter-parameters-box {
        padding-bottom: 20px;
        margin-bottom: 20px !important;
        border-bottom: 2px solid #C1D28C;
    }
    .cat-section-container .smart-filter .smart-filter-parameters-box:last-child {border-bottom: 0;}
    /* Скрываем фильтр по цене */
    .smart-filter-parameters-box.bx-active:has(.min-price),
    .smart-filter-parameters-box.bx-active:has(.max-price) {
        display: none !important;
    }
    /* Заголовки */
    .cat-section-container .smart-filter .smart-filter-parameters-box:nth-child(3) .smart-filter-parameters-box-title {
        background: url(../img/filter1.png) no-repeat 0 0; background-size: 35px auto; padding-left: 44px; padding-top: 4px;
    }
    .cat-section-container .smart-filter .smart-filter-parameters-box:nth-child(4) .smart-filter-parameters-box-title {
        background: url(../img/filter2.png) no-repeat 0 0; background-size: 35px auto; padding-left: 44px; padding-top: 1px;
    }
    .cat-section-container .smart-filter .smart-filter-parameters-box:nth-child(5) .smart-filter-parameters-box-title {
        background: url(../img/filter3.png) no-repeat 0 0; background-size: 35px auto; padding-left: 44px; padding-top: 5px;
    }
        .cat-section-container .smart-filter .smart-filter-parameters-box-title-text {
            font-size: 22px; font-family: Angst;
            color: #7F8B71; font-weight: normal;
        }
    /* checkboxes */
    .cat-section-container .smart-filter .smart-filter-block {
        margin-left: 13px;
        color: #7F8B71;
    }
/* Кнопки фильтра внизу */
.cat-section-container .smart-filter-button-box .btn[name="set_filter"] {display: none;}
.cat-section-container .smart-filter-button-box .btn[name="del_filter"] {
    width: 100%; text-align: center; text-decoration: none;
    background: #C1D28C;
    color: #fff; text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 10px;
    border-radius: 6px;
}

/* Стили для кнопки фильтра */
.filter-button {
    display: none;
    width: calc(100% - 40px);
    margin: 0 20px 20px 20px;
    padding: 15px;
    background: #EFF3D6 url(../img/mobfilter.png) no-repeat; background-size: 30px auto;
    background-position: calc(50% - 75px) 50%;
    color: #7F8B71;
    text-align: center;
    text-transform: uppercase;
    font-family: Angst;
    font-size: 22px; letter-spacing: 0.05em;
    border-radius: 12px;
    border: none;
}

/* Медиа-запрос для экранов меньше 575px */
@media (max-width: 575px) {
    #smart-filter {display: none;}
    #smart-filter.active {display: block;}
    .filter-button {display: block;}
}


/* Карточка товара */
.bx-catalog-element {
    padding: 0 30px;
}
    /* Контейнер с колонками */
    .bx-catalog-element .row {
        margin: 0 -30px; /* Компенсируем padding у колонок */
        margin-bottom: 60px;
    }
/* Колонки */
.bx-catalog-element .row > .col-md-6 {
    width: calc(50% - 30px);
    padding: 0 30px;
    flex: 0 0 auto;
}

    @media (max-width: 800px) { 
        .bx-catalog-element {
            padding: 0 20px;
        }
        .bx-catalog-element .row {
            margin: 0 0 15px 0; /* Сбрасываем отрицательные отступы */
        }
        .bx-catalog-element .row > .col-md-6 {
            width: 100%;
            padding: 0;
        }
        /* Добавляем отступ для второй колонки */
        .bx-catalog-element .row > .col-md-6:last-child {
            margin-top: 60px;
        }
    }

/* Левая сторона */
/* .product-images-grid */
.product-image-item {
    display: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
    .product-image-item.active {
        display: block;
    }
    .product-image-item img {
        position: static;
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 30px;
    }
/* Правая сторона */
.element-main-info {margin-bottom: 60px;}
/* назад и серия */
.backandseries {
    margin: 45px 0 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
    @media (max-width: 800px) {.backandseries {margin: 0px 0 30px 0; padding: 0;}}
    /* назад */
    .back-to-catalog {
        display: block;
        color: #7F8B71;
        text-decoration: none;
        font-size: 22px;
        line-height: 24px;
        background: url(../img/back-to-catalog.png) no-repeat 0 8px; background-size: 36px auto; padding-left: 50px;
    }
        @media (max-width: 800px) {
            .back-to-catalog {font-size: 16px; line-height: 18px; background-size: 24px auto; padding-left: 35px; background-position: 0 6px;}
            .back-to-catalog span {display: none;}
        }
    /* серия */
    .product-series {
        color: #7F8B71;
        margin-bottom: 10px; margin-top: 10px;
        border: 1px dashed #C1D28C;
        padding: 12px 19px;
        border-radius: 50px;
    }
        @media (max-width: 800px) {.product-series {font-size: 13px; line-height: 14px; padding: 10px 15px;}}
/* название товара */
.bx-catalog-element h1 {
    color: #7F8B71; font-size: 34px;;
}
    @media (max-width: 800px) {.bx-catalog-element h1 {padding: 0; font-size: 24px; line-height: 32px;}}
/* описание товара */
.product-description {
    color: #7F8B71; font-size: 18px; line-height: 22px;
    margin: 10px 0 30px 0;
}
    @media (max-width: 800px) {.product-description {padding: 0;}}
/* Цена и корзина */
.product-item-detail-pay-block {
    padding: 0;
    border: none;    
}
    .product-item-detail-price-current {text-align: left; color: #7F8B71;font-size: 22px;}
    .btn.product-item-detail-buy-button {
        margin: 0; color: #fff; background: #C1D28C; border: 0; border-radius: 6px;
    }
    @media (max-width: 800px) {
        .btn.product-item-detail-buy-button {width: 100%; max-width: 100%;}
        .bx-catalog-element .row>*  {padding: 0;}
    }

/* Item properties */
.item_properties {
    padding: 58px 30px;
    background: #EFF3D6 url(../img/description.jpg) no-repeat 50% 50%; background-size: cover;
    border-radius: 30px;
    margin: 0 0 86px 0;
}
    @media (max-width: 800px) {.item_properties {padding: 30px 20px;}}
    .item_properties h2 {
        color: #7F8B71; font-size: 34px; margin-bottom: 54px;
        text-align: center;
    }
    .item_properties_1 {
        display: flex; 
        flex-wrap: wrap;
        justify-content: space-between;
        width: 90%; 
        margin: 0 auto;
    }
        .item_properties_1_1 {
            display: flex;
            border-bottom: 1px dashed #C1D28C;
            width: 47%;
            align-items: flex-start;
            color: #7F8B71;
            padding: 20px 0;
        }
            .prop {
                width: 30%;
            }
            .prop_value {
                font-weight: 600;
            }
    @media (max-width: 800px) {
        .item_properties h2 {font-size: 24px; margin-bottom: 18px;}
        .item_properties_1 {
            width: 100%;
        }
        .item_properties_1_1 {
            width: 100%; /* На всю ширину */
            padding: 15px 0;
        }
        .prop {
            width: 40%; /* Увеличиваем ширину левой колонки */
            font-size: 13px;
            line-height: 14px;
        }
        .prop_value {
            font-size: 13px;
            line-height: 14px;
        }
    }

/* Скиллы */
.item_properties_2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.item_properties_2 div {
    color: #7F8B71;
    border: 1px dashed #C1D28C;
    padding: 12px 19px;
    border-radius: 50px;
}

@media (max-width: 800px) {
    .item_properties_2 {
        margin-top: 30px;
        gap: 15px;
    }
    
    .item_properties_2 div {
        font-size: 13px;
        line-height: 14px;
        padding: 10px 15px;
    }
}

/* Focus on */
.focus-on {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 152px;
}
    .focus-on-item {
        width: 31%;
        text-align: center;
        align-content: center;
        color: #7F8B71;
    }
        .focus-on-item b {
            font-weight: 600;
            display: block;
            font-size: 22px; line-height: 24px; margin-bottom: 20px;
        }
        .focus-on-item-1 {}
            .focus-on-item-1 img {width: 173px; height: auto; margin: 30px 0 23px 0;}
        .focus-on-item-2 {}
            .focus-on-item-2 img {width: 100%; height: auto; border-radius: 30px;}
        .focus-on-item-3 {}
            .focus-on-item-3 img {width: 173px; height: auto; margin: 30px 0 23px 0;}
@media (max-width: 1100px) {
    .focus-on {justify-content: center; gap: 50px;}
    .focus-on-item-1 {width: 45%;}
    .focus-on-item-2 {order: -1; width: 70%;}
    .focus-on-item-3 {width: 45%;}
}
@media (max-width: 800px) {
    .focus-on {}
    .focus-on-item-1 {width: 100%;}
    .focus-on-item-2 {width: 100%;}
    .focus-on-item-3 {width: 100%;}
}

/* Bitrix Buttons */
.btn-primary,
a.btn-primary,
.btn-primary:hover,
.btn-default,
a.btn-default {
    background-color: #7F8B71 !important;
    color: #fff;
    text-transform: uppercase;
    border-radius: 6px; border: none; border-color: transparent;
}


/* seealso */
.seealso {
    background: #EFF3D6;
    padding: 50px 30px;
    border-radius: 0 0 30px 30px;
    /* margin: 0 -30px 60px -30px; */
    margin: 0 0 60px 0;
}
    .bx-catalog-element .seealso  .row {margin: 0;}
.similar-products {
    margin: 60px 0;
}

.similar-products h2 {
    color: #7F8B71;
    font-size: 34px;
    margin-bottom: 30px;
    text-align: center;
}

@media (max-width: 800px) {
    .similar-products h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.similar-products .product-item-container {
    height: 100%;
}

.similar-products .product-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.similar-products .product-item-image-wrapper {
    position: relative;
    padding-top: 100%; /* Создаем квадратный контейнер */
}

.similar-products .product-item-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    cursor: pointer;
}

.similar-products .cat-product-item-title {
    margin-top: 15px;
}

/* Стили для фоновой картинки */
.similar-products .product-item.has-background {
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 30px;
    padding-top: 10px;
}

@media (max-width: 800px) {
    .similar-products .product-item-image-wrapper {
        padding-top: 75%; /* Меняем пропорции на мобильных */
    }
}

.similar-products .series-name {
    color: #7F8B71;
    border: 1px dashed #C1D28C;
    padding: 12px 19px;
    border-radius: 50px;
    display: block;
    width: fit-content;
    margin: 0 auto 50px;
    text-align: center;
}

@media (max-width: 800px) {
    .similar-products .series-name {
        font-size: 13px;
        line-height: 14px;
        padding: 10px 15px;
        margin-bottom: 20px;
    }
}

.view-all-catalog {
    text-align: center;
    margin: 40px 0 20px;
}

.view-all-catalog a {
    display: inline-block;
    color: #fff; font-weight: 600; text-decoration: none; text-transform: uppercase; font-size: 16px;
    border-radius: 6px;
    padding: 18px 40px;
    transition: all 0.3s ease;
    background-color: #7F8B71;
}

    .view-all-catalog a:hover {
        background-color: #C1D28C;
    }

@media (max-width: 800px) {
    .view-all-catalog {
        margin: 30px 0 15px;
    }
    
    .view-all-catalog a {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* Блок скачивания материалов */
.download-materials {
    margin: 0 0 60px 0;
    background-image: url(../img/boxbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 0px;
    border-radius: 30px;
}
    .download-materials .container {
            margin: 0;
            color: #fff;
            padding: 80px 90px 94px 90px;
            background: url(../img/download.png) no-repeat 50% 0; background-size: 426px auto;
            background-position: 102px 40px;
            max-width: none;
    }
    .download-materials .container h2 {
        text-align: center; color: #fff; margin: 0 0 56px 0;
    }
.download-materials h2 {
    color: #7F8B71;
    font-size: 34px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
}
.download-materials-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: end;
}

.download-item {
    display: flex;
    align-items: center;
    background: #C1D28C; border-radius: 8px;
    padding: 29px;
    width: 70%;
}

.download-item-icon {
    width: 42px;
    height: 42px;
    margin-right: 15px;
    background-image: url(../img/downloadicon.png); background-size: 42px auto;
}

.download-item-info {
    flex-grow: 1;
}

a.download-item-name {
    color: #fff; font-size: 22px; line-height: 24px; font-weight: 600; 
    text-decoration: none;
}

@media (max-width: 800px) {
    .download-materials .container {
        padding: 40px 20px 24px 20px;
        background-size: 80% auto;
        background-position: 50% 110px;
    }
    .download-materials .container h2 {margin: 0 0 226px 0;}
    .download-item {
        padding: 20px;
        width: 100%;
    }
    .download-materials h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* PAGER pagination */
.bx-pagination .bx-pagination-container ul li.bx-active span {
    background-color: #7F8B71;
}