/* CP246: model-specific presentation for the verified PAX A8900 case page. */
.subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  grid-template-areas: "media copy";
  gap: clamp(30px, 4.4vw, 68px);
  align-items: start;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child {
  grid-area: copy;
  min-width: 0;
  max-width: 760px;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] h1 {
  max-width: 15ch;
  margin-block: 22px 18px;
  font-size: clamp(2.45rem, 4.7vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.043em;
  text-wrap: balance;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .product-lead {
  max-width: 62ch;
  color: #d0dced;
  font-size: clamp(1.05rem, 1.32vw, 1.23rem);
  line-height: 1.68;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero {
  grid-area: media;
  position: relative;
  isolation: isolate;
  top: auto;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 4;
  max-height: 760px;
  padding: clamp(14px, 2vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(48, 165, 255, .62);
  border-radius: clamp(20px, 2.4vw, 34px);
  background:
    radial-gradient(ellipse at 16% 22%, rgba(16, 156, 255, .18), transparent 42%),
    radial-gradient(ellipse at 88% 78%, rgba(255, 22, 60, .16), transparent 38%),
    linear-gradient(150deg, #07172a, #020811 72%);
  box-shadow: 0 26px 72px rgba(0, 0, 0, .48),
    0 0 30px rgba(16, 156, 255, .15),
    0 0 24px rgba(255, 22, 60, .10),
    inset 0 1px 0 rgba(255, 255, 255, .09);
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(176, 209, 239, .10);
  border-radius: calc(clamp(20px, 2.4vw, 34px) - 8px);
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero .product-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 560px;
  max-height: 700px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .52));
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .spec-grid > div {
  min-width: 0;
  border: 1px solid rgba(54, 137, 205, .30);
  border-radius: 14px;
  background: transparent;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .product-benefits,
.subpage-shell .product-page[data-pg-product-id="a8900"] .market-note {
  border-color: rgba(49, 154, 228, .42);
  background: transparent;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .hero-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-media30-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  margin-block: clamp(30px, 4vw, 56px);
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-media30-item {
  border: 1px solid rgba(60, 132, 190, .35);
  border-radius: 18px;
  background: linear-gradient(145deg, #08182b, #020811);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .3);
}

.subpage-shell .product-page[data-pg-product-id="a8900"] .pg-media30-item img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

@media (max-width: 900px) {
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: none;
    gap: 26px;
    align-items: start;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child {
    display: contents;
    grid-area: auto;
  }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > * { order: 4; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > .eyebrow { order: 0; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > h1 { order: 1; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > .pg-product-sku,
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > .pg-cms-on-demand-badge { order: 2; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > div:first-child > .product-lead { order: 3; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > .pg-a8900-case-hero { grid-area: auto; order: 3; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > .pg-case-360-section { order: 4; }
  .subpage-shell .product-page[data-pg-product-id="a8900"] .product-layout > .pg-media30-gallery { order: 5; }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero {
    width: 100%;
    max-height: 680px;
    padding: 12px;
    border-radius: 22px;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero::after {
    inset: 8px;
    border-radius: 16px;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero .product-image {
    max-height: 640px;
  }
}

@media (max-width: 560px) {
  .subpage-shell .product-page[data-pg-product-id="a8900"] h1 {
    max-width: 17ch;
    font-size: clamp(1.9rem, 7.4vw, 2.6rem);
    line-height: 1.08;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero {
    aspect-ratio: 3 / 4;
    max-height: none;
    padding: 9px;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-a8900-case-hero .product-image {
    max-height: none;
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-shell .product-page[data-pg-product-id="a8900"] .pg-media30-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-shell .product-page[data-pg-product-id="a8900"] *,
  .subpage-shell .product-page[data-pg-product-id="a8900"] *::before,
  .subpage-shell .product-page[data-pg-product-id="a8900"] *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
