:root {
  --ink: #262626;
  --muted: #626262;
  --line: #dedede;
  --red: #b5202c;
  --container: min(1360px, calc(100% - 80px));
  --gutter: max(40px, calc((100% - 1360px) / 2));
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; background: #ffffff; }
img { display: block; max-width: 100%; }
a { color: var(--red); text-underline-offset: 4px; }
a:hover { color: #80131d; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 20px; letter-spacing: 0; font-weight: 600; }
h1 { font-size: 42px; }
h2 { font-size: 32px; }
h3 { font-size: 21px; }
p { margin: 0 0 22px; }
section[id], form { scroll-margin-top: 130px; }
.visually-hidden, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip-path: none; padding: 12px; background: white; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid #e5e5e5; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 8px var(--gutter); min-height: 106px; }
.brand { display: flex; align-items: center; gap: 20px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-logo { width: 180px; height: 87px; object-fit: contain; }
.brand > span { border-left: 1px solid var(--line); padding-left: 20px; }
.brand strong { display: block; max-width: 190px; font-size: 17px; line-height: 1.3; }
.brand small { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 18px 0; font-size: 14px; font-weight: 700; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.nav-toggle { display: none; }
.hero { position: relative; isolation: isolate; width: 100%; min-height: 540px; display: grid; align-items: center; background: #303233; color: white; }
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: rgba(12, 18, 20, .5); }
.hero-content { width: var(--container); margin: 0 auto; padding: 60px 0 64px; }
.hero h1 { max-width: 800px; font-size: 52px; font-weight: 600; line-height: 1.12; text-shadow: 0 1px 2px #222; }
.hero-copy { max-width: 660px; font-size: 18px; color: white; margin: 26px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .secondary { background: transparent; border-color: white; color: white; }
.hero .secondary:hover { background: white; color: var(--ink); }
.hero :focus-visible { outline-color: white; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 25px; border: 1px solid var(--red); border-radius: 0; color: var(--red); background: transparent; text-decoration: none; line-height: 1.4; font-size: 14px; font-weight: 700; }
.button.primary { color: white; background: var(--red); }
.button:hover { background: #f8eeee; color: var(--red); }
.button.primary:hover { background: #8b1821; border-color: #8b1821; color: white; }
.section { width: var(--container); margin: 0 auto; padding: 64px 0; }
.section-heading { margin-bottom: 32px; }
.section-heading h2::after, .home-about h2::after, .page-hero h1::after, .contact-page h1::after { content: ""; display: block; width: 48px; height: 3px; background: var(--red); margin-top: 20px; }
.section-intro { max-width: 900px; color: var(--muted); }
.catalog-heading { display: flex; justify-content: space-between; gap: 30px; align-items: baseline; }
.text-link { flex-shrink: 0; font-weight: 600; font-size: 14px; }
.category-showcase > .button { display: flex; width: fit-content; margin: 36px auto 0; }
.featured-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 30px; }
.featured-part { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.featured-part img { width: 100%; height: 220px; object-fit: contain; background: #f4f4f4; border: 1px solid #eeeeee; }
.featured-part h3 { font-size: 21px; margin: 20px 0 12px; }
.featured-part h3 a { color: var(--ink); text-decoration: none; }
.featured-part h3 a:hover { color: var(--red); }
.featured-part p { color: var(--muted); margin: 0; font-size: 15px; }
.home-about { width: 100%; padding: 64px var(--gutter); background: #f3f3f3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 64px; }
.home-about > img { width: 100%; height: 340px; object-fit: contain; background: white; }
.about-copy p { color: var(--muted); }
.home-contact { background: var(--red); color: white; }
.contact-banner-inner { width: var(--container); margin: auto; padding: 32px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.contact-banner-inner h2 { font-size: 25px; margin: 0; }
.contact-banner-inner [data-contact-summary] { display: flex; flex-wrap: wrap; gap: 16px 36px; }
.contact-banner-inner p { margin: 0; font-size: 15px; }
.contact-banner-inner strong { display: block; font-size: 12px; text-transform: uppercase; margin-bottom: 4px; }
.home-contact a { color: white; }
.home-contact .button { border-color: white; }
.home-contact .button:hover { background: white; color: var(--red); }
.home-contact :focus-visible { outline-color: white; }
.advantage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.advantage-grid article { border-top: 2px solid var(--red); padding-top: 20px; }
.page-hero { width: 100%; margin: 0; padding: 50px var(--gutter); background: #f3f3f3; border-bottom: 1px solid var(--line); }
.page-hero-copy { max-width: 860px; }
.page-hero-copy p { color: var(--muted); margin-bottom: 0; }
.page-hero > img { width: 100%; max-height: 280px; object-fit: contain; background: white; margin-top: 28px; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 60px; }
.about-hero > img { margin: 0; height: 260px; }
.profile-layout .prose-block { max-width: 1000px; }
.profile-layout, .split-section, .media-section { border-bottom: 1px solid var(--line); }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.service-grid { display: grid; gap: 22px; }
.service-grid article { border-left: 3px solid var(--red); padding: 0 0 0 22px; }
.service-grid h3 { font-size: 20px; margin-bottom: 8px; }
.service-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.image-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--line); }
.quality-list ul { margin: 0; padding-left: 22px; }
.quality-list li { margin-bottom: 12px; }
.sourcing-band { width: 100%; padding: 40px var(--gutter); background: #f3f3f3; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.sourcing-band h2 { font-size: 28px; }
.sourcing-band p { max-width: 850px; margin-bottom: 0; color: var(--muted); }
.sourcing-band .button { flex-shrink: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 60px; }
.quote-form { padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
label { display: grid; gap: 8px; margin-bottom: 22px; font-size: 14px; font-weight: 600; }
input, textarea, select { width: 100%; min-width: 0; padding: 12px; border: 1px solid #bdbdbd; border-radius: 0; background: white; color: var(--ink); font-size: 16px; font-weight: 400; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #737373; }
.quote-form > p { font-size: 14px; color: var(--muted); }
.quote-guidance { border-left: 1px solid var(--line); padding-left: 32px; color: var(--muted); font-size: 15px; }
.quote-guidance h3 { color: var(--ink); font-size: 20px; }
.form-note { margin-top: 20px; overflow-wrap: anywhere; }
.catalog-section { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0 40px; }
.catalog-section > .section-heading { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.catalog-tools { grid-column: 1; grid-row: 2; display: grid; gap: 16px; position: sticky; top: 130px; align-self: start; }
.catalog-layout { grid-column: 2; grid-row: 2; min-width: 0; }
.search-field { margin: 0; }
.search-field input { font-size: 14px; }
.filter-row { display: grid; gap: 0; border-top: 1px solid var(--line); }
.filter-chip { border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; background: #f5f5f5; color: var(--ink); border-radius: 0; padding: 14px 12px; text-align: left; font-size: 14px; }
.filter-chip:hover { background: #ececec; }
.filter-chip[aria-pressed="true"] { background: var(--red); border-left-color: #86151e; color: white; }
.catalog-status { color: var(--muted); margin-bottom: 22px; font-size: 14px; }
.product-grid { display: grid; gap: 42px; }
.catalog-category { border-top: 1px solid var(--line); padding-top: 26px; }
.catalog-category h2 { font-size: 25px; margin-bottom: 10px; }
.category-summary { color: var(--muted); font-size: 15px; }
.example-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.example-grid figure { margin: 0; min-width: 0; }
.example-grid img { width: 100%; height: 155px; object-fit: contain; border: 1px solid var(--line); }
.example-grid figcaption { margin-top: 14px; line-height: 1.45; }
.example-grid strong, .example-grid span { display: block; }
.example-grid strong { font-size: 15px; }
.example-grid span { color: var(--muted); font-size: 13px; margin-top: 5px; }
.catalog-category > a { font-size: 14px; font-weight: 600; }
.empty-state { padding: 24px 0; }
.contact-page { min-height: 65vh; }
.contact-page > p { max-width: 880px; }
.contact-details { max-width: 1000px; margin: 36px 0; }
.contact-details div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; border-top: 1px solid var(--line); padding: 20px 0; }
.contact-details dt { font-weight: bold; }
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.site-footer { width: 100%; margin: 0; display: flex; justify-content: space-between; gap: 24px; padding: 30px var(--gutter); font-size: 13px; background: #272727; color: #ddd; border-bottom: 4px solid var(--red); }
.site-footer p { margin: 0; }
.site-footer a { color: white; }
.site-footer :focus-visible { outline-color: white; }
@media (max-width: 1150px) {
  .brand > span { display: none; }
  .site-nav { gap: 26px; }
  .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout, .split-section { gap: 36px; }
}
@media (max-width: 900px) {
  :root { --container: calc(100% - 48px); --gutter: 24px; }
  .site-header { flex-wrap: wrap; gap: 0; min-height: 90px; padding-top: 4px; padding-bottom: 4px; }
  .brand-logo { width: 164px; height: 79px; }
  .nav-toggle { display: grid; align-content: center; gap: 5px; width: 44px; height: 44px; padding: 11px; background: white; border: 1px solid var(--line); }
  .nav-toggle span:not(.visually-hidden) { height: 2px; background: var(--ink); }
  .site-nav { display: none; width: 100%; padding: 8px 0 16px; gap: 0; flex-wrap: wrap; }
  .nav-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 16px; }
  .split-section, .home-about, .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .home-about > img { height: 300px; }
  .featured-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 44px; max-width: 740px; }
  .image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .quote-guidance { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .catalog-section { display: block; }
  .catalog-tools { position: static; margin-bottom: 28px; }
  .search-field { max-width: 500px; }
  .filter-row { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .filter-chip { border: 1px solid var(--line); padding: 10px 12px; }
}
@media (max-width: 560px) {
  :root { --container: calc(100% - 36px); --gutter: 18px; }
  .site-header { min-height: 80px; }
  .brand-logo { width: 150px; height: 73px; }
  .site-nav a { font-size: 13px; padding: 12px; }
  h1 { font-size: 32px; }
  h2 { font-size: 27px; }
  .hero { min-height: 480px; }
  .hero h1 { font-size: 36px; }
  .hero-copy { font-size: 16px; }
  .hero-content { padding: 40px 0; }
  .hero-actions { gap: 12px; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { margin-bottom: 26px; }
  .featured-parts { grid-template-columns: 1fr; gap: 28px; }
  .featured-part img { height: 215px; }
  .home-about > img { height: 230px; }
  .page-hero, .home-about { padding-top: 40px; padding-bottom: 40px; }
  .contact-banner-inner { align-items: flex-start; flex-direction: column; }
  .advantage-grid, .form-grid { grid-template-columns: 1fr; }
  .catalog-heading, .sourcing-band, .site-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .example-grid { gap: 18px; }
  .example-grid img { height: 120px; }
  .contact-details div { grid-template-columns: 1fr; gap: 6px; }
}

/* Header tools and the non-modal enquiry panel */
.site-header .brand { order: 0; }
.site-nav { order: 1; margin-left: auto; }
.language-selector { order: 2; position: relative; flex-shrink: 0; }
.nav-toggle { order: 3; }
.icon-button { display: inline-grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; padding: 8px; border: 1px solid var(--line); border-radius: 0; background: white; color: var(--ink); }
.icon-button:hover { background: #f2f2f2; }
.language-toggle { border-color: transparent; }
.language-options { position: absolute; top: calc(100% + 14px); right: 0; width: 230px; max-width: calc(100vw - 36px); padding: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 4px 12px #00000012; }
.language-title { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.language-options button { width: 100%; padding: 10px; text-align: left; background: #f2f2f2; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.language-options button[aria-current] { border-left: 3px solid var(--red); font-weight: 700; }
.language-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.featured-part { border-bottom: 0; padding-bottom: 0; }
.featured-part > a { display: block; }
.featured-part > a:hover img { border-color: var(--red); }
.parts-notice { background: #f4f4f4; border-left: 5px solid var(--red); padding: 24px 28px; margin-top: 24px; }
.parts-notice h2 { font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
.parts-notice h2::after { content: none; }
.parts-notice p { max-width: 1000px; margin-bottom: 18px; font-size: 16px; }
.enquiry-widget { position: fixed; bottom: max(24px, env(safe-area-inset-bottom)); right: 24px; z-index: 60; }
.enquiry-launcher { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; background: var(--red); color: white; border: 1px solid #8b1821; border-radius: 4px; font-size: 14px; font-weight: 700; box-shadow: 0 2px 8px #00000020; }
.enquiry-launcher:hover { background: #8b1821; }
.enquiry-panel { position: absolute; bottom: 64px; right: 0; width: 380px; max-width: calc(100vw - 48px); max-height: min(620px, calc(100vh - 150px)); max-height: min(620px, calc(100dvh - 150px)); display: flex; flex-direction: column; background: white; color: var(--ink); border: 1px solid #bdbdbd; border-top: 3px solid var(--red); border-radius: 4px; box-shadow: 0 6px 24px #00000024; }
.enquiry-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.enquiry-panel-header h2 { font-size: 20px; margin: 0; }
.enquiry-panel-header .icon-button { width: 32px; height: 32px; padding: 6px; border-color: transparent; }
.enquiry-panel-body { padding: 18px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.enquiry-panel-body > p { font-size: 14px; margin: 0 0 16px; line-height: 1.5; }
.enquiry-category:empty { display: none; }
.enquiry-category { color: var(--red); font-weight: 600; }
.enquiry-panel label { font-size: 13px; gap: 6px; margin-bottom: 14px; }
.enquiry-panel input, .enquiry-panel textarea { padding: 9px 10px; font-size: 16px; }
.enquiry-panel input[type=file] { padding: 8px; font-size: 12px; }
.enquiry-file-help, .enquiry-email-note { font-size: 12px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.enquiry-file-help { margin-top: -6px; }
.enquiry-images { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.enquiry-images:empty { display: none; }
.enquiry-images li { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 6px; min-width: 0; }
.enquiry-images img { width: 48px; height: 48px; object-fit: contain; flex-shrink: 0; }
.enquiry-images span { overflow-wrap: anywhere; min-width: 0; flex: 1; font-size: 12px; }
.enquiry-images .icon-button { width: 30px; height: 30px; padding: 4px; }
.enquiry-submit { width: 100%; }
.enquiry-panel-footer { padding: 12px 18px; border-top: 1px solid var(--line); flex-shrink: 0; background: white; }
.enquiry-submit:disabled { opacity: .65; cursor: wait; }
.enquiry-status { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; margin: 12px 0 0; }
.enquiry-status:empty { display: none; }
.enquiry-send-link { display: inline-block; margin-top: 6px; font-weight: 700; padding: 4px 0; }
body:has(.enquiry-widget) .site-footer { padding-bottom: 92px; }
@media (max-width: 900px) {
  .site-header .brand { margin-right: auto; }
  .site-nav { order: 4; margin: 0; }
  .language-selector { margin-right: 10px; }
}
@media (max-width: 560px) {
  .parts-notice { padding: 20px; }
  .parts-notice h2 { font-size: 21px; }
  .enquiry-widget { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .enquiry-panel { width: 380px; max-width: calc(100vw - 24px); max-height: min(620px, calc(100vh - 172px)); max-height: min(620px, calc(100dvh - 172px)); }
  .enquiry-launcher { min-height: 46px; }
  .enquiry-panel-body { padding: 14px; }
}

