#popupcart-modal-body {
  background: #fff;
  max-width: 710px;
  width: 90%;
  margin: 0 auto;
  min-height: 100px;
}
#popupcart-modal-body .modal-heading {
  color: rgb(16, 24, 40);
  font-size: 20px;
  font-weight: 600;
  padding: 0 20px;
  position: relative;
  min-height: 50px;
  line-height: 50px;
  overflow: hidden;
}
#popupcart-modal-body .modal-close {
  width: 24px;
  height: 24px;
  background: url('close.svg') no-repeat;
  right: 15px;
  top: 13px;
  position: absolute;
  cursor: pointer;
}
#popupcart-modal-body .modal-body {
  padding: 20px;
  overflow: auto;
}
#popupcart-modal-body .product-heading {
  font-size: 18px;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.popupcart-modal-loadmask {
  position: absolute;
  z-index: 10000;
  width: 100%;
  height: 100%;
  background: #eeeeee;
  opacity: 0.4;
  left: 0;
  top: 0;
}
.popupcart-modal-loadmask-loading {
  background: url(loading.svg) no-repeat center center;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10001;
  top: 0;
  left: 0;
}
#popupcart-modal-body .modal-body .product-table-cart {
  display: block;
  margin-bottom: 2rem;
}
#popupcart-modal-body .product-table-heading > div {
  color: rgb(71, 84, 103);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  padding-bottom: 1rem;
}
#popupcart-modal-body .product-table-body-row {
  display: grid;
  grid-template-columns: 1fr 2fr 3fr .3fr;
  padding: 2.5rem;
  gap: 1rem;
}
.product-table-body-row + .product-table-body-row {
  border-top: 1px dotted #D9D9D9;
}

#popupcart-modal-body .product-table-body-row .info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding-bottom: 2rem;
}
#popupcart-modal-body .product-table-body-row .remove input {
  display:block;
  margin:0 auto;
  border: 0;
  background: url('remove.svg') no-repeat;
  width: 24px;
  height: 24px;
}
#popupcart-modal-body .product-table-body-row .name-left {
  text-align: center;
}
#popupcart-modal-body .product-table-body-row .name-right {
  color: rgb(71, 84, 103);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0%;
  text-align: left;
  align-self: start;
}
#popupcart-modal-body .product-table-body-row .name-right a {
  color: #444;
  font-size: 15px;
  line-height: 15px;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}
#popupcart-modal-body .product-table-body-row .name-right a.error-stock {
  color: #bb1849;
}
#popupcart-modal-body .product-table-body-row .name-right a:hover {
  text-decoration: underline;
}
#popupcart-modal-body .product-table-body-row .name-right .model,
#popupcart-modal-body .product-table-body-row .name-right .options {
  font-size: 12px;
  color: #888;
  line-height: 14px;
}
#popupcart-modal-body .product-table-body-row .name-right .model span,
#popupcart-modal-body .product-table-body-row .name-right .options span {
  color: #444;
}

#popupcart-modal-body .product-table-body-row .price > div,
#popupcart-modal-body .product-table-body-row .total > div {
  display: block;
}
#popupcart-modal-body .product-table-body-row .price span,
#popupcart-modal-body .product-table-body-row .total span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #888;
  line-height: 12px;
  
}

#popupcart-modal-body .product-table-body-row .price,
#popupcart-modal-body .product-table-body-row .total,
#popupcart-modal-body .product-table-body-row .quantity {
  display: flex;
  flex-direction: column;
  align-items: center; 
  color: rgb(71, 84, 103);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
#popupcart-modal-body .product-table-body-row .quantity > .inner > div {
  display: flex;
}
#popupcart-modal-body .product-table-body-row .quantity > .inner > div > input.input-quantity {
  border-top: 1px solid #D9D9D9;
  border-left: unset;
  border-right: unset;
  border-bottom: 1px solid #D9D9D9;
  width: 36px;
  height: 36px;
  text-align: center;
}
#decrease-quantity,
#increase-quantity {
  text-decoration: none;
  color: rgb(52, 64, 84);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  display: block;
  width: 19px;
  height: 36px;
  padding: 0px 0px;
  margin: 0 auto;
  cursor: pointer;
  background: #fff;
  border: 1px solid #D9D9D9;
}
#decrease-quantity {
  border-radius: 8px 0px 0px 8px;
  -webkit-border-radius: 8px 0px 0px 8px;
  -moz-border-radius: 8px 0px 0px 8px;
}
#increase-quantity {
  border-radius: 0 8px 8px 0px;
  -webkit-border-radius: 0 8px 8px 0px;
  -moz-border-radius: 0 8px 8px 0px;
}
#decrease-quantity:active,
#increase-quantity:active {
  border-color: #4D90FE;
  color: #000;
  -moz-box-shadow: 0 0 10px #D4D4D4 inset;
  -webkit-box-shadow: 0 0 10px #D4D4D4 inset;
  box-shadow: 0 0 10px #D4D4D4 inset;
}
#decrease-quantity:hover,
#increase-quantity:hover {
  background: #F4F4F4;
  border-color: #C0C0C0;
}
#popupcart-modal-body .modal-body .totals {
  display: flex;
  justify-content: center;
  border-radius: 4px;
  background: #f5f5f5;
  padding: 1.2rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
#popupcart-modal-body .modal-body .totals > div {
  font-size: 14px;
  padding: 7px 10px 6px;
  text-align: center;
  color: #333;
}
#popupcart-modal-body .modal-body .totals > div > span {
  display: inline-block;
}
#popupcart-modal-body  #total-order,
#popupcart-modal-body  #weight-order {
  display: inline-block;
}
#popupcart-modal-body #check-data .error-text {
  font-size: 11px;
  color: #DF2E2E;  
  display: block;
  margin: -4px 0 2px;
}
#popupcart-modal-body #check-data .error-style {
  border: 1px solid #DF2E2E !important;
}

#popupcart-modal-body .modal-footer {
  padding: 0 20px 20px 20px;
  display: flex;
  justify-content: space-between;
  border-top: unset;
}
#popupcart-modal-body .modal-footer::after, #popupcart-modal-body .modal-footer::before {
  content: none;
}
#popupcart-modal-body > .modal-footer > input {
	height: 44px;
	font-size: 14px;
	color: #FFF;
	cursor: pointer;
	padding: 0 15px;
	box-sizing: border-box;
	border: unset;
	border-radius: 8px;
	box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
	background: #669900;
}
#popupcart-modal-body > .modal-footer > input.go-button-bottom:hover,
#popupcart-modal-body > .modal-footer > input.go-button-bottom:active {
  background-color: #6b8e23;
}
#popupcart-modal-body > .modal-footer > input.close-button-bottom {
  background: #d92d20;
}
#popupcart-modal-body > .modal-footer > input.close-button-bottom:hover,
#popupcart-modal-body > .modal-footer > input.close-button-bottom:active {
  background: #E94E4E;
}
#popupcart-modal-body .modal-body #popupcart-modal-data-empty {
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  color: #333;
  
}
#popupcart-modal-body .alert {
  color: #A94442;
  background-color: #F2DEDE;
  border: 1px solid #EBCCD1;
  padding: 8px 14px 8px 14px;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#popupcart-modal-body .product-table-body-row .name-left img {
	display: block;
	max-width: 100%;
	height: auto;
}
@media (max-width: 767px) {
  #popupcart-modal-body {
    min-width: 315px;
    width: 75vw;
  }
  #popupcart-modal-body .product-table-body-row {
    padding: 1.5rem;

  }
  #popupcart-modal-body .product-table-body-row .name-left {
    grid-area: 1/1/2/2;
    width: 56px;
  }
  #popupcart-modal-body .product-table-body-row .info {
    grid-area: 2/1/3/5;
  }
  #popupcart-modal-body .product-table-body-row .name-right {
    grid-area: 1/2/2/4;
  }
  #popupcart-modal-body .product-table-body-row .remove {
    grid-area: 1/4/2/5;
  }
  #popupcart-modal-body .product-table-body-row .name-right a {
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
  }
  #popupcart-modal-body .modal-footer {
    display: grid;
    gap: 1rem;
    justify-content: center;
  }
}
