﻿
.ld-advantages {
    text-align: center;
}

.ld-advantages-wrapper {
    display: inline-block;
    width: 100%;
    max-width: 1200px;
}

#AdvantagesCarousel-list,
.ld-advantages-wrapper {
    display: inline-block;
    width: 100%;
    gap: 5px;
}

.ld-advantages-content {
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
}

#AdvantagesCarousel-list,
.ld-advantages-content {
    display: inline-flex;
    flex-wrap: wrap;
    padding: 1rem;
    justify-content: center;
    justify-content: space-around;
}

.ld-advantage-element {
    --vw: calc(100% / 4);
    width: calc(var(--vw) - 10px);
    margin-right: 10px;
    border-radius: 20px;
    margin-bottom: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
}

.ld-advantage-element-image {
    display: inline-block;
    position: relative;
    z-index: 10;
}

.ld-advantage-element-image:before {
    content: '';
    height: 30px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: #f5f5f5;
    z-index: -1;
    border-radius: 10px 10px 0 0;
}

#AdvantagesCarousel-list li:nth-child(2n+1) .ld-advantage-element-image:before {
    background: #fef8f0;
}

.ld-advantage-element-image img {
    display: inline-block;
    width: 200px;
    height: auto;
}

.ld-advantage-element-content {
    flex: 1;
    background: rgb(var(--smash-grey-3-rgb));
    padding: 10px;
    padding-top: 0;
    border-radius: 0 0 10px 10px;
}


.ld-advantage-element-title {
    min-height: 50px;
}

    .ld-advantage-element-title h3 {
        color: #ED7D31;
        font-weight: normal;
        align-self: flex-end; 
        margin: 0;
    }

#AdvantagesCarousel-list li:nth-child(2n+1) .ld-advantage-element-content {
    background: #fef8f0;
}

[data-section="advantages"] {
    padding-bottom: 90px;
}

#AdvantagesCarousel-track {
    text-align: center;
}

#AdvantagesCarousel .splide__slide {
    width: calc(25% - 5px);
    max-width: 300px;
    border-radius: 20px;
}

.ld-advantage-element {
    width: 100%;
}

[data-section="advantages"] .ld-smash-sales-section,
[data-section="advantages"] .ld-smash-sales-section-pf-center-f1 {
    padding-top: 10px;
    max-width: 1400px;
}

#AdvantagesCarousel {
    padding: 15px;
}



@media all and (max-height: 1000px) {
    [data-section="advantages"] .ld-smash-deco-bottom-wave {
        margin-bottom: 20px;
    }
}

@media all and (max-width: 1000px) {
    [data-section="advantages"] {
        padding-bottom: 120px;
    }

    #AdvantagesCarousel .splide__slide {
        width: calc(33% - 10px);
    }
}

@media all and (max-width: 700px) {

    #AdvantagesCarousel .splide__slide {
        width: calc(50% - 10px);
    }

}

@media all and (max-width: 500px) {
    #AdvantagesCarousel-list, .ld-advantages-content {
        gap: 30px;
    }

    .ld-advantage-element-image img {
        width: 100%;
        max-width: 250px;
    }


    #AdvantagesCarousel .splide__slide {
        width: calc(100% - 10px);
        max-width: initial;
    }

}

@media (max-width: 800px), (max-height: 800px) {
    [data-section="advantages"] {
        padding-bottom: 70px;
    }
}
