.product-page {
  background: #f1f7f7;
}

.product-layout {
  padding: 28px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.product-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding: 22px;
}

.product-gallery {
  position: relative;
  background: linear-gradient(160deg, #f7f8fa, #eef1f5);
  border-radius: 18px;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 24px;
}

.product-gallery img {
  width: 100%;
  max-width: 480px;
  object-fit: contain;
}

.product-info h1 {
  margin: 8px 0 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.product-lead {
  color: var(--muted);
  margin: 0 0 18px;
}

.product-price {
  margin: 10px 0 16px;
}

.product-price .price {
  font-size: 1.45rem;
}

.buy-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.page-qty {
  margin-top: 0;
}

.page-qty button {
  width: 38px;
  height: 38px;
}

.page-qty span {
  min-width: 34px;
  font-size: 1rem;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.spec-list span {
  color: var(--muted);
}

.product-extra,
.related-section {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.product-extra h2,
.related-section h2,
.product-extra h3 {
  margin: 0 0 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 1.15rem;
}

.product-extra h3 {
  margin-top: 18px;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li {
  margin-bottom: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.related-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f5f6f8;
  border-radius: 12px;
}

.related-card strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.related-card span {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.92rem;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

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

@media (max-width: 640px) {
  .product-main,
  .related-grid,
  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    min-height: 280px;
  }

  .product-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.product-reviews {
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}

.product-reviews h2 {
  margin: 0 0 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 1.15rem;
}

.product-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-card.light {
  background: #f7f8fa;
  border: 1px solid var(--line);
}

.review-card.light p {
  color: var(--muted);
  margin: 0;
}

.review-card.light .review-top strong {
  color: var(--text);
}

.review-card.light .review-top span {
  color: var(--muted);
}
