.goods-section{
    margin: 0 auto;
    margin-top: 180px;
    padding: 0 72px;
    max-width: 1440px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 80px;
    overflow: hidden;
}

.goods-section .filters{
    height: 100%;
    margin: 0;
}

.goods-section .filters h5{
    font-weight: 500;
}

.goods-wrapper{
    overflow: hidden;
    background-color: #fff;
    padding: 48px 29.5px;
}

.goods-title{
    padding: 0 6px;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    color: #212529;

}

.goods-title h4{
    font-weight: 500;
}
.sale h4{
    color: #1E8194;
}

.categories-section{
    padding: 0 76px;
    margin-bottom: 56px;
}

.catalog-href{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 0;
    font-weight: 500;
}

.category-title{
    display: flex;
    align-items: center;
    justify-content:  center;
    padding: 24px;
}

#category-title {
    font-weight: 500;
}

.category-title button{
    border: none;
    background-color: transparent;
}

.category-slide{
    padding: 0 8px;
    color: #212529;
}

.category{
    position: relative;
    display: flex;
    width: 100%;
    height: 95%;
    border-radius: 26px;
    border: 1px solid #DEE2E6;
    overflow: hidden;
}

.category img{
    width: 100%;
    height: auto;
}

.category span{
    position: absolute;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 24px;
    bottom: 0;
    border-radius: 0 25px 0 0;
    color: #212529;
    background-color: #fff;
}

.slick-track {
    padding: 20px 0;
}
.product-slider1 .slick-slide { 
    margin: 0 25px;
}
#product-slider2 .slick-slide { 
    margin: 0 25px;
}
#product-slider3 .slick-slide { 
    margin: 0 25px;
}
#product-slider4 .slick-slide {
    margin: 0 25px;
}

.sale-products-section,
.new-products-section {
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    width: 90%;
}

.popular-goods-section,
.viewed-products-section {
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    width: 1150px;
    margin-top: 50px;
}

.sale-products-scrollbar,
.new-products-scrollbar,
.popular-goods-scrollbar,
.viewed-products-scrollbar {
    display: none;
}

.sale-products-section h2,
.new-products-section h2,
.popular-goods-section h2,
.viewed-products-section h2 {
    font-weight: 500;
    text-align: center;
}

.sale-products-wrapper,
.new-products-wrapper,
.popular-goods-wrapper,
.viewed-products-wrapper {
    display: flex;
    padding: 20px;
    gap: 30px;
    box-sizing: border-box;
}

.popular-goods-wrapper,
.viewed-products-wrapper {
    padding: 20px;
}

.sale-products-wrapper .swiper-slide,
.new-products-wrapper .swiper-slide{
    flex: 0 0 calc(33.33% - 20px); /* 3 слайда на ряд */
    box-sizing: border-box;
}

.popular-goods-wrapper .swiper-slide,
.viewed-products-wrapper .swiper-slide {
    flex: 0 0 calc(25% - 20px); /* 3 слайда на ряд */
    box-sizing: border-box;
}

.sale-products-next,
.sale-products-prev,
.new-products-next,
.new-products-prev,
.popular-goods-next,
.popular-goods-prev,
.viewed-products-next,
.viewed-products-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.sale-products-next,
.new-products-next,
.popular-goods-next,
.viewed-products-next {
    right: -50px; /* Позиционирование кнопки "вправо" */
}

.sale-products-prev,
.new-products-prev,
.popular-goods-prev,
.viewed-products-prev {
    left: -50px; /* Позиционирование кнопки "влево" */
}

.mobile-about-section {
    display: none;
}

@media (max-width: 1280px) {

    .goods-section {
        padding: 0 32px;
        gap: 20px;
        grid-template-columns: 220px 1fr;
    }
    .sale-products-section,
    .new-products-section,
    .viewed-products-section,
    .popular-goods-section {
        width: 90%; /* Снижаем ширину для секций слайдера */
    }

    .sale-products-wrapper,
    .new-products-wrapper {
        gap: 0;
        padding: 0;
    }

    .sale-products-wrapper .swiper-slide,
    .new-products-wrapper .swiper-slide {
        flex: 0 0 auto;
        height: auto; /* Убираем фиксированную высоту */
    }

    .sale-products-next,
    .new-products-next,
    .sale-products-prev,
    .new-products-prev {
        width: 35px; /* Уменьшаем кнопки */
        height: 35px;
    }

    .goods-section {
        margin-top: 200px;
    }
}

@media (max-width: 1024px) {
    .goods-section {
        grid-template-columns: auto;
    }
    .goods-section .filters {
        display: none;
    }

    .categories-section {
        padding: 0;
    }

    .sale-products-next,
    .sale-products-prev,
    .new-products-next,
    .new-products-prev,
    .viewed-products-next,
    .popular-goods-prev,
    .viewed-products-prev,
    .popular-goods-next {
        position: absolute;
        top: 60%;
        transform: translateY(-60%);
    }

    .categories-section {
        margin-bottom: 20px;
    }

    .sale-products-section {
        margin-bottom: 20px;   
    }

    
    .popular-goods-section,
    .viewed-products-section {
        width: 95%; /* Снижаем ширину для секций слайдера */
    }

    .popular-goods-wrapper,
    .viewed-products-wrapper {
        padding: 20px 0;
        gap: 0px;
    }

    .popular-goods-wrapper .swiper-slide,
    .viewed-products-wrapper .swiper-slide {
        flex: 0 0 auto; /* 3 слайда на ряд */
        height: auto;
    }
    .popular-goods-next,
    .viewed-products-next {
        right: -35px;
    }
    .popular-goods-prev,
    .viewed-products-prev {
        left: -35px;
    }

}

@media (max-width: 768px) {

    .sale-products-section,
    .new-products-section {
        width: 95%; /* Снижаем ширину для секций слайдера */
    }

    .popular-goods-section,
    .viewed-products-section {
        width: 100%;
    }

    .popular-goods-next,
    .viewed-products-next,
    .popular-goods-prev,
    .viewed-products-prev {
        display: none;
    }



    .sale-products-wrapper,
    .new-products-wrapper {
        padding: 0;
        padding-bottom: 20px;
    }

    .goods-wrapper {
        padding: 30px 15px;
    }

    .goods-section {
        padding: 0 16px;
    }

    .sale-products-next,
    .new-products-next {
        right: -20px;
    }
    
    .sale-products-prev,
    .new-products-prev {
        left: -20px;
    }

    .viewed-products-section .swiper-scrollbar,
    .popular-goods-section .swiper-scrollbar {
        position: relative;
    }

    .viewed-products-section,
    .popular-goods-section {
        padding: 0 16px;
        box-sizing: border-box;
    }

    .goods-section {
        margin-top: 350px;
    }

}

@media (max-width: 480px) {
    .sale-products-section,
    .new-products-section {
        width: 100%; /* Снижаем ширину для секций слайдера */
    }

    .sale-products-wrapper,
    .new-products-wrapper {
        gap: 0;
    }

    .sale-products-wrapper .swiper-slide,
    .new-products-wrapper .swiper-slide {
        flex: 0 0 auto;
    }

    .sale-products-next,
    .new-products-next,
    .sale-products-prev,
    .new-products-prev {
        display: none;
    }

    .swiper-scrollbar {
        width: 100%;
    }

    .goods-wrapper {
        background-color: transparent;
        padding: 0;
    }

    .goods-section {
        margin-top: 30px; 
    }

    .about-section {
        display: none
    }

    .mobile-about-section {
        display: block;
        padding: 0 12px;
    }

    .mobile-about-section h2 {
        font-size: 24px;
        font-weight: 500;
        margin-top: 30px;
    }

    .why-choose {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 12px;
        gap: 100px;
        background: linear-gradient(180deg, #1E8194 0, #0d3841 100%);
        margin: 30px 0 12px 0;
        border-radius: 25px;
        justify-content: space-between;
    }

    .why-choose-header {
        display: flex;
        gap: 16px;
        color: #FFFFFF;
        font-size: 20px;
        font-weight: 500;
        align-items: center;
    }

    .why-choose-header img {
        width: 30px;
    }

    .why-choose-items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: flex-end;
        gap: 8px;
    }

    .why-choose-item {
        display: flex;
        flex-direction: column;
        color:#FFFFFF;
        /* filter: blur(24.1px); */
        justify-content: space-between;
        backdrop-filter: blur(24.1px);
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 17px;
        font-size: 14px;
    }

    .why-choose-item span {
        padding-left: 12px;
        padding-bottom: 8px;
    }

    .about-items {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .about-item {
        display: flex;
        flex-direction: column;
        background-color: #E9ECEF;
        padding: 12px 16px;
        gap: 60px;
        border-radius: 20px;
    }

    .about-item-header {
        display: flex;
        gap: 12px;
        color: #343A40;
        font-size: 20px;
        font-weight: 500;
        align-items: center;
    }

    .about-item-header img {
        width: 30px;
    }

    .about-item p {
        font-size: 14px;
        color: #6C757D;
    }

    .section-catalog-link {
        display: none;
    }

    .new-products-section h2,
    .sale-products-section h2 {
        font-size: 24px;
        text-align: start;
        margin-bottom: 20px;
    }

    .viewed-products-section h2,
    .popular-goods-section h2{
        font-size: 24px;
        text-align: start;
    }


}



@media (min-width: 1025px) {
    .swiper-scrollbar {
        display: none !important;
      }
}

@media (max-width: 768px) {
    .swiper-scrollbar {
      display: block !important;
    }
  }
