.btn-promo {
    box-sizing: border-box;
    display: inline-block;
    background: var(--neutral-bg);
    color: var(--secondary-blue);
    padding: 20px;
    text-decoration: none;
    border-radius: 8px;
    border-width: 0;
    position: relative;
    height: 200px;
    width: 100%;
}

.btn-promo div {
    font-size: 24px;
    line-height: 120%;
    height: 200px;
    font-weight: 600;
    padding-right: 50px;
    max-width: 250px;
}

.btn-promo:hover {
    text-decoration: none;
    color: var(--secondary-blue);
    background: #e3eaf7;
}

.btn-promo img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    height: 70px;
    width: auto;
}

.promo {
    min-height: calc(100vh - 60px);
    height: 100%;
    padding: 16px;
    border-radius: 8px;

    @media (max-width: 767px) {
        margin: 60px 0 16px;
    }

}

.promo-header {
    background-color: var(--primary-blue);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.promo-header h1 {
    text-align: center;
    color: var(--neutral-white);
    font-size: 26px;
    text-transform: uppercase;
}

.promo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 10px;

    @media (max-width: 1280px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 576px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.promo-main {
    min-height: calc(100vh - 276px);
    padding: 30px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--neutral-white);
}

.promo-card {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-card.cashback {
    grid-column: 1/4;
    display: block;

    @media (max-width: 1280px) {
        grid-column: unset;
    }
}

.promo-contacts {
    text-align: left;
    color: var(--secondary-blue);
    font-size: 18px;
    margin-top: 20px;
    grid-column: 1/4;

    @media (max-width: 1280px) {
        grid-column: 1/3;
        font-size: 16px;
    }

    @media (max-width: 576px) {
        grid-column: unset;
    }
}

#promoCodeModal .modal-content {
    background: var(--neutral-bg);
    position: relative;
}

#promoCodeModal .btn-close {
    position: absolute;
    top: 25px;
    right: 20px;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23263F6C'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat
}

#promoCodeModal .modal-title {
    width: 100%;
    color: var(--secondary-blue);
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;

    @media (max-width: 576px) {
        font-size: 18px;
    }
}

#promoCodeModal .modal-header, #promoCodeModal .modal-footer {
    border: 0;
}

#promoCodeModal .modal-body {
    padding: 0 40px;

    @media (max-width: 576px) {
        padding: 0 20px;
    }
}

#promoCodeModal .modal-body .promo-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

#promoCodeModal .modal-body textarea {
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--teclis-blue-rgba);
    padding: 20px 16px;
    white-space: normal;
}

#promoCodeModal .modal-footer {
    justify-content: center;
    padding: 20px 40px;

    @media (max-width: 576px) {
        padding: 20px;
    }
}

#promoCodeModal .primary-button {
    background: var(--secondary-blue);
    color: var(--neutral-white);
    width: 100%;
    max-width: unset;
}

.banner-rotator {
    width: 251px;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    cursor: pointer;

    @media (max-width: 991px), (max-height: 620px) {
        display: none;
    }
}

.banner-rotator__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.banner-rotator__slide.active {
    pointer-events: auto;
    opacity: 1;
}

.banner-rotator__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}