﻿
section.header {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background: var(--MAIN-COLOR-LIGHT);
    position: sticky;
    top: 0;
    z-index: 250;
}

a.search-links span {
    color: var(--MAIN-COLOR);
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration-line: none;
    padding-left: 5px;
}

.header-filter a:hover {
    color: var(--MAIN-COLOR);
}

.header-top {
    display: flex;
    width: 100%;
    align-self: stretch;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
}
}

.header-top-title{
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-title a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-top-title a .title-oi {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

.header-top-title .classementOi {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 30px;
}

.header-top-title .classementOi i {
   color: var(--Colors-BE-NOIR, #000);
    display: flex;
    gap: 2px;
    font-size: 14px;
}

/* Labels Classement */

.labelsOI {
    display: flex;
    align-items: start;
    gap: 16px;
    width: 100%;
}

.labelsOI.labelsOI-mobile {
    display: none;
}

.labelsOI img {
    display: flex;
    height: 38px;
    filter: grayscale(100%);
}

.header-top-rightLink {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
}

.header-top-rightLink img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 30;
}

.wrap-header {
    display: flex;
    justify-content: space-between;
    max-width: 1512px;
    padding: 16px 48px;
    margin: 0 auto;
    width: 100%;
}

.header-filter {
    display: flex;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    gap: 80px;
    background: #FFF;
    box-sizing: border-box;
}

a.header-filter-backlink span {
   color: var(--Colors-BE-NOIR, #000);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.wrap-header-filter {
    display: flex;
    gap: 40px;
    position: relative;
}

.wrap-header-filter a {
    color: var(--color-black);
}

.header-filter a {
    text-decoration: none;
    text-transform: uppercase;
}

.header-filter .active {
    color: var(--MAIN-COLOR);
}

.header-filter a {
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    align-items: center
}

.wrap-header-filter img {
    width: 20px;
    height:20px;
    object-fit: cover;
}

.menu-burger-mobile {
    display: none;
}

section.header a {
    text-decoration: none;
}

a.search-links {
    display: flex;
    text-align: center;
    align-items: center;
}

a.search-links span:last-child {
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.cart-links i, .search-links i {
    color: var(--MAIN-COLOR);
    display: flex;
    align-items:center;
    font-weight: bold;
    font-size: 20px;
}

.cart-links {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    color: var(--MAIN-COLOR);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 16px;
    font-weight: bold;
    display: none;
}

/* Afficher le compteur lorsque le nombre est supérieur à 0 */
.cart-count.show {
    display: inline-block;
}

/* Menu Lang */

.bloc-lang.active {
    display: flex;
}
.bloc-lang {
    display: none;
    flex-wrap: wrap;
    width: 134px;
    flex-shrink: 0;
    border-radius: 5px;
    background: var(--color-white);
    padding-bottom: 5px;
    position: absolute;
    top: 50px;
    padding: 10px 10px 0 10px;
    z-index: 10;
}
.item-lang:nth-child(2n) {
    margin: 0 0 10px 0;
}
.item-lang {
    display: flex;
    width: 50px;
    height: 34px;
    margin: 0 10px 10px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    background: var(--color-white);
    cursor: pointer;
}
.item-lang a {
    width: 50px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-black);
}
.item-lang a:hover, .item-lang.active {
    border-radius: 5px;
    border-width: 0.25px;
    border-style: solid;
    border-color: var(--MAIN-COLOR);
    background: var(--MAIN-COLOR-LIGHT);
    color: var(--MAIN-COLOR);
}
.item-lang a:hover span, .item-lang a.active span {
    color: var(--MAIN-COLOR);
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.item-lang span {
    color: var(--color-black);
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ACTIVITY Lang */

.header-activity .item-lang a:hover, .header-activity .item-lang.active {
    border-radius: 5px;
    border-width: 0.25px;
    border-style: solid;
    border-color: var(--MAIN-COLOR);
    background: var(--MAIN-COLOR-LIGHT);
    color: var(--MAIN-COLOR);
}

.item-lang a:hover span, .item-lang a.active span {
    color: var(--MAIN-COLOR);
    text-align: center;
    font-family: Inter;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Icône burger */
.burger-icon span {
    display: block;
    width: 35px;
    height: 5px;
    background-color: black;
    margin: 6px 0;
}

.fake-price {
    color: #A8A8A8;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 200;
    line-height: normal;
}

.wrap-OiAdress {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.wrap-OiAdress .OiAdress span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.wrap-OiAdress a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--Colors-BE-NOIR, #000);
}

.wrap-OiAdress a span {
    color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

.wrap_ss_menu_mobile {
    display: none;
}

.dropdown-menu-devises {
    display: none;
    flex-wrap: wrap;
    width: 140px;
    flex-shrink: 0;
    border-radius: 5px;
    background: var(--color-white);
    padding-bottom: 5px;
    position: absolute;
    top: 50px;
    right: 50px;
    padding: 10px 10px 0 10px;
    z-index: 200;
}

.dropdown-menu-devises li a {
    display: flex;
    width: 50px;
    height: 34px;
    margin: 0 10px 10px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 5px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    background: var(--color-white);
    cursor: pointer;
    color: var(--Colors-BE-NOIR, #000);
}

.dropdown-menu-devises li a:hover, .dropdown-menu-devises li a.active {
    background: var(--MAIN-COLOR-LIGHT);
    color: var(--MAIN-COLOR);
}

.dropdown-menu-devises.active {
    display: flex;
}


/*RESPONSIVE*/

@media (min-width: 1025px) and (max-width: 1512px) {

    .header-filter {
        padding: 20px;
    }

        .header-filter a, .header-filter a.header-filter-backlink span {
            font-size: 14px;
        }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .wrap-form-cart .bloc-form-cart {
        gap: 24px;
    }

    .wrap-header {
        padding: 16px;
    }

    .header-top-title a .title-oi {
        font-size: 16px;
        font-weight: 600;
    }

    .header-top-title .classementOi i {
        font-size: 10px;
    }

    .header-top-rightLink {
        gap: 16px;
    }

    .cart-links i, .search-links i {
        font-size: 14px;
    }

    a.search-links span {
        font-size: 16px;
    }

    .header-top-title .title-oi {
        font-size: 24px;
    }

    .header-filter a, .header-filter a.header-filter-backlink span {
        font-size: 14px;
        font-weight: bold;
    }
}

@media (max-width: 768px) {

    .header-top-title a .title-oi {
        font-size: 14px;
        font-weight: 600;
        flex-wrap: wrap;
    }

    .header-top-title .classementOi i {
        font-size: 10px;
    }

    .wrap-OiAdress {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .wrap-OiAdress .OiAdress span {
        font-size: 12px;
    }

    .wrap-OiAdress a span {
        font-size: 12px;
        font-weight: 600;
    }

    main.pb-3 {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .wrap-header-filter {
        display: flex;
        align-items: center;
        gap: 20px;
        flex: 1 0 0;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .wrap-header-filter::-webkit-scrollbar {
            display: block;
        }

    .header-filter a {
        font-size: 12px;
        white-space: nowrap;
    }

    nav.header-filter {
        display: block;
        padding: 15px 10px;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
    }

        nav.header-filter.active {
            display: flex;
            overflow-x: auto;
            overflow-y: hidden;
            overflow: auto hidden;
            overscroll-behavior: contain;
            scroll-behavior: smooth;
            scrollbar-width: none;
        }

    .wrap-header {
        position: relative;
        display: flex;
        /*flex-direction: column;*/
        gap: 16px;
        padding: 0;
    }

    .header .header-top-title span.title-oi {
        font-size: 22px;
        font-weight: 600;
    }

    .header-top-rightLink .search-links {
        display: none;
    }

    section.header .header-top {
        position: relative;
        display: flex;
        width: auto;
        justify-content: space-between;
        align-items: flex-end;
        align-self: stretch;
        flex-wrap: wrap;
        margin: 0;
    }

    a.header-filter-backlink span {
        color: var(--MAIN-COLOR);
        text-align: center;
        font-family: Inter;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .wrap-header-filter {
        position: relative;
        display: flex;
        left: auto;
    }

    .header-top-rightLink {
        display: flex;
        justify-content: space-between;
        align-self: stretch;
        width: 100%;
        position: relative;
    }

    a#openSidenav {
        position: absolute;
        left: 0;
    }

    a.search-links {
        display: block;
    }

    section.header {
        padding: 16px 20px;
        gap: 16px;
    }

    section.header.header-activity a.search-links span {
        padding-left: 0;
        font-size: 16px;
    }

    section.header .search-links i {
        display: none;
    }

    section.header .header-top-rightLink img {
        height: 20px;
    }

    .menu-burger-mobile {
        display: block;
        height: 20px;
        cursor: pointer;
    }

    .menu-burger-mobile i {
        display: block;
        font-size: 20px;
        font-weight: bold;
        color: var(--MAIN-COLOR);
    }

    .search-links.chooseLang {
        display: none;
    }

    a.search-links span:last-child {
        font-size: 14px;
    }

    .header-top-title a {
        justify-content: center;
    }

    /* ssMenu Mobile */
    .wrap_ss_menu_mobile {
        display: none;
        flex-direction: column;
        background: var(--MAIN-COLOR-LIGHT);
        align-self: stretch;
    }

    .wrap_ss_menu_mobile.active {
        display: flex;
    }

    .ss_menu_mobile {
        display: flex;
        gap: 12px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        align-self: stretch;
    }

    .ss_menu_mobile a {
        display: flex;
        align-self: flex-end;
    }

    .ss_menu_mobile span {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
    }

    /* Logos dans bloc offre */
    .labelsOI.labelsOI-mobile {
        display: inherit;
    }
    .labelsOI.labelsOI-desk {
        display: none;
    }
}




