.product-en,
.product-info h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;

  letter-spacing: 0.08em;

  color: var(--color-subtext);

  margin-bottom: 1rem;
}


/* ========================================
   Product Detail
======================================== */

.product-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12rem var(--space-side);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;

}

/* image */

.product-image img {
  width: 100%;
  max-width: 380px;

  margin: 0 auto;
}

/* info */




.product-info h1 {
  font-size: 2.5rem;

  font-weight: normal;

  margin-bottom: 2.5rem;
}

.product-text {
  line-height: 2.3;

  margin-bottom: 3rem;
}

.price {
  font-family: 'Montserrat', sans-serif;

  font-size: 1.4rem;

  margin-bottom: 3rem;
}

/* button */


.detail-btn:hover {
  background: var(--color-text);

  color: var(--color-bg);
}



.back-product {
  position: fixed;

  right: 3rem;
  bottom: 3rem;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0.8rem;

  opacity: 0.7;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.back-product img {
  width: 38px;
}

.back-product span {
  font-family: 'Montserrat', sans-serif;

  font-size: 0.75rem;

  letter-spacing: 0.12em;

  color: var(--color-text);
}

.back-product:hover {
  opacity: 1;

  transform: translateY(-6px);
}

.detail-page #nav {
  opacity: 1;

  position: fixed;

  top: 2rem;
  right: 2.5rem;
  left: auto;

  width: auto;

  padding: 0;
}


.detail-btn {
  display: inline-block;

  padding: 1rem 2.8rem;

  border: 1px solid var(--color-text);

  font-family: 'Montserrat', sans-serif;

  font-size: 0.85rem;

  letter-spacing: 0.12em;

  transition: 0.4s ease;
}

body {
  background: #d2daa5;
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 768px) {

  .product-detail {
    padding: 8rem var(--space-side);
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .product-image img {
    max-width: 280px;
  }

  .product-info h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .product-text {
    line-height: 2;
    margin-bottom: 2rem;
    text-align: left;
  }

  .price {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .detail-btn {
    padding: 0.9rem 2rem;
  }

  .back-product {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .back-product img {
    width: 20px;
  }

  .back-product span {
    font-size: 0.65rem;
  }

  .detail-page #nav {
    top: 1.2rem;
    right: 1.5rem;
  }

}