.checkout__product__item {
  border: 0.125rem solid #e8e8e8;
  border-radius: 0.38rem;
  display: flex;
  flex-wrap: wrap;
  padding: 1.35rem 1.6rem 2.275rem 1.35rem;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}

.checkout__product__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title_checkout {
  font-weight: 600;
  font-size: 0.88rem;
}

.checkout__content__top {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  gap: 1rem;
  justify-content: space-between;
}

.checkout__block {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.checkout__content {
  flex: 1;
}

.checkout__bar {
  width: 23rem;
}

.checkout__product__item__title {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.checkout__product__item__text {
  font-size: 0.88rem;
  line-height: 1.42857;
  margin-bottom: 1.15rem;
}

.checkout__product__item__image {
  border-radius: 0.38rem;
  width: 5.62rem;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.checkout__product__item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout__product__item__main {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  align-items: flex-start;
}

.checkout__content__top--title_2 {
  width: 12.25rem;
}

.checkout__product__item__info {
  flex: 1;
  padding-top: 0.55rem;
  max-width: 23rem;
}

.checkout__product__item__price {
  font-size: 1.12rem;
  line-height: 1.38889;
}

.checkout__product__item__price__total {
  font-weight: 600;
  font-size: 1.38rem;
  line-height: 1;
  color: #67c15e;
  margin-bottom: 0.9rem;
}

.checkout__product__item__add {
  padding-top: 0.55rem;
  width: 10.6rem;
}

.checkout__product__item__remove {
  font-size: 0.88rem;
  display: inline-flex;
  background: transparent;
  align-items: center;
  gap: 0.75rem;
}

.product__quantity {
  border-radius: 0.38rem;
  width: 8.56rem;
  display: flex;
  background: #eee;
  justify-content: space-between;
  overflow: hidden;
}
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.product__quantity__value {
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  width: 2rem;
  border: none;
  background: transparent;
  pointer-events: none;
  display: flex;
  flex: 1;
  padding: 0;
  max-width: none;
  text-align: center;
}

.product__quantity__btn {
  font-weight: 400;
  font-size: 1.25rem;
  aspect-ratio: 1/1;
  border: none;
  padding: 0;
  background: transparent;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product__quantity__btn:hover {
  background: #000;
  color: #fff;
}

.checkout__product__item__quantity {
  margin-bottom: 1.5rem;
}

.checkout__product__item__remove svg {
  width: 0.85rem;
  height: auto;
}

.checkout__product__item__remove:hover {
  opacity: 0.45;
}

.checkout__bar__title {
  text-align: right;
  margin-bottom: 0.75rem;
}

.checkout__bar_content {
  border: 0.125rem solid #e8e8e8;
  border-radius: 0.38rem;
  font-size: 0.88rem;
  padding: 2.3rem 2.1rem 3.25rem 2.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout__bar__row--total {
  border-bottom: 0.1rem solid #eee;
  padding-bottom: 2rem;
  margin-bottom: 0.75rem;
}

.checkout__bar__line {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.checkout__bar__line__title {
  flex: 1;
}

.checkout__bar__line__value {
  flex: 1;
  text-align: right;
}

.checkout__bar__text {
  font-size: 0.75rem;
  line-height: 1.58333;
  max-width: 30rem;
}

.checkout__bar__line--delivery {
  margin-bottom: 0.5rem;
}

.checkout__bar__row--delivery {
  border-bottom: 0.1rem solid #eee;
  padding-bottom: 1.5rem;
}

.checkout__bar__row--payment .checkout__bar__line__value {
  font-weight: 600;
  font-size: 1.38rem;
}

.checkout__bar__row--payment .checkout__bar__line__title {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.checkout__bar__row--payment .checkout__bar__line {
  align-items: center;
}

.checkout__bar__row--payment {
  margin-top: -0.5rem;
}

.checkout__bar__bottom {
  padding-top: 0.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox_field--checkout .checkbox_field__text {
  padding-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.35;
}
.checkout__section--cart {
  margin-bottom: 5rem;
}

.checkout__bar__line--delivery .checkout__bar__line__title {
  line-height: 1.65;
}

.radio_field__view {
  width: 1.625rem;
  aspect-ratio: 1/1;
  background: #e8e8e8;
  border-radius: 50%;
  position: relative;
}

input:checked + .radio_field__view:before {
  content: "";
  width: 55%;
  aspect-ratio: 1/1;
  background: #000000;
  border-radius: 50%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.radio_field input {
  position: absolute;
  opacity: 0;
}

.radio_field {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.radio_field__text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.checkout__bar__row__delivery_0__list {
  margin: 1.3rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 2rem;
}

.radio_field__text--delivery_0__title {
  min-width: 7.6rem;
  font-weight: bold;
}

.radio_field input ~ .radio_field__text {
  opacity: 0.5;
}

.radio_field input:checked ~ .radio_field__text {
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  .checkout__bar {
    width: 100%;
  }

  .checkout__content {
    flex: none;
    width: 100%;
  }
}
@media screen and (max-width: 750px) {
  .checkout__section--cart {
    margin-bottom: 44px;
  }
  .checkout__product__item__main {
    flex-direction: column;
    gap: 15px;
  }

  .checkout__product__item__image {
    width: 90px;
  }

  .checkout__product__item__info {
    padding: 0;
  }

  .checkout__product__item {
    padding: 20px;
    position: relative;
  }

  .checkout__product__item__add {
    width: 120px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .checkout__product__item__price__total {
    font-size: 18px;
    margin-bottom: 7.5px;
  }

  .checkout__product__item__quantity {
    margin-bottom: 12px;
  }
  .checkout__bar_content {
    padding: 20px;
  }
}
@media screen and (max-width: 550px) {
  .checkout__product__item__add {
    width: 100%;
    align-items: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
  }

  .checkout__product__item__image {
    width: 75px;
    border: 1px solid #ccc;
  }

  .checkout__product__item__remove {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0;
    width: 32px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7e7e7;
    border-radius: 0 0 0 5px;
  }

  .checkout__product__item__price__total {
    margin-bottom: 0;
    margin-top: -7px;
  }

  .checkout__product__item__remove span {
    display: none;
  }
}
