
/* */
.remodal-wrapper {
  padding: 50px 15px;
  /* background-color: rgb(4, 11, 25, 0.95); */
}
.remodal-overlay {
  background-color: rgb(0, 0, 0, 0.6);
}
.remodal-wrapper::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.remodal {
  position: relative;
  max-width: 455px;
  padding: 20px;
  background: #fff;
  text-align: left;
  color: #fff;
  border-radius: 15px;
}

.remodal .modal-header,
.remodal .modal-body,
.remodal .modal-footer {
  padding-left: 0;
  padding-right: 0;
}
.remodal .modal-footer {
  padding-bottom: 0;
}

.remodal .modal-header {
  margin-top: -10px;
}


.remodal-header-fly-cart {
  display: none;
}
.modal-body__payment-topic {
  display: none;
}
.remodal[data-modal-buy-method="product"] .remodal-header-fly-goods {
  display: block;
}
.remodal[data-modal-buy-method="product"] .modal-body__payment-topic {
  display: block;
}
.remodal[data-modal-buy-method="product"] .modal-body__payment-topic {
  display: block;
}
.remodal[data-modal-buy-method="setpaidway__check"] .modal-body__payment-topic {
  display: block;
}
.remodal[data-remodal-target="setpaidway__check"] .remodal-header-fly-goods {
  display: block;
}
.remodal[data-modal-buy-method="cart"] .remodal-header-fly-cart {
  display: block;
}
.remodal[data-modal-buy-method="cart"] .form {
  margin-top: 0 !important;
}




/*
    Shop cart
 */
#body .b-overlay {
  padding: 30px 20px;
  overflow: hidden;
  overflow-y: auto;
  z-index: 7777 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.5);
}
#body .b-popup {
  display: none;
}
#body .b-popup__edit {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 2rem;
  color: transparent;
  background: no-repeat center center url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
  background-size: 14px;
  transition: opacity 0.3s ease;
}
#body .b-popup__edit:hover {
  opacity: 0.6;
}
#body .b-overlay .b-popup {
  width: 100%;
  display: block;
  max-width: 460px;
  padding: 28px 20px 25px 25px;
  color: #212529;
  position: relative;
  margin: 0 !important;
  box-shadow: none;
  background-color: #fff;
  border-radius: 30px;
  transform: none !important;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
}
@media (max-width: 420px) {
  #body .b-overlay .b-popup {
    padding: 16px;
  }
}
#body .b-popup__head {
  margin: -10px 0 0 0;
}
#body .b-popup__title {
  flex: 1 0;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 15px 0;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 100%;
  font-size: 1.25rem!important;
  letter-spacing: 0;
  color: #020714;
  text-transform: none;
}

#body .b-popup__body {
  padding: 0;
  background: 0;
  border-radius: 0;
}

#body .b-basket {
  max-height: 238px;
  margin: 0;
  overflow: hidden;
  overflow-y: auto !important;
}

#body .b-popup-custom .b-basket-total {
  display: none;
}

#body .b-popup-custom .b-btn.itemcartpay {
  display: none;
}

/* Scrollbar */
#body .b-overlay::-webkit-scrollbar {
  width: 10px;
}
#body .b-overlay::-webkit-scrollbar-track {
  background: #f1f4f8;
  border-radius: 34px;
}
#body .b-overlay::-webkit-scrollbar-track {
  background: #dedee5;
}
#body .b-overlay::-webkit-scrollbar-thumb {
  background-color: #404de8;
  border-radius: 34px;
  transition: background 0.3s ease;
}
#body .b-overlay::-webkit-scrollbar-thumb:hover {
  background: #5c67ee;
}

/*
Shop cart add
 */
.cart-prev-products {
}

.cart-prev-product-item-name {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  color: #212529;
}

.cart-prev-product-item-right {
  display: flex;
  align-items: center;
  margin-top: 2px;
}
@media (max-width: 500px) {
  .cart-prev-product-item-right {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 5px;
  }
}
.cart-prev-product-item-suminfo {
  flex: 1 0;
  display: flex;
  align-items: center;
  gap: 5px 30px;
  flex-wrap: wrap;
}
.cart-prev-product-item-qty,
.cart-prev-product-item-price {
  display: flex;
  align-items: center;
  gap: 1px 6px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.24;
  color: #95A0AA;
}
.cart-prev-product-item-qty > span,
.cart-prev-product-item-price > span {
  color: inherit;
}

.cart-prev-product-item-qty-input {
  width: 40px;
  height: 20px;
  display: inline-block;
  vertical-align: top;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
  color: #000;
  border: 1px solid #95A0AA;
  background: #cfd6da;
  border-radius: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline:none;
  transition: border-color 0.3s ease;
}
.cart-prev-product-item-qty-input:hover,
.cart-prev-product-item-qty-input:focus {
  border-color: #4f6183;
}

.cart-prev-product-item-remove-btn {
  width: 49px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  border: 0;
  outline: none;

  cursor: pointer;

  border-radius: 0 15px 15px 0;
  background-color: #EF2E2E;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline:none;
}
.cart-prev-product-item-remove-btn-icon {
  width: 22px;
  height: 22px;
  background: no-repeat 0 0 url(img/icon/card-close-icon.svg);
  background-size: 100% 100%;
}
.cart-prev-product-item-remove-btn:hover {
  background-color: #ff4e4e;
}
@media (max-width: 500px) {
  .cart-prev-product-item-remove-btn {

  }
}

.cart-prev-product-item {
  position: relative;
  padding: 15px 34px 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #F6F8FA;
  border-radius: 15px;
}
.cart-prev-product-item + .cart-prev-product-item {
  margin-top: 10px;
}


.cart-prev-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0 0 0;
}
.cart-prev-total {
  flex: 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}
.cart-prev-total-label {

}
.cart-prev-total-value {
  font-size: 30px;
  font-weight: 700;
}

.b-popup .info-b-basket {
  height: auto;
  padding: 8px 10px;
  margin: 20px 0 0 0;
  border-radius: 20px;
  background-color: #fffbcc;
  border-color: #fffbcc;
}


.cart-prev-checkouts {
  width: 100%;
}

.cart-prev-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.cart-prev-box-btn {
  flex: none;
}
@media (max-width: 500px) {
  .cart-prev-bottom {
    gap: 10px;
    flex-direction: column;
    align-items: normal;
  }
  .cart-prev-box-btn {
    width: 100%;
  }
}

.modifications-cart .b-basket,
.modifications-cart .b-basket-total,
.modifications-cart .b-btn.itemcartpay {
  display: none !important;
}

.cart-prev-empty {
  padding: 5px 10px;
  font-weight: bold;
  font-size: 16px;
  color: #ccc;
  text-align: center;
}

span.counter_cartlequebutton:empty {
  display: none !important;
}

span.product-badge:empty {
  display: none;
}


