/* Product detail pages */
.pd-hero {
  position: relative;
  min-height: min(72vh, 720px);
  display: grid;
  align-items: end;
  background: linear-gradient(160deg, #0b1c3a 0%, #132a4d 45%, #1a3a5c 100%);
  color: #fff;
  overflow: hidden;
}

.pd-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.pd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 40, 0.92) 0%, rgba(8, 20, 40, 0.55) 48%, rgba(8, 20, 40, 0.25) 100%);
}

.pd-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 140px 0 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.pd-hero__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.pd-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pd-hero__tagline {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-hero__media {
  justify-self: end;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.pd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-subnav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e6ebf2;
  backdrop-filter: blur(8px);
}

.pd-subnav__inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pd-subnav__inner::-webkit-scrollbar {
  display: none;
}

.pd-subnav a {
  flex: 0 0 auto;
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #5a6a7e;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.pd-subnav a:hover,
.pd-subnav a.is-active {
  color: #0b1c3a;
  border-bottom-color: #0b5fff;
}

.pd-section {
  padding: 88px 0;
}

.pd-section--alt {
  background: #f5f7fb;
}

.pd-wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.pd-section__head {
  max-width: 720px;
  margin-bottom: 48px;
}

.pd-section__head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  color: #0b1c3a;
}

.pd-section__head p {
  margin: 0;
  color: #5a6a7e;
  line-height: 1.7;
}

.pd-blocks {
  display: grid;
  gap: 56px;
}

.pd-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pd-block--flip .pd-block__media {
  order: 2;
}

.pd-block--flip .pd-block__body {
  order: 1;
}

.pd-block__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #dfe6f0;
}

.pd-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-block__body h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  color: #0b1c3a;
}

.pd-block__body p {
  margin: 0;
  color: #4a5a6e;
  line-height: 1.75;
}

.pd-wide {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.pd-wide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.pd-wide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 40, 0.88), rgba(8, 20, 40, 0.45));
}

.pd-wide__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  max-width: 520px;
  justify-self: start;
  padding: 64px 0;
}

.pd-wide__inner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.pd-wide__inner p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.pd-auto {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.pd-auto__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 4px;
  background: #dfe6f0;
}

.pd-auto__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-auto__body h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: #0b1c3a;
}

.pd-auto__body p {
  margin: 0 0 24px;
  color: #4a5a6e;
  line-height: 1.75;
}

.pd-capacity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pd-capacity figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e6ebf2;
  overflow: hidden;
}

.pd-capacity img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.pd-capacity figcaption {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #4a5a6e;
}

.pd-chart {
  margin-top: 40px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e6ebf2;
}

.pd-chart h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: #0b1c3a;
}

.pd-chart p {
  margin: 0 0 20px;
  color: #5a6a7e;
  font-size: 0.92rem;
  line-height: 1.6;
}

.pd-chart__bars {
  display: grid;
  gap: 12px;
}

.pd-chart__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
}

.pd-chart__row span {
  font-size: 0.85rem;
  color: #5a6a7e;
}

.pd-chart__bar {
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0b5fff, #4d8dff);
}

.pd-chart__bar--muted {
  background: #c5d0de;
}

.pd-tech {
  overflow-x: auto;
}

.pd-tech table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 640px;
}

.pd-tech th,
.pd-tech td {
  padding: 14px 16px;
  border: 1px solid #e6ebf2;
  text-align: left;
  font-size: 0.92rem;
}

.pd-tech th {
  background: #0b1c3a;
  color: #fff;
  font-weight: 600;
}

.pd-tech tr:nth-child(even) td {
  background: #f8fafc;
}

.pd-reco {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pd-reco a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e6ebf2;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-reco a:hover {
  border-color: #0b5fff;
  box-shadow: 0 10px 28px rgba(11, 28, 58, 0.08);
}

.pd-reco img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #eef2f7;
}

.pd-reco__body {
  padding: 16px 18px 20px;
}

.pd-reco__body strong {
  display: block;
  margin-bottom: 6px;
  color: #0b1c3a;
}

.pd-reco__body span {
  font-size: 0.88rem;
  color: #5a6a7e;
}

.pd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 960px) {
  .pd-hero__inner,
  .pd-block,
  .pd-block--flip,
  .pd-auto {
    grid-template-columns: 1fr;
  }

  .pd-block--flip .pd-block__media,
  .pd-block--flip .pd-block__body {
    order: initial;
  }

  .pd-hero__media {
    justify-self: stretch;
    width: 100%;
  }

  .pd-capacity,
  .pd-reco {
    grid-template-columns: 1fr;
  }

  .pd-subnav {
    top: 64px;
  }
}

@media (max-width: 640px) {
  .pd-hero__inner {
    padding: 120px 0 48px;
  }

  .pd-section {
    padding: 64px 0;
  }

  .pd-chart__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
