:root {
  --ink: #202c39;
  --muted: #627181;
  --orange: #e86325;
  --line: #e0e6ec;
  --blue: #165c96;
  --paper: #f5f7fa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    15px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.shell {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}
.topbar {
  background: #253341;
  color: white;
  font-size: 12px;
}
.topbar .shell {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar a {
  color: #fff;
}
.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 19px 0;
}
.logo {
  display: block;
  flex: none;
  width: 280px;
  max-width: 100%;
}
.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 23px;
  font-size: 13px;
  font-weight: 700;
}
.site-nav a {
  color: var(--ink);
}
.site-nav .shop-link {
  color: var(--orange);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 16px;
}
.hero {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 34px;
  padding: 38px 40px;
  margin-bottom: 26px;
  overflow: hidden;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.14;
  letter-spacing: -1.3px;
  margin: 0 0 19px;
}
h1 span {
  display: block;
}
p {
  margin: 0 0 16px;
}
.hero p {
  color: var(--muted);
  max-width: 600px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.pill {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 24px;
  color: var(--ink);
  background: #f8fafc;
}
.hero-side {
  border-left: 1px solid var(--line);
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-side strong {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}
.hero-side ul {
  padding-left: 18px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  padding: 10px 17px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--blue);
}
.button:hover {
  background: #104775;
  color: #fff;
  text-decoration: none;
}
.button.secondary {
  color: var(--blue);
  background: white;
  border-color: #cedce8;
}
.button.secondary:hover {
  background: #f0f6fb;
}
.button.orange {
  background: var(--orange);
  border-color: var(--orange);
}
.catalogue-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.catalogue-nav a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 11px 17px;
  font-weight: 700;
  font-size: 13px;
}
.catalogue-nav span {
  display: inline-block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-left: 8px;
}
.size-note {
  border-left: 3px solid var(--orange);
  background: #fff;
  padding: 15px 19px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 35px;
}
.size-note strong {
  color: var(--ink);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin: 0 0 20px;
}
.section-head h2 {
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0 0 7px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  max-width: 750px;
}
.count {
  white-space: nowrap;
  font-size: 12px;
  background: #e8edf3;
  padding: 6px 12px;
  border-radius: 30px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.product-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.product-card:hover {
  box-shadow: 0 5px 20px #20324612;
}
.product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 208px;
  background: #fff;
  padding: 18px;
  border-bottom: 1px solid #eff2f5;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-body {
  padding: 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.brushless .type {
  color: #187067;
}
.card-body h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 15px;
  letter-spacing: -0.3px;
  overflow-wrap: anywhere;
}
.card-body h3 a {
  color: var(--ink);
}
.dimensions {
  font-size: 21px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 3px;
}
.dimension-label {
  font-size: 10px;
  letter-spacing: 0.55px;
  color: var(--muted);
  margin-bottom: 13px;
}
.specs {
  margin: 0 0 15px;
  font-size: 12px;
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid #edf1f5;
}
.specs dt {
  color: var(--muted);
}
.specs dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}
.card-note {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
  min-height: 33px;
}
.card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.card-actions .button {
  font-size: 12px;
  padding: 8px 12px;
}
.drawing-link {
  font-size: 11px;
  margin-top: 10px;
}
.motor-section {
  margin-bottom: 45px;
}
.engineering {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 28px;
}
.engineering h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.engineering p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.contact-panel {
  padding: 32px 36px;
  background: #253341;
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}
.contact-panel h2 {
  font-size: 25px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.contact-panel p {
  color: #cdd8e3;
  font-size: 13px;
  max-width: 680px;
  margin: 0;
}
.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.contact-panel .secondary {
  border-color: #617487;
  background: transparent;
  color: white;
}
.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 30px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 25px;
  font-size: 12px;
}
.footer h2 {
  font-size: 13px;
  margin: 0 0 12px;
}
.footer p {
  color: var(--muted);
}
.footer ul {
  padding: 0;
  list-style: none;
  margin: 0;
}
.footer li {
  margin-bottom: 7px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 23px;
  padding-top: 18px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
section[id] {
  scroll-margin-top: 24px;
}
@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 30px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-nav {
    gap: 9px 14px;
  }
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .shell {
    width: calc(100% - 32px);
  }
  .topbar .shell {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 18px;
  }
  .header-inner {
    flex-direction: column;
    gap: 15px;
    padding: 18px 0;
  }
  .site-nav {
    justify-content: center;
    gap: 8px 15px;
    font-size: 12px;
  }
  .breadcrumb {
    padding-top: 16px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 25px 22px;
    gap: 22px;
  }
  .hero-side {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  h1 {
    font-size: 34px;
  }
  .hero-meta {
    gap: 6px;
  }
  .catalogue-nav {
    gap: 8px;
  }
  .catalogue-nav a {
    flex: 1;
    padding: 10px 12px;
  }
  .catalogue-nav span {
    display: block;
    margin: 2px 0 0;
  }
  .section-head {
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .count {
    padding: 5px 9px;
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .product-image {
    height: 220px;
  }
  .card-body {
    padding: 22px;
  }
  .card-note {
    min-height: 0;
  }
  .engineering {
    grid-template-columns: 1fr;
    padding: 23px;
    gap: 24px;
  }
  .contact-panel {
    padding: 26px 23px;
    gap: 22px;
  }
  .contact-panel h2 {
    font-size: 23px;
  }
  .footer-grid {
    gap: 22px 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .dimensions {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .product-card {
    transition: none;
  }
}
@media print {
  body {
    background: white;
  }
  .topbar,
  .site-nav,
  .catalogue-nav,
  .contact-actions {
    display: none;
  }
  .shell {
    width: 100%;
  }
  .hero {
    padding: 20px;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-card {
    break-inside: avoid;
  }
  .product-image {
    height: 150px;
  }
  .card-body {
    padding: 12px;
  }
  .footer {
    margin-top: 20px;
  }
}

/* Shared catalogue additions. Original approved page styles are preserved above. */
.dimensions {
  overflow-wrap: anywhere;
}

/* Additional product-family overview pages. */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.overview-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.overview-card h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 0 0 28px;
}
.overview-card h2 a {
  color: var(--ink);
}
.overview-card .button {
  align-self: flex-start;
  margin-top: auto;
}
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}
.specs dd {
  max-width: 68%;
  overflow-wrap: anywhere;
}
.card-body h3 {
  min-height: 49px;
}
.drawing-link {
  min-height: 17px;
}
.related-ranges {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  margin-bottom: 28px;
}
.related-ranges h2 {
  font-size: 20px;
  margin: 0 0 16px;
}
.related-ranges ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}
.related-ranges a {
  display: block;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
}
.related-ranges a[aria-current="page"] {
  background: #edf4fa;
  font-weight: bold;
}
@media (max-width: 600px) {
  .related-ranges {
    padding: 23px;
  }
}
