.sticky-offer {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1000;
    display: grid;
    grid-template-columns: minmax(170px, 0.9fr) minmax(220px, 1.4fr) minmax(190px, 0.9fr);
    align-items: center;
    gap: 18px;
    width: min(920px, calc(100% - 28px));
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(15, 23, 48, 0.1);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(15, 23, 48, 0.18);
    transform: translate(-50%, 140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
    box-sizing: border-box;
}

.sticky-offer.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.sticky-offer__close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: #f3f5f8;
    color: #4b5563;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.sticky-offer__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.sticky-offer__logo {
    width: 42px;
    height: 42px;
    padding: 5px;
    background: #f9fbff;
    border: 1px solid rgba(15, 23, 48, 0.08);
    border-radius: 12px;
    object-fit: contain;
}

.sticky-offer__name,
.sticky-offer__label,
.sticky-offer__headline,
.sticky-offer__sub {
    margin: 0;
}

.sticky-offer__name {
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
}

.sticky-offer__label {
    margin-top: 3px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.sticky-offer__details {
    min-width: 0;
    text-align: center;
}

.sticky-offer__headline {
    color: #0b1228;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

.sticky-offer__sub {
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.35;
}

.sticky-offer__code-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.sticky-offer__code {
    min-width: 94px;
    padding: 11px 14px;
    background: #f9fbff;
    border: 1px solid rgba(15, 23, 48, 0.12);
    border-radius: 12px;
    color: #0b1228;
    font-family: "Courier New", monospace;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-align: center;
}

.sticky-offer__copy {
    min-width: 92px;
    height: 44px;
    padding: 0 16px;
    background: #0b1228;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 900;
}

.sticky-offer__copy:hover {
    background: #005bff;
}

@media (max-width: 760px) {
    .sticky-offer {
        left: 10px;
        right: 10px;
        grid-template-columns: 1fr;
        gap: 12px;
        bottom: 10px;
        width: auto;
        padding: 16px;
        border-radius: 18px;
        transform: translate(0, 140%);
    }

    .sticky-offer.is-visible {
        transform: translate(0, 0);
    }

    .sticky-offer__brand {
        padding-right: 28px;
    }

    .sticky-offer__details {
        text-align: left;
    }

    .sticky-offer__headline {
        font-size: 17px;
    }

    .sticky-offer__code-wrap {
        justify-content: stretch;
    }

    .sticky-offer__code {
        flex: 1;
        min-width: 0;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sticky-offer__copy {
        min-width: 108px;
        font-size: 15px;
    }
}
