/* /products/<slug>/ pages (W-3296). Uses the site's own tokens, ledger tables, checks list, trust-list and faq; only the layout
   of the first screen and the label panel are new. Class names start pp- so nothing on the guide pages is touched. */
.pp { padding-bottom: var(--s5); }
.pp-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s4); padding: var(--s3) 0 var(--s4); align-items: start; }
.pp-gal { min-width: 0; }
.pp-gal picture { display: block; background: #fff; border-radius: 4px; overflow: hidden; }
.pp-main { width: 100%; height: auto; display: block; }
.pp-thumbs { list-style: none; display: flex; gap: 8px; margin-top: 8px; }
.pp-th { display: block; width: 64px; height: 64px; border: 1px solid var(--rule); border-radius: 3px; background: #fff; overflow: hidden; }
.pp-th.on { border-color: var(--ink); border-width: 2px; }
.pp-th img { width: 100%; height: 100%; object-fit: contain; }
.pp-buy h1 { font-size: 34px; line-height: 1.08; }
.pp-key { margin-top: var(--s2); font-size: 18px; color: var(--ink); }
.pp-price { margin-top: var(--s2); font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.pp-price span { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.pp-per { margin-top: 4px; font-weight: 600; color: var(--ink); }
.pp-terms { margin-top: 6px; font-size: 15px; color: var(--ink2); }
.pp-why { margin-top: var(--s1); font-size: 16px; color: var(--ink); }
.pp-btn { margin-top: var(--s2); }
.pp-take p, .pp-cmp p, #testing p { max-width: 66ch; }
.pp-ss { margin-bottom: var(--s1); }
.pp-nf { max-width: 520px; }
.pp-nf th[scope="row"], .pp-spec th[scope="row"] { white-space: normal; }   /* site.css makes every .ledger th nowrap; a long label row name must wrap on a phone */
.pp-nf th[scope="row"], .pp-spec th[scope="row"] { font-size: 16px; font-weight: 500; color: var(--ink2); padding: 12px 12px 12px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--rule); }
.pp-spec th[scope="row"] { width: 38%; font-weight: 600; color: var(--ink); }
.pp-nf td, .pp-spec td { padding: 12px 12px 12px 0; }
.pp-note { margin-top: var(--s2); font-size: 14px; color: var(--muted); max-width: 66ch; }
.pp-fig { margin-top: var(--s3); max-width: 520px; background: #fff; border-radius: 4px; overflow: hidden; }
.pp-fig img { width: 100%; height: auto; display: block; }
.ledger tr.this td { background: var(--taupe); }
.pp-cmp .ledger td .btn.ghost { padding: 6px 10px; font-size: 14px; }
.pp-close { font-weight: 600; color: var(--ink); margin-top: var(--s2); }
.pp ol.checks li span { display: block; }
.pp .trust-list li { max-width: 66ch; }
@media (max-width: 819px) {
  .pp-top { grid-template-columns: 1fr; gap: 6px; padding-top: 8px; }
  .pp-main { max-height: 185px; object-fit: contain; }
  .pp-thumbs { display: none; }
  .pp-buy h1 { font-size: 21px; line-height: 1.12; }
  .pp-key { font-size: 15px; margin-top: 6px; }
  .pp-price { font-size: 26px; margin-top: 6px; }
  .pp-price span { font-size: 13px; }
  .pp-per, .pp-terms, .pp-why { font-size: 14px; margin-top: 3px; }
  .pp-btn { margin-top: 8px; }
}
@media (max-width: 700px) {   /* the site's phone rule stacks every ledger cell; the label panel and key facts stay real tables */
  .pp-nf, .pp-spec { display: table; width: 100%; }
  .pp-nf thead, .pp-spec thead { display: table-header-group; }
  .pp-nf tbody, .pp-spec tbody { display: table-row-group; width: auto; }
  .pp-nf tr, .pp-spec tr { display: table-row; padding: 0; border-bottom: 0; width: auto; }
  .pp-nf td, .pp-nf th, .pp-spec td, .pp-spec th { display: table-cell; width: auto; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; vertical-align: top; }
  .pp-spec th[scope="row"] { width: 40%; }
}
.pp-end { margin: var(--s3, 24px) 0 var(--s4, 32px); }
.pp-fig + .pp-fig { margin-top: var(--s2, 16px); }
.pp-var .ledger .btn.ghost { padding: 6px 10px; font-size: 14px; }
.pp-var .ledger td.num { white-space: nowrap; }
.pp-nf th[scope="row"], .pp-spec th[scope="row"] { white-space: normal; }   /* long row names wrap instead of pushing the label panel past a phone screen (S32) */
