/* Стили дефолтного баннера*/
.dts-banner {
    margin: 36px auto 0 auto;

    display: block;
    width: 100%;
    max-width: 1100px;
    box-sizing: border-box;
    border-radius: 16px;
}

.dts-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 576px) {
    .dts-banner {
        margin-top: 50px;
        border-radius: 30px;
    }
}

@media (min-width: 768px) {
    .dts-banner {
        border-radius: 40px;
    }
}

/* Стили main баннера главной страницы под новогодний розыгрыш */
/* 1. banner */

.gift_banner {
    position: relative;
    width: 100%;
    height: fit-content;
    padding: 24px;
    border-radius: 16px;

    background-image: url('/images/new/gift/banner/banner-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;

}

.gift_banner__container {
    position: relative;
    width: 100%;
    height: fit-content;
    max-width: 345px;
    margin: 0 auto;

    text-align: center;
}

.gift_banner__container-t1 {
    display: block;
    font-weight: 700;
    color: #935E3F;

    font-size: 14px;
    margin-bottom: 18px;
}

.gift_banner__container-t2 {
    display: block;
    font-weight: 100;
    color: #101010;

    font-size: 18px;
    margin-bottom: 4px;
}

.gift_banner__container-t3 {
    display: block;
    font-weight: 700;
    color: #101010;

    font-size: 34px;
    margin-bottom: 18px;
}

.gift_banner__container-t4 {
    display: block;
    font-weight: 200;
    color: #101010;

    font-size: 14px;
    margin-bottom: 18px;
}

.gift_banner__container-t4 span {
    font-weight: 700;
}

.gift_banner__button {
    width: 100%;
    margin-bottom: 220px;
}

.gift_banner__capybara {
    position: absolute;
    left: 0; /* отступ слева */
    bottom: 92px;
    width: 100%; /* настройте размер */
    height: 200px;
    background-image: url('/images/new/gift/banner/kapibara.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 1;
}

.gift_banner__counter {
    width: 100%;
    height: fit-content;
    padding: 12px;
    background-color: #FFFFFF;
    border-radius: 12px;
    text-align: center;
    z-index: 1;
}

.gift_banner__counter-text {
    font-weight: 500;
    margin-bottom: 6px;

    font-size: 14px;
}

.gift_banner__timer-text {
    font-weight: 500;
    font-size: 32px;
}

@media (min-width: 390px) {
    .gift_banner__container-t1 {
        font-size: 16px;
    }

    .gift_banner__container-t2 {
        font-size: 24px;
    }

    .gift_banner__container-t3 {
        font-size: 42px;
    }

    .gift_banner__container-t4 {
        font-size: 16px;
    }

    .gift_banner__button {
        margin-bottom: 250px;
    }

    .gift_banner__capybara {
        height: 240px;
        bottom: 125px;
    }

    .gift_banner__counter {
        padding: 24px 18px;
    }

    .gift_banner__counter-text {
        font-size: 16px;
    }

    .gift_banner__timer-text {
        font-size: 42px;
    }
}

@media (min-width: 480px) {
    .gift_banner {
        padding: 36px 24px 24px 24px;
    }

    .gift_banner__container-t1 {
        margin-bottom: 28px;
    }

    .gift_banner__container-t2 {
        font-size: 28px;
    }

    .gift_banner__container-t3 {
        font-size: 50px;
    }

    .gift_banner__button {
        margin-bottom: 290px;
    }

    .gift_banner__capybara {
        height: 280px;
        bottom: 132px;
    }

    .gift_banner__counter-text {
        letter-spacing: 1px;
        font-size: 18px;
    }

    .gift_banner__timer-text {
        letter-spacing: 2px;
        font-size: 46px;
    }
}

@media (min-width: 576px) {
    .gift_banner__container {
        max-width: 438px;
    }
    .gift_banner__container-t1 {
        font-size: 16px;
    }

    .gift_banner__container-t2 {
        font-size: 30px;
    }

    .gift_banner__container-t3 {
        font-size: 54px;
    }

    .gift_banner__button {
        width: fit-content;
        margin-bottom: 300px;
    }
}

@media (min-width: 768px) {
    .gift_banner__container-t2 {
        font-size: 32px;
    }

    .gift_banner__container-t3 {
        font-size: 58px;
    }

    .gift_banner__button {
        margin-bottom: 150px;
    }

    .gift_banner__capybara {
        background-image: url('/images/new/gift/banner/kapibara-desk.png');

        width: 240px;
        height: 400px;
        left: auto;
        right: calc(50% + 120px);
        bottom: 0;
    }

    .gift_banner__counter {
        position: absolute;
        width: fit-content;
        right: 24px;
        bottom: 24px;
    }
}

@media (min-width: 992px) {
    .gift_banner {
        padding: 42px 0 55px 0;
    }

    .gift_banner__container {
        max-width: 450px;
    }

    .gift_banner__container-t1 {
        font-size: 18px;
    }

    .gift_banner__container-t2 {
        font-size: 38px;
    }

    .gift_banner__container-t3 {
        font-size: 65px;
    }

    .gift_banner__container-t4 {
        font-size: 18px;
        margin-bottom: 28px;
    }

    .gift_banner__button {
        margin-bottom: 0px;
    }

    .gift_banner__counter-text {
        font-size: 14px;
    }

    .gift_banner__timer-text {
        font-size: 38px;
    }

    .gift_banner__capybara {
        right: calc(50% + 260px);
    }
}

@media (min-width: 1200px) {
    .gift_banner__counter-text {
        font-size: 20px;
    }

    .gift_banner__timer-text {
        font-size: 48px;
    }
}

@media (min-width: 1400px) {
    .gift_banner__counter {
        left: calc(50% + 260px);
    }
}

/* Баннер под розыгрыш авто, но с тайтлом, а не дефолт баннер sts-banner */
.ny-gift {
    margin: 36px auto 0 auto;
}

.ny-gift .dts-title span {
    color: #FF0505;
    font-weight: 700;
    font-size: inherit;
}

.ny-gift a {
    width: 100%;
    display: block;
    margin: 0 auto;
    max-width: 1100px;
    height: fit-content;
    border-radius: 16px;
}

.ny-gift a img {
    width: 100%;
    height: auto;
}

@media (min-width: 576px) {
    .ny-gift {
        margin-top: 50px;
    }
}
