.rb-promo-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 15, 35, 0.55);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.rb-promo-overlay.rb-promo-visible {
    opacity: 1;
    pointer-events: auto;
}

.rb-promo-overlay.rb-promo-closing {
    opacity: 0;
    pointer-events: none;
}

.rb-promo-card {
    position: relative;
    width: 500px;
    max-width: 93vw;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 30px 70px rgba(0, 20, 50, 0.3),
        0 0 0 1px rgba(0, 110, 200, 0.08);
    transform: translateX(-120%);
    opacity: 0;
    transition:
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.1s,
        opacity   0.4s  ease                           0.1s;
}

.rb-promo-visible .rb-promo-card {
    transform: translateX(0);
    opacity: 1;
}

.rb-promo-closing .rb-promo-card {
    transform: translateX(-120%);
    opacity: 0;
    transition:
        transform 0.4s  ease,
        opacity   0.35s ease;
}

.rb-promo-hero {
    position: relative;
    background:
        linear-gradient(135deg, rgba(0, 110, 200, 0.82) 0%, rgba(0, 93, 168, 0.88) 100%),
        #005da8;
    background-size: cover;
    background-position: center top;
    padding: 38px 36px 32px;
    text-align: center;
    overflow: hidden;
}

.rb-promo-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(253, 253, 2, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.rb-promo-hero > * {
    position: relative;
    z-index: 1;
}

.rb-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 5px 14px 4px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.rb-promo-heading {
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    font-size: 42px;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0 0 2px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.rb-promo-saveline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 62px;
    letter-spacing: 2px;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.rb-promo-pct {
    color: #fdfd02;
    text-shadow: 0 0 20px rgba(253, 253, 2, 0.2);
}

.rb-promo-tagline {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    margin: 8px 0 0;
}

.rb-promo-body {
    background: #fff;
    padding: 28px 34px 30px;
}

.rb-promo-prices {
    text-align: center;
    margin-bottom: 20px;
    line-height: 1;
}

.rb-promo-old {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #b0b8c4;
    text-decoration: line-through;
    margin-right: 8px;
    vertical-align: middle;
}

.rb-promo-new {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    color: #006ec8;
    letter-spacing: 1px;
    line-height: 1;
    vertical-align: middle;
}

.rb-promo-cta {
    display: block;
    width: 100%;
    padding: 17px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #006ec8 0%, #0062b3 100%);
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 23px;
    letter-spacing: 1.8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rb-promo-cta:hover,
.rb-promo-cta:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 110, 200, 0.3);
    outline: none;
}

.rb-promo-cta:active {
    transform: translateY(0);
}

.rb-promo-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: rb-promo-shine 3s ease-in-out infinite;
}

@keyframes rb-promo-shine {
    0%,  70%, 100% { left: -100%; }
    40%            { left: 140%;  }
}

.rb-promo-subtext {
    text-align: center;
    margin: 12px 0 0;
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #8a95a5;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.rb-promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, color 0.2s ease;
}

.rb-promo-close:hover,
.rb-promo-close:focus {
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    outline: none;
}

@media (max-width: 540px) {
    .rb-promo-hero       { padding: 26px 24px 22px; }
    .rb-promo-heading    { font-size: 34px; }
    .rb-promo-saveline   { font-size: 48px; }
    .rb-promo-body       { padding: 22px 22px 24px; }
    .rb-promo-cta        { font-size: 20px; padding: 15px 20px; }
}
