/*
--------------------------------------
Style général overlay
--------------------------------------
*/

@media (max-width: 1199px) {

    .overlay-global-except-header {
        position         : fixed;
        top              : 0;
        z-index          : 2;
        width            : 100%;
        height           : 100vh;
        background       : rgba(0, 0, 0, 0);
        pointer-events   : none;
        transition       : all 0.3s ease-out 0.2s;
        transform        : scaleY(0);
        transform-origin : top;
    }

    .overlay-global-except-header--is-show {
        transition     : all 0.3s ease-out;
        pointer-events : all;
        transform      : scaleY(1);
        background     : rgba(0, 0, 0, .4);
    }

    .header-bg{
        display: none;
    }
    .slogan-shop
    {
        display: none;
    }
    header.main-header{
        /*background-color: #1A1A1A;*/
        grid-template-columns: 27.5% 35% 27.5%;
        padding-top: 10px;
    }
    .close-search-trigger{
        display: none;
    }
    .header-search-container {
        display: none;
    }
    .header-about{
        display: none;
    }
    .header-account-cart a {
        padding: 0 10px;
    }
    header .header-logo {
        grid-column: 2;
        display: flex;
        flex-direction: column;
    }
    header .header-burger {
        grid-column: 1;
    }
    header .header-actions {
        grid-column: 3;
    }
    .header-account-cart{
        background: transparent;
    }
    .header-search{
        margin-top: 15px;
    }
    header .header-logo{
        display: flex;
        align-items: center;
    }
    .header-burger svg {
        fill: var(--secondary-color);
    }
    header .bwa-menu__close {
        background-color: #1A1A1A;
    }
    #header .bwa-menu__top__wrapper .bwa-menu__link-title[data-depth="0"]{
        color: #1A1A1A;
    }
    .header-actions-footer__search .material-icons{
       font-size: 35px;
    }
    .main-header .link-icon svg {
        color: var(--secondary-color);
    }
}


@media (min-width : 1200px) {
    .header-actions .link-icon__text {
        display : block;
        color: var(--secondary-color);
    }

    .main-header a:hover {
        color: #ce3f58;
    }
    .header-account-cart a {
        padding: 0 26px;
    }
    .header-cover-category
    {
        margin-top: 40px;
    }

}
@media (min-width : 1400px) {
    .header-account-cart a {
        padding: 0 30px;
    }
}
@media (max-width : 560px) {
    label.cover-category-name {
        font-size : 20px;
    }
}

@media (max-width: 768px){
    #header {
        height : 120px !important;
    }
    img.logo_pitlegend
    {
        height: 50px;
    }
    .text-presentation
    {
        display: none;
    }

}

@media (max-width: 1200px){
    .header-account-cart, .header-search {
       margin: auto!important;
    }
    #header {
        padding: 0 5%;
        height : 120px !important;
        display: flex;
        align-items: center;
    }

    .logo-shop{
        position: unset;
        transform: unset;
    }
    .link-icon {
        background-color: unset;

    }
    .create-element-svg
    {
        display: none;
    }

}

@media (min-width: 768px){

    #header {
        height : 120px !important;
        background-color: white;
    }
}
@media (max-width: 990px) {
    label.header-name_shop {
        font-size : 1em;
    }
}

@media (max-width: 300px) {
    .h1, h1
    {
        font-size: 1rem;
    }
    label.header-name_shop {
        font-size : .6em;
    }
    .header-burger svg
    {
        height: 20px;
    }
    svg#user, svg#bag
    {
        width: 15px;
    }
}
@media (min-width: 301px) and (max-width: 301px)  {
    label.header-name_shop {
        font-size : 1em;
    }
}
