  @media (max-width: 1200px) {
        #main-menu-wrapper {
            display: none;
            list-style: none;
        }

        .body_unscroll {
            position: fixed;
        }

        .menu-level1,
        .menu-level2 {
            display: none;
        }

        .menu-level1.menu-item-active,
        .menu-level2.menu-item-active {
            display: block;
        }

        #main-menu-wrapper.menu-active {
            position: fixed;
            inset: 0;
            display: flex;
            flex-direction: column;
            background: rgba(0, 0, 0, 0.75);
            z-index: 100;
        }

        .main-menu {
            display: flex;
            flex-direction: column;
            width: 85vw;
            background: #fff;
            color: #232323;
            height: 100%;
            padding-bottom: 2rem;
            overflow: auto;
            -webkit-overflow-scrolling: touch;
        }



        .main-menu a {
            color: #0D0D0D;
        }


        .menu-close-btn {
            top: 1rem;
            right: 1rem;
            font-size: 1.5rem;
            color: #292929;
            cursor: pointer;
            z-index: 120;
        }

        .menu-arrow {
            display: inline-block;
            padding: 1rem;
            font-size: 1.3rem;
            line-height: 1;
            cursor: pointer;
            user-select: none;
            transition: transform 0.3s ease;
        }

        .menu-arrow.rotated {
            transform: rotate(90deg);
        }

        .menu-inactive {
            display: none;
        }

        /* RESET total sur tous les <ul> et <li> */
        #main-menu-wrapper ul,
        #main-menu-wrapper li {
            list-style: none;
            margin: 0;
            padding: 0;

        }

        /* ESPACEMENT uniquement sur les menu-level0 affichés (non actifs / non headers) */
        #main-menu-wrapper .menu-level0:not(.menu-level0-as-header) {
            padding: 0.8rem 1.5rem;
            border-bottom: 1px solid #eee;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.03);
        }

        /* ESPACEMENT uniquement sur les <li> de menu-level1 affiché */
        #main-menu-wrapper .menu-level1 {
            padding: 0.6rem 1.5rem;
            border-bottom: 1px solid #eee;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.02);
        }

        #main-menu-wrapper li.menu-level2.menu-item-active {
            margin-top: 1rem;
        }

        .main-menu li>a {
            text-decoration: none;
            display: inline-block;
            font-size: 1rem;
        }

        .main-menu .menu-level0>a,
        .main-menu .menu-level1>a,
        .main-menu .menu-block-title {
            font-size: 1.2rem;
        }

        .menu-level1 p.menu-block-title {
            margin: 1rem 0;
        }

        /* Header par défaut (logo + croix) */
        .default-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem;
            border-bottom: 1px solid #eee;
            z-index: 110;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .default-header-logo {
            height: 30px;
            width: auto;
        }

        .default-menu-header.hidden {
            display: none;
        }

        /* Header dynamique quand un menu-level0 est actif */
        .menu-level0-as-header {
            position: sticky;
            top: 0;
            z-index: 105;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
        }

        .menu-level0-as-header>.menu-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 1.2rem;
            padding: 1rem;
            border-bottom: 1px solid #ccc;
            margin-bottom: 1rem;
        }

        .menu-back-btn {
            font-size: 1.5rem;

        }

        .menu-block-content img,
        .main-menu img {
            max-width: 100%;
        }

        .menu_mea a {
            color: #ff6f61;
        }
    }

    @media (min-width: 1200px) {

        /* Menu principal en ligne */
        .main-menu {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            position: relative;
            height: 60px;
            align-items: center;
            padding: 0;
        }

        .main-menu a,
        .main-menu p {
            color: #232323;
        }


        a.ets_mm_url {
            line-height: 1.5rem;
            padding: 0.5rem 1rem;
            width: 100%;
            display: flex;
        }


        .menu-block-title a,
        p.menu-block-title {
            font-size: 1.1rem;
            font-weight: 500;
            line-height: 1.5rem;
            width: 100%;
            display: flex;
            padding: 0.5rem;

        }

        .menu-block-title a:hover {
            color: #ff6f61;
        }

        .menu-level0 {
            display: flex;
            align-items: center;
            height: 100%;
        }

        .menu-level0:hover>a,
        .menu-level1:hover>a {
            color: #ff6f61
        }

        ul.ets_mm_categories li:hover {
            border-left: 3px solid #ff6f61;
            font-size: 17px;
        }

        /* Enlever les puces */
        .main-menu ul,
        .main-menu li {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .menu-verti,
        li.menu-level2,
        .menu-horiz {
            display: none;
        }

        .menu-verti,
        .menu-horiz {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            z-index: 50;
        }

        /* Afficher tous les .menu-block au hover du niveau 0 */
        .menu-level0:hover>.menu-horiz {
            display: flex;
            flex-direction: row;
            gap: 2rem;
            height: fit-content;
            flex-wrap: wrap;
            position: absolute;
            background: #fff;
            padding: 0.5rem;
            left: 0;
            right: 0;
            border: 1px solid #e0e0e0;

        }

        .menu-level0:hover>.menu-verti {
            display: flex;
            flex-direction: column;
            height: 27rem;
            flex-wrap: nowrap;
            position: absolute;
            left: 0;
            right: 0;
            top: 100%;
            background: #fff;
            padding: 0.5rem;
            border: 1px solid #e0e0e0;
        }

        .menu-verti .menu-level1 {
            width: 250px;
            height: 3rem;
        }


        .menu-level1>a {
            height: 100%;
            width: 100%;
            padding: 0 1rem;
            display: flex;
            align-items: center;


        }

        .menu-level0>a {
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            text-align: center;


        }


        .menu-level1:hover>ul>.menu-level2 {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            position: absolute;
            background: #fff;
            top: 0rem;
            left: 250px;
            width: 100%;
            height: 100%;
            padding: 1rem;
        }

        .menu-block-content img,
        .main-menu img {
            max-width: 100%;
            perspective: 50em;
            -webkit-perspective: 50em;
            transition: all 0.25s ease 0s;
            -webkit-transition: all 0.25s ease 0s;
        }

        .menu-block-content img:hover,
        .main-menu img:hover {
            -webkit-transform: scale(1.03);
            transform: scale(1.03);
        }

        .menu_size_2 {
            width: calc(16.6% - 1.5rem);
            overflow: hidden;
        }

        .menu_size_3 {
            width: calc(25% - 1.5rem);
            overflow: hidden;
        }

        .menu_size_4 {
            width: calc(33.33% - 1.5rem);
            overflow: hidden;
        }

        .menu_size_6 {
            width: calc(50% - 1.5rem);
            overflow: hidden;
        }

        .menu_mea a {
            color: #ff6f61;
        }
    }

