/*  */
/* drawer cart */

body:has(.js-menu__expanded) {
  overflow-y: hidden !important;
}

/*
.js-menu__context {
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  transition: opacity 0.5s, visibility 0.5s;
  visibility: hidden;
  width: 100%;
  height: 100%;
  z-index: 40000;
  overflow-x: hidden;
}
*/
.js-menu__context {
    background: rgba(0, 0, 0, 0.5);
    right: 0;
    opacity: 1;
    position: fixed;
    top: 0;
    transition: opacity 0.5s, visibility 0.5s;
    visibility: hidden;
    width: 100%;
    height: 100%;
    z-index: 40000;
    overflow-x: hidden;
}
.js-menu--right {
  -webkit-transform: translateX(-100%);
  transform: translateX(100%);
  position: absolute;
  right: 0;
}

.js-menu__close {
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: #333;
}

.js-menu {
  color: var(--bodyTextColor);
  /* position: absolute; */
  height: 100%;
  width: 440px;
  padding: 10px 12px;
  margin: 0;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  transition: background 0.5s, transform 0.5s;
  transition: all cubic-bezier(0.47, 1.21, 0.47, 1.21) 0.3s;
}

li.qty-wrpper {
}

li.qty-wrpper a {
  color: #333 !important;
  font-size: 16px;
}

ul.cart-content:hover li.qty-wrpper a {
  opacity: 1;
}

.coupon-code p a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-transform: uppercase;
}

.js-menu__expanded {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  overflow-x: hidden;
}

.js-menu__expanded {
  color: #333333;
}

.cart-item select {
  width: 100%;
  border-radius: 0.2em;
  border: 1px solid #5a5a5a;
  color: #ffffff;
  height: 100%;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  padding: 8px 10px;
  -moz-appearance: none;
  -ms-appearance: none;
  background: #484847;
}

.cart-item .qty-container:after {
  /* content: ""; */
  -webkit-mask-image: url("https://cdn1.iconfinder.com/data/icons/arrows-vol-1-4/24/dropdown_arrow-512.png");
  -webkit-mask-repeat: no-repeat;
  background-color: #fff;
  -webkit-mask-size: 15px 15px;
  -webkit-mask-position: right;
  -webkit-mask-origin: content-box;
  width: 13px;
  height: 12px;
  position: absolute;
  top: 14px;
  right: 24px;
}

p.cart-pro-title a {
  color: #333 !important;
  font-size: 16px;
  font-weight: 600 !important;
}
.qty-wrpper > p {
  font-size: 16px !important;
  font-weight: 800 !important;
}
ul.cart-content li:nth-child(1) {
  flex-basis: auto;
  flex-grow: 0;
  margin-bottom: 0;
  width: 30%;
  gap: 5px;
}

ul.cart-content li:nth-child(2) {
  width: 240px;
  color: #fff;
  font-size: 12px;
}

ul.cart-content li:nth-child(4) {
  flex-grow: 0.7;
  text-align: right;
  font-size: 12px;
}

.qty-container p {
  font-size: 14px;
}

.qty-container p span {
  margin-right: 3px;
}

ul.cart-content li:nth-child(3) {
  min-height: 40px;
  width: 75px;
  position: relative;
  align-items: center;
  gap: 5px;
}

p.cart-pro-title {
  margin-bottom: 0;
  font-weight: 600 !important;
  font-size: 13px;
}

.js-menu .cart-title {
  flex-shrink: 0;
  width: 42%;
}

.js-menu .cart-size {
  width: 25%;
}

.js-menu .cart-qty {
  width: 25%;
}

.drawer-cart-header ul li p {
  margin-bottom: 0;
  color: #333;
  font-weight: 700;
}

.drawer-cart-header ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.qty-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qty-container .input-qty {
  text-align: center;
  border: 1px solid var(--primaryColor);
  max-width: 40px;
  border-radius: 0;
  height: 30px;
}

.qty-container .qty-btn-minus,
.qty-container .qty-btn-plus {
  border: 0px solid currentColor;
  padding: 10px 13px;
  font-size: 10px;
  height: 30px;
  width: 40px;
  transition: 0.3s;
  border-radius: 0px;
  cursor: pointer;
  background-color: var(--primaryColor);
  color: var(--btnTextColor);
  transition: all 0.35s ease-in-out;
}

.qty-container .qty-btn-minus:hover,
.qty-container .qty-btn-plus:hover {
  background-color: var(--secondaryColor);
  color: var(--bodyTextColor);
}

.qty-container .qty-btn-plus {
  margin-left: -1px;
}

.qty-container .qty-btn-minus {
  margin-right: -1px;
}

.drawer-cart-header h2 {
  color: var(--primaryColor);
  font-family: var(--headingFont);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.drawer-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #33333347;
  margin-bottom: 30px;
  padding: 0 0 4px;
}

#add_payment_method table.cart .product-thumbnail,
.woocommerce-cart table.cart .product-thumbnail,
.woocommerce-checkout table.cart .product-thumbnail {
  max-width: 30px;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button {
  background: var(--primaryColor);
  width: fit-content;
  font-size: 16px;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--secondaryColor);
}

.cart-item {
  display: grid;
  grid-gap: 5px;
  border-radius: 5px;
  border: 1px solid #33333352;
  background-color: #fff;
}

.woocommerce-billing-fields,
.woocommerce-shipping-fields {
  padding: 30px;
  background: #f5f5f5;
  margin-bottom: 40px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  padding: 8px 10px;
  border-color: var(--borderLight);
}

.cart-item .cart-img {
  height: 100%;
  width: 100%;
}

.cart-item .cart-img img {
  height: 100%;
  object-fit: cover;
}

.cart-item ul.cart-content > *:last-child {
  align-items: center;
  justify-content: space-between;
}

ul.cart-content p {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

ul.cart-content {
  align-items: center;
  gap: 20px;
}

.drawer-cart-body ul.drawer-cart-items > li:not(:last-child) {
  margin-bottom: 12px;
}

.cart-item li h6 a {
  font-size: 20px;
  font-weight: bold;
}

.cart-item li h6 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

.drawer-cart-body .cart-item:last-child {
  margin-bottom: 0;
}

ul.cart-content > a {
  font-size: 16px;
  font-weight: bold;
}

.drawer-cart-footer {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  border-top: 2px solid #c6c6c6;
  margin-top: 30px;
  background-color: #f8f8f8;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  background-color: var(--primaryColor);
}

.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover {
  background-color: var(--secondaryColor);
}

.drawer-cart-footer .subtotal {
  display: flex;
  justify-content: space-between;
  border-width: 2px 0;
  border-style: solid;
  border-color: #484847;
  padding: 12px 0;
}

.drawer-cart-footer .subtotal p {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0;
}

.drawer-cart-footer .drawer-cart-footer-content {
  padding: 10px 0;
}

.drawer-cart-footer .drawer-cart-footer-content p {
  font-size: 12px;
  line-height: 1.5;
  color: #333;
}

.drawer-payment-button {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 10px;
  justify-content: space-between;
}

.drawer-cart-header.no-cart ul {
  justify-content: flex-end;
}

ul.cart-content li img {
  width: 100%;
  border-radius: 1px;
}

ul.cart-content li {
  align-items: center;
}

.drawer-cart .header-cart-right {
  width: 100%;
}

.drawer-payment-button .btn {
  font-size: 14px;
}

.drawer-cart-footer .subtotal > * {
  color: #333;
}

.header-cart-right {
  width: 100%;
}
.drawer-cart-body .drawer-cart-items {
  max-height: 280px;
  overflow-y: auto;
}
.drawer-cart-body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgb(255 255 255 / 30%);
  background-color: #f5f5f5;
}

.drawer-cart-body::-webkit-scrollbar {
  width: 6px;
  background-color: #ffffff;
}

.drawer-cart-body::-webkit-scrollbar-thumb {
  background-color: #000000;
}
@media (max-width: 400px) {
  .js-menu {
    padding: 5px;
  }

  ul.cart-content li img {
    width: 70px;
    height: 70px;
    object-fit: contain;
  }

  ul.cart-content p {
    font-size: 12px;
  }

  .drawer-payment-button {
    gap: 2px;
  }
}

.qty-wrpper {
  display: flex;
  width: 100px;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.qty-wrpper input {
  font-weight: 500;
  width: 40px;
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  border-left: 0;
  border-right: 0;
}

.qty-container {
  width: 100%;
  height: 100%;
  margin-top: 5px;
}
.cartUpdating {
  position: relative;
}

.cartUpdating:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #fff;
  opacity: 0.5;
}
.qty-container a {
  font-size: 14px;
}
.js-menu__expanded .cartAdding:after {
  opacity: 0.75;
}
.qty {
  padding: 2px;
  border: 0;
  font-size: 16px;
  color: #333;
  border: 1px solid #e5d2c3;
  font-weight: 900;
  cursor: pointer;
  width: 30px;
  justify-content: center;
  align-items: center;
  display: flex;
  transition: all 0.35s ease-in;
}

.qty.qty-minus:hover,
.qty.qty-plus:hover {
  background: #333;
  color: #fff;
}

.drawer-cart-body-header {
  background: #ffe4cc;
  padding: 12px 5px;
  border-radius: 5px;
  margin-bottom: 30px;
  text-align: center;
}

.drawer-cart-body-header h5 {
  font-size: 18px;
}

.drawer-cart-body-header p {
  font-size: 14px;
  margin-top: 5px;
}

.drawer-cart-body-header p span:not(:last-child) {
  margin-right: 8px;
}

.drawer-cart-body-header h5 i {
  margin-left: 5px;
  color: #98002e;
}
@media (max-width: 1199px) {
  .drawer-cart-footer {
    position: fixed;
    bottom: 0;
    padding: 10px;
    left: 0;
    width: 100%;
  }
}
@media (max-width: 576px) {
  .js-menu {
    width: 78%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
      
  }

  .drawer-cart-body-header p {
    font-size: 11px;
  }

  .drawer-cart-header {
    margin-bottom: 10px;
  }

  .drawer-cart-body-header {
    margin-bottom: 10px;
  }

  .drawer-cart-body-header p span:not(:last-child) {
    margin-right: 4px;
  }
  ul.cart-content li:nth-child(1) {
    width: 20%;
  }

  ul.cart-content li:nth-child(2) {
    width: 250px;
  }
  .drawer-cart-body .drawer-cart-items {
    max-height: 260px;
    height: 100%;
  }
  .cs-h-complete-look-area {
    padding: 5px 20px;
  }
  p.cart-pro-title a {
    font-size: 12px;
  }
  .cs-h-complete-look-area h5 {
    font-size: 16px;
  }

  .cs-h-complete-look-area {
    padding: 10px;
    margin-top: 0 !important;
    padding: 5px 20px !important;
  }

  li.cs-h-complete-look-item img {
    max-width: 50px !important;
  }
  .cs-h-complete-look-info h6 {
    font-size: 12px;
}

.cs-h-complete-look-info p {
    font-size: 10px;
}
}
