/* =========================================================
   VONLOVI — product page
   ========================================================= */

body.page--product {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: #1a1a1a;
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
}

.product {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.product__status {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
}

.product__gallery {
  display: flex;
  flex-direction: column;
  background: #f4f1ec;
  min-height: 100vh;
}

.product__gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.product__info {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(88px, 14vh, 140px) clamp(28px, 5vw, 64px);
  box-sizing: border-box;
}

.product__famille {
  margin: 0 0 1.2em;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
}

.product__title {
  margin: 0 0 0.4em;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.product__price {
  margin: 0 0 1.6em;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.product__desc {
  margin: 0 0 2em;
  max-width: 38ch;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.62);
}

.product__cta {
  align-self: flex-start;
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  background: none;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 200ms ease;
}

.product__cta:hover {
  opacity: 0.5;
}

.product__ja-note {
  margin: -0.4em 0 1.4em;
  max-width: 28em;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: rgba(26, 26, 26, 0.62);
}

.product__size {
  margin: 0 0 1.6em;
}

.product__size-label {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}

.product__size select {
  display: block;
  min-width: 14em;
  max-width: 100%;
  margin: 0;
  padding: 6px 0 8px;
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: inherit;
  appearance: auto;
}

.product__size select:focus {
  outline: none;
  border-bottom-color: #1a1a1a;
}

.product__size-guide {
  margin: 0.75em 0 0;
  max-width: 38ch;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.5);
}

.product__assurances {
  margin: 2.2em 0 0;
  max-width: 42ch;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.5);
}

.product__assurances a {
  color: inherit;
  text-underline-offset: 3px;
}

.product__cta.is-waiting {
  opacity: 0.4;
}

.product__back {
  margin-top: 2.5em;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.45);
  text-decoration: none;
  transition: opacity 200ms ease;
}

.product__back:hover {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .product {
    grid-template-columns: 1fr;
  }

  .product__gallery {
    min-height: auto;
  }

  .product__info {
    position: relative;
    min-height: auto;
    padding: 48px 24px 80px;
  }
}
