/* Promo popup overlay */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: promo-fade-in 0.3s ease;
}

.promo-overlay.promo-fade-out {
    animation: promo-fade-out 0.3s ease;
}

/* Promo popup container */
.promo-popup {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 9px;
    padding: 0.6rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: promo-scale-in 0.3s ease;
}

/* Close button */
.promo-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: white;
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding-top: 0px;
}

.promo-close:hover {
    background: #d4a373;
    transform: scale(1.1);
}

/* Promo image */
.promo-image {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 6px;
}

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

@keyframes promo-fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes promo-scale-in {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .promo-popup {
        max-width: 95%;
        max-height: 95%;
        padding: 0.75rem;
    }

    .promo-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: -12px;
        right: -12px;
    }

    .promo-image {
        max-height: 85vh;
    }
}