/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.st-topbar {
    position: relative;
    background-color: white !important;
}

.white-bg {
    position: fixed;
    /* resta fisso sotto gli altri elementi */
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 100000;
}

.st-topbar,
.grid-header {
    position: relative;
    z-index: 1;
}





/* CONTENITORE GRID 2x2 */
.grid-header {
    display: grid;
    grid-template-columns: 0% 100%;
    grid-template-rows: auto auto;
    width: 100%;
    padding: 20px 50px;
    align-items: center;
    border-bottom: 1px solid #efefef;
    transition: all 0.3s ease;
    z-index: 10000;
    position: sticky;
    max-width: 1600px;
    margin: 0 auto;
    background-color: white;
    top: 0;
    left: 0;
}


/* COLONNE + RIGHE */
.col-left {
    grid-column: 1;
}

.header_col-right.row-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    align-items: end;
    gap: 20px;
    padding-top: 10px;
}

.col-left.row-1 {
    display: none;
}

.header_col-right {
    grid-column: 2;
}

.row-1 {
    grid-row: 1;
    display: flex;
}

.row-2 {
    grid-row: 2;
    display: flex;
    align-items: end;
}

.header_col-right.row-1 {
    display: flex;
    justify-content: flex-end;
}



.flex_ul_bottone2 {
    display: none;
}



.bottone_demo button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: Inter, 'sans-serif';
    font-weight: 700;
    line-height: 22px;
    background-color: #45ab32;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    width: 90px;
    height: 30px;
    gap: 8px;

}

.bottone_demo button :hover {
    background-color: #378529;
}

.bottone_store a {
    background-color: #008bee;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    border: 2px solid transparent;
    line-height: 24px;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}


.bottone_store a:hover {
    background-color: rgb(0, 103, 176);
}

.bottone_demo2 button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-family: Inter, 'sans-serif';
    font-weight: 700;
    line-height: 22px;
    background-color: #45ab32;
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    width: 90px;
    height: 30px;
    gap: 8px;

}

.BOTTONI,
.BOTTONI2 {
    display: flex;
    gap: 10px;
}

/* LOGO */
.st-logo {
    width: 200px;
    display: flex;
}

/* SOCIAL */
.st-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.st-social i {
    font-size: 20px;
}

.st-social i:hover {
    transform: scale(1.15);
}

.fa-linkedin {
    color: #0077B5;
}

.fa-instagram {
    color: #E4405F;
}

.fa-square-facebook {
    color: #1877F2;
}

.fa-youtube {
    color: #FF0000;
}

/* NAV SECONDARIO */
.st-second-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 25px;
}


.st-second-nav a {
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 15px;
    color: #6a6a6a;
    font-weight: 400;
}

.st-second-nav a:hover {
    color: black;
}

/* MENU PRINCIPALE */
.st-mainnav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    margin-bottom: 0px !important;
}

.st_mainnav_a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    display: inline-block;
    position: relative;
    transition: color 0.2s ease;
}

/* Stile base del link attivo e hover */
.st_mainnav_a:hover,
.st_mainnav_a.active {
    color: #008BEE;
}

/* CREAZIONE E POSIZIONAMENTO DELLA LINEA BLU */
.st_mainnav_a.active::after {
    content: "";
    display: block;
    height: 6px;
    background-color: #008BEE;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: var(--after-bottom, -21px);
    z-index: 1000000;
}


.st_mainnav_a:hover::after {
    content: "";
    display: block;
    height: 6px;
    background-color: #008BEE;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: var(--after-bottom, -21px);
    z-index: 1000000;
}

.st-logo2 {
    display: none;
}


.d-mobile {
    display: none;
}

.fas.fa-search {
    position: relative;
}

/* nascosto di default */
.fas.fa-search::after {
    content: "";
    display: none;
    position: absolute;
    left: 5px;
    bottom: -25px;
    width: 100%;
    height: 6px;
    background-color: #008BEE;
}

/* mostra al hover */
.fas.fa-search:hover::after {
    display: block;
}

/* mostra quando è cliccato */
.fas.fa-search.active::after {
    display: block;
}




/* ul {
    margin-bottom: 0px !important;
    padding-left: 0px !important;
} */

.tag-new {
    font-size: 9px;
    color: #ff0000;
    font-weight: bold;
    position: relative;
    top: -7px;
    margin-left: 0px;
    padding: 0px;
    font-weight: 700;
}

.tag-free {
    font-size: 9px;
    color: #45ab32;
    font-weight: bold;
    position: relative;
    top: -7px;
    margin-left: 0px;
    padding: 0px;
    font-weight: 700;
}

/* 
@media (max-width: 1570px) {
    .st-mainnav.d-desktop {
        display: none;
    }

    .st-mainnav.d-desktop2 {
        display: block;
    }

    .col-left.row-2 {
        display: block;
    }



    .grid-header {
        display: grid;
        grid-template-columns: 90% 10%;
        grid-template-rows: auto auto;
        width: 100%;
        padding: 20px 50px;
        align-items: center;
    }

    .flex_ul_bottone2 {
        display: flex;
        gap: 20px;
    }

    .flex_ul_bottone {
        display: flex;
        justify-content: end;
        padding-top: 20px;
    }

    .flex_ul_bottone2 button {
        display: none;
    }

    .col-right.row-3 {
        display: flex;
    }

    .st-mainnav ul {
        gap: 20px;
    }
}
 */

@media (min-width: 1281px) {
    #mobileMenu {
        display: none;
    }
}


/* Mostra header mobile sotto 983px */
@media (max-width: 1280px) {

    .d-desktop {
        display: none !important;
    }

    .d-mobile {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 7px 25px;
        background: #fff;
        border-bottom: 1px solid #ddd;
        position: fixed;
        width: 100%;
        max-width: 1600px;
        margin: 0 auto;
        background-color: white;
        top: 0;
        left: 0;
        z-index: 100001;
    }

    /* Hamburger */
    .hamburger-btn {
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
        font-size: 20px;
        color: #333;
    }


    /* MOBILE MENU FULLSCREEN */
    .mobile-menu {
        position: fixed;
         top: var(--mobile-header-h, 56px);
    height: calc(100dvh - var(--mobile-header-h, 56px));
        /* altezza dell'header mobile */
        left: 0;
        width: 100%;
        /* dynamic viewport height - gestisce barre browser mobile */
        background-color: #fff;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* scroll fluido su iOS */
        display: none;
        flex-direction: column;
    }

    /* Overlay semi-trasparente */
    #menuOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        display: none;
    }

    .padding_menu {
        padding: 20px 25px 30px;
        flex: 1;
    }

    /* Mostra menu quando è open */
    .mobile-menu.open {
        display: flex;
        z-index: 100000;
    }


    #menuOverlay.active {
        display: block;
    }

    /* Blocca scroll del body quando menu aperto */
    body.menu-open {
        overflow: hidden;
    }

    /* Lista voci */
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;

    }

    .mobile-menu-list li a {
        text-decoration: none;
        color: #000;
        font-weight: 600;
    }

    /*  .mobile-menu-list li a:hover {
        /*  color: #008BEE; 
        text-decoration: underline;
    } */

    .mobile-menu-list li a:focus {
        /*  color: #008BEE; */
        color: #008BEE;
        text-decoration: none;
    }

    /* Contenitore voce con sottomenù */
    .mobile-menu-list li.has-submenu {
        display: block;
        position: relative;
        cursor: pointer;
        padding: 10px 0;
        user-select: none;
    }

    /* Sottomenù nascosto di default */
    .mobile-menu-list li.has-submenu .submenu {
        display: none;
        list-style: none;
        padding-left: 20px;
        margin: 10px 0 0 0;
    }

    /* Ogni li del sottomenù in colonna */
    .mobile-menu-list li.has-submenu .submenu li {
        display: block;
        padding: 0px 0;
    }

    /* .mobile-menu-list li.has-submenu .submenu li.active {
    border-bottom: none !important;
}
 */
    /* Sottomenù aperto */
    .mobile-menu-list li.has-submenu.active .submenu {
        display: block;
    }

    /*  Freccia di default (punta a destra ">") */
    .mobile-menu-list li.has-submenu::after {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 15"><path d="M6.086 7.5L.293 1.707A1 1 0 0 1 1.707.293l6.5 6.5a1 1 0 0 1 0 1.414l-6.5 6.5a1 1 0 1 1-1.414-1.414L6.086 7.5z" fill="%23000"/></svg>');
        position: absolute;
        right: 0;
        top: 7px;
        font-size: 18px;
        color: #000000;
        transition: transform 0.3s ease, color 0.3s ease;
        transform: rotate(0deg);
    }

    /* Quando è aperto → la freccia ruota verso il basso  */
    .mobile-menu-list li.has-submenu.active::after {
        transform: rotate(90deg);
        color: #008BEE;
    }

    /* Contenitore voce con sottomenù */
    .mobile-menu-list li.has-submenu2 {
        display: block;
        position: relative;
        cursor: pointer;
        padding: 10px 0;
        user-select: none;
    }

    /* Sottomenù nascosto di default */
    .mobile-menu-list li.has-submenu2 .submenu2 {
        display: none;
        list-style: none;
        padding-left: 20px;
        margin: 10px 0 20px 0;
    }

    /* Ogni li del sottomenù in colonna */
    .mobile-menu-list li.has-submenu2 .submenu2 li {
        display: block;
        padding: 0 0 10px;
        color: #333333;
    }

    .mobile-menu-list li.has-submenu2 .submenu2 li.active {
        border-bottom: none;
    }

    /* Sottomenù aperto */
    .mobile-menu-list li.has-submenu2.active .submenu2 {
        display: block;
    }

    /* Freccia di default (punta a destra ">") */
    .mobile-menu-list li.has-submenu2::after {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 15"><path d="M6.086 7.5L.293 1.707A1 1 0 0 1 1.707.293l6.5 6.5a1 1 0 0 1 0 1.414l-6.5 6.5a1 1 0 1 1-1.414-1.414L6.086 7.5z" fill="%23000"/></svg>');
        position: absolute;
        right: 0;
        top: 7px;
        font-size: 18px;
        color: #000000;
        transition: transform 0.3s ease, color 0.3s ease;
        transform: rotate(0deg);
    }

    /* Quando è aperto → la freccia ruota verso il basso */
    .mobile-menu-list li.has-submenu2.active::after {
        transform: rotate(90deg);
        color: #008BEE;
    }




    .voci_flex {
        padding: 0px 0 40px;
        margin-top: 40px;
    }

    .footer {
        position: static;
        bottom: 0;
        right: 0;
        background-color: #efefef;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
        width: 100%;

    }


    .voci_flex2,
    .social_mobile {
        flex: 1;
        /* occupano metà ciascuno */
        display: flex;
        /* per allineare i contenuti interni */
        justify-content: center;
        /* centra orizzontalmente i contenuti */
    }

    .social_mobile {
        gap: 20px;
    }

    .social_mobile i:hover {
        transform: scale(1.15);
    }


    .voci_flex ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 0;
        margin: 0;
        text-decoration: underline;
        font-weight: 600;
    }

    .voci_flex2 ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 25px;
        margin: 0;
    }

    .voci_flex li a {
        font-size: 16px;
        color: black;
    }

    .voci_flex li a:hover {

        color: #333333;
    }

    .voci_flex2 li a {
        font-size: 16px;
        color: black;
        text-decoration: none;
    }

    .voci_flex2 li a:hover {

        text-decoration: underline;
    }

    .bottoni_flex_mobile {
        display: flex;
        gap: 10px;
        margin-bottom: 40px;
    }

    .bottoni_flex_mobile .store,
    .bottoni_flex_mobile .demo {
        flex: 1;
    }

    .bottoni_flex_mobile button {
        width: 100%;
        padding: 10px 0;
        border-radius: 30px;
        border: none;
        cursor: pointer;
        font-weight: 600;
    }

    .store a {
        background-color: #008BEE;
        color: white;
        width: 100%;
        padding: 10px 15px 10px;
        border-radius: 30px;
        text-align: center;
        font-weight: 600;
        height: 100%;
        display: flex;
        align-self: center;
    }

    .store a:hover {
        background-color: rgb(0, 103, 176);
        ;
        color: white;
    }

    .demo button {
        background-color: #45ab32;
        color: white;
    }

    .demo button:hover {
        background-color: #378529;
        color: white;
    }


    .social_mobile a {
        color: #333;
        font-size: 40px;
    }

    .mobile.fas.fa-search:hover {
        transform: scale(1.15);
    }

    .fas.fa-search::after {
        display: none !important;
        content: none !important;
    }

    .fas.fa-search:hover::after {
        display: none !important;
    }

    .fas.fa-search.active::after {
        display: none !important;
    }

    /* Posiziona la freccia a destra */
    .has-submenu .mega-icon {
        display: inline-block;
        float: right;
        transition: transform 0.3s ease;
        /* animazione rotazione */
        cursor: pointer;
    }

    .has-submenu.active>a .mega-icon svg {
        fill: #008BEE;
    }


    /* Ruota verso il basso quando il menu è aperto */
    .has-submenu.active>a .mega-icon {
        transform: rotate(90deg);
    }

    .mobile-menu-list li.has-submenu2.active-sub>p .mega-icon svg {
        fill: #008bee;
        transform: rotate(90deg);
    }



    /* 
    .tag-new {
        background-color: rgb(255, 255, 255);
        color: white;
        display: inline-block;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 0.4em;
        margin-left: 0px;
    }

    .tag-free {
        background-color: rgb(255, 255, 255);
        color: white;
        display: inline-block;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 0.7em;
        margin-left: 5px;
    }
 */
    .mobile-menu-list li a.has-submenu:hover {
        color: #008BEE;
    }

    .submenu-p {
        padding: 10px 0px 10px 10px;
        color: #333333;
        margin-bottom: 0px !important;
    }

    .submenu-p:hover {
        font-weight: 600 !important;
    }



    /* p:hover {
    background-color: #efefef;
} */
    .mobile-menu-list li.has-submenu {
        border-bottom: 1px solid #ddd;
    }

    .mobile-menu-list li.has-submenu.active {
        border-bottom: none !important;
    }

    .mobile-menu-list li.has-submenu.active>a {
        color: #008BEE !important;
    }

    .mobile-menu-list li.has-submenu2.active-sub>p {
        color: #008BEE;
        background-color: #008bee12;
        font-weight: 600;
    }



    .submenu2 li:hover {
        font-weight: 600 !important;
    }

    .mobile-menu-list li .tag-new {
        font-size: 9px;
        color: #ff0000;
        font-weight: bold;
        position: relative;
        top: -7px;
        margin-left: 0px;
        padding: 0px;
        font-weight: 700;
    }

    .mobile-menu-list li .tag-free {
        font-size: 9px;
        color: #45ab32;
        font-weight: bold;
        position: relative;
        top: -7px;
        margin-left: 0px;
        padding: 0px;
        font-weight: 700;
    }

    .mobile-menu-list li.has-submenu.no-arrow::after {
        display: none !important;
        content: none !important;
    }

    .mobile-menu-list li.has-submenu.no-arrow.active {
        border-bottom: 1px solid #ddd !important;
    }



    .bottoni_ricerca button {
        border-radius: 50%;
        width: 32px;
        height: 32px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .bottoni_ricerca button i {
        font-size: 20px;
        display: block;
        pointer-events: none;
    }

    .sovrapposizionamento {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .submenu-p {
        /* Impostazioni iniziali */
        padding: 10px;
        cursor: pointer;
        /* Dichiariamo le proprietà da animare */
        transition: border-bottom 0.2s ease, background-color 0.2s ease;
    }

    /* Animazione al momento esatto del click/pressione 
    .submenu p:active {
        /* Effetto: il bordo si ispessisce rapidamente 
        border-bottom: 2px solid #008BEE !important;
    }


    .submenu2 li:active 
        /* Effetto: il bordo si ispessisce rapidamente 
        border-bottom: 2px solid #008BEE !important;
    }

    .has-submenu:active {
        border-bottom: 2px solid #008BEE !important;
    } */

    .text_gray {
        color: #333333 !important;
        font-weight: 400 !important;

    }

    .text_gray:hover {
        font-weight: 600 !important;
    }

    .speciale {
        padding-top: 30px !important;
        color: #333333 !important;
        font-weight: 600 !important;
        text-decoration: underline !important;
        display: inline-block;
    }

    .speciale:hover {
        color: black !important;
    }

}




@media (max-width: 1128px) {

    .mobile-menu-list li a {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}


@media (max-width: 369px) {

    .demo button,
    .store a {
        font-size: 14px;
    }

    .store button {
        font-size: 14px;
    }

    .social_mobile a {
        color: #333;
        font-size: 20px;
    }

    .voci_flex li a,
    .voci_flex2 li a {
        font-size: 13px;
    }

}

@media (max-width: 550px) {
    .footer {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .voci_flex2 ul {
        list-style: none;
        display: flex;
        justify-content: center;
        gap: 25px;
        padding: 10px 0px 25px;
        margin: 0;
    }


}


/* MEGAMENU */
/* PRODOTTI */
.has-megamenu {
    z-index: 1000;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 24%;
    width: 1000px;
    max-width: 0;
    opacity: 1;
    overflow: hidden;
    box-shadow: 0 4px 6px #0000001f;
    background-color: white;
    border-radius: 0px 0px 10px 10px;
    display: block;
    z-index: 999;
    min-height: 415px;
}


#megaNoleggio {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    width: 1000px;
    max-width: 0;
    opacity: 1;
    overflow: hidden;
    box-shadow: 0 4px 6px #0000001f;
    background-color: white;
    border-radius: 0 0 10px 10px;
    display: block;
    z-index: 999;
    min-height: 415px;
}

#megaNoleggio.active {
    max-width: 300px;
}

#megaNoleggio.expanded {
    max-width: 1000px;
    display: flex;
}


.mega-menu.active {
    max-width: 300px;
    opacity: 1;
    min-height: 415px;
}

.mega-menu.expanded {
    max-width: 1000px;
    display: flex;
}


.mega-left {
    width: 300px;
}

.mega-left_servizi {
    width: 300px;
}




.mega-left.shrink {
    width: 30%;
}

.mega-left_servizi.shrink {
    width: 30%;
}


.mega-left ul {
    display: flex;
    flex-direction: column;
    padding: 50px 30px !important;
}

.mega-left li {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-weight: 500;
    font-size: 18px;
}

.mega-left li:hover {
    color: black;
    font-weight: 600;

}

.mega-left li.active {
    background-color: #008bee12;
    border-radius: 10px;
    color: #008BEE;
}

.mega-left li.active {
    background-color: #008bee12;
    border-radius: 10px;
    color: #008BEE;
}

.mega-left li:hover .mega-icon svg path {
    fill: black;
}

.mega-left li.active .mega-icon svg path {
    fill: #008BEE;
}




.mega-left li .arrow {
    transition: transform 0.3s;
}

#megaRightWrapper {
    display: none;
    /* nascosto di default */
}

#megaRightWrapper.active {
    display: block;
}

.product-item-link {
    display: contents;
    color: inherit;
    text-decoration: none;
}


.product-item-link:hover {
    color: #008BEE;
    text-decoration: underline;
}

.mega-right-wrapper,
.mega-right-wrapper_servizi {
    display: none;
}


.mega-right-wrapper.active,
.mega-right-wrapper_servizi.active {
    display: block;
    /* aperto */
}


.mega-right-wrapper.active {
    position: relative;
    display: block;
    padding: 50px 30px 35px;
    width: 70%;
    background-color: #fdfdfd;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    transition: max-width .5s ease;
}

/* bordo personalizzabile */
.mega-right-wrapper.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    height: 325px;
    width: 2px;
    background-color: #efefef;
}

.mega-right-wrapper.active.last::before {
    height: 500px;
}


.mega-right-wrapper_servizi.active {
    position: relative;
    display: block;
    padding: 50px 30px 35px;
    width: 70%;
    background-color: #fdfdfd;
    border-radius: 0 10px 10px 0;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
    transition: max-width .5s ease;
}

/* bordo personalizzabile */
.mega-right-wrapper_servizi.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50px;
    height: 380px;
    width: 2px;
    background-color: #efefef;
}

.mega-title a {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-left: 10px;
    text-transform: uppercase;
    color: black !important;
    text-decoration: none !important;
}

.mega-title a:hover {
    color: black !important;
    text-decoration: none !important;
}

.product-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 5px 5px 5px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    width: 50%;
    margin-bottom: 15px;

}

.product-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-top img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
}

.product-title {
    margin: 0;
    font-size: 17px;
    padding-bottom: 3px;
    font-weight: 500;
    color: #000000;
}

.product-title:hover {
    color: #008bee !important;
}

/* .product-item:hover {
    background-color: #efefef;         
} */

/* default: colonna verticale */
.product-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* solo software: flex wrap per più colonne */
.product-grid.software-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.product-grid.software-flex .product-item {
    width: calc(50% - 15px);
}

.mega-title-wrapper {
    display: flex;
    align-items: center;
    padding-bottom: 5px;
}



.description_sottomenu {
    color: #929292;
    font-size: 16px !important;
    font-weight: 300;
    margin-bottom: 40px;
}

.mega-description_2 {
    display: flex;
    flex-direction: column;
}

.mega-description_2 p {
    color: #929292;
    font-size: 14px !important;
    font-weight: 300;
}

.mega-title-text {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
}

.mega-title-text:hover {
    color: #008BEE;
}

.mega-icon svg {
    width: 12px;
    height: 12px;
}

.mega-icon svg:hover {
    color: #008BEE;
}

.text_blue:hover {
    color: #008BEE;
    fill: #008BEE;
}

.mega-more-link {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    color: inherit;
    text-decoration: none;
}

.mega-more-link .mega-title-text {
    transition: color 0.25s ease;
}

.mega-more-link .mega-icon path {
    fill: #000;
    transition: fill 0.25s ease;
}

/* Al passaggio del mouse sul link */
.mega-more-link:hover .mega-title-text {
    color: #008BEE;
}

.mega-more-link:hover .mega-icon path {
    fill: #008BEE;
}


/* SETTORI */
.mega-left_ul {
    display: flex;
    flex-direction: column;
    padding: 50px 30px;
    gap: 15px !important;
    color: #333;

}

.mega-left_settori,
.mega-left_servizi,
.mega-left_noleggio {
    display: flex;
    flex-direction: column;
    padding: 50px 30px;
    gap: 15px;
    background-color: #ffffff;
    border-radius: 10px;
}



.sector-link {
    text-decoration: none;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-weight: 500;
    font-size: 18px;
}


.sector-link:hover {
    color: black;
    font-weight: 600;
}

.sector-link.active {
    color: #008BEE;
}

.sector-link:hover .mega-icon svg path {
    fill: black;
}

.sector-link.active .mega-icon svg path {
    fill: #008BEE;
}

.mega-left_servizi li.active .sector-link {
    background-color: #008bee12;
    color: #008BEE;
    border-radius: 10px;
}

/* contenitore titolo + icona */
.product-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Al passaggio del mouse sul titolo */
.product-item:hover .product-title {
    color: #008bee;
}

/* SVG nascosta di default */
.mega-icon2 {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-5px);
    display: inline-flex;
    align-items: center;
    color: #008BEE;
}

/* Mostra SVG al passaggio del mouse sull'intero product-item */
.product-item:hover .mega-icon2 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0);
}

.mega-icon2 svg {
    width: 12px;
    height: 12px;
}

.mega-icon2 svg path {
    fill: #008bee;
}


/* MEDIA QUERIES VISUALIZZAZIONI SCHERMO */
@media (max-width: 1430px) {
    .st-logo {
        width: 180px;
    }

    .mega-menu {
        left: 17%;
    }

    .st-second-nav a {
        font-size: 13px;
    }

    .st-logo {
        width: 150px;
    }

}



@media (min-width: 1281px) and (max-width: 1355px) {
    .st_mainnav_a {
        font-size: 16px;
    }

    .bottone_store a {
        font-size: 13px;
        width: 83px;
        height: 35px;
    }

    .st-mainnav ul {
        gap: 27px;
    }

    .sector-link {
        font-size: 16px;
    }

    .mega-left li {
        font-size: 16px;
        padding: 5px 10px;
    }

    .mega-title-text {
        font-size: 16px;
    }

    .description_sottomenu {
        font-size: 14px !important;
    }

    .product-title {
        font-size: 16px;
    }

    .mega-description_2 p {
        font-size: 13px !important;
    }

    .product-title {
        font-size: 16px;
    }

}


/* Bottone */
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, .9);
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, .24);
    z-index: 9999;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* SVG */
#backToTop svg {
    width: 40px;
    height: 40px;
}

/* Path freccia - stato normale */
#backToTop path {
    fill: #000;
    /* freccia nera */
}

/* Hover */
#backToTop:hover path {
    fill: #008BEE;
}


/* Solo quando si entra nel range */
@media (min-width: 1281px) and (max-width: 1430px) {
    .grid-header.in-range {
        padding: 26px 50px;
    }
}


.bottone_demo-btn {
    background-color: #45ab32;
    color: white;
    width: 100%;
    padding: 10px 0px 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 600;
    height: 100%;
    display: flex;
    align-self: center;
    justify-content: center;
}

.bottone_demo-btn:hover {
    background-color: #378529;
}


.st_mainnav_a:hover {
    cursor: pointer;
}


@media (min-width: 1280px) and (max-width: 1355px) {
    .mega-menu.active {
        min-height: 379px;
    }
}

#megaServizi {
    left: 35%;
}