.vendor-newsletter-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.vendor-popup-box {
    position: relative;
    max-width: 500px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.vendor-popup-background img {
    width: 100%;
    height: auto;
    display: block;
}

.vendor-popup-content {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    box-sizing: border-box;
}

.vendor-popup-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.vendor-popup-content input[type="email"] {
    padding: 10px;
    width: 80%;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
}

.vendor-subscribe-btn {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 8px 18px;
    cursor: pointer;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.vendor-subscribe-btn:hover {
    background: #e65c00;
    transform: scale(1.05);
}

/* Bottone di chiusura (X) */
.vendor-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: color 0.3s ease, transform 0.2s ease;
}

.vendor-popup-close:hover {
    color: #ff6600;
    transform: scale(1.2);
}

/* Checkbox in basso a sinistra (desktop) */
.vendor-dont-show {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 13px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vendor-dont-show input[type="checkbox"] {
    accent-color: #ff6600;
    transform: scale(1.1);
    cursor: pointer;
}

/* Responsive fix per mobile */
@media (max-width: 480px) {
    .vendor-popup-box {
        width: 95%;
        max-width: none;
        border-radius: 6px;
    }

    .vendor-popup-content {
        padding: 15px;
        justify-content: flex-start;
    }

    .vendor-popup-content h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .vendor-popup-content input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .vendor-subscribe-btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .vendor-dont-show {
        position: static;
        margin-top: 10px;
        justify-content: flex-start;
        font-size: 12px;
    }
}
