/* Cart */
#popup-cart .modal-title {
  text-transform: uppercase;
}

#popup-cart .modal-body .wrap-cart {
  padding: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 0px;
}

#popup-cart .modal-footer {
  padding: 0.75rem 0 0 0;
  border-top: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.buymore-cart {
  color: #ec2d3f;
  cursor: pointer;
  margin: 0px;
  display: none;
}

.buymore-cart i {
  margin-right: 2px;
  margin-top: 5px;
  vertical-align: top;
  font-size: 12px;
}

.wrap-cart {
  padding: 20px 15px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  /* -webkit-box-shadow: 0 0 20px rgb(234 236 239); */
  /* box-shadow: 0 0 20px rgb(234 236 239); */
}
.box-html-cart .wrap-cart{padding:10px;/* z-index: 9; */border: none;}
.box-html-cart .top-cart .list-procart{max-height:300px;overflow-y: scroll;}
.top-cart {
  border-right: 1px solid #eee;
}

.procart {
  padding: 20px 10px;
  border: 1px solid #eee;
  border-top: 0px;
}

.pic-procart {
  text-align: center;
}

.pic-procart img {
  max-height: 100px;
  height: inherit;
}

.pic-procart .del-procart {
  color: #999;
  font-size: 12px;
  display: block;
  margin-top: 5px;
  cursor: pointer;
}

.pic-procart .del-procart:hover {
  color: red;
}

/* Inline confirm delete next to del-procart */
.inline-confirm-delete {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 6px 8px;
  position: absolute;
  z-index: 1000;
  transform: translate(0, 4px);
}
.inline-confirm-delete .text {
  color: #333;
  font-size: 12px;
}
.inline-confirm-delete .btn-yes,
.inline-confirm-delete .btn-cancel {
  border: 0;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}
.inline-confirm-delete .btn-yes {
  background: #dc3545;
  color: #fff;
}
.inline-confirm-delete .btn-cancel {
  background: #e9ecef;
  color: #333;
}

.name-procart a {
  font-size: 14px;
  color: #000;
  display: block;
}

.name-procart a:hover {
  color: #ec2d3f;
}

.properties-procart {
  display: block;
}

.properties-procart p {
  display: inline-block;
  margin-bottom: 0px;
}

.properties-procart p:first-child {
  margin-right: 10px;
}

.properties-procart p strong {
  font-weight: 600;
}

.quantity-procart p {
  margin-bottom: 0px;
}

.quantity-counter-procart {
  /* border: 1px solid #dfdfdf; */
  width: 100%;
  max-width: 80px;
  height: 30px;
  line-height: normal;
  text-align: center;
  border-radius: 3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.counter-procart {
  background-color: transparent;
  border: 0px;
  width: 30%;
  color: #333;
  outline: none;
  cursor: pointer;
  font-size: 23px;
}

.counter-procart:hover,
.counter-procart:focus {
  color: #ec2d3f;
}

.counter-procart:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.counter-procart:disabled:hover {
  color: #ccc;
  cursor: not-allowed;
}

.counter-procart-minus {
  line-height: 26px;
}

.counter-procart-plus {
  line-height: 24px;
}

.quantity-counter-procart .quantity-procart {
  width: 40%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 0px;
  border-right: 1px solid #dfdfdf;
  border-left: 1px solid #dfdfdf;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  padding: 0px;
  color: #333;
  text-align: center;
}

.price-procart {
  width: 33%;
  text-align: right;
}
.price-procart-rp {
  display: none;
  width: 100%;
  margin-bottom: 10px;
  font-size: 13.5px;
}
.price-new-cart {
  color: #ec2d3f;
  margin-bottom: 0px;
}

.price-old-cart {
  color: #999;
  text-decoration: line-through;
}

.procart-label {
  border: 0px;
  background: #eee;
  padding: 10px;
  margin: 0px;
  text-transform: capitalize;
}

.money-procart {
  margin-top: 15px;
  border-radius: 7px;
  overflow: hidden;
  padding: 1rem;
  background: #eaecef;
}

.total-procart {
  background: #eaecef;
  padding: 7px 0px;
  /* border: 1px solid #e8e8e8; */
  margin-bottom: -1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  /* margin-bottom: 1rem; */
}
.bet-procart{
    padding-top: 0.7rem;
    margin-top: 0.7rem !important;
    border-top: 1px solid #dddddd;
    padding-bottom: 0px;
}
.total-procart p {
  margin-bottom: 0px;
  font-size: 15px;
  font-weight: bold;
  font-size: 16px;
}
.btn-cart{padding: 10px;font-weight: bold;}
.total-procart p:last-child {
  color: #ec2d3f;
}
.total-procart.text-small{
    font-size: 14px;
}
.total-procart.text-small p{
    font-size: 14px;
    /* padding-left: 10px; */
    font-weight: normal;
}
.total-procart.text-small p:last-child{
    font-weight: bold;
    color: #000;
}
.section-cart {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
}

.title-cart {
  font-size: 20px;
  text-transform: uppercase;
  color: #000;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 15px;
  font-family: "ChakraPetch";
  font-weight: bold;
}

.information-cart {
  margin-bottom: 1.5rem;
}

.input-cart {
  margin-bottom: 0.5rem;
  position: relative;
}
.input-cart i {
  position: absolute;
  top: 10px;
  right: 8px;
}
.input-cart textarea {
  resize: none;
  height: 100px;
}
.input-cart input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  height: 50px;
  background: transparent;
  bottom: 0;
  color: transparent;
  cursor: pointer;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

.input-cart select {
  cursor: pointer;
}

.payments-cart {
  text-align: left;
  margin-bottom: 5px;
  min-height: auto;
  padding-left: 0;
  margin-left: 20px;
  position: relative;
}

.payments-cart:last-child {
  margin-bottom: 0px;
}

.payments-cart input {
  top: 10px;
  /* opacity: 0; */
  position: absolute;
}

.payments-label {
  cursor: pointer;
  background: #e9ecef;
  display: block;
  padding: 10px 15px;
  border-radius: 3px;
  margin-bottom: 0px;
  color: #313131 !important;
}

.payments-label::before,
.payments-label::after {
  top: calc(50% - 1rem / 2);
}

.payments-label.active {
  background: var(--background-static);
  color: #ffffff !important;
}

.payments-info {
  opacity: 0;
  visibility: hidden;
  height: 0px;
  overflow: hidden;
  background: #f5efef;
  border-radius: 5px;
}

.payments-info p {
  margin-bottom: 1em;
}

.payments-info.active {
  padding: 10px 15px;
  margin-top: 5px;
  opacity: 1;
  visibility: visible;
  height: auto;
}

.btn-cart {
  text-transform: capitalize;
  background: #000;
  border-color: #000;
}

.empty-cart {
  padding: 25px 30px;
  text-align: center;
  display: block;
}

.empty-cart i {
  color: red;
  font-size: 70px;
}

.empty-cart p {
  margin: 15px 0px;
  color: #333;
  font-size: 18px;
}
.color-pro-detail {
  width: 100%;
}
.color-pro-select {
  cursor: pointer;
  display: inline-block;
  vertical-align: top;
  position: relative;
  /* width: 30px; */
  height: 32px;
  margin: 0px 5px 5px 0px;
  border: 1px solid #eee;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  /* border-radius: 7px; */
  display: inline-flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 5px 3px;
  overflow: hidden;
}
.color-pro-detail.active {
  border: 1px solid red;
}
.color-pro-detail span {
  width: 25px;
  height: 25px;
  margin-right: 5px;
  background-size: 100% 100%;
}
.color-pro-detail::after {
  /*content: "";
      position: absolute;
      top: -1px;
      bottom: -1px;
      left: -1px;
      right: -1px;*/
  /* border-radius: 5px; */
  /* box-shadow: 0px 0px 0.5px 0px #ccc; */
}
.color-pro-detail.active::after {
  /* border: 1px solid #ff0000; */
}
.color-pro-detail:hover .color-tooltip {
  display: block;
}

.size-pro-detail,
.capacity-pro-detail,
.origin-pro-detail {
  cursor: pointer;
  border: 1px solid #e8e8e8;
  display: inline-flex;
  position: relative;
  margin-bottom: 0;
  padding: 5px 10px;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  min-width: 70px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 300;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.size-pro-detail + .size-pro-detail,
.capacity-pro-detail + .capacity-pro-detail,
.origin-pro-detail + .origin-pro-detail {
  margin-left: 5px;
}

.size-pro-detail.active,
.capacity-pro-detail.active,
.origin-pro-detail.active {
  border-color: #ff0000;
  color: #000;
}
.color-pro-detail.active::before,
.size-pro-detail.active::before,
.capacity-pro-detail.active::before,
.origin-pro-detail.active::before {
  content: "";
  padding: 4px;
  font-size: 10px;
  line-height: 1;
  position: absolute;
  top: -13px;
  right: -13px;
  background: red;
  width: 26px;
  height: 24px;
  transform: rotate(45deg);
  border-radius: 100%;
}
.color-pro-detail.active::after,
.size-pro-detail.active::after,
.capacity-pro-detail.active::after,
.origin-pro-detail.active::after {
  content: "";
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfkCw8RJSHXzNuNAAAAfElEQVQoz7WRsQ2CYBQGLwRCaLRkDwqdwcLCSZjCmj2AgtoJXMbEUquzEAz+8Je89r675sGG59ka0ig+0ZFbJDGbgRwoAXemi/hb1QZw793ebB739cPgTdV2qvzZAFY+VL+VwB4nB59j5RLYhBVXcTBZw7NJDAN49LrFyz67GnkMHStx0wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xNVQxNzozNzozMyswMDowMGfDTJEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTVUMTc6Mzc6MzMrMDA6MDAWnvQtAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0px;
  right: 0;
  width: 8px;
  height: 8px;
}

.color-pro-detail input[type="radio"],
.size-pro-detail input[type="radio"],
.capacity-pro-detail input[type="radio"],
.origin-pro-detail input[type="radio"] {
  display: none;
}

.quantity-pro-detail {
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  height: 45px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #dfdfdf;
}

.quantity-pro-detail span {
  line-height: 25px;
  padding: 0px;
  width: 45px;
  height: 100%;
  color: #000;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  background: #000;
  color: #fff;
}

.quantity-pro-detail span.quantity-plus-pro-detail {
  border-left: 0px;
}

.quantity-pro-detail span.quantity-minus-pro-detail {
  border-right: 0px;
}

.quantity-pro-detail input {
  height: 100%;
  border: none;
  width: calc(100% - 90px);
  text-align: center;
  font-size: 15px;
}

.cart-pro-detail {
  /* max-width: 400px; */
  margin: 10px 0px;
}

.cart-pro-detail a {
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  width: calc(100% / 2 - 5px);
  height: 45px;
  border-radius: 5px;
}

.cart-pro-detail a.addnow {
  background: #fff;
  background: #c33737;
}

.cart-pro-detail a.addnow:hover {
  color: #fff;
  background: #e70000;
}

.cart-pro-detail a.buynow {
  background-color: var(--background-static);
}

.cart-pro-detail a.buynow:hover {
  background-color: #000;
  color: #fff;
}

.cart-pro-detail a i {
  vertical-align: top;
  margin-right: 8px;
  font-size: 20px;
  position: relative;
  top: -2px;
}

@media (max-width: 1024px) {
  .cart-pro-detail {
    width: 100%;
    margin-top: 10px;
  }
}
@media only screen and (min-width: 768px) {
  .procart-label .quantity-procart p:first-child {
    display: block;
  }
  .procart-label .quantity-procart p:last-child {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .price-procart {
    /* display: none; */
    width: 25%;
  }
  .quantity-procart {
    text-align: right;
  }
  .price-procart-rp {
    display: block;
  }
  .procart-label .quantity-procart p:first-child {
    display: none;
  }
  .procart-label .quantity-procart p:last-child {
    display: block;
  }
}
@media only screen and (max-width: 575px) {
  .name-procart a {
    font-size: 13px;
  }
  .procart-label {
    font-size: 13px;
  }
  .cart-pro-detail {
    flex-wrap: wrap;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 11;
    background: #fff;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    padding-bottom: 6px;
    box-shadow: 0px 0px 3px 0px #ccc;
  }
  .cart-pro-detail a {
    /* width: 100%; */
    text-align: center;
    margin: 0px !important;
  }

  .cart-pro-detail a:first-child {
    /* margin-bottom: 5px !important; */
  }
}

.modal-content-cart {
  border-radius: 10px;
}
.modal-body-cart {
  text-align: center;
  padding: 40px 0;
}
.modal-body-cart img {
  width: 127px;
  height: 127px;
  border-radius: 50%;
}
.modal-body-cart h6 {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 10px;
}
.modal-body-cart .modal-des {
  color: #666666;
  font-size: 16px;
}
.desc-whosale {
  margin-left: 5px;
  font-size: 16px;
  color: #336f51;
  position: relative;
  top: -1.5px;
}
.box-dktt {
  /* padding: 15px; */
  /* border: 1px solid #eeeeee; */
  /* margin-top: -10px; */
  margin-bottom: 10px;
}
.box-dktt label {
  position: relative;
  top: 1px;
}
.box-dktt_in {
  overflow-y: scroll;
  height: 180px;
  padding-right: 15px;
}
.box-dktt_in::-webkit-scrollbar {
  background: #e8e8e8;
  width: 5px;
  height: 11px;
  border-radius: 15px;
  overflow: hidden;
}
.box-dktt_in::-webkit-scrollbar-thumb {
  background: #2453bd;
  border-radius: 15px;
  overflow: hidden;
}
.info-receive-product {
  margin-bottom: 1.5rem;
  background: #e9ecef;
  border-radius: 10px;
  padding: 1;
}
.info-receive-product-item {
  display: flex;
  border-bottom: 1px solid #e3e3e3;
  padding: 13px;
}
.info-receive-product-item:last-child {
  border: none;
}
.info-receive-product-item p.title-info-receive-product {
  margin-bottom: 0;
  width: 145px;
  font-weight: 700;
}
.info-receive-product-item p.content-info-receive-product {
  margin-bottom: 0;
  width: calc(100% - 150px);
}
.thankyou {
  box-shadow: 1px 1px 5px #7b78788f;
  padding: 50px 20px 30px 20px;
  border-radius: 20px;
}
.img-thank {
  text-align: center;
  margin: 20px 0 40px;
}
.thankyou .text-center {
  width: 210px;
  height: 50px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000000;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #000000;
}
.thankyou .text-center i {
  margin-right: 10px;
}
.thankyou .text-center a {
  color: #fff;
  text-transform: uppercase;
  font-size: 15px;
}
.thankyou .text-center:hover {
  background: transparent;
}
.thankyou .text-center:hover > a {
  color: #000000;
}

.modal-content-cart{border-radius: 10px;}
.modal-body-cart{text-align: center;padding: 40px 0;}
.modal-body-cart img{width: 127px;height: 127px;border-radius: 50%;}
.modal-body-cart h6{color: #000;font-size: 20px;font-weight: 600;margin-top: 10px;margin-bottom: 10px;}
.modal-body-cart .modal-des{color: #666666;font-size: 16px;}
.desc-whosale{
    margin-left: 5px;
    font-size: 16px;
    color: #336f51;
    position: relative;
    top: -1.5px;
}
.box-dktt{
    /* padding: 15px; */
    /* border: 1px solid #eeeeee; */
    /* margin-top: -10px; */
    margin-top: 10px;
    display: bl;
}
.box-dktt label{position:relative;top:1px;}
.box-dktt_in{
    overflow-y: scroll;
    height: 180px;
    padding-right:15px;
}
.box-dktt_in::-webkit-scrollbar {
    background: #e8e8e8;
    width: 5px;
    height:11px;
    border-radius:15px;
    overflow:hidden;
}
.box-dktt_in::-webkit-scrollbar-thumb {
    background: #2453bd;
    border-radius:15px;
    overflow:hidden;
}
.box-html-cart{
    position: absolute;
    top: 100%;
    right: 0px;
    width: 500px;
    pointer-events: none;
    opacity: 0;
}
.box-html-cart .money-procart{padding:0.4rem;margin-bottom: 10px;position: relative;position: relative;/* bottom: -17px; */}
.box-html-cart .modal-footer{border:none;}
.box-html-cart .btn-cart{width:100%;margin: 0px;}
.box-html-cart .modal-footer{padding:0rem;border: none;margin: 0px;}
.header-end:hover .box-html-cart{pointer-events: unset;opacity: 1;}