.dru-loyalty-banner {
    padding-top: 40px;
    padding-bottom: 40px;
}

.dru-loyalty-banner__inner {
    position: relative;
    border-radius: 40px;
    background: #090909;
    overflow: hidden;
    height: 399px;
    display: flex;
    align-items: center;
}

.dru-loyalty-banner__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 52%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.dru-loyalty-banner__content {
    position: relative;
    z-index: 2;
    width: 520px;
    margin-left: 80px;
}

.dru-loyalty-banner__title {
    margin: 0 0 20px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 36px;
    line-height: 46.8px;
    color: #f4f6ef;
}

.dru-loyalty-banner__subtitle {
    margin: 0 0 30px;
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 25.2px;
    color: #f4f6ef;
}

.dru-loyalty-banner__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 55px;
    padding: 0 28px;
    border-radius: 15px;
    background: #6bb022;
    color: #090909;
    font-family: var(--font);
    font-size: 15px;
    line-height: 19.5px;
    border: 1px solid #6bb022;
    transition: opacity .15s ease;
}
.dru-loyalty-banner__btn:hover { opacity: .88; }

@media (max-width: 1240px) {
    .dru-loyalty-banner__content { width: 460px; margin-left: 50px; }
    .dru-loyalty-banner__title { font-size: 30px; line-height: 38px; }
}

@media (max-width: 900px) {
    .dru-loyalty-banner__inner { height: auto; padding: 40px 0; }
    .dru-loyalty-banner__bg {
        width: 45%;
        opacity: .55;
    }
    .dru-loyalty-banner__content { width: 100%; margin: 0 36px; padding-right: 36px; }
}

@media (max-width: 600px) {
    .dru-loyalty-banner__inner { border-radius: 24px; }
    .dru-loyalty-banner__bg { width: 38%; opacity: .4; }
    .dru-loyalty-banner__content { margin: 0 20px; padding-right: 20px; }
    .dru-loyalty-banner__title { font-size: 24px; line-height: 30px; }
    .dru-loyalty-banner__subtitle { font-size: 15px; }
    .dru-loyalty-banner__btn { height: 46px; padding: 0 20px; font-size: 14px; }
}

/* Мобильный баннер лояльности по Figma 2153:9929 */
@media (max-width: 600px) {
    .home .dru-loyalty-banner { padding: 15px 20px 45px; }
    .home .dru-loyalty-banner__inner {
        display: block;
        height: 487px;
        padding: 0;
        border-radius: 20px;
    }
    .home .dru-loyalty-banner__bg {
        top: auto;
        right: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 227px;
        border-radius: 20px;
        background-image: url('../img/mobile/loyalty-coupons.png') !important;
        background-position: left bottom;
        background-repeat: no-repeat;
        background-size: 94.7% 100%;
        opacity: 1;
    }
    .home .dru-loyalty-banner__content {
        position: absolute;
        top: 35px;
        left: 30px;
        width: calc(100% - 60px);
        margin: 0;
        padding: 0;
    }
    .home .dru-loyalty-banner__title {
        margin-bottom: 10px;
        font-size: 26px;
        line-height: 34px;
    }
    .home .dru-loyalty-banner__subtitle {
        margin-bottom: 20px;
        font-size: 12px;
        line-height: 15px;
    }
    .home .dru-loyalty-banner__btn {
        height: 48px;
        padding: 0 24px;
        border-radius: 15px;
        font-size: 12px;
        line-height: 15px;
        white-space: nowrap;
    }
    .home:not(.logged-in) .dru-loyalty-banner__btn {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 10px;
    }
    .home.logged-in .dru-loyalty-banner__btn {
        width: max-content;
    }
}
