.product-detail-page {
  --detail-navy: #061d33;
  --detail-blue: #0b477f;
  --detail-yellow: #ffb900;
  --detail-ink: #10233b;
  --detail-muted: #5f6f80;
  --detail-line: #dce4ec;
  overflow-x: clip;
  background: #fff;
  color: var(--detail-ink);
}

.pm-detail-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background-color: var(--detail-navy);
  background-image: url("../media/images/banner2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.pm-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 25, 44, .98) 0%, rgba(5, 25, 44, .9) 42%, rgba(5, 25, 44, .18) 78%);
}

.pm-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 390px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 54px 34px;
  flex-direction: column;
  justify-content: center;
}

.pm-detail-hero .eyebrow,
.pm-detail-kicker {
  margin: 0 0 13px;
  color: var(--detail-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pm-detail-hero h1 {
  max-width: 880px;
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

.pm-detail-hero-inner > p:not(.eyebrow) {
  max-width: 640px;
  margin: 20px 0 0;
  color: #e1ebf3;
  font-size: 17px;
  line-height: 1.65;
}

.pm-detail-actions {
  display: flex;
  margin-top: 28px;
  flex-wrap: wrap;
  gap: 13px;
}

.pm-detail-button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.pm-detail-button:hover {
  transform: translateY(-2px);
}

.pm-detail-button.primary {
  background: var(--detail-yellow);
  color: #101b27;
  box-shadow: 0 10px 22px rgba(255, 185, 0, .2);
}

.pm-detail-button.outline {
  border-color: rgba(255, 255, 255, .72);
  background: rgba(6, 29, 51, .5);
  color: #fff;
}

.pm-detail-button.navy {
  background: var(--detail-blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(11, 71, 127, .18);
}

.pm-range-section {
  padding: 46px 34px 48px;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
}

.pm-range-inner {
  display: grid;
  max-width: 1250px;
  margin: 0 auto;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.pm-range-copy h2 {
  margin: 0;
  color: var(--detail-ink);
  font-size: 30px;
  line-height: 1.08;
}

.pm-range-copy > p:last-child {
  margin: 18px 0 0;
  color: var(--detail-muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.pm-spec-card {
  display: grid;
  min-width: 0;
  min-height: 92px;
  padding: 14px 18px;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--detail-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 34, 62, .04);
}

.pm-spec-icon,
.pm-selection-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--detail-navy);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  line-height: 1;
  box-shadow: inset 0 0 0 3px rgba(37, 104, 157, .28);
  overflow: hidden;
}

.pm-spec-icon img,
.pm-selection-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-spec-card p {
  min-width: 0;
  margin: 0;
}

.pm-spec-card p span,
.pm-spec-card p strong {
  display: block;
}

.pm-spec-card p span {
  color: #315d8c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.pm-spec-card p strong {
  margin-top: 6px;
  color: var(--detail-ink);
  font-size: 18px;
  line-height: 1.22;
}

.pm-parameters-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 34px 26px;
}

.pm-section-heading {
  display: flex;
  min-height: 54px;
  margin-bottom: 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.pm-section-heading h2,
.pm-high-pressure > h2 {
  margin: 0;
  color: var(--detail-ink);
  font-size: 23px;
  line-height: 1.15;
  text-transform: uppercase;
}

.pm-qualification-strip {
  display: grid;
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--detail-line);
  border-radius: 6px;
  background: #f4f7fa;
  grid-template-columns: minmax(140px, .72fr) minmax(0, 3.28fr);
  gap: 22px;
  align-items: center;
}

.pm-qualification-label {
  margin: 0;
  color: var(--detail-blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.pm-qualification-badges {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
}

.pm-qualification-badges span {
  display: grid;
  min-width: 0;
  height: 64px;
  padding: 5px 10px;
  place-items: center;
  border-left: 1px solid var(--detail-line);
}

.pm-qualification-badges span:first-child {
  border-left: 0;
}

.pm-qualification-badges img {
  display: block;
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
}

.pm-table-scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--detail-line);
  border-radius: 6px;
  background: #fff;
  scrollbar-color: #8da6bb #edf2f6;
  scrollbar-width: thin;
}

.pm-table-scroll:focus-visible {
  outline: 3px solid rgba(255, 185, 0, .48);
  outline-offset: 3px;
}

.pm-parameter-table,
.pm-secondary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #243b54;
}

.pm-parameter-table {
  min-width: 1570px;
  table-layout: fixed;
}

.pm-parameter-table th,
.pm-parameter-table td,
.pm-secondary-table th,
.pm-secondary-table td {
  padding: 10px 9px;
  border-right: 1px solid var(--detail-line);
  border-bottom: 1px solid var(--detail-line);
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  line-height: 1.25;
}

.pm-parameter-table tr > *:last-child,
.pm-secondary-table tr > *:last-child {
  border-right: 0;
}

.pm-parameter-table tbody tr:last-child > *,
.pm-secondary-table tbody tr:last-child > * {
  border-bottom: 0;
}

.pm-parameter-table thead th,
.pm-secondary-table thead th {
  background: var(--detail-navy);
  color: #fff;
  font-weight: 900;
}

.pm-parameter-table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 210px;
}

.pm-parameter-table .row-label {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 210px;
  background: #fff;
  color: #31506f;
  font-weight: 900;
}

.pm-parameter-table .fad-label {
  width: 135px;
}

.pm-parameter-table .pressure-label {
  width: 75px;
  background: #f8fafc;
  color: #455f79;
  font-weight: 800;
}

.pm-parameter-table tbody tr:nth-child(even) td,
.pm-parameter-table tbody tr:nth-child(even) .pressure-label {
  background: #fbfcfd;
}

.pm-parameter-table tbody td[colspan] {
  font-weight: 800;
}

.pm-lower-section {
  display: grid;
  max-width: 1320px;
  margin: 0 auto;
  padding: 20px 34px 58px;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 28px;
  align-items: end;
}

.pm-high-pressure > h2 {
  margin-bottom: 16px;
}

.pm-secondary-table {
  min-width: 640px;
}

.pm-secondary-table tbody th {
  width: 34%;
  background: #fff;
  color: #31506f;
  font-weight: 900;
}

.pm-selection-card {
  display: grid;
  min-width: 0;
  min-height: 250px;
  padding: 32px;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  background: #f4f7fb;
}

.pm-selection-card > div,
.pm-high-pressure {
  min-width: 0;
}

.pm-selection-card h2 {
  margin: 0;
  color: var(--detail-ink);
  font-size: 25px;
  line-height: 1.18;
}

.pm-selection-card ul {
  display: grid;
  margin: 17px 0 24px;
  padding: 0;
  gap: 10px;
  list-style: none;
}

.pm-selection-card li {
  position: relative;
  padding-left: 25px;
  color: #334b64;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.pm-selection-card li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--detail-yellow);
  font-size: 19px;
  font-weight: 900;
}

html[dir="rtl"] .pm-detail-hero::before {
  background: linear-gradient(270deg, rgba(5, 25, 44, .98) 0%, rgba(5, 25, 44, .9) 42%, rgba(5, 25, 44, .18) 78%);
}

html[dir="rtl"] .pm-detail-hero-inner {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] .pm-selection-card li {
  padding-right: 25px;
  padding-left: 0;
}

html[dir="rtl"] .pm-selection-card li::before {
  right: 0;
  left: auto;
}

@media (max-width: 1100px) {
  .pm-range-inner {
    grid-template-columns: 1fr;
  }

  .pm-range-copy {
    max-width: 680px;
  }

  .pm-lower-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .pm-detail-hero {
    min-height: 470px;
    background-position: 68% center;
  }

  .pm-detail-hero::before {
    background: linear-gradient(90deg, rgba(5, 25, 44, .98), rgba(5, 25, 44, .82) 68%, rgba(5, 25, 44, .48));
  }

  .pm-detail-hero-inner {
    min-height: 470px;
  }

  .pm-detail-hero h1 {
    max-width: 650px;
    font-size: 43px;
  }

  .pm-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .pm-detail-hero {
    min-height: 590px;
    background-position: 73% center;
  }

  .pm-detail-hero::before {
    background: linear-gradient(180deg, rgba(5, 25, 44, .98) 0%, rgba(5, 25, 44, .92) 58%, rgba(5, 25, 44, .52));
  }

  .pm-detail-hero-inner {
    min-height: 590px;
    padding: 42px 18px 54px;
    justify-content: flex-start;
  }

  .pm-detail-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .pm-detail-hero-inner > p:not(.eyebrow) {
    font-size: 16px;
  }

  .pm-detail-actions {
    display: grid;
    width: 100%;
  }

  .pm-detail-button {
    width: 100%;
  }

  .pm-range-section {
    padding: 38px 18px 40px;
  }

  .pm-range-copy h2 {
    font-size: 28px;
  }

  .pm-spec-grid {
    grid-template-columns: 1fr;
  }

  .pm-spec-card {
    min-height: 86px;
  }

  .pm-parameters-section {
    padding: 40px 18px 22px;
  }

  .pm-section-heading h2,
  .pm-high-pressure > h2 {
    font-size: 21px;
  }

  .pm-qualification-strip {
    padding: 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pm-qualification-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .pm-qualification-badges span,
  .pm-qualification-badges span:first-child {
    height: 54px;
    padding: 4px 6px;
    border-left: 0;
  }

  .pm-qualification-badges img {
    max-height: 46px;
  }

  .pm-lower-section {
    padding: 16px 18px 46px;
  }

  .pm-selection-card {
    padding: 26px 20px;
    grid-template-columns: 1fr;
  }

  .pm-selection-card h2 {
    font-size: 23px;
  }

  .pm-selection-card li,
  .pm-selection-card .pm-detail-button {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-detail-button {
    transition: none;
  }
}

.series-detail-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--detail-navy) url("../media/images/banner2.jpg") center / cover no-repeat;
  color: #fff;
}

.series-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 23, 40, .86);
}

.series-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 420px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px 34px;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: 40px;
  align-items: center;
}

.series-detail-hero-copy {
  min-width: 0;
}

.series-detail-hero .eyebrow {
  margin: 0 0 13px;
  color: var(--detail-yellow);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.series-detail-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.06;
}

.series-detail-hero-copy > p:not(.eyebrow) {
  max-width: 690px;
  margin: 20px 0 0;
  color: #dce8f2;
  font-size: 17px;
  line-height: 1.65;
}

.series-detail-hero-product {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .32));
}

.series-detail-hero-product.piston-hero-product {
  height: 300px;
}

.screw-category-detail-hero {
  background-color: var(--detail-navy);
  background-image: url("../media/images/Screw-Air-Compressors-banner.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.two-stage-category-detail-hero {
  background-color: var(--detail-navy);
  background-image: url("../media/images/Two-stage-Compressor-banner.jpg?v=20260731-2250");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.laser-category-detail-hero {
  background-color: var(--detail-navy);
  background-image: url("../media/images/Laser-Cutting-Air-Compressor-System-banner.jpg?v=20260731-2259");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.piston-category-detail-hero {
  background-color: var(--detail-navy);
  background-image: url("../media/images/Piston-Air-Compressor-banner.jpg?v=20260731-2324");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.screw-category-detail-hero::before,
.two-stage-category-detail-hero::before,
.laser-category-detail-hero::before,
.piston-category-detail-hero::before {
  background: linear-gradient(90deg, rgba(5, 25, 44, .98) 0%, rgba(5, 25, 44, .88) 42%, rgba(5, 25, 44, .12) 75%);
}

.series-detail-hero.screw-category-detail-hero .series-detail-hero-inner,
.series-detail-hero.two-stage-category-detail-hero .series-detail-hero-inner,
.series-detail-hero.laser-category-detail-hero .series-detail-hero-inner,
.series-detail-hero.piston-category-detail-hero .series-detail-hero-inner {
  grid-template-columns: minmax(0, 760px) 1fr;
}

html[dir="rtl"] .screw-category-detail-hero::before,
html[dir="rtl"] .two-stage-category-detail-hero::before,
html[dir="rtl"] .laser-category-detail-hero::before,
html[dir="rtl"] .piston-category-detail-hero::before {
  background: linear-gradient(270deg, rgba(5, 25, 44, .98) 0%, rgba(5, 25, 44, .9) 48%, rgba(5, 25, 44, .3) 80%);
}

.series-source-note {
  max-width: 430px;
  margin: 0;
  color: var(--detail-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
}

.pm-parameter-table .row-label small {
  display: block;
  margin-top: 4px;
  color: #66809a;
  font-size: 10px;
}

.series-wide-table {
  min-width: 1760px;
}

.two-stage-parameter-table {
  min-width: 1340px;
}

.low-pressure-table {
  min-width: 980px;
}

.series-table-stack {
  display: grid;
  gap: 28px;
}

.series-table-stack .pm-section-heading {
  margin-bottom: 0;
}

.series-table-block {
  min-width: 0;
}

.series-table-block h3 {
  margin: 0 0 12px;
  color: var(--detail-ink);
  font-size: 19px;
  line-height: 1.25;
}

.series-common-spec {
  margin: -8px 0 0;
  padding: 14px 18px;
  background: #f4f7fb;
  color: #31506f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.series-selection-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 34px 58px;
}

.series-selection-section .pm-selection-card {
  min-height: 0;
}

.series-component-section {
  padding: 46px 34px;
  border-bottom: 1px solid #edf1f5;
  background: #f6f8fb;
}

.series-component-inner {
  max-width: 1250px;
  margin: 0 auto;
}

.series-component-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.series-component-card {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid var(--detail-line);
  border-radius: 6px;
  background: #fff;
}

.series-component-card > span {
  color: var(--detail-yellow);
  font-size: 12px;
  font-weight: 900;
}

.series-component-card h3 {
  margin: 10px 0 8px;
  color: var(--detail-ink);
  font-size: 17px;
  line-height: 1.25;
}

.series-component-card p {
  margin: 0;
  color: var(--detail-muted);
  font-size: 12px;
  line-height: 1.6;
}

.series-row-table {
  min-width: 1240px;
  table-layout: auto;
}

.laser-system-parameter-table {
  min-width: 960px;
}

.series-row-table thead th:first-child,
.series-row-table tbody th {
  position: sticky;
  left: 0;
}

.series-row-table thead th:first-child {
  z-index: 5;
}

.series-row-table tbody th {
  z-index: 3;
  width: 150px;
  min-width: 150px;
  background: #fff;
  color: #31506f;
  font-weight: 900;
}

.series-row-table thead th:first-child {
  width: 150px;
  min-width: 150px;
}

html[dir="rtl"] .series-source-note {
  text-align: left;
}

@media (max-width: 1100px) {
  .series-component-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .series-detail-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr);
    gap: 18px;
  }

  .series-detail-hero h1 {
    font-size: 40px;
  }

  .series-detail-hero-product {
    height: 260px;
  }
}

@media (max-width: 620px) {
  .screw-category-detail-hero,
  .two-stage-category-detail-hero,
  .laser-category-detail-hero,
  .piston-category-detail-hero {
    background-position: 72% center;
    background-size: auto 100%;
  }

  .laser-category-detail-hero,
  .piston-category-detail-hero {
    background-position: 86% center;
  }

  .screw-category-detail-hero::before,
  .two-stage-category-detail-hero::before,
  .laser-category-detail-hero::before,
  .piston-category-detail-hero::before,
  html[dir="rtl"] .screw-category-detail-hero::before,
  html[dir="rtl"] .two-stage-category-detail-hero::before,
  html[dir="rtl"] .laser-category-detail-hero::before,
  html[dir="rtl"] .piston-category-detail-hero::before {
    background: linear-gradient(180deg, rgba(5, 25, 44, .99) 0%, rgba(5, 25, 44, .93) 62%, rgba(5, 25, 44, .42) 100%);
  }

  .series-detail-hero.screw-category-detail-hero .series-detail-hero-inner,
  .series-detail-hero.two-stage-category-detail-hero .series-detail-hero-inner,
  .series-detail-hero.laser-category-detail-hero .series-detail-hero-inner,
  .series-detail-hero.piston-category-detail-hero .series-detail-hero-inner {
    min-height: 590px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    align-content: center;
  }

  .series-detail-hero-inner {
    min-height: 650px;
    padding: 40px 18px 34px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 210px;
    gap: 22px;
    align-content: start;
  }

  .series-detail-hero h1 {
    font-size: 35px;
  }

  .series-detail-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .series-detail-hero-product,
  .series-detail-hero-product.piston-hero-product {
    width: 100%;
    height: 210px;
  }

  .series-source-note {
    text-align: left;
  }

  .series-selection-section {
    padding: 18px 18px 46px;
  }

  .series-component-section {
    padding: 40px 18px;
  }

  .series-component-grid {
    grid-template-columns: 1fr;
  }

  .series-table-block h3 {
    font-size: 18px;
  }
}
