.hide_empty_bottom {
  position: relative;
}

.basket-sale-text {
  color: #000;
  font-size: 15px;
  font-weight: 400;
  line-height: 130.023%;
  margin: 0 !important;
}

@media only screen and (max-width: 1023px) {
  .basket-sale-text {
    font-size: 14px;
  }
}

.basket-sale-preview {
  position: absolute;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 25px 0;
  transition: opacity 0.2s ease;
}

.basket-sale-preview .ibutton {
  width: calc(50% - 60px);
  height: 47px;
  line-height: 47px;
}

.basket-sale-preview .basket-sale-preview__wrap {
  width: calc(50% - 60px);
  border-radius: 10px;
  background: #ECECEC;
  box-shadow: -3px 4px 25px 1px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.basket-sale-preview .basket-sale-preview__wrap .basket-sale-text {
  position: relative;
  font-size: 14px;
}

.basket-sale-preview .basket-sale-preview__wrap .basket-sale-text a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.coupon-msg-active .basket-sale .basket-sale-right .basket-sale-text:not(.basket-sale-confirm),
.basket-sale .basket-sale-right .basket-sale-confirm,
.basket-sale-price {
  position: absolute;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.coupon-msg-active .basket-sale .basket-sale-right .basket-sale-confirm,
.basket-sale-price.active {
  position: unset;
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.basket-sale {
  position: unset;
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  width: 100%;
  border-radius: 10px;
  background: #ECECEC;
  box-shadow: -3px 4px 25px 1px rgba(0, 0, 0, 0.06);
  padding: 20px 25px;
  margin: 25px 0;
  min-height: 100px;
  transition: opacity 0.2s ease;
}

.basket-sale .basket-sale-wrap {
  display: flex;
  justify-content: space-between;
}

.basket-sale .basket-sale-left {
  position: relative;
  width: 50%;
  padding-right: 60px;
}

.basket-sale .basket-sale-left:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: calc(100% + 6px);
  transform: translateY(-50%);
  background: #FFFFFF;
}

.basket-sale .basket-sale-left p {
  color: #8D8D8D;
}

.basket-sale .basket-sale-left p span {
  color: #000000;
}

.basket-sale .basket-sale-right {
  position: relative;
  width: 50%;
  padding-left: 60px;
}

.basket-sale .basket-sale-right p {
  position: relative;
  z-index: 2;
}

.basket-sale .basket-sale-right p a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.basket-sale .basket-sale-right .basket-sale-image {
  position: absolute;
  top: 50%;
  right: -15px;
  transform: translateY(-50%);
  z-index: 1;
}

.basket-sale .basket-sale-right .image {
  width: 88px;
  position: relative;
  height: 0;
  padding-bottom: 112%;
}

.basket-sale .basket-sale-right .image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 991px) {
  .basket-sale .basket-sale-left {
    padding-right: 30px;
  }
}

@media only screen and (max-width: 768px) {
  .basket-sale-preview {
    width: 50%;
    flex-direction: column-reverse;
    gap: 20px;
    margin-left: auto;
  }

  .basket-sale-preview .ibutton {
    height: 40px;
    line-height: 40px;
    width: 100%;
  }

  .basket-sale-preview .basket-sale-preview__wrap {
    width: 100%;
  }

  .basket-sale {
    min-height: unset;
    padding: 20px;
  }

  .basket-sale .basket-sale-wrap {
    position: relative;
    flex-direction: column;
    gap: 15px;
  }

  .basket-sale .basket-sale-left {
    position: relative;
    width: 100%;
    padding: 0;
    z-index: 2;
  }

  .basket-sale .basket-sale-left:after {
    display: none;
  }

  .basket-sale .basket-sale-right {
    position: unset;
    display: block;
    width: 100%;
    padding: 0;
  }

  .basket-sale .basket-sale-right .image {
    width: 115px;
  }
}

@media only screen and (max-width: 550px) {
  .basket-sale-preview {
    width: 100%;
  }

  .basket-sale-preview .basket-sale-preview__wrap {
    width: 100%;
  }
}

@media only screen and (max-width: 375px) {
  .basket-sale .basket-sale-right p br,
  .basket-sale .basket-sale-left p br {
    display: none;
  }

  .basket-sale .basket-sale-right .basket-sale-image {
    opacity: 0.5;
  }
}

.hide_empty_top {
  display: none;
}

.cols-order {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.cols-order .col-order {
  position: relative;
  width: calc(50% - 60px);
  min-width: calc(50% - 60px);
  max-width: calc(50% - 60px);
  row-gap: 25px;
}

.description-help {
  position: absolute;
  left: 0;
  top: -50px;
  font-size: 14px;
  line-height: 16px;
  color: #8D8D8D;
}

.wrap-buttons-between .group-width {
  width: calc(50% - 10px);
  padding-left: 10px;
  padding-right: 10px;
}

.delete-all-products {
  margin-left: 1rem;
}

.share-basket, .delete-all-products {
  float: right;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
}

.share-basket .label, .delete-all-products .label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  padding-right: 0;
  padding-top: 2px;
}

.total-wrap.total-basket {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.basket-item-price-old-text {
  color: rgb(31 31 31 / 35%);
  font-size: 14px;
  text-decoration: line-through;
  margin-right: 15px;
}

.basket-coupon-wrapper {
  width: calc(50% - 60px);
  padding-top: 5px;
}

.basket-coupon-alert-section {
  margin-bottom: 15px;
}

.basket-coupon-alert-section,
.basket-coupon-alert-section * {
  font-size: 14px;
  line-height: 16px;
}

.basket-coupon-alert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 15px 0;
}

.basket-coupon-text {
  color: #8D8D8D;
}

.basket-coupon-text strong {
  text-transform: uppercase;
  color: #1F1F1F;
}

.basket-coupon-alert .close-link {
  text-transform: lowercase;
  border-bottom: 1px solid;
  line-height: 1;
  font-size: 12px;
}

.need-auth {
}

.need-auth .btn-auth-coupon {
  font-size: 12px;
  height: 34px;
  line-height: 32px;
  padding: 0 16px;
}

.need-auth .btn-auth-coupon + .close-link {
  display: none;
}

.basket-coupon-section .form .field .placeholder {
  font-size: 14px;
  text-transform: uppercase;
}

.basket-table tr.not_available {
  position: relative;
}

.basket-items-list-item-warning-container {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}

.basket-items-list-item-warning-container > div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.control .delete {
  position: relative;
  z-index: 1000;
}

.basket-wrapper {
  padding-top: 30px;
}

@media only screen and (max-width: 768px) {

  .cols-order.buttons {
    flex-direction: column-reverse;
  }

  .cols-order .col-order {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .cols-order.buttons .col-order.wrap-buttons-between {
    flex-direction: column;
  }

  .cols-order.buttons .col-order.wrap-buttons-between:nth-child(2) {
    display: flex !important;
    flex-direction: column-reverse;
  }

  .cols-order.buttons .col-order.wrap-buttons-between .ibutton:nth-last-child(1) {
    margin-bottom: 20px;
  }

  .page-content article .hide_empty_bottom h1 {
    margin-bottom: 45px;
  }

  .description-help {
    position: static;
    top: 0;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
  }

  .delete-all-products {
    margin-left: 10px;
  }

  .share-basket, .delete-all-products {
    margin-top: 0;
    margin-bottom: 0;
    float: right;
    display: block;
    text-align: left;
  }

  .share-basket .label,
  .delete-all-products .label {
    font-size: 12px;
  }

  .basket-coupon-wrapper {
    width: 100%;
    padding-top: 25px;
  }

  .total-wrap.total-basket .total-table {
    width: 100%;
  }

  .total-table tr td:nth-child(1) {
    padding-right: 10px !important;
  }

  .basket-item-price-old-text {
    position: absolute;
    top: -21px;
    right: 0;
    margin-right: 0;
    text-align: right;
    white-space: nowrap;
  }
}
