h1 {
  font-family: var(--font-secondary);
  color: var(--box-limed-spruce);
  text-align: left;
  line-height: 1.4;
  font-size: calc((3.6 - 1) * 1.2vh + 1rem);
  margin-bottom: 30px;
}

p {
  font-family: var(--font-primary);
  color: var(--box-limed-spruce);
  font-size: calc((1.1 - 1) * 1.2vw + 1rem);
  line-height: 1.6;
}

.product__description {
  margin: 60px 0 50px;
}

.product__image {
  width: 100%;
}

.product__form {
  display: flex;
  flex-direction: column;
}

.product__price {
  margin-bottom: 25px;
  font-size: calc((1.7 - 1) * 1.2vh + 1rem);
  font-family: var(--font-secondary);
}

.product__form__fields {
  display: flex;
  flex-direction: column;
  font-size: calc((1.2 - 1) * 1.2vh + 1rem);
  font-style: italic;
  color: var(--box-limed-spruce);
}

.product__form__label {
  margin: 40px 0 10px;
}

.product__form__dropdown {
  position: relative;
}

.product__form__dropdown select {
  width: 100%;
  padding: 1.5rem 3.5rem 1.5rem 1.5rem;
  font: inherit;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border-tiara);
  background-color: var(--bg-wild-sand);
}

.product__form__dropdown::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  transform: rotate(45deg);
  border-bottom: 1px solid;
  border-right: 1px solid;
  height: 1rem;
  width: 1rem;
  transform-origin: top;
  pointer-events: none;
  font-size: 1rem;
}

.product__form__input {
  max-width: 100px;
  padding: 1.5rem;
  margin: 0;
  font: inherit;
  border: 1px solid var(--border-tiara);
  background-color: var(--bg-wild-sand);
}

.product__form__dropdown select:focus,
.product__form__input:focus {
  outline: none;
}

.product__form__btn {
  width: 100%;
  padding: 20px 40px;
  background-color: var(--btn-golden-rod);
  color: var(--box-limed-spruce);
  border: none;
  cursor: pointer;
  margin: 40px 0 20px;
}

.product__form__btn:disabled {
  background: var(--border-tiara);
}

.product__form__btn:hover {
  opacity: 0.8;
}

.product__form__go_back {
  text-align: center;
  font-style: initial;
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: calc((0.9 - 1) * 1.2vw + 1rem);
  color: inherit;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
  }

  .product__description,
  .product__image {
    width: 45%;
    height: max-content;
  }

  .product__form__section {
    display: flex;
    flex-direction: column-reverse;
  }
}
