/* ===========================
   CUSTOM CSS PER PRESTASHOP CLASSIC
   =========================== */

/* --- Import Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* --- Font globale e base --- */
body, p, span, a, li, h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', Arial, sans-serif !important;
}

body {
    font-size: 12px;       /* dimensione principale testo */
    line-height: 1.5;      /* altezza riga più leggibile */
    color: #333;           /* colore testo principale */
}

/* --- Headings --- */
h1 { font-size: 32px; font-weight:700; }
h2 { font-size: 28px; font-weight:600; }
h3 { font-size: 24px; font-weight:500; }
h4 { font-size: 20px; font-weight:500; }
h5 { font-size: 16px; font-weight:500; }
h6 { font-size: 14px; font-weight:500; }

/* --- Link --- */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
}

/* --- Pulsanti --- */
.button, button, input[type="submit"] {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 14px;
    padding: 8px 16px;
}

/* --- MegaMenu ETS --- */
.ets_megamenu {
    font-family: inherit;      /* usa font globale */
    font-size: 14px;           /* testo normale */
}

.ets_megamenu a {
    font-size: inherit;
    color: #333;
}

.ets_megamenu a:hover {
    color: #007bff;
}

.ets_megamenu .menu-item {
    padding: 8px 12px;         /* margini più equilibrati */
}

.ets_megamenu {
    width: 100%;
    min-width: 800px;
}

/* --- Mobile responsiveness --- */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .ets_megamenu {
        font-size: 13px;
    }

    h1 { font-size: 22px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }
    h5 { font-size: 12px; }
    h6 { font-size: 11px; }

    #header .logo {
        margin-bottom: 0px !important;
    }

    .top-logo {
        justify-items: center;
        justify-content: center;
    }

     /* Nascondi solo il blocco categorie */
    .block-categories {
        display: none !important;
    }
}

#header .header-top > .container > .row:first-of-type {
	flex-wrap: wrap;
}

/*increase logo size */
#header .logo {
    width: 600px;
    margin-bottom: 20px;
}

/* Mostra sempre tutti i sotto-menu dell'albero categorie */
.category-sub-menu .collapse {
    display: block !important;
}

/* Nasconde i simboli + o - */
.navbar-toggler {
    display: none !important;
}

#search_filters .facet .facet-label a,#search_filters_brands .facet .facet-label a,#search_filters_suppliers .facet .facet-label a {
    display: inline-block;
    margin-top: 0.4375rem;
    font-size: 12PX;
    color: #232323
    }

.category-sub-link {
    font-size: 12px !important;
}