.checkout-layout:after {
  content: "";
  display: table;
  clear: both;
}
.checkout-layout__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.checkout-layout__container {
  width: 65%;
  float: left;
}
@media screen and (max-width: 992px) {
  .checkout-layout__container {
    width: 100%;
  }
}
.checkout-layout__aside {
  width: 35%;
  float: left;
  padding-left: 16px;
}
@media screen and (max-width: 992px) {
  .checkout-layout__aside {
    width: 100%;
    padding-left: 0;
  }
}

.checkout-panel {
  border: 1px solid #D5D7D9;
  background-color: #FFF;
  border-radius: 6px;
  box-shadow: 0 4px 6px 0 rgba(25, 25, 27, 0.0901960784);
  padding: 24px;
  margin-bottom: 16px;
}
.checkout-panel--alert {
  border-color: #E58C83;
  box-shadow: 0 4px 6px 0 rgba(229, 140, 131, 0.0901960784);
}
.checkout-panel--alert > .checkout-panel__title {
  color: #D84B3B;
}
.checkout-panel__title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 16px;
}
.checkout-summary__actions {
  margin-top: 16px;
}
.checkout-summary__item {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.checkout-summary__item:first-child {
  margin-top: 0;
}
.checkout-summary__item--separator {
  border-top: 1px solid #D5D7D9;
  padding-top: 16px;
}
.checkout-summary__item-label {
  color: #999BA1;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px;
}
.checkout-summary__item-label--total {
  color: #515151;
  font-weight: bold;
}
.checkout-summary__item-value {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  line-height: 25px;
}
.checkout-summary__item-value--discount {
  color: #469C53;
}
.checkout-summary__item-value--tax {
  font-weight: normal;
}

.checkout-coupon__wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}
.checkout-coupon__label {
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
}
.checkout-coupon__label--applied {
  color: #51B560;
}
.checkout-coupon > .control {
  width: 200px;
}
.checkout-coupon__error {
  color: #FF5A1F;
  font-size: 12px;
  line-height: 14px;
}

.cart__item.expansion > .cart__item-header.expansion__header {
  padding-right: 24px;
  padding-left: 56px;
}
.cart__item.expansion > .cart__item-header.expansion__header:after {
  right: auto;
  left: 16px;
}
.cart__item-tags {
  display: flex;
  gap: 16px;
  padding-top: 16px;
}
.cart__item__tag {
  padding: 4px 8px 4px 32px;
  position: relative;
  font-size: 14px;
  border-radius: 6px;
}
.cart__item__tag:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: no-repeat center;
  background-size: contain;
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.cart__item__tag--discount {
  background: #FEF7EC;
  color: #FF5A1F;
}
.cart__item__tag--discount:before {
  background-image: url(../images/icons/discount.svg);
}
.cart__item__tag--info {
  background: #ECF5FE;
  color: #468EEE;
}
.cart__item__tag--info:before {
  background-image: url(../images/icons/discount-save.svg);
}
.cart__item-header {
  line-height: 38px;
}
.cart__item-header .counter {
  width: 160px;
}
@media screen and (max-width: 568px) {
  .cart__item-header .counter {
    width: 100%;
  }
}
.cart__item-header__wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media screen and (max-width: 1460px) {
  .cart__item-header__wrapper {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 992px) {
  .cart__item-header__wrapper {
    flex-wrap: nowrap;
  }
}
@media screen and (max-width: 832px) {
  .cart__item-header__wrapper {
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 768px) {
  .cart__item-header__wrapper {
    gap: 8px;
  }
}
.cart__item-header__num {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: normal;
}
.cart__item-header__title {
  width: 100%;
  white-space: wrap;
  line-height: 1.2;
}
@media screen and (max-width: 568px) {
  .cart__item-header__title {
    margin-bottom: 8px;
  }
}
.cart__item-header__meta {
  font-size: 12px;
  font-weight: normal;
  width: 100%;
  line-height: 14px;
}
@media screen and (max-width: 568px) {
  .cart__item-header__meta {
    margin-top: 8px;
  }
}
.cart__item-header__price {
  width: 160px;
  flex-shrink: 0;
  text-align: right;
}
@media screen and (max-width: 568px) {
  .cart__item-header__price {
    width: 100%;
    text-align: left;
  }
}
.cart__item-header__price-label {
  display: inline-block;
  font-size: 12px;
  font-weight: normal;
}
.cart__item-header__price-value {
  display: inline-block;
  color: #469C53;
  font-size: 16px;
  font-style: normal;
}
.cart__item-body__product {
  display: flex;
  gap: 16px;
  line-height: 26px;
  align-items: center;
  padding: 14px 32px;
}
@media screen and (max-width: 768px) {
  .cart__item-body__product {
    flex-wrap: wrap;
  }
}
.cart__item-body__product-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: no-repeat center #D9D9D9;
  background-size: cover;
}
.cart__item-body__product-title {
  font-size: 16px;
  font-weight: bold;
}
.cart__item-body__product-price__wrapper {
  display: flex;
  gap: 8px;
}
.cart__item-body__product-price__now {
  color: #469C53;
  font-size: 16px;
  font-weight: bold;
}
.cart__item-body__product-price__was {
  color: #5A5C62;
  font-size: 12px;
  text-decoration-line: line-through;
}
.cart__item-body__product-info {
  padding: 4px 8px 4px 32px;
  position: relative;
  font-size: 14px;
  border-radius: 6px;
  background: #F8F8F8;
}
.cart__item-body__product-info:before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../images/icons/info.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.cart__item-coupon {
  max-width: 500px;
}

.checkout-layout--lead .checkout-coupon__wrapper .button {
  display: none;
}

.modal[data-id=auth] .modal__block {
  max-width: unset;
  height: 100vh;
  border-radius: 0;
}

.modal[data-id=auth] .modal__content {
  max-width: 768px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.modal[data-id=auth] .modal__container {
  padding: 0;
  top: 0;
  height: 100vh;
}

@media screen and (max-width: 992px) {
  .container {
    min-width: 100%;
  }
}
