.pix-site-header {
    position: relative;
    padding: 0;
}

.pix-wrapper-header {
    position: relative;
    z-index: 1000;

    /* Taille de référence */
    font-size: 20px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pix-bandeau-fullwidth-loaded .pix-wrapper-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}



.pix-wrapper-header-logo {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.pix-wrapper-header-logo-inner {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}


.pix-wrapper-logo {}

a.pix-logo {
    position: relative;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 1em 0 0 1em;
    vertical-align: top;
}

a.pix-logo img {
    vertical-align: top;
    width: 9.75em;
}


.pix-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1em 1em 0 0;
    gap: 1.3em;
}




.pix-burger-btn{
    position: relative;
    width: auto;
    background: linear-gradient(to right, #01568A, #16645A);
    border: none;
    cursor: pointer;
    z-index: 10000;
    border-radius: 500px;
    padding: 0.8em 1.2em;
    display: flex;
    flex-direction: row;
    transition: background 0.2s ease;
    touch-action: manipulation;
}
.pix-burger-text {
    color: #fff;
    font-family: "PT Serif", serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.3em;
}
.pix-burger-icon {
    position: relative;
    width: 2em;
}
 .pix-burger-btn .line{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    display: inline-block;
    width: 1.3em;
    height: 0.15em;
    background-color: #fff;
    border-radius: 10px;

    transition: transform 0.3s ease;
}

.pix-site-header.open .pix-wrapper-header {
    z-index: auto;
}

.pix-burger-btn .line:first-child{
    transform: translate(-50%, -0.5em); /* 8px + 2px de la hauteur*/
}
.pix-burger-btn .line:last-child{
    transform: translate(-50%, 0.35em);
}
.pix-site-header.open .pix-burger-btn .line:first-child{
    transform: translate(-50%, -50%) rotate(45deg);
}
.pix-site-header.open .pix-burger-btn .line:nth-child(2){
    transform: translate(-50%, -50%) scaleX(0);
}
.pix-site-header.open .pix-burger-btn .line:last-child{
    transform: translate(-50%, -50%) rotate(-45deg);
}


.wrapper-header-shop-actions {
    display: flex;
    flex-direction: row;
    background-color: #F4F1EA;
    border-radius: 500px;
    padding-inline: 0.8em;
}
.wrapper-header-shop-actions a {
    padding: 0.9em;
}
.wrapper-header-shop-actions img {
    vertical-align: top;
    width: 1.6em;
}


.pix-header-right .cart-customlocation {
    position: relative;
}
.pix-header-right .cart-customlocation .cart-count {
    position: absolute;
    top: 1em;
    right: 0;
    background: #0074A8;
    border: 2px solid #F4F1EA;
    border-radius: 50px;
    font-variant-numeric: tabular-nums;
    color: #fff;
    min-width: calc(1lh + 4px);
    text-align: center;
    font-size: 0.8em;
    padding-inline: 0.2em;
}


.pix-site-navigation {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: block;

    background: #F4F1EA;
    opacity: 0;
    transform: translateX(100%);

    font-size: 1.5em;
}

.pix-site-navigation>div {
    height: 100%;
}

.pix-site-navigation ul {
    list-style: none;
}

.pix-wrapper-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: max-content;
    margin-left: auto;
    padding: 15px 0 15px 0;
    overflow: auto;
    width: 100%;
    margin: 0;
    list-style: none;

    padding: 30px;
}

.pix-site-navigation a,
.pix-site-navigation ul ul a {
    color: #000;
    text-align: center;
    text-transform: uppercase;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    display: inline-block;
    padding: 0.4em 0.6em 0.4em 0.6em;
    white-space: break-spaces;
    /* width: 100%; */
}

.pix-site-navigation ul>li {
    text-align: center;
}

.pix-site-navigation ul li ul {
    display: none;
    transform: none;
    padding-left: 10px;
    background: transparent;
    box-shadow: none;
    position: relative;
    top: auto;
    left: auto;
    list-style: none;
    margin: 0;
    margin-top: -1px;
}

.pix-site-navigation ul li:hover>ul {
    display: none;
}

.pix-site-navigation ul li.open>ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pix-site-navigation ul ul a {
    text-align: center;
    font-weight: 300;
    font-size: 0.9em;
}

.menu-arrow-svg {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    vertical-align: -0.05em;

    background-color: #000;
    
    -webkit-mask-image: url('i/arrow.svg');
    mask-image: url('i/arrow.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;

    transform: translateX(50%) translateY(-1px) rotate(-90deg);
    margin: 0;
}


.menu-item-has-children.open .menu-arrow-svg {
    transform: translateX(50%) translateY(-1px) rotate(0deg);
}

.pix-site-header .pix-burger-btn {
    display: flex;
}

.pix-site-header.open .pix-site-navigation {
    transform: translateX(0) translateZ(0);
    opacity: 1;
}


.pix-site-header.open .pix-wrapper-menu > li {
    opacity: 0;
    animation: pix-menu-item-fade-in 0.4s ease forwards;
}

.pix-site-header.open .pix-wrapper-menu > li:nth-child(1) { animation-delay: 0.05s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(2) { animation-delay: 0.1s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(3) { animation-delay: 0.15s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(4) { animation-delay: 0.2s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(5) { animation-delay: 0.25s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(6) { animation-delay: 0.3s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(7) { animation-delay: 0.35s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(8) { animation-delay: 0.4s; }
.pix-site-header.open .pix-wrapper-menu > li:nth-child(n+9) { animation-delay: 0.45s; }


body.nav-open {
    height: 100dvh;
    overflow-y: hidden;
}


@keyframes pix-menu-item-fade-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pix-site-navigation ul ul li {
    max-width: 100%;
}


@media (max-width: 1200px) {
    .pix-wrapper-header {
        font-size: 18px;
    }
}

@media (max-width: 1000px) {
    .pix-wrapper-header {
        font-size: 16px;
    }
}

@media (max-width: 800px) {
    .pix-header-right {
        font-size: 0.8em;
    }
}

@media (max-width: 500px) {
    .pix-wrapper-header {
        font-size: 14px;
    }

    a.pix-logo {
        padding: 0.5em 0 0 0.5em;
    }
}