/* ════════════════════════════════════════════════════════════════════════════
   PRODUCT PAGE
   ════════════════════════════════════════════════════════════════════════════ */
.product-page { padding: 56px 0 96px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: start; }
}

/* ─── Gallery ─── */
.product-gallery { position: sticky; top: 96px; }
@media (max-width: 899px) { .product-gallery { position: static; } }

.pg-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.pg-main img { width: 100%; height: 100%; transform-origin: center; }
.pg-empty {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
}

.pg-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.pg-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-3);
  padding: 0;
  transition: border-color .2s;
}
.pg-thumb img { width: 100%; height: 100%; transform-origin: center; }
.pg-thumb.active { border-color: var(--gold); }

/* ─── Detail ─── */
.product-detail h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  margin: 8px 0 18px;
}
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.pd-price .price-current { font-size: 24px; letter-spacing: 0.02em; }
.pd-price .price-current.discount { color: var(--gold); }
.pd-price .price-original {
  color: var(--text-3);
  text-decoration: line-through;
  font-size: 18px;
}
.pd-desc { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 28px; }

.gold-divider { width: 56px; height: 1px; background: var(--gold); margin: 28px 0; }

.pd-specs {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 12px;
  margin-bottom: 36px;
}
.pd-specs dt {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: center;
}
.pd-specs dd { color: var(--text); font-size: 15px; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ─── Gallery arrows ─── */
.pg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--overlay-bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  transition: background .15s, color .15s, border-color .15s;
  z-index: 2;
}
.pg-nav:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.pg-prev { left: 12px; }
.pg-next { right: 12px; }