/* Spinner inherits Mini's material, navigation and interaction components.
   These rules adapt their media geometry to existing Spinner photographs. */
/* Keep the opening at y=0 when the shared compact header becomes 60px. */
@media (max-width: 480px) {
  body.qp-page main#content:has(> article[data-product="spinner360"] > .qp-mixup-hero:first-child) { margin-top: -60px; }
  body.qp-page main#content > article[data-product="spinner360"] > .qp-mixup-hero:first-child { border-top-width: 60px; }
  body.qp-page main#content > article[data-product="spinner360"] > .qp-mixup-hero:first-child > .qp-video-section-light,
body.qp-page main#content > article[data-product="spinner360"] > .qp-mixup-hero:first-child > :where(.qp-ambient-gate) > .qp-video-section-light { top: -60px; }
}
/* Product footage keeps its intrinsic portrait ratio, independent of viewport height. */
.qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__inner { min-height: 0; }
@media (min-width: 941px) {
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__visual { align-self: start; height: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media { position: relative; inset: auto; height: auto; aspect-ratio: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media .qp-product-loop { width: 100%; max-width: none; height: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media .qp-mixup-video-frame { height: auto; aspect-ratio: var(--product-video-ratio, 9 / 16); }
}
.qp-page .qp-product-family[data-product="spinner360"] #seo-product-intro-title {
  font-size: clamp(40px,6.4vw,76px); line-height: 1.08; max-width: none;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__copy > .qp-inline-request {
  margin-top: 0;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__copy {
  justify-content: center;
  gap: 24px;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media > picture {
  height: 100%; min-height: 360px;
}
/* The stacked hero must reserve the portrait video's full intrinsic height. */
@media (max-width: 940px) {
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media {
    height: auto; aspect-ratio: auto; background: transparent;
  }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media .qp-mixup-video-frame {
    height: auto; aspect-ratio: var(--product-video-ratio, 9 / 16);
  }
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel {
  color: #283044;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel h2 {
  color: #192239;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel .qp-family-specs-photo {
  width: 100%; max-width: 480px; margin-inline: auto;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel .qp-family-specs-photo > picture {
  aspect-ratio: 4/3;
}
.qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel .qp-family-specs-photo img {
  object-fit: contain;
}
.qp-spinner-filming { gap: 40px; padding: 24px; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; }
.qp-page .qp-product-family[data-product="spinner360"] #spinner-advantages { background: #16191f; color: #f5f7ff; }
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming-title { color: #f5f7ff; background: none; -webkit-text-stroke: 0; filter: none; }
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-family-bubble {
  color: #f5f7ff; background: #2b303a; border-color: rgba(255,255,255,.2);
}
.qp-page .qp-product-family[data-product="spinner360"] #formats .qp-mini-carousel__track { aspect-ratio: 1; }
.qp-page .qp-product-family[data-product="spinner360"] #formats .qp-mini-carousel__track figure { height: auto; aspect-ratio: 1; }
.qp-product-family[data-product="spinner360"] .qp-mini-explorer .qp-product-loop { width: 100%; max-width: none; height: 100%; margin: 0; }
.qp-product-family[data-product="spinner360"] .qp-mini-explorer .qp-mixup-video-frame { height: 100%; aspect-ratio: auto; }
.qp-page .qp-product-family[data-product="spinner360"] #formats video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.qp-page .qp-product-family[data-product="spinner360"] #formats .qp-product-loop {
  background: #f4f6fa; border-radius: var(--qp-radius-frame); overflow: hidden;
}
.qp-page .qp-product-family[data-product="spinner360"] #formats video { background: transparent; color-scheme: light; }
.qp-page .qp-product-family[data-product="spinner360"] #formats video:focus-visible { outline-color: #3968c5; }
.qp-product-family[data-product="spinner360"] .qp-mini-carousel__photo-select[hidden] { display: none; }
@media (min-width: 901px) {
  .qp-page .qp-product-family[data-product="spinner360"] #formats .qp-mini-carousel__controls { align-self: center; }
  .qp-page .qp-product-family[data-product="spinner360"] #formats .qp-mini-carousel__track { align-self: center; }
  .qp-product-family[data-product="spinner360"] .qp-mini-explorer__label { width: auto; max-width: 100%; white-space: normal; }
}
.qp-page .qp-product-family[data-product="spinner360"] #specs .qp-product-loop {
  position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1;
}
.qp-page .qp-product-family[data-product="spinner360"] #specs .qp-mixup-video-frame {
  height: auto; aspect-ratio: 1;
}
.qp-page .qp-product-family[data-product="spinner360"] #specs video { object-fit: cover; object-position: center; }
.qp-page .qp-product-family[data-product="spinner360"] #specs .qp-family-specs-photo { align-self: start; }
.qp-page .qp-product-family[data-product="spinner360"] #family-specs-title {
  font-size: clamp(32px, 4vw, 56px); font-weight: 650; line-height: 1.1;
  grid-column: 1 / -1; text-align: center; text-wrap: balance;
  width: 100%; max-width: none;
  background: none; color: #283044; -webkit-text-stroke: 0; filter: none;
}
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming > header {
  display: block; min-width: 0; align-self: start;
}
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming-title {
  font-size: clamp(32px, 4vw, 56px); line-height: 1.1; max-width: none; margin: 0 0 28px;
}
#spinner-filming-title > span { display: block; }
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-family-bubble { margin: 0; }
.qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-product-loop {
  width: 100%; max-width: none; margin: 0;
}
@media (min-width: 1101px) {
  .qp-page .qp-product-family[data-product="spinner360"] #family-specs-title { white-space: nowrap; }
  .qp-page .qp-product-family[data-product="spinner360"] #specs .qp-family-specs-photo { grid-row: 2; align-self: stretch; }
  .qp-page .qp-product-family[data-product="spinner360"] #specs .qp-product-loop { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] #specs .qp-mixup-video-frame { height: 100%; aspect-ratio: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] #specs .qp-family-split { row-gap: 24px; }
}
.qp-spinner-versions { display: grid; gap: 24px; margin: 28px 0 0; }
.qp-spinner-versions dt { font-size: 24px; font-weight: 600; }
.qp-spinner-versions dd { max-width: 45ch; margin: 8px 0 0; font-size: 18px; line-height: 1.5; }
@media (min-width: 701px) {
  .qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel {
    display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: stretch;
  }
  /* Preserve the former section footprint while giving its padding to the video. */
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming {
    min-height: max(clamp(540px, 65svh, 720px), calc(480px + 2 * clamp(24px, 4vw, 64px)));
  }
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-family-specs-photo { position: relative; min-height: 480px; }
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-product-loop { position: absolute; inset: 0; height: 100%; }
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-mixup-video-frame { height: 100%; aspect-ratio: auto; }
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming video { object-fit: cover; object-position: center; }
}
@media (max-width: 700px) {
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-family-specs-photo { margin-top: 28px; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel { justify-content: flex-start; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-mixup-hero__media > picture { min-height: 0; }
  .qp-spinner-versions dd { font-size: 16px; }
}
@media (forced-colors: active) {
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-advantages,
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming,
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming-title,
  .qp-page .qp-product-family[data-product="spinner360"] #spinner-filming .qp-family-bubble { background: Canvas; color: CanvasText; }
  .qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel,
  .qp-page .qp-product-family[data-product="spinner360"] .qp-spinner-panel h2 { color: CanvasText; }
}
