* {
    transition: background-color 300ms ease, color 300ms ease;
}
*:focus {
    background-color: rgba(209, 3, 58, .2);
    outline: none;
}
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

/* Layout pour coller le footer en bas */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: rgba(33, 37, 41, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
main {
    flex: 1 0 auto;
}      /* Le contenu pousse le footer vers le bas */
footer {
    margin-top: auto;
}   /* Le footer se place en bas si peu de contenu */

header {
    background-color: #ffffff;
    padding: .4rem 0 0;
    /*position: sticky;*/
    top: 0;
    /*z-index: 1000;  Assurez-vous que l'élément est au-dessus des autres éléments */
}
#Headlogo{
    width: 30%;
}
.menu {
    padding: .4rem 2rem;
    background-color: rgba(247, 248, 249, 1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;  /* couleur de fond pour mieux voir */
    /*border-bottom: 2px solid #d1033a;   ajouter une bordure pour mieux visualiser */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Ajoutez un ombrage pour mieux visualiser le sticky */
    display: grid;
    gap: .65rem;
}

/* Pour éviter que le contenu passe sous le menu fixe */
main {
    flex: 1 0 auto;
    /*    padding-top: 10px;  à ajuster selon la hauteur de ton menu */
}


.menu ul {
    /*border-bottom: 1px solid rgba(242, 242, 242, 1);*/
    list-style-type: none;
    margin: 0;
    overflow: visible;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem;
}
.menu li {
    display: inline-flex;
}
.menu li a {
    border-radius: 5px;
    color: rgba(0, 0, 0, 1);
    display: block;
    height: 44px;
    text-decoration: none;
}
.menu li.menu-item a {
    border-radius: 5px;
    margin: 2px 0;
    min-height: 44px;
    height: auto;
    line-height: 1.2;
    padding: .4rem .65rem;
    text-align: center;
    align-items: center;
    display: inline-flex;
}
.menu li.menu-item a:hover,
.menu li.menu-item a:focus {
    background-color: rgba(209, 3, 58, .2);
    color: rgba(209, 3, 58, 1);
}
.menu .logo {
    float: left;
    height: 65px;
    padding: .4rem .5rem;
}
.menu .menu-toggle {
    display: none;
    float: right;
    font-size: 2rem;
    font-weight: bold;
}
.menu .menu-toggle button {
    background-color: rgba(209, 3, 58, .6);
    border: none;
    border-radius: 3px;
    color: rgba(255, 255, 255, 1);
    cursor: pointer;
    font: inherit;
    font-size: 1.3rem;
    height: 36px;
    padding: 0;
    margin: 11px 0;
    overflow: visible;
    width: 40px;
}
.menu .menu-toggle button:hover,
.menu .menu-toggle button:focus {
    background-color: rgba(209, 3, 58, .8);
    color: rgba(255, 255, 255, .8);
}
.menu .menu-devis {
    position: relative;
}

.menu .menu-devis > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.menu .menu-devis .cart-badge {
    display: inline-block;
    min-width: 18px;
    height: 18px;
    padding: 0 2px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    background: #d1033a;
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}
header .heroe {
    margin: 0 auto;
    max-width: 1100px;
    padding: 1rem 1.75rem 1.75rem 1.75rem;
}
header .heroe h1 {
    font-size: 2.5rem;
    font-weight: 500;
}
header .heroe h2 {
    font-size: 1.5rem;
    font-weight: 300;
}

.language-switcher select {
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    border: 0px #999 solid;
    background-color: transparent;
    color: rgba(0, 0, 0, 1);
}

section {
    margin: 0 auto;
    max-width: 1100px;
    padding: 2.5rem 1.75rem 3.5rem 1.75rem;
}
section h1 {
    margin-bottom: 2.5rem;
}
section h2 {
    font-size: 120%;
    line-height: 2.5rem;
    padding-top: 1.5rem;
}
section pre {
    background-color: rgba(247, 248, 249, 1);
    border: 1px solid rgba(242, 242, 242, 1);
    display: block;
    font-size: .9rem;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    white-space: pre-wrap;
    word-break: break-all;
}
section code {
    display: block;
}
section a {
    color: #d1033a;/*rgba(221, 72, 20, 1);*/
}
section svg {
    margin-bottom: -5px;
    margin-right: 5px;
    width: 25px;
}
.further {
    color: #FFFFFF;
    background-color: #18152e;/*rgba(247, 248, 249, 1);*/
    /*border-bottom: 1px solid rgba(242, 242, 242, 1);
    border-top: 1px solid rgba(242, 242, 242, 1);*/
}
.further h2:first-of-type {
    padding-top: 0;
}
.svg-stroke {
    fill: none;
    stroke: #000;
    stroke-width: 32px;
}

footer {
    background-color: rgba(209, 3, 58, .8);
    text-align: center;
}
footer .environment {
    color: rgba(255, 255, 255, 1);
    padding: 2rem 1.75rem;
}
footer .copyrights {
    background-color: #FFFFFF;/*rgba(62, 62, 62, 1);*/
    color: #7a7a7a; /*rgba(200, 200, 200, 1);*/
    padding: .25rem 1.75rem;
}

.public-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.public-footer-links li {
    flex: 1 1 22%;
    min-width: 140px;
}

@media (max-width: 900px) {
    .menu {
        padding: .4rem 1rem;
    }
    .menu ul {
        padding: 0;
        justify-content: flex-start;
    }
    .menu .menu-toggle {
        padding: 0 1rem;
        display: block;
    }
    .menu .menu-item {
        background-color: rgba(244, 245, 246, 1);
        border-top: 1px solid rgba(242, 242, 242, 1);
        margin: 0 15px;
        width: calc(100% - 30px);
        display: block;
    }
    .menu .hidden {
        display: none;
    }
    .menu li.menu-item a {
        background-color: rgba(209, 3, 58, .1);
        justify-content: center;
        width: 100%;
    }
    .menu li.menu-item a:hover,
    .menu li.menu-item a:focus {
        background-color: rgba(209, 3, 58, .7);
        color: rgba(255, 255, 255, .8);
    }
    #frenchFab{
        display: none;
    }
    #madeNovacom{
        display: none;
    }
    #Headlogo{
        width: 90%;
        margin: auto;
    }

    .public-footer-wrap {
        flex-direction: column;
        align-items: center !important;
        gap: 1rem;
        margin-top: 20px !important;
    }

    .public-footer-main,
    .public-footer-side,
    .public-footer-social {
        width: 100% !important;
        text-align: center !important;
    }

    .public-footer-madeby {
        margin: 0 auto;
    }

    .public-footer-links li {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* ===== Liste catégories ===== */
.category-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    text-align: center;
}

.category-list img {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}

.category-list a {
    text-decoration: none;
    color: inherit;
}

/* Breadcrumb catégories */
.category-list .category-breadcrumb {
    grid-column: 1 / -1;
}

.category-breadcrumb {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.category-breadcrumb a {
    color: #d1033a;
    text-decoration: none;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== Liste produits (page catégorie) ===== */
.product-list {
    display: grid;
    grid-template-columns: 1fr; /* mobile : 1 par ligne */
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* desktop : 3 par ligne */
    }
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
}

.product-card h2 {
    font-size: 1.1rem;
    margin-top: 0;
    line-height: 1;
}

.product-image {
    text-align: center;
    margin-bottom: 0.5rem;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

/* Métadonnées produit (choix : margin-bottom: 0.75rem) */
.product-meta {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-meta span {
    display: inline-block;
    margin-right: 0.75rem;
}

.no-products {
    margin-top: 1rem;
    color: #555;
}

/* Titres de blocs (choix : marges de la 2e feuille) */
.block-title {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

/* Tableau des caractéristiques (choix : th à 40%) */
table.features {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

table.features th,
table.features td {
    border: 1px solid #eee;
    padding: 0.25rem 0.4rem;
}

table.features th {
    width: 40%;
    text-align: right;
}

/* ===== Déclinaisons / combinaisons ===== */
/* Style "carte" (2e feuille) avec margin-top conservé de la 1re */
.combi-item {
    font-size: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    background-color: #fff;
}

.combi-image {
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
}

/* Choix : image responsive (max-width: 100%) */
.combi-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.combi-text {
    flex: 1;
    width: 100%;
}

/* Liste des attributs des déclinaisons */
.combi-attributes {
    margin: 0.25rem 0 0.5rem 1.2rem;
    padding: 0;
}

.combi-attributes li {
    margin: 0;
    padding: 0;
}

/* Grille des déclinaisons (page produit) */
.combi-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .combi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Produits associés */
.associated-products {
    margin-top: 2rem;
}

.associated-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 768px) {
    .associated-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.associated-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: center;
}

.associated-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.associated-card a {
    text-decoration: none;
    color: inherit;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

.back-link {
    margin-bottom: 1rem;
    display: inline-block;
    font-size: 0.9rem;
}

/* ===== Boutons panier / actions ===== */
.cart-actions {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cart-actions input.cart-qty {
    width: 70px;
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
}

/* Choix : bouton d’ajout ROUGE (#d1033a, 2e feuille) */
.btn-add-to-cart {
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #03d19a;
    background-color: #03d19a;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.btn-add-to-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-view-cart {
    display: inline-block;
    margin: 0 0 1rem 0;
    padding: 0.4rem 0.9rem;
    border-radius: 4px;
    border: 1px solid #198754;
    background-color: #198754;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Bouton Voir le produit (liste) */
.product-actions {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-view-product {
    display: inline-block;
    width: 100%;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #6c757d;
    background-color: #6c757d;
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
}

.btn-view-product:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* ===== Modales panier + société ===== */
.cart-modal,
.company-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.cart-modal-content,
.company-modal-content {
    background: #fff;
    margin: 5vh auto;
    padding: 1rem 1.25rem 1.25rem;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 6px;
    position: relative;
    box-sizing: border-box;
}

.cart-modal-close,
.company-modal-close {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.cart-summary-list {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0 0;
}

.cart-summary-list li {
    margin-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-label {
    flex: 1;
}

.cart-remove-item {
    border: none;
    background: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-modal-footer {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.cart-modal-actions {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.cart-modal-actions button {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 0.35rem 0.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-cart-continue {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.btn-cart-clear {
    background-color: #ffffff;
    border-color: #dc3545;
    color: #dc3545;
}

.btn-cart-checkout {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* ===== Formulaire société ===== */
.company-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.company-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.company-form-group label {
    font-size: 0.85rem;
}

.company-form-group input,
.company-form-group textarea {
    width: 100%;
    padding: 0.3rem 0.4rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.company-form-group textarea {
    min-height: 70px;
    resize: vertical;
}

.company-modal-footer-text {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.company-form-actions {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-company-cancel {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid #6c757d;
    background-color: #ffffff;
    color: #6c757d;
    cursor: pointer;
}

.btn-company-save {
    padding: 0.35rem 0.6rem;
    font-size: 0.85rem;
    border-radius: 4px;
    border: 1px solid #198754;
    background-color: #198754;
    color: #ffffff;
    cursor: pointer;
}

.company-message {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* ===== Page produit détaillée ===== */
.product-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .product-page {
        grid-template-columns: 1.2fr 1.2fr;
    }
}

.product-main-image {
    text-align: center;
}

.product-main-image img {
    max-width: 100%;
    height: auto;
}

.product-thumbs {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.product-thumbs img {
    width: 80px;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 2px;
}

.product-header h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #d1033a;
    font-size: 1.2em;
}

.product-short-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-long-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-extra {
    margin-top: 2rem;
}

.product-combinations {
    margin-top: 1.5rem;
}

/* Wrapper pour centrer le carrousel sur la page */
#carousel-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Conteneur du carrousel */
.carousel-container {
    position: relative;
    max-width: 900px; /* largeur max des bannières */
    width: 100%;
    overflow: hidden;
}

/* Ligne des images */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

/* Chaque slide occupe 100 % de la largeur du conteneur */
.carousel-images a {
    flex: 0 0 100%;
    text-align: center;
}

/* Images des bannières (900px sur desktop, responsive en dessous) */
.carousel-images img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

/* Boutons de navigation */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-btn:focus {
    outline: none;
}

/* ===========================
   LANG SWITCHER (dropdown div)
   Adapté à ton thème + fix sticky/overlap + fix gap hover
   =========================== */

/* Correction : 509 n’existe pas en RGB */
*:focus {
    background-color: rgba(209, 3, 58, .2);
    outline: none;
}

/* Ton menu sticky doit rester au-dessus */
.menu {
    z-index: 10000;
}

/* IMPORTANT : tu avais overflow:hidden sur .menu ul => coupe les dropdown */
.menu ul {
    overflow: visible;
}

/* ===== Language switcher ===== */
.language-switcher {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    z-index: 10050;
}

.language-switcher .lang-dropdown {
    position: relative;
    padding-bottom: 8px; /* étend la zone hover */
}

.language-switcher .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;

    height: 44px;
    padding: .4rem .65rem;
    border: 0;
    border-radius: 5px;

    background-color: transparent;
    color: rgba(0, 0, 0, 1);
    cursor: pointer;
    font: inherit;
    line-height: 36px;
}

.language-switcher .lang-toggle:hover,
.language-switcher .lang-toggle:focus {
    background-color: rgba(209, 3, 58, .2);
    color: rgba(209, 3, 58, 1);
}

.language-switcher .lang-caret {
    font-size: 0.9rem;
    line-height: 1;
    margin-left: 0.15rem;
}

.language-switcher .lang-flag {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 999px;
    display: inline-block;
}

.language-switcher .lang-menu {
    position: absolute;
    right: 0;
    top: 100%;          /* pas de gap */
    margin-top: 0;

    min-width: 140px;
    display: none;

    padding: 6px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(242, 242, 242, 1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    z-index: 20000;
}

/* “pont” anti-perte de hover */
.language-switcher .lang-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.language-switcher .lang-dropdown.is-open .lang-menu {
    display: block;
}

.language-switcher .lang-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
    white-space: nowrap;
}

.language-switcher .lang-item:hover,
.language-switcher .lang-item:focus {
    background-color: rgba(209, 3, 58, .2);
    color: rgba(209, 3, 58, 1);
}

.language-switcher .lang-item.is-active {
    background-color: rgba(209, 3, 58, .1);
    color: rgba(209, 3, 58, 1);
}

@media (max-width: 900px) {
    .language-switcher .lang-menu {
        right: 0;
        left: auto;
        min-width: 160px;
    }
}


/* ===========================
   MENU DROPDOWN (catégories/pages)
   Même style que ton menu + fix gap hover
   =========================== */

.menu-dropdown {
    position: relative;
    padding-bottom: 8px; /* étend la zone hover */        
}

.menu-dropdown-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
}

.menu-caret {
    font-size: 0.9rem;
    line-height: 1;
}

/* Sous-menu */
.menu-sub {
    position: absolute;
    top: 100%;           /* pas de gap */
    margin-top: 0;

    /* Alignement stable (évite les zones “diagonales” de perte de hover) */
    left: 0;
    transform: none;

    min-width: 220px;
    display: none;

    padding: 6px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid rgba(242, 242, 242, 1);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);

    z-index: 20000;
   
    max-height: 300px;
    overflow:auto;
}

/* “pont” anti-perte de hover */
.menu-sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.menu-dropdown.is-open .menu-sub {
    display: block;
}

.menu-sub-item {
    display: block;

    padding: 8px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: rgba(0, 0, 0, 1);
    white-space: nowrap;
}

.menu-sub-item:hover,
.menu-sub-item:focus {
    background-color: rgba(209, 3, 58, .2);
    color: rgba(209, 3, 58, 1);
}

@media (max-width: 900px) {
    .menu-sub {
        left: 0;
        transform: none;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        position: static;
        border: 0;
        box-shadow: none;
        margin-top: .25rem;
        padding: 0;
    }

    .menu-sub::before {
        display: none;
    }

    .menu-sub-item {
        white-space: normal;
        border-top: 1px solid rgba(242, 242, 242, 1);
        border-radius: 0;
        padding: 10px 12px;
    }
}
    .btn-AdvancedFilter{
        appearance:none;
        border:1px solid rgba(209, 3, 58,.35);
        background: rgba(209, 3, 58,.08);
        color:#d1033a; /* vert */
        /*font-weight:700;*/
        padding:10px 14px;
        border-radius:10px;
        cursor:pointer;
        display:inline-flex;
        align-items:center;
        gap:8px;
        line-height:1;
        transition: transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
        text-decoration: none;
    }

    .btn-AdvancedFilter:hover{
        background: rgba(209, 3, 58,.14);
        border-color: rgba(209, 3, 58,.55);
        box-shadow: 0 6px 18px rgba(209, 3, 58,.12);
    }

    .btn-AdvancedFilter:active{
        transform: translateY(1px);
        box-shadow: none;
    }

    .btn-AdvancedFilter:focus{
        outline:none;
    }

    .btn-AdvancedFilter:focus-visible{
        box-shadow: 0 0 0 3px rgba(22,163,74,.22);
    }
.cookie-consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 25000;
}

.cookie-consent__inner {
    max-width: 960px;
    margin: 0 auto;
    background: #1e1e1e;
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 32px rgba(0,0,0,.35);
}

.cookie-consent__title { margin: 0 0 8px; font-weight: 700; }
.cookie-consent__text { margin: 0 0 8px; font-size: .95rem; }
.cookie-consent__list { margin: 0 0 12px 18px; padding: 0; font-size: .9rem; }

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn--primary { background: #d1033a; color: #fff; }
.cookie-btn--secondary { background: #fff; color: #111; }

.cookie-panel {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 26000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-panel__content {
    background: #fff;
    color: #111;
    width: min(680px, 100%);
    border-radius: 12px;
    padding: 18px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-option small { display: block; color: #555; }

.cookie-manage-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 24000;
    border: 0;
    border-radius: 999px;
    background: #d1033a;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
}


.cookie-consent[hidden],
.cookie-panel[hidden],
.cookie-panel__status[hidden],
.cookie-manage-btn[hidden] {
    display: none !important;
}

.cookie-panel__content {
    max-height: min(90vh, 760px);
    overflow: auto;
}

.cookie-panel__actions {
    margin-top: 10px;
}

.cookie-panel__status {
    margin: 10px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(25, 135, 84, .12);
    color: #0f5132;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cookie-btn {
        width: 100%;
    }
}
