/* Document-backed product details share the live site design system. Author: imyzt */
@import url('./site.css');
@import url('./product-detail.css');
@import url('./document-detail-tech.css?v=20260915fix1');

html { scroll-padding-top: 126px; }
body[data-document-detail] .crumb { margin-top: var(--header-h); }
body[data-document-detail] .pd-wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
body[data-document-detail] .site-header { background: rgba(10,14,20,.97); }
body[data-document-detail] .pd-anchor {
  position: sticky;
  /* Header shrinks to 70px after scroll; stick flush under that bar. */
  top: 70px;
  z-index: 900;
  background: #0a0e14;
  border-bottom: 1px solid var(--line);
}
body[data-document-detail] .pd-anchor .pd-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
body[data-document-detail] .pd-anchor .pd-wrap::-webkit-scrollbar { display: none; }
body[data-document-detail] .pd-anchor a {
  flex: none;
  white-space: nowrap;
  padding: 17px 15px;
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
}
body[data-document-detail] .pd-anchor a:hover,
body[data-document-detail] .pd-anchor a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
body[data-document-detail] .pd-anchor .pd-anchor-back {
  margin-right: 8px;
  color: var(--text);
  font-weight: 600;
  border-bottom-color: transparent;
}
body[data-document-detail] .pd-anchor .pd-anchor-back:hover,
body[data-document-detail] .pd-anchor .pd-anchor-back.active {
  color: var(--gold);
  border-bottom-color: transparent;
}
body[data-document-detail] .pd-hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 64px;
  box-sizing: border-box;
}
body[data-document-detail] .pd-section {
  scroll-margin-top: 126px;
}
body[data-document-detail] .pd-section .detail-return { margin-top: 28px; }
body[data-document-detail] .pd-section .pd-intro { margin-bottom: 18px; }
body[data-document-detail] .pd-section .pd-intro:last-child { margin-bottom: 0; }
body[data-document-detail] .pd-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  margin-top: 30px;
}
body[data-document-detail] .pd-table {
  min-width: 640px;
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 13px;
}
body[data-document-detail] .pd-table th,
body[data-document-detail] .pd-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
body[data-document-detail] .pd-table th {
  background: var(--surface-2);
  color: var(--text-soft);
  font: 500 11px var(--ff-mono);
  letter-spacing: .08em;
  white-space: nowrap;
}
body[data-document-detail] .pd-table td { color: var(--text-soft); line-height: 1.7; }
body[data-document-detail] .pd-table td:first-child { color: #fff; font-weight: 600; width: 28%; }
body[data-document-detail] .pd-table tr:last-child td { border-bottom: 0; }
body[data-document-detail] .pd-table tr:hover td { background: rgba(255,255,255,.025); }
body[data-document-detail] .pd-process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
body[data-document-detail] .pd-process-list li {
  min-height: 0;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  padding: 24px 20px 24px 0;
}
body[data-document-detail] .pd-process-list li:last-child { border-right: 0; }
body[data-document-detail] .pd-process-list li > span {
  display: block;
  font: 800 40px/1 var(--ff-display, "Saira", sans-serif);
  color: rgba(255, 184, 0, .28);
  letter-spacing: 0;
  margin-bottom: 16px;
}
body[data-document-detail].jewelry-detail-page .pd-process-list li > span {
  color: rgba(200, 164, 99, .28);
}
body[data-document-detail] .pd-process-list h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
body[data-document-detail].jewelry-detail-page .pd-process-list h3 { color: #f7f2ea; }
body[data-document-detail] .pd-process-list p { margin: 0; }
body[data-document-detail] .pd-four-grid p { margin: 0; }
body[data-document-detail] .pd-process-list + .pd-intro,
body[data-document-detail] .pd-four-grid + .pd-intro,
body[data-document-detail] .pd-table-wrap + .pd-intro {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
body[data-document-detail].jewelry-detail-page .pd-process-list + .pd-intro,
body[data-document-detail].jewelry-detail-page .pd-four-grid + .pd-intro,
body[data-document-detail].jewelry-detail-page .pd-table-wrap + .pd-intro {
  border-top-color: rgba(226,200,156,.16);
}
body[data-document-detail].jewelry-detail-page .pd-four-grid {
  gap: 0;
  background: transparent;
  border: 0;
}
body[data-document-detail].jewelry-detail-page .pd-four-grid article {
  border: 1px solid rgba(226,200,156,.16);
  margin: 0 -1px -1px 0;
}
body[data-document-detail] .pd-solution-card { color: inherit; text-decoration: none; }
body[data-document-detail] .site-footer { margin-top: 0; }
body[data-document-detail].jewelry-detail-page .site-header,
body[data-document-detail].jewelry-detail-page .pd-anchor {
  background: #0e0d0d;
}
body[data-document-detail].jewelry-detail-page .pd-anchor a:hover,
body[data-document-detail].jewelry-detail-page .pd-anchor a.active {
  color: var(--j-gold-light);
  border-bottom-color: var(--j-gold);
}
body[data-document-detail].jewelry-detail-page .pd-table-wrap { border-color: rgba(226,200,156,.16); }
body[data-document-detail].jewelry-detail-page .pd-table { background: #11100f; }
body[data-document-detail].jewelry-detail-page .pd-table th,
body[data-document-detail].jewelry-detail-page .pd-table td { border-bottom-color: rgba(226,200,156,.13); }
body[data-document-detail].jewelry-detail-page .pd-table th {
  background: #1b1714;
  color: var(--j-gold-light);
}
body[data-document-detail].jewelry-detail-page .pd-table td:first-child { color: #f7f2ea; }
body[data-document-detail].jewelry-detail-page .pd-table tr:hover td { background: rgba(226,200,156,.04); }
@media (max-width: 768px) {
  body[data-document-detail] .pd-wrap { padding: 0 18px; }
  body[data-document-detail] .pd-hero {
    min-height: calc(100dvh - var(--header-h));
    padding: 28px 0 48px;
  }
  body[data-document-detail] .pd-anchor a { padding: 14px 10px; font-size: 12px; }
  body[data-document-detail] .pd-process-list,
  body[data-document-detail] .pd-process-list li,
  body[data-document-detail] .pd-process-list li:nth-child(3),
  body[data-document-detail] .pd-process-list li:nth-child(-n+3) {
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    min-height: 0;
  }
  body[data-document-detail] .pd-process-list li:last-child { border-bottom: 0; }
}
