:root {
  --ink: #141b20;
  --muted: #62717b;
  --line: #d7e0e5;
  --surface: #f5f7f8;
  --panel: #ffffff;
  --accent: #b83a2f;
  --accent-dark: #972d25;
  --steel: #243f4b;
  --steel-2: #315867;
  --steel-dark: #172a33;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fbfcfd;
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-masthead {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(20, 27, 32, .04);
}

.utility-bar {
  color: #dbe5ea;
  background: var(--steel-dark);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100% - 36px));
  min-height: 36px;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.utility-inner a {
  color: #ffffff;
  text-decoration: none;
}

.utility-inner a:hover {
  color: #ffd7d2;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(280px, 330px) minmax(410px, 1fr) minmax(320px, 360px);
  gap: 24px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--steel);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(330px, 100%);
  aspect-ratio: 1200 / 420;
}

.brand-logo-inline svg {
  display: block;
  width: 100%;
  height: auto;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent);
  background: #f7ecea;
}

.header-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.header-search,
.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.header-search input,
.search-input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.header-search input:focus,
.search-input:focus {
  border-color: var(--steel);
  outline: 2px solid rgba(49, 83, 99, .16);
}

.button,
.header-search button,
.header-rfq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--steel);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.header-search button:hover,
.header-rfq:hover {
  background: var(--accent);
}

.whatsapp-button {
  background: #1f8f5f;
}

.whatsapp-button:hover {
  background: #166f49;
}

.header-rfq {
  min-width: 96px;
  background: #1f8f5f;
}

.header-rfq:hover {
  background: #166f49;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.secondary-button:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  background: #eef3f5;
}

.breadcrumb-track {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 10px 0;
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--steel);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb-current,
.breadcrumb-separator {
  color: var(--muted);
}

.hero,
.content-wrap,
.search-page,
.product-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 42px 0 24px;
}

.compact-hero {
  padding-bottom: 14px;
}

.hero h1,
.product-summary h1,
.search-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: 0;
}

.hero p,
.product-summary p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.return-links {
  margin-bottom: 12px;
}

.return-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.return-links a,
.return-links button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.return-links a::before,
.return-links button::before {
  content: "<";
  margin-right: 7px;
}

.return-links a:hover,
.return-links button:hover {
  border-color: var(--steel);
  color: var(--accent);
  background: #ffffff;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-wrap {
  padding: 16px 0 64px;
}

.home-hero,
.home-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 36px;
  align-items: center;
  padding: 44px 0 30px;
}

.home-hero-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

.home-hero-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.home-search {
  max-width: 760px;
  margin-top: 22px;
}

.home-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.home-trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
}

.home-hero-media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.home-hero-media img {
  width: min(430px, 88%);
  max-height: 360px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-section {
  padding: 34px 0;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.home-product-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
}

.home-product-card:hover {
  border-color: var(--steel);
  box-shadow: 0 6px 18px rgba(23, 32, 38, .08);
}

.home-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.home-product-card strong {
  color: var(--steel);
  font-size: 17px;
  line-height: 1.25;
}

.home-product-card span {
  color: var(--muted);
  font-size: 13px;
}

.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.trust-list div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.trust-list strong {
  color: var(--steel);
}

.trust-list span,
.home-rfq-box p {
  color: var(--muted);
}

.home-rfq-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.home-rfq-box h2,
.home-rfq-box p {
  margin: 0;
}

.factory-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.factory-photo-grid figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.factory-photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.factory-photo-grid figcaption {
  padding: 10px 12px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.application-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--steel);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.application-grid a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.prose {
  max-width: 880px;
}

.prose h2 {
  margin-top: 34px;
  font-size: 25px;
  line-height: 1.25;
}

.prose h3 {
  margin-top: 26px;
  font-size: 19px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--surface);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.listing-card,
.search-result {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-decoration: none;
}

.listing-card span,
.search-result-title {
  color: var(--steel);
  font-weight: 800;
}

.listing-card small,
.search-result-meta,
.search-result-alternates,
.search-result-desc {
  color: var(--muted);
  font-size: 13px;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 460px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 34px 0;
}

.product-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-media img {
  max-height: 360px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.media-placeholder {
  display: grid;
  place-items: center;
  width: 180px;
  aspect-ratio: 1;
  border: 18px solid #cfdbe2;
  border-radius: 50%;
}

.media-placeholder span {
  width: 70px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #8da0aa;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.spec-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.spec-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-weight: 700;
}

.compact {
  grid-template-columns: repeat(3, minmax(120px, 1fr));
}

.product-key-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.product-key-specs div {
  min-width: 0;
  padding: 11px 12px;
  background: #ffffff;
}

.product-key-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-key-specs dd {
  margin: 3px 0 0;
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.product-detail-main {
  min-width: 0;
  display: grid;
  gap: 22px;
}

.product-spec-table,
.product-copy,
.product-rfq-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-spec-table h2,
.product-copy h2,
.product-rfq-panel h2 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 22px;
}

.product-spec-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.product-spec-table th,
.product-spec-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-spec-table tr:last-child th,
.product-spec-table tr:last-child td {
  border-bottom: 0;
}

.product-spec-table th {
  width: 210px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  text-transform: uppercase;
}

.product-copy p,
.product-rfq-panel p {
  margin: 0;
  padding: 14px 18px;
  color: var(--muted);
}

.product-copy p + p {
  padding-top: 0;
}

.product-copy a {
  color: var(--steel);
  font-weight: 800;
  text-decoration: none;
}

.product-rfq-panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.product-rfq-panel .button,
.product-rfq-panel .text-link {
  width: calc(100% - 36px);
  margin: 0 18px;
}

.side-panel {
  position: sticky;
  top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.side-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.search-page {
  padding: 32px 0 70px;
}

.finder-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: end;
}

.finder-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.finder-help {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.finder-help strong {
  font-size: 13px;
  text-transform: uppercase;
}

.finder-help a {
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.finder-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 920px;
  margin-top: 22px;
}

.search-form-large {
  max-width: 760px;
}

.finder-input {
  min-height: 58px;
  padding: 0 18px;
  font-size: 17px;
}

.inline-catalog-search {
  margin-top: 22px;
}

.search-form-large .search-input,
.search-form-large .button {
  min-height: 54px;
}

.search-status {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.search-suggestions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.search-suggestions a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-result {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.search-result:hover {
  border-color: #b8c8d0;
  box-shadow: 0 4px 14px rgba(23, 32, 38, .07);
}

.finder-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-top: 26px;
}

.filter-panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.filter-panel h2 {
  margin: 0;
  font-size: 20px;
}

.filter-panel label,
.dimension-filter {
  display: grid;
  gap: 6px;
}

.filter-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-panel select,
.filter-panel input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
}

.dimension-filter div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.clear-filters {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.results-panel {
  min-width: 0;
}

.results-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.result-view-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result-type {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--steel);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result-alternates {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 5px 8px;
  border: 1px solid #b8cbd6;
  border-radius: 5px;
  color: var(--steel);
  background: #eef6f8;
  font-weight: 800;
}

.search-result-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(64px, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.search-result-meta span {
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-footer {
  margin-top: 34px;
  color: #dce6eb;
  background: var(--steel-dark);
}

.footer-grid,
.footer-bottom {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(160px, .75fr));
  gap: 32px;
  padding: 40px 0 32px;
}

.footer-brand img {
  display: block;
  width: min(300px, 100%);
  margin-bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ffffff;
}

.footer-brand p,
.footer-contact p {
  margin: 0;
  max-width: 420px;
  color: #b8c7cf;
  font-size: 14px;
}

.footer-links,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links h2,
.footer-contact h2 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-links a,
.footer-mail {
  color: #dce6eb;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-mail:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-mail {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #aabac2;
  font-size: 12px;
  font-weight: 800;
}

.catalog-directory {
  margin-top: 34px;
}

.catalog-directory h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.collection-feature-grid {
  margin-top: 18px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 64px;
}

.catalog-main {
  min-width: 0;
  max-width: none;
}

.collection-sidebar {
  position: sticky;
  top: 14px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding-right: 4px;
}

.sidebar-search {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.sidebar-search strong,
.category-tree h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  text-transform: uppercase;
}

.sidebar-search form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.sidebar-search input {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
}

.sidebar-search button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  background: var(--steel);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.sidebar-search button:hover {
  background: var(--accent);
}

.category-tree {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.category-tree h2 {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.category-group {
  border-bottom: 1px solid var(--line);
}

.category-group:last-child {
  border-bottom: 0;
}

.category-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.category-group summary::-webkit-details-marker {
  display: none;
}

.category-group summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.category-group[open] summary::after {
  content: "-";
}

.category-group ul {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0 8px 10px;
  list-style: none;
}

.category-group a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.category-group a:hover,
.category-group a.is-active {
  color: var(--accent);
  background: #f7ecea;
}

.category-group a span {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.category-group small {
  align-self: start;
  margin-top: 1px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.intent-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.intent-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.intent-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.intent-panel p,
.directory-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.intent-links {
  display: grid;
  gap: 8px;
}

.intent-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--steel);
  background: var(--surface);
  text-decoration: none;
}

.intent-links a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.intent-links span {
  min-width: 0;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.intent-links small,
.collection-link-list small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.collection-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.collection-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.collection-link-list a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.collection-link-list.prominent a {
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface);
}

.collection-hub,
.collection-overview,
.related-collection-cards,
.product-preview,
.empty-collection-note {
  display: grid;
  gap: 18px;
}

.section-head h2,
.section-head h3,
.related-collection-cards h3,
.empty-collection-note h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

.section-head p,
.empty-collection-note p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--muted);
}

.collection-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.collection-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #c9d4da;
  border-radius: 6px;
  color: var(--steel);
  background: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.collection-jump-links a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.collection-priority-section {
  padding: 16px;
  border: 1px solid #c7d4da;
  border-radius: 8px;
  background: #ffffff;
}

.collection-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-hub {
  display: grid;
  gap: 24px;
}

.product-hub-intro {
  max-width: 820px;
}

.product-hub-intro h2 {
  margin-top: 0;
}

.product-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-path-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
}

.product-path-card.primary {
  border-color: #b8c8d0;
  background: var(--surface);
}

.product-path-card:hover {
  border-color: var(--steel);
  box-shadow: 0 6px 18px rgba(23, 32, 38, .08);
}

.product-path-card strong {
  color: var(--steel);
  font-size: 20px;
  line-height: 1.25;
}

.product-path-card span {
  color: var(--muted);
  font-size: 14px;
}

.popular-series {
  display: grid;
  gap: 14px;
}

.popular-series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.popular-series-grid a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--steel);
  background: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.popular-series-grid a:hover {
  border-color: var(--steel);
  color: var(--accent);
}

.collection-image-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
}

.collection-image-card:hover {
  border-color: var(--steel);
  box-shadow: 0 6px 18px rgba(23, 32, 38, .08);
}

.collection-image-card img,
.bearing-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  object-fit: contain;
}

.bearing-thumb {
  position: relative;
}

.bearing-thumb::before {
  content: "";
  position: absolute;
  inset: 20%;
  border: 18px solid #c9d6dc;
  border-radius: 50%;
}

.bearing-thumb::after {
  content: "";
  position: absolute;
  inset: 38%;
  border-radius: 50%;
  background: #879aa5;
}

.collection-image-card strong {
  color: var(--steel);
  font-size: 17px;
  line-height: 1.25;
}

.collection-image-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-preview-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.product-preview-table table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 14px;
}

.product-preview-table th,
.product-preview-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-preview-table th {
  color: var(--ink);
  background: var(--surface);
  font-size: 12px;
  text-transform: uppercase;
}

.product-preview-table tr:last-child td {
  border-bottom: 0;
}

.product-preview-table a {
  color: var(--steel);
  font-weight: 800;
  text-decoration: none;
}

.product-preview-table a:hover {
  color: var(--accent);
}

.product-preview-table .dim-inch,
.product-preview-table .dim-mm {
  display: block;
  line-height: 1.3;
  white-space: nowrap;
}

.product-preview-table .dim-inch {
  color: var(--ink);
  font-weight: 800;
}

.product-preview-table .dim-mm {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.collection-article-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.collection-article-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--steel);
  background: var(--surface);
  cursor: pointer;
  list-style: none;
}

.collection-article-panel summary::-webkit-details-marker {
  display: none;
}

.collection-article-panel summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid #c5d0d6;
  border-radius: 50%;
  color: var(--steel);
  background: #ffffff;
  font-size: 20px;
  line-height: 1;
}

.collection-article-panel[open] summary::after {
  content: "-";
}

.collection-article-panel summary strong,
.collection-article-panel summary small {
  display: block;
}

.collection-article-panel summary strong {
  font-size: 20px;
  line-height: 1.25;
}

.collection-article-panel summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.collection-article {
  max-width: 880px;
  padding: 20px 22px 24px;
}

.collection-article h2,
.collection-article h3 {
  scroll-margin-top: 18px;
}

.collection-article p,
.collection-article li {
  line-height: 1.7;
}

.blog-list-page {
  padding-top: 18px;
}

.blog-intro {
  max-width: 820px;
  margin-bottom: 22px;
}

.blog-resource-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.blog-topic-panel {
  position: sticky;
  top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.blog-topic-panel h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.blog-topic-panel nav {
  display: grid;
  gap: 8px;
}

.blog-topic-panel a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.blog-topic-panel a:hover {
  color: var(--accent);
  background: #ffffff;
}

.blog-main-list {
  min-width: 0;
}

.blog-featured {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.blog-featured h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.blog-featured h2 a {
  color: var(--ink);
  text-decoration: none;
}

.blog-featured p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.blog-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.blog-list-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.blog-list-item:last-child {
  border-bottom: 0;
}

.blog-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--steel);
  background: var(--surface);
}

.blog-list-item h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}

.blog-list-item h2 a {
  color: var(--steel);
  text-decoration: none;
}

.blog-list-item h2 a:hover {
  color: var(--accent);
}

.blog-list-item p {
  margin: 8px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 14px;
}

.blog-list-actions {
  margin-top: 8px;
}

.text-link {
  color: var(--steel);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .site-header,
  .footer-grid,
  .home-hero,
  .home-split,
  .product-hero,
  .two-col,
  .product-detail-layout,
  .intent-board,
  .finder-head,
  .finder-layout,
  .catalog-layout,
  .collection-card-grid,
  .home-product-grid,
  .factory-photo-grid,
  .application-grid,
  .product-path-grid,
  .popular-series-grid,
  .blog-list-item,
  .blog-resource-layout {
    grid-template-columns: 1fr;
  }

  .blog-topic-panel {
    position: static;
  }

  .catalog-main {
    order: 1;
  }

  .utility-inner {
    justify-content: flex-start;
    min-height: 0;
    padding: 8px 0;
  }

  .utility-inner span:nth-child(2) {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .brand-logo {
    width: min(295px, 100%);
  }

  .nav {
    flex-wrap: wrap;
    gap: 4px;
  }

  .nav a {
    min-height: 34px;
    padding: 6px 8px;
  }

  .header-rfq {
    width: fit-content;
    min-width: 86px;
  }

  .compact {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .side-panel {
    position: static;
  }

  .product-rfq-panel {
    position: static;
  }

  .filter-panel {
    position: static;
  }

  .collection-sidebar {
    order: 2;
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 560px) {
  .header-actions,
  .header-search,
  .search-form,
  .search-result,
  .finder-search {
    grid-template-columns: 1fr;
  }

  .utility-inner,
  .site-header,
  .footer-grid,
  .footer-bottom {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand-logo {
    width: min(280px, 100%);
  }

  .nav {
    padding-top: 2px;
  }

  .header-search button,
  .header-rfq {
    width: 100%;
  }

  .hero,
  .home-hero,
  .home-section,
  .content-wrap,
  .search-page,
  .product-hero,
  .breadcrumb-track,
  .catalog-layout {
    width: min(var(--max), calc(100% - 24px));
  }

  .product-media {
    min-height: 240px;
  }

  .compact,
  .spec-grid,
  .product-key-specs {
    grid-template-columns: 1fr;
  }

  .product-spec-table th,
  .product-spec-table td {
    display: block;
    width: 100%;
  }

  .product-spec-table th {
    border-bottom: 0;
    padding-bottom: 4px;
  }

  .product-spec-table td {
    padding-top: 4px;
  }

  .search-result-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
