/* ==============================================
   GLASST — Product Detail Page Styles
   ============================================== */

/* ===== 제품 히어로 ===== */
.product-hero {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-2xl);
}

.back-link {
  font-family: var(--font-display);
  font-size: var(--font-size-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
  display: inline-block;
  margin-bottom: var(--space-2xl);
}

.back-link:hover {
  color: var(--color-text);
}

.product-label {
  /* Updated to match corrected nav sizing (0.75rem) */
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.product-tagline {
  font-size: var(--font-size-xl);
  font-weight: 300;
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: 600px;
}


/* ===== 제품 소개 그리드 ===== */
.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.product-desc p {
  font-size: var(--font-size-base);
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: var(--space-lg);
}

.product-detail {
  color: var(--color-text-secondary);
}

.features-label {
  font-family: var(--font-display);
  /* Updated to match corrected sizing (0.75rem) */
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.feature-item {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.feature-item:first-of-type {
  border-top: 1px solid var(--color-border);
}

.feature-text {
  font-size: var(--font-size-base);
  font-weight: 400;
  letter-spacing: 0.01em;
}


/* ===== 갤러리 그리드 ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.5rem, 1vw, 1rem);
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-placeholder {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder span {
  font-family: var(--font-display);
  /* Updated to match corrected sizing */
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}


/* ===== 안내 문구 ===== */
.gallery-notice {
  /* Updated to match corrected sizing */
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-text-dim);
  margin-top: var(--space-lg);
  font-style: italic;
}


/* ===== 반응형 ===== */
@media (max-width: 768px) {
  .product-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
}

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