/* =====================================================================
   CSCD - Charte graphique (surcharge du theme Molla)
   Comptoir Souhail de Commerce et Distribution
   ---------------------------------------------------------------------
   Bleu clair  : #1CA0E3
   Bleu fonce  : #16457F
   Vert        : #2E9E44
   A charger APRES style.css / skin-demo-2.css / demo-2.css
   ===================================================================== */

:root {
    --cscd-blue: #16457F;
    --cscd-blue-light: #1CA0E3;
    --cscd-green: #2E9E44;
    --cscd-blue-dark: #103459;
    --cscd-green-dark: #247a35;
}

/* ---------- Couleur d'accent principale (remplace le beige #cc9966) ---------- */
a,
a:hover,
a:focus {
    color: var(--cscd-blue-light);
}

.text-primary { color: var(--cscd-blue) !important; }

/* ---------- Boutons primaires ---------- */
.btn-primary {
    border-color: var(--cscd-blue);
    background-color: var(--cscd-blue);
    color: #fff;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    border-color: var(--cscd-blue-dark) !important;
    background-color: var(--cscd-blue-dark) !important;
    color: #fff !important;
    box-shadow: none;
}

.btn-outline-primary-2 {
    color: var(--cscd-blue-light);
    border-color: var(--cscd-blue-light);
}
.btn-outline-primary-2:hover,
.btn-outline-primary-2:focus,
.btn-outline-primary-2.active {
    background-color: var(--cscd-blue-light);
    border-color: var(--cscd-blue-light);
    color: #fff;
}

.btn-outline-primary {
    color: var(--cscd-blue);
    border-color: var(--cscd-blue);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--cscd-blue);
    border-color: var(--cscd-blue);
    color: #fff;
}

/* Bouton d'accent secondaire -> vert CSCD */
.btn-secondary {
    border-color: var(--cscd-green);
    background-color: var(--cscd-green);
    color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    border-color: var(--cscd-green-dark) !important;
    background-color: var(--cscd-green-dark) !important;
    color: #fff !important;
}

/* ---------- Header ---------- */
.header-top,
.header-middle,
.header .header-bottom {
    /* laisse les fonds d'origine, on ne touche qu'aux accents */
}
.header-transparent .header-bottom,
.sticky-header.fixed {
    box-shadow: 0 5px 8px -6px rgba(22, 69, 127, .25);
}

/* Menu / navigation : liens actifs et hover en bleu CSCD */
.main-nav .menu > li:hover > a,
.main-nav .menu > li.active > a,
.main-nav .menu > li.show > a {
    color: var(--cscd-blue-light);
}
.menu > li > a::before,
.menu-active-underline > li > a::before {
    background-color: var(--cscd-green) !important;
}

/* Ligne de soulignement au survol du menu - vert CSCD */
.main-nav .menu > li:hover > a::before,
.main-nav .menu > li.active > a::before {
    background-color: var(--cscd-green) !important;
}

/* ---------- Logo dans le header (logo CSCD horizontal) ---------- */
.logo img {
    width: auto !important;
    height: 70px !important;
    max-width: none;
}
.logo-footer img {
    width: auto !important;
    height: 70px !important;
}

/* ---------- Prix, badges, titres de section ---------- */
.product-price,
.product .product-price,
.old-price + .new-price,
.new-price {
    color: var(--cscd-blue);
}

.product-label.label-sale,
.product-label-group .product-label.label-sale {
    background-color: var(--cscd-green);
}
.product-label.label-new {
    background-color: var(--cscd-blue-light);
}
.product-label.label-top {
    background-color: var(--cscd-blue);
}

.title-lines::before,
.title-lines::after,
.heading .title-separator,
.section-title::after {
    background-color: var(--cscd-blue-light);
}

/* ---------- Elements interactifs / icones ---------- */
.product-nav-dots a.active,
.owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot.active span {
    background-color: var(--cscd-blue-light);
    border-color: var(--cscd-blue-light);
}

.icon-box .icon-box-icon,
.icon-box-icon {
    color: var(--cscd-blue-light);
}

.nav.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
    color: var(--cscd-blue);
    border-color: var(--cscd-blue-light);
}

/* Liens du panier / wishlist / compte au survol */
.header .wishlist a:hover .icon i,
.header .account a:hover .icon i,
.header .cart-dropdown a:hover .icon i {
    color: var(--cscd-blue-light);
}
.cart-count,
.wishlist-count.badge {
    background-color: var(--cscd-green);
}

/* ---------- Formulaires : focus en bleu CSCD ---------- */
.form-control:focus,
.form-control.form-solid:focus,
input.form-control:focus,
textarea.form-control:focus {
    border-color: var(--cscd-blue-light);
    box-shadow: none;
}
.header-search .btn.btn-primary {
    background-color: var(--cscd-blue);
    border-color: var(--cscd-blue);
}

/* ---------- Footer : bandeau newsletter / accents ---------- */
.footer .widget-newsletter .btn-primary,
.footer a:hover,
.footer a:focus {
    color: var(--cscd-blue-light);
}
.social-icon:hover,
.social-icon:focus {
    background-color: var(--cscd-blue);
    border-color: var(--cscd-blue);
    color: #fff;
}

/* ---------- Pagination ---------- */
.page-item.active .page-link,
.page-link:hover,
.page-link:focus {
    color: var(--cscd-blue);
    border-color: var(--cscd-blue-light);
}

/* ---------- Barre de progression / soldes ---------- */
.progress-bar {
    background-color: var(--cscd-green);
}

/* ---------- Liens "read more", intro banner ---------- */
.intro-slider-container .btn-primary,
.banner .btn-primary {
    background-color: var(--cscd-blue);
    border-color: var(--cscd-blue);
}

/* ---------- Logo footer sur fond fonce : pastille blanche propre ---------- */
.footer-middle .widget-about .logo-footer,
.footer .logo-footer {
    display: inline-block;
    background: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.footer .logo-footer img {
    display: block;
    height: 66px !important;
    width: auto !important;
}

/* =====================================================================
   CSCD - Header personnalise (style comaf.tn)
   ===================================================================== */

/* ====================== BARRE DU HAUT ====================== */
.header .header-top,
.header-2 .header-top,
.header-intro-clearance .header-top {
    background-color: #16457F !important;
    border-bottom: none;
    font-size: 1.3rem;
    color: #fff;
}
.header-top {
    background-color: #16457F !important;
    border-bottom: none;
    font-size: 1.3rem;
}
.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}
.header-top .header-left,
.header-top .header-right {
    display: flex;
    align-items: center;
    margin: 0;
}
.header-top,
.header-top a,
.header-top .top-menu > li > a,
.header-top .social-label {
    color: #fff;
}
.header-top .social-icons {
    display: flex;
    align-items: center;
    margin: 0;
}
.header-top .social-label {
    margin-right: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
}
.header-top .social-icon {
    color: #fff;
    border: none;
    margin: 0 .3rem 0 0;
    width: 2.8rem;
    height: 2.8rem;
    line-height: 2.8rem;
    font-size: 1.4rem;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    transition: background .25s, color .25s;
}
.header-top .social-icon:hover {
    background: #fff;
}
.header-top .social-facebook:hover { color: #3b5998; }
.header-top .social-instagram:hover { color: #c13584; }
.header-top .social-linkedin:hover { color: #0077b5; }

/* "Nos agences" a droite */
.header-top .top-menu {
    margin: 0;
    padding: 0;
}
.header-top .top-menu,
.header-top .top-menu > li,
.header-top .top-menu > li > ul,
.header-top .top-menu > li > ul > li {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
    border: none;
}
.header-top .top-menu > li > ul > li > a {
    display: inline-flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    padding: 0;
}
.header-top .top-menu > li > ul > li > a:hover {
    color: #cfe6ff;
}
.header-top .top-menu i {
    margin-right: .5rem;
    font-size: 1.6rem;
    color: #fff;
}

/* ====================== LOGO ====================== */
.header-middle .logo.logo-cscd {
    margin-right: 0;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.logo.logo-cscd img {
    height: 105px !important;
    width: auto !important;
    max-width: none;
    display: block;
}

/* ====================== HEADER MIDDLE : alignement general ====================== */
.header-middle .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.header-middle .header-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 5.5rem;
    margin-left: 0;
    padding-left: 0;
}
.header-middle .header-center,
.header-intro-clearance .header-middle .header-center {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    padding: 0 1.5rem 0 2rem;
    margin: 0;
}
.header-intro-clearance .header-middle .header-left {
    flex: 0 0 auto;
    max-width: none;
}
.header-intro-clearance .header-middle .header-right {
    flex: 0 0 auto;
    max-width: none;
    margin-left: 0 !important;
}
.header-middle .header-center .header-search {
    width: 100%;
    max-width: 100%;
}
/* Le template ajoute margin-right:19rem qui pousse le header-right hors ecran */
.header-middle .header-search-extended {
    margin-right: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
}
.header-middle .header-search-extended .btn {
    flex: 0 0 52px;
    max-width: 52px;
    height: 44px;
    border-radius: 0 4px 4px 0;
}
.header-middle .header-search-extended .form-control {
    height: 44px;
}
.header-middle .header-search-extended .header-search-wrapper {
    border-radius: 4px;
}
.header-middle .header-search-extended .form-control {
    border-radius: 4px 0 0 4px;
}
.header-middle .header-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: 0 !important;
    padding-right: 0;
}

/* ====================== HEADER BOTTOM : Browse Categories aligne a gauche ====================== */
.header-intro-clearance .header-bottom .header-left {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding-left: 0 !important;
}
.header-bottom .header-left .category-dropdown {
    width: auto !important;
    margin-left: 0 !important;
}
/* Le toggle : padding équilibré pour l'icône à gauche */
.header-bottom .category-dropdown .dropdown-toggle {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    min-width: 0 !important;
}

/* ====================== BLOC SERVICE CLIENT ====================== */
.header-contact {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    white-space: nowrap;
}
.header-contact > i {
    font-size: 3rem;
    color: var(--cscd-blue);
    margin-right: .9rem;
}
.header-contact-content {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.header-contact-label {
    font-size: 1.1rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.header-contact-phone {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cscd-blue) !important;
    white-space: nowrap;
}
.header-contact-phone:hover {
    color: var(--cscd-blue-light) !important;
}

/* ====================== BOUTON CONNEXION ====================== */
.header-right .btn.btn-cscd-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: transparent;
    border: 1px solid var(--cscd-blue);
    color: var(--cscd-blue);
    padding: 0 1.4rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 .8rem 0 0;
    min-width: 0;
    letter-spacing: 0;
    white-space: nowrap;
    transition: all .2s;
}
.header-right .btn.btn-cscd-login i {
    font-size: 1.4rem;
    margin-right: .45rem;
}
.header-right .btn.btn-cscd-login:hover,
.header-right .btn.btn-cscd-login:focus {
    background: var(--cscd-blue);
    border-color: var(--cscd-blue);
    color: #fff;
}

/* ====================== BOUTON PRENDRE UN DEVIS ====================== */
.header-right .btn.btn-cscd-devis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: var(--cscd-blue);
    border: 1px solid var(--cscd-blue);
    color: #fff;
    padding: 0 1.6rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 .8rem 0 0;
    min-width: 0;
    letter-spacing: 0;
    white-space: nowrap;
    transition: all .2s;
}
.header-right .btn.btn-cscd-devis i {
    font-size: 1.4rem;
    margin-right: .45rem;
}
.header-right .btn.btn-cscd-devis:hover,
.header-right .btn.btn-cscd-devis:focus {
    background: var(--cscd-blue-dark);
    border-color: var(--cscd-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 69, 127, 0.3);
}

/* ====================== RESPONSIVE MOBILE - BOUTONS HEADER ====================== */
@media (max-width: 991px) {
    /* Masquer le service client sur tablette */
    .header-contact {
        display: none !important;
    }
    
    /* Réduire l'espace entre les boutons */
    .header-right .btn.btn-cscd-devis,
    .header-right .btn.btn-cscd-login {
        margin-right: 0.5rem;
        padding: 0 1.2rem;
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    /* Sur mobile : afficher uniquement les icônes, masquer le texte */
    .header-right .btn.btn-cscd-devis span,
    .header-right .btn.btn-cscd-login span {
        display: none;
    }
    
    .header-right .btn.btn-cscd-devis i,
    .header-right .btn.btn-cscd-login i {
        margin-right: 0;
        font-size: 1.6rem;
    }
    
    /* Boutons circulaires sur mobile - icône parfaitement centrée */
    .header-right .btn.btn-cscd-devis,
    .header-right .btn.btn-cscd-login {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 50%;
        margin-right: 0.4rem;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .header-right .btn.btn-cscd-devis i,
    .header-right .btn.btn-cscd-login i {
        margin: 0 !important;
        line-height: 1;
    }

    /* Aligner tous les boutons du header sur la même ligne */
    .header-right {
        display: flex;
        align-items: center;
    }
    
    /* Panier plus compact sur mobile */
    .cart-dropdown-btn .dropdown-toggle.btn-cscd-cart span {
        display: none;
    }
    
    .cart-dropdown-btn .dropdown-toggle.btn-cscd-cart {
        width: 40px;
        height: 40px;
        min-width: 40px;
        padding: 0;
        border-radius: 50%;
        margin-right: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    
    .cart-dropdown-btn .dropdown-toggle .icon {
        margin: 0;
    }
    
    .cart-dropdown-btn .dropdown-toggle .icon i {
        font-size: 1.6rem;
    }
    
    .cart-dropdown-btn .dropdown-toggle .cart-count {
        top: -5px;
        right: -5px;
        font-size: 0.85rem;
        min-width: 1.4rem;
        height: 1.4rem;
        line-height: 1.4rem;
    }
}

@media (max-width: 575px) {
    /* Extra petit : encore plus compact */
    .header-right .btn.btn-cscd-devis,
    .header-right .btn.btn-cscd-login,
    .cart-dropdown-btn .dropdown-toggle.btn-cscd-cart {
        width: 38px;
        height: 38px;
        min-width: 38px;
        margin-right: 0.3rem;
    }
    
    .header-right .btn.btn-cscd-devis i,
    .header-right .btn.btn-cscd-login i,
    .cart-dropdown-btn .dropdown-toggle .icon i {
        font-size: 1.5rem;
    }
}

/* ====================== BOUTON PANIER ====================== */
/* Neutralise le positionnement d'origine du template (align-self:stretch) */
.header-middle .cart-dropdown.cart-dropdown-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}
/* Le dropdown panier a une largeur mini du template qui pousse hors du container */
.header-middle .cart-dropdown.cart-dropdown-btn > .dropdown-toggle {
    min-width: 0 !important;
}
.cart-dropdown-btn .dropdown-toggle.btn-cscd-cart,
.header-intro-clearance .cart-dropdown-btn > a.btn-cscd-cart {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    height: 40px;
    background: var(--cscd-green);
    border: 1px solid var(--cscd-green);
    color: #fff;
    padding: 0 1.5rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    box-shadow: none;
    transition: all .2s;
}
.cart-dropdown-btn .dropdown-toggle.btn-cscd-cart::after {
    display: none;
}
.cart-dropdown-btn .dropdown-toggle.btn-cscd-cart:hover {
    background: var(--cscd-green-dark);
    border-color: var(--cscd-green-dark);
    color: #fff;
}
.cart-dropdown-btn .dropdown-toggle .icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 .55rem 0 0;
    padding: 0;
    color: #fff;
    top: auto;
}
.cart-dropdown-btn .dropdown-toggle .icon i {
    font-size: 1.7rem;
    color: #fff;
    margin: 0;
}
.cart-dropdown-btn .dropdown-toggle .cart-count {
    position: absolute;
    top: -.7rem;
    right: -.7rem;
    background: #fff;
    color: var(--cscd-green);
    font-size: .95rem;
    font-weight: 700;
    min-width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    padding: 0 .3rem;
    text-align: center;
    border-radius: 50%;
    border: 1px solid var(--cscd-green);
}
.cart-dropdown-btn .dropdown-toggle span:not(.icon):not(.cart-count) {
    color: #fff;
}
/* le menu deroulant reste correctement positionne sous le bouton */
.header-middle .cart-dropdown.cart-dropdown-btn .dropdown-menu {
    right: 0;
    left: auto;
    margin-top: 1rem;
}

/* ====================== BOUTON DE RECHERCHE ====================== */
.header-search .btn,
.header-search .btn.btn-primary,
.header-search-wrapper .btn {
    background-color: var(--cscd-blue) !important;
    border-color: var(--cscd-blue) !important;
    color: #fff !important;
}
.header-search .btn:hover,
.header-search .btn.btn-primary:hover {
    background-color: var(--cscd-blue-dark) !important;
    border-color: var(--cscd-blue-dark) !important;
}
.header-search-wrapper {
    border-color: #ddd;
}
.header-search-wrapper:focus-within,
.header-search.show .header-search-wrapper {
    border-color: var(--cscd-blue-light);
}

/* =====================================================================
   CSCD - Banniere (slider) a sa taille reelle
   Images 1920x500 (ratio 3.84:1). On affiche l'image entiere,
   sans recadrage ni deformation, en gardant le ratio d'origine.
   ===================================================================== */
/* Hauteur = largeur du viewport x (724/2172) = 33.33vw : image hero entiere, pas de bande grise */
.intro-slider-container {
    height: 33.33vw !important;
    max-height: 724px;
    overflow: hidden;
}
.intro-slider-container .intro-slide {
    height: 33.33vw !important;
    min-height: 0 !important;
    max-height: 724px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
/* Forcer le carousel owl et ses wrappers a suivre la meme hauteur */
.intro-slider-container .owl-carousel,
.intro-slider-container .owl-stage-outer,
.intro-slider-container .owl-stage,
.intro-slider-container .owl-item,
.intro-slider-container .owl-height {
    height: 33.33vw !important;
    max-height: 724px;
}
.intro-slider-container .owl-item > .intro-slide {
    height: 100% !important;
}

/* ---------- Espace entre la banniere (carousel) et le contenu suivant ---------- */
.main > .brands-border,
.intro-slider-container + .brands-border {
    margin-top: 3.5rem;
}

/* =====================================================================
   CSCD - Boutons produit "Add to Cart" & actions produit
   Remplace la couleur d'accent du template (marron #c96/#cc9966 et
   vert de skin #a6c76c) par le VERT CSCD (comme le bouton Panier).
   Couvre tous les types de cartes produit (product-2 a product-11,
   product-list) et tous les etats (normal, hover, focus).
   ===================================================================== */

/* --- Texte / icone au repos et au survol : vert CSCD --- */
.btn-product { color: var(--cscd-green); }
.btn-product:hover span,
.btn-product:focus span {
    color: var(--cscd-green) !important;
    box-shadow: 0 1px 0 0 var(--cscd-green) !important;
}
.btn-product-icon { color: var(--cscd-green); }
.btn-product-icon:hover,
.btn-product-icon:focus {
    color: #fff;
    background-color: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
}

/* --- Fonds au survol selon les variantes de cartes produit --- */
.product .btn-product,
.product.product-4 .btn-product,
.product.product-5 .btn-product:hover,
.product.product-5 .btn-product:focus,
.product.product-7 .btn-product:hover,
.product.product-7 .btn-product:focus,
.product.product-8 .btn-product:hover,
.product.product-8 .btn-product:focus,
.product.product-11 .btn-product:hover,
.product.product-11 .btn-product:focus,
.product.product-11 .btn-product-icon:hover,
.product.product-11 .btn-product-icon:focus {
    border-color: var(--cscd-green) !important;
}
.product.product-4 .btn-product,
.product.product-4 .btn-product:hover,
.product.product-4 .btn-product:focus,
.product.product-5 .btn-product:hover,
.product.product-5 .btn-product:focus,
.product.product-7 .btn-product:hover,
.product.product-7 .btn-product:focus,
.product.product-8 .btn-product:hover,
.product.product-8 .btn-product:focus,
.product.product-11 .btn-product:hover,
.product.product-11 .btn-product:focus,
.product.product-11 .btn-product-icon:hover,
.product.product-11 .btn-product-icon:focus {
    background-color: var(--cscd-green) !important;
    color: #fff !important;
}
.product.product-4 .btn-product:hover,
.product.product-4 .btn-product:focus {
    background-color: var(--cscd-green-dark) !important;
}
/* product-5 et product-7 ont le texte vert au repos */
.product.product-5 .btn-product,
.product.product-7 .btn-product {
    color: var(--cscd-green);
}
.product.product-5 .btn-product:hover span,
.product.product-5 .btn-product:focus span,
.product.product-7 .btn-product:hover span,
.product.product-7 .btn-product:focus span,
.product.product-8 .btn-product:hover span,
.product.product-8 .btn-product:focus span,
.product.product-11 .btn-product:hover span,
.product.product-11 .btn-product:focus span {
    color: #fff !important;
    box-shadow: none !important;
}
.product.product-list .btn-product:hover,
.product.product-list .btn-product:focus {
    color: var(--cscd-green) !important;
}

/* --- Etiquette / prix / liens produit au survol : bleu CSCD --- */
.product .product-title a:hover,
.product .product-title a:focus {
    color: var(--cscd-blue);
}

/* =====================================================================
   CSCD - Remplacement global des accents restants (marron -> charte)
   Cible les elements courants encore en #c96 : liens, titres, prix,
   ratings, dropdowns, onglets, etc. Accent principal = BLEU CSCD.
   ===================================================================== */
a:hover,
a:focus,
.text-primary,
.product-price,
.old-price,
.ratings-full span,
.ratings::before,
.comment-date,
.nav-tabs .nav-link.active,
.page-item.active .page-link,
.category-dropdown .dropdown-toggle:focus,
.sidebar .widget .widget-title,
.breadcrumb .breadcrumb-item a:hover {
    color: var(--cscd-blue);
}
.ratings-container .ratings::before,
.ratings-full .ratings::before {
    color: var(--cscd-green);
}

/* Puces de carousel / sliders : vert CSCD (coherence avec Panier) */
.owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background-color: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
}

/* Barre de progression, badges de solde : vert CSCD */
.product-label.label-sale,
.progress-bar,
.cart-total .summary .btn {
    background-color: var(--cscd-green);
}

/* Bordures / soulignements d'accent -> bleu CSCD */
.category-dropdown .dropdown-toggle::before,
.nav-tabs .nav-link.active::after,
.title-lines::after {
    background-color: var(--cscd-blue) !important;
}

/* ---------- Footer CSCD ---------- */
.footer .megapixel-link {
    color: var(--cscd-blue-light) !important;
    font-weight: 700;
}
.footer .megapixel-link:hover,
.footer .megapixel-link:focus {
    color: var(--cscd-green) !important;
    text-decoration: underline;
}
/* Telephone + adresse : vert CSCD (comme le Panier), visibles au repos et au survol */
.footer-2 .widget-about-info a,
.footer-2 .widget-about-info a:not(:hover),
.footer .widget-about-info a {
    color: var(--cscd-green) !important;
    white-space: nowrap;
    font-size: 1.4rem;
    font-weight: 600;
}
.footer-2 .widget-about-info a:hover,
.footer .widget-about-info a:hover {
    color: var(--cscd-green-dark) !important;
}
.footer .widget-about-info a i {
    margin-right: .4rem;
    color: var(--cscd-green) !important;
}
/* Titres "Une question ?" / "Adresse" : plus discrets et plus petits */
.footer-2 .widget-about-title,
.footer .widget-about-title {
    color: #888 !important;
    font-size: 1.15rem;
}
/* Reduire globalement la taille du bloc infos (tel/adresse) */
.footer .widget-about-info {
    font-size: 1.4rem;
}
/* Reduire l'espace entre le bloc du milieu et la ligne "tous droits reserves" */
.footer-2 .footer-middle {
    padding-bottom: 0 !important;
}
.footer .footer-bottom .container {
    padding-top: 1rem !important;
    padding-bottom: 1.2rem !important;
}
.footer .widget-about p {
    line-height: 1.7;
}
/* ---------- Icones sociales du footer : visibles au repos + animation hover vert CSCD ---------- */
.footer .social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    border: 1px solid var(--cscd-green);
    background: transparent;
    color: var(--cscd-green);
    font-size: 1.5rem;
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.footer .social-icons .social-label {
    color: #888;
}
.footer .social-icons .social-icon:hover,
.footer .social-icons .social-icon:focus,
.footer .social-facebook:hover,
.footer .social-instagram:hover,
.footer .social-linkedin:hover {
    background: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
    color: #fff !important;
    transform: translateY(-3px) scale(1.1);
}

/* ---------- Newsletter : texte lisible sur image claire ---------- */
.footer-newsletter .heading .title {
    color: var(--cscd-blue) !important;
    font-weight: 700;
}
.footer-newsletter .heading .title-desc {
    color: #333 !important;
    font-weight: 500;
}
.footer-newsletter .heading .title-desc span {
    color: var(--cscd-green) !important;
    font-weight: 700;
}

/* ---------- Page Connexion / Inscription : carte plus compacte ---------- */
.login-page {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}
.login-page .form-box {
    max-width: 420px;
    margin: 0 auto;
    padding: 2.5rem 2.5rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(22, 69, 127, .10);
}
.login-page .form-box .form-tab .nav.nav-pills .nav-link {
    padding: .8rem 1rem;
    font-size: 1.5rem;
}
.login-page .form-box .form-group {
    margin-bottom: 1.4rem;
}

/* =====================================================================
   CSCD - Page Connexion/Inscription : remplacer le beige (#c96) restant
   ===================================================================== */

/* Onglets Connexion / Inscription */
.nav.nav-pills .nav-item .nav-link.active,
.nav.nav-pills .nav-item.show .nav-link,
.nav.nav-pills .nav-link.active {
    color: var(--cscd-blue) !important;
    border-bottom-color: var(--cscd-blue) !important;
}
.nav.nav-pills .nav-link:hover,
.nav.nav-pills .nav-link:focus {
    color: var(--cscd-blue-light) !important;
}

/* Bouton SE CONNECTER / S'INSCRIRE (btn-outline-primary-2) */
.btn-outline-primary-2 {
    color: var(--cscd-blue) !important;
    border-color: var(--cscd-blue) !important;
}
.btn-outline-primary-2:hover,
.btn-outline-primary-2:focus,
.btn-outline-primary-2.focus,
.btn-outline-primary-2:not(:disabled):not(.disabled):active,
.btn-outline-primary-2:not(:disabled):not(.disabled).active {
    color: #fff !important;
    background-color: var(--cscd-blue) !important;
    border-color: var(--cscd-blue) !important;
}

/* Lien "Mot de passe oublie ?" */
.form-tab .form-footer a:hover,
.form-tab .form-footer a:focus,
.forgot-link:hover,
.forgot-link:focus {
    color: var(--cscd-blue-light) !important;
}

/* Case a cocher "Se souvenir de moi" / "J'accepte" -> vert CSCD */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--cscd-green) !important;
    background-color: var(--cscd-green) !important;
}
.custom-control-input:checked ~ .custom-control-label::after {
    background-color: var(--cscd-green) !important;
}

/* Liens dans les labels (politique de confidentialite) */
.custom-control-label a {
    color: var(--cscd-blue) !important;
}
.custom-control-label a:hover {
    color: var(--cscd-blue-light) !important;
}

/* =====================================================================
   CSCD - Browse Categories (navbar) : remplacer le beige par le bleu CSCD
   ===================================================================== */

/* Bouton "Browse Categories" : soulignement, fond au survol / ouvert - VERT comme Panier */
.category-dropdown .dropdown-toggle::before {
    background-color: var(--cscd-green) !important;
}
.category-dropdown .dropdown-toggle:hover,
.category-dropdown .dropdown-toggle:focus,
.category-dropdown:not(.is-on):hover .dropdown-toggle,
.category-dropdown.show .dropdown-toggle {
    color: #fff !important;
    background-color: var(--cscd-green) !important;
}

/* Liste des categories : liens au survol */
.category-dropdown .dropdown-item:hover,
.category-dropdown .dropdown-item:focus,
.menu-vertical li:hover > a,
.menu-vertical li.show > a,
.menu-vertical li.active > a,
.menu-vertical > li:hover > a,
.menu-vertical > li.show > a,
.menu-vertical > li.active > a {
    color: var(--cscd-blue) !important;
}
.menu-vertical .menu-title {
    color: var(--cscd-blue) !important;
}

/* =====================================================================
   CSCD - Section Univers CSCD (style comaf.tn)
   ===================================================================== */

/* Titre principal "Univers CSCD" */
.title-universe-cscd {
    font-size: 4rem !important;
    font-weight: 800 !important;
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
}

.title-universe-cscd .title-main {
    color: #333;
    font-weight: 700;
}

.title-universe-cscd .title-brand {
    color: var(--cscd-blue);
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.title-universe-cscd .title-brand::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cscd-blue) 0%, var(--cscd-blue-light) 100%);
    border-radius: 2px;
}

.title-desc-universe {
    font-size: 1.8rem !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

/* Responsive titre */
@media (max-width: 991px) {
    .title-universe-cscd {
        font-size: 3.2rem !important;
    }
    .title-desc-universe {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .title-universe-cscd {
        font-size: 2.8rem !important;
    }
    .title-desc-universe {
        font-size: 1.3rem !important;
    }
}

/* Animation de transition pour les bannières interactives */
.tab-content-universe .tab-pane {
    animation: fadeInBanners .5s ease;
}

@keyframes fadeInBanners {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tab-content-universe .banner {
    transition: all .3s ease;
}

.tab-content-universe .banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.universe-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.universe-section .heading {
    margin-bottom: 3rem;
}

.universe-section .title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cscd-blue);
    margin-bottom: .5rem;
}

.universe-section .title-desc {
    font-size: 1.5rem;
    color: #666;
}

/* Onglets des catégories Universe */
.tab-content-carousel .nav-pills,
.tab-content-universe + .nav-pills,
.nav-pills.nav-border-anim {
    border-bottom: 3px solid #e7e7e7;
    margin-bottom: 3rem;
    padding-bottom: 0;
}

.nav-pills.nav-border-anim .nav-link {
    font-size: 1.6rem;
    font-weight: 600;
    color: #555 !important;
    padding: 1.2rem 2.8rem;
    border-radius: 8px 8px 0 0;
    border: none;
    border-bottom: 3px solid transparent;
    background: #f5f5f5 !important;
    transition: all .3s ease;
    margin: 0 .5rem 0 0;
    position: relative;
}

.nav-pills.nav-border-anim .nav-link:hover {
    color: #fff !important;
    background: var(--cscd-blue-light) !important;
    transform: translateY(-2px);
}

.nav-pills.nav-border-anim .nav-link.active,
.nav-pills.nav-border-anim .nav-link.active:hover,
.nav-pills.nav-border-anim .nav-link.active:focus {
    color: #ffffff !important;
    background: var(--cscd-blue) !important;
    border-bottom-color: transparent !important;
    box-shadow: 0 4px 12px rgba(22, 69, 127, 0.25) !important;
    transform: translateY(-3px);
}

.nav-pills.nav-border-anim .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cscd-blue);
}

.tab-content-carousel .product.product-7 {
    transition: all .3s ease;
}

.tab-content-carousel .product.product-7:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.tab-content-carousel .product-media {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.tab-content-carousel .product-media img {
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.tab-content-carousel .product.product-7:hover .product-media img {
    transform: scale(1.08);
}

.tab-content-carousel .product-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: .5rem;
}

.tab-content-carousel .product-title a {
    color: #333;
}

.tab-content-carousel .product-title a:hover {
    color: var(--cscd-blue);
}

/* Animation de fade pour le changement d'onglets */
.tab-content-carousel .tab-pane {
    animation: fadeInUp .4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .universe-section .nav-pills .nav-link {
        font-size: 1.3rem;
        padding: 1rem 1.5rem;
        margin: 0 .3rem;
    }
}

@media (max-width: 767px) {
    .universe-section {
        padding: 3rem 0;
    }
    
    .universe-section .title {
        font-size: 2.2rem;
    }
    
    .universe-section .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .universe-section .nav-pills .nav-link {
        font-size: 1.2rem;
        padding: .8rem 1.2rem;
        white-space: nowrap;
    }
}

/* Items Universe */
.universe-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    padding: 1.5rem;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
    height: 100%;
}

.universe-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(22, 69, 127, .15);
}

.universe-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
    padding-bottom: 75%; /* Ratio 4:3 */
}

.universe-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.universe-item:hover .universe-item-image img {
    transform: scale(1.1);
}

.universe-item-title h6 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color .25s;
}

.universe-item:hover .universe-item-title h6 {
    color: var(--cscd-blue);
}

/* =====================================================================
   CSCD - Forcer le style des onglets Universe (priorité maximale)
   ===================================================================== */
.container .nav-pills.nav-border-anim .nav-link.active,
body .nav-pills.nav-border-anim .nav-link.active,
html .nav-pills.nav-border-anim .nav-link.active {
    color: #ffffff !important;
    background-color: #16457F !important;
}

.container .nav-pills.nav-border-anim .nav-link,
body .nav-pills.nav-border-anim .nav-link,
html .nav-pills.nav-border-anim .nav-link {
    color: #555555 !important;
    background-color: #f5f5f5 !important;
}

.container .nav-pills.nav-border-anim .nav-link:hover,
body .nav-pills.nav-border-anim .nav-link:hover,
html .nav-pills.nav-border-anim .nav-link:hover {
    color: #ffffff !important;
    background-color: #1CA0E3 !important;
}


/* =====================================================================
   CSCD - Browse Categories avec images (style comaf.tn) - SIMPLIFIÉ
   ===================================================================== */

/* Menu principal des catégories */
.dropdown-menu-categories {
    min-width: 280px !important;
    max-width: 320px !important;
    padding: 8px 0 !important;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e5e5e5;
    border-top: none;
    margin-top: 0 !important;
    left: 0 !important;
}

/* Liste des catégories */
.menu-vertical {
    margin: 0 !important;
    padding: 0 !important;
}

.menu-vertical > li {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.menu-vertical > li.item-with-sub > a.category-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-vertical > li.item-with-sub:hover > a.category-main-link {
    background-color: #f0f7ff;
    border-left-color: var(--cscd-blue);
    color: var(--cscd-blue);
    padding-left: 20px;
}

.menu-vertical > li.item-with-sub > a.category-main-link i {
    font-size: 10px;
    color: #999;
    margin-left: 8px;
}

/* Submenu des sous-catégories */
.submenu-wrap {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 420px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 0 6px 6px 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 1000;
    margin-left: -1px;
}

.menu-vertical > li.item-with-sub:hover .submenu-wrap {
    display: block;
}

.submenu-content {
    display: flex;
    padding: 12px;
}

.submenu-list {
    flex: 1;
    padding-right: 12px;
    max-height: 320px;
    overflow-y: auto;
}

.submenu-list a.subcategory-item {
    display: block;
    padding: 8px 12px;
    font-size: 12px;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.submenu-list a.subcategory-item:hover {
    background-color: #e8f9ed;
    color: var(--cscd-green);
    border-left-color: var(--cscd-green);
    padding-left: 16px;
    font-weight: 500;
}

.submenu-image {
    flex: 0 0 200px;
    width: 200px;
    height: 220px;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submenu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.submenu-image:hover img {
    transform: scale(1.05);
}

/* Scrollbar pour sous-catégories */
.submenu-list::-webkit-scrollbar {
    width: 4px;
}

.submenu-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.submenu-list::-webkit-scrollbar-thumb {
    background: var(--cscd-blue-light);
    border-radius: 2px;
}

.submenu-list::-webkit-scrollbar-thumb:hover {
    background: var(--cscd-blue);
}

/* Animation d'entrée */
@keyframes fadeInSubmenu {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-vertical > li.item-with-sub:hover .submenu-wrap {
    animation: fadeInSubmenu 0.25s ease;
}

/* Bouton "Parcourir les catégories" */
.category-dropdown .dropdown-toggle {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 16px 9px 38px !important;
    transition: all 0.3s ease !important;
}

.category-dropdown .dropdown-toggle i {
    margin-right: 6px;
    font-size: 14px;
}

/* Mobile: Click pour ouvrir les sous-menus */
@media (max-width: 991px) {
    .menu-vertical > li.item-with-sub .submenu-wrap {
        display: none;
    }
    
    .menu-vertical > li.item-with-sub.open .submenu-wrap {
        display: block;
    }
    
    /* Rotation de la flèche quand ouvert */
    .menu-vertical > li.item-with-sub.open > a.category-main-link i {
        transform: rotate(90deg);
    }
    
    .menu-vertical > li.item-with-sub > a.category-main-link i {
        transition: transform 0.3s ease;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .dropdown-menu-categories {
        min-width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .menu-vertical > li.item-with-sub > a.category-main-link {
        font-size: 13px;
        padding: 11px 14px;
    }
    
    .submenu-wrap {
        position: static;
        min-width: 100%;
        margin-left: 0;
        margin-top: 6px;
        border-radius: 6px;
        box-shadow: none;
        border: 1px solid #e0e0e0;
        background: #fafafa;
    }
    
    .submenu-content {
        flex-direction: column;
        padding: 10px;
    }
    
    .submenu-list {
        padding-right: 0;
        margin-bottom: 10px;
        max-height: none;
    }
    
    .submenu-image {
        flex: none;
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .dropdown-menu-categories {
        min-width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 0 4px 4px;
    }
    
    /* Categories principales */
    .menu-vertical > li.item-with-sub > a.category-main-link {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .menu-vertical > li.item-with-sub > a.category-main-link i {
        font-size: 9px;
    }
    
    /* Sous-catégories */
    .submenu-wrap {
        margin-top: 4px;
        border-radius: 4px;
    }
    
    .submenu-content {
        padding: 8px;
    }
    
    .submenu-list {
        margin-bottom: 8px;
    }
    
    .submenu-list a.subcategory-item {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .submenu-image {
        height: 160px;
    }
}

@media (max-width: 575px) {
    /* Extra petit écran */
    .dropdown-menu-categories {
        padding: 6px 0 !important;
    }
    
    .menu-vertical > li.item-with-sub > a.category-main-link {
        font-size: 11px;
        padding: 9px 10px;
    }
    
    .submenu-list a.subcategory-item {
        font-size: 10px;
        padding: 7px 9px;
    }
    
    .submenu-image {
        height: 140px;
    }
    
    .submenu-content {
        padding: 6px;
    }
}






/* =====================================================================
   CSCD - Menu Mobile personnalisé
   ===================================================================== */

/* Menu mobile - Catégories avec couleurs CSCD */
.mobile-menu > li > a.mobile-menu-title {
    color: #333 !important;
    font-weight: 600;
    font-size: 14px;
}

.mobile-menu > li > a.mobile-menu-title:hover,
.mobile-menu > li.active > a.mobile-menu-title {
    color: var(--cscd-blue) !important;
}

/* Catégories dans l'onglet Categories */
.mobile-cats-menu li.has-submenu > a.mobile-cats-lead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 40px;
}

.mobile-cats-menu li.has-submenu .mmenu-btn {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    background: none !important;
    background-color: transparent !important;
    color: var(--cscd-blue) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.mobile-cats-menu li.has-submenu .mmenu-btn::before {
    content: '\f107' !important;
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    color: var(--cscd-blue) !important;
    background: none !important;
    transition: transform 0.3s ease !important;
    display: inline-block !important;
}

.mobile-cats-menu li.has-submenu.open .mmenu-btn {
    background: none !important;
    background-color: transparent !important;
}

.mobile-cats-menu li.has-submenu.open .mmenu-btn::before {
    color: var(--cscd-green) !important;
    transform: rotate(180deg) !important;
}

.mobile-cats-menu li.has-submenu > ul {
    background: #f8f9fa;
    padding: 8px 0;
    margin-top: 5px;
    border-left: 3px solid var(--cscd-blue);
    border-radius: 4px;
}

.mobile-cats-menu li.has-submenu > ul > li > a {
    padding: 10px 20px 10px 25px;
    color: #555 !important;
    font-size: 13px;
    transition: all 0.2s ease;
}

.mobile-cats-menu li.has-submenu > ul > li > a:hover {
    color: var(--cscd-green) !important;
    background: #e8f9ed;
    padding-left: 30px;
}

/* Sous-menu mobile */
.mobile-menu > li > ul {
    background: #f8f9fa;
    padding: 8px 0;
    margin: 0;
}

.mobile-menu > li > ul > li > a {
    color: #555 !important;
    font-size: 13px;
    padding: 10px 20px 10px 30px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.mobile-menu > li > ul > li > a:hover {
    color: var(--cscd-green) !important;
    background: #e8f9ed;
    border-left-color: var(--cscd-green);
    padding-left: 35px;
}

/* Bouton toggle pour sous-menu */
.mobile-menu .mmenu-btn {
    background: var(--cscd-blue);
    color: white;
}

.mobile-menu .mmenu-btn:hover {
    background: var(--cscd-blue-dark);
}

/* Bouton hamburger */
.mobile-menu-toggler {
    color: var(--cscd-blue) !important;
}

.mobile-menu-toggler:hover {
    color: var(--cscd-blue-dark) !important;
}

/* Bouton de recherche mobile */
.mobile-search .btn-primary {
    background: var(--cscd-blue) !important;
    border-color: var(--cscd-blue) !important;
}

.mobile-search .btn-primary:hover {
    background: var(--cscd-blue-dark) !important;
    border-color: var(--cscd-blue-dark) !important;
}

/* Icônes sociales dans le menu mobile */
.mobile-menu-wrapper .social-icons {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.mobile-menu-wrapper .social-icons .social-icon {
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    background: var(--cscd-blue);
    color: white !important;
    margin: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-menu-wrapper .social-icons .social-icon:hover {
    background: var(--cscd-green) !important;
    transform: translateY(-3px);
}

/* Fermer le menu mobile */
.mobile-menu-close {
    color: var(--cscd-blue) !important;
}

.mobile-menu-close:hover {
    color: var(--cscd-blue-dark) !important;
}


/* =====================================================================
   CSCD - Forcer la suppression du carré/rectangle de la flèche mobile
   ===================================================================== */

/* Supprimer TOUS les styles par défaut du bouton */
.mobile-cats-menu li.has-submenu .mmenu-btn,
.mobile-cats-menu .mmenu-btn,
.mmenu-btn {
    all: unset !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    padding: 8px !important;
    line-height: 1 !important;
    font-size: 0 !important;
}

/* Utiliser > au lieu d'une icône Font Awesome */
.mobile-cats-menu li.has-submenu .mmenu-btn::before,
.mobile-cats-menu .mmenu-btn::before {
    all: unset !important;
    content: '›' !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 24px !important;
    color: var(--cscd-blue) !important;
    display: inline-block !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
    line-height: 1 !important;
}

.mobile-cats-menu li.has-submenu.open .mmenu-btn::before {
    color: var(--cscd-green) !important;
    transform: rotate(90deg) !important;
}

/* S'assurer qu'il n'y a AUCUN style de fond */
.mobile-cats-menu .mmenu-btn::after {
    display: none !important;
    content: none !important;
}



/* =====================================================================
   CSCD - Corrections bouton "Parcourir les catégories" Desktop
   PRIORITÉ ABSOLUE : Texte BLANC sur fond VERT dans TOUS les états
   ===================================================================== */

/* FORCER le texte BLANC et fond VERT dans TOUS les états possibles */
html body .header .header-bottom .category-dropdown .dropdown-toggle,
html body .header-intro-clearance .header-bottom .category-dropdown .dropdown-toggle,
html body .header-2 .header-bottom .category-dropdown .dropdown-toggle,
html body .sticky-header .category-dropdown .dropdown-toggle,
html .category-dropdown .dropdown-toggle,
.header-intro-clearance .dropdown.category-dropdown .dropdown-toggle,
.category-dropdown .dropdown-toggle,
.category-dropdown .dropdown-toggle:not(:hover):not(:focus),
.category-dropdown .dropdown-toggle:link,
.category-dropdown .dropdown-toggle:visited,
a.dropdown-toggle[data-toggle="dropdown"][role="button"] {
    color: #fff !important;
    background-color: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
}

/* Garder le texte blanc au survol et focus - fond vert foncé */
html body .header .category-dropdown .dropdown-toggle:hover,
html body .header .category-dropdown .dropdown-toggle:focus,
.category-dropdown .dropdown-toggle:hover,
.category-dropdown .dropdown-toggle:focus,
.category-dropdown.show .dropdown-toggle,
.category-dropdown.is-on .dropdown-toggle,
.category-dropdown:not(.is-on):hover .dropdown-toggle,
.header-bottom .category-dropdown .dropdown-toggle:hover,
.header-bottom .category-dropdown .dropdown-toggle:focus,
.header-bottom .category-dropdown.show .dropdown-toggle {
    color: #fff !important;
    background-color: var(--cscd-green-dark) !important;
    border-color: var(--cscd-green-dark) !important;
}

/* Supprimer TOUTES les icônes et symboles pseudo-éléments (hamburger, flèches, etc.) */
.category-dropdown .dropdown-toggle::after,
.category-dropdown .dropdown-toggle::before,
.header-bottom .category-dropdown .dropdown-toggle::after,
.header-bottom .category-dropdown .dropdown-toggle::before,
.header .category-dropdown .dropdown-toggle::after,
.header .category-dropdown .dropdown-toggle::before,
.header-intro-clearance .dropdown.category-dropdown .dropdown-toggle::after,
.header-intro-clearance .dropdown.category-dropdown .dropdown-toggle::before {
    display: none !important;
    content: none !important;
    background: none !important;
    background-image: none !important;
    background-color: transparent !important;
    width: 0 !important;
    height: 0 !important;
    border: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Garder uniquement l'icône icon-list (celle qu'on veut) - texte blanc */
.category-dropdown .dropdown-toggle i.icon-list,
.category-dropdown .dropdown-toggle .icon-list,
.header-intro-clearance .category-dropdown .dropdown-toggle i.icon-list {
    color: #fff !important;
    margin-right: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    font-size: 16px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}



/* ============================================================
   Mini-panier (dropdown navbar) - boutons sur une seule ligne
   ============================================================ */
.cart-dropdown .dropdown-cart-action {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cart-dropdown .dropdown-cart-action .btn {
    flex: 1;
    white-space: nowrap;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
    font-size: 1.2rem;
    text-align: center;
}
/* Bouton "Voir le panier" en bleu CSCD */
.cart-dropdown .dropdown-cart-action .btn-primary {
    background-color: var(--cscd-blue) !important;
    border-color: var(--cscd-blue) !important;
    color: #fff !important;
}
.cart-dropdown .dropdown-cart-action .btn-primary:hover {
    background-color: var(--cscd-blue-dark) !important;
    border-color: var(--cscd-blue-dark) !important;
}
/* Bouton "Commander" en vert CSCD */
.cart-dropdown .dropdown-cart-action .btn-outline-primary-2 {
    color: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
}
.cart-dropdown .dropdown-cart-action .btn-outline-primary-2:hover {
    background-color: var(--cscd-green) !important;
    border-color: var(--cscd-green) !important;
    color: #fff !important;
}
.cart-dropdown .dropdown-cart-action .btn-outline-primary-2 i {
    margin-left: 4px;
}

/* ============================================================
   Supprimer le beige du template (breadcrumb, page-title, liens)
   Appliqué globalement sur tout le site
   ============================================================ */

/* Sous-titre beige sous le titre des pages (ex: "Boutique", "Shop") */
.page-header .page-title span {
    color: var(--cscd-blue-light) !important;
}

/* Liens du fil d'Ariane (breadcrumb) */
.breadcrumb-item a {
    color: var(--cscd-blue) !important;
}
.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--cscd-blue-light) !important;
}

/* Liens génériques "primary" du template (souvent beige par défaut) */
a.btn-link,
.btn-link {
    color: var(--cscd-blue) !important;
}
a.btn-link:hover,
.btn-link:hover {
    color: var(--cscd-blue-light) !important;
}

/* Titres de section avec soulignement beige */
.summary-title,
.checkout-title {
    border-bottom-color: var(--cscd-blue) !important;
}

/* Liens dans les tableaux de résumé / panier */
.table-summary a,
.table-cart .product-title a {
    color: #333 !important;
}
.table-summary a:hover,
.table-cart .product-title a:hover {
    color: var(--cscd-blue-light) !important;
}

/* ==========================================================================
   Bannières "Univers CSCD" : voile sombre pour rendre le texte blanc lisible
   sur des images trop claires.
   ========================================================================== */
.banner-overlay {
    position: relative;
    overflow: hidden;
}

/* Voile dégradé appliqué par-dessus l'image */
.banner-overlay > a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.25) 45%,
        rgba(0, 0, 0, 0.10) 100%
    );
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

/* Les bannières "light" (texte souvent en haut) : voile un peu plus doux
   mais toujours présent pour garantir le contraste */
.banner-overlay.banner-overlay-light > a::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.20) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* Assombrir légèrement au survol pour l'effet interactif */
.banner-overlay:hover > a::after {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

/* Le contenu (titres, bouton) passe au-dessus du voile */
.banner-overlay .banner-content {
    position: absolute;
    z-index: 2;
}

/* Renforcer la lisibilité du texte blanc */
.banner-overlay .banner-title,
.banner-overlay .banner-title.text-white {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.banner-overlay .banner-subtitle,
.banner-overlay .banner-subtitle.text-grey {
    color: #f1f1f1 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Bouton "Découvrir" bien contrasté sur le voile sombre */
.banner-overlay .btn-outline-white,
.banner-overlay .btn-outline-gray {
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.banner-overlay .btn-outline-white:hover,
.banner-overlay .btn-outline-gray:hover {
    background-color: #ffffff !important;
    color: var(--cscd-blue) !important;
    border-color: #ffffff !important;
}

/* ==========================================================================
   Hero slider (slides configurés depuis l'admin) :
   voile sombre pour que le texte blanc reste lisible sur des images claires.
   ========================================================================== */
.intro-slider-container .intro-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Voile dégradé posé au-dessus de l'image de fond */
.intro-slider-container .intro-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.60) 0%,
        rgba(0, 0, 0, 0.40) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Le contenu (titre, sous-titre, texte, bouton) passe au-dessus du voile */
.intro-slider-container .intro-content {
    position: relative;
    z-index: 2;
}

/* Lisibilité renforcée du texte blanc */
.intro-slider-container .intro-title,
.intro-slider-container .intro-title.text-white {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.intro-slider-container .intro-subtitle,
.intro-slider-container .intro-subtitle.text-white {
    color: #ffffff !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.intro-slider-container .intro-text,
.intro-slider-container .intro-text.text-white {
    color: #f2f2f2 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
