.favorites__item {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.loading__div {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #c6c6c650;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  overflow-y: hidden;
  overflow-x: hidden;
  transition: all 0.5s ease 0s;
}

.loading__div._sending {
  opacity: 1;
  visibility: visible;
}

.loading__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.loading__body img {
  width: 50px;
}

.favorites__img {
  display: flex;
  justify-content: space-between;
}

.favorites__img__container {
  position: relative;
  height: 94px;
  width: 77px;
}

.favorites__img__container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.img__label__container {
  margin: 12px 0px 0px 30px;
}

.hidden__price {
  display: none;
}

.favorites__name {
  margin-bottom: 10px;
}

.favorites__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 240px;
}

.delete__icon {
  width: 32px;
  cursor: pointer;
}

.form__container {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  padding-top: 50px;
  border-top: 1px solid rgba(210, 210, 210, 1);
  margin: 0 auto;
}

.form__body {
  width: 500px;
}

.form__item {
  margin-bottom: 30px;
  transition: all 0.5s ease 0s;
}

.form__label {
  display: block;
  margin-bottom: 20px;
}

.form__input {
  width: 100%;
  height: 30px;
  outline: none;
  border-bottom: 1px solid #a4a4a4;
}

.form__input:focus {
  border-bottom-color: black;
}

.form__input._error {
  border-color: #cf2c20;
}

.form__text__and__button__container {
  max-width: 320px;
}

.hidden__text {
  display: none;
}

#price__counter {
  margin-top: 25px;
}

.button__make__an__order {
  font-size: 18px;
  padding: 12px 65px 12px 65px;
  color: white;
  background-color: rgba(83, 65, 55, 1);
  border: 2px solid rgba(83, 65, 55, 1);
  border-radius: 3px;
  margin-top: 25px;
}

.button__make__an__order:hover {
  color: rgba(83, 65, 55, 1);
  background-color: white;
  transition: all 0.3s ease 0s;
}

.button__make__an__order:active {
  color: white;
  background-color: rgb(73, 58, 49);
  border: 2px solid rgb(73, 58, 49);
}

@media (max-width: 1000px) {
  .form__body {
    width: 300px;
  }
}

@media (max-width: 790px) {
  .favorites__info {
    min-width: 150px;
  }

  .form__text__and__button__container {
    max-width: 250px;
  }

  .button__make__an__order {
    font-size: 15px;
    padding: 10px 40px 10px 40px;
  }

  .button__make__an__order:active,
  .button__make__an__order:hover {
    color: white;
    border: 2px solid rgba(132, 114, 104, 1);
    background-color: rgba(132, 114, 104, 1);
  }

  .form__label {
    margin-bottom: 10px;
  }
}

@media (max-width: 645px) {
  .form__container {
    flex-direction: column;
    padding-top: 30px;
  }

  .form__body {
    width: 100%;
  }

  .form__text__and__button__container {
    max-width: 100%;
  }

  .hidden__text {
    display: block;
    margin-bottom: 30px;
  }

  .visible__text {
    display: none;
  }

  #price__counter {
    margin: 0px 0px 0px 10px;
  }

  .button__make__an__order {
    font-size: 15px;
    padding: 10px 0px 10px 0px;
    width: 100%;
  }
}

@media (max-width: 530px) {
  .hidden__price {
    display: block;
  }

  .favorites__price {
    display: none;
  }

  .favorites__info {
    min-width: 32px;
    margin-left: 35px;
  }
}
