/* Detailed product content, presented in Zelfire's shared Gruvbox theme. */
.product-section-nav {
  position: sticky;
  top: 84px;
  z-index: 60;
  background: rgba(29,32,33,.96);
  border-top: 1px solid var(--bg1);
  border-bottom: 1px solid var(--bg2);
  backdrop-filter: blur(12px);
}
.product-section-nav > .wrap {
  display: flex;
  gap: 28px;
  padding-block: 15px;
  overflow-x: auto;
}
.product-section-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--fg2);
  font-size: .81rem;
  font-weight: 500;
}
.product-section-nav a:hover { color: var(--yellow); }
.product-section-nav a > span {
  font-family: 'Fira Code',monospace;
  color: var(--gray);
  font-size: .63rem;
}
.product-guide-section { scroll-margin-top: 65px; }
.product-library-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 20px;
}
.guide-chapter {
  min-width: 0;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--bg2);
  border-radius: var(--radius);
}
.guide-chapter-wide { grid-column: 1 / -1; }
.guide-index {
  display: block;
  color: var(--accent,var(--yellow));
  font-size: .66rem;
  margin-bottom: 12px;
}
.guide-chapter > h3 {
  font-size: 1.27rem;
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.guide-rich-content {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--fg2);
  font-size: .92rem;
  line-height: 1.8;
  font-weight: 300;
}
.guide-rich-content:empty { display: none; }
.guide-rich-content p { margin: 12px 0; }
.guide-rich-content > :first-child { margin-top: 0; }
.guide-rich-content > :last-child { margin-bottom: 0; }
.guide-rich-content h3,.guide-rich-content h4 {
  color: var(--fg0);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 600;
  margin: 25px 0 10px;
}
.guide-rich-content strong,.guide-rich-content b { font-weight: 600; color: var(--fg0); }
.guide-rich-content ul,.guide-rich-content ol { margin: 13px 0; padding-left: 22px; }
.guide-rich-content li { margin: 7px 0; }
.guide-rich-content li::marker { color: var(--accent,var(--aqua)); }
.guide-rich-content blockquote {
  border-left: 2px solid var(--accent,var(--yellow));
  margin: 22px 0 0;
  padding: 8px 0 8px 17px;
  font-size: .85rem;
  font-style: italic;
  color: var(--fg2);
}
.guide-rich-content pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  margin: 18px 0;
  background: var(--bg-hard);
  border: 1px solid var(--bg2);
  border-radius: 8px;
  color: var(--fg0);
  white-space: pre;
  overflow-wrap: normal;
  font-size: .78rem;
}
.guide-rich-content code,.guide-rich-content kbd,.guide-rich-content samp {
  font-family: 'Fira Code',monospace;
  font-size: .86em;
  color: var(--aqua);
}
.guide-rich-content :not(pre) > code {
  padding: 2px 5px;
  background: var(--bg-hard);
  border-radius: 4px;
}
.guide-rich-content pre code { font-size: 1em; color: inherit; }
.guide-rich-content .guide-table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: .83rem;
  margin: 20px 0;
}
.guide-rich-content th,.guide-rich-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bg2);
  text-align: left;
  vertical-align: top;
  min-width: 125px;
}
.guide-rich-content th { color: var(--fg0); font-weight: 600; }
.guide-rich-content .guide-lines { white-space: pre-line; }
.guide-rich-content .guide-card-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin: 18px 0;
}
.guide-rich-content .guide-inner-card {
  min-width: 0;
  padding: 20px;
  background: var(--bg-hard);
  border: 1px solid var(--bg2);
  border-radius: 10px;
}
.guide-inner-card > h3:first-child,.guide-inner-card > h4:first-child { margin-top: 0; }
.guide-inner-card .guide-card-grid { grid-template-columns: 1fr; }
.product-spec-list { border-top: 1px solid var(--bg2); }
.guide-spec { border-bottom: 1px solid var(--bg2); }
.guide-spec > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  color: var(--fg0);
  font-size: .97rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.guide-spec > summary::-webkit-details-marker { display: none; }
.guide-spec > summary .icon { width: 18px; height: 18px; color: var(--accent,var(--yellow)); }
.guide-spec[open] > summary .icon { transform: rotate(45deg); }
.guide-spec > .guide-rich-content { padding: 0 25px 24px 4px; max-width: 1000px; }
.guide-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}
.guide-screenshot {
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--bg2);
  border-radius: 11px;
}
.guide-screenshot > a {
  display: block;
  padding: 7px;
  border-bottom: 1px solid var(--bg2);
}
.guide-screenshot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.45;
  object-fit: contain;
  background: var(--bg-hard);
}
.guide-screenshot figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  color: var(--fg2);
  font-size: .7rem;
}
.guide-screenshot figcaption .mono { font-size: .61rem; color: var(--gray); margin-left: 6px; }
.guide-screenshot figcaption > span:last-child { color: var(--yellow); font-size: .64rem; }
.guide-screenshot figcaption .icon { width: 11px; height: 11px; }
.guide-more-screens { margin-top: 26px; }
.guide-more-screens > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 0 auto 25px;
  padding: 13px 22px;
  border: 1px solid var(--bg3);
  border-radius: 8px;
  color: var(--yellow);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.guide-more-screens > summary::-webkit-details-marker { display: none; }
.guide-more-screens > summary .icon { width: 16px; height: 16px; }
.guide-more-screens[open] > summary .icon { transform: rotate(45deg); }
.product-faq { max-width: 950px; }
.product-faq-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 14px; }
.product-faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  background: var(--bg-hard);
  border: 1px solid var(--bg2);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  max-width: 520px;
}
.product-faq-search .icon { width: 17px; height: 17px; color: var(--gray); }
.product-faq-search input { width: 100%; min-width: 0; padding: 2px; border: 0; background: transparent; color: var(--fg0); font-size: .88rem; }
.product-faq-search input::placeholder { color: var(--gray); }
.product-faq-toolbar > div { display: flex; gap: 8px; }
.product-faq-toolbar button { background: var(--bg-hard); color: var(--fg2); border: 1px solid var(--bg2); border-radius: 7px; font-size: .75rem; padding: 11px 14px; white-space: nowrap; }
.product-faq-toolbar button:hover { border-color: var(--yellow); color: var(--yellow); }
.product-faq-status { font-size: .66rem; color: var(--gray); margin: 12px 0 20px; }
.product-faq-empty { padding: 25px 0; font-size: .9rem; color: var(--fg2); }
.product-faq .faq-item > .guide-rich-content { padding-bottom: 24px; }
@media(max-width:860px) {
  .product-section-nav { top: 76px; }
  .product-section-nav > .wrap { gap: 22px; padding-block: 14px; }
  .product-section-nav a { font-size: .75rem; }
  .guide-chapter { padding: 24px; }
  .guide-chapter > h3 { font-size: 1.16rem; }
  .guide-screenshot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
}
@media(max-width:640px) {
  .product-section-nav > .wrap { gap: 20px; }
  .product-section-nav a { font-size: .72rem; }
  .product-section-nav a > span { font-size: .58rem; }
  .product-library-grid { grid-template-columns: 1fr; gap: 16px; }
  .guide-chapter { padding: 24px 21px; }
  .guide-chapter > h3 { font-size: 1.2rem; }
  .guide-rich-content { font-size: .93rem; }
  .guide-rich-content .guide-card-grid { grid-template-columns: 1fr; gap: 12px; }
  .guide-rich-content .guide-inner-card { padding: 18px; }
  .guide-rich-content pre { font-size: .7rem; padding: 14px; }
  .guide-spec > summary { font-size: .93rem; padding-block: 18px; }
  .guide-spec > .guide-rich-content { padding-right: 4px; }
  .guide-screenshot-grid { grid-template-columns: 1fr; gap: 17px; }
  .guide-screenshot img { aspect-ratio: 1.4; }
  .guide-screenshot figcaption { padding: 13px; font-size: .76rem; }
  .guide-more-screens > summary { font-size: .77rem; padding-inline: 15px; }
  .product-faq-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .product-faq-search { max-width: none; padding: 10px 12px; }
  .product-faq-search input { font-size: .82rem; }
  .product-faq-toolbar > div { justify-content: flex-end; }
}
@media(prefers-reduced-motion:reduce) { .product-section-nav { backdrop-filter: none; } }
