.sb-overlay {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 99;
  backdrop-filter: blur(1px);
  background-color: rgba(60, 46, 41, 0.52);
  cursor: pointer;
  /* INP: was toggled via jQuery fadeIn/fadeOut (JS-driven, blocks the main
     thread each frame). Now driven purely by CSS transition on opacity,
     handled by the compositor - the click handler just toggles a class. */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.sb-open {
  overflow: hidden;
}

.sb-open .sb-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.sb-open .sb-menu-right {
  -webkit-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
}

/* INP: promote to its own compositor layer ahead of time so the first
   click doesn't pay the layer-promotion cost synchronously. */
.sb-menu-right {
  will-change: transform;
  contain: layout style paint;
}

.sb-close-btn i {
  font-size: 18px;
}

.cart-preview .cart-title {
  padding: 25px 0;
  margin-bottom: 20px;
  text-align: center;
  /* background-color: #f4f4f4; */
  border-bottom: 1px solid #DECDB5;
}

.cart-preview .cart-title {
  margin-bottom: 0;
  /* text-transform: uppercase; */
  font-size: 24px;
  font-weight: 400;
  color: #343434;
  /* padding-top: 30px; */
  font-family: '"ITC Clearface Std",serif';
}

/* .cart-preview .cart-title h4::before {
  content: "";
  background: url('../img/panier.png') no-repeat  center top;
  width: 23px;
  height: 13px;
  background-size: contain;
  top: 24px;
  margin: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
} */
.cart-preview .cart-product-line {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  padding: 20px 0;
  margin: 0 20px;
  text-align: left;
  position: relative;
  /* border-bottom: 1px solid #f4f4f4; */
  align-items: center;
}

.cart-preview .cart-product-line::before {
  content: "";
  position: absolute;
  border-bottom: 1px solid #DECDB5;
  bottom: 0;
  width: 80%;
  left: 10%;
  height: 1px;
}

.cart-preview .cart-product-line:last-child::before {
  border-bottom: none;
}

.cart-preview .cart-product-line .product-image {
  width: 30%;
  /* border: 1px solid #f4f4f4; */
}

.cart-preview .cart-product-line .product-infos {
  width: 59%;
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.cart-preview .product-price {
  font-size: 1.5rem;
}

.cart-preview .cart-product-line .product-remove {
  /* align-self: flex-start; */
  width: 10%;
  text-align: right;
}

.cart-preview .product-image .img-fluid {
  max-width: 100%;
  height: auto;
}

.cart-preview .product-infos .product-name {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.cart-preview .product-remove i {
  font-size: 20px;
}

.cart-preview .product-infos .product-line-info {
  line-height: initial;
  font-size: 11px;
  color: #343434;
  margin-left: 0;
  display: flex;
  flex-direction: row;
}

.sb-menu-right .product-infos .product-line-info .label {
  color: #343434;
  font-size: 11px;
}

.cart-preview .product-infos .product-price {
  display: inline-block;
  margin-top: 15px;
  color: #343434;
}

.cart-preview .product-infos .product-quantity {
  display: inline-block;
  margin-left: 3px;
  font-size: 12px;
  font-weight: 400;
}

.cart-preview .cart-bottom {
  /*  padding: 20px;*/
  background-color: #fff;
  /* position: fixed; */
  width: 100%;
  border-top: 1px solid #DECDB5;
  border-bottom: 1px solid #DECDB5;
  bottom: 0;
}


.cart-subtotals {
  padding: 15px 20px 0 20px;
}

.cart-bottom hr {
  margin: 0;
  padding: 0;
  height: 16px;
}

.cart-preview .cart-bottom .total-line {
  /*  padding: 0 20px;*/
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.cart-preview .cart-bottom .total-line.shipping {
  padding: 0;
}

.cart-bottom .total-line span {
  width: 50%;
  font-size: 14px;
  font-weight: 400;
  color: #343434;
}

.cart-bottom .total-line .label {
  text-align: left;
}

.cart-bottom .total-line .value {
  text-align: right;
}

.cart-bottom .cart-total .label {
  text-transform: uppercase;
}

.cart-bottom .cart-total .value {
  font-size: 20px;
}

.cart-preview .cart-action {
  padding: 20px;
}

.cart-preview .cart-action .btn-primary {
  width: 100%;
  margin-top: 10px;
}

.cart-preview .no-items {
  text-align: center;
}

.moult .cart-product-line {
  padding: 10px 0;
  margin: 0 5px;
}

.moult .cart-product-line .product-image {
  width: 22%;
}

.moult .cart-product-line .product-name {
  font-size: 12px;
  line-height: 16px;
}

.moult .cart-product-line .product-price {
  margin-top: 0;
}

.livraison_b {
  font-size: 13px;
  text-align: center;
  margin: 10px;
  padding: 10px;
  display: flex;
  background-color: #f7f2e9;
  justify-content: center;
  flex-wrap: wrap;
}

.livraison {
  padding: 20px;
}

.plusque {

  padding: 5px;
  margin-bottom: 5px;
}

.bravo {
  background-color: #eff5e6;
}

.bravo {
  #pourcent_bar_block {
    display: none;
  }
}

#pourcent_bar_block {
  width: 90%;
  display: flex;
  justify-content: start;
  height: 4px;
  border-radius: 5px;
  background-color: #b1a795;

}

#pourcent_bar {
  background-color: #a3d4c4;
  max-width: 100%;
  height: 4px;
  border-radius: 5px;
  width: 50%;
}

a#achat_super {
  background: inherit;
  padding: 15px 5px;
  width: 100%;
  height: auto;
  text-align: center;
  color: #343434;
  font-size: 1.4rem;
  font-weight: bold;
  /* box-shadow: 0 1px 3px rgba(248, 190, 169, .56); */
  border-radius: 1px;
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 0;
  border: none;
  outline: none;
  text-align: center;
  box-shadow: none;
}

#achat_super::after {
  content: '';
  position: absolute;
  transition: transform 0.45s cubic-bezier(.785, .135, .15, .86);
  transform-origin: left center;
  background-color: #F7D588;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transform: scale(1, 1);
}

#achat_super::before {
  content: '';
  position: absolute;
  transform-origin: left center;
  background-color: #f5cf78;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transform: scale(1, 1);
}

#achat_super:hover {
  background: inherit;
  color: #343434;
}

#achat_super:hover::after {
  transform-origin: right center;
  transform: scale(0, 1);
}

#achat_ghost {
  text-transform: uppercase;
  font-size: 1.4rem;
  background-color: inherit;
  outline: 1px solid #343434;
  outline-offset: -1px;
  padding: 15px 5px;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  color: #343434;
  display: flex;
  z-index: 0;
  transition: all 0.45s ease;
  transition-delay: 0.2s;
  justify-content: center;
  box-shadow: none;
}

/** {
  box-sizing: border-box;
}
*/
#achat_ghost::after {
  content: '';
  position: absolute;
  transition: transform 0.45s cubic-bezier(.785, .135, .15, .86);
  transform-origin: right center;
  background-color: #343434;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transform: scale(0, 1);
}

#achat_ghost:hover {
  background-url: none;
  color: #fff !important;
}

#achat_ghost:hover::after {
  transform-origin: left center;
  transform: scale(1, 1);
}

.cart-product-line {
  justify-content: space-between;
}

#secu_cart {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

#secu_picto {
  background: url('../img/logout.svg') no-repeat center left;
  width: 130px;
  height: 20px;
  background-size: contain;
  font-size: 11px;
  padding-left: 25px;
  display: flex;
  align-items: center;
  opacity: 0.5;
  font-weight: bold;
}

#payment_secu {
  background: url('../img/payment_secu.jpg') no-repeat center top;
  width: 80px;
  height: 20px;
  background-size: contain;
}


#swip_cross {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 10px;
  padding-left: 10px;
}

#swip_cross .swiper-pagination{
  position: relative;
}

#swip_cross .swip_cross{
    margin-top: 5px;
    position: relative;
}

.cart-cross-sell {
  padding: 15px 0 0 0;
  background-color: #fcf8ef;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.cross-sell-items {
  display: flex;
  flex-direction: row;
  padding: 12px 0 18px 0;
  height: auto !important;

}

.cart-cross-sell h4 {
  width: 100%;
  padding: 0px 20px;
  margin: 0;
  font-size: 1.3rem;
}

.cart-total.total-line {
  padding: 5px 20px;
}

.cross-sell-product {
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
  background-color: #fff;
  padding: 5px 15px 5px 5px;
  flex-shrink: 0;
  box-shadow: 0 23px 46px 0 rgba(144, 103, 103, .11);
  flex-wrap: nowrap;

}

.cross-sell-product.cosmetique {
  background: linear-gradient(90deg, rgb(245, 230, 224) 0%, rgb(255, 255, 255) 30%);
}


.cross-sell-items .product-infos {}

.cross-sell-product.sante {
  background: linear-gradient(90deg, #eff5e6 0%, white 30%);

}

/*.cross-sell-product a.product-name {
  font-size: 1.2rem;
}
*/
.cross-sell-product .attribute {
  font-size: 1.1rem;
}

.cross-sell-product .label {
  font-size: 1.1rem;
}

.cross-sell-product .super_btn {
  font-size: 1.1rem;
  padding: 6px 15px !important;
  min-width: auto;
  margin: 0;
  width: auto;
  
}

.cart-preview .product-infos .cross-sell-product .product-price {
  margin-top: 0px;
  margin-right: 15px;
}

.cross_add_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 8px;
}

.cross-sell-product .product-image {
  max-width: 100px;
}

.cross_not_img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%; 
}

.cross-sell-product .lazy {
  opacity: 1 !important;
}

.cross-sell-product .stars-container {
  font-size: 1rem;
} 
 

.cross-sell-product .stars-container a img {
  height: 12px;
  width: 50px !important;
  object-fit: contain;
}

.cross-sell-product .stars-container div {
  margin: 0 !important;
}


.cross-sell-product .product-name {
  line-height: 1.3rem !important;
}

 
 

#econo_cart {
  display: flex;
  justify-content: center;
  padding: 10px;
  font-size: 1.3rem;
  margin-bottom: 15px;
}


#econo_cart div {
  display: flex;
  align-items: center;
  justify-content: center;
}

#econo_cart div span {
  background: url(../img/reduc.svg) no-repeat center center;
  width: 20px;
  height: 20px;
  margin-right: 5px;
  display: inline-block;
}

/* --- Ajout BFA Sidebar Cart : état de chargement optimiste ---
   Ne fait pas partie du CSS d'origine. Appliqué pendant le round-trip
   ajax déclenché par prestashop.on('updateCart'). */
.cart-dropdown-wrapper.is-loading {
  position: relative;
  min-height: 120px;
  opacity: 0.5;
  pointer-events: none;
}

.cart-dropdown-wrapper.is-loading::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  border: 3px solid #ddd;
  border-top-color: #343434;
  border-radius: 50%;
  animation: bfa-sidebarcart-spin 0.6s linear infinite;
  z-index: 5;
}

@keyframes bfa-sidebarcart-spin {
  to { transform: rotate(360deg); }
}