/* === Product detail page === */
.detail-main { padding: 40px 0 80px; }

.breadcrumb {
  font-size: .88rem; color: var(--gray-600); margin-bottom: 30px;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { color: var(--navy); font-weight: 600; }

.detail-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px;
  margin-bottom: 70px;
}
.detail-media {
  background: var(--gray-50); border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  padding: 30px; min-height: 420px;
}
.detail-media img { max-height: 460px; width: auto; object-fit: contain; }

/* === Product image gallery === */
.product-gallery { width: 100%; }
.gallery-main {
  background: #fff; border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; min-height: 380px; max-height: 480px;
}
.gallery-main img { max-height: 460px; width: auto; object-fit: contain; }
.gallery-thumbs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
}
.gallery-thumbs .thumb {
  width: 78px; height: 78px; padding: 0; cursor: pointer;
  background: #fff; border: 2px solid var(--gray-200); border-radius: 10px;
  overflow: hidden; transition: border-color .15s ease;
}
.gallery-thumbs .thumb img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.gallery-thumbs .thumb.active { border-color: var(--navy); }
.gallery-thumbs .thumb:hover { border-color: var(--amber); }
@media (max-width: 600px) {
  .gallery-thumbs .thumb { width: 62px; height: 62px; }
}

.detail-cat {
  display: inline-block; background: rgba(246,185,59,.15); color: var(--amber-dark);
  font-size: .8rem; font-weight: 800; padding: 5px 14px; border-radius: 50px;
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: .5px;
}
.detail-info h1 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; }

.cert-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.cert-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--amber);
  font-size: .72rem; font-weight: 800; letter-spacing: .4px;
  padding: 5px 12px; border-radius: 6px;
}

.spec-table {
  width: 100%; border-collapse: collapse; margin-bottom: 26px;
  font-size: .92rem;
}
.spec-table th, .spec-table td {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--gray-200);
}
.spec-table th { width: 40%; color: var(--gray-800); font-weight: 700; background: var(--gray-50); }
.spec-table td { color: var(--gray-600); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--navy); }

.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; transform: translateY(-2px); }

.detail-usp { color: var(--gray-800); font-size: .92rem; }
.detail-usp li { padding: 4px 0; }

.detail-description {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 36px;
  margin-bottom: 60px;
}
.detail-description h2 { margin: 0 0 16px; color: var(--navy); font-size: 1.4rem; }
.detail-description p { margin: 0; color: var(--gray-600); line-height: 1.8; font-size: 1.02rem; }

.related-section { margin-bottom: 70px; }
.related-section h2 { color: var(--navy); margin-bottom: 24px; }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.related-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 18px; text-align: center; transition: var(--transition);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.related-card img { height: 120px; object-fit: contain; }
.related-card span { font-weight: 700; color: var(--navy); font-size: .95rem; }

.inquiry-section {
  background: var(--gray-50); border-radius: var(--radius); padding: 44px;
  border: 1px solid var(--gray-200);
}
.inquiry-section h2 { margin-top: 0; color: var(--navy); }
.detail-form { max-width: 760px; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .inquiry-section { padding: 26px; }
}

