.category-name { min-width: 0; white-space: normal; overflow-wrap: anywhere; text-transform: none; }
.cat-title h3 { line-height: 1.3; }
.catalog-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
.catalog-section { padding-top: 34px; }
.catalog-sidebar { position: sticky; top: 120px; max-height: calc(100vh - 145px); overflow: auto; }
.category-menu { border: 1px solid var(--line); background: #fff; border-radius: 3px; padding: 12px; }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
.category-menu>summary { padding: 10px 10px 18px; font-size: 20px; font-weight: 650; color: var(--navy); border-bottom: 1px solid var(--line); }
.category-menu-body { padding-top: 10px; }
.category-all, .category-tree a, .category-tree summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 17px; line-height: 1.55; padding: 10px; border-radius: 2px; }
.category-all { margin-bottom: 4px; }
.category-tree { list-style: none; padding: 0; margin: 0; }
.category-tree .category-tree { border-left: 1px solid #cdd7dc; margin-left: 15px; padding-left: 6px; }
.category-tree summary { font-weight: 600; }
.category-tree .category-name { display: block; flex: 1; line-height: 1.55; }
.category-tree a:hover, .category-tree summary:hover, .category-all:hover { background: #f2f5f6; }
.category-tree a[aria-current=page], .category-all[aria-current=page] { background: var(--navy); color: #fff; font-weight: 600; }
.category-tree .category-group-link { font-size: 15px; color: #607483; margin-left: 15px; padding-block: 8px; }
.category-tree .category-group-link[aria-current=page] { color: #fff; }
.tree-count { color: #6d808d; font-size: 14px; flex-shrink: 0; }
[aria-current=page] .tree-count { color: #d2dfe7; }
.tree-chevron { display: block; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); flex-shrink: 0; margin: 0 3px 4px; }
.category-tree details[open]>summary .tree-chevron, .category-menu[open]>summary .tree-chevron { transform: rotate(225deg); margin-bottom: 0; }
.sidebar-help { padding: 28px 12px; }
.sidebar-help h3 { font-size: 21px; }
.sidebar-help p { font-size: 16px; color: var(--muted); margin: 12px 0 18px; }
.catalog-search { display: flex; align-items: center; gap: 14px; border: 1px solid #bdcbd3; border-radius: 3px; background: #fff; padding: 7px 7px 7px 18px; }
.catalog-search input { flex: 1; min-width: 0; border: 0; outline-offset: 1px; padding: 10px 0; background: transparent; font-size: 17px; }
.catalog-search .btn { padding: 12px 24px; }
.catalog-search-help { font-size: 15px; color: var(--muted); margin-top: 10px; }
.search-svg { width: 22px; height: 22px; fill: none; stroke: #607888; stroke-width: 1.7; flex-shrink: 0; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0 18px; color: var(--muted); font-size: 17px; }
.results-head strong { color: var(--navy); font-weight: 600; }
.clear-search { font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.subcategory-section { margin-top: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.filters a { border: 1px solid var(--line); border-radius: 3px; padding: 8px 14px; display: flex; align-items: center; gap: 18px; font-size: 17px; max-width: 100%; }
.filters .category-name { display: block; line-height: 1.5; }
.filters a:hover { border-color: #809baa; }
.filter-count { color: var(--muted); font-size: 14px; }
.manufacturer-card .product-mark { font-size: 16px; color: #5a7384; line-height: 1.5; font-weight: 500; }
.manufacturer-card .product-info h3 { font-size: 27px; font-weight: 650; margin: 10px 0 22px; line-height: 1.25; overflow-wrap: anywhere; }
.part-reference, .card-oem { margin-bottom: 18px; }
.part-reference>span, .card-oem>span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.part-reference strong { font-size: 20px; line-height: 1.45; font-weight: 650; color: var(--navy); overflow-wrap: anywhere; display: block; }
.card-oem strong { font-size: 18px; overflow-wrap: anywhere; display: block; font-weight: 600; }
.card-previous-codes { margin-bottom: 18px; }
.card-previous-codes>span { display: block; color: var(--muted); font-size: 15px; margin-bottom: 5px; }
.card-previous-codes p { color: #405e73; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.more-reference-count { font-size: 15px; color: var(--muted); }
.spec-preview { margin: 0 0 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.spec-preview>div { display: flex; justify-content: space-between; gap: 20px; font-size: 15px; line-height: 1.65; margin: 7px 0; }
.spec-preview dt { color: var(--muted); }
.spec-preview dd { margin: 0; color: #304f64; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.card-summary { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.card-detail-link { margin-top: auto; border-top: 1px solid var(--line); padding-top: 17px; font-size: 16px; font-weight: 600; color: var(--navy); }
.manufacturer-card:hover .card-detail-link { text-decoration: underline; text-underline-offset: 4px; }
.catalog-bottom-note { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; font-size: 16px; color: var(--muted); }
.catalog-bottom-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: var(--navy); }
.product-breadcrumb-bar { background: #f4f6f6; border-bottom: 1px solid var(--line); padding: 18px 0; }
.product-breadcrumb-bar .breadcrumbs { margin: 0; }
.product-overview { padding: 40px 0; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.product-gallery { min-width: 0; }
.detail-photo { aspect-ratio: 1.12; display: grid; place-items: center; border-radius: 3px; border: 1px solid var(--line); background: #f7f8f8; position: relative; overflow: hidden; }
.detail-photo>img { width: 100%; height: 100%; padding: 34px; object-fit: contain; }
.detail-photo.is-empty { aspect-ratio: auto; min-height: 230px; }
.detail-no-image { padding: 35px; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.detail-no-image strong { font-size: 21px; font-weight: 600; color: #5b707e; }
.detail-no-image span { font-size: 17px; color: var(--muted); }
.detail-thumbs { display: flex; flex-wrap: wrap; margin-top: 16px; gap: 12px; }
.detail-thumb { width: 82px; height: 82px; border: 1px solid var(--line); border-radius: 3px; padding: 8px; background: #fff; cursor: pointer; }
.detail-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumb[aria-pressed=true] { border: 2px solid var(--navy); }
.gallery-caption { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; margin-top: 16px; }
.detail-category { color: #5a7384; display: inline-block; font-size: 18px; line-height: 1.5; margin-bottom: 12px; }
.detail-category:hover { text-decoration: underline; }
.detail-content h1 { font-size: 44px; margin-bottom: 24px; overflow-wrap: anywhere; }
.detail-summary { color: var(--muted); font-size: 18px; line-height: 1.7; margin-bottom: 22px; }
.product-reference-box { padding: 22px 24px; background: #f1f4f5; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 22px; }
.product-reference-box>span { display: block; font-size: 15px; color: #5c727f; margin-bottom: 8px; }
.product-reference-box>strong { display: block; font-size: 26px; font-weight: 650; color: var(--navy); overflow-wrap: anywhere; line-height: 1.5; }
.previous-references { border-top: 1px solid #d4dde2; margin-top: 18px; padding-top: 16px; }
.previous-references h2 { color: #5c727f; font-size: 16px; font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.previous-code-list { list-style: none; margin: 0; padding: 0; }
.previous-code-list li { overflow-wrap: anywhere; line-height: 1.65; }
.previous-references .previous-code-list { font-size: 19px; font-weight: 600; color: #405e73; }
.reference-oem { border-top: 1px solid #d4dde2; margin-top: 16px; padding-top: 14px; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.reference-oem span { font-size: 15px; color: var(--muted); }
.reference-oem strong { font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }
.overview-specs { margin: 0 0 18px; }
.overview-specs>div { display: flex; justify-content: space-between; gap: 24px; font-size: 17px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.overview-specs dt { color: var(--muted); }
.overview-specs dd { margin: 0; font-weight: 600; color: #304d63; overflow-wrap: anywhere; text-align: right; }
.all-specs-link { font-size: 16px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.product-enquiry { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-enquiry>p { font-size: 20px; font-weight: 600; color: var(--navy); }
.product-enquiry>span { font-size: 16px; color: var(--muted); display: block; line-height: 1.7; margin-top: 8px; }
.product-enquiry .btn { margin-top: 20px; }
.image-zoom { position: absolute; bottom: 20px; right: 20px; width: 44px; height: 44px; background: #fff; border: 1px solid var(--line); border-radius: 3px; cursor: pointer; display: grid; place-items: center; color: var(--navy); }
.image-zoom svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.image-zoom:hover { background: var(--navy); color: #fff; }
.image-zoom[hidden] { display: none; }
.detail-section-nav { background: #fff; border-block: 1px solid var(--line); }
.detail-section-nav nav { display: flex; gap: 36px; flex-wrap: wrap; }
.detail-section-nav a { padding: 18px 0; font-size: 17px; font-weight: 600; color: #526e80; }
.detail-section-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.technical-section { background: #f5f7f7; scroll-margin-top: 100px; }
.technical-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; }
.technical-intro h2 { font-size: 32px; }
.technical-intro h3 { margin: 22px 0 8px; font-size: 18px; color: var(--navy); }
.description-codes { margin-bottom: 8px; font-size: 18px; font-weight: 650; }
.description-specs { margin-top: 18px; }
.description-specs div { display: grid; grid-template-columns: minmax(120px, 42%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.description-specs dt { color: var(--muted); }
.description-specs dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.technical-intro>p { font-size: 17px; line-height: 1.75; color: var(--muted); margin-top: 20px; max-width: 420px; }
.technical-intro .text-link { margin-top: 22px; }
.technical-table-wrap { background: #fff; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; align-self: start; }
.technical-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.technical-table thead { background: var(--navy); }
.technical-table thead th { font-size: 16px; font-weight: 600; color: #fff; text-align: left; padding: 16px 24px; }
.technical-table thead th:first-child { width: 42%; }
.technical-table tbody th, .technical-table tbody td { padding: 15px 24px; text-align: left; font-size: 17px; line-height: 1.6; vertical-align: top; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.technical-table tbody th { font-weight: 500; color: var(--muted); }
.technical-table tbody td { font-weight: 600; color: #28495f; }
.technical-table tbody tr:nth-child(even) { background: #f7f9f9; }
.technical-table tbody tr:last-child th, .technical-table tbody tr:last-child td { border-bottom: 0; }
.fitment-section { background: #fff; scroll-margin-top: 100px; }
.fitment-list { border: 1px solid var(--line); border-radius: 3px; align-self: start; padding: 4px 24px; }
.fitment-row { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 17px; color: #38586c; line-height: 1.7; overflow-wrap: anywhere; }
.fitment-row:last-child { border: 0; }
.image-viewer { border: 0; border-radius: 4px; background: #fff; padding: 40px; max-width: min(900px, 95vw); width: 900px; max-height: 92vh; overflow: auto; }
.image-viewer::backdrop { background: #112a3bda; }
.image-viewer>img { max-height: 70vh; width: 100%; object-fit: contain; }
.image-viewer>p { text-align: center; margin-top: 20px; font-size: 17px; color: var(--navy); }
.image-viewer-close { position: absolute; top: 12px; right: 12px; height: 40px; width: 40px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); font-size: 26px; cursor: pointer; line-height: 1; }
.image-viewer-open { overflow: hidden; }
.product-placeholder { visibility: hidden; }
.image-load-message { position: absolute; inset: 20px; display: grid; place-items: center; text-align: center; font-size: 17px; color: var(--muted); }
@media (max-width: 1100px) {
    .catalog-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 26px; }
    .product-info { padding: 22px; }
    .product-detail { gap: 36px; }
    .technical-layout { gap: 40px; }
}
@media (max-width: 900px) and (min-width: 761px) {
    .catalog-product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
    .catalog-sidebar { position: static; max-height: none; overflow: visible; }
    .sidebar-help { display: none; }
    .category-menu { padding: 4px 12px; }
    .category-menu>summary { border: 0; padding: 13px 6px; font-size: 18px; }
    .category-menu[open]>summary { border-bottom: 1px solid var(--line); }
    .category-menu-body { padding-block: 10px; }
    .catalog-section { padding-top: 24px; }
    .catalog-search { gap: 10px; padding-left: 12px; }
    .catalog-search input { font-size: 16px; }
    .catalog-search .btn { padding: 11px 18px; font-size: 16px; }
    .search-svg { width: 20px; height: 20px; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .product-overview { padding: 26px 0 34px; }
    .detail-photo { aspect-ratio: 1.3; }
    .detail-photo.is-empty { min-height: 160px; }
    .detail-content h1 { font-size: 36px; }
    .detail-no-image { padding: 26px; }
    .detail-no-image strong { font-size: 19px; }
    .product-reference-box { padding: 20px; }
    .product-reference-box>strong { font-size: 25px; }
    .detail-section-nav nav { gap: 12px 28px; padding-block: 14px; }
    .detail-section-nav a { padding: 3px 0; font-size: 16px; }
    .technical-layout { grid-template-columns: 1fr; gap: 26px; }
    .technical-intro h2 { font-size: 28px; }
    .technical-table tbody th, .technical-table tbody td { padding: 13px 16px; font-size: 16px; }
    .technical-table thead th { padding: 14px 16px; }
    .fitment-list { padding-inline: 18px; }
    .image-viewer { padding: 50px 16px 20px; }
}
@media (max-width: 560px) {
    .catalog-product-grid { grid-template-columns: 1fr; }
    .search-svg { display: none; }
    .manufacturer-card .product-info h3 { font-size: 27px; }
    .product-info { padding: 24px; }
    .spec-preview>div { font-size: 16px; }
    .catalog-bottom-note { font-size: 16px; }
    .reference-oem { flex-direction: column; gap: 6px; }
}
