.cart-panel-overlay {
	position         : fixed;
	top              : 0;
	right            : 0;
	height           : 100vh;
	width            : 100%;
	z-index          : 14;

	background       : rgba(0, 0, 0, 0.3);
	cursor           : pointer;
	pointer-events   : none;
	transform        : scaleX(0);
	/*transition       : all .3s ease-in-out;*/
}

.cart-panel-overlay--is-show {
	transform      : scaleY(1);
	pointer-events : all;
	/*transition     : all .3s ease-in-out .1s;*/
}

.cart-panel {
	position       : fixed;
	top            : 0;
	right          : 0;
	height         : 100vh;
  max-height     : 100%;
	width          : 100%;
	max-width      : 450px;
	z-index        : 15;

	overflow       : hidden;

	background     : white;
	padding        : 1rem 1rem 0;

	display        : flex;
	flex-direction : column;
  transform      : translate3d(100%, 0, 0);
  transition     : all .2s ease-in-out;

}

.cart-panel__body {
  flex            : 1;
  display         : flex;
  flex-direction  : column;
  overflow-y      : auto;
  -webkit-overflow-scrolling: touch;
}

.cart-panel--is-show {
  transform  : translate3d(0, 0, 0);
  transition : all .4s ease-in-out .2s;
  }

.cart-panel__close {
	position      : -webkit-sticky;
	position      : sticky;
	top           : 0;
	z-index       : 5;

	align-self    : flex-end;
	background    : white;
	border-radius : 50%;
	padding       : 0;
	width         : 28px;
	height        : 28px;
	border        : 1px solid var(--color-primary);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-panel__product-info .product-name a {
  color: var(--color-primary);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%;
  letter-spacing: 0.48px;
}

.cart-panel__product-image img {
  height: 100px;
  width: 100px;
  object-fit: cover;
}

.cart-panel-heading {
  padding: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-cart-panel {
  color: var(--color-primary);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.cart-panel__close span {
  color: #ffffff;
}

.cart-panel__product-item + .cart-panel__product-item {
	margin-top : 1em;
}

.cart-panel-vide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 320px;
  margin: 20px 0;
  padding: 36px 24px;
  text-align: center;
  color: var(--color-primary);
  background: linear-gradient(180deg, rgba(244, 248, 251, 0.78) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(20, 65, 106, 0.10);
  border-radius: 18px;
}

.cart-panel-vide__icon {
  width: 96px;
  height: 96px;
  display: block;
}

.cart-panel-vide__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cart-panel-vide__text {
  max-width: 280px;
  margin: 0 auto;
  color: #6C859C;
  font-size: 14px;
  line-height: 1.6;
}

.cart-panel__product {
	display               : grid;
	grid-template-columns : 100px auto auto;
  gap: 7px;
}

.product-line-info.product-carac span {
  font-size: 14px;
  color: #6C859C;
  font-weight: 600;
}

.cart-panel__product-info {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.cart-panel__product-cart-actions {
	display     : flex;
	align-items : center;
  justify-content: start;
	flex-wrap   : wrap;
  gap: 20px;
  grid-row: 2;
  grid-column: 2;
  flex-direction: row-reverse;
}

.cart-panel__product-image {
  grid-row: 1/3;
  grid-column: 1;
  display: flex;
  align-items: center;
}

.cart-panel__product-cart-actions .remove-from-cart {
  color: var(--color-primary);
  transition: all 0.35s ease-in-out;
}

.cart-panel__product-cart-actions .remove-from-cart:hover {
  color: #000;
}

.cart-panel__product-cart-full-price {
	display         : flex;
	align-items     : center;
	justify-content : flex-end;
  grid-column: 3;
  grid-row: 1/3;
  color: var(--color-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
}

.cart-panel__gondole-wrapper {
  margin-top : auto;
}

.cart-panel__summary-wrapper {
  margin-top: auto;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: white;
  z-index: 5;
  font-size: calc(12px + (13 - 12) * ((100vw - 320px) / (1920 - 320)));
  padding: 1rem 0 calc(1rem - 10px);
}

.cart-panel__summary-line.shipping {
  border-top  : 1px solid #E0E5E8;
  border-bottom  : 1px solid #E0E5E8;
}

.cart-panel__summary-line.shipping, .cart-panel__summary-line.cart-panel__total {
  display: flex;
  justify-content: end;
  gap: 70px;
  padding: 15px 0;
}
.cart-panel__validate {
	width      : 100%;
  border-radius: 3px;
  border: 1px solid var(--color-primary);
  padding: 12px 15px;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 16px;
  font-style: normal;
  font-weight: 550;
  line-height: 100%;
  letter-spacing: -0.48px;
  text-transform: initial;
}

.js-cart-line-product-quantity {
  text-align: center;
}

/* Touchspin cart panel — layout horizontal [−] [qté] [+] */

.cart-panel__product-cart-qty .bootstrap-touchspin.input-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border: 1px solid rgba(20, 65, 106, 0.30);
  border-radius: 3px;
  width: fit-content;
  overflow: hidden;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .input-group-btn-vertical {
  display: contents;
  position: unset;
  width: auto;
  vertical-align: unset;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-down {
  order: 0;
  border-right: 1px solid rgba(20, 65, 106, 0.30);
  border-radius: 0;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .js-cart-line-product-quantity.form-control {
  order: 1;
  text-align: center;
  width: 44px;
  min-width: 44px;
  border: none;
  border-radius: 0;
  height: 32px;
  padding: 0;
  color: var(--color-primary);
  font-weight: 600;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-up {
  order: 2;
  border-left: 1px solid rgba(20, 65, 106, 0.30);
  border-radius: 0;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-up,
.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-down {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  float: none;
  background: #fff;
  border-top: none;
  border-bottom: none;
  width: fit-content;
  height: 34px;
  padding: 0 3px;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-up:hover,
.cart-panel__product-cart-qty .bootstrap-touchspin .bootstrap-touchspin-down:hover {
  background: rgba(20, 65, 106, 0.06);
}

.cart-panel__product-cart-qty .bootstrap-touchspin .touchspin-up::after {
  content: "+";
  font-family: inherit;
  font-weight: 500;
  color: var(--color-primary);
  position: static;
  top: unset;
  left: unset;
}

.cart-panel__product-cart-qty .bootstrap-touchspin .touchspin-down::after {
  content: "−";
  font-family: inherit;
  font-weight: 500;
  color: var(--color-primary);
  position: static;
  top: unset;
  left: unset;
}

.cart-panel__product-item {
  padding: 10px;
  transition: 0.3s ease;
}

.cart-panel__product-item:hover {
  background: #F5F5F5;
}

.cart-panel__product-item:hover .cart-panel__product-image img {
  mix-blend-mode: darken;
  transition: 0.3s ease;
}


.cart-panel__summary-line.shipping span.label,.cart-panel__summary-line.cart-panel__total span.label {
  color : var(--color-primary);
  text-align: right;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.45px;
}

.cart-panel .cart-panel__body::-webkit-scrollbar {
  width: 4px;
  background: transparent;
}

.cart-panel .cart-panel__body:hover::-webkit-scrollbar-thumb {
  width: 5px;
  background: var(--color-primary);
  border-radius: 4px;
}


.cart-panel__summary-line.shipping span.value,.cart-panel__summary-line.cart-panel__total span.value{
  color: var(--color-primary);
  text-align: right;
  font-size: 17px;
  font-style: normal;
  font-weight: 670;
  line-height: normal;
  letter-spacing: -0.51px;
}

.cart-panel__order {
  padding: 12px 15px;
  width: 100%;
  margin-bottom: 10px;
  font-size: 16px;
  font-style: normal;
  font-weight: 550;
  line-height: 100%;
  letter-spacing: -0.48px;
  text-transform: initial;
}

.bootstrap-touchspin .btn-touchspin {
  border: none !important;
}

.bootstrap-touchspin .input-group-btn-vertical i {
  position: unset !important;
}


/*@media screen and (max-width: 767px) {*/
  .cart-panel__gondole-wrapper .ecgondole .products-section-title {
    color: var(--color-blue-default);
    font-size: 18px;
    font-style: normal;
    font-weight: 650;
    line-height: normal;
    letter-spacing: -0.18px;
    text-align: left;
    margin: 10px 0;
    text-transform: initial !important;
  }

  .cart-panel__gondole-wrapper .swiper-ecgondole-scrollbar {
    display: none !important;
   }

  .cart-panel__gondole-wrapper .product-miniature .thumbnail-container {
    display: grid;
    grid-template-columns: 80px auto;
    grid-template-rows: 1fr 0;
    align-items: center;
  }

  .cart-panel__gondole-wrapper .product-miniature  .pastille_free_shipping,.cart-panel__gondole-wrapper .product-miniature  .pastille_stock {
    display: none;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-thumbnail {
    grid-column: 1;
    grid-row: 1;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-description {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-panel__gondole-wrapper .product-miniature .add-to-cart-text,.cart-panel__gondole-wrapper .product-miniature .pastille_free_shipping,.cart-panel__gondole-wrapper .product-miniature .in-stock-item,.cart-panel__gondole-wrapper .product-miniature .skeepers_product__stars  {
    display: none;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-price-and-shipping {
    margin: 0 ;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-thumbnail.--lazyload {
    height: 80px;
  }

  .cart-panel__gondole-wrapper .product-miniature {
    position: relative;
  }

  .cart-panel__gondole-wrapper .product-miniature  .add-to-cart__wrapper {
    position: absolute;
    bottom: -10px;
    right: 0;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-title {
    padding: 0;
  }

  .cart-panel__gondole-wrapper .product-miniature {
    border-radius: 3px;
    background: #E3EAF0;
    padding: 0 !important;
  }

  .cart-panel__gondole-wrapper .product-miniature .thumbnail-container {
    background: transparent !important;
    padding: 10px;
  }

  .cart-panel__gondole-wrapper .product-miniature .product-description {
    background: transparent !important;
    padding: 0 10px;
  }


  .cart-panel__gondole-wrapper .product-miniature .product-price-and-shipping {
    color: var(--color-blue-default);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
  }

  .cart-panel__gondole-wrapper .add-to-cart {
    border-radius: 3px;
    border: 1.2px solid rgba(20, 65, 106, 0.50);
    background: transparent;
  }

  .cart-panel__gondole-wrapper .add-to-cart svg path {
    stroke: var(--color-blue-default);
    stroke-width : 1.2 !important;
  }

  .cart-panel__gondole-wrapper .swiper-ecgondole-pagination {
    margin: 10px 0;
  }
/*}*/

@media  screen  and (max-width: 400px){
  .cart-panel {
    padding: 10px;
  }

  .cart-panel__product {
    grid-template-columns: 80px auto auto;
  }

  .cart-panel__product-info .product-name a {
    text-transform: initial;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-align: left;
  }

  .cart-panel__product-image img {
    width: 80px;
    height: 80px;
  }

  .cart-panel__product-cart-actions {
    flex-wrap: initial !important;
  }
}
