#smca-modal-body {
  justify-content: end;
  display: flex;
}

#smca-modal-body .modal.cart {
  margin: 0;
  padding: 0px;
  max-width: 453px;
  height: 100vh;
  width: 100%;
}

#smca-modal-body .modal__title {
  text-align: left;
  text-transform: unset;
}

#smca-modal-body .modal__wrapper {
  padding: 24px;
}

#smca-modal-body .product-card_row .product-card__photo {
  height: 142px;
  max-width: 100px !important;
  width: 100px !important;
  border: 1px solid #0000001a;
  min-width: 100px !important;
}

#smca-modal-body .cart__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  max-height: 100%;
  margin: 0px !important;
  padding: 0px !important;
  width: 100% !important;
}

#smca-modal-body .total-price.cart-bottom-block {
  background: #f9f5f0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#smca-modal-body .total_without_disc,
#smca-modal-body .discount,
#smca-modal-body .total_bottom {
  width: 100%;
}

#smca-modal-body
  .checklist__item.product-card.product-card_row.product-table-body-row {
  border: unset;
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#smca-modal-body .price_container {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 10px !important;
  align-items: end;
}

#smca-modal-body .price {
  font-size: 20px;
  font-weight: 700;
  color: #ff3e53;
}

#smca-modal-body .stock_price {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
}
#smca-modal-body .checklist__item {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
#smca-modal-body .checklist__item .product-card__text {
  padding: 0px;
  margin: 0px;
}
#smca-modal-body .product-card__title a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

#smca-modal-body .product-card__title {
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: black;
  font-weight: 400;
  font-family: "GothamPro-Medium";
}

#smca-modal-body .product-card__text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

#smca-modal-body .product-card .btn_x:after,
#smca-modal-body .product-card .btn_x:before,
#smca-modal-body .product-card .btn.btn_x {
  width: 9px;
}

#smca-modal-body .modal__wrapper {
  max-height: 100vh;
}

#smca-modal-body .cart__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: white;
}
#smca-modal-body .cart__links .btn_grey-text {
  display: none;
}

#smca-modal-body .cart__links a:has(.btn_default) {
  width: 100%;
}

#smca-modal-body .cart__links .btn_default {
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  text-transform: unset;
}

#smca-modal-body .cart__links {
  width: 100%;
  z-index: 10;
  padding: 24px;
  left: 0;
  margin: 0;
  position: absolute;
  bottom: 0;
}
#smca-modal-body .cart__links .total_bottom {
  display: flex;
  flex-direction: row;
  border-top: 1px solid #0000001a;
  padding-top: 24px;
  justify-content: space-between;
  color: black;
  font-size: 20px;
  font-weight: 700;
}

#smca-modal-body .cart__links a input {
  transition: all 0.3s ease-in-out;
}

#smca-modal-body .cart__links a:hover input {
  background-color: #333333;
}

#smca-modal-body .cart__wrapper {
  padding-bottom: 185px;
}

#smca-modal-body .promocode {
  margin-bottom: 4px;
}

#smca-modal-body .promocode__body {
  display: flex;
  gap: 0;
}

#smca-modal-body .promocode__body input {
  flex: 1;
  border: 1px solid #0000001a;
  border-right: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

#smca-modal-body .smca-apply-coupon {
  white-space: nowrap;
  border-radius: 0;
  font-size: 14px;
  padding: 10px 16px;
}

#smca-coupon-message {
  margin-top: 6px;
  font-size: 12px;
  min-height: 18px;
}

#smca-modal-body .smca-coupon-error {
  color: #ff3e53;
}

#smca-modal-body .smca-coupon-success {
  color: #2d7a2d;
}

#smca-modal-body .shipping-free-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  width: 100%;
  color: #333333;
}

#smca-modal-body .shipping-free-label {
  color: #cf8d3d;
  font-weight: 700;
}

#smca-modal-body .free-shipping-block {
  padding: 16px 0 12px;
}

#smca-modal-body .free-shipping-text {
  font-size: 14px;
  color: #333333;
  margin: 0 0 10px;
}

#smca-modal-body .free-shipping-sum {
  color: #cf8d3d;
  font-weight: 700;
}

#smca-modal-body .free-shipping-bar {
  position: relative;
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: visible;
}

#smca-modal-body .free-shipping-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(to right, #000000, #ffbe70);
  border-radius: 4px;
  max-width: 100%;
}

#smca-modal-body .free-shipping-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #cf8d3d;
  border-radius: 50%;
  pointer-events: none;
}
#smca-modal-body .checklist.cart__list {
  max-height: unset;
  overflow: hidden;
}

@media (max-width: 768px) {
  #smca-modal-body .checklist.cart__list {
    flex-direction: column;
  }

  #smca-modal-body .product-card_row .product-card__photo {
    max-width: 60px !important;
    width: 60px !important;
    height: 84px;
  }

  #smca-modal-body .modal.cart {
    max-width: 100vw;
  }
}

.cart__links .promocode {
  width: 100%;
}

.cart__links .promocode .promocode__body {
  display: flex;
  position: relative;
  flex-direction: row;
  width: 100%;
  gap: 0;
}

.cart__links .promocode .promocode__body input {
  border: none !important;
  padding: 14px 0px !important;
  width: 100%;
  border-bottom: 1px solid black !important;
}

.cart__links .promocode .promocode__body button {
  padding: 14px !important;
  margin: 0;
  width: fit-content !important;
  max-width: unset !important;
  min-width: unset !important;
}

#smca-coupon-message {
  position: absolute;
  bottom: -20px;
}

.mfpnew-container .oc-body.modal__wrapper {
  margin-bottom: 20px;
}
.mfpnew-container .oc-footer .btn.btn-danger.pull-right {
  color: #ffffff;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  text-transform: uppercase;
  color: #fff;
  background: #ff3e53;
  padding: 17px;
  font-size: 16px;
  -webkit-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
  text-decoration: none;
  margin-left: 0px;
}

.mfpnew-container .oc-footer .btn.btn_default.knopka { 
  background-color: #000000;
}

