.product-model-page {
  background: #f6f8fb;
}

.product-model-page .page-hero .container {
  max-width: 1480px;
}

.product-model-page .page-hero h1 {
  max-width: 1040px;
}

.product-model-page .page-hero > .container > p:not(.eyebrow) {
  max-width: 920px;
}

.product-model-nav {
  position: sticky;
  z-index: 30;
  top: 72px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.product-model-nav .container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: thin;
}

.product-model-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  color: var(--navy-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.product-model-nav a:hover,
.product-model-nav a:focus-visible {
  color: var(--navy-deep);
  background: var(--yellow);
  border-color: var(--yellow);
}

.product-model-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}

.product-model-gallery {
  display: grid;
  gap: 12px;
  align-self: center;
}

.product-model-gallery-main {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: #e8edf3;
  border-radius: 6px;
}

.product-model-gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-model-summary {
  padding-left: clamp(22px, 3vw, 42px);
  border-left: 5px solid var(--yellow);
}

.product-model-summary h2 {
  margin: 7px 0 14px;
  color: var(--navy-deep);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.08;
}

.product-model-summary > p {
  color: var(--muted);
  line-height: 1.75;
}

.product-model-facts {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.product-model-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 0.62fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.product-model-facts dt,
.product-model-facts dd {
  margin: 0;
}

.product-model-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-model-facts dd {
  color: var(--navy-deep);
  font-weight: 900;
}

.product-reference-note {
  margin-top: 18px;
  padding: 14px 16px;
  color: #634b00;
  background: #fff8dc;
  border-left: 4px solid var(--yellow);
  font-size: 14px;
  line-height: 1.6;
}

.product-fit-grid,
.product-component-grid,
.product-proof-grid,
.product-delivery-grid {
  display: grid;
  gap: 18px;
}

.product-fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-fit-block {
  padding: clamp(22px, 3vw, 34px) 0;
  border-top: 4px solid var(--blue);
  border-bottom: 1px solid var(--line);
}

.product-fit-block.caution {
  border-top-color: #d88900;
}

.product-fit-block span,
.product-proof-item span,
.product-component-item span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-fit-block h3,
.product-proof-item h3,
.product-component-item h3 {
  margin: 9px 0 10px;
  color: var(--navy-deep);
  line-height: 1.25;
}

.product-fit-block p,
.product-proof-item p,
.product-component-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-case-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-case-row div {
  padding: 18px 20px;
  color: var(--navy-deep);
  background: #fff;
  font-weight: 800;
}

.product-component-grid,
.product-proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-component-item,
.product-proof-item {
  padding: 22px 0;
  border-top: 3px solid var(--yellow);
}

.product-key-specs {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.product-key-specs-copy {
  position: sticky;
  top: 142px;
}

.product-key-specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.product-key-specs-table th,
.product-key-specs-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.product-key-specs-table th {
  width: 36%;
  color: var(--navy-deep);
  font-size: 13px;
}

.product-key-specs-table td {
  color: var(--muted);
}

.product-delivery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-delivery-column {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
}

.product-delivery-column h3 {
  margin-bottom: 16px;
  color: var(--navy-deep);
}

.product-delivery-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.product-model-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-model-related a {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 24px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}

.product-model-related h3 {
  color: var(--navy-deep);
}

.product-model-related p {
  color: var(--muted);
}

.product-model-related strong {
  align-self: end;
  color: var(--blue);
}

.product-model-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-model-list-card {
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
}

.product-model-list-card img {
  display: block;
  width: 100%;
  /* Phase 4E: override the HTML height hint after CSS loads so a 640x427
     source cannot render as a 303x427 portrait on a one-column phone card. */
  height: auto !important;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-model-list-card div {
  padding: 20px;
}

.product-model-list-card small,
.product-model-list-card strong {
  color: var(--blue);
  font-weight: 900;
}

.product-model-list-card .product-config-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff3c4;
  color: #765800;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.product-model-list-card .product-config-badge + small {
  display: block;
}

.product-model-list-card h3 {
  margin: 8px 0;
  color: var(--navy-deep);
}

.product-model-list-card p {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .product-model-overview,
  .product-key-specs {
    grid-template-columns: 1fr;
  }

  .product-key-specs-copy {
    position: static;
  }

  .product-component-grid,
  .product-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-model-nav {
    top: 64px;
  }

  .product-model-summary {
    padding-left: 18px;
  }

  .product-fit-grid,
  .product-component-grid,
  .product-proof-grid,
  .product-delivery-grid,
  .product-model-related,
  .product-model-list-grid,
  .product-case-row {
    grid-template-columns: 1fr;
  }

  .product-key-specs {
    overflow: hidden;
  }

  .product-key-specs-table-wrap {
    overflow-x: auto;
  }

  .product-key-specs-table {
    min-width: 620px;
  }
}
