.cart-drawer{
  position:fixed;
  top:0;
  right:-100%;
  width:478px;
  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;
  color:#9b9b9b;
}
[dir=ltr] .cart-drawer .cart-drawer__close{
  left:auto;
  left:initial;
  right:13px;
}
.cart-drawer .header{
  display:flex;
  padding:16px;
  position:sticky;
  top:0;
  background-color:white;
  z-index:100;
  border-bottom:0.5px solid #adadad;
}
.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-color:rgba(var(--yc-primary-color-rgb), 0.04);
  position:absolute;
  bottom:0;
  padding:26px 24px;
  width:100%;
}
.cart-drawer .footer .price-wrapper{
  display:flex;
  justify-content:space-between;
  margin-bottom:32px;
}
.cart-drawer .footer .price-wrapper .total-price{
  font-weight:400;
  font-size:16px;
}
.cart-drawer .footer .price-wrapper .currency-value{
  font-weight:600;
  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 2rem;
  transition:all 0.15s ease-in-out 0s;
  letter-spacing:1px;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  height:43px;
  color:#9b9b9b;
}
@media (max-width: 768px){
  .cart-drawer .footer{
    padding:16px;
  }
}
.cart-drawer .cart-drawer__content{
  max-height:calc(100% - 196px);
  overflow-y:auto;
}
.cart-drawer ul{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:24px 32px;
}
.cart-drawer ul .cart-item{
  border-bottom:1px solid #e1e1e1;
}
.cart-drawer ul .cart-item img{
  border-radius:6px;
  border:1px solid #f5f5f5;
  width:81px;
  height:81px;
  -o-object-fit:cover;
     object-fit:cover;
}
.cart-drawer ul .cart-item .item-body{
  display:flex;
  gap:16px;
  padding-bottom:12px;
  position:relative;
  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 .left-items{
  width:30%;
  display:flex;
  flex-direction:column;
  align-items:end;
}
.cart-drawer ul .cart-item .item-body .left-items .product-price{
  display:flex;
  flex-direction:column-reverse;
  color:var(--yc-primary-color);
}
.cart-drawer ul .cart-item .item-body .left-items .product-price .price,
.cart-drawer ul .cart-item .item-body .left-items .product-price .currency-code{
  font-weight:700;
}
.cart-drawer ul .cart-item .item-body .left-items .product-price .compare-price{
  font-weight:400;
  font-size:13px;
  text-decoration-line:line-through;
  color:#8d8d8d;
}
.cart-drawer ul .cart-item .item-body .left-items .currency-wrapper{
  display:flex;
  align-items:center;
  gap:4px;
}
@media (max-width: 768px){
  .cart-drawer ul .cart-item .item-body{
    padding:20px 6px;
  }
  .cart-drawer ul .cart-item .item-body .price,
  .cart-drawer ul .cart-item .item-body .currency-code{
    font-size:14px;
  }
}
.cart-drawer ul .cart-item .remove-item-btn,
.cart-drawer ul .cart-item .spinner{
  margin-top:10px;
  color:#9b9b9b;
}
.cart-drawer ul .cart-item .remove-item-btn{
  font-size:23px;
}
.cart-drawer ul .cart-item .item-details{
  margin-top:4px;
  max-width:195px;
}
.cart-drawer ul .cart-item .item-details .product-name{
  font-weight:600;
  font-size:16px;
  line-height:17px;
  color:var(--yc-primary-color);
  word-break:break-all;
  white-space:normal;
}
.cart-drawer ul .cart-item .item-details .variants{
  display:flex;
  flex-wrap:wrap;
  row-gap:8px;
  -moz-column-gap:16px;
       column-gap:16px;
  margin-top:12px;
}
.cart-drawer ul .cart-item .item-details .variants .variant{
  font-weight:400;
  font-size:13px;
}
.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;
    padding:0px;
  }
}
@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-radius:4px;
  overflow:hidden;
}
.cart-bundle-group[ui-context=drawer]{
  margin:0 20px 20px;
  padding-bottom:20px;
  border-radius:0px;
}
.cart-bundle-group[ui-context=drawer]:has(~ .cart-bundle-group){
  border-bottom:1px solid #ededed;
}
@media (max-width: 768px){
  .cart-bundle-group[ui-context=drawer]{
    margin:0 16px;
    padding:16px 0;
  }
}
.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]{
  border:1px solid #ededed;
}
.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;
  color:var(--yc-primary-color);
}
.cart-bundle-group .bundle-item-row .bundle-item-info .bundle-item-variants span{
  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{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
}
.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 .compare-at{
  font-weight:400;
  font-size:13px;
  text-decoration-line:line-through;
  color:#8d8d8d;
}
.cart-bundle-group .bundle-item-row .bundle-item-price .compare-at[hidden]{
  display:none;
}
.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);
}
