/* Catalog, model and company pages. The header, footer and home use the main stylesheet. */
.page-banner,
.detail-banner {
    color: #f4f7f8;
    background:
        linear-gradient(120deg, transparent 66%, #ffffff0c 66.12%, transparent 66.25%),
        linear-gradient(120deg, transparent 82%, #ffffff09 82.12%, transparent 82.25%),
        linear-gradient(106deg, #121c22 34%, #23343e);
    border-block-end: 1px solid #41535e;
}
.page-banner { padding-bottom: clamp(34px, 4.5vw, 68px); }
.page-banner h1 { max-width: 19ch; font-size: clamp(36px, 4.5vw, 66px); line-height: 1.04; color: inherit; }
.page-banner .lead { max-width: 70ch; color: #d3dce2; }
.page-banner .lead > :last-child { margin-bottom: 0; }
.page-banner .crumbs,
.detail-banner .crumbs { padding-block: clamp(17px, 2.2vw, 30px); color: #c4d0d6; }
.crumbs ol { align-items: baseline; }
.crumbs li { min-width: 0; }
.page-banner .crumbs a,
.detail-banner .crumbs a { color: #f1f4f5; text-decoration: underline; text-decoration-color: #8596a1; }
.page-banner .crumbs li + li::before,
.detail-banner .crumbs li + li::before { color: #ff8852; }

.archive-layout { align-items: start; }
.archive-sidebar,
.catalog-grid .product-card,
.detail-photo,
.about-photo,
.en-inquiry { border: 1px solid #c8d1d7; }
.archive-sidebar { background: #f6f8f9; }
.archive-sidebar summary {
    padding: 14px 16px;
    color: #fff;
    border: 0;
    box-shadow: inset 3px 0 #ff6728;
    background: #1d2b34;
}
.archive-sidebar nav a { padding: 10px 14px; color: #394c57; border-color: #d7dfe3; }
.archive-sidebar nav a:hover,
.archive-sidebar nav a[aria-current] { color: #182731; background: #e5edf1; }
.archive-sidebar nav a[aria-current] { box-shadow: inset 3px 0 #be4b1b; }
.catalog-results { min-width: 0; }
.catalog-results .product-search input { border-color: #8797a2; }
.catalog-results .results-count { color: #4c5d68; font-variant-numeric: tabular-nums; }
.catalog-grid .product-card { overflow: hidden; color: #182731; }
.catalog-grid .product-visual,
.detail-photo { background: linear-gradient(145deg, #f5f7f8 30%, #e4eaee); }
.catalog-grid .product-family { color: #526570; }
.catalog-grid .card-link { color: #2c414f; }
.catalog-grid .product-card:hover,
.catalog-grid .product-card:focus-visible { border-color: #657b88; }
.catalog-results .page-numbers { color: #223642; border-color: #c9d4da; }
.catalog-results .page-numbers.current { background: #1c2b34; color: #fff; }
.empty-state { background: #f0f4f6; border-inline-start: 3px solid #ff6728; }

.detail-intro {
    grid-template-areas: "summary photo";
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(22px, 5vw, 80px);
    margin: 0;
    padding-block: clamp(12px, 2vw, 30px) clamp(32px, 4.5vw, 72px);
}
.detail-intro.no-image { grid-template-areas: "summary"; }
.detail-summary { grid-area: summary; }
.detail-summary h1 { color: #f6f8f9; font-size: clamp(34px, 3.9vw, 61px); line-height: 1.055; }
.detail-summary .eyebrow { color: #ffc2a4; }
.detail-summary .lead { color: #d3dce2; }
.detail-summary .detail-anchor { width: fit-content; color: #ebf2f6; text-decoration: underline; }
.detail-photo {
    grid-area: photo;
    position: relative;
    aspect-ratio: 1.32;
    padding: clamp(15px, 2.4vw, 32px);
}
.detail-photo::before {
    content: "";
    position: absolute;
    inset: -1px auto auto -1px;
    width: 42px;
    height: 4px;
    background: #ff6728;
}
.detail-body { border: 0; scroll-margin-top: 5rem; }
.detail-body .entry-content { color: #263a46; }
.detail-body .entry-content table { font-variant-numeric: tabular-nums; }
.detail-body .entry-content :is(td, th) { border-color: #c9d4db; line-height: 1.45; }
.detail-body .entry-content tr:nth-child(even) td { background: #f3f6f8; }
.detail-body .entry-content :is(thead, th) { color: #14232d; background: #e0e8ed; }
.detail-bottom { border-color: #c8d3d9; }

.page-content { line-height: 1.75; color: #293d49; }
.page-content :is(h2, h3) { color: #162832; }
.page-content > p,
.detail-body .entry-content > p { max-width: 82ch; }
.about-photo { overflow: hidden; }
.en-inquiry { border-top: 3px solid #ff6728; background: #f1f5f7; }
.en-inquiry label { color: #233843; }
.page-content .en-inquiry :is(input, select, textarea):focus-visible {
    outline: 2px solid #a6411c;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .archive-sidebar nav { gap: 0; }
    .archive-sidebar nav a { padding: 10px 12px; }
    .detail-intro { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
}
@media (max-width: 600px) {
    .detail-intro { grid-template: "summary" auto "photo" auto / minmax(0, 1fr); }
    .detail-intro.no-image { grid-template: "summary" auto / minmax(0, 1fr); }
    .detail-summary .lead p { margin-bottom: 0; }
    .detail-summary .detail-anchor { margin-top: 13px; }
    .detail-photo { aspect-ratio: 1.75; }
    .detail-banner .crumbs li:last-child { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; max-width: 100%; }
    .catalog-grid { gap: 11px; }
    .catalog-grid .product-copy { padding: 12px; }
    .detail-body .entry-content :is(td, th) { padding: 7px 8px; }
}
