.cart {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
}

.cart__body {
  min-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
  padding: 60px 0px;
  -webkit-transition: all 0.8s ease 0s;
  -o-transition: all 0.8s ease 0s;
  transition: all 0.8s ease 0s;
  position: relative;
}

.cart__body h2 {
  margin-bottom: 60px;
}

.cart__overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 19, 18, 0.3);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.cart__content {
  background-color: #fff;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 960px;
          flex: 0 1 960px;
  padding: 80px 60px 110px;
  position: relative;
}

.cart__content p{
  margin: 0;
}

.cart__content .card__info{
  margin-bottom: 10px;
}

.cart__item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(64, 35, 16, 0.4);
  position: relative;
}

.cart__item-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.cart__item-img-wrap {
  position: relative;
  margin-right: 40px;
  margin-top: 11px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 200px;
          flex: 0 0 200px;
  height: 200px;
}

.cart__item-img-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: -11px;
  height: 100%;
  width: 165px;
  border: 1px solid #c9a58c;
  border-top-left-radius: 48px;
}

.cart__item-img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  height: 100%;
  border-top-left-radius: 55px;
  position: relative;
}

.cart__item-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
}

.cart__item-name {
  padding-right: 60px;
  margin-bottom: 15px;
  position: relative;
}

.cart__item-name a {
  display: inline-block;
  color: #402310;
  font-family: "Gilroy";
  font-size: 22px;
  line-height: 26px;
}

.cart__item-articul {
  color: rgba(64, 35, 16, 0.7);
  margin-bottom: 25px;
}

.cart__item-delete {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  background: url("../img/icons/icon-delete.png") 0 0/contain no-repeat;
}

.cart__item-size {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 55px;
}

.cart__item-size p {
  background: #f7dcc2;
  padding: 0 8px;
  height: 30px;
  min-width: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 10px;
}

.cart__item-bottom-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap-reverse;
      flex-wrap: wrap-reverse;
}

.cart__item-bottom-row button {
  min-width: 170px;
  height: 40px;
  font-family: "Gilroy";
  padding: 0 15px;
  font-size: 16px;
  line-height: 19px;
  margin-right: 15px;
  margin-bottom: 20px;
}

.cart__item-count-price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
  margin-top: 10px;

}

.cart__item-count-price strong {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  white-space: nowrap;
}

.cart__item-count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-right: 30px;
}

.cart__item-count span {
  display: block;
  font-size: 35px;
  cursor: pointer;
}

.cart__item-count p {
  min-width: 40px;
  padding: 0 8px;
  height: 40px;
  border: 1px solid #402310;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 22px;
  line-height: 26px;
  margin: 0 25px;
}

.cart__btn-close {
  position: absolute;
  right: 60px;
  top: 85px;
  width: 36px;
  height: 36px;
  border: 1px solid #fff;
  cursor: pointer;
}

.cart__btn-close span {
  position: absolute;
  left: 0;
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: #db1313;
}

.cart__btn-close span:first-child {
  top: 16px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cart__btn-close span:last-child {
  bottom: 17px;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.cart__final-price {
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  border-bottom: 1px solid #402310;
  margin-bottom: 30px;
}

.cart__final-price strong {
  margin-left: 80px;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
}

.cart__free-delivery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 50px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.cart__free-delivery p {
  margin-right: 20px;
}

.cart__free-delivery span {
  white-space: nowrap;
  font-size: 22px;
  line-height: 26px;
}

.cart__free-delivery-track {
  width: 248px;
  height: 8px;
  position: relative;
  background: #f7dcc2;
}

.cart__free-delivery-track div {
  position: absolute;
  height: 100%;
  width: 70%;
  background: #c9a58c;
}

.cart__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 130px;
}

.cart__buttons button {
  min-width: 220px;
  height: 40px;
  padding: 0 10px;
  font-family: "Montserrat";
  font-size: 16px;
  line-height: 20px;
}

.cart .card {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 240px;
          flex: 1 1 240px;
  max-width: 260px;
}

@media (max-width: 992px) {
  .cart__final-price {
    margin: 20px 0;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .cart__free-delivery {
    margin-bottom: 25px;
  }

  .cart__free-delivery-track {
    width: 100%;
    margin: 30px 0 50px;
  }
}

@media (max-width: 768px) {
  .cart__body {
    padding: 5px;
  }

  .cart__body h2 {
    margin-bottom: 50px;
  }

  .cart__content {
    padding: 40px 20px;
  }

  .cart__item-img-wrap::before {
    width: 125px;
  }

  .cart__item-name {
    margin-bottom: 10px;
  }

  .cart__btn-close {
    right: 20px;
    top: 40px;
  }

  .cart__buttons {
    margin-bottom: 120px;
  }

  .cart .card {
    margin: 0 15px 60px;
  }

  .cart .card .card__stars {
    width: 72px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 72px;
            flex: 0 0 72px;
    height: 12px;
  }

  .cart .card .card__mask {
    background-size: 72px 12px;
  }
}

@media (max-width: 700px) {
  .cart__item-img-wrap {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 153px;
            flex: 0 0 153px;
    height: 153px;
    margin-right: 30px;
  }

  .cart__buttons {
    margin-bottom: 90px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .cart__buttons button:first-child {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .cart .card {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 170px;
            flex: 1 1 170px;
  }
}

@media (max-width: 480px) {
  .cart__body h2 {
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 29px;
  }

  .cart__item-content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
  }

  .cart__item-name {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin-bottom: 35px;
  }

  .cart__item-name a {
    font-size: 20px;
    line-height: 24px;
  }

  .cart__item-delete {
    top: 5px;
  }

  .cart__item-size {
    margin-bottom: 20px;
  }

  .cart__item-bottom-row button {
    position: relative;
    left: -70px;
  }

  .cart__item-count-price {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .cart__item-count {
    margin-bottom: 20px;
    margin-right: 0;
  }

  .cart__free-delivery {
    margin-bottom: 30px;
  }

  .cart__free-delivery p {
    margin-bottom: 15px;
  }

  .cart__free-delivery span {
    width: 100%;
    text-align: right;
  }

  .cart .card {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 140px;
            flex: 1 0 140px;
    max-width: 145px;
  }

  .cart .card .card__price-old {
    display: none;
  }

  .cart .card .card__select {
    bottom: 45px;
  }
}