/* assets/css/product.css — Product Detail Page only */

.pd-wrap { max-width: 1100px; }

.pd-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.pd-breadcrumb a { color: var(--teal); }
.pd-breadcrumb a:hover { text-decoration: underline; }

/* ── Top: gallery + buy box ── */
.pd-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.pd-main-img {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }

.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 8px; cursor: pointer;
  border: 2px solid transparent; opacity: .7;
  transition: all .15s;
}
.pd-thumb:hover, .pd-thumb.active { border-color: var(--teal); opacity: 1; }

.pd-buybox { display: flex; flex-direction: column; }
.pd-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px; font-weight: 700;
  margin: 8px 0 12px; line-height: 1.3;
}

.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.pd-price { font-size: 30px; font-weight: 800; color: var(--text); }

.pd-description {
  font-size: 14px; line-height: 1.8; color: var(--muted);
  margin: 16px 0 24px;
}

.pd-add-btn { font-size: 15px; padding: 14px; margin-bottom: 10px; }
.pd-wishlist-btn { width: 100%; }

/* ── Detail sections ── */
.pd-details { display: flex; flex-direction: column; gap: 32px; }
.pd-block {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: var(--shadow);
}
.pd-block h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 17px; font-weight: 700;
  margin-bottom: 16px;
  color: var(--teal-dk);
}

.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li {
  font-size: 14px; color: var(--text);
  padding-left: 22px; position: relative;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal);
  font-weight: 700;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 10px 4px; font-size: 13.5px; }
.spec-label { color: var(--muted); font-weight: 500; width: 40%; }
.spec-value { color: var(--text); font-weight: 600; }

.datasheet-list { display: flex; flex-direction: column; gap: 10px; }
.datasheet-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--teal); font-weight: 500;
  padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 8px; transition: all .15s; width: fit-content;
}
.datasheet-link:hover { border-color: var(--teal); background: var(--sky); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .pd-top { grid-template-columns: 1fr; gap: 24px; }
  .feature-list { grid-template-columns: 1fr; }
}
