/* Product sheets: article verdict geometry and existing reading design tokens.
   Display only. Scores, thresholds, widths, links and native details remain intact. */
.ct-page-product .ct-product-overview { gap: 28px; align-items: start; }
.ct-page-product .ct-product-overview > div { min-width: 0; }
.ct-page-product .ct-product-visual { border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-soft); }
.ct-page-product .prod-verdict {
  height: auto; padding: 24px; border: 1px solid var(--ct-line); border-radius: 16px;
  background: var(--ct-surface); color: var(--ct-text); box-shadow: none; gap: 18px;
}
.ct-page-product .prod-verdict-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--ct-accent); }
.ct-page-product .prod-verdict-score {
  align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin: 0; padding: 16px 18px; border: 0; border-radius: 12px; background: var(--ct-soft);
}
.ct-page-product .prod-verdict-value { font-size: 2.75rem; line-height: 1; }
.ct-page-product .prod-verdict-max { font-size: 1rem; font-weight: 600; color: var(--ct-muted); }
.ct-page-product .prod-verdict-tag { font-size: 12px; padding: 4px 10px; letter-spacing: 0; }
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--excellent),
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--very-good) { background: #ecfdf5; }
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--good),
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--fair),
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--meh) { background: #fffbeb; }
.ct-page-product .prod-verdict-score:has(.prod-verdict-tag--poor) { background: #fef2f2; }
.ct-page-product .prod-verdict-summary {
  margin: 0; padding: 0; border: 0; font-style: normal; color: var(--ct-text);
  font-size: 1rem; line-height: 1.6; text-align: left; overflow-wrap: break-word;
}
.ct-page-product .ct-product-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ct-page-product .ct-product-points > :only-child { grid-column: 1/-1; }
.ct-page-product .ct-product-point { min-width: 0; padding: 12px 14px; border-radius: 10px; color: var(--ct-text); font-size: 14px; line-height: 1.5; }
.ct-page-product .ct-product-point--pro { background: #f0fdf4; }
.ct-page-product .ct-product-point--con { background: #fef2f2; }
.ct-page-product .ct-product-point-title { margin: 0 0 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ct-page-product .ct-product-point--pro .ct-product-point-title,
.ct-page-product .ct-product-point--pro li > span { color: #047857; }
.ct-page-product .ct-product-point--con .ct-product-point-title,
.ct-page-product .ct-product-point--con li > span { color: #b91c1c; }
.ct-page-product .ct-product-point ul { list-style: none; margin: 0; padding: 0; }
.ct-page-product .ct-product-point li { display: flex; gap: 8px; margin: 5px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.ct-page-product .ct-product-point li > span { font-weight: 700; }
.ct-page-product .prod-verdict-subscores { margin: 0; padding-top: 18px; border-top: 1px solid var(--ct-line); gap: 16px 20px; }
.ct-page-product .prod-verdict-sub { min-width: 0; }
.ct-page-product .prod-verdict-sub-head { gap: 10px; align-items: baseline; }
.ct-page-product .prod-verdict-sub-label { color: var(--ct-muted); font-size: 13px !important; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.ct-page-product .prod-verdict-sub-val { flex-shrink: 0; font-size: 14px !important; }
.ct-page-product .prod-verdict-sub-val small { font-size: 11px !important; color: var(--ct-muted); }
.ct-page-product .prod-verdict-bar { height: 6px; background: var(--ct-line); }
.ct-page-product .prod-verdict-ctas:not(:has(a)) { display: none; }
.ct-page-product .prod-verdict-ctas { flex-direction: row; flex-wrap: wrap; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid var(--ct-line); }
.ct-page-product .prod-verdict-cta { min-height: 44px; margin: 0; padding: 11px 18px; font-size: 14px; line-height: 1.4; transform: none; }
.ct-page-product .prod-verdict-cta--buy { background: #d92f4b; color: #fff !important; }
.ct-page-product .prod-verdict-cta--buy:hover { background: #ba2440; transform: none; }
.ct-page-product .prod-verdict-cta--info { background: var(--ct-surface) !important; color: var(--ct-text) !important; border: 1px solid var(--ct-line) !important; }
.ct-page-product .prod-verdict-cta--info:hover { background: var(--ct-soft) !important; transform: none; }
.ct-page-product .ct-product-overview > div:first-child > a.inline-flex { min-height: 44px; border-radius: 999px; line-height: 1.5; }
.ct-page-product .ct-product-overview > div:first-child > a.bg-ink { background: #d92f4b; color: #fff; }
.ct-page-product .ct-product-overview > div:first-child > a.bg-ink:hover { background: #ba2440; }
/* Actions retain their labels, destinations and behaviour. */
.ct-page-product .sw-actions { gap: 12px; margin: 18px 0 0; border-color: var(--ct-line); }
.ct-page-product .sw-actions-group { gap: 7px; min-width: 0; }
.ct-page-product .sw-actions-label { color: var(--ct-muted) !important; font-size: 10px; font-weight: 600; }
.ct-page-product .sw-actions .sw-btn { height: auto; min-height: 44px; padding: 10px 12px; border: 1px solid var(--ct-line); background: var(--ct-surface); color: var(--ct-text); }
.ct-page-product .sw-actions .sw-btn:hover { background: var(--ct-soft); border-color: var(--ct-muted); color: var(--ct-text); }
.ct-page-product .sw-btn svg { width: 18px; height: 18px; }
.ct-page-product .sw-btn svg[stroke] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ct-page-product .sw-btn .sw-brand-icon { fill: none; }
/* Same reading panels and active colour. */
.ct-page-product .ct-product-details { gap: 28px; }
.ct-page-product #toc { padding: 16px; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-soft); top: 9rem; }
.ct-page-product #toc > p { color: var(--ct-muted); margin-bottom: 10px; }
.ct-page-product #toc-nav { display: grid; gap: 2px; max-height: calc(100dvh - 240px); overflow-y: auto; }
.ct-page-product #toc-nav a { margin: 0; padding: 9px 10px; border-left: 2px solid transparent; border-radius: 0 7px 7px 0; color: var(--ct-muted); line-height: 1.45; }
.ct-page-product #toc-nav a:hover { background: var(--ct-surface); color: var(--ct-text); }
.ct-page-product #toc-nav a.active { background: var(--ct-tint); border-left-color: var(--ct-accent); color: var(--ct-text); font-weight: 600; }
.ct-page-product #toc-nav a.active::before { content: none; }
.ct-page-product .verdict-content p { text-align: left; hyphens: manual; -webkit-hyphens: manual; color: var(--ct-text); }
.ct-page-product .verdict-content :is(h2,h3) { scroll-margin-top: 9.5rem; line-height: 1.3; }
.ct-page-product .verdict-content h2 { border-bottom: 1px solid var(--ct-line); padding-bottom: 12px; }
.ct-page-product :is(.ct-product-details,.ct-product-specs,.ct-product-faq) h2 { font-size: clamp(1.5rem,2.6vw,2rem); line-height: 1.25; margin-bottom: 20px; }
/* Two-column tables: complete labels and values stay visible. */
.ct-page-product .ct-product-specs > div { display: grid; gap: 16px; }
.ct-page-product .ct-product-spec-group { min-width: 0; border-color: var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-surface); }
.ct-page-product .ct-product-spec-group > div { background: var(--ct-soft); padding: 14px 16px; border-bottom: 1px solid var(--ct-line); }
.ct-page-product .ct-product-spec-group h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.ct-page-product .ct-product-spec-group table { display: table; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.ct-page-product .ct-product-spec-group tbody { display: table-row-group; }
.ct-page-product .ct-product-spec-group tr { display: table-row; background: var(--ct-surface); }
.ct-page-product .ct-product-spec-group tr:nth-child(even) { background: var(--ct-soft); }
.ct-page-product .ct-product-spec-group td { display: table-cell; vertical-align: top; width: 65%; padding: 12px 16px; color: var(--ct-text); border-bottom: 1px solid var(--ct-line); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; white-space: normal; }
.ct-page-product .ct-product-spec-group td:first-child { width: 35%; color: var(--ct-muted); font-weight: 500; }
.ct-page-product .ct-product-spec-group tr:last-child td { border-bottom: 0; }
/* Native details preserve keyboard activation and open/close behaviour. */
.ct-page-product .ct-product-faq > div { display: grid; gap: 10px; }
.ct-page-product .ct-product-faq details { margin: 0; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); background: var(--ct-surface); overflow: hidden; }
.ct-page-product .ct-product-faq summary { min-height: 52px; padding: 15px 18px; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ct-text); }
.ct-page-product .ct-product-faq summary:hover { background: var(--ct-soft); }
.ct-page-product .ct-product-faq summary svg { width: 18px; height: 18px; margin: 0; }
.ct-page-product .ct-product-faq details[open] { border-color: var(--ct-muted); }
.ct-page-product .ct-product-faq details[open] summary { background: var(--ct-soft); }
.ct-page-product .ct-product-faq details > div { padding: 14px 18px 18px; color: var(--ct-muted); font-size: 14px; line-height: 1.7; border-top: 1px solid var(--ct-line); }
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--excellent),
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--very-good) { background: rgba(16,185,129,.1); }
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--good),
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--fair),
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--meh) { background: rgba(245,158,11,.1); }
html.dark .ct-page-product .prod-verdict-score:has(.prod-verdict-tag--poor) { background: rgba(239,68,68,.1); }
html.dark .ct-page-product .ct-product-point--pro { background: rgba(16,185,129,.08); }
html.dark .ct-page-product .ct-product-point--con { background: rgba(239,68,68,.08); }
html.dark .ct-page-product .ct-product-point--pro :is(.ct-product-point-title,li > span) { color: #34d399; }
html.dark .ct-page-product .ct-product-point--con :is(.ct-product-point-title,li > span) { color: #f87171; }
@media(max-width:767px) {
  .ct-page-product .prod-verdict { padding: 18px; gap: 16px; }
  .ct-page-product .ct-product-points { grid-template-columns: minmax(0,1fr); }
  .ct-page-product .prod-verdict-subscores { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .ct-page-product .prod-verdict-score { padding: 14px 16px; }
  .ct-page-product .prod-verdict-value { font-size: 2.25rem; }
  .ct-page-product .prod-verdict-ctas { flex-direction: column; }
  .ct-page-product .prod-verdict-cta { width: 100%; align-self: stretch; }
  .ct-page-product .ct-product-spec-group td { padding: 10px 12px; }
  .ct-page-product .ct-product-spec-group td:first-child { width: 40%; }
  .ct-page-product .ct-product-spec-group td:last-child { width: 60%; }
  .ct-page-product .ct-product-faq summary { padding: 14px; }
  .ct-page-product .ct-product-faq details > div { padding: 12px 14px 16px; }
}
@media(prefers-reduced-motion:reduce) {
  .ct-page-product :is(.prod-verdict-bar > div,.prod-verdict-cta,.sw-btn,.ct-product-faq summary svg) { transition: none; }
}


/* Remove legacy utility margins inside grid panels and keep both themes on-brand. */
.ct-page-product .ct-product-specs .space-y-6 > .ct-product-spec-group,
.ct-page-product .ct-product-faq .space-y-3 > details { margin-top: 0; margin-bottom: 0; }
html.dark .ct-page-product .prod-verdict-eyebrow { color: var(--ct-accent); }
html.dark .ct-page-product .prod-verdict-summary { color: var(--ct-text); }
#product-sticky-bar .psb-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 999px; background: #d92f4b; color: #fff; line-height: 1.4; }
#product-sticky-bar .psb-cta:hover { background: #ba2440; }

/* One main offer in the verdict; the secondary offer follows the desktop TOC. */
.ct-page-product .ct-product-toc-links > p { color: var(--ct-muted); margin-bottom: 10px; font-size: 11px; }
.ct-page-product .ct-product-sidebar-offer {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  min-height: 44px; padding: 11px 14px; margin-top: 16px; border-radius: 999px;
  background: #d92f4b; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.4;
  text-decoration: none;
}
.ct-page-product .ct-product-sidebar-offer:hover { background: #ba2440; color: #fff; }
.ct-page-product .ct-product-sidebar-offer:only-child { margin-top: 0; }
.ct-page-product #toc { max-height: calc(100dvh - 160px); overflow-y: auto; }
.ct-page-product #toc-nav { max-height: calc(100dvh - 300px); }
/* Match the test buybar: bottom edge, safe-area inset, close control, no hidden focus. */
body #product-sticky-bar {
  top: auto; bottom: 0; left: 0; right: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--ct-line); border-bottom: 0;
  box-shadow: 0 -6px 24px rgb(0 0 0 / .06); backdrop-filter: blur(10px);
  transform: translateY(110%); visibility: hidden; pointer-events: none;
  transition: transform .25s ease, visibility 0s linear .25s;
}
body #product-sticky-bar.is-visible { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform .25s ease, visibility 0s; }
body #product-sticky-bar .psb-inner { max-width: 1100px; gap: 12px; }
body #product-sticky-bar .psb-img { width: 40px; height: 40px; border-radius: 8px; }
body #product-sticky-bar .psb-name { line-height: 1.3; }
body #product-sticky-bar .psb-meta { flex-wrap: wrap; gap: 2px 10px; line-height: 1.4; }
body #product-sticky-bar .psb-cta { font-weight: 700; }
body #product-sticky-bar .psb-close {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px;
  width: 36px; height: 44px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: var(--ct-muted); font-size: 24px; line-height: 1; cursor: pointer;
}
body #product-sticky-bar .psb-close:hover { color: var(--ct-text); background: var(--ct-soft); }
body #product-sticky-bar :is(a,button):focus-visible { outline: 2px solid var(--ct-accent); outline-offset: 3px; }
html.dark body #product-sticky-bar { background: rgba(15,15,15,.96); border-top-color: var(--ct-line); box-shadow: none; }
body.ct-product-buybar-visible { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media(max-width:480px) {
  body #product-sticky-bar { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
  body #product-sticky-bar .psb-img { display: none; }
  body #product-sticky-bar .psb-inner { gap: 8px; }
  body #product-sticky-bar .psb-name { font-size: 13px; }
  body #product-sticky-bar .psb-meta { font-size: 11px; gap: 2px 6px; }
  body #product-sticky-bar .psb-cta { padding: 10px 12px; font-size: 13px; }
  body #product-sticky-bar .psb-close { flex-basis: 28px; width: 28px; }
}
@media(prefers-reduced-motion:reduce) {
  body #product-sticky-bar, body #product-sticky-bar.is-visible { transition: none; }
}

