/**
 * Styles pour le widget Mega Menu
 */

.mega-menu-widget {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mega-menu-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 800px;
    max-width: 1000px;
}

/* Version dropdown pour les menus */
.elementor-nav-menu--dropdown .mega-menu-container,
.elementor-menu-toggle .mega-menu-container,
.sub-menu .mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9998;
    min-width: 800px;
    max-width: 1000px;
    width: auto;
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
}

/* Colonnes dans le dropdown */
.elementor-nav-menu--dropdown .mega-menu-left-column,
.elementor-nav-menu--dropdown .mega-menu-middle-column,
.elementor-nav-menu--dropdown .mega-menu-right-column,
.sub-menu .mega-menu-left-column,
.sub-menu .mega-menu-middle-column,
.sub-menu .mega-menu-right-column {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #f0f0f0;
}

.elementor-nav-menu--dropdown .mega-menu-right-column,
.sub-menu .mega-menu-right-column {
    border-right: none;
}

/* Colonne de gauche - Catégories parent */
.mega-menu-left-column {
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-menu-category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
}

.mega-menu-category-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mega-menu-category-item.active {
    background: #007bff;
    color: #ffffff;
    border-color: #0056b3;
}

.mega-menu-category-thumbnail {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-category-content {
    flex: 1;
    min-width: 0;
}

.mega-menu-category-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.mega-menu-category-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Colonne du milieu - Sous-catégories */
.mega-menu-middle-column {
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mega-menu-subcategories {
    flex: 1;
}

.mega-menu-subcategory-item {
    display: block;
    padding: 10px 0;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mega-menu-subcategory-item:hover {
    color: #007bff;
    padding-left: 10px;
}

.mega-menu-subcategory-item:last-child {
    border-bottom: none;
}

.mega-menu-view-all {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.mega-menu-view-all a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mega-menu-view-all a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Colonne de droite - Encart publicitaire */
.mega-menu-right-column {
    background: #ffffff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-ad-container {
    width: 100%;
    text-align: center;
}

.mega-menu-ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mega-menu-ad-image:hover {
    transform: scale(1.02);
}

.mega-menu-ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
}

/* Corrections spécifiques pour les dropdowns de menu */
.elementor-nav-menu--dropdown .mega-menu-widget,
.sub-menu .mega-menu-widget {
    position: relative;
    width: 100%;
}

.elementor-nav-menu--dropdown .mega-menu-container,
.sub-menu .mega-menu-container {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9998;
    min-width: 800px;
    max-width: 1000px;
    width: auto;
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    padding: 0;
    margin: 0;
}

/* Masquer le mega menu par défaut dans les dropdowns */
.elementor-nav-menu--dropdown .mega-menu-container,
.sub-menu .mega-menu-container {
    display: none;
}

/* Afficher au survol */
.elementor-nav-menu--dropdown .menu-item:hover .mega-menu-container,
.sub-menu .menu-item:hover .mega-menu-container {
    display: flex;
}

button.mega-menu-trigger-button.active {
    color: #163C79 !important;
    background: none !important;
    color: #163C79 !important;
    background: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mega-menu-container {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .elementor-nav-menu--dropdown .mega-menu-container,
    .sub-menu .mega-menu-container {
        position: static;
        display: flex;
        flex-direction: column;
        min-width: auto;
        max-width: none;
        width: 100%;
    }


    .mega-menu-left-column,
    .mega-menu-middle-column,
    .mega-menu-right-column {
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }


    .mega-menu-right-column {
        border-bottom: none;
    }


    .mega-menu-category-item {
        padding: 12px;
    }


    .mega-menu-category-thumbnail {
        width: 40px;
        height: 40px;
    }


    .mega-menu-category-title {
        font-size: 14px;
    }


    .mega-menu-category-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .mega-menu-container {
        margin: 0 -10px;
        border-radius: 0;
    }


    .mega-menu-left-column,
    .mega-menu-middle-column,
    .mega-menu-right-column {
        padding: 10px;
    }


    .mega-menu-category-item {
        padding: 10px;
        gap: 10px;
    }


    .mega-menu-category-thumbnail {
        width: 35px;
        height: 35px;
    }
}

/* Styles pour le widget Mega Menu Dropdown */
.mega-menu-dropdown-widget {
    position: relative;
    width: 100%;
}

.mega-menu-dropdown-container {
    display: flex;
    flex-direction: row;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-width: 800px;
    max-width: 1000px;
}

.mega-menu-dropdown-column {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #f0f0f0;
}

.mega-menu-dropdown-column:last-child {
    border-right: none;
}

/* Colonne de gauche - Catégories parent */
.mega-menu-dropdown-left {
    background: #ffffff;
}

.mega-menu-dropdown-category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid transparent;
    margin-bottom: 10px;
}

.mega-menu-dropdown-category-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mega-menu-dropdown-category-item.active {
    background: #007bff;
    color: #ffffff;
    border-color: #0056b3;
}

.mega-menu-dropdown-category-thumbnail {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-dropdown-category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-dropdown-category-content {
    flex: 1;
    min-width: 0;
}

.mega-menu-dropdown-category-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.mega-menu-dropdown-category-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Colonne du milieu - Sous-catégories */
.mega-menu-dropdown-middle {
    background: #f8f9fa;
}

.mega-menu-dropdown-subcategory-item {
    display: block;
    padding: 10px 0;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mega-menu-dropdown-subcategory-item:hover {
    color: #007bff;
    padding-left: 10px;
}

.mega-menu-dropdown-subcategory-item:last-child {
    border-bottom: none;
}

.mega-menu-dropdown-view-all {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.mega-menu-dropdown-view-all a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.mega-menu-dropdown-view-all a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Colonne de droite - Encart publicitaire */
.mega-menu-dropdown-right {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-dropdown-ad-container {
    width: 100%;
    text-align: center;
}

.mega-menu-dropdown-ad-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mega-menu-dropdown-ad-image:hover {
    transform: scale(1.02);
}

.mega-menu-dropdown-ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
}

/* Responsive pour le dropdown */
@media (max-width: 768px) {
    .mega-menu-dropdown-container {
        flex-direction: column;
        min-width: auto;
        max-width: none;
        width: 100%;
    }


    .mega-menu-dropdown-column {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 15px;
    }


    .mega-menu-dropdown-column:last-child {
        border-bottom: none;
    }


    .mega-menu-dropdown-category-item {
        padding: 12px;
        gap: 10px;
    }


    .mega-menu-dropdown-category-thumbnail {
        width: 40px;
        height: 40px;
    }


    .mega-menu-dropdown-category-title {
        font-size: 14px;
    }


    .mega-menu-dropdown-category-subtitle {
        font-size: 11px;
    }
}

/* Animations */
.mega-menu-category-item {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }


    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-subcategory-item {
    animation: fadeInLeft 0.3s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }


    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Widget Mega Menu Trigger */
.mega-menu-trigger-widget {
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Colonne Elementor pour le mega menu */
#top-mega-menu-column {
    position: relative;
}

/* Correction pour éviter les conflits d'affichage */
.mega-menu-trigger-widget * {
    box-sizing: border-box;
}


.mega-menu-trigger-button {
    display: flex;
    background: none;
    background: none;
    align-items: center;
    color: #163C79;
    padding: 0;
    padding: 0;
    border: none;
    cursor: context-menu;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.mega-menu-trigger-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mega-menu-trigger-icon {
    font-size: 15px;
    margin-right: 4px;
    line-height: 1;
    color: #163C79 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.mega-menu-trigger-icon svg {
    width: 100%;
    height: 100%;
    fill: #163C79;
}

.mega-menu-trigger-text {
    font-weight: 600;
    text-align: left;
    cursor: context-menu;
    color: #163C79;
    font-family: 'Lexend Deca', sans-serif;
}

/* Contenu du mega menu */
.mega-menu-trigger-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9998;
    width: 1100px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

/* Positionnement par rapport à la colonne Elementor */
#top-mega-menu-column .mega-menu-trigger-content {
    position: fixed;
    top: auto;
    left: auto;
    z-index: 9999;
}

.mega-menu-trigger-widget.active .mega-menu-trigger-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu-trigger-container {
    display: flex;
    flex-direction: row;
}

/* Gestion de l'affichage conditionnel de la colonne publicitaire */
.mega-menu-trigger-container:has(.mega-menu-trigger-right[style*="display: none"]) .mega-menu-trigger-middle {
    flex: 2;
}

.mega-menu-trigger-container:not(:has(.mega-menu-trigger-right[style*="display: none"])) .mega-menu-trigger-middle {
    flex: 1;
}

.mega-menu-trigger-column {
    flex: 1;
    border-right: 1px solid #f0f0f0;
}

.mega-menu-trigger-column:last-child {
    border-right: none;
}

/* Colonne de gauche - Catégories parent */
.mega-menu-trigger-left {
    background: #ffffff;
}

.mega-menu-trigger-category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px 36px 24px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid transparent;
}

.mega-menu-trigger-category-item:hover {
    background: #e9ecef;
}

.mega-menu-trigger-category-item.active {
    background: #F0F0F0;
    color: #000;
}

.mega-menu-trigger-category-thumbnail {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-trigger-category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.mega-menu-trigger-category-content {
    flex: 1;
    min-width: 0;
}

.mega-menu-trigger-category-title {
    font-size: 18px;
    padding-bottom: 2px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.mega-menu-trigger-category-subtitle {
    font-size: 12px;
    margin: 0;
    opacity: 0.8;
    line-height: 1.3;
}

/* Section mandats administratifs en bas de la colonne de gauche */
.mega-menu-trigger-bottom-image {
    padding: 16px 24px;
    border-top: 1px solid #e8f4f8;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.mega-menu-trigger-mandat-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mega-menu-trigger-mandat-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.mega-menu-trigger-mandat-icon svg {
    width: 100%;
    height: 100%;
}

.mega-menu-trigger-mandat-text {
    flex: 1;
}

.mega-menu-trigger-mandat-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c5aa0;
    margin: 0 0 4px 0;
    font-family: 'Lexend Deca', sans-serif;
    line-height: 1.3;
}

.mega-menu-trigger-mandat-description {
    font-size: 11px;
    color: #666;
    margin: 0;
    font-family: 'Lexend Deca', sans-serif;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.mega-menu-trigger-mandat-img-inline {
    width: 150px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.mega-menu-trigger-mandat-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.mega-menu-trigger-mandat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Colonne du milieu - Sous-catégories */
.mega-menu-trigger-middle {
    background: #EAF7FA;
    padding: 20px;
}

/* Conteneur des sous-catégories avec scroll si nécessaire */
.mega-menu-trigger-subcategories {
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    overflow-y: auto;
}

/* Scroll personnalisé */
.mega-menu-trigger-subcategories::-webkit-scrollbar {
    width: 6px;
}

.mega-menu-trigger-subcategories::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.mega-menu-trigger-subcategories::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.mega-menu-trigger-subcategories::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.mega-menu-trigger-category-title-middle {
    padding-bottom: 10px;
}

.mega-menu-trigger-category-title-middle-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    font-family: 'Lexend Deca', sans-serif;
}

.mega-menu-trigger-subcategory-item {
    display: block;
    font-family: 'Lexend Deca', sans-serif;
    padding: 10px 0;
    padding-right: 12px;
    font-weight: 300;
    font-weight: 300;
    color: #333333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.mega-menu-trigger-subcategory-item:hover {
    color: #163C79;
    padding-left: 10px;
    font-weight: 500;
}

.mega-menu-trigger-subcategory-item:last-child {
    border-bottom: none;
}

.mega-menu-trigger-view-all {
    margin-top: 20px;
    margin-bottom: 8px;
}

.mega-menu-trigger-view-all a {
    color: #163C79;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.mega-menu-trigger-view-all a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.mega-menu-trigger-view-all a::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.79289 6.29289C9.18342 5.90237 9.81658 5.90237 10.2071 6.29289L15.2071 11.2929C15.5976 11.6834 15.5976 12.3166 15.2071 12.7071L10.2071 17.7071C9.81658 18.0976 9.18342 18.0976 8.79289 17.7071C8.40237 17.3166 8.40237 16.6834 8.79289 16.2929L13.0858 12L8.79289 7.70711C8.40237 7.31658 8.40237 6.68342 8.79289 6.29289Z' fill='%23163C79'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.mega-menu-trigger-view-all a:hover::after {
    transform: translateX(2px);
}

/* Colonne de droite - Encart publicitaire */
.mega-menu-trigger-right {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 550px;
    flex-shrink: 0;
}

.mega-menu-trigger-ad-container {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.mega-menu-trigger-ad-image {
    width: 100%;
    height: 100% !important;
    padding: 0;
    object-fit: fill;
    display: block;
}

.mega-menu-trigger-ad-link {
    display: block;
    width: 100%;
    height: 100%;
}

.mega-menu-trigger-ad-content {
    width: 100%;
    height: 100%;
}

.mega-menu-trigger-ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-size: 14px;
}

/* Écrans portables et moyens - sous-catégories en 2 colonnes */
@media (max-width: 1400px) {
    .mega-menu-trigger-subcategories {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
        max-height: 55vh;
    }

    .mega-menu-trigger-content {
        width: 1000px;
    }
}

@media (max-width: 1200px) {
    .mega-menu-trigger-content {
        width: 900px;
    }

    .mega-menu-trigger-subcategories {
        max-height: 50vh;
    }

    .mega-menu-trigger-category-item {
        padding: 20px 24px 20px 12px;
    }

    .mega-menu-trigger-category-title {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .mega-menu-trigger-content {
        width: 850px;
    }

    .mega-menu-trigger-subcategories {
        max-height: 45vh;
    }

    .mega-menu-trigger-category-thumbnail {
        width: 40px;
        height: 40px;
    }

    .mega-menu-trigger-subcategory-item {
        font-size: 14px;
        padding: 8px 0;
    }
}

/* Responsive pour le trigger */
@media (max-width: 768px) {
    .mega-menu-trigger-content {
        width: 100%;
        left: 0;
        right: 0;
    }

    .mega-menu-trigger-subcategories {
        display: flex;
        flex-direction: column;
    }

    .mega-menu-trigger-container {
        flex-direction: column;
    }


    .mega-menu-trigger-column {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 15px;
    }


    .mega-menu-trigger-column:last-child {
        border-bottom: none;
    }


    .mega-menu-trigger-category-item {
        padding: 12px;
        gap: 10px;
    }


    .mega-menu-trigger-category-thumbnail {
        width: 40px;
        height: 40px;
    }


    .mega-menu-trigger-category-title {
        font-size: 14px;
    }


    .mega-menu-trigger-category-subtitle {
        font-size: 11px;
    }

    .mega-menu-trigger-subcategories {
        max-height: none;
        overflow-y: visible;
    }
}

/* États de chargement */
.mega-menu-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6c757d;
}

.mega-menu-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}