.product-detail .product-back {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 6px;
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
}
.product-detail .product-back:hover { color: var(--red); text-decoration: underline; }

.product-detail .product-hero {
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  min-height: 390px;
  margin-top: 0;
}
.product-detail .product-hero .hero-copy { min-width: 0; padding: clamp(20px, 3.4vw, 34px); }
.product-detail .product-hero .product-lead { max-width: none; }
.product-detail .product-hero h1 {
  max-width: 18ch;
  margin-bottom: 13px;
  font-size: clamp(32px, 4vw, 46px);
  text-wrap: balance;
}
.product-detail .product-hero .product-location {
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}
.product-detail .product-hero .product-location-map {
  display: inline-block;
  margin-inline-start: 3px;
  padding: 3px 5px;
  color: inherit;
}
.product-detail .product-hero .product-simulator {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.product-detail .product-hero .product-lead {
  margin-top: 9px;
  font-size: clamp(15px, 1.5vw, 17px);
}
.product-detail .product-hero .actions { margin-top: 17px; }
.product-detail .product-hero .button-secondary {
  border-color: #fff8;
  background: transparent;
  color: #fff;
}
.product-detail .product-hero .button-secondary:hover { background: #fff2; }
.product-detail .product-hero a:focus-visible { outline-color: #fff; outline-offset: 3px; }
.product-hero-media { position: relative; min-width: 0; overflow: hidden; }
.product-detail .product-hero-media .hero-image {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: 54% 54%;
}
.product-hero-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #423d5140, transparent 30%);
  content: "";
}

.product-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.product-jump a { flex: 1 1 124px; gap: 6px; padding-inline: 8px; font-size: 14px; }
.product-section { margin-top: 18px; scroll-margin-top: 14px; }
.product-detail .product-section h2 {
  margin-bottom: 10px;
  font-size: clamp(23px, 2.8vw, 30px);
  letter-spacing: -.025em;
}
.product-detail .product-section h3 {
  margin: 0 0 5px;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.35;
}
.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.product-feature, .product-panel {
  min-width: 0;
  padding: 14px 16px;
  background: var(--panel);
}
.product-feature p, .product-panel p { color: var(--muted); }
.product-feature { border-top: 2px solid var(--line); }
.product-panel { border-top: 3px solid #766e88; }
.product-panel + .product-panel { border-top-color: var(--line); }
.product-detail .product-section :is(.product-panel, .product-feature) p + p { margin-top: 8px; }

.product-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding: 0;
  list-style: none;
}
.product-shot-grid > li { min-width: 0; }
.product-shot {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.product-shot:hover { border-color: #8c819d; }
.product-shot:hover .product-shot-label { color: var(--red); text-decoration: underline; }
.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--pale);
}
.product-shot-label { display: block; padding: 7px 10px; font-size: 14px; font-weight: 700; }
.product-more-shots { margin-top: 9px; }
.product-more-shots .product-shot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
}
.product-detail details > summary {
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--pale);
  color: var(--slate);
  font-weight: 700;
  cursor: pointer;
}
.product-detail details > summary::marker { color: var(--red); }
.product-detail details > summary:hover { background: #e9e5ee; }

.product-utilities {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 10px;
}
.product-utilities .product-section { padding: 17px 18px; }
.product-utilities .product-panel > h3 { margin-top: 12px; }
.product-retailers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 7px 0 10px;
}
.product-retailers[hidden] { display: none; }
.product-panel .product-stores { font-size: 14px; }
.product-panel .product-support-status {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.product-history-content {
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--panel);
  color: var(--muted);
}
.product-history-content p + p { margin-top: 9px; }
@media (min-width: 800px) {
  .product-history-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 20px;
  }
  .product-detail .product-history-content h3 { grid-column: 1 / -1; margin-bottom: 0; }
  .product-history-content p + p { margin-top: 0; }
}

.product-lightbox {
  width: min(1140px, calc(100% - 28px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  background: #272432;
  color: #fff;
}
.product-lightbox:not([open]) { display: none; }
.product-lightbox::backdrop { background: #282530df; }
.product-lightbox-figure { margin: 0; }
.product-lightbox-figure img {
  display: block;
  width: 100%;
  height: min(68dvh, 642px);
  background: #282530;
  object-fit: contain;
}
.product-lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 8px 10px;
}
.product-lightbox-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.product-lightbox .button {
  min-height: 42px;
  padding: 6px 11px;
  border-color: #fff6;
  background: #423d51;
  color: #fff;
}
.product-lightbox .button:hover { background: #635b75; }
.product-lightbox :focus-visible { outline-color: #fff; outline-offset: 2px; }
.product-lightbox-caption { font-size: 14px; }

@media (max-width: 820px) {
  .product-detail .product-hero { grid-template-columns: minmax(0, 47%) minmax(0, 53%); }
  .product-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .product-detail .product-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .product-detail .product-hero .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(332px, calc(762px - 100vw), 446px);
  }
  .product-detail .product-hero h1 { max-width: 18ch; }
  .product-hero-media { aspect-ratio: 16 / 9; }
  .product-hero-media::after { background: none; }
  .product-detail .product-hero .actions .button { flex: 1 1 112px; padding-inline: 8px; font-size: 14px; }
  .product-shot-grid, .product-more-shots .product-shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-utilities { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 460px) {
  .product-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .product-feature { padding: 10px 12px; }
  .product-jump a { flex-basis: 118px; }
  .product-lightbox-figure img { height: min(56dvh, 440px); }
}


.product-download-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.product-edition-notes :is(ul, ol) { margin-block: 8px 11px; padding-inline-start: 20px; }
.product-edition-notes li + li { margin-top: 4px; }
.product-story {
  padding: 14px 16px;
  border-top: 2px solid var(--line);
  background: var(--panel);
  overflow-wrap: anywhere;
}
.product-story p + p { margin-top: 9px; }
.product-story img { display: block; max-width: 100%; height: auto; margin: 8px auto; }
.product-included-airports { margin-bottom: 9px; }
.product-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--slate);
}
.product-video iframe { display: block; width: 100%; height: 100%; border: 0; }
.product-detail .product-section .product-story + h3 { margin-top: 12px; }
.product-edition-notes .actions a { overflow-wrap: anywhere; }
.archive-location-link { display: inline-block; padding-block: 3px; font-size: 14px; font-weight: 700; }

.product-detail .product-hero h1 { max-width: none; }
.product-detail .product-credit { margin-top: 12px; }
.product-credit img { display: block; max-width: 100%; height: auto; }
.product-detail .product-related, .product-detail .product-included-airports { margin: 9px 0 0; font-size: 14px; }
.product-detail .product-feature a { overflow-wrap: anywhere; }
.product-detail .product-history-content a { color: var(--slate); }
.product-films { max-width: 720px; margin: 16px auto 0; }
.product-films-pair { max-width: none; }
.product-video-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
@media (min-width: 681px) and (max-width: 980px) {
  .product-detail .product-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(398px, calc(734px - 45vw), 430px); }
  .product-detail .product-hero .hero-copy { padding: 22px; }
  .product-detail .product-hero h1 { font-size: clamp(30px, 4vw, 39px); }
}
.product-detail .product-hero h1.product-title-long { font-size: clamp(28px, 3.3vw, 38px); }
