:root {
    --text-color: #535353;
}
/**
 * Product category block
 */

section.product-cats_section{
    margin: 50px 0;
}
#product-cats.product-cats-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#product-cats .product-cats{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1170px;
}
#product-cats .product-cats-title{
    text-align: center;
    margin-bottom: 50px;
}
#product-cats .product-cat-item{
    display: flex;
    flex-direction: column;
    padding: 30px 50px 30px;
    flex: 1 0 18%;
    background-color: #F5F6FA;
    color: var(--text-color);
    border-radius: 15px;
    box-shadow: 0 2px 4px #E0E0E0;
    font-weight: 450;
    transition: all .2s linear
}
#product-cats .product-cat-svg{
    fill: #97E185;
}
#product-cats .product-cat-item:hover .product-cat-svg{
    fill: #71C45D;
}
#product-cats .product-cat-img{
    display: flex;
    justify-content: center;
}
#product-cats .product-cat-svg{
    pointer-events: none;
    height: 62px;
    width: 62px;
    transition: all .2s linear
}
#product-cats .product-cat-title{
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}
@media (min-width: 922px){
    #product-cats .product-cat-item:hover{
        background-color: #CCF3B5;
        color: #3F7332;
    }
}
@media (max-width: 543px){
    #product-cats .product-cat-item{
        flex: 1 0 100%;
    }
}

.s-promo {
    margin-top: 120px;
    margin-bottom: 120px;
}

.s-promo__title {
    text-align: center;
    margin-bottom: 40px;
}

.s-promo-swiper-c.swiper-custom-c .swiper-button-prev,
.s-promo-swiper-c.swiper-custom-c .swiper-button-next {
    margin-top: -38px;
}

.s-promo-swiper-c.swiper-custom-c .swiper-button-prev {
    left: -20px;
}

.s-promo-swiper-c.swiper-custom-c .swiper-button-next {
    right: -20px;
}

.s-promo-swiper-c .s-promo-swiper {
    margin-left: -20px;
    margin-right: -20px;
    margin-top: -20px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.s-promo-swiper-c.swiper-custom-c .swiper-wrapper .swiper-slide {
    height: auto;
}

.promo-card {
    display: flex;
    height: 100%;
    flex-direction: column;
}

@media (hover:hover) {
    .promo-card:hover .promo-card__title {
        color: #71C45C;
    }

    .promo-card:hover .promo-card__main {
        box-shadow: 0px 0px 7px #c5c5c5;
    }
}

.promo-card__main {
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    flex: 1;
    box-shadow: 0px 0px 7px #e3e3e3;
    transition: .3s ease-in-out;
}

.promo-card__badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 8px;
    height: 43px;
    color: #fff;
    font-weight: 500;
    font-size: 17px;
    display: flex;
    align-items: center;
    text-align: center;
    background: #71C45C;
}

.promo-card__img-c {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.promo-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
}

.promo-card__title {
    margin-top: 6px;
    flex: 1;
    display: flex;
    padding: 0 12px 11px;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 17px;
    color: #000;
    transition: all .3s;
}

.promo-card__date {
    margin-top: 14px;
    font-weight: 600;
    font-size: 17px;
    line-height: 21px;
    color: #71C45C;
    text-align: center;
}

@media (max-width: 834px) {
    .promo-card__img-c {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .promo-card__title {
        padding: 0 8px 8px;
    }

    .promo-card__date {
        margin-top: 8px;
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .promo-card__img-c {
        height: 170px;
    }
}
@media (max-width: 1199px) {
    .main-page_slider #slider .swiper.sample-slider {
        margin-top: 0;
        margin-bottom: 0;
    }

    .s-prod-day {
        margin: 30px 0;
    }

    .s-prod-day__title {
        margin-bottom: 15px;
    }

    section.product-cats_section {
        margin: 30px 0;
    }

    #product-cats .product-cats-title {
        margin-bottom: 15px;
    }

    #product-cats .product-cat-item {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}