/* ==========================================================================
   CHARTE OFFICIELLE CENTRE COMMERCES BOURG (CCB01)
   Couleurs du logo :
   - Rose/Framboise primaire : #E70344 (survol : #B80236)
   - Orange secondaire       : #FF8500
   - Noir graphique          : #111111
   ========================================================================== */

:root {
    --ccb-pink: #E70344;
    --ccb-pink-dark: #B80236;
    --ccb-orange: #FF8500;
    --ccb-black: #111111;
}

/* --- 1. COULEURS GLOBALES & BOUTONS --- */
a {
    color: var(--ccb-pink);
}
a:hover {
    color: var(--ccb-pink-dark);
}

.btn-primary,
.btn-default {
    background-color: var(--ccb-pink) !important;
    border-color: var(--ccb-pink) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 26px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active,
.btn-default:hover, .btn-default:focus, .btn-default:active {
    background-color: var(--ccb-pink-dark) !important;
    border-color: var(--ccb-pink-dark) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(231, 3, 68, 0.3) !important;
}

/* --- 2. HEADER (EN-TÊTE) STYLE POLE01 / REV01200 --- */

/* Barre supérieure (Appelez-nous / Connexion / Panier) */
#header .header-nav {
    background: #f6f6f6 !important;
    color: #232323 !important;
    border-bottom: 1px solid #eaeaea !important;
    padding: 6px 0 !important;
    max-height: none !important;
}

#header .header-nav .row {
    display: flex !important;
    align-items: center !important;
}

#header .header-nav #contact-link {
    margin-top: 0 !important;
    padding: 6px 0 !important;
}

#header .header-nav .right-nav {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 15px !important;
}

#header .header-nav #_desktop_user_info .user-info {
    margin-top: 0 !important;
    padding: 4px 0 !important;
}

#header .header-nav #_desktop_user_info a {
    font-weight: 700 !important;
    color: #232323 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
#header .header-nav #_desktop_user_info a:hover {
    color: var(--ccb-pink) !important;
}

#header .header-nav .blockcart {
    background: var(--ccb-pink) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 4px 16px !important;
    margin-left: 8px !important;
    margin-top: 0 !important;
    height: auto !important;
    line-height: 1.3 !important;
    display: inline-flex !important;
    align-items: center !important;
}
#header .header-nav .blockcart .header {
    margin-top: 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1.3 !important;
}
#header .header-nav .blockcart .header,
#header .header-nav .blockcart .header a,
#header .header-nav .blockcart .header i,
#header .header-nav .blockcart .header span {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
}
#header .header-nav .blockcart .header i.shopping-cart {
    font-size: 18px !important;
    line-height: 1 !important;
}

/* Zone blanche principale du Header avec liseré Orange CCB01 */
#header .header-top {
    background: #ffffff !important;
    border-bottom: 4px solid var(--ccb-orange) !important;
    padding-top: 15px !important;
    padding-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Empilement vertical : Logo centré en haut, Menu 3 pastilles centré en dessous */
#header .header-top > .container > .row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
}

#header .header-top #_desktop_logo {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    margin: 0 0 12px 0 !important;
    float: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

#header .header-top #_desktop_logo h1 {
    margin: 0 !important;
}

#header .header-top #_desktop_logo a {
    display: inline-block !important;
}

#header .logo {
    display: inline-block !important;
    float: none !important;
    margin: 0 auto !important;
    width: auto !important;
    height: auto !important;
    max-height: 115px !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* Masquer la barre de recherche */
#search_widget,
#header .search-widget {
    display: none !important;
}

/* Conteneur sous le logo */
#header .header-top .header-top-right,
#header .header-top .position-static {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

/* --- 3. LES 3 GROSSES PASTILLES DU MENU HEADER --- */
#_desktop_top_menu {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 8px !important;
}

#_desktop_top_menu .top-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#_desktop_top_menu .top-menu > li {
    list-style: none !important;
    float: none !important;
    display: inline-block !important;
}

#_desktop_top_menu .top-menu > li > a,
#_desktop_top_menu .top-menu > li > a.dropdown-item {
    display: inline-block !important;
    border: 2px solid var(--ccb-pink) !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    color: var(--ccb-pink) !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    background-color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    line-height: 1.4 !important;
}

#_desktop_top_menu .top-menu > li > a:hover,
#_desktop_top_menu .top-menu > li > a:focus,
#_desktop_top_menu .top-menu > li > a:active {
    background-color: var(--ccb-pink) !important;
    border-color: var(--ccb-pink) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 18px rgba(231, 3, 68, 0.32) !important;
}

/* Responsive Mobile Menu */
#mobile_top_menu_wrapper .top-menu > li > a {
    font-weight: 700 !important;
    color: var(--ccb-pink) !important;
}

/* --- 4. CONTENU ACCUEIL & FOOTER --- */
#wrapper {
    background: #f6f6f6 !important;
    padding-top: 25px !important;
}

#custom-text {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 35px 40px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 30px !important;
    border-top: 4px solid var(--ccb-pink) !important;
}

.footer-container {
    background-color: #ffffff !important;
    border-top: 4px solid var(--ccb-orange) !important;
}

