html:has(body.promo-modal-visible) {
    overflow: hidden;
}

.promo-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.promo-modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.promo-modal-card {
    position: relative;
    display: grid;
    grid-template-columns: var(--promo-image-width, 42%) minmax(0, 1fr);
    width: min(1040px, 100%);
    margin: auto;
    overflow: hidden;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.34);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-modal-overlay.show .promo-modal-card {
    transform: translateY(0) scale(1);
}

.promo-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.88);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
}

.promo-modal-image {
    position: relative;
    min-height: 0;
}

.promo-modal-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    object-fit: contain;
    display: block;
}

.promo-modal-card.promo-modal-stacked {
    grid-template-columns: 1fr;
}

.promo-modal-stacked .promo-modal-image img {
    position: static;
    height: auto;
}

.promo-modal-content {
    padding: clamp(28px, 4vw, 42px);
}

.promo-modal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    color: #006272;
    background: #e0f7fa;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.promo-modal-content h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    font-weight: 800;
}

.promo-modal-body {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.promo-modal-body p,
.promo-modal-body ul,
.promo-modal-body ol {
    margin-bottom: 14px;
}

.promo-modal-body a {
    color: #006272;
    font-weight: 700;
    text-decoration: underline;
}

.promo-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.promo-modal-primary,
.promo-modal-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border-radius: 14px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
}

.promo-modal-primary {
    color: #fff;
    background: linear-gradient(135deg, #006272, #00B0B9);
    box-shadow: 0 12px 28px rgba(0, 98, 114, 0.22);
}

.promo-modal-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.promo-modal-secondary {
    color: #475569;
    background: #f1f5f9;
    border: 0;
}

.promo-modal-secondary:hover,
.promo-modal-close:hover {
    background: #e2e8f0;
}

@media (max-width: 991px) {
    .promo-modal-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .promo-modal-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        border-radius: 24px 24px 18px 18px;
    }

    .promo-modal-image img {
        position: static;
        height: auto;
    }

    .promo-modal-content {
        padding: 26px 20px 22px;
    }

    .promo-modal-actions {
        flex-direction: column;
    }

    .promo-modal-primary,
    .promo-modal-secondary {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .promo-modal-overlay {
        padding: 0;
    }

    .promo-modal-card {
        border-radius: 22px 22px 0 0;
    }
}
