.layer-black {
    opacity: 0.5;
    z-index: 999;
    inset: 0px;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
}
.select-variations {
    width: 31.25rem;
    height: 100vh;
    z-index: 999;
    right: 0px;
    top: 0px;
    position: fixed;
    background-color: #FFF;
}
.cart-offcanvas--right{
    width: 31.25rem;
    max-width: 100vw;
    background-color: transparent;
}
.cart-offcanvas .cart--cart-offcanvas__close button{background-color: transparent;}
.cart-offcanvas.is-closed {
     visibility: inherit!important;
    transform: translateX(31.5rem);
}
.content-layer {
    height: 100%!important;
}
.content-layer >div {
    padding-top: 1.87rem;
    padding-left: 2.44rem;
    padding-right: 2.44rem;
}
.content-layer .title-sidebar{
    border-bottom: 1px solid rgb(0, 46, 75);
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.cart-offcanvas .content-layer .title-sidebar{
    border-color: rgb(217, 42, 51);
}
#variantSidebar 
.hidden-in-banner{
    display: none;
}
.cart-offcanvas .content-layer >div{
    padding-left: 0;
    padding-right: 0;
}
.cart-offcanvas .content-layer .header-sidebar-cart,.cart-offcanvas .content-layer .list-items-order,
.cart-offcanvas .content-layer .order-prices-line,.cart-offcanvas .content-layer .footer-cart-sidebar, 
.cart-offcanvas .content-layer .empty-cart{
    padding-left: 2.44rem;
    padding-right: 2.44rem;
}
.cart-offcanvas .content-layer .order-prices-line{
    padding-bottom: 1.22rem;
    row-gap: 0.75rem;
}
.cart-offcanvas .content-layer .order-prices-line >div:first-of-type{
    border-top: 1px solid #5D5F64;
    padding-top: 1.22rem;
    margin-top: 1.22rem;
}
.cart-offcanvas .content-layer .footer-cart-sidebar{
    background-color: #EDF0F4;
    padding-bottom: 1.22rem;
    padding-top: 0;
}
.bottom-total-cart{
    padding-top: 1.22rem;
    background-color: #EDF0F4;
}
.cart-offcanvas .content-layer .list-items-order{
    row-gap: 2rem
}
.cart-offcanvas .content-layer{
    overflow: auto;
}
.text-shipping-delay .uppercase{
    text-transform: uppercase;
}

.cart-canvas-medium .cart-offcanvas--right{
    max-height: 50%;
}
.cart-canvas-medium .cart-offcanvas{
    top: 25%;
    min-height: 50%;
    top: 0;
}
.header-present.cart-canvas-medium .cart-offcanvas{
    top: 140px;
}
.header-present .toolbar-horizontal.cart-canvas-medium .cart-offcanvas{
    top: 215px;
}
.header-present .toolbar-horizontal.toolbar-tray-open.cart-canvas-medium .cart-offcanvas{
    top: 255px;
}
.cart-canvas-medium .select-variations{
    max-height: 50vh;
}
.bottom-cart .cart--cart-offcanvas__close{
    margin-top: 0.94rem;
    margin-bottom: 0.94rem;
}
.cart--cart-offcanvas__close .show-more-action >svg{
    transform: rotate(180deg);
}
#shoppingCartContents{
    overflow-y: auto;
    overflow-x: hidden;
}
#shoppingCartContents .item-orders{
    gap: 17px;
    position: relative;
}
/*
#shoppingCartContents .item-orders::after {
    content: "";
    position: absolute;
    bottom: -1rem; 
    width: 100%;
    height: 1px;
    background-color: rgb(217, 42, 51);
}*/
#shoppingCartContents .part-description {
    row-gap: 1.13rem;
}
.bottom-sidebar-cart{
    height: calc(100% - 64px) !important;
}

.items-choice-quantity{
    border: 1px solid #6E7378;
    border-radius: 20px;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.change-quantity {
    text-align: center;
    padding: 0px 5px;
    cursor: pointer;
    display: flex;
    height: 20px;
    width: 30px;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.quantity-less{
    border-right: 1px solid #6E7378;
}
.quantity-more{
    border-left: 1px solid #6E7378;
}
.change-quantity:focus{
    background-color: transparent;
}
.change-quantity[disabled="disabled"], .change-quantity[disabled]{
    opacity: .3;
}
.icon-quantity {
    position: relative;
    width: 8px;
    height: 8px;
    display: inline-block;
}
.icon-quantity::before,
.icon-quantity::after {
  content: '';
  position: absolute;
  background-color: #6E7378;; /* Couleur des lignes */
}

/* Ligne horizontale (commune aux deux boutons) */
.icon-quantity::before {
  width: 100%; /* Taille de la barre horizontale */
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Ligne verticale (uniquement pour le bouton "plus") */
.icon-quantity.more::after {
  width: 2px; /* Largeur de la barre verticale */
  height: 100%; /* Taille de la barre verticale */
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* Couleur au survol */
.icon-quantity:hover {
  background-color: #fff; /* Couleur légèrement plus foncée */
}

.display-quantity {
    text-align: center;
    width: 30px;
    color: #6E7378;
}

.cart-loader{
    z-index: 999 !important;
    inset: 0px !important;
    position: fixed !important;
    justify-content: center;
    display: flex;
    align-items: center;
}
.cart-loader-background{
    background-color: rgb(255 255 255 / 1) !important;
    z-index: 10;
    position: absolute;
}
.inset-0{
    inset: 0;
}
.opacity-0{
    opacity: 0 !important;
}
.preloader-wrapper{
    position: relative;
}
.preloader-wrapper.active {
    -webkit-animation: container-rotate 1568ms linear infinite;
    animation: container-rotate 1568ms linear infinite;
}
.preloader-wrapper.small {
    width: 36px;
    height: 36px;
}
.active .spinner-layer{
    opacity: 1;
    -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
}
.spinner-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-color: #26a69a;
}
.circle-clipper {
    display: inline-block;
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}
.circle-clipper.left{
    float: left !important;
}
.circle-clipper.right{
    float: right !important;
}
.circle-clipper .circle {
    width: 200%;
    height: 100%;
    border-width: 3px;
    border-style: solid;
    border-color: inherit;
    border-bottom-color: transparent !important;
    border-radius: 50%;
    -webkit-animation: none;
    animation: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}
.circle-clipper.left .circle {
    left: 0;
    border-right-color: transparent !important;
    -webkit-transform: rotate(129deg);
    transform: rotate(129deg);
}
.circle-clipper.right .circle {
    left: -100%;
    border-left-color: transparent !important;
    -webkit-transform: rotate(-129deg);
    transform: rotate(-129deg);
}
.active .circle-clipper.left .circle {
    -webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}
.active .circle-clipper.right .circle {
    -webkit-animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both;
    animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both
}
.gap-patch {
    position: absolute;
    top: 0;
    left: 45%;
    width: 10%;
    height: 100%;
    overflow: hidden;
    border-color: inherit;
}
.gap-patch .circle {
    width: 1000%;
    left: -450%;
    border-radius: 50%;
}


.products-recommended{
    background-color: #EDF0F4;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.products-recommended >span{
    font-family: 'Interstate';
}
#personal-recs{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#personal-recs .rec-img{
    max-width: 50px;
}
#personal-recs .item-orders,
#personal-recs .part-description{
    gap: 10px;
}
#personal-recs .cart-item-title{
    font-size: 11px;
    line-height: 130%;
}
#personal-recs .cart-item-price{
    font-size: 14px;
    line-height: 100%;
    font-weight: 400;
    font-family: 'Interstate';
}
#personal-recs .cart-item-price.prix-barre-m{
    font-size: 10px;
    color: #6E7378;
}
#personal-recs .show-more-action{
    gap: 5px;
}
#shoppingCartContents .cart-link-image img{
    border-radius: 6px;
}
.cart-offcanvas .container-amount-free-shipping.text-shipping{
    margin: 0 2.44rem;
}
.cart-offcanvas .products-recommended{
    margin: 2.44rem;
    margin-bottom: 1rem;
}
#shoppingCartContents{
    max-height: fit-content;
    flex-grow: inherit;
    margin-top: 25px;
}
.cart-offcanvas .bottom-cart{
    flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.cart-offcanvas .top-bottom-cart{
    flex-grow: 1;
    padding-bottom: 1rem;
}
.cart-offcanvas .empty-cart .products-recommended {
    margin-left: 0;
    margin-right: 0;
}
#personal-recs .show-more-action{
    background: transparent!important;
}
@-webkit-keyframes fill-unfill-rotate {
    12.5% {
        -webkit-transform: rotate(135deg)
    }

    25% {
        -webkit-transform: rotate(270deg)
    }

    37.5% {
        -webkit-transform: rotate(405deg)
    }

    50% {
        -webkit-transform: rotate(540deg)
    }

    62.5% {
        -webkit-transform: rotate(675deg)
    }

    75% {
        -webkit-transform: rotate(810deg)
    }

    87.5% {
        -webkit-transform: rotate(945deg)
    }

    to {
        -webkit-transform: rotate(1080deg)
    }
}

@keyframes fill-unfill-rotate {
    12.5% {
        -webkit-transform: rotate(135deg);
        transform: rotate(135deg)
    }

    25% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg)
    }

    37.5% {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg)
    }

    50% {
        -webkit-transform: rotate(540deg);
        transform: rotate(540deg)
    }

    62.5% {
        -webkit-transform: rotate(675deg);
        transform: rotate(675deg)
    }

    75% {
        -webkit-transform: rotate(810deg);
        transform: rotate(810deg)
    }

    87.5% {
        -webkit-transform: rotate(945deg);
        transform: rotate(945deg)
    }

    to {
        -webkit-transform: rotate(1080deg);
        transform: rotate(1080deg)
    }
}
@-webkit-keyframes left-spin {
    from {
        -webkit-transform: rotate(130deg)
    }

    50% {
        -webkit-transform: rotate(-5deg)
    }

    to {
        -webkit-transform: rotate(130deg)
    }
}

@keyframes left-spin {
    from {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }

    50% {
        -webkit-transform: rotate(-5deg);
        transform: rotate(-5deg)
    }

    to {
        -webkit-transform: rotate(130deg);
        transform: rotate(130deg)
    }
}

@-webkit-keyframes right-spin {
    from {
        -webkit-transform: rotate(-130deg)
    }

    50% {
        -webkit-transform: rotate(5deg)
    }

    to {
        -webkit-transform: rotate(-130deg)
    }
}

@keyframes right-spin {
    from {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }

    50% {
        -webkit-transform: rotate(5deg);
        transform: rotate(5deg)
    }

    to {
        -webkit-transform: rotate(-130deg);
        transform: rotate(-130deg)
    }
}
@-webkit-keyframes container-rotate {
    to {
        -webkit-transform: rotate(360deg)
    }
}
@keyframes container-rotate {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
@media screen and (min-width: 1024px) {
}
@media (min-width: 100px) and (max-width: 1023px){
    .content-layer >div {
        padding: 1.56rem;
        padding-bottom: 0;
    }
    .cart-offcanvas .content-layer >div {
        padding-top: 1rem;
    }
    .cart-offcanvas .content-layer .header-sidebar-cart,.cart-offcanvas .content-layer .list-items-order,
    .cart-offcanvas .content-layer .order-prices-line,.cart-offcanvas .content-layer .footer-cart-sidebar, 
    .cart-offcanvas .content-layer .empty-cart{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .cart-offcanvas .container-amount-free-shipping.text-shipping{
        margin: 0 1rem;
        margin-bottom: 1rem;
    }
    .content-layer {
        height: 100dvh!important;
    }
    .cart-canvas-medium .content-layer {
        height: 70dvh!important;
    }
    .cart-canvas-medium .cart-offcanvas{
        min-height: 70%;
        max-height: 70%;
    }
    .cart-canvas-medium .select-variations {
        max-height: 70vh;
    }
    .content-layer .title-sidebar{
        margin-bottom: 10px;
    }
    #shoppingCartContents .cart-link-image img{
        max-height: 80px;
        width: 100%;
        max-width: 65px;
        height: 80px;
    }
    #shoppingCartContents .item-orders{
        gap: 15px;
    }
    .cart-offcanvas .content-layer .footer-cart-sidebar{
        padding: 0;
    }
    .cart-offcanvas .content-layer .footer-cart-sidebar .cta-btn{
        border-radius: 0;
        border-color: #002e4b;
    }
    .bottom-sidebar-cart{
        height: calc(100% - 49px) !important;
    }
    .bottom-total-cart{
        padding-top: .625rem;
    }
    #shoppingCartTotals .total-shipping{
        margin-top: .625rem;
        padding-top: .625rem;
    }
    #shoppingCartContents{
        margin-top: 0;
    }
    .cart-offcanvas .content-layer .order-prices-line{
        padding-bottom: .625rem;
    }
    .cart-offcanvas .products-recommended{
        margin: 1rem;
    }
    #shoppingCartContents{
        max-height: fit-content;
    }
    .top-sidebar-cart{
        overflow: auto;
        flex-grow: 1;
    }
    .top-sidebar-cart #shoppingCartContents .part-description{
        row-gap: 9px;
    }
}
@media screen and (min-width: 1023px) {
    .top-sidebar-cart{
        overflow: auto;
        height: 100%;
    }
	::-webkit-scrollbar {
		width: 4px;
		position: absolute
	}

	::-webkit-scrollbar-track {
		border-radius: 10px;
		background: #d7d7d76d
	}

	::-webkit-scrollbar-thumb {
		border-radius: 10px;
		background: rgb(0, 46, 75);
	}

	::-webkit-scrollbar-thumb:hover {
		border-radius: 10px;
		background: rgb(0, 46, 75);
	}
    body.overflow-hidden {
        margin-right: 4px!important;
    }
}

/* Animation pour glisser vers la droite et réduire l'opacité */
.slide-out {
    animation: slideOutRight 0.5s forwards; /* Animation de 0.5s */
  }
  
  @keyframes slideOutRight {
    0% {
      transform: translateX(0); /* Position initiale */
      opacity: 1; /* Entièrement visible */
    }
    100% {
      transform: translateX(100%); /* Glisse vers la droite */
      opacity: 0; /* Complètement transparent */
    }
  }

  @media screen and (min-width: 630px) and (max-width: 1024px) {
    .header-present .cart-canvas-medium .cart-offcanvas{
        top: 105px;
    }
    .header-present .toolbar-horizontal.cart-canvas-medium .cart-offcanvas{
        top: 180px;
    }
    .header-present .toolbar-horizontal.toolbar-tray-open.cart-canvas-medium .cart-offcanvas{
        top: 255px;
    }
  }
  @media screen and (max-width: 630px) {
    .header-present.cart-canvas-medium .cart-offcanvas {
        top: 100px;
    }
    .header-present .toolbar-vertical.cart-canvas-medium .cart-offcanvas{
        top: 210px;
    }
    .header-present .toolbar-horizontal.toolbar-tray-open.cart-canvas-medium .cart-offcanvas{
        top: 255px;
    }
    .items-choice-quantity {
        padding: 3px;
    }
  }

  @media screen and (max-width: 769px) {
    .cart-offcanvas--right >.select-variations{
        top: 80px;
        height: calc(100dvh - 80px);
    }
     .cart-offcanvas--right >.select-variations .content-layer{
        height: calc(100dvh - 80px) !important;
    }
  }