.cart-drawer{
  position:fixed;
  top:0;
  right:-100%;
  width:400px;
  height:100%;
  background:#ffffff;
  overflow-y:auto;
  transition:right 0.3s ease-in-out;
  z-index:1000;
}
.cart-drawer.open{
  right:0;
}
.cart-drawer .empty-cart{
  padding:30px 24px;
  font-size:15px;
  font-weight:700;
}
.cart-drawer .cart-drawer__close{
  position:absolute;
  top:14px;
  left:13px;
  background-color:transparent;
  border:none;
  font-size:28px;
  z-index:1000;
}
[dir=ltr] .cart-drawer .cart-drawer__close{
  left:auto;
  left:initial;
  right:13px;
}
.cart-drawer .header{
  display:flex;
  padding:16px 24px;
  position:sticky;
  top:0;
  background-color:white;
  z-index:100;
}
.cart-drawer .header .cart{
  font-weight:700;
  font-size:22px;
  display:flex;
  gap:12px;
  align-items:center;
}
.cart-drawer .header .cart span{
  font-weight:400;
  font-size:15px;
  color:#9b9b9b;
}
.cart-drawer .footer{
  background:white;
  border-top:1px solid #ebebeb;
  position:absolute;
  bottom:0;
  padding:26px 24px;
  width:100%;
}
.cart-drawer .footer .price-wrapper{
  display:flex;
  justify-content:space-between;
}
.cart-drawer .footer .price-wrapper .total-price{
  font-weight:400;
  font-size:16px;
}
.cart-drawer .footer .price-wrapper .currency-value{
  font-weight:700;
  font-size:16px;
}
.cart-drawer .footer .price-wrapper .currency-code{
  font-weight:700;
}
.cart-drawer .footer a{
  margin-top:16px;
}
.cart-drawer .footer .cart-action{
  border:1px solid var(--yc-primary-color);
  padding:0 1rem;
  transition:all 0.15s ease-in-out 0s;
  letter-spacing:1px;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:43px;
}
.cart-drawer .cart-drawer__content{
  max-height:calc(100% - 196px);
  overflow-y:auto;
}
.cart-drawer ul{
  margin:20px 24px 0;
}
.cart-drawer ul .cart-item{
  margin-bottom:24px;
}
.cart-drawer ul .cart-item img{
  -o-object-fit:cover;
     object-fit:cover;
  width:81px;
  height:81px;
}
@media (max-width: 768px){
  .cart-drawer ul .cart-item img{
    height:80px;
  }
}
.cart-drawer ul .cart-item .item-body{
  display:flex;
  align-items:flex-end;
  gap:16px;
  padding:20px 10px;
  position:relative;
  background:#f5f5f5;
  border-radius:4px;
}
.cart-drawer ul .cart-item .item-body .right-items{
  display:flex;
  gap:14px;
  width:70%;
}
.cart-drawer ul .cart-item .item-body .right-items img{
  border-radius:4px;
}
.cart-drawer ul .cart-item .item-body .left-items{
  width:30%;
}
@media (max-width: 768px){
  .cart-drawer ul .cart-item .item-body{
    padding:20px 6px;
  }
}
.cart-drawer ul .cart-item .remove-item-btn,
.cart-drawer ul .cart-item .spinner{
  position:absolute;
  left:10px;
  top:15px;
}
[dir=ltr] .cart-drawer ul .cart-item .remove-item-btn,
[dir=ltr] .cart-drawer ul .cart-item .spinner{
  left:auto;
  left:initial;
  right:10px;
}
.cart-drawer ul .cart-item .remove-item-btn{
  font-size:23px;
}
.cart-drawer ul .cart-item .item-details{
  max-width:195px;
}
.cart-drawer ul .cart-item .item-details .product-name{
  font-weight:600;
  font-size:14px;
  line-height:17px;
}
.cart-drawer ul .cart-item .item-details .variants{
  margin-top:12px;
  font-weight:400;
  font-size:13px;
}
.cart-drawer ul .cart-item .item-details .product-price{
  margin-top:14px;
  display:flex;
  flex-direction:column-reverse;
  color:var(--yc-primary-color);
}
.cart-drawer ul .cart-item .item-details .product-price .price,
.cart-drawer ul .cart-item .item-details .product-price .currency-code{
  font-weight:700;
}
.cart-drawer ul .cart-item .item-details .product-price .compare-price{
  font-weight:400;
  font-size:13px;
  text-decoration-line:line-through;
  color:#8d8d8d;
}
.cart-drawer ul .cart-item .item-details .currency-wrapper{
  display:flex;
  align-items:center;
  gap:4px;
}
.cart-drawer ul .cart-item .quantity-control{
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid #bdbdbd;
  border-radius:4px;
  padding:0 10px;
  background-color:#fff;
}
.cart-drawer ul .cart-item .quantity-control input::-webkit-outer-spin-button,
.cart-drawer ul .cart-item .quantity-control input::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
.cart-drawer ul .cart-item .quantity-control input{
  width:55px;
  text-align:center;
  border:none;
  padding:0;
  font-weight:700;
  font-size:16px;
  color:black;
}
.cart-drawer ul .cart-item .quantity-control .decrease-btn,
.cart-drawer ul .cart-item .quantity-control .increase-btn{
  background-color:transparent;
  border:none;
  font-size:18px;
  font-weight:700;
  color:#b7b7b7;
  cursor:pointer;
  transition:all 200ms ease-in-out;
}
.cart-drawer ul .cart-item .quantity-control .decrease-btn:active,
.cart-drawer ul .cart-item .quantity-control .increase-btn:active{
  scale:1.5;
}
@media (max-width: 768px){
  .cart-drawer ul .cart-item .quantity-control{
    padding:0 5px;
  }
  .cart-drawer ul .cart-item .quantity-control input{
    width:46px;
  }
}
@media (max-width: 768px){
  .cart-drawer ul{
    margin:0 10px;
  }
}
@media (max-width: 768px){
  .cart-drawer{
    width:300px;
  }
}

.cart-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color:rgba(0, 0, 0, 0.55);
  z-index:1000;
  visibility:hidden;
}

.cart-overlay.open{
  visibility:visible;
  opacity:1;
}

.cart-bundle-group{
  border:1px solid #ededed;
  border-radius:4px;
  overflow:hidden;
}
.cart-bundle-group[ui-context=drawer]{
  margin:20px;
  padding-top:20px;
  border:none;
  border-top:1px solid #ededed;
  border-radius:0px;
}
@media (max-width: 768px){
  .cart-bundle-group[ui-context=drawer]{
    margin:20px 10px;
  }
}
.cart-bundle-group[ui-context=drawer] .bundle-group-head{
  border-radius:4px 4px 0px 0px;
}
.cart-bundle-group[ui-context=drawer] .bundle-items-list :last-child{
  border-radius:0px 0px 4px 4px;
}
.cart-bundle-group[ui-context=cart]{
  margin-bottom:25px;
}
.cart-bundle-group .bundle-group-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  background-color:#f5f5f5;
  border-bottom:1px solid #ededed;
}
.cart-bundle-group .bundle-group-head .bundle-heading{
  display:flex;
  align-items:center;
  gap:8px;
}
@media (max-width: 768px){
  .cart-bundle-group .bundle-group-head .bundle-heading{
    flex-direction:column;
    align-items:flex-start;
  }
}
.cart-bundle-group .bundle-group-head .bundle-title{
  font-weight:700;
  font-size:16px;
}
.cart-bundle-group .bundle-group-head .bundle-total{
  font-weight:700;
  font-size:16px;
  color:var(--yc-primary-color);
}
.cart-bundle-group .bundle-group-head .remove-bundle-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:none;
  border:none;
  cursor:pointer;
  color:#4b5565;
  font-size:23px;
  padding:0;
}
.cart-bundle-group .bundle-group-head .remove-bundle-btn:disabled{
  cursor:not-allowed;
  opacity:0.6;
}
.cart-bundle-group .bundle-item-row{
  display:grid;
  grid-template-columns:80px 1fr auto;
  grid-gap:12px;
  gap:12px;
  padding:12px 16px;
  background:#f5f5f5;
  border-bottom:1px solid #f3f4f6;
  align-items:center;
}
.cart-bundle-group .bundle-item-row:last-child{
  border-bottom:none;
}
.cart-bundle-group .bundle-item-row .bundle-item-image{
  width:80px;
  height:80px;
  -o-object-fit:cover;
     object-fit:cover;
  border-radius:4px;
}
.cart-bundle-group .bundle-item-row .bundle-item-info .bundle-item-name{
  font-weight:600;
  font-size:14px;
  display:block;
  margin-bottom:4px;
  color:inherit;
  -webkit-text-decoration:none;
  text-decoration:none;
}
.cart-bundle-group .bundle-item-row .bundle-item-info .bundle-item-variants{
  font-size:13px;
  font-weight:400;
}
.cart-bundle-group .bundle-item-row .bundle-item-info .bundle-item-variants span:not(:last-child)::after{
  content:", ";
}
.cart-bundle-group .bundle-item-row .bundle-item-price .price{
  font-weight:700;
  font-size:15px;
  color:var(--yc-primary-color);
}
.cart-bundle-group .bundle-item-row .bundle-item-price .gift{
  display:flex;
  align-items:center;
  gap:4px;
}
.cart-bundle-group .bundle-item-row .bundle-item-price .gift[hidden]{
  display:none;
}
.cart-bundle-group .bundle-item-row .bundle-item-price .gift svg{
  fill:var(--yc-primary-color);
}
.cart-bundle-group .bundle-item-row .bundle-item-price .gift .free{
  font-size:16px;
  font-weight:700;
  line-height:120%;
  color:var(--yc-primary-color);
}
