/* --------------------------------------------------------------- */
/*
/* HTML
/*
/* --------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

body {
    color: #3D3D3D;
    background-color: #FFF;
    text-align: center;
    overflow-x: hidden;
}

.noscroll {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

/* --------------------------------------------------------------- */
/*
/* Header
/*
/* --------------------------------------------------------------- */
#livraison_entete {
    background-color: #460508;
    color: #FFF;
    font-family: "Lato";
    font-size: 16px;
    text-align: center;
    padding: 10px 0;
    z-index: 1001;
    position: relative;
}

#livraison_entete svg {
    color: #E95D0F;
    margin-right: 10px;
}

#entete {
    position: sticky;
    top: -40px;
    left: 0;
    box-shadow: 0px 0px 10px #c0c0c0;
    z-index: 1000;
    background: #fff;
}

#entete .conteneur_entete {
    padding: 50px 0;
}

#entete .recherche_entete {
    display: inline-block;
    border-bottom: 1px solid #E5E5E5;
}

#entete .recherche_entete input[type="text"] {
    border: 0 !important;
    width: 280px;
    max-width: 75%;
    padding: 10px;
}

#entete .recherche_entete button[type="submit"] {
    border: 0 !important;
    background-color: transparent;
    padding: 10px;
    width: 15%;
    color: #9A141B;
}

#entete .compte_entete a, #entete .panier_entete a {
    color: #9A141B;
    text-transform: uppercase;
    text-decoration: none;
}

/* --------------------------------------------------------------- */
/*
/* Menu
/*
/* --------------------------------------------------------------- */
#menu {
    position: relative;
    top: 0;
    left: 0;
}

#menu .menu ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}


#menu .container {
    position: relative;
}


#menu ul li a {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    text-transform: uppercase;
    color: #3D3D3D;
    text-decoration: none !important;
    padding: 10px;
}

@media (max-width: 1199px) {
    #menu ul li a {
        padding: 10px 5px;
        font-size: 14px;
    }
}


#menu ul li .wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    width: 100%;
    text-align: left;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 250px;
    opacity: 0;
    transform: translateY(50px);
    transition: .35s;
    pointer-events: none;
    visibility: hidden;
}

#menu ul li .wrapper:after {
    position: absolute;
    content: '';
    z-index: -1;
    left: 50%;
    height: 100%;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
    background: #FFF;
    box-shadow: 0px 0px 10px #c0c0c0;
}

#menu .menu > ul > li:hover:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50px;
}

#menu ul li:hover .wrapper {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    visibility: visible;
}

#menu ul li .wrapper.has-brands {
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr;
}


#menu ul li .wrapper .marques {
    display: flex;
    flex-wrap: wrap;
    height: fit-content;
    max-height: 100%;
    overflow: auto;
}

#menu ul li .wrapper .marques li {
    width: auto;
    flex: auto;
    height: auto;
}

#menu ul li .wrapper .marques li.title {
    width: 100%;
    font-weight: bold;
    text-transform: uppercase;
    color: #E95D0F;
    padding: 10px;
}


#menu ul li .wrapper .marques li a {
    padding: 0;
    margin: 5px 5px 5px 0;
}

#menu ul li .wrapper .marques li .marque-image {
    display: block;
    max-width: 150px;
    text-align: left;
    height: 75px;
    padding: 0;
    margin: 0;
    border: none;
}

#menu ul li .wrapper .marques li .marque-image img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#menu ul li .wrapper .marques li a span {
    background-color: #FFF !important;
    border: 1px solid #E95D0F;
    color: #E95D0F !important;
    padding: 5px;
}

#menu ul li .wrapper > ul {
    position: relative !important;
    box-shadow: none !important;
    top: 0;
}

#menu ul li .wrapper > ul:not(.marques) {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
    display: block;
    -column-break-inside: avoid;
    --webkit-column-break-inside: avoid;
}

#menu ul li .wrapper.has-brands > ul:not(.marques) {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
}

#menu ul li .wrapper > ul:not(.marques) li {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    break-inside: avoid;
}

#menu ul li ul li {
    font-weight: bold;
}

#menu ul li ul li.has-child ul {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: block;
    box-shadow: none;
    padding-left: 20px;
}

#menu ul li ul li.has-child ul li {
    font-weight: normal;
    width: 100%;

}

#menu ul li ul li.has-child ul li a {
    text-transform: none;
    padding: 0;
}


/* --------------------------------------------------------------- */
/*
/* Page
/*
/* --------------------------------------------------------------- */
#page {
    position: relative;
    top: 0;
    left: 0;
    z-index: 5;
}

#page .breadcrumb .breadcrumb-item a {
    color: #E95D0F;
    text-decoration: none;
}

#page h1, #page h2 {
    position: relative;
    top: 0;
    left: 0;
    font-family: 'Barlow Condensed';
    text-transform: uppercase;
    font-size: 38px;
    color: #3D3D3D;
    margin-top: 45px;
    padding-bottom: 10px;
    margin-bottom: 45px;
    font-weight: bold;
}

#page h1.image, #page h2.image {
    padding: 0;
}

#page h1:not(.image):after, #page h2:not(.image):after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #E95D0F;
}

.ribbon {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    background-color: #E95D0F;
    border-radius: 3px;
    color: #FFF;
    text-decoration: none;
    font-size: 15px;
    padding: 5px 10px;
}

.ribbon.exclu_box {
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
    background: #840606;
}

.ribbon.promo {
    position: absolute;
    right: 0;
    left: auto;
    background-color: #13BB13;
}

.prix_normal {
    font-size: 80%;
    text-decoration: line-through;
}

.prix_promo {

}

#page .bouton {
    background-color: #E95D0F;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    border: none;
}

#page .form-control {
    font-size: 16px;
    margin-bottom: 15px;
}

#page .form-check-input:checked {
    background-color: #E95D0F;
    border-color: #E95D0F;
}


/* --------------------------------------------------------------- */
/*
/* Footer
/*
/* --------------------------------------------------------------- */
#pied {
    position: relative;
    top: 0;
    left: 0;
    color: #FFF;
    margin-top: 45px;
}

#pied a {
    color: #FFF;
    text-decoration: none;
}

#pied #pied_haut {
    padding: 35px 0;
    background: url('../img/fond_pied.png') no-repeat center center #9A141B;
}

#pied .logo_pied {
    margin-bottom: 35px;
}

#pied .contact_infos {
    line-height: 35px;
}

#pied .contact_infos svg {
    margin-right: 10px;
    display: inline-block;
}

#pied h4 {
    text-transform: uppercase;
    margin-bottom: 25px;
}


#pied_bas {
    background-color: #3D3D3D;
    padding: 15px 0;
}

#pied_bas img {
    margin-left: 10px;
}


@media (max-width: 1199px) {

    #entete .recherche_entete input[type="text"] {
        width: auto;
    }
}

@media (max-width: 991px) {

    body:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, .4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: auto;
        backdrop-filter: blur(2px);
        transition: opacity 0.3s ease-in-out;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open:before {
        opacity: 1;
        visibility: visible;
    }

    #entete {
        top: 0;
    }

    #entete .conteneur_entete {
        padding: 10px 0;
    }

    #entete .hamburger {
        transform: scale(0.8);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #entete .compte_entete a,
    #entete .panier_entete a {
        font-size: 17px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #9A141B;
        color: #FFF;
        width: 40px;
        height: 40px;
    }

    #menu .menu .root-menu {
        position: fixed;
        flex-direction: column;
        right: 0;
        bottom: 0;
        width: 50%;
        background: #FFFFFF;
        justify-content: flex-start;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }


    #menu .menu .root-menu.active {
        transform: translateX(0);
    }

    #menu .menu .menu-item {
        text-align: left;
    }

    #menu .menu .menu-item.has-child {
        position: relative;
    }

    #menu .menu .menu-item.has-child:after {
        content: '\f107';
        font-family: 'FontAwesome';
        font-size: 12px;
        position: absolute;
        right: 20px;
        top: 10px;
        transition: transform 0.3s ease-in-out;
        width: auto;
        left: auto;
        height: auto;
    }

    #menu .menu .menu-item.has-child.active:after {
        transform: rotate(180deg);

    }

    #menu .menu .menu-item.has-child .wrapper,
    #menu .menu .menu-item.has-child > .child-menu {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 0;
        min-height: 0;
        padding: 0 20px;
        transform: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    #menu .menu .menu-item.has-child.active > a {
        color: #E95D0F;
    }

    #menu .menu .menu-item.has-child.active .wrapper,
    #menu .menu .menu-item.has-child.active > .child-menu {
        max-height: none;
        opacity: 1;
        visibility: visible;
    }

    #menu .menu .menu-item.has-child .wrapper > ul.marques {
        display: none;
    }

    #menu .menu .menu-item.has-child .wrapper > ul:not(.marques) {
        column-count: 1;
        display: flex;
        flex-direction: column;
    }

    #menu .menu .menu-item.has-child .wrapper:after {
        display: none;
    }
}

@media (max-width: 767px) {
    #menu .menu .root-menu {
        width: 80%;
    }

    #menu .menu .root-menu a {
        font-size: 13px;
    }


    #page h1, #page h2 {
        font-size: 25px;
        margin-top: 30px;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }

    #page h1:not(.image):after, #page h2:not(.image):after {
        width: 40px;
    }


}

@media (max-width: 575px) {
    #menu .menu .menu-item.has-child .wrapper,
    #menu .menu .menu-item.has-child > .child-menu {
        padding: 0 10px;
    }

    #page .bouton {
        font-size: 14px;
    }
}
