
.rb-offer-access-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(2, 6, 23, .88);
    box-sizing: border-box;
}

.rb-offer-access-overlay.is-open {
    display: flex !important;
}

.rb-offer-access-modal {
    width: min(96vw, 1180px);
    max-height: min(92vh, 860px);
    overflow: auto;
    background: #ffffff;
    border-radius: 30px;
    border-left: 8px solid #ffcc00;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
    color: #061226;
}

.rb-offer-access-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: #081426;
    color: #ffffff;
}

.rb-offer-access-head strong {
    font-size: clamp(22px, 2.4vw, 36px);
    line-height: 1.1;
    font-weight: 1000;
}

.rb-offer-access-close {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: #ffcc00;
    color: #081426;
    font-weight: 1000;
    cursor: pointer;
}

.rb-offer-access-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 32px;
    padding: clamp(24px, 3vw, 46px);
}

.rb-offer-access-left,
.rb-offer-access-right {
    min-width: 0;
    text-align: center;
}

.rb-offer-access-left h2,
.rb-offer-access-right h2 {
    margin: 0 0 20px;
    color: #061226;
    font-size: clamp(34px, 4.2vw, 62px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.045em;
}

.rb-offer-access-right h2 {
    font-size: clamp(30px, 3.3vw, 48px);
}

.rb-offer-access-left p,
.rb-offer-access-right p {
    margin: 0 0 20px;
    color: #1f2f46;
    font-size: clamp(18px, 1.55vw, 24px);
    line-height: 1.45;
    font-weight: 800;
}

.rb-offer-access-open {
    appearance: none !important;
    border: 0 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 88px;
    margin: 24px 0 0;
    border-radius: 999px !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: clamp(30px, 4.4vw, 58px) !important;
    line-height: 1 !important;
    font-weight: 1000 !important;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 22px 50px rgba(0,0,0,.18);
}

.rb-offer-access-right {
    border-left: 4px solid #081426;
    padding-left: 32px;
}

.rb-offer-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 24px;
}

.rb-offer-access-actions .cm-btn {
    min-width: 170px;
    justify-content: center;
}

.rb-offer-access-sticky {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 999px;
    background: #081426;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.rb-offer-access-sticky span {
    color: #ffffff;
    font-weight: 1000;
    padding-left: 12px;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .rb-offer-access-overlay {
        padding: 12px;
    }

    .rb-offer-access-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rb-offer-access-right {
        border-left: 0;
        border-top: 4px solid #081426;
        padding-left: 0;
        padding-top: 24px;
    }

    .rb-offer-access-open {
        min-height: 68px;
        font-size: 28px !important;
    }

    .rb-offer-access-sticky {
        left: 12px;
        right: 12px;
        bottom: 10px;
        transform: none;
        display: grid;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .rb-offer-access-sticky span {
        text-align: center;
        padding-left: 0;
    }
}


/* Keep Offer Detail access controls clickable above visual overlays/sticky elements. */
.rb-offer-actions,
.rb-offer-growth-grid,
.rb-offer-access-sticky {
    position: relative !important;
    z-index: 100000 !important;
}

.js-rb-offer-access-popup {
    cursor: pointer !important;
    pointer-events: auto !important;
}
