/*
--------------------------------------
Style généraux
--------------------------------------
*/
.bwa-menu__top__wrapper {
    --primary-color         : #000000;
    --primary-color-lighter : #5a5a5a;
    --primary-grey-color    : #e5e5e5;
}

/*
--------------------------------------
Style Burger
--------------------------------------
*/
#bwa-menu__burger {
    margin : 0 14px 0 8px;
    cursor : pointer;
    flex   : 0 0 auto;
}

/*
--------------------------------------
Style overlay
--------------------------------------
*/

.overlay_global {
    display        : none;
    position       : fixed;
    top            : 0;
    z-index        : 2;
    width          : 100%;
    height         : 100vh;
    background     : rgba(0, 0, 0, 0);
    pointer-events : none;
    transition     : all 0.4s;
}

/*.header-main__menu__wrapper:hover + .overlay_global,*/
.bwa-menu__top__wrapper.is--active + .overlay_global,
.overlay_global.is--active {
    background     : rgba(80, 80, 80, .5);
    pointer-events : all;
}

/*
--------------------------------------
Style top main menu General
--------------------------------------
*/

.bwa-menu__top__wrapper {
    position         : fixed;
    top              : 104px;
    left             : 0;
    bottom           : 0;

    max-height       : calc(100vh - 104px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index          : 6;
    background-color : white;

    width            : 100%;
    max-width        : 100%;
    transform        : translate3d(-100%, 0, 0);
    border-right     : none;
    transition       : all .4s;
}

.bwa-menu__top__wrapper.is--active {
    transform : translate3d(0, 0, 0);
}

.bwa-menu__top__wrapper .bwa-menu__top {
    display        : flex;
    flex-direction : column;
    margin         : 0 auto;
    position       : relative;
    padding-top: 25px;
    height:100%;
    background: white;
}

.bwa-menu__top__wrapper .bwa-menu__main-item {
    flex-grow     : 0;
}

#tab_initial, #tab_back {
    font-size       : 20px;
    font-weight     : 600;
    text-transform  : initial;
    border-bottom: 1px solid #E7E7E7;
    background      : white;
    padding         : 10px 13px 10px 20px!important;
    line-height     : 42px;
    color: #242425;
    display         : flex;
    justify-content : space-between;
    align-items     : center;

}

#tab_initial{
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: none;
}


.tab_back__container{
  padding: 10px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #000 !important;
  font-weight: 500;
}

.tab_back__container:hover {
  transform: translateX(-5px);
}

.bwa-menu__close{
  display: flex;
  margin-left: auto;
  padding: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.bwa-menu__close:hover{
  opacity: 0.8;
}

.bwa-menu__top__wrapper .gray-bg {
    background : #F2F2F4;
}

.bwa-menu__top__wrapper .mobile_only {
    position    : relative;
    display     : flex;
    align-items : center;
    padding     : 0;
}

.bwa-menu__top__wrapper .mobile_only:before {
    pointer-events : none;
    position       : absolute;
    left           : 20px;
}

/*#tab_mon_compte.mobile_only:before {*/
/*    content : url(/modules/bwamenu/views/assets/img/icon_login_top.png);*/
/*}*/

/*#tab_mon_panier.mobile_only:before {*/
/*    content : url(/modules/bwamenu/views/assets/img/icon_panier_top.png);*/
/*}*/

/*#tab_acces_pro.mobile_only:before {*/
/*    content : url(/modules/bwamenu/views/assets/img/icon_pros_top.png);*/
/*}*/

.bwa-menu__close.mobile_only {
    padding : 0 10px 0 10px;
    cursor  : pointer;
}

#tab_mon_compte.mobile_only > a,
#tab_mon_panier.mobile_only > a,
#tab_acces_pro.mobile_only > a {
    padding : 0 10px 0 20px;
}

.bwa-menu__top__wrapper .bwa-menu__sub-menu__title__wrapper,
.bwa-menu__top__wrapper .subMenu_title__wrapper {
    position        : relative;
    display         : flex;
    /*align-items     : center;*/
    justify-content : space-between;
}

.bwa-menu__top__wrapper .bwa-menu__link-title[data-depth="0"] {
    width           : 100%;
    display         : block;
    color           : #262626;
    text-transform  : initial;
    font-style      : normal;
    font-size       : calc(14px + (16 - 14) * ((100vw - 320px) / (1200 - 320)));
    text-decoration : none;
    font-weight     : 700;
    line-height     : 3em;
    padding         : 0 25px 0 25px;
}

.bwa-menu__top__wrapper .bwa-menu__main-item[data-depth="0"].rose .bwa-menu__link-title[data-depth="0"] {
    color : #ef1860;
    color : var(--primary-color);
}

.bwa-menu__top__wrapper .bwa-menu__title[data-depth="0"] {
    width           : 100%;
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    text-transform: uppercase!important;
}

.bwa-menu__top__wrapper .sub-menu__trigger {
    flex            : 0 0 40px;
    display         : flex;
    align-items     : center;
    justify-content : center;
    /*position        : absolute;*/
    /*height          : 100%;*/
    /*z-index         : 2;*/
    width           : 40px;
    top             : 0;
    right           : 0;
}

.bwa-menu__top__wrapper .sub-menu__trigger .plus-icon {
    color : black;
}

.bwa-menu__top__wrapper .bwa-menu__title__wrapper {
    position        : relative;
    display         : flex;
    /*align-items     : center;*/
    justify-content : space-between;
    width           : 100%;
    text-align      : left;
}

/*.bwa-menu__sub-menu__wrapper {*/
/*    height     : 0;*/
/*    overflow   : hidden;*/
/*    transition : all 0.3s;*/
/*}*/

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__wrapper{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: calc(100vh - 104px);
    max-height: calc(100vh - 104px);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
    background-color: #fff;
    width: 100%;
    max-width: 100%;
    transform: translate3d(100%, 0, 0);
    /*border-right: 1px solid #242425;*/
    transition: all .4s ease-out;
}

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__main-item.is--active>.bwa-menu__sub-menu__wrapper,
.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__item.is--active>.bwa-menu__sub-menu__wrapper
{
    transform: translate3d(0, 0, 0);
    height: calc(100vh + 100px) !important;
    max-height: calc(100vh + 100px) !important;
}

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__title__wrapper{
    display: flex!important;
    flex-direction: row;
    background: white!important;
    justify-content: space-between;
    padding: 0 10px 0 20px!important;
}

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__link-title,
.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__title {
    padding : 0 !important;
}

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__link-title:focus{
  text-decoration: none;
}

.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__title,
.bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__title{
    line-height: 2.75em;
    font-size: 18px;
    text-transform: initial;
    color: #000;
    font-weight: 600;
}

#tab_back{
  justify-content: flex-start;
  border-bottom: none
}

#tab_back>span,
#tab_back .bwa-menu__close{
  display: none;
}


.bwa-menu__top__wrapper[data-is-desktop='false'] .sub-menu__trigger svg:not(.mobile_only){
    display: none;
}

#tab_back svg .cls-1 {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3px;
}

.sub-menu__trigger svg{
    width: 16px;
}

.sub-menu__trigger svg .cls-1 {
    fill: none;
    stroke: black;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3px;
}

.bwa-menu__sub-menu {
    /*display : none;*/
    background : white;
}

.bwa-menu__top__wrapper .bwa-menu__sub-menu__link-title[data-depth="1"] {
    width          : 100%;
    display        : block;
    line-height    : 18px;
    font-weight    : 700;
    text-transform : initial;
    font-style     : normal;
    font-size      : 12px;
    padding        : 0 10px 0 20px;
}

.bwa-menu__top__wrapper .bwa-menu__sub-menu__title[data-depth="1"] {
    display   : block;
    font-size : 16px;
    font-weight: 500;
    padding   : 12px 5px 12px 0;
}

.bwa-menu__top__wrapper .bwa-menu__sub-menu__link-title[data-depth="2"] .bwa-menu__sub-menu__title__wrapper {
    background    : #e6e6e6;
    padding       : 12px 20px 12px 40px;
    border-bottom : 1px solid #fff;
    font-weight   : 700;
}

.see-all-btn__link{
  width: 100%;
  display: block;
  text-transform: initial;
  font-style: normal;
  padding: 0 10px 0 20px;
  line-height: 2.75em;
  margin-top: 5px;
  font-size: 16px !important;
  color: #242425 !important;
  font-weight: 600;
}

/*
--------------------------------------
Style menu bottom
--------------------------------------
*/
.menu__bottom {
    display         : flex;
    flex-wrap       : wrap;
    justify-content : center;
    padding         : 0 15px 5.86vh 15px;
}

.menu__bottom .menu__bottom__list-item {
    flex-grow     : 1;
    list-style    : none;
    padding-right : 15px;
}

.menu__bottom__list-item h4 {
    font-size     : 18px;
    line-height   : 1.5;
    margin-bottom : 8px;
    margin-top    : 10px;
}

.menu__bottom__list-item .bottom-menu__cat-list {
    margin : 0;
}

.menu__bottom__list-item .bottom-menu__cat-list a {
    color     : #a0a3a3;
    font-size : 11px;
}

.menu__bottom__list-item .link_see_all {
    font-family : Roboto-LightItalic, serif;
    font-size   : 11px;
}

.bwa-menu__main-item.highlighted-red .bwa-menu__title{
  color: #e40815;
}

.bwa-menu__main-item.highlighted-blue .bwa-menu__title{
  color: #004BD6;
}

.header-burger{
  z-index: 30;
}
#burger-icon {
  cursor: pointer;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, [col-start] 1fr);
  gap: 4px 0;
  width: 22px;
  transition: margin-bottom .35s ease;
}
.burger-icon span {
  display: block;
  height: 2.5px;
  width: 100%;
  grid-column: span 12;
  background: black;
  transition: all 0.3s ease;
}
#bwa-menu__burger.is--active .burger-icon span:nth-child(1) {
  transform: rotate(56deg) translate(5.5px, 3px) scale(0.8);
  height: 2.5px;
}
#bwa-menu__burger.is--active .burger-icon span:nth-child(2) {
  opacity: 0;
}
#bwa-menu__burger.is--active .burger-icon span:nth-child(3) {
  transform: rotate(-55deg) translate(5.5px, -3px) scale(0.8);
  height: 2.5px;
}
.menu-title {
  display: none;
  height: 20px;
  overflow-y: hidden;
}
.menu-title span {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: 0;
  display: block;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(.39, .575, .565, 1);
}
.menu-title span span:first-child {
  text-transform: uppercase;
}
#bwa-menu__burger.is--active .menu-title > span {
  transform: translateY(-47%);
}

#bwa-menu__burger{
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 95px;
  margin-left: 0;
  margin-right: 0;
  color: #000;
}

.header-actions-footer-menu{
  margin-top: auto;
  background-color: #F2F2F4;
  padding: 20px 25px 30px 25px;
}
.header-actions-footer-menu ul{
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.header-actions-footer-menu .bwa-menu__link-title[data-depth="0"]{
  padding: 0;
  line-height: 1;
  font-weight: 400;
  font-size: 16px;
}

.header-actions-footer-menu a {
  width           : 100%;
  height          : 100%;
  display         : flex;
  align-items     : center;
  justify-content : center;
  color           : #000;
}

.bwa-menu__top>:nth-last-child(2){
  margin-bottom: 35px;
}

@media (min-width: 1024px){
  .header-actions-footer-menu{
    padding: 40px 100px 40px 96px;
  }
  .menu-title{
    display: inline-block;
  }
  .overlay_global{
    display        : block;
  }
  .bwa-menu__top__wrapper{
    max-width: initial;
    overflow: visible;
    width: auto;
    height: calc(100% - 29px);
    background: white;
    border-right: 0;
    top: 29px;
  }
  .bwa-menu__top__wrapper .bwa-menu__top{
    max-width: 375px;
    width: 375px;
    background: white;
    margin-left: 0;
    border-right: 1px solid #CECECE;
    height: 100%;
  }
  .bwa-menu__main-item{
    padding: 0 3.85rem 0 67px;
  }
  .bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__wrapper{
    max-width: 375px;
    width: 375px;
    transform: translate3d(0, 0, 0);
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
    height: calc(100vh - 29px)!important;
    max-height: calc(100vh - 29px);
  }
  .bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__main-item.is--active>.bwa-menu__sub-menu__wrapper, .bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__item.is--active>.bwa-menu__sub-menu__wrapper{
    transform: translate3d(100%, 0, 0);
    pointer-events: all;
    visibility: visible;
  }
  .bwa-menu__top__wrapper[data-is-desktop='false'] .bwa-menu__sub-menu__item {
    padding: 0 20px 0 80px !important;
  }
  #tab_back, #tab_initial{
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    margin-bottom: 50px;
    display: flex;
  }

  .bwa-menu__link-title, .bwa-menu__sub-menu__link-title{
    position: relative;
  }
  .bwa-menu__main-item:not(.gray-bg) .bwa-menu__link-title::before, .bwa-menu__sub-menu__link-title::before {
    content: '';
    opacity: 0;
    width: 5px;
    height: 5px;
    background-color: #004BD6;
    border-radius: 50%;
    position: absolute;
    left: 1px;
    top: calc(50% - 2px);
    z-index: 1;
    transition: opacity 0.2s ease-in;
  }
  .bwa-menu__main-item .bwa-menu__link-title:hover::before, .bwa-menu__sub-menu__link-title:hover::before, .bwa-menu__main-item.is--active .bwa-menu__link-title::before {
    opacity: 1;
  }
  .bwa-menu__top__wrapper .sub-menu__trigger{
    opacity: 0;
  }
  .bwa-menu__top__wrapper .bwa-menu__main-item.is--active .sub-menu__trigger{
    opacity: 1;
  }
  .bwa-menu__top>li:last-of-type{
    margin-bottom: 60px;
  }
  .bwa-menu__top__wrapper .bwa-menu__sub-menu__title[data-depth="1"]{
    font-size: 16px;
  }
  .bwa-menu__top__wrapper{
    height: calc(100vh - 29px) !important;
    max-height: calc(100vh - 29px);
  }
}
