/* =========================================================
   Promo Modal — popup.css
   ========================================================= */

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* When hidden attribute is present, remove from layout */
.promo-modal[hidden] {
    display: none;
}

/* ---- Backdrop ---- */
.promo-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    cursor: pointer;
    animation: promo-fade-in 0.25s ease both;
}

/* ---- Card ---- */
.promo-modal__card {
    position: relative;
    z-index: 1;
    background: #0d0d0d;
    border: 1px solid rgba(188, 42, 39, 0.45);
    border-top: 3px solid var(--color-accent, #BC2A27);
    border-radius: 6px;
    padding: 2.5rem 2rem 2rem;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04);
    animation: promo-slide-up 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
    color: #fff;
}

/* ---- Close button ---- */
.promo-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.promo-modal__close:hover,
.promo-modal__close:focus-visible {
    color: #fff;
    background: rgba(255,255,255,0.08);
    outline: none;
}

/* ---- Eyebrow ---- */
.promo-modal__eyebrow {
    font-family: var(--font-regular, "Oswald", sans-serif);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-accent, #BC2A27);
    margin: 0 0 0.5rem;
}

/* ---- Title ---- */
.promo-modal__title {
    font-family: var(--font-action, "Fremont", "Oswald", sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ---- Deals container ---- */
.promo-modal__deals {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.75rem;
}

/* ---- Individual deal ---- */
.promo-modal__deal {
    padding: 1.25rem 0;
}

.promo-modal__deal-badge {
    display: inline-block;
    background: var(--color-accent, #BC2A27);
    color: #fff;
    font-family: var(--font-regular, "Oswald", sans-serif);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.2em 0.6em;
    border-radius: 2px;
    margin-bottom: 0.6rem;
}

.promo-modal__deal-badge--gold {
    background: #b8922a;
}

.promo-modal__deal-headline {
    font-family: var(--font-action, "Fremont", "Oswald", sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.promo-modal__deal-desc {
    font-family: var(--font-regular, "Oswald", sans-serif);
    font-size: 0.92rem;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    margin: 0;
    line-height: 1.55;
}

.promo-modal__deal-desc strong {
    color: #fff;
    font-weight: 400;
}

/* ---- Divider ---- */
.promo-modal__divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* ---- CTA button ---- */
.promo-modal__cta {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--color-accent, #BC2A27);
    color: #fff;
    font-family: var(--font-action, "Fremont", "Oswald", sans-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.85em 1.5em;
    border-radius: 3px;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    box-shadow: 0 4px 18px rgba(188, 42, 39, 0.35);
    margin-bottom: 1.25rem;
}

.promo-modal__cta:hover,
.promo-modal__cta:focus-visible {
    background: #a02220;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(188, 42, 39, 0.5);
    color: #fff;
    text-decoration: none;
    outline: none;
}

/* ---- Suppress checkbox ---- */
.promo-modal__suppress {
    text-align: center;
}

.promo-modal__suppress-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: var(--font-regular, "Oswald", sans-serif);
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.45);
    user-select: none;
    transition: color 0.15s ease;
}

.promo-modal__suppress-label:hover {
    color: rgba(255,255,255,0.7);
}

.promo-modal__suppress-check {
    accent-color: var(--color-accent, #BC2A27);
    width: 14px;
    height: 14px;
    cursor: pointer;
}

/* ---- Animations ---- */
@keyframes promo-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes promo-slide-up {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---- Responsive ---- */
@media (max-width: 540px) {
    .promo-modal__card {
        padding: 2rem 1.25rem 1.5rem;
    }
    .promo-modal__title {
        font-size: 1.4rem;
    }
}
