
/* BUILDED */

.contacts-content__info{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.contacts-content__ginfo{
    margin: 10px 0;
    width: 48%;
}

.contacts-content__card{
    width: 350px;
    height: 225px;
}
.contacts-content__card img, .content-shop-images img{
    border-style: none;
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.content-shop-images{
    width: 42%;
    min-height: 1px;
    padding: 0 15px;
}
.contacts-content-shop{
    padding-bottom: 10px;
}
@media(max-width:768px){
.contacts-content__ginfo{
    width: 100%;
}
.content-shop-images{
    width: 100%;
    margin-top: 1.5rem
}
}

.glavnaya-popular-title{
    margin-bottom:10px !important;
    margin-top:20px;
    padding-top: 25px;
    text-align:center;
}
/* Стили слайдера */
.my-popular-slider {
    position: relative;
    padding: 15px 0 0 0;
}
.my-popular-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: #ffffff;
    padding-bottom: 35px;
    margin: 5px 0;
    box-shadow: 0 0 3px 0 rgba(204, 204, 204, 0.5);

}


.popular-image {
    aspect-ratio: 14 / 9;
    width: 100%;
    object-fit: cover;
}
.popular-image img {
    width: 100%;     
    height: 100%;     
    object-fit: cover; 

}



.popular-title {
    font-weight: normal;
    text-overflow: ellipsis;
    font-variant: normal;
    text-transform: uppercase;
    margin: 10px 0px;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 1em;
    text-align:center;
    flex-grow: 1; /* чтобы текст занимал оставшееся место */
}
.popular-title a {
    color: #35549b;
    text-decoration: none;
}


/* Стрелки */
.popular-slider-button-prev,
.popular-slider-button-next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    background-color: #f4ad1a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popular-slider-button-next {
    right: 0;
    margin-right: -13px;
    background-image: url(/images/site/glavnaya/vector.svg);
    -webkit-background-size: auto 25px;
    background-size: auto 25px;
    width: 44px;
    background-repeat: no-repeat;
    background-position: center;
    height: 38px;
    transform: rotate(-90deg);
    top: 50%;
}

.popular-slider-button-prev{
    margin-left: -13px;
    left: 0;
    background-image: url(/images/site/glavnaya/vector.svg);
    -webkit-background-size: auto 25px;
    background-size: auto 25px;
    width: 44px;
    height: 38px;
    transform: rotate(90deg);
    top: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.popular-slider-button-prev::after,
.popular-slider-button-next::after {
    font-size: 20px;
    color: #fff; 
}
.popular-slider-button-prev { left: 10px; }
.popular-slider-button-next { right: 10px; }


.glavnaya-text{
    padding-top: 20px;
}

/* по умолчанию стрелки */
.popular-slider-pagination{
    display:none;
}

.glavnaya-images-shop{
    float: right;
    width: 400px;     
    margin: 0 0 20px 30px;
}

.glavnaya-images-shop img{
    width: 100%;
    height: auto;
    display: block;
}
.glavnaya-text-left span{
    font-size: 16px;
    color: #575757 !important;
    margin-bottom: 10px;
    font-family: inherit;
}
.glavnaya-info{
    min-height: 260px;
}
@media (max-width: 900px){

    .glavnaya-images-shop{
        float: none;
        width: 100%;
        margin: 0;
        max-height: 600px;
    }

}
/* меньше 1300px */
@media(max-width:1300px){

    .popular-slider-button-prev,
    .popular-slider-button-next{
        display:none;
    }

    .popular-slider-pagination{
        display:block;
        margin-top:20px;
        text-align:center;
    }
    .popular-slider-pagination .swiper-pagination-bullet{
        margin: 0 0.2em;
        width: 0.8em;
        height: 0.8em;
        background: #ccc;
        opacity: 1;
    }

    .popular-slider-pagination .swiper-pagination-bullet-active{
        background-color: #35549b;
    }

}
/* Адаптив */
@media(max-width:500px){
    .my-popular-slider .swiper-slide {
        width: 80%;
        height: auto; 
    }
    .popular-image {
        height: 180px;
    }
}
.top-header{
    background-color:#F5F5F5;
    border-bottom: 1px solid #cdcdcd;
}
.top-header__content{
    display:flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.top-header__logo{
    max-width: 165px;
   /* width: clamp(100px, 16vw, 165px);*/
    margin-left: 0;
    flex: 0 1 auto;
}
.top-header__logo a{
    display:block;
}
.top-header__logo > a > img{
    display:block;
    border-style: none;
    max-width: 100%;
    height: auto;
}

.top-header__slogan{
    display:flex;
    flex-direction: column;
    text-align: right;
}
.top-header__slogan > h1{
    color: #2D2C2B;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 3px 0 0;

}
.top-header__slogan > h2{
    color: #2B2A29;
    font-size: 15px;
    font-weight: normal;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 5px 0 0;
}
.top-header__slogan-mb-adress{
    display:none;
}
.top-header_menu{
    display:none;
}
    @media(max-width: 992px){
        .top-header__content{
            justify-content: flex-start;
            gap:30px;
        }
        .top-header__logo{
            width: clamp(99px, 12vw, 134px);
        }

        .top-header__slogan{
            margin-left: auto;
        }
        .top-header_menu{
            display:block;
            
            cursor: pointer;
            width: 45px;
            height: 45px;
            background-image: url(/images/site/top-header/sidebar_menu.svg);
            -webkit-background-size: 21px auto;
            background-size: 21px auto;
            background-repeat: no-repeat;
            background-position: 50%;
            -ms-flex-negative: 0;
            -webkit-flex-shrink: 0;
            flex-shrink: 0;
            background-color: #f5b62d;

            position:static;   /* убираем fixed */
            flex-shrink:0;

            z-index: 10;
        }


    }

    @media(max-width: 768px){
        .top-header__content{
            flex-direction: column;
            gap:24px;
        }
        .top-header__slogan{
            gap:14px;
            text-align: center;

        }
        .top-header__slogan > h1{
            white-space: normal;

        }
        .top-header__slogan-mb-adress{
            display:block;
        }
        .top-header__slogan-ds-tx{
            display:none;
        }
        .top-header__logo{
            margin-left: 0;
            width: 165px;
        }
        .top-header_menu{
            position:fixed;
            top:15px;
            left:15px;
            z-index: 1001;
        }
        .top-header__content{
            flex-direction:column;
            gap:24px;
            justify-content:center;
        }
        .top-header__slogan{
            margin-left:0;
        }
    }

/*каталог меню*/

 .catalog__menu{
    background-color: #ffffff;
    box-shadow: 1px 0px 12px -1px #b6b6b6;
    min-width: 20.5%;
    height: max-content;
    
   
 }

.catalog-menu__header{
    background-color: #f5a705;
    padding-bottom: 20px;
    padding-top: 20px;
    margin: 0;
    text-align: center;
    line-height: 1.1 !important;
}
.catalog-menu__header span{
    color: #ffffff;
    font-size: 19px;
    font-weight: bold;
    
    text-transform: uppercase;
}


 .catalog-menu__content{
    display:flex;
    flex-direction: column;
    padding-bottom: 25px;
    padding-top: 15px;
    padding-left: 12px;
    padding-right: 18px;
 }
.catalog-menu__item a{
    display:flex;
    align-items: center;
    gap:10px;
        height: 49.75px;
}
.catalog-menu__item a:hover{
    color:inherit;
}
 .catalog-menu__item a img{
    width: 54px;
    float: left;

 }

 .catalog-menu__item a span
 {
    font-size: 17px;
    text-decoration: none;
    line-height: 1;
    overflow: hidden;
    vertical-align: middle;
 }
 .catalog-menu-toggle{
    display:none;
 }

@media(max-width:992px){

    .catalog-menu-toggle{
        display: flex;
    }

    .catalog-menu__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        height: 63.09px;
        position: relative;
        z-index: 0;
        text-align: left;
        padding-left: 25px;
        padding-right: 20px;
        
    }

    .catalog-menu-toggle {
        background: none;
        border: none;
        font-size: 18px;
        transform: rotate(0deg);
        transition: transform 0.3s;
        cursor: pointer;
        color: #fff;
    }
    .catalog-menu-toggle img{
        width: 21px;
        height: 21px;
    }
    

    .catalog-menu__content {
        display: none; /* скрываем по умолчанию */
        flex-direction: column;
        background: #fff;
        padding-bottom: 25px;
        padding-top: 15px;
        padding-left: 12px;
        padding-right: 18px;
    }

    .catalog-menu__content.show {
        display: flex;
    }

    .catalog-menu-toggle.active {
        transform: rotate(180deg);
    }
    
}
.cart{
    display: flex;
    gap:60px;
    position: relative;
    width: 100%;
}


.product-order-item{
    display:flex;
    align-items: center;
    gap:20px;
}
.order-product-image{
    width: 110px;
    display: block;
}
.order-product-image img{
    width: 100%;
    object-fit: cover;
    height: 100%;
}

.product-link-title{
    display: inline-block;
    color: #35549b;
    text-decoration: none;
}
.articul-style{
    color: #aaa;
}

/*+-*/
.cart-qty div{
    display:flex;
}
.qty-btn{
    color: inherit;
    font-size: 1.067em;
    font-weight: bold;
    padding: 0;
    width: 1.7em;
    overflow: hidden;
    text-align: center;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    background-color: #ffffff;

}
.qty-btn img{
    width: 12px;
    height: 12px;
}

.qty{
    vertical-align: middle;
    width: 40px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    flex-shrink: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 0;
}
/* кнопка минус */
.qty-btn[data-action="minus"]{
    border-right: none;          
    border-radius: 4px 0 0 4px;  
}

/* кнопка плюс */
.qty-btn[data-action="plus"]{
    border-left: none;           
    border-radius: 0 4px 4px 0;  
}

.remove-item{
    width: 40px;
    height: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.remove-item svg{
    width: 20px;
    height: 20px;
}
.remove-item img{
    width: 10px;
    height: 10px;
}
.mobile-sum{
    display: none;
}
.fixed-order-btn{
    opacity: 0;
}
@media (max-width:1000px){

/* количество */
.cart-qty{
    display:flex;
    justify-content:flex-start;
}


.mobile-sum{
    display: block;
}

.cart-total{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 10px;
    white-space: nowrap;
    border-top:2px solid #e0e0e0;
    }

.cart-total td{
    border:none;
    padding:0;
    }
.pn{
    width: auto !important;
    padding: 0 !important;
}

}

/*блок письма*/
.making-order{
    padding-top: 2rem;
    width: 100%;
    
}
.tb-form{
    width: 66.6%;
}
.order-title{
    font-weight: bold;
    font-size: 1em;
    margin: 0 0 1em;
    color: #0b2621;
}
.order-title-company{
    font-size: 21px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}
.order-form__field{
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}
@media(max-width:768px){
    .tb-form{
        width: 100%;
}
}





/*переключатель лиц*/
.person-type-switch {
    display: inline-flex;
    border: 1px solid #DDD;
    overflow: hidden;
    margin: 15px 0 25px;
}

.switch-btn {
    padding: 5px 10px;
    border: 1px solid #DDD;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
}
.person-type-switch:last-child button{
    padding-right: 1em;
}

.switch-btn.active {
    background-color: #35549b;
    color: #fff;
    border-color: #35549b;
}

.switch-btn:not(.active):hover {
    border: 1px solid #35549b !important;
}

.company-fields {
    display: none; /* по умолчанию скрыты */
}


/*детали заказа*/
.order-details{
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
}
.shipping-methods{
    width: 50%;
}
.pay-methods{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap:20px;
}

/*способы оплаты*/

.pay-info {
    display: none;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    width: 400px;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0px 0px 5px #ebebeb;
    position: absolute;
    right: 140px;
    top: 100%;      
    margin-top: 8px; 
    z-index: 10;
}

.info-pay {
    margin-left: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
}

.pay-item{
    display: flex;
    gap:10px;
    position: relative;
}
@media (max-width:768px){

    .pay-item{
        flex-wrap: wrap;
    }

    .pay-info{
        position: static;    
        width: 100%;         
        margin-top: 8px;
        box-shadow: none;
    }

}
@media(max-width:768px){
    .order-details{
        display: flex;
        flex-direction: column;
    }
    .shipping-methods{
        width: 100%;
    }
    .pay-methods{
        width: 100%;
    }
}

.order-form-footer{
    display:flex;
    flex-direction: column-reverse;
    width: 100%;
    gap:40px;
    padding: 1.5rem 0 0;
}
.btnOderSend{
    width: 100%;
    max-width: 440px;
    background-color: #f85d00;
    color: #fff;
    margin-bottom: 7px;
    border: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    font-size: 1em;
    line-height: 1.4em;
    display: inline-block;
    padding: 0.6em 1.4em;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.1s ease;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
}

.text-license a{
    color: #35549b;
    text-decoration: none;
}

@media(max-width:768px){
    .order-form-footer{
        display:flex;
        flex-direction: column;
        gap:2rem;

    }
}




/*новый вид карточек в корзине*/

.cart-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.cart-card {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    gap: 15px;
    background-color: #fff;
}

.cart-card-left {
    display: flex;
    gap: 15px;
    flex: 1;
}

.cart-card-image img {
    width: 120px;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.cart-card-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.cart-card-right-active{
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 10px;
}


.cart-card-sum {
    font-weight: bold;
    font-size: 1.1em;
}

.cart-card-qty {
    display: flex;
    border: 1px solid #c4c4c4;
    border-radius: 4px;
    align-items: center;
    gap: 5px;
}

.cart-card-actions {
    display: flex;
    gap: 5px;
}

.cart-card-actions button {
    background: none;
    border: none;
    cursor: pointer;
}

/*правая часть корзина*/

.cart-right{
    display: flex;
    position: sticky;
    top:120px;
    flex-direction: column;
    width: 440px;
    flex-shrink: 0;
    height: max-content;
}

.cart-right-sum, .cart-right-order-info{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:20px;
}


.cart-right-top{
    display:flex;
    flex-direction: column;
    gap:20px;
}
.cart-right-sum{
    font-weight: bold;
    font-size: 30px;
}
.itogo-title{
    font-size: 35px;
}






.cart-left{
    flex: 1 1 auto;
}




@media (max-width: 1360px) {
    .cart-card {
        flex-direction:column;
        gap:10px;
    }
    .cart-card-right {
        align-items: start;
        padding-left: 135px;
    }
    .cart-card-right-active{
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .cart-right{
        width: 360px;

    }
}






@media(max-width:1000px){
    .cart{
        flex-direction: column;
    }
    .cart-right{
        width: 100%;
        background-color: #f5f3f1;
        padding: 20px 0 60px 0;

    }

    .fixed-order-btn {
        position: fixed;
        opacity: 1;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px;
        background: transparent; /* фон кнопки внутри button */
        text-align: center;
        z-index: 9999;

        /* Плавный выезд */
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
    }

    .fixed-order-btn.show {
        transform: translateY(0); /* выезжает вверх */
    }

    .fixed-order-btn button {
        width: 90%;
        max-width: 500px;
        padding: 15px 0;
        font-size: 18px;
        background-color: #ff6f00;
        color: #fff;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }


}
@media(max-width:450px){
    .cart-card-image img{
        width: 60px;
    }
    .cart-card-right {
        padding-left: 0px;
    }
    .cart-right-sum{
        font-size: 21px;
    }
    .itogo-title{
        font-size: 24px;
    }
}
/* Основной блок меню */
.desktop-menu {
    background-color: #F7C257;
    position: relative;
    z-index: 100;
}

/* Список верхнего уровня */
.desktop-menu__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

/* Пункты верхнего уровня */
.desktop-menu__list > li {
    position: relative; /* для абсолютного dropdown */
    padding: 20px 10px;
    display: flex;
    flex: 1;  
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.desktop-menu__list > li:hover{
    background-color: #F4AD1A;
}

/* Ссылки верхнего уровня */
.desktop-menu__list > li > a {
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    color: #2B2A29;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}

/* SVG для dropdown */
.desktop-menu__list > li.has-dropdown  {
    text-decoration: none;

    
    /* Треугольник как фон */
    background-image: url('/images/site/desktop-menu/arrow_down.svg');
    background-repeat: no-repeat;
    background-position: center bottom 8px; /* снизу по центру */
    background-size: 10px auto; /* размер треугольника */
}

/* Первый уровень dropdown скрыт по умолчанию */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #F7C257;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    display: none; 
    z-index: 200;
}

/* Показ dropdown при hover */
.desktop-menu__content ul > li:hover > .dropdown {
    display: block;
}

/* Пункты первого уровня dropdown */
.dropdown > li {
    position: relative;
    font-size: 15px;
    padding: 11px 20px;
}

/* Ссылки первого уровня dropdown */
.dropdown > li > a {
    color: #2B2A29;
    font-size: 15px;
    text-decoration: none;
    
}

/* Второй уровень dropdown (sub-dropdown) */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%; /* справа от родителя */
    background: #F7C257;
    min-width: 180px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; 
}

/* Треугольник у пунктов первого уровня dropdown (подменю) */
.dropdown > li.has-dropdown{
    position: relative; /* чтобы ::after позиционировался */
    padding-right: 20px; /* место для треугольника справа */
}

/* Треугольник сбоку, повернутый на 90 градусов */
.dropdown > li.has-dropdown::after {
    content: "";
    position: absolute;
    right: 10px;   /* отступ справа */
    top: 50%;     /* по вертикали по центру */
    transform: translateY(-50%) rotate(-90deg); /* центрируем и поворачиваем */
    width: 10px;  /* размер треугольника */
    height: 10px;
    background-image: url('/images/site/desktop-menu/arrow_down.svg'); /* тот же SVG */
    background-size: contain;
    background-repeat: no-repeat;
}

/* Показываем sub-dropdown при hover родителя */
.dropdown > li:hover > .sub-dropdown {
    display: block;
}

/* Пункты второго уровня */
.sub-dropdown > li {
    padding: 11px 15px;
}

/* Ссылки второго уровня */
.sub-dropdown > li > a {
    color: #2B2A29;
    text-decoration: none;
}


/*активный пункт*/
.desktop-menu__list > li.active,
.dropdown > li.active,
.sub-dropdown > li.active {
    background-color: #F4AD1A; 
}
@media(max-width: 992px){
    .desktop-menu {
        display:none;
    }
}
.customer-card{
    display:flex;
    flex-direction: column;
    /*gap:30px;*/
}
.customers-gallery{
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:30px;
}
.gallery-item{
    aspect-ratio: 3/2;
    width: 100%;
}
.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.customers-content{
    display:flex;
    flex-direction: column;
    gap:30px;
}
.customers{
    padding-bottom: 64px;
}
@media(max-width:992px){
    .customers-gallery{
        grid-template-columns: repeat(3,1fr);
    }
}
@media(max-width:576px){
    .customers-gallery{
        grid-template-columns: repeat(2,1fr);
    }
}
.bottom-card__content{
    max-height: 433px;
}

/* Базовый стиль */
.announcement {
    width: 100%;
    height: 40px;
    background-color: #F4AD1A;
    padding: 10px;
    color: #2B2A29;
    position: fixed;
    bottom: 0;
    z-index: 950;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: center;
}

.announcement__content {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    gap: 20px;
    width: 80%;
}

.announcement__close {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.announcement__close svg {
    width: 100%;
    height: 100%;
    fill: #000;
}

.announcement__btn {
    padding: 5px 15px;
    border-radius: 25px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    white-space: nowrap;
    min-width: 80px;
}

/* --- Мобильная адаптация --- */
@media (max-width: 768px) {
    .announcement {
        flex-direction: column;
        height: auto;
        padding: 10px;
        gap: 10px;
        text-align: center;
    }

    .announcement__content {
        flex-direction: column;
        width: 100%;
        font-size: 14px;
        gap: 10px;
    }

    .announcement__btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .announcement__close {
        position: absolute;
        top: 5px;
        right: 5px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .announcement__content {
        font-size: 12px;
        gap: 5px;
    }

    .announcement__btn {
        font-size: 12px;
        height: 25px;
        padding: 5px 10px;
    }

    .announcement__close {
        width: 20px;
        height: 20px;
    }
}
.cont-header{
    display: flex;
    gap:20px;
    align-items: center;
}
.messengers-header{
    display: flex;
    flex-direction: column;
    gap:5px;
}
.bottom-header__content{
    display:flex;
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
    align-items: center;
    gap:40px;
    flex-wrap: wrap;
}
/*корзина*/
.cart-informer {
    background-image: url(/images/site/bottom-header/korzina.png);
    background-repeat: no-repeat;
    padding-left: 40px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    min-height: 40px;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 5px 0;
}
.infoShopCard {
    margin-left: 15px;
    line-height: 1.2;
}

/*поиск*/
.bottom-header__search{
    flex:1;

}
.searchContent {
    background-color: #ffffff;
    border: 1px solid #aaa;
    border-width: 1px;
    border-color: #d4d4d4;
    border-style: solid;
    position: relative;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    display: block;
}
#livesearch {
    color: #787878;
    font-size: 15px;
    background-color: transparent;
    padding-bottom: 0.6em;
    padding-top: 0.6em;
    padding-left: 15px;
    border: none;
    position: relative;
    outline: none;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding-right: 2em;
}
.buttonSend {
    opacity: 0.4;
    font-size: 0;
    cursor: pointer;
    background-color: transparent;
    background-image: url(/images/site/bottom-header/lupa.png);
    background-position: center center;
    background-repeat: no-repeat;
    border: none;
    margin: auto;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 10px;
    z-index: 30;
    padding: 0;
    outline: none;
}


/*контакты*/
.bottom-header__contacts{
    display:flex;
    flex-direction: column;
    text-align: right;
}
.bottom-header__contacts a{
    color: #575757;
    font-size: 22px;
}
.bottom-header__contacts a:hover{
    color: #35549b;
    text-decoration: underline;
}



.searchContent{
    position:relative;
}

.suggestions{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    border:1px solid #ddd;
    z-index:1000;
}

.suggest-item{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    overflow: hidden;
    padding: 5px 10px;
    white-space: nowrap;
}

.suggest-item a:hover {
    color:#484848 !important;
 }

.suggest-item:hover{
    box-shadow: 0 0 5px 0 #a3a3a3;
}

.suggest-item img{
    width:40px;
    height:25px;
    object-fit:cover;
}

.bottom-header__active{
    display: flex;
    gap:10px;
    align-items: center;
}

/*кнопка избранное*/

.bottom-header__favourites{
    display: flex;
    gap:10px;
    flex-wrap: nowrap;
    align-items: center;
}

.bottom-header__favourite-btn{
    display: flex;
    align-items: center;
    height: 40px;
    width: 40px;
    justify-content: center;
    background: none;
    border: 1px solid #bcbbbb;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.bottom-header__favourite-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

/* Стиль для «добавленного в избранное» */
.bottom-header__favourite-btn.active #Layer_1 {
  fill: #e74c3c; /* Красный цвет для активного состояния */
}


/*конец избранного*/

@media(max-width:790px){

    .bottom-header__search {
        order: 2;
        width: 100%;
        min-width: 300px;
    }
}
@media(max-width:700px){
    .bottom-header__content{
       gap:10px;
    }
}
@media(max-width:482px){
    .bottom-header__content{
       justify-content: center;
    }
    .bottom-header__cart{
        order:1;
    }
}
.fabric-filters-dropdown {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.filter-category {
  overflow: hidden;
  border-bottom: 1px solid #e0e0e0;
}

.filter-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-category-toggle {
  width: calc(100% - 80px);
  padding: 8px 10px;
  background: #ffffff;
  border: none;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.filter-category-toggle:hover {
  color:black;
}

.reset-category-btn {
  padding: 0 5px;
  background-color: transparent;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
}

.reset-category-btn:hover {
  text-decoration: underline;
  color:black;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  transform: rotate(0deg);
}

/* Поворот стрелки при открытом состоянии */
.filter-category.open .dropdown-arrow {
  transform: rotate(180deg);
}

.filter-category-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.filter-category.open .filter-category-content {
  display: flex;
  flex-direction: column;
  max-height: 400px; /* Максимальная высота при открытии */
  padding: 12px 16px;
}
.color-filter{
  flex-direction: row !important;
  gap:10px;
  align-items: center;
}
.filter-item {
  display: block;
  padding: 6px 0;
  cursor: pointer;
}

.filter-item input[type="checkbox"] {
  margin-right: 8px;
}
/* Скрываем чекбокс, но сохраняем его функциональность */
.color-checkbox {
    display: none;
}

/* Контейнер палитры — flex с переносом */
.color-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Стили для элемента фильтра */
.filter-item {
    /*display: inline-flex;*/
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

/* Стили кружочка цвета */
.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

/* Подсветка при наведении */
.filter-item:hover .color-swatch {
    transform: scale(1.1);
    border-color: #F7C257;
}

/* Подсветка выбранного цвета */
.color-checkbox:checked + .color-swatch {
    border-color: #F7C257;
    box-shadow: 0 0 0 2px rgba(255, 208, 0, 0.984);
}




.filter-label {
  font-size: 14px;
}


.color-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
}

.color-option {
    background: none;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #007bff;
}

.color-option.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.color-swatch {
    width: 24px;
    display: block;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.footer__content{
    padding-bottom: 45px;
    padding-top: 25px;
    display:flex;
    align-items: center;
    justify-content: space-between;
}

.footer-notice{
    display:flex;
    gap:30px;
    color:#555555;
    font-size: 15px;
}
.footer-notice__logo{
    max-width: 165px;
}
.footer-notice__logo a{
    display:block;
}
.footer-notice__logo > a > img{
    display:block;
    border-style: none;
    max-width: 100%;
    height: auto;
}
.footer__company-info a:hover{
    color:#35549b;
}

.footer__company-info{
    text-align: right;
    font-size: 15px;
    color:#555555;
}
@media(max-width:992px){
    .footer__content{
        align-items: end;

    }
    .footer-notice{
        flex-direction: column;
        gap:24px;
    }
}
@media(max-width:768px){
    .footer__content{
        flex-direction: column;
        align-items: start;
        gap:15px;

    }
    .footer-notice{
        flex-direction: column;
        gap:24px;
    }
    .footer__company-info{
        text-align: left;
    }
}

@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PT Sans", sans-serif;
}
body{
    font-family: "PT Sans", sans-serif;
    line-height: 1.5;
    font-size: 16px;
    background-color: #faf9f8;
    color: #484848;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
}
h1, h2, h3, h4, h5, span{
    font-family: "PT Sans", sans-serif;
}
h1, .h1 {
    font-size: 36px;
}

h2, .h2 {
    font-size: 30px;
}

h3, .h3, .contentTitle {
    font-size: 21px;
}

h4, .h4 {
    font-size: 18px;
}

h5, .h5 {
    font-size: 14px;
}

h6, .h6 {
    font-size: 12px;
}
a:hover{
    text-decoration: underline;
    cursor: pointer;
    color:#35549b;
}
.not-line:hover{
    text-decoration: none !important;
}
/*крошки*/
.breadcrumbs > span:not(:last-child)::after {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
    
}
.breadcrumbs > span:not(:last-child){
    color:#35549b;
}
.breadcrumbs{
    margin-top: 3px;
    margin-bottom: 20px;

}

/*конц крошкам*/
.container {
    margin: auto;
    padding: 0 15px;
    max-width: 85%;
    margin-top: 25px;
}
.notm{
    margin-top: 0 !important;
}
.page-title{
    font-size: 21px;
    color: #484848;
    text-transform: uppercase;
    margin-top: 0px;
    font-weight: 500;
    margin-bottom: 30px;
}
.page-wrapper{
    background-color: #ffffff;
    margin-bottom: 25px;
    padding: 25px;
    box-shadow: 0 0 3px 0 #d7d7d7;
}
.center-text{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.content-text{
    font-size: 17px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 10px;
}
.mb{
    margin-bottom:10px;
}

    @media(max-width: 1360px) {
        .container {
            max-width: 100%;
        }
    }


/*Delivery*/

.dostavka u{
    text-decoration: underline;

}
.dostavka ul{
    padding-left: 40px;
}

.messenger-list{
    display: flex;
    gap:10px;
}

.messenger-item{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: #F7C257;
    border-radius: 50%;
}
.messenger-item img{
    display: block;
    object-fit: contain;
    width: 21px;
    height: 21px;
}



/*каталог основные стили*/
/*общая сетка*/
.catalog__content{
    display:flex;
    justify-content: space-between;
    padding-bottom: 30px;
    gap:20px;
    margin-top: 25px;

}
.catalog-menu{
    min-width: 25.5%;
    padding: 0 15px;
}

.catalog-title{
    margin-bottom: 15px !important;
}

/*каталог*/
.catalog__items{
    display:grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 20px;
    column-gap: 30px;
    width: 100%;
}
.catalog__preview{
    width: auto;
    min-width: 70%;
    /*min-width: 73.5%;*/
    /*padding: 0 15px;*/
}
.catalog__item{
    display:flex;
    position: relative;
    flex-direction: column;
    background-color: #ffffff;
    /*padding: 20px 15px 20px 15px;*/
    min-height: calc(100% - 20px);
    vertical-align: top;
    box-shadow: 0px 0px 3px 0px #d7d7d7;
    overflow: hidden;
}

.catalog__item:hover {
    box-shadow: 0px 0px 5px 0px #a3a3a3;
}


.catalog-menu__item a.active {
    font-weight: 600;
    color: #35549b;
}

.product{
    box-shadow: unset;
    background-color: transparent;
}
.product:hover{
    box-shadow: unset !important;
}

.catalog-item-img{
    width: 100%;
    position: relative;
    
    
}
.catalog-item-img img{
    width: 100%;
    height: 100%;
    aspect-ratio: 50/29;
    object-fit: cover;
    position: relative;
    z-index: 0;
    padding: unset;
    margin-bottom: 1em;
    
}


 .link-more-product{
    font-size: 15px;
    text-decoration: none;
    color: #35549b;
    margin-top: 4px;
 }

 .name-category-card{
    color: #ff6600;
    font-size: 17px;
    font-weight: normal;
    text-decoration: underline;
    
 }
 .name-tovar-card{
    font-size: 18px;
    color: #282727;
    font-weight: 500;
    text-transform: uppercase;
 }
 
 .catalog-item-info{
    display:flex;
    align-items: center;
    padding: 0 15px 20px 15px;
    flex-direction: column;
 }
 .properties-tovar-info{
    display: flex;
    flex-wrap: wrap;
    gap:5px;
 }
 .tovar-properties__item{
    color: #979797;
    font-weight: 300;
    display: block;
 }


.tovar-properties__item {
    position: relative;
    padding-right: 4px; /* Небольшой отступ справа для запятой */
}

/* Добавляем запятую после каждого элемента, кроме последнего */
.tovar-properties__item:not(:last-child)::after {
    content: ",";
    margin-left: 4px;
    color: #979797;
    font-weight: normal;
}

 
.tovar-price{
    font-weight: 600;
    font-size: 18px;
}

.name-category-card:hover{
    text-decoration: none !important;

 }
 .catalog-item-info a:hover{
    text-decoration: none ;
 }
 .moreGroups:hover{
    text-decoration: underline !important;
    color: #2a6496;
 }
 .more-product a:hover{
    text-decoration: unset;
    text-decoration: underline !important;
    color: #2a6496;
 }




@media(max-width:992px){
    .catalog__content{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-top: 25px;
    gap:1.5rem;

}
.catalog-menu{
    width: 100%;
    padding: 0;

}
.catalog__preview{
    width: 100%;
    padding: 0;

}

    
}

@media(max-width:576px){
    .catalog__items{
        grid-template-columns: repeat(1,1fr);
        gap:20px;
    }
}



/*избранное знак*/


.favourite-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.favourite-btn:hover {
background-color: rgba(0, 0, 0, 0.1);
}

    #Layer_1 {
    width: 20px;
    height: 20px;
    fill: #777; /* Серый цвет по умолчанию */
    }

/* Стиль для «добавленного в избранное» */
.favourite-btn.favourite-active #Layer_1 {
  fill: #e74c3c; /* Красный цвет для активного состояния */
}

.fav-card{
    position: absolute;
    background-color: transparent;
    top:10px;
    right: 10px;
    z-index: 10;
    border: none !important;
}


.fav-card #Layer_1{
  width: 21px;
  height: 21px;
  fill: #000000;
}

/*Нашествие печенек*/
#cookie-consent{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #222;
        color: #fff;
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 9999;
        font-family: sans-serif;
        font-size: 14px;
}
#accept-cookies{
        background: #ff6600;
        border: none;
        padding: 8px 15px;
        color: #fff;
        cursor: pointer;
        border-radius: 4px;
        margin-left: 20px;
        font-size: 14px;
}
.mobile-menu-wrapper {
    position: relative;
}


.mobile-menu-toggle {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1200;
}

/* Меню выезжающее сбоку */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px; /* изначально спрятано */
    width: 320px;
    height: 100%;
    background: #fff;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 2000;
    padding: 20px;
    visibility: hidden;
}


/* Когда меню открыто */
.mobile-menu.open {
    left: 0;
    visibility: visible;
}


/* Кнопка закрытия */

.close-menu-btn{
    position: absolute;
    top:15px;
    right: 5px;
    width: 52px;
    display: flex;
    align-items: center;
    background-color: transparent;
    justify-content: center;
    height: 52px;
    border: none;
    cursor: pointer;
}
.close-menu-btn img{
    width: 12px;
    height: 12px;
}
.mobile-menu__list,
.mobile-menu__list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.mobile-menu__list li {
    margin-bottom: 10px;
}

.mobile-menu__list li a {
    text-decoration: none;
    color: #333;
}

.mobile-menu__list ul li {
    padding-left: 15px;
}
/* Контейнер меню */
.mobile-menu-wrapper {
    position: relative;
}



/* Список меню */
.mobile-menu__list,
.mobile-menu__list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Верхний уровень элементов меню */
.mobile-menu__list > li {
    margin-left: 15px;
}

/* Ссылки верхнего уровня */
.mobile-menu__list > li > a {
    text-decoration: none;
    display: block;
    padding: 0.7rem 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 90%;
    color: inherit;
}
.mobile-menu__list li span {
    text-decoration: none;
    display: block;
    padding: 0.7rem 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 90%;
    color: inherit;
}

/* Ссылки подкатегорий */
.mobile-menu__list ul li a {
    font-family: inherit;
    text-decoration: none;
    font-size: 1em;
    padding: 5px 0px;
    text-transform: none;
    letter-spacing: normal;
    margin: 3px 0;
    font-weight: normal;
}

/* Активная страница */
.mobile-menu__list li.active > a {
    color: #35549b;
}

/* Отступы для вложенных списков */
.mobile-menu__list ul {
    margin-top: 5px;
}
.bottom-menu{
    background-image: url(/images/site/bottom-menu/verh_podvala.jpg);
    background-color: #0f375a;
    background-position: 50% 0;
    background-repeat: no-repeat;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
    min-height: 433px;

}
.bottom-menu__content{
    display:flex;
    padding: 40px 0;
    justify-content: space-between;
    flex-wrap: wrap;
    color:#ffffff;
}
.bottom-menu__catalog > h3, .bottom-menu__menu > h3{
    font-size:19px;
}
.bottom-menu__item-list{
    display: flex;
    flex-direction: column;
    gap:15px;
    flex: 0 0 25%;
    max-width: 25%;
}
.bottom-menu__list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap:4px;
    font-weight: 300;
    font-size: 1.1em;
}
.prisoed{
    font-size: 19px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    margin-top: 35px;
    margin-bottom: 15px;
    text-align: center;
    display: block;
    width: 225px;
}
.bottom-menu__list li a:hover{
    color:#ffffff !important;
}

@media(max-width:992px){
    .bottom-menu__item-list, .bottom-menu__contacts {
        flex: 0 0 45%;

        max-width: 45%;
    }
    .bottom-menu__content{
        gap:48px;
    }
}
@media(max-width:578px){
    .bottom-menu__item-list, .bottom-menu__contacts {
        flex: 0 0 95%;

        max-width: 95%;
    }
    .fi{
        padding-top: 24px;
    }
    .bottom-menu__content{
        gap:24px;
    }
}




 /*карточка товара - страница товара */

 .product-section{
    display:flex;
    flex-direction: column;
    /*gap:46px;*/
 }

 .product__card{
    display:flex;
    gap:30px;
    width: 100%;
    align-items: start;
 }
 .product__cart{
    display:flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    min-width: 300px;
    padding: 0 10px 10px;
    /*box-shadow: 1px 0 12px -1px #b6b6b6;
    background-color: #ffffff;
    */
    
 }

.product-card__img {
    width: 100%;                
    aspect-ratio: 438 / 254;      
    overflow: hidden;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;       
    display: block;
}

/*свайпер*/
/* Основной слайдер */
.product-sliders {
    max-width: 100%;
    width: 64%;
    position: sticky;
    top: 120px;
}

/* Основной слайдер */
.product-main-slider {
    width: 100%;
    /*height: 438px;*/
}

.product-main-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* Миниатюры снизу */
.product-thumbs-slider {
    width: 100%;
    height: auto;
    background-color: #fff;
    padding: 30px 35px 20px 35px;
    /*margin-bottom: 20px;*/
}


.product-thumbs-slider .swiper-wrapper {
    display: flex;
    height: 400px;
}

.product-thumbs-slider .swiper-slide {
    flex-shrink: 0;
    width: 170px;
    aspect-ratio: 4 / 3;   /* одинаковая пропорция */
    opacity: 0.6;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    overflow: hidden;
}

.product-thumbs-slider .swiper-slide-thumb-active {
    box-shadow: 0px 0px 0px 2px #fa570a;
    opacity: 1;
}
.product-thumbs-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*кнопки навигации*/
/* Стили для стрелок внутри миниатюр */
.custom-nav-prev,
.custom-nav-next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    background-color: #f4ad1a;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    background-image: url(/images/site/glavnaya/vector.svg);
    background-size: auto 25px;
    background-repeat: no-repeat;
    background-position: center;
}

.product-main-slider:hover .custom-nav-prev,
.product-main-slider:hover .custom-nav-next {
    opacity: 1;
    visibility: visible;
}

.custom-nav-prev:hover,
.custom-nav-next:hover {
    background-color: #f85d00;

}

.custom-nav-prev {
    left: 0;
    margin-left: 0px;
    transform: rotate(90deg);
}

.custom-nav-next {
    right: 0;
    margin-right: 0;
    transform: rotate(-90deg);
}



/*end button*/

.product-name{
    font-weight: bold;
    text-transform: none;
    font-size: 35px;
    margin-bottom: 0px !important;
}
.product-cart-line{
    padding: 0 0 10px 0;
}

.bay-cart_item{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}
.price-type{
    color: #aaa;
    white-space: nowrap;
}
.price{
    font-size: 30px;
    font-weight: bold;
}
.price-line{
    font-weight: bold;
    font-size: 18px;;
}
.product-consalt{
    font-size: 13px;
    text-align: center;
}
.qty-block{
    display: flex;
}



.cart-active__group{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    gap:15px;
    flex-wrap: nowrap;
    margin-top: 20px;
}



.add-to-cart{
    background-color: #404040;
    color: #fff;
    border: none;
    border-radius: 4px;
    border: 1px solid var(--color-grafit);
    font-size: 1em;
    line-height: 1.4em;
    display: inline-block;
    padding: 0.5em 0.6em;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    transition: all .2s;
    font-weight: 500;

}
.in-cart{
    background-color: transparent;
    color:#000;
    border: 1px solid #000;
    transition: all .2s;
}




.product-properties{
    display: flex;
    margin-top: 10px;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.product-properties__item{
    display: flex;
    flex-shrink: 0;
    gap: 5px;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
    height: 30px;
    padding: 0 10px;
    overflow: hidden;
    color: #000;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    background-color: #f5f3f1;
    border-radius: 30px;
    cursor: default;
}

/*Описание товара -характеристики*/
.characteristic{

    overflow: hidden;
    margin-top: 46px;
}

.characteristict-text{
    font-weight: bold;
    color: #0b2621;
    margin-bottom: 0.5em;
    font-size: 1em;
}
.table-product{
    background-color: #FFFFFF;
    border: 1px solid #ccc;
    padding: 15px;
}
.table-product table{
    max-width: 100%;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 

}
.table-product th,
.table-product td {
    border-top: 1px solid #e9e9e9;
    padding: 0.8rem 1rem 0.8rem 0;            
    text-align: left;              
    word-wrap: break-word;
    font-size: 15px;  
}
.table-product tr:first-child th,
.table-product tr:first-child td {
  border-top: none;
}

/* Ширина колонок */
.table-product th:nth-child(1),
.table-product td:nth-child(1) {
    width: 55%;
}

.table-product th:nth-child(2),
.table-product td:nth-child(2) {
    width: 45%;
}
@media(max-width:1200px){
    .product-sliders {
        width: 58%;
    }
}
@media(max-width:768px){
    .product__card{
        flex-direction: column;

    }
    .product__cart {
        min-width: 100%;
        width: 100%;
        padding: 0 10px 10px;
    }
    .product-sliders {
        width: 100%;
        position: static;
    }
    .characteristic{
        margin-top: 30px;
}
}
@media(max-width:480px){
    .product-thumbs-slider .swiper-slide {
    width: 90px; 

}
}












/*преимущества*/
.advantages{
    margin-top: 46px;
}
.advantages-content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:20px;
}
.advanages-image svg{
    width: 60px;
    height: auto;
}
.advanages-image svg path{
fill: #484848;}
.advantages-item p {
    font-size: 20px;
}

.advantages-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: all 0.3s ease;
  /*box-shadow: 1px 0 12px -1px #b6b6b6;*/
  background-color: #FFFFFF;
}

.advantages-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .advantages-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .advantages-item {
    flex-direction: row;
    text-align: left;
    padding: 15px;
  }
  
  .advanages-image {
    margin-bottom: 0;
    margin-right: 15px;
  }
}

/* ======================= СЛАЙДЕР ТОВАРА - ВЕРТИКАЛЬНО/ГОРИЗОНТАЛЬНО ======================= */

/* Десктоп (миниатюры слева, основной слайдер справа) */
@media (min-width: 1600px) {
    .product-sliders {
        display: flex;
        gap: 10px;
        align-items: stretch;
    }

    .product-main-slider {
        width: calc(100% - 140px);
        min-height: 438px;
        order: 1;
    }

    .product-main-slider img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-thumbs-slider {
        width: 110px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 2px;
        max-height: 100%;
    }

    .product-thumbs-slider .swiper-slide {
        width: 100%;
        height: 100px;
        cursor: pointer;
        opacity: 0.6;
        border: 2px solid transparent;
    }

    .product-thumbs-slider .swiper-slide-thumb-active {
        box-shadow: 0 0 0 2px #fa570a;
        opacity: 1;
    }
}

/* Меньше 1400px - горизонтальные миниатюры снизу */
@media (max-width: 1599px) {
    .product-sliders {
        display: block;
    }
    .product-thumbs-slider .swiper-wrapper {
        height: 80px;
    }

    .product-main-slider {
        width: 100%;
        min-height: 300px;
    }

    .product-thumbs-slider {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 10px 0;

    }

    .product-thumbs-slider .swiper-slide {
        width: 90px;
        height: auto;
        flex: 0 0 auto;
        opacity: 0.6;
    }
}



.product-card-right {
  flex: 1 1 38%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: visible; /* контент участвует в общей прокрутке страницы */
  padding-right: 0;
}


.product-card-right::-webkit-scrollbar {
  width: 6px;
}

.product-card-right::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.product-card-right::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.product-card-right::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}



    .fabric-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    }
    .fabric-card {

    border-radius: 4px;
    width: 90px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    padding: 4px;
    }
    .fabric-card:hover, .fabric-card.selected {
    border: 1px solid #000;
    }
    .fabric-card-img img {
    width: 100%;
    height: 90px;
    aspect-ratio: 1/1;
    object-fit: cover;
    }
    .fabric-card-title p,
    .fabric-card-price p,
    .fabric-card-color p {
    margin: 0;
    font-size: 13px;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4; 
    }
    .fabric-card-price p{
        white-space: nowrap;
    }

    .fabric-card-price p {
        font-weight: 600;
        padding-bottom: 5px;
    }
    .fabric-card-title p {
        padding-top: 10px;
    }
    .fabric-card-color p {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }


    .filter-drop{
        display: flex;
        gap:1px;
        align-items: center;
    }
.property-fabric-wrapper { margin-top: 20px; }
.fabric-selector, .size-selector{ 
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    margin: 0 10px;
    position: relative;
    cursor: pointer; 
    z-index: 10;
    background-color: #ffffff;
}

.fabric-selector .fabric-block-v, .size-selector .size-block-v {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fabric-selector.open, .size-selector.open {
  z-index: 10; 
}
.fabric-selector .current-fabric { display: flex; align-items: center; gap: 5px;}
.fabric-selector .fabric-color { width: 20px; height: 20px; background-size: cover; border: 1px solid #999; border-radius: 50%; }
.fabric-selector .fabric-collection {
  display: none; 
  background: #fff;
  padding: 10px;
  margin-top: 2px;
}


.fabric-selector.open .fabric-collection {
  display: block; 
}

.fabric-cards { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;}
.fabric-card { width: 80px; text-align: center; font-size: 12px; }
.fabric-card-img img { width: 100%; height: auto; display: block; }


.property-title{
    font-size: 16px;
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease; 
}
.property-title:hover{
    color:#000;
}
.vector-img {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    margin-left: 10px;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Поворот при открытии */
.fabric-selector.open .vector-img {
    transform: rotate(180deg);
}




.property-block-count{
    font-weight: 600;
    white-space: nowrap;
}
.fabric-options-count, .fabric-name, .size-name, .size-options-count{
    font-weight: 400;

    font-size: 14px;
}

.collection-header-block{
    display: flex;
    justify-content: space-between;
    gap:10px;
}
.collection-price-range{
    font-size: 14px;
    font-weight: 600;
}

.collection-fabric-block{
    display: flex;
    flex-direction: column;
    gap:5px;
}






/**/

.size-collection {
    display: none;
    margin-top: 10px;
}

.size-selector.open .size-collection {
    display: block;
}

.size-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.size-btn {
    border: 1px solid #f5f3f1;
    border-radius: 45px;
    padding: 8px 12px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    transition: border .2s ease-in-out;
}

.size-btn.active {
    border-color: #000;
}


.collection-description {
    display: none;
    padding: 16px;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 4px;

    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.collection-description strong {
    color: #222;
}

.dectr-content{
    display: flex;
    flex-direction: column;
    gap:15px;
}

.descr-block ul {
    padding-left: 20px;
}

.fix-header{
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 1000;
    max-height: 90px;
    visibility: hidden;
    background-color: #fff;
    transition: top 0.3s ease;
    padding: 10px 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
.fix-header__content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
    width: 100%;
}
.fix-header.active{
    top: 0;
    transform: translateY(0);
    visibility: visible;
}
.fix-header__content-block{
    display: flex;
    gap:30px;
}
.cont-fix-header{
    display: flex;
    gap:10px;
    align-items: center;
}
.messengers-fix-header{
    display: flex;
    flex-direction: column;
    gap:4px;
}
.messengers-fix-header .messenger-item{
    width: 22px;
    height: 22px;
}
.messengers-fix-header .messenger-item img{
    width: 16px;
    height: 16px;
}
.fix-header__contacts{
    display: flex;
    flex-direction: column;
    text-align: right;
}
.fix-header__contacts a {
    color: #575757;
    font-size: 18px;
}

.fix-header__logo {
    max-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
    flex: 0 1 auto;
}
.fix-header__logo > a > img {
    display: block;
    border-style: none;
    max-width: 100%;
    height: auto;
}
.fix-header__search{
    flex:1;
    padding: 0 30px;
}
.fix-cart .infoShopCard span{
    background-color: #f5a705;
    color: #fff;
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    padding: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    right: -5px;
    top: 0;
}
.fix-cart .cart-informer {
    padding-left: 10px;
    position: relative;
    width: 40px;
}

/* кнопка поиска */
.mobile-search-open{
    width:46px;
    height:46px;
    background:url(/images/search.svg) center no-repeat;
    background-size:26px;
    border:none;
}


.mobile-search-open{
    display: none;
}


@media(max-width:992px){
    .fix-header{
        padding: 10px 10px;
    }
    .fix-header__search {
        padding: 0 10px;
    }
    .fix-header__logo {
        max-width: 80px;
    }
    .fix-header__contacts a {
        font-size: 15px;
    }
    .fix-header__content-block{
        gap: 20px;
    }
}
@media(max-width:768px){

.fix-header__content-block{
    display:none;
}

/* кнопка поиска */
.mobile-search-open{
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    border:0.5px solid #bcbbbb;
    width:40px;
    height:40px;
}

.mobile-search-open svg{
    width:14px;
    height:14px;
}

/* шапка */
.fix-header{
    padding:15px 10px 10px 10px;
    overflow:visible;
}

/* поиск полностью скрыт */
.fix-header__search{
    display:none;
    position:fixed;
    left:0;
    bottom:-70px;
    width:100%;
    background:#fff;
    padding:15px;
    z-index:2000;
}

/* показываем при клике */
.fix-header__search.active{
    display:block;
    
}

.fix-header__content{
    justify-content:end;
}

}
.custom-furniture{
        margin-bottom: 30px;
}
.custom-furniture__title{
    font-size:54px;
    padding-bottom: 10px;

}
.tg-link{
    color:#35549b;
}
.custom-header{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.custom-furniture__subtitle{
    display: block;
    font-size: 18px;
}
/*
.questionnaire-header{
    color: #ffffff;
    font-size: 18px;
    line-height: 1.4;
    background-color: #f85d00;
    margin: 0;
    padding: 12px;
    text-align: center;
    text-transform: uppercase;
}*/
.mdb{
    margin-bottom: 15px !important;
}
.wrapper-form{
    /*background-color: #f2f2f2;
    border-bottom: 1px solid #e4e4e4;
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;*/
    margin: 0;
    border-radius: 0px 0px 15px 15px
}

#contactForm{
    padding: 40px 15px 30px;
    max-width: 1000px;
    margin: auto;
}
.field_object{
    display: flex;
    flex-direction: column;
    gap:10px;
    margin-bottom: 20px;
}

.field_input{
    width: 100%;
    border: 1px solid #c0c0c0;
    padding: 0.8em 1.2em;
    border-radius: 4px;
    font-size: 1em;
}
.form_object-label{
    font-size: 18px;
}
.br-field{
    border-radius:45px;
    padding: 1.2em 1.2em;
}
.field_input:focus{
    border: 2px solid #35549b;
}
.link-color{
    color:#ae2828;
}
.file_input{
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
.textarea_field{
    min-height: 250px;
    overflow: auto;
}

.add-file{
    display:flex;
    font-size: 15px;
    flex-direction: column;
    gap:0.5em;
}
.btnSend{
    background-color: #f85d00;
    color: #fff;
    margin-bottom: 7px;
    cursor: pointer;
    font-size: 18px;
    border: none;
    line-height: 1.4em;
    display: inline-block;
    padding: 0.6em 1.4em;
    border-radius: 4px;
    transition: all 0.1s ease;
    text-decoration: none;
}
.btnSend:hover{
     background-color: #e04a00;
    color: #fff;
    text-decoration: none;   
}
.customBtn{
    padding: 1.4em 3em;
    border-radius:45px;
    background-color: transparent;
    border: 1px solid #c0c0c0;
    color:black;
}
.btn-field{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap:30px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.check_license-checkbox{
    cursor: pointer;
    margin-top: 0.2em;
    margin-right: 0.7em;
    float: left;
}
.form_object_recv{
    display: flex;

    align-items: start;
}

.error-text {
    color: red;
    font-size: 0.9em;
    display: block;
    margin-top: 0.2em;
}

.file_input{
    display:none;
}

.file-btn{
    width: 240px;
    display:inline-block;
    padding: 1.2em 1.2em;
    background:#fff;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid #c0c0c0;
    border-radius:45px;
    text-transform:uppercase;
    cursor:pointer;
    transition:0.3s;
}

.file-btn:hover{
    background:#000;
    color:#fff;
}

.file-list {
    margin-top: 15px;
    display: none; /* Скрываем, пока нет файлов */
}

.file-list-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.file-names {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-names li {
    padding: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    word-break: break-word;
}

.glavnaya_catalog{
    width: 100%;
}
.glavnaya_catalog .container {
    padding: 0 !important;
}
.glavnaya-Catalog__content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    row-gap: 30px;
    column-gap: 15px;
}
.glavnaya-catalog-title{
    margin-bottom: 30px;
    text-align: center;
    margin-top: 60px;
}
.catalog-show-more{
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
}
.catalog-show-more button{
    background-color: #f85d00;
    color: #fff;
    margin-bottom: 7px;
    font-size: 18px;
    border: none;
    line-height: 1.4em;
    display: inline-block;
    padding: 0.6em 1.4em;
    border-radius: 4px;
    transition: all 0.1s 
ease;
    text-decoration: none;
    margin-top: 30px;
    margin-bottom: 60px;
}
.catalog-show-more button:hover{
    background-color: #e04a00;
    color: #fff;
    text-decoration: none;
}
.catalog-loader{
    width:40px;
    height:40px;
    margin:30px auto;
    border:4px solid #eee;
    border-top:4px solid #000;
    border-radius:50%;
    animation: catalogSpin 0.8s linear infinite;
    display:none;
}

@keyframes catalogSpin{
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media(max-width:500px){
.glavnaya-Catalog__content{
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
}

}
