﻿
.ld-smash-sales-users-love-smash {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    justify-content: space-around;
    padding: 15px;
}

    .ld-smash-sales-users-love-smash.ld-smash-sales-users-love-smash-carousel {
        display: none;    
    }

    .ld-smash-sales-users-love-smash > div {
        width: 50%;
        max-width: 800px;
        flex-basis: 50%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: center;
    }

.ld-smash-sales-users-love-smash-section {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-self: center;
    justify-content: center;
    align-items: center;
}

    .ld-smash-sales-users-love-smash-section div {
        width: calc(100% - 170px);
        background: #f6f6f6;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 15px;
        border-radius: 0 10px 10px 0;
        padding: 30px 15px;
        justify-content: center;
        position: relative;
    }

        .ld-smash-sales-users-love-smash-section div:before {
            position: absolute;
            content: '';
            width: 25%;
            height: 100%;
            background: #f6f6f6;
            left: -25%;
            top: 0;
        }

    .ld-smash-sales-users-love-smash-section:nth-child(2n+1) div:before,
    .ld-smash-sales-users-love-smash-section:nth-child(2n+1) div {
        background: #fef8f0;
    }

    .ld-smash-sales-users-love-smash-section img {
        width: calc(50px + 22vh);
        max-width: 20vw;
        position: relative;
        align-self: center;
        z-index: 10;
    }


[data-section="studentsLoveSmash"] .ld-smash-sales-section-pf-center-f1 .ld-smash-sales-section,
[data-section="studentsLoveSmash"] .ld-smash-sales-section-pf-center-f1,
[data-section="teachersLoveSmash"] .ld-smash-sales-section-pf-center-f1 .ld-smash-sales-section,
[data-section="teachersLoveSmash"] .ld-smash-sales-section-pf-center-f1 {
    max-width: 1800px;
}

[data-section="studentsLoveSmash"],
[data-section="teachersLoveSmash"] {
    padding-bottom: 60px;
}


@media all and (orientation: portrait) {
    [data-section="studentsLoveSmash"],
    [data-section="teachersLoveSmash"] {
        padding-bottom: 100px;
    }
}

@media all and (max-height: 1100px) {
    .ld-smash-sales-users-love-smash-section img {
        /*width: calc(50px + 18vh);*/
    }

    .ld-smash-deco-bottom-wave {
        margin-bottom: 0px;
    }
}


@media all and (max-height: 700px) {
    .ld-smash-sales-users-love-smash-section img {
        /*width: calc(50px + 10vh);*/
    }

    .ld-smash-sales-users-love-smash-section div {
        padding: 15px;
    }
}

    @media all and (max-width: 850px) {
        .ld-smash-sales-users-love-smash {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            width: 100%;
        }

            .ld-smash-sales-users-love-smash > div {
                width: 100%;
                max-width: initial;
                flex-basis: 100%;
            }

        .ld-smash-sales-users-love-smash-section div {
            width: 100%;
            min-height: 120px;
        }

        .ld-smash-sales-users-love-smash-section img {
            width: calc(100px + 20vh);
            max-width: 40vw;
        }
    }


@media all and (max-width: 700px), (max-height: 800px) {
    [data-section="studentsLoveSmash"],
    [data-section="teachersLoveSmash"] {
        padding-bottom: 70px;
    }
}

@media all and (max-width: 500px) {

    .ld-smash-sales-users-love-smash {
        display: none;    
    }

    .ld-smash-sales-users-love-smash.ld-smash-sales-users-love-smash-carousel {
        display: flex;
    }

    #studentsLoveSmashCarousel-list,
    #teachersLoveSmashCarousel-list {
        width: 100%;
        flex-wrap: nowrap;
    }

    .ld-smash-sales-users-love-smash-section {
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: center;
        align-items: stretch;
        justify-content: center;
        align-self: initial;
    }

    .ld-smash-sales-users-love-smash-section div:before {
        display: none;
    }

        .ld-smash-sales-users-love-smash-section div {
            flex: 1 auto;
        }

        .ld-smash-sales-users-love-smash-section img {
            width: calc(100% - 30px);
            max-width: 250px;
            margin-bottom: 15px;
        }


    .ld-smash-sales-users-love-smash-section {
       margin-bottom: 50px;
    }
}