/* A product pages only. Enqueue after catalog, product-detail and navigation.
   Keep the brand shell dark; scope the light palette to the content tree. */
.theme-a.catalog-page main {
  color-scheme: light;
  --product-white: #ffffff;
  --product-soft: #f2f4f5;
  --product-table-head: #e7ecef;
  --product-control-line: #7b878f;
  --deep: var(--product-soft);
  --ink: var(--product-white);
  --slate: var(--product-white);
  --text: #242a2f;
  --muted: #52616a;
  --line: #d4dce1;
  --a-orange-text: #994510;
  --catalog-paper: var(--product-white);
  --catalog-quiet: var(--muted);
  --catalog-line: var(--product-control-line);
  --catalog-deep: var(--text);
  --detail-paper: var(--product-white);
  --detail-copy: var(--text);
  --detail-muted: var(--muted);
  background: var(--product-white);
  color: var(--text);
}

/* Strong black headings; orange is reserved for actions and small accents. */
.catalog-page main em { color: var(--text); }
.catalog-page main :focus-visible { outline-color: var(--a-orange-text); }
.catalog-page main .catalog-masthead,
.catalog-page main .product-top,
.catalog-page main .lhd-hero { background: var(--product-white); }
.catalog-page main .catalog-body,
.catalog-page main .catalog-context,
.catalog-page main .product-advantages,
.catalog-page main .product-related,
.catalog-page main .lhd-features,
.catalog-page main .lhd-cases { background: var(--product-soft); }
.catalog-page main .catalog-masthead,
.catalog-page main .product-top { border-bottom: 1px solid var(--line); }

/* Card outlines and quiet alternating surfaces replace the former dark panels. */
.catalog-page main .catalog-model-card,
.catalog-page main .catalog-category-card,
.catalog-page main .catalog-configuration,
.catalog-page main .lhd-case-card { background: var(--product-white); }
.catalog-page main .catalog-model-card:hover,
.catalog-page main .catalog-category-card:hover { border-color: var(--a-orange-text); }
.catalog-page main .catalog-model-image > span,
.catalog-page main .lhd-image-zoom { color: #ffffff; }
.catalog-page main .catalog-photo figcaption,
.catalog-page main .lhd-image figcaption {
  background: var(--product-soft);
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.catalog-page main .catalog-specs > div,
.catalog-page main .catalog-model-bottom,
.catalog-page main .lhd-feature-list article { border-color: var(--line); }
.catalog-page main .catalog-model-bottom { background: var(--product-white); }
.catalog-page main .catalog-category-card .catalog-kicker { color: var(--a-orange-text); }
.catalog-page main .catalog-sidebar nav > a:hover { background: var(--product-white); }
.catalog-page main .catalog-sidebar nav > a[aria-current] {
  background: var(--product-white);
  color: var(--text);
  font-weight: 600;
  border-left-color: var(--orange);
}
.catalog-page main .catalog-sidebar summary { border-color: var(--product-control-line); }
.catalog-page main .catalog-data-note {
  background: var(--product-white);
  color: var(--muted);
}

/* Search/select controls must opt out of the shared dark form theme too. */
.theme-a.catalog-page main input,
.theme-a.catalog-page main textarea,
.theme-a.catalog-page main select {
  color-scheme: light;
  background: var(--product-white);
  color: var(--text);
  border-color: var(--product-control-line);
}
.theme-a.catalog-page main input::placeholder,
.theme-a.catalog-page main textarea::placeholder { color: var(--muted); opacity: 1; }
.catalog-page main .catalog-reset { background: var(--product-white); }
.catalog-page main .catalog-reset:hover { background: var(--product-table-head); }

/* A pale equipment-data rail keeps the four important values easy to scan. */
.catalog-page main .product-hero-specs {
  background: var(--product-soft);
  color: var(--text);
  border-top: 2px solid var(--orange);
}
.catalog-page main .product-hero-specs > div { border-color: var(--line); }
.catalog-page main .product-hero-specs dd { color: var(--text); }
.catalog-page main .product-hero-specs dt,
.catalog-page main .product-hero-specs dd small { color: var(--muted); }
.catalog-page main .product-jump-nav,
.catalog-page main .lhd-section-nav {
  background: var(--product-white);
  border-color: var(--line);
}
.catalog-page main .lhd-section-nav a[aria-current] { color: var(--text); }

/* White technical sheets, pale zebra rows, no inverted document cards. */
.catalog-page main .product-technical,
.catalog-page main .lhd-technical { background: var(--product-white); }
.catalog-page main .product-spec-table thead,
.catalog-page main .lhd-spec-table thead { background: var(--product-table-head); }
.catalog-page main .product-spec-table tbody tr:nth-child(even),
.catalog-page main .lhd-spec-table tbody tr:nth-child(even) { background: var(--product-soft); }
.catalog-page main .product-spec-table th,
.catalog-page main .product-spec-table td,
.catalog-page main .lhd-spec-table th,
.catalog-page main .lhd-spec-table td { border-color: var(--line); }
.catalog-page main .product-documents,
.catalog-page main .specification-notice,
.catalog-page main .lhd-pending-data {
  background: var(--product-soft);
  color: var(--text);
}
.catalog-page main .lhd-option-list li::before { color: var(--a-orange-text); }
.catalog-page main .catalog-cta {
  background: var(--product-soft);
  color: var(--text);
  border-top: 1px solid var(--line);
}
.catalog-page main .catalog-cta p { color: var(--muted); }
.theme-a.catalog-page main .catalog-cta .button {
  background: var(--orange);
  color: var(--text);
}
.theme-a.catalog-page main .catalog-cta .button:hover { background: var(--orange-hover); }
.catalog-page main .lhd-lightbox { background: var(--product-white); color: var(--text); }
.catalog-page main .lhd-lightbox button {
  background: var(--product-soft);
  color: var(--text);
  border-color: var(--product-control-line);
}
.catalog-page main .lhd-lightbox button:hover { background: var(--product-table-head); }

@media (min-width: 901px) {
  .lhd-detail-page main .product-hero-specs > div:first-child { padding-left: 24px; }
  .lhd-detail-page main .product-hero-specs > div:last-child { padding-right: 24px; }
}
