html .menu_fullwidth {
    background-color: rgba(255, 255, 255, 0.6);
}
html.sticky-header .menu_fullwidth{
    background-color: #ffffff;
}
.menu_fullwidth .container {
    display: flex;
    justify-content: center;
    max-width: 1600px !important;
    width: 100% !important;
    padding-left: 15px;
}
html #menutopdf {
    width: 100%;
}
html #menutopdf .ui-menu-item {
    list-style: none;
}
html #menutopdf .megamenu-root {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    position: relative;
}
html .prod-menu.outer_carousel{
    display: flex;
    align-items: center;
}
html .submenu .product-item .product-item-name{
    text-align: left;
}
html .submenu .product-item .shortdesc{
    margin: 10px 0;
    text-align: left;
}
html .ui-menu-item.level0 {
    padding: 5px 10px;
    text-decoration: none;
    display: block;
    line-height: 35px;
    font-size: 15px;
    font-weight: 500;
    color: #283139;
    background-color: transparent !important;
    margin-top: 0;
    margin-bottom: 0;
}
html .submenu span {
    font-size: 14px;
    display: block;
}
html .megamenu-products-grid .product-image-container {
    aspect-ratio: 130/ 150;
}
html .level-top {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: black;
    justify-content: center;
}
html .icon_menu {
    font-size: 20px;
}
html #menutopdf .open-children-toggle, html .level0.submenu {
    display: none;
}
html .ui-menu-item.level0.parent .level0.submenu.row {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    background: white;
    z-index: 9999;
    min-width: 220px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    list-style: none;
    padding:0;
    border-top: var(--primary-color) solid 3px;
    width: 100%;
}
.megamenu-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
}
.megamenu-products-grid .product-item {
    width: calc(33.333% - 14px);
    text-align: center;
    padding: 10px 0 !important;
    background: white;
    border-radius: 10px;

    box-shadow:0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}
.megamenu-products-grid .product-item:hover {
    box-shadow:  0 0 15px 0 rgba(0, 0, 0, 0.30);
}
.megamenu-products-grid .product-info{
    padding: 10px;
}
.megamenu-products-grid .product-item img {
    width: 100%;
}
.megamenu-products-grid .product-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.3;
    height: 36px; /* Limita altezza a 2 righe */
    overflow: hidden;
}
.megamenu-products-grid .price {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    color: #222;
    font-weight: bold;
}
html .ui-menu-item.level0.parent:hover > .level0.submenu.row {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
html .ui-menu-item.level0.parent .level0.submenu {
    box-shadow: 0 6px 8px 0 rgb(0 0 0 / 20%);
}
.backtomenu {
    display: none;
}
html .namecat{
    font-size: 30px !important;
    color: var(--color-green1);
    font-weight: bold;
    padding-top: 15px;
}
html .submenu .description{
    padding-bottom: 15px !important;
}
html .submenu .description .descr{
    display: block;
    line-height: 22px;
}
html .textstatic{
    font-size: 25px !important;
    font-weight: bold;
}
html .ui-menu-item.level0.parent ul,
html .infocategorytop ul,
html .subsubsubcategory ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.box_menu_col > li {
    margin-bottom: 0;
}
.box_sx{
    padding-left: 15px !important;
}
.ui-menu-item .infocategorytop {
    margin: 0 10px;
}
.ui-menu-item .infocategorytop {
    cursor: pointer;
    text-align: left;
}
.ui-menu-item .infocategorytop .level1 {
    font-weight: bold;
    text-transform: none;
    margin: 0;
}
.ui-menu-item .box_menu_col.colviewall {
    display: none;
}
html .ui-menu-item.level0.parent.withsubcategory .level-top .categorytext_megamenu::after {
    content: '';
    background: url("../images/arrow-bottom.svg") no-repeat center center;
    width: 10px;
    height: 10px;
    background-size: 10px;
    display: block;
}
html .ui-menu-item.level0.parent .level-top .categorytext_megamenu {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* MOBILE */
@media screen and (max-width: 1350px) {
    html .ui-menu-item.level0 {
        padding: 5px 0;
    }
}
@media screen and (max-width: 1110px) {
    html .ui-menu-item.level0 {
        padding: 5px 0;
        font-size: 13px;
    }
}
@media screen and (max-width: 1010px) {
    html .ui-menu-item.level0 {
        padding: 5px 0;
        font-size: 12px;
    }
}
@media screen and (max-width: 1024px) {


}
@media screen and (max-width: 991px){
    .ui-menu-item.level0 > a.level-top{
        pointer-events: none;
    }
    html .ui-menu-item.level0.parent:hover > .level0.submenu.row {
        transform: none;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row {
        position: unset;
        border-top: none;
        box-shadow: none;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row .imagesubmenu {
        display: none;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row .box_sx .description,
    html .ui-menu-item.level0.parent .level0.submenu.row .box_sx .box_products{
        display: none;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row .box_sx .indexmenu {
        width: 100%;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row .box_sx {
        width: 100%;
    }
    html .ui-menu-item.level0.parent .level0.submenu.row .box_sx .textstatic {
        display: none;
    }
    .box_menu_col li {
        padding: 0 !important;
    }
    .ui-menu-item .infocategorytop {
        display: flex;
        align-items: center;
    }
    .ui-menu-item .box_menu_col.colviewall {
        display: block;
    }
    .ui-menu-item .box_menu_col.colviewall span {
        padding-left: 5px;
        color: black !important;
    }
    .nav-toggle:before {
        content: "";
        background: url("../images/hamburger.svg") no-repeat center center;
        width: 28px;
        height: 28px;
        background-size: 28px;
        display: block;
    }
    .nav-toggle span {
        display: block;
        font-size: 11px;
        text-transform: lowercase;
        overflow: visible;
        position: unset;
        width: 100%;
    }
    .nav-toggle {
        display: block !important;
        left: 20px;
        top: 30px;
    }
    .menu_fullwidth {
        display: none;
    }

    .menu_fullwidth {
        position: fixed;
        top: 0;
        left: 0;
        width: 320px;
        height: 100vh;
        background-color: #fff !important;
        z-index: 99999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        overflow-y: auto;
        transition: transform 0.3s ease;
    }
    .megamenu-root {
        list-style: none;
        flex-direction: column;
        gap: 0 !important;
    }
    .ui-menu-item.level0 {
        border-bottom: 1px solid #eee;
        position: relative;
        width: 100%;
    }
    .ui-menu-item.level0.parent .level-top .categorytext_megamenu {
        justify-content: space-between;
        width: 100%;
        gap: 0 !important;
        margin-right: 20px;
    }
    .ui-menu-item.level0 > a.level-top {
        display: flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        text-transform: capitalize;
        justify-content: flex-start;
    }
    .level0.submenu {
        background-color: #f9f9f9;
        padding-left: 20px;
    }

    .box_menu_col li {
        list-style: none;
        padding: 10px 0;
    }

    .box_menu_col li a {
        color: #555;
        text-decoration: none;
        font-size: 14px;
    }
    .descr {
        display: none;
    }
    #menutopdf::before {
        content: "MENU";
        display: block;
        padding: 20px 20px 20px 0;
        font-weight: 800;
        border-bottom: 2px solid #333;
    }
    /*.menu_fullwidth.opened #menutopdf:before {*/
    /*    padding: 20px 40px;*/
    /*}*/
    /*body:has(.menu_fullwidth.opened) .nav-toggle {*/
    /*    z-index: 99999;*/
    /*    top: -40px;*/
    /*}*/
    body:has(.menu_fullwidth.opened) .nav-toggle span {
        display: none ;
    }
    .ui-menu-item.level0.parent .level0.submenu.row {
        display: none !important;
        opacity: 1 !important;
    }
    .ui-menu-item.level0.parent.active > .level0.submenu.row {
        display: block !important;
    }
    .menu_fullwidth #close-menu {
        position: absolute;
        top: 15px;
        right: 20px;
        font-weight: 800;
        font-size: 25px;
    }

}

@media screen and (min-width: 991px){
    .menu_fullwidth #close-menu {
        display: none;
    }
}

