/*     HEADER     */
#page {
	max-width: 290px;
	width: 100%;
	padding: 0;
}

#header {
	height: 100%;
	background: #F9F9F9;
	width: 100%;
	position: inherit;
	padding: 0;
	box-shadow: none;
	border-bottom: 0;
	margin: 0;
}

/* Header logo */
#header #block-beaute-1-site-branding {
    max-width: 380px;
    width: 100%;
}

#header #block-beaute-1-site-branding img {
    max-width: 250px;
}

/* Header région (logo + megamenu) */

.site-logo {
	left: 102px;
	top: 22%;
	position: inherit;
	transform: inherit;
	z-index: 3;
}
.search-form input{
    color: #000;
}
/* header--menu */
#header-menu .nav-menu {
    top: 70px;
    background-color: var(--color-white);
    width: 100%;
    border-bottom: 1px solid;
    margin: 0 auto;
    border-radius: 0px;
}

#header-menu .menu-list {
    display: flex;
    gap: 70px;
    justify-content: center;
}
.site-logo-container img {
    width: 100%;
    height: auto;
}
.header-menu-separation {
    border-bottom: 1px solid #CBC8C8;
}
.header-submenu-separation {
    border-bottom: 1px solid #D8D8D8;
}
.menu_item_children:last-child {
	border: 0;
}
.header-home-button a {
    font-weight: 700;
    font-size: 15px;
}
.menu_item_children a {
	font-family: "Poppins", sans-serif;
	font-weight: 300;
	font-size: 14px;
	transition: all ease-in-out 0.1s;
	padding-left: 0;
}
.menu_item_children:hover a {
	padding-left: 5px;
	font-weight: 400;
}
.menu_item_children {
	cursor: pointer;
}
@media screen and (max-width: 1025px) {
    .header-box {
        padding: 0 30px;
    }
}
@media screen and (max-width: 900px) {
    #header-menu {
        display: none;
    }

    .header-box {
        padding: 0;
    }

    #header #region_header #block-identitedusite img {
        padding-right: 0;
    }
}

#header-menu {
     padding: 48px 12px ;
    background-color: transparent;
}
.search-form-mobile {
    padding: 20px 22px 22px 22px;
}
@media screen and (min-width: 900px) {
    .search-form-mobile {
        padding: 10px 22px 22px 22px;
    }
}
@media screen and (max-width: 500px) {
    #header #region_header #block-identitedusite img {
        max-width: 100% !important;
    }
}

#block-main-menu ul.categ-megamenu-subcategs {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}



/* header-menu-custom-wp */
.mega-menu-wrap {
    position: absolute;
    z-index: 2;
    top: 119px;
    transform: translate(0, -50%);
}

.menu-menu-header-container {
    clear: both;
    position: absolute;
    z-index: 2;
    top: 160px;
    transform: translate(0, -50%);
    background-color: transparent;

}



.menu-menu-header-container li>a {
    color: var(--color-white);
    font-size: 14px;
    text-wrap: nowrap;
    text-transform: uppercase;
}

.menu-menu-header-container li>a {
    color: var(--color-white);
    font-size: 14px;
    text-wrap: nowrap;
    text-transform: uppercase;
}

#header-menu #block-main-menu a:hover {
    text-decoration: underline;
}



@media screen and (max-width: 900px) {
    #header #pictosHeader {
        padding-left: 0;
    }

    ul#header-menu {
        display: block;
    }
}

/* Header icone loupe */
#header #loupeHeader {
    width: 32px;
    height: 32px;
    background-image: url('../img/header/loupe.png');
    background-repeat: no-repeat;
    background-size: auto 32px;
    cursor: pointer;
    transition: all ease 0.3s;
}

/* Header searchbar */
#searchHeaderMobile #searchForm,
#header #search-block-form {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    box-shadow: inset 0px 3px 6px #00000029;
    max-width: 675px;
    border-radius: 10px;
    padding: 5px 10px;
    height: 40px;
    width: 100%;
    border: 2px solid transparent;
}

#searchForm div{
    border: 1px solid #ffffff;
}

#header .search-block-form {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 30px;
}

#header #search-block-form .js-form-type-search {
    width: 100%;
}

#searchHeaderMobile #searchForm input,
#header #search-block-form input {
    border: 0;
    width: 100%;
    background-color: transparent !important;
}

#searchHeaderMobile #searchForm button,
#header #edit-actions {
    height: 27px;
    width: 27px;
}
.button-banner,.button-footer{
    width: 192px !important;
}
#searchHeaderMobile #searchForm button,
#header #edit-submit {
    padding: 0 !important;
    background-image: url('../img/header/Icon-menu05.svg');
    color: transparent !important;
}

#header #edit-submit {
    width: 100%;
    height: 100%;
}


/* Header icones */
.user_links {
    display: flex;
    align-items: end;
    position: relative;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: auto 25px;
    transition: all ease 0.3s;
    /* padding-left: 35px; */
}



/* Header icone favoris */
#favorisHeader {
    /* padding-left: 40px; */
    background-image: url('../img/header/wishlist.png');
}



/* Header icone Search */
#header #searchHeaderBtn {
    cursor: pointer;
    padding-left: 40px;
    background-image: url('../img/header/Icon-menu05.svg');
}

/* Header icone compte */
#header #compteHeader {
    background-image: url('../img/header/user-white.png');
}




/* Header icone panier */
#header #panierHeader {
    background-image: url('../img/header/cart-white.png');
}



@media screen and (max-width: 640px) {

    #header #searchHeaderBtn,
    #header #loupeHeader,
    #favorisHeader,
    #header #compteHeader,
    #header #panierHeader {
        height: 25px;
        background-size: auto 25px;
    }

}

#header #panierHeader.cart_link::after {
    content: attr(data-cart-qty);
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 20px;
    height: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #FFFFFF;
    border-radius: 25px;
}
@media screen and (max-width: 1280px) {
    .page-container {
        flex-direction: column;
    }
    .header-top {
        display: none;
    }
    #page {
        position: relative;
        max-width: 100%;
        z-index: 10;
    }
    body:not(.home) .header-search-btn {
        display: none;
    }
    body:not(.home) .header-menu-btn {
        display: block;
    }
    .header-bottom-div {
        padding: 20px 0;
    }
    .header-bottom {
        position: absolute;
        background: #F9F9F9;
        top: 100%;
        left: -100%;
        transition: all 0.3s;
    }
    .mobile-logo {
        max-width: 200px;
    }
    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        padding: 10px 20px;
        align-items: center;
        gap: 20px;
    }
    #mobileMenuButton,
    #mobileSearchbtn {
        cursor: pointer;
    }
    .menuMobileOpen .header-bottom {
        left: 0;
    }
    .header-menu-btn {
        display: flex;
        justify-content: center;
        padding: 30px 20px 10px;
    }
    body:not(.home) .header-search {
        display: none;
    }
    body:not(.home) .searchMobileOpen .header-search {
        display: block;
    }
      .header-search .header-search-container {
        justify-content: center;
    }
    body.home .banner-header-img {
        object-fit: cover;
        height: 100%;
        object-position: 0;
        width: 100%;
    }
    body.home .header-search-container #searchForm .search-input {
        display: none;
    }
    body.home .header-search-container {
        flex-direction: column;
        padding: 20px;
        width: 80%;
        margin-left: auto;
        align-items: end;
        gap: 0 !important;
    }
    .header-search-btn .button.buttonConversion {
        padding: 15px 20px;
        font-size: 14px;
    }
    .header-br {
        display: block;
    }
    .searchMobile {
        top: -100%;
        background: #f9f9f9;
        display: block;
        transition: all ease .3s;

    }
    .searchMobileOpen .searchMobile {
        top: 68px;
    }
    .searchMobile #searchForm {
        padding: 20px !important;
    }
    .searchMobile #searchForm .rounded-full {
        border-color: #1560BD;
        background: #fff;
    }
    .searchMobile svg path {
        stroke: #1560BD;
    }
}
@media screen and (max-width: 767px) {
    body.home .header-search {
        height: 160px;
    }
    .header-search-container h1 {
        font-size: 20px !important;
        line-height: 26px !important;
        text-align: end;
    }
}
@media screen and (max-width: 900px) {
    body.home .header-search {
        height: 160px;
    }
    .header-search-container h1 {
        font-size: 20px !important;
        line-height: 26px !important;
        text-align: end;
    }
    /* Header région (logo) */
    #header #region_header #block-identitedusite {
        padding: 0 30px;
        margin: 0 auto;
    }

    /* Header région (megamenu) */
    /* Header Recherche */
    /* Header icone loupe */
    #header #region_header #block-megamenuaveccategories,
    #header #searchHeader,
    #header #loupeHeader {
        display: none;
    }

}

/* BURGER */
#header #menuBurger .hamburger {
    position: relative;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
}

.layout-container #menuBurger .hamburger,
.layout-container-other #menuBurger .hamburger {
    background-image: url(../img/header/burger-menu.png);
}

.layout-container.openBurger #menuBurger .hamburger,
.layout-container-other.openBurger #menuBurger .hamburger {
    background-image: url(../img/header/close.png);
}

/* PRE-HEADER mobile */
.layout-container.openBurger #pre-header,
.layout-container-other.openBurger #pre-header {
    position: fixed;
    width: 100%;
}

/* HEADER mobile */
.layout-container.openBurger #header,
.layout-container-other.openBurger #header {
    position: fixed;
    width: 100%;
    top: 0;
}

/* MENU BURGER */
#menuBurgerContent {
    top: -1000px;
    left: 0;
    padding: 95px 0 50px 0;
    overflow-y: auto;
    transition: all ease 0.3s;
    z-index: 998;
}

.layout-container.openBurger #menuBurgerContent,
.layout-container-other.openBurger #menuBurgerContent {
    background-color: var(--color-font);
    top: 50px;
    padding: 30px;
}

/* Header région (logo) */
#menuBurgerContent #region_header #block-identitedusite {
    display: none;
}


/* Header Recherche Mobile */
#menuBurgerContent #searchHeaderMobile form {
    width: 100%;
    margin-top: 30px;
}

.touchevents #menuBurgerContent #searchHeaderMobile form input {
    -webkit-appearance: none !important;
}

.d-flex {
    display: flex !important;
}

.d-block {
    display: block !important;
}

.hidden-mobile {
    display: inherit !important;
}

.hidden-desktop {
    display: none !important;
}

.chevron-left {
    transform: rotate(180deg);
}

.chevron-menu {
    width: 15px;
    margin-left: auto;
    transition: all ease 0.3s;
    transform: rotate(0deg);
}

.chevron-menu.open {
    transform: rotate(90deg);
}

.menuBurgerBottom {
    padding: 0 30px;
}

@media screen and (max-width: 900px) {
    #header .user_links .user_links_name {
        display: none;
    }

    .hidden-mobile {
        display: none !important;
    }

    .hidden-desktop {
        display: inherit !important;
    }



    .menu_level_2 {
        position: fixed;
        height: calc(100vh - 90px);
        width: 100%;
        background: #fff;
        top: 90px;
        left: 100%;
        display: block;
        transition: all ease 0.3s;
        padding: 0 30px 30px;
        overflow: auto;
        z-index: 1;
    }

    .open .menu_level_2 {
        left: 0;
    }

    .menu-hidden {
        display: none;
    }

    #header #panierHeader.cart_link::after {
        font-size: 13px;
    }



}

.parent-title{
    width: 222px;
    height: 42px;
    background: var(--color-secondary, 0.5);
    color: black;
}
.parent-title div {
    margin: 11px 19px;
}
.parent-title-tous {
    margin: 11px;
    color: black;
}
.border-b-secondaire,hover-border-b-secondaire:hover,hover-border-b-secondaire:active,hover-border-b-secondaire:focus {
    border-bottom: 4px solid #E6D8CF;
}
.h-auto{
    height: auto;
}
.menu_item_children a{
    height: 20px;
}
.text-dark {
    margin-left: 6px;
}
.main-category {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    text-transform: uppercase;
}
/* Menu !frontPage */
#header-menu-otherpage {
    padding-top: 48px;

}

@media screen and (max-width: 900px) {
    #header-menu-otherpage {
        display: none;
    }
}

/*SEARCH CONTAINER*/
body.home .header-search .banner-header-img,
body.home .header-search-container h1 {
	display: block;
}
body.home .header-search-container {
	display: flex;
	gap: 10%;
	background: none;
	height: 100%;
	justify-content: end;
}
body.home .header-search-container #searchForm {
	max-width: 680px;
}
.header-search-container h1 {
	font-family: "Poppins", sans-serif;
	font-weight: 500;
	font-size: 42px;
	line-height: 55px;
	margin-bottom: 20px;
}
.header-search-container #searchForm div {
    background-color: #fff;
    border: 1px solid #1560BD;
    width: 100%;
}
.header-search-container #searchForm div svg path {
	stroke: #1560BD;
}
.header-search-container {
    display: flex;
    justify-content: space-between;
    padding: 30px 50px;
    align-items: center;
    background: #F9F9F9;
}
.header-search-container #searchForm {
    width: 100%;
    max-width: 670px;
}
body:not(.home) .header-search-container .button {
	font-size: 14px;
	font-weight: 300;
	padding: 15px 40px 15px 40px;
}
body.home .header-absolute-box {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.header-search-container h1 {
    text-shadow: -1px -1px 0 #fff989, 1px -1px 0 #fff988, -1px 1px 0 #fff989, 1px 1px 0 #fff989;
    font-weight: 600;
}
.header-top .site-logo {
	max-width: 130px;
	margin: auto;
}

@media screen and (max-width: 767px) {
    .menuMobileOpen .header-bottom {
        width: 100%;
        overflow: scroll;
        height: 100dvh;
    }
    body.menuMobileOpen {
        overflow: hidden;
    }
    .header-bottom-div ul {
        height: calc(100dvh + 40px);
      }
}
@media screen and (max-width: 500px) {
    .mobile-logo {
        max-width: 75px;
    }
    .home-subtitle {
        margin-bottom: 0 !important;
        line-height: 140% !important;
    }
}