/* Product discovery follows SOLARO's existing CI and locally hosted fonts. */
.pf-products-page [hidden] { display: none !important; }
.pf-products-page .pf-page-intro { max-width: 62ch; margin-bottom: 16px; }
.pf-overview { max-width: 800px; border-top: 1px solid #c9d2df; margin-top: 18px; }
.pf-overview summary { display: flex; align-items: center; gap: 18px; list-style: none; cursor: pointer; min-height: 48px; padding: 12px 0; color: var(--navy, #0a1f44); font-weight: 700; }
.pf-overview-indicator { flex: 0 0 auto; margin-left: auto; font-size: 1.45rem; line-height: 1; }
.pf-overview[open] .pf-overview-indicator { transform: rotate(45deg); }
.pf-overview-copy { padding-top: 8px; }
.pf-overview-copy p:last-child { margin-bottom: 0; }
.pf-finder { background: var(--navy, #0a1f44); color: #fff; }
.pf-products-page main .pf-finder { padding-block: clamp(36px, 5vw, 72px); }
.pf-finder .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px 64px; }
.pf-finder h2, .pf-finder h3 { color: #fff; }
.pf-finder h2 { font-size: clamp(1.65rem, 2.8vw, 2.65rem); max-width: 15ch; line-height: 1.4; }
.pf-finder-intro > p { color: #dce5f4; max-width: 47ch; }
.pf-browse-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.pf-finder a { color: #fff; text-underline-offset: 5px; }
.pf-finder a:hover { color: var(--gold, #ffc72c); }
.pf-finder :focus-visible { outline-color: var(--gold, #ffc72c); }
.pf-form { min-width: 0; align-self: start; }
.pf-select-label { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.pf-select { display: block; width: 100%; max-width: 100%; min-height: 54px; border: 1px solid #7b8da8; border-radius: 7px; padding: 12px 10px; font: inherit; font-size: 16px; line-height: 1.7; color: var(--navy, #0a1f44); background: #fff; }
.pf-actions { display: flex; gap: 12px 22px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.pf-reset { border: 0; background: transparent; color: #fff; font: inherit; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; min-height: 48px; padding: 8px; }
.pf-finder .btn-primary { color: var(--navy, #0a1f44); }
.pf-finder .btn-primary:hover { color: var(--navy, #0a1f44); }
.pf-results { grid-column: 1 / -1; }
.pf-results:empty { display: none; }
.pf-results:not(:has(.pf-result:not([hidden]))) { display: none; }
.pf-result { display: grid; grid-template-columns: 190px 1fr; gap: 30px; background: #fff; color: var(--navy, #0a1f44); padding: 28px; border-radius: 12px; scroll-margin-top: 120px; }
.pf-result[data-pf-result="unsure"] { display: block; }
.pf-result > img { width: 190px; height: 190px; object-fit: contain; align-self: center; }
.pf-result h3 { color: var(--navy, #0a1f44); margin-bottom: 12px; font-size: 1.5rem; }
.pf-result p { max-width: 72ch; margin-bottom: 12px; }
.pf-result .pf-result-label { font-size: .92rem; font-weight: 700; color: #465773; }
.pf-result .pf-result-note { color: #465773; font-size: .95rem; }
.pf-result-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 18px 0; }
.pf-result-facts > div { min-width: 0; }
.pf-result-facts dt { color: #465773; font-size: .92rem; }
.pf-result-facts dd { color: var(--navy, #0a1f44); font-weight: 700; margin: 4px 0 0; }
.pf-result a { color: var(--navy, #0a1f44); }
.pf-result a:hover { color: #174b9c; }
.pf-result .btn-secondary:hover { color: #fff; background: var(--navy, #0a1f44); }
.pf-result:focus-visible, .pf-result :focus-visible { outline-color: #2865bc; }
.pf-result .pf-team-link { font-weight: 700; }
.pf-model-nav { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.pf-model-nav a { border: 1px solid #c9d2df; border-radius: 6px; padding: 9px 14px; min-height: 44px; display: inline-flex; align-items: center; background: #fff; text-decoration: none; font-size: .92rem; font-weight: 700; }
.pf-model-nav a:hover { border-color: var(--navy, #0a1f44); background: #edf2f9; }
.pf-products-page main .pf-catalogue-section { padding-block: clamp(40px, 5vw, 76px); }
.pf-catalogue-section .pf-catalogue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.pf-catalogue .pf-product { background: #fff; border: 1px solid #d8e0eb; border-radius: 12px; box-shadow: none; overflow: hidden; padding: 0 28px 28px; display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 120px; }
.pf-catalogue .pf-product .pimg { margin: 0 -28px 26px; border: 0; background: #f0f4f9; padding: 28px; height: 295px; border-radius: 0; }
.pf-catalogue .pf-product .pimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pf-catalogue .pf-product h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin-bottom: 12px; }
.pf-catalogue .pf-product > p { max-width: 60ch; }
.pf-catalogue .pf-product > ul { list-style: none; padding: 0; margin-top: auto; width: 100%; }
.pf-catalogue .pf-product > ul > li { padding: 10px 0; margin: 0; border-top: 1px solid #e0e6ee; line-height: 1.6; }
.pf-catalogue .pf-product .price { font-size: 1rem; font-weight: 700; color: var(--navy, #0a1f44); }
.pf-catalogue .pf-product .donate { color: #236342; background: transparent; font-size: .92rem; }
.pf-catalogue .pf-product > p:last-child { margin: 10px 0 0; }
.pf-accessory-title { margin-top: 64px; }
.pf-catalogue-section .pf-accessories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.pf-accessories .card { box-shadow: none; border-radius: 10px; }
.pf-accessories .pimg { height: 210px; background: #f0f4f9; }
.pf-accessories .pimg img { height: 100%; width: 100%; object-fit: contain; }
.pf-products-page .pf-comparison-section { background: #f0f4f9; }
.pf-compare-help { font-size: .95rem; color: #465773; margin: 20px 0 12px; }
.pf-compare-controls { max-width: 560px; margin: 20px 0 12px; }
.pf-compare-scope { color: #465773; font-size: .94rem; margin: 12px 0 0; }
.pf-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-color: #667c9d #e0e7f0; border-radius: 8px; border: 1px solid #c9d2df; background: #fff; }
.pf-table-scroll:focus-visible { outline-color: #1c559b; }
.pf-comparison-table { width: 100%; min-width: 1030px; table-layout: auto; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
.pf-comparison-table th { background: var(--navy, #0a1f44); color: #fff; white-space: nowrap; }
.pf-comparison-table td { background: #fff; border-bottom: 1px solid #dce3ed; vertical-align: top; line-height: 1.7; }
.pf-comparison-table th, .pf-comparison-table td { padding: 18px 16px; }
.pf-comparison-table th:first-child, .pf-comparison-table td:first-child { position: sticky; left: 0; z-index: 1; min-width: 155px; max-width: 190px; font-weight: 700; box-shadow: 1px 0 0 #c9d2df; }
.pf-comparison-table tr:nth-child(even) td { background: #f6f8fc; }
.pf-comparison-table .pf-selected-row td { background: #fff2c6; border-bottom-color: #aa831c; }
.pf-comparison-table td:nth-child(2) { min-width: 170px; }
.pf-comparison-table td:nth-child(6) { font-weight: 700; white-space: nowrap; }
.pf-comparison-table .pending { font-weight: 400; font-size: .88rem; }
.pf-comparison-table[data-pf-view="cost"] [data-pf-column]:not([data-pf-column="model"]):not([data-pf-column="price"]):not([data-pf-column="warranty"]),
.pf-comparison-table[data-pf-view="light"] [data-pf-column]:not([data-pf-column="model"]):not([data-pf-column="brightness"]):not([data-pf-column="battery"]) { display: none; }
.pf-table-scroll .pf-comparison-table[data-pf-view="cost"],
.pf-table-scroll .pf-comparison-table[data-pf-view="light"] { min-width: 0; table-layout: fixed; }
.pf-comparison-table:is([data-pf-view="cost"], [data-pf-view="light"]) :is(th, td) { min-width: 0; max-width: none; width: auto; white-space: normal; overflow-wrap: anywhere; }
.pf-comparison-table:is([data-pf-view="cost"], [data-pf-view="light"]) [data-pf-column="model"] { width: 30%; }
.pf-comparison-table[data-pf-view="cost"] [data-pf-column="price"] { width: 34%; }
.pf-products-page :is(.pf-product, .pf-model-nav, #pf-comparison, #pf-catalogue) { scroll-margin-top: 120px; }
@media (max-width: 950px) {
  .pf-finder .container { grid-template-columns: 1fr; gap: 30px; }
  .pf-finder h2 { max-width: 24ch; }
  .pf-finder-intro > p { max-width: 70ch; }
}
@media (max-width: 620px) {
  .pf-products-page .page-head { padding-block: 24px; }
  .pf-products-page main .pf-finder { padding-block: 28px; }
  .pf-finder .container { gap: 22px; }
  .pf-finder h2 { font-size: 1.55rem; margin-bottom: 12px; }
  .pf-finder-intro > p { margin-bottom: 12px; }
  .pf-browse-links { margin-top: 12px; gap: 10px 24px; }
  .pf-form .pf-actions { margin-top: 16px; }
  .pf-result { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .pf-result > img { width: 110px; height: 110px; }
  .pf-result .pf-actions { align-items: flex-start; flex-direction: column; }
  .pf-catalogue-section .pf-catalogue, .pf-catalogue-section .pf-accessories { grid-template-columns: 1fr; gap: 22px; }
  .pf-catalogue .pf-product { padding-inline: 20px; padding-bottom: 22px; }
  .pf-catalogue .pf-product .pimg { margin-inline: -20px; height: 260px; padding: 20px; }
  .pf-model-nav { gap: 7px; }
  .pf-model-nav a { padding-inline: 11px; font-size: .84rem; }
  .pf-comparison-table th:first-child, .pf-comparison-table td:first-child { min-width: 128px; max-width: 145px; }
  .pf-comparison-table th, .pf-comparison-table td { padding: 14px 12px; }
  .pf-table-scroll .pf-comparison-table:is([data-pf-view="cost"], [data-pf-view="light"]) { font-size: 1rem; }
  .pf-comparison-table:is([data-pf-view="cost"], [data-pf-view="light"]) :is(th, td) { min-width: 0; max-width: none; padding: 14px 8px; }
  .pf-comparison-table:is([data-pf-view="cost"], [data-pf-view="light"]) .pending { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-products-page { scroll-behavior: auto; }
}
