/* === Stile per le modali prodotti LPA === */

.lpa-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.7);
    overflow: auto;
}

.lpa-modal-content {
    background: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 16px;
    max-width: 1000px; /* più largo per layout orizzontale */
    position: relative;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

/* Struttura orizzontale */
.lpa-modal-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Colonna immagine */
.lpa-modal-image {
    flex: 1;
    max-width: 45%;
}
.lpa-modal-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

/* Colonna destra */
.lpa-modal-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.lpa-modal-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}
.lpa-modal-text p {
    font-size: 16px;
    margin: 6px 0;
    line-height: 1.4;
}

/* Pulsante chiusura */
.lpa-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}
.lpa-close:hover {
    color: #000;
}

/* Navigazione frecce */
.lpa-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}
.lpa-prev,
.lpa-next {
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}
.lpa-prev:hover,
.lpa-next:hover {
    color: #000;
}

/* Mobile fix: torna verticale */
@media (max-width: 768px) {
    .lpa-modal-body {
        flex-direction: column;
    }
    .lpa-modal-image,
    .lpa-modal-text {
        max-width: 100%;
    }
    .lpa-modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 90%;
    }
    .lpa-modal-text h2 {
        font-size: 22px;
    }
    .lpa-prev, .lpa-next {
        font-size: 28px;
    }
}



/* Rendere tutta la card cliccabile */
.lpa-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Effetto hover */
.lpa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.elementor-nav-menu__container {
    z-index: 9999 !important;
    position: relative;
}

/* Forza il menu a stare sopra alle sezioni sticky */
.elementor-widget-nav-menu {
    position: relative;
    z-index: 9999 !important;
}

.elementor-widget-nav-menu .elementor-nav-menu__container,
.elementor-widget-nav-menu .elementor-nav-menu--dropdown {
    z-index: 9999 !important;
    position: relative;
}
/* Griglia promozioni */
.lpa-promozioni-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card */
.lpa-card.promozione {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.lpa-card.promozione:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Immagine */
.lpa-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenuto */
.lpa-card-content {
    padding: 20px;
}
.lpa-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}
.lpa-card-content p {
    font-size: 16px;
    color: #333;
    margin: 8px 0;
}
.lpa-card-content .promo-data {
    font-weight: 600;
    color: #0073e6; /* blu in evidenza */
}

/* Bottone CTA */
.promo-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #d61d24;   /* rosso corporate */
    color: #fff;           /* testo bianco */
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s ease;
}
.promo-btn:hover {
    background: #fff;  
    color: #d61d24;
    border: 1px solid #d61d24;
}



