/* Product detail — KR premium light */
.gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f4f6fb, #eef1f7);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
}
.thumbs button {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}
.thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumbs button.on {
  border-color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.detail-card { padding: 16px; margin-top: 10px; }
.detail-card h1 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.4;
}
.detail-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 4px;
}
.detail-price .now {
  font-size: 24px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -.03em;
}
.detail-price .sale {
  font-size: 14px;
  font-weight: 800;
  color: var(--sale);
}
.detail-price .old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}
.spec-block { margin-top: 14px; }
.spec-block h3 {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.desc {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--text2);
  font-size: 13px;
  line-height: 1.7;
}
.desc h3 { color: var(--text); font-size: 14px; margin: 0 0 8px; font-weight: 800; }

@media (min-width: 768px) {
  .product-layout {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 20px;
    align-items: start;
  }
  .detail-card { margin-top: 0; }
  #pcBuy { display: flex !important; }
}
