/* ============================================================
   PRODUCTS — index grid + product detail layout.
   Cards themselves come from components.css (.product-card).
   ============================================================ */

/* ── INDEX GRID ── */
/* Flex (not grid) so an incomplete final row centres under the row above. */
.products-page-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.products-page-grid .product-card { flex: 0 1 calc((100% - 32px) / 3); }

/* ── DETAIL PAGE ── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-detail-visual {
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 120px;
}

/* full surgical-technique cover, uncropped, on the detail page */
.product-detail-img { width: 100%; height: auto; display: block; }

.product-detail-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.product-detail-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 0.95;
  color: var(--dark);
  margin-bottom: 24px;
}
.product-detail-name .pc-brand { color: var(--navy); }
.product-detail-name em { font-style: italic; color: var(--navy); }

.product-detail-intro { font-size: 18px; line-height: 1.65; color: var(--dark); margin-bottom: 28px; }

.product-detail-copy p { font-size: 16px; line-height: 1.75; color: var(--mid); margin-bottom: 18px; }

.product-features {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-features li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--dark);
}
.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.product-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }

/* ── RELATED ── */
.related-band { background: var(--off-white); }
.related-inner { max-width: 1200px; margin: 0 auto; padding: 96px 48px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

@media (max-width: 900px) {
  .products-page-grid .product-card { flex-basis: calc((100% - 16px) / 2); }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .product-detail-visual { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .related-inner { padding: 64px 24px; }
}

@media (max-width: 540px) {
  .products-page-grid .product-card { flex-basis: 100%; }
  .related-grid { grid-template-columns: 1fr; }
}
