.main__cart {
  min-height: 90vh;
}

.container.cart-container {
  max-width: 1284px;
}

.cart__title {
  margin-top: 193px;
  margin-bottom: 16px;
  font-family: "Uindbase Font 1";
  font-style: normal;
  font-weight: 400;
  font-size: 100px;
  line-height: 70px;
  text-transform: uppercase;
  position: relative;
}
.cart__flex {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  margin-bottom: 95px;
}
.cart__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cart__forms {
  width: 100%;
}
.cart__forms_mobile {
  width: 100%;
  margin: 0 auto;
}

.cart-title__background {
  top: -45px;
  font-style: normal;
  font-weight: 700;
  font-size: 130px;
  line-height: 113px;
  text-align: center;
  text-transform: uppercase;
}

.list__item {
  width: 797px;
  background: #10171F;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.25fr 0.2fr 0.3fr 0.25fr;
  grid-template-rows: 0.5fr 0.5fr;
  grid-template-areas: "img title title title" "img size number price";
  font-family: "Uindbase Font 1";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  text-transform: uppercase;
}
.list__text {
  margin-top: 11px;
  align-self: end;
  text-align: right;
  max-width: 460px;
  font-family: "Uindbase Font 1";
  font-weight: 400;
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
  color: #3B4654;
}
.list__delivery {
  margin-top: 11px;
  align-self: end;
  font-family: "Uindbase Font 1";
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  text-align: right;
  text-transform: uppercase;
}
.list__total-price {
  margin-top: 11px;
  align-self: end;
  align-self: end;
  font-family: "Uindbase Font 1";
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  text-align: right;
  text-transform: uppercase;
}
.list__forms {
  display: none;
  max-width: 70%;
  margin: 0 auto;
  margin-top: 50px;
  font-size: 21px;
  line-height: 20px;
  padding: 15px 20px;
}

.list-item__img {
  grid-area: img;
  width: 100%;
  height: 100%;
  background-position: 50% 50%;
  background-size: cover;
}
.list-item__title {
  padding-top: 30px;
  grid-area: title;
  align-self: end;
  font-family: "Uindbase Font 1";
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  text-transform: uppercase;
}
.list-item__size {
  grid-area: size;
  padding-bottom: 30px;
}
.list-item__number {
  grid-area: number;
  padding-bottom: 30px;
}
.list-item__price {
  grid-area: price;
  padding-bottom: 30px;
}

.forms__title {
  padding-left: 13px;
  border-left: solid 3px #1F252D;
  font-family: "Uindbase Font 1";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  text-transform: uppercase;
}
.forms__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-left: solid 3px #1F252D;
  padding-left: 13px;
}

.cart__forms_mobile .forms__title {
  border-left: none;
  padding-left: 0;
}
.cart__forms_mobile .forms__item {
  border-left: none;
  padding-left: 0;
  align-items: center;
}
.cart__forms_mobile .forms-item__button {
  max-width: 95%;
  width: 100%;
  align-self: center;
}

.forms-item__subtitle {
  margin-top: 25px;
  font-family: "Uindbase Font 1";
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 15px;
  text-transform: uppercase;
  color: #464e59;
}
.forms-item__text {
  width: 100%;
  height: 40px;
  background: #10171F;
  border-radius: 10px;
  padding: 5px;
  padding-left: 10px;
  margin: 0;
  border: none;
  line-height: 30px;
  font-size: 30px;
}
.forms-item__radio {
  margin-top: 33px;
  display: flex;
  justify-content: space-between;
  max-width: 423px;
  gap: 24px;
}
.forms-item__radio #online {
  position: absolute;
  opacity: 0;
}
.forms-item__radio #offline {
  position: absolute;
  opacity: 0;
}
.forms-item__radio label {
  display: flex;
  background: #10171F;
  border-radius: 10px;
  height: 52px;
  max-width: 194px;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 6px 10px;
  font-family: "Uindbase Font 1";
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  text-transform: uppercase;
}
.forms-item__radio label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #3B4654;
  flex-shrink: 0;
  user-select: none;
  background-size: 100% 100%;
}
.forms-item__radio label:hover::before {
  border: 2px solid #D1C12B;
}
.forms-item__radio input:focus + label::before {
  border: 2px solid #D1C12B;
}
.forms-item__radio input[type=radio]:checked + label::before {
  background-image: url(/img/checked.svg);
  border: 2px solid #3B4654;
}
.forms-item__button {
  margin-top: 78px;
  width: 230px;
  padding: 13px;
  align-self: end;
}
.forms-item__agreement {
  margin-top: 19px;
}
.forms-item__agreement #agreement {
  position: absolute;
  opacity: 0;
}
.forms-item__agreement label {
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #10171F;
  border-radius: 10px;
  height: 52px;
  max-width: 194px;
  width: 100%;
  gap: 25px;
  padding: 6px 10px;
  font-family: "Uindbase Font 1";
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
}
.forms-item__agreement label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #3B4654;
  flex-shrink: 0;
  user-select: none;
  background-size: 100% 100%;
}
.forms-item__agreement label:hover::before {
  border: 2px solid #D1C12B;
}
.forms-item__agreement input:focus + label::before {
  border: 2px solid #D1C12B;
}
.forms-item__agreement input:checked + label::before {
  background-image: url(/img/checked.svg);
  border: 2px solid #3B4654;
}

@media (max-width: 1200px) {
  .cart-title__background {
    font-size: 100px;
    line-height: 90px;
    top: -20px;
  }
  .cart__forms {
    max-width: 434px;
  }
  .forms-item__text {
    font-size: 20px;
    line-height: 20px;
  }
  .forms-item__radio {
    flex-direction: column;
  }
  .forms-item__radio label {
    max-width: 100%;
    justify-content: start;
  }
  .forms-item__agreement label {
    max-width: 100%;
  }
  .list__item {
    width: 100%;
    min-width: 530px;
    gap: 15px;
    font-family: "Uindbase Font 1";
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 15px;
    text-transform: uppercase;
    align-items: center;
    flex-shrink: 0;
  }
  .list-item__title {
    font-size: 20px;
    line-height: 20px;
  }
}
@media (max-width: 866px) {
  .cart__title {
    font-size: 60px;
    line-height: 60px;
    margin-top: 130px;
  }
  .cart-title__background {
    font-size: 70px;
    line-height: 60px;
    top: -10px;
  }
  .cart__forms {
    display: none;
  }
  .list__item {
    font-size: 18px;
    line-height: 18px;
  }
  .list-item__title {
    font-size: 30px;
    line-height: 30px;
  }
  .list__forms {
    display: inline-flex;
  }
}
@media (max-width: 700px) {
  .cart__title {
    font-size: 50px;
    line-height: 50px;
  }
  .cart-title__background {
    font-size: 50px;
    line-height: 45px;
    top: -3px;
  }
  .list__item {
    min-width: auto;
    gap: 15px;
    grid-template-columns: 0.4fr 0.6fr;
    grid-template-rows: 0.35fr 0.2fr 0.2fr 0.25fr;
    grid-template-areas: "img title" "img size" "img number" "img price";
  }
  .list__forms {
    max-width: 95%;
    width: 100%;
  }
  .list-item__img {
    padding-right: 10px;
  }
  .list-item__title {
    font-size: 25px;
    line-height: 25px;
    padding-top: 10px;
  }
  .list-item__size {
    padding-bottom: 0;
  }
  .list-item__number {
    padding-bottom: 0;
  }
  .list-item__price {
    justify-self: end;
    padding-right: 20px;
    padding-bottom: 10px;
  }
}
@media (max-width: 450px) {
  .cart__title {
    font-size: 45px;
    line-height: 40px;
  }
  .cart-title__background {
    font-size: 43px;
    line-height: 40px;
  }
  .list__item {
    font-size: 14px;
    line-height: 14px;
  }
  .list__forms {
    font-size: 14px;
    line-height: 16px;
    padding: 15px 10px;
    overflow: visible;
  }
  .list-item__title {
    font-size: 16px;
    line-height: 16px;
  }
  .forms-item__button {
    font-size: 14px;
    line-height: 16px;
    padding: 15px 10px;
    overflow: visible;
  }
}