/* --- CONTENEUR GLOBAL --- */
.zzz-menu-wrapper {
    background: #ffffff;
    border: 0px solid #e3e3e3;
    border-radius: 6px;
    padding: 10px 12px;
    font-family: 'Roboto', sans-serif !important;
    font-size: 13px !important;
}

/* --- RESET UL --- */
.zzz-submenu {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* --- LIGNE LIEN + CHEVRON --- */
.zzz-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000 !important;
}

/* --- LIENS --- */
.zzz-cat-link {
    display: block;
    padding: 4px 0;
    color: #000 !important;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.25em;
}

.zzz-cat-link:hover {
    color: #e10000 !important; /* rouge au survol */
}

.zzz-cat-link.active {
    font-weight: 600 !important;
    color: #000 !important;
}

/* --- CHEVRON --- */
.zzz-chevron {
    background: transparent !important;
    border: none;
    padding: 0 0 0 6px;
    cursor: pointer;
}

.zzz-chevron:hover {
    background: transparent !important;
}

.chev {
    width: 18px;
    height: 18px;
    color: #000 !important;
    stroke: #000 !important;
    transition: transform 0.25s ease; /* animation de rotation */
}

/* Chevron tourné quand le panneau est ouvert */
.zzz-chevron[aria-expanded="true"] .chev {
    transform: rotate(90deg);
}

/* --- PANELS ANIMATION --- */
.zzz-panel {
    overflow: hidden;
    transition: height .28s ease, opacity .28s ease, margin .28s ease;
}

.zzz-panel[aria-hidden="true"] {
    height: 0;
    opacity: 0;
    margin-left: 0;
}

.zzz-panel[aria-hidden="false"] {
    height: auto;
    opacity: 1;
    margin-left: 14px; /* décalage enfants */
    padding-left: 12px;
    border-left: 1px solid #d5d5d5; /* barre verticale */
}

/* --- INTERLIGNE RÉDUITE POUR LES ENFANTS --- */
.zzz-panel .zzz-cat-link {
    padding: 2px 0 !important;
    line-height: 1.25em !important;
}

/* --- BULLET SUR LES PARENTS DE 1er NIVEAU --- */

/* On décale uniquement le texte du lien parent pour laisser la place au bullet */
.zzz-menu-wrapper > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link {
    position: relative;
    padding-left: 14px; /* espace pour le bullet */
}

/* Bullet vide par défaut (avant le texte du lien) */
.zzz-menu-wrapper > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Texte rouge + bullet rouge UNIQUEMENT si hover sur le lien (pas sur l’icône) */
.zzz-menu-wrapper > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link:hover {
    color: #e10000 !important;
}

.zzz-menu-wrapper > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link:hover::before {
    background-color: #e10000;
    border-color: #e10000;
}

/* === STYLES SPÉCIFIQUES AU SHORTCODE [menu_specific_categories_wc] === */

/* Parents (racines du shortcode) : gras + majuscules */
.zzz-menu-wrapper.zzz-children-bullets > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link {
    font-family: "Roboto", sans-serif;
	font-size: 15px !important;
	font-weight: 600;
    text-transform: uppercase;
	margin-top:6px;
}

/* Enfants : style normal (pas uppercase) */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link {
    text-transform: none;
    font-weight: 400;
    font-size: 13px !important;
}

/* Bullet sur les ENFANTS (dans les panels) */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link {
    position: relative;
    padding-left: 14px; /* espace pour le bullet */
}

/* Bullet vide par défaut sur les enfants */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link::before {
    content: none !important;
	position: absolute;
    left: 0;
    top: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Chaque enfant est un li avec son propre bullet */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-item {
    position: relative;
    list-style: none;
    padding-left: 20px;   /* espace pour le bullet */
}

/* Bullet vide par défaut, bien en dehors du texte */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-item::before {
    content: "";
    position: absolute;
    left: 6px;            /* distance par rapport au bord */
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Texte enfant : plus besoin de padding pour le bullet */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link {
    display: block;
    padding-left: 0;
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
}


/* Bullet plein rouge au hover sur l'enfant */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link:hover::before {
    background-color: #e10000;
    border-color: #e10000;
}

/* Texte enfant en rouge au hover (cohérent avec ton style actuel) */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link:hover {
    color: #e10000 !important;
}

/* === RÈGLES SPÉCIFIQUES AU SHORTCODE [menu_specific_categories_wc] === */

/* 1) Parents : MAJ + gras, PAS de bullet ni décalage */
.zzz-menu-wrapper.zzz-children-bullets > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link {
    font-weight: 600;
    text-transform: uppercase;
    padding-left: 0;                 /* enlève l'espace réservé au bullet parent */
    position: static;                /* pas de pseudo-bullet ici */
}

/* Supprime le bullet parent éventuel hérité du premier shortcode */
.zzz-menu-wrapper.zzz-children-bullets > .zzz-submenu > .zzz-cat-item > .zzz-line > .zzz-cat-link::before {
    content: none !important;
}

/* 2) Enfants : alignés avec le parent, avec bullet custom */

/* On neutralise le décalage / barre verticale des panels pour ce shortcode */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel {
    margin-left: 0 !important;
    padding-left: 0 !important;
    border-left: none !important;    /* plus de barre verticale */
}

/* Le ul des enfants n'a pas de padding ni bullet natif */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-submenu {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

/* Lien enfant : même colonne que le parent, on crée l'espace pour NOTRE bullet */
/* Lien enfant : bloc, avec assez de place pour le bullet */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link {
    position: relative;
    display: block;
    padding-left: 20px;              /* plus d’espace pour ne pas chevaucher */
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
}

/* Bullet enfant bien centré et un peu rentré */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link::before {
    content: "";
    position: absolute;
    left: 4px;                       /* léger décalage vers la droite */
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Hover enfant : texte + bullet rouges */
/* Lien enfant : bloc, avec assez de place pour le bullet */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link {
    position: relative;
    display: block;
    padding-left: 20px;              /* plus d’espace pour ne pas chevaucher */
    font-weight: 400;
    text-transform: none;
    line-height: 1.2;
}

/* Bullet enfant bien centré et un peu rentré */
.zzz-menu-wrapper.zzz-children-bullets .zzz-panel .zzz-cat-link::before {
    content: "";
    position: absolute;
    left: 4px;                       /* léger décalage vers la droite */
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #000;
    background: transparent;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
