/* ===========================
   RESPONSIVE PAGINA PRODOTTI
   =========================== */


/* --- DESKTOP MEDIO (max 1200px) --- */
@media (max-width: 1200px) {
    .tessere-section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 0 40px;
    }

    .tessera {
        margin-top: 80px !important;
    }
}


/* --- TABLET ORIZZONTALE (max 992px) --- */
@media (max-width: 992px) {
    .tessere-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 30px;
    }

    .tessera {
        height: 260px !important;
        margin-top: 80px !important;
        /* <--- AGGIUNGI QUESTO */
    }

    .tessera-content h3 {
        font-size: 22px !important;
    }

    @media (max-width: 992px) {
        .prima-tessera {
            margin-top: 160px !important;
        }

        .seconda-tessera {
            margin-top: 160px !important;
        }
    }

}



/* --- TABLET VERTICALE (max 770px) --- */
@media (max-width: 770px) {

    /* Griglia a 1 colonna */
    .tessere-section {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    /* Tessere più compatte */
    .tessera {
        height: 240px !important;
        margin-top: 90px !important;
    }

    /* Testo più piccolo */
    .tessera-content h3 {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }

    .tessera-arrow {
        font-size: 26px !important;
    }
}


@media (max-width: 480px) {

    .tessere-section {
        padding: 0 10px;
        gap: 20px;
    }

    .tessera {
        height: 220px !important;
        margin-top: 20px !important;
    }

    .prima-tessera {
        margin-top: 200px !important;
        /* QUI FUNZIONA DAVVERO */
    }

    .tessera-content h3 {
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    .tessera-arrow {
        font-size: 24px !important;
    }

    .siteTitle {
        font-size: 20px;
    }

    .siteSubtitle {
        font-size: 11px;
    }
}



/* ============================
   MENU DESKTOP SU TUTTI GLI SCHERMI > 600px
============================ */
@media (min-width: 601px) {

    .hamburger {
        display: none !important;
    }

    #menu {
        display: flex !important;
    }
}

/* ============================
   MOBILE (max 600px)
============================ */
@media (max-width: 600px) {

    /* Mostra hamburger */
    .hamburger {
        display: block;
    }

    /* Nasconde menu desktop */
    #menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        padding: 20px 0;
        gap: 20px;
        border-top: 1px solid #ccc;
    }

    #menu.show {
        display: flex;
    }

    /* Barra superiore più compatta */
    .barra-top {
        flex-direction: column;
        gap: 8px;
        padding: 10px 0;
    }

    .barra-top img {
        width: 70px;
    }

    .PosaClima {
        flex-direction: column;
    }

}

/* ============================
   MOBILE PICCOLI (max 480px)
============================ */
@media (max-width: 480px) {

    .siteTitle {
        font-size: 20px;
    }

    .siteSubtitle {
        font-size: 11px;
    }

    .PosaClima {
        flex-direction: column;
        size: 10px;
    }




}