﻿html {
    scroll-behavior: smooth;
}

.MyLPs {
    color: #fff;
    overflow: hidden;
    background-color: #c8cffb;
    position: relative;
    line-height: 1.2;
}

.MyLPs img {
    width: auto;
    max-width: 100%;
}

.MyLPs .header {
    font-size: 30px;
    font-weight: 600;
    background: url(images/last_items_bg_d.jpg) no-repeat center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #2D2C42;
    padding: 200px 0 90px 0;
}

.MyLPs .margin_0_auto {
    margin: auto;
}

.MyLPs .margin_auto {
    margin: auto;
}

.MyLPs .hastags {
    font-size: 24px;
    background-color: #e4e7fd;
    border-radius: 50px;
    margin: 10px auto;
    padding: 8px 20px;
    width: fit-content;
}

.MyLPs .section1 {
    background-color: #617cf2;
    background-image: url(images/last_items_text_bg.jpg);
    background-repeat: no-repeat;
    background-position: 50% 38%;
    padding-bottom: 40px;
}

.MyLPs .sectio1_icon_top {
    position: absolute;
    top: 20px;
    right: -300px;
}

.MyLPs .sectio1_icon_left {
    position: absolute;
    top: 30px;
    left: -500px;
}

.MyLPs .sectio1_icon_right {
    position: absolute;
    right: -100px;
    bottom: 150px;
}

.MyLPs .title {
    font-size: 50px;
    font-weight: 800;
    z-index: 0;
    padding-top: 35px;
}

.MyLPs .section1 .title {
    color: #fff;
}

.MyLPs .section2 .title,
.MyLPs .section4 .title {
    color: #4960f2;
}

.MyLPs .title_icon {
    position: absolute;
    top: 0;
    right: -120px;
    z-index: -1;
    max-width: 187px;
}

.MyLPs .section1_cards,
.MyLPs .section2_cards,
.MyLPs .section3_cards,
.MyLPs .section4_cards {
    padding: 46px 0;
    position: relative;
}

.MyLPs .section1_cards .section1_btns {
    margin-top: -25px;
}

.MyLPs .btnCommon {
    background-color: #fff;
}

.MyLPs .btnCommon.btn_categories {
    padding: 20px 40px 21px 40px;
    font-size: 18px;
}

.MyLPs .section2,
.MyLPs .section4 {
    background-color: #c8cffb;
    background-image: url(images/last_items_text_bg2.jpg);
    background-repeat: no-repeat;
    background-position: 50% 52%;
    padding-bottom: 40px;
}

.MyLPs .section2 .sectio2_icon_left {
    position: absolute;
    top: 100px;
    left: -300px;
}

.MyLPs .section2 .sectio2_icon_right {
    position: absolute;
    top: 100px;
    right: -400px;
}

.MyLPs .section2 .sectio2_icon_left2 {
    position: absolute;
    bottom: 0px;
    left: -200px;
}

.MyLPs .section3 {
    background-color: #617cf2;
    background-image: url(images/last_items_text_bg.jpg);
    background-repeat: no-repeat;
    background-position: 50% 52%;
    padding-bottom: 40px;
}

.MyLPs .sectio3_icon_left {
    position: absolute;
    bottom: 0px;
    left: -200px;
}

.MyLPs .sectio3_icon_right2 {
    position: absolute;
    bottom: 0px;
    right: -200px;
}

.MyLPs .sectio3_icon_right {
    position: absolute;
    top: 0px;
    right: -200px;
}

.MyLPs .sectio4_icon_right {
    position: absolute;
    top: 0;
    right: -150px;
}

.MyLPs .sectio4_icon_left {
    position: absolute;
    top: 0;
    left: -150px;
}

.MyLPs .sectio4_icon_left2 {
    position: absolute;
    bottom: 0;
    left: -150px;
}

.MyLPs .section5 {
    background-color: #ece9e9;
    padding: 40px;
}

.MyLPs .cards_hover:hover img {
    -webkit-box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
    box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
    border-radius: 30px;
}

.MyLPs .cards_hover:hover .btnCommon {
    background-color: #ffd571;
    -webkit-box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
    box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
}

.MyLPs .bye_buy_banner:hover,
.MyLPs .parta_banner:hover {
    -webkit-box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
    box-shadow: 6px 3px 10px -1px rgba(0, 0, 0, 0.10);
    border-radius: 30px;
}

.section_banners_promo {
    display: flex;
    flex-direction: row;
    position: relative;
    margin: 50px auto;
    z-index: 2;
    justify-content: space-around;
    gap: 50px;
}

@media (max-width: 999px) {
    .MyLPs .header {
        font-size: 26px;
        background: url(images/last_items_bg_t.jpg) no-repeat center;
        padding: 20px 0;
    }

    .MyLPs .last_items_logo {
        width: 30%;
        margin-bottom: 30px;
    }

    .MyLPs .hastags {
        font-size: 20px;
        margin: 8px auto;
    }
}

@media (max-width: 750px) {
    .MyLPs .header {
        background: url(images/last_items_bg_m.jpg) no-repeat center;
    }

    .MyLPs .section1,
    .MyLPs .section2,
    .MyLPs .section3,
    .MyLPs .section4 {
        padding: 0 20px 20px;
    }

    .MyLPs .section1 .sectio1_icon_right {
        display: none;
    }

    .MyLPs .title {
        font-size: 7px;
        padding-top: 20px;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center;
    }

    .MyLPs .section1 .title_icon {
        right: -30px;
        z-index: -1;
        max-width: 110px;
    }

    .MyLPs .section2 .title_icon,
    .MyLPs .section3 .title_icon,
    .MyLPs .section4 .title_icon {
        right: -10px;
        z-index: -1;
        max-width: 110px;
    }


    .MyLPs .section1_cards {
        padding: 30px 0;
    }

    .MyLPs .section2_cards,
    .MyLPs .section3_cards,
    .MyLPs .section4_cards {
        padding: 10px 0 30px 0;
    }
}

@media (max-width: 767px) {
    .MyLPs .section1 .btn_kids {
        display: none;
    }

    .MyLPs .parta_banner {
        margin-bottom: 30px;
    }

    .MyLPs .section5 {
        background-color: #ece9e9;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .section_banners_promo {
        flex-wrap: wrap;
        padding: 0 20px;
        gap: 30px;
        margin: 30px auto;
    }
}

@media (max-width: 500px) {
    .MyLPs .header {
        font-size: 20px;
        background: url(images/last_items_bg_xs.jpg) no-repeat center;
        padding: 40px 0;
    }

    .MyLPs .last_items_logo {
        width: 52%;
    }

    .MyLPs .hastags {
        font-size: 16px;
        margin: 6px auto;
    }

    .MyLPs .btnCommon.btn_categories {
        padding: 10px 30px 11px 30px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .MyLPs .header {
        font-size: 18px;
        background: url(images/last_items_bg_xxs.jpg) no-repeat center;
        padding: 45px 0 60px 0;
    }

    .MyLPs .last_items_logo {
        width: 72%;
        margin-left: 30px;
    }

    .MyLPs .sectio1_icon_left,
    .MyLPs .sectio1_icon_right,
    .MyLPs .sectio1_icon_top,
    .MyLPs .sectio2_icon_left,
    .MyLPs .sectio2_icon_left2,
    .MyLPs .sectio2_icon_right,
    .MyLPs .sectio3_icon_left,
    .MyLPs .sectio3_icon_right,
    .MyLPs .sectio3_icon_right2,
    .MyLPs .sectio4_icon_left,
    .MyLPs .sectio4_icon_left2,
    .MyLPs .sectio4_icon_right {
        display: none;
    }

}