/* Quntis Digital Design System Extension: Amazon Storefront profile. */
.home-page3 {
  background: var(--q-color-page);
  color: var(--q-color-text);
  font-family: var(--q-font-sans);
  font-size: var(--q-type-body);
}

.home-page3 *,
.home-page3 *::before,
.home-page3 *::after {
  box-sizing: border-box;
}

.home-page3 h1,
.home-page3 h2,
.home-page3 h3,
.home-page3 p {
  letter-spacing: 0;
}

.home-page3 img,
.home-page3 video {
  max-width: 100%;
}

.home-page3 .asset-spec,
.home-page3 .review-preview-notice,
.home-page3 .series-cover-tile > span {
  display: none !important;
}

.home-page3 [data-amazon-module] {
  letter-spacing: 0;
}

.home-page3 a:focus-visible,
.home-page3 button:focus-visible,
.home-page3 input:focus-visible {
  outline: 3px solid var(--q-color-series-focus);
  outline-offset: 3px;
}

/* Amazon page canvas and module rhythm. Existing flex order remains untouched. */
.home-page3 .before-after-video-section,
.home-page3 .home-featured-deals-strip,
.home-page3 .series-showcase-home,
.home-page3 .brand-bottom-jump,
.home-page3 .home-no1-full-image,
.home-page3 .awards-section,
.home-page3 .home-page3-reserved-section {
  width: min(var(--q-content-max), calc(100% - 48px));
  margin: var(--q-amazon-gutter) auto 0;
}

.home-page3 .home-top-image-banner {
  overflow: hidden;
  background: var(--q-color-near-black);
}

.home-page3 .home-top-image-banner img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-page3 .store-header {
  border-bottom: 1px solid var(--q-color-border);
  background: var(--q-color-white);
  box-shadow: none;
}

.home-page3 .store-header a,
.home-page3 .store-header button,
.home-page3 .store-header input {
  font-family: var(--q-font-sans);
}

/* First visible content: compact video proof with a clear text hierarchy. */
.home-page3 .before-after-video-section {
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: var(--q-space-4);
  align-items: center;
  padding: var(--q-space-4);
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white);
  box-shadow: var(--q-shadow-subtle);
}

.home-page3 .before-after-copy {
  align-content: center;
  gap: var(--q-space-2);
}

.home-page3 .before-after-copy .entry-kicker {
  color: var(--q-color-beam-orange);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.home-page3 .before-after-copy h2 {
  max-width: 11em;
  margin: 0;
  font-size: var(--q-type-h2);
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .before-after-copy p {
  max-width: 420px;
  margin: 0;
  color: var(--q-color-text-muted);
  font-size: var(--q-type-body);
  font-weight: 400;
  line-height: var(--q-line-body);
}

.home-page3 .before-after-video-frame {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--q-radius-media);
  background: var(--q-color-near-black);
}

.home-page3 .before-after-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

/* Two equal, real-linked Amazon entry tiles. */
.home-page3 .home-page3-entry-pair {
  min-height: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white);
  box-shadow: var(--q-shadow-subtle);
}

.home-page3 .home-page3-entry-card {
  min-height: 320px;
  gap: var(--q-space-2);
  padding: var(--q-space-6);
  border-top: 3px solid var(--q-color-beam-orange);
}

.home-page3 .home-page3-entry-card + .home-page3-entry-card {
  border-left: 1px solid var(--q-color-border);
}

.home-page3 .home-page3-entry-card::after {
  content: none;
}

.home-page3 .home-page3-entry-card > span {
  color: var(--q-color-beam-orange);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.home-page3 .home-page3-entry-card h2 {
  max-width: 12em;
  margin: 0;
  font-size: var(--q-type-h2);
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .home-page3-entry-card p {
  max-width: 430px;
  margin: 0;
  color: var(--q-color-text-muted);
  font-size: var(--q-type-body);
  font-weight: 400;
  line-height: var(--q-line-body);
}

.home-page3 .home-page3-entry-card em {
  width: max-content;
  min-height: 44px;
  margin-top: var(--q-space-1);
  padding: 0 18px;
  border-radius: var(--q-radius-control);
  background: var(--q-color-beam-orange);
  color: var(--q-color-white);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}

.home-page3 .home-page3-deals-card {
  color: var(--q-color-text);
  background: #fff7f2;
}

.home-page3 .home-page3-finder-card {
  color: var(--q-color-white);
  background: var(--q-color-surface-dark);
}

.home-page3 .home-page3-finder-card p {
  color: rgb(255 255 255 / 72%);
}

/* Series: one copy panel, then a video and two equal image tiles. */
.home-page3 .series-showcase-home {
  gap: var(--q-amazon-gutter);
}

.home-page3 .series-showcase-card {
  --q-series-accent: var(--q-color-series-focus);
  grid-template-columns: minmax(300px, 0.38fr) minmax(0, 0.62fr);
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white);
  box-shadow: var(--q-shadow-subtle);
}

.home-page3 .glow-showcase {
  --q-series-accent: var(--q-color-series-glow);
}

.home-page3 .im-showcase {
  --q-series-accent: var(--q-color-series-im);
}

.home-page3 .studio-showcase {
  --q-series-accent: var(--q-color-series-studio);
}

.home-page3 .studio-showcase .series-showcase-copy > span {
  color: var(--q-color-white);
}

.home-page3 .series-showcase-copy {
  align-content: center;
  gap: var(--q-space-2);
  min-height: 0;
  padding: var(--q-space-6);
  background: var(--q-color-surface-dark);
}

.home-page3 .series-showcase-copy::before {
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: var(--q-space-1);
  background: var(--q-series-accent);
  content: "";
}

.home-page3 .series-showcase-copy > span {
  color: var(--q-series-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.home-page3 .series-showcase-copy h2 {
  max-width: 12em;
  margin: 0;
  color: var(--q-color-white);
  font-size: var(--q-type-h2);
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .series-showcase-copy p {
  max-width: 36rem;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: var(--q-type-body);
  font-weight: 400;
  line-height: var(--q-line-body);
}

.home-page3 .series-showcase-copy > strong {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  align-items: center;
  margin-top: var(--q-space-1);
  border-bottom: 1px solid var(--q-series-accent);
  color: var(--q-color-white);
  font-size: 14px;
  font-weight: 700;
}

.home-page3 .series-showcase-media {
  display: grid;
  grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
  height: 520px;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  background: var(--q-color-near-black);
}

.home-page3 .series-video-tile,
.home-page3 .series-image-tile {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
}

.home-page3 .series-video-tile {
  border-bottom: 1px solid var(--q-color-border);
}

.home-page3 .series-scene-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 0;
  border-top: 0;
}

.home-page3 .series-scene-row a {
  min-height: 0;
  aspect-ratio: auto;
}

.home-page3 .series-video-tile video,
.home-page3 .series-video-tile img,
.home-page3 .series-image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page3 .series-product-hotspot {
  border-radius: 50%;
}

/* Brand transitions keep a lower visual weight than the series story. */
.home-page3 .brand-bottom-jump {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--q-space-2);
}

.home-page3 .brand-bottom-jump .brand-jump-card {
  min-height: 300px;
  padding: var(--q-space-6);
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white) !important;
  color: var(--q-color-text) !important;
  box-shadow: none;
}

.home-page3 .brand-bottom-jump .brand-jump-card-dark {
  background: var(--q-color-surface-dark) !important;
  color: var(--q-color-white) !important;
}

.home-page3 .brand-bottom-jump .brand-jump-card::before,
.home-page3 .brand-bottom-jump .brand-jump-card::after {
  content: none !important;
}

.home-page3 .brand-bottom-jump .brand-jump-card > span {
  color: var(--q-color-beam-orange) !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.1em;
}

.home-page3 .brand-bottom-jump .brand-jump-card h3 {
  max-width: 14em;
  margin: var(--q-space-2) 0;
  color: inherit !important;
  font-size: 32px;
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .brand-bottom-jump .brand-jump-card p {
  max-width: 600px;
  margin: 0;
  color: var(--q-color-text-muted) !important;
  font-size: var(--q-type-body);
  font-weight: 400;
  line-height: var(--q-line-body);
}

.home-page3 .brand-bottom-jump .brand-jump-card-dark p {
  color: rgb(255 255 255 / 72%) !important;
}

.home-page3 .brand-jump-cta {
  min-height: 44px;
  margin-top: var(--q-space-3);
  padding: 0 18px;
  border-radius: var(--q-radius-control);
  background: var(--q-color-beam-orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

/* Proof, recognition, reserved, and native endcap. */
.home-page3 .home-no1-full-image {
  overflow: hidden;
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-near-black);
  box-shadow: none;
}

.home-page3 .home-no1-full-image > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-page3 .awards-section {
  padding: var(--q-space-6);
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white);
}

.home-page3 .awards-section .section-intro {
  margin-bottom: var(--q-space-3);
}

.home-page3 .awards-section .section-intro h2 {
  margin: 0;
  font-size: var(--q-type-h3);
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .award-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--q-space-2);
}

.home-page3 .award-tile {
  display: grid;
  min-width: 0;
  min-height: 150px;
  margin: 0;
  place-items: center;
  padding: var(--q-space-2);
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-control);
  background: #f8fafc;
}

.home-page3 .award-tile img {
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.home-page3 .home-page3-reserved-section {
  min-height: 0;
  padding: var(--q-space-6) !important;
  border: 1px solid var(--q-color-border);
  border-radius: var(--q-radius-card);
  background: var(--q-color-white);
}

.home-page3 .home-page3-reserved-section .section-intro {
  max-width: var(--q-reading-max);
  margin: 0 auto;
}

.home-page3 .home-page3-reserved-section .section-intro h2 {
  margin: 0;
  font-size: var(--q-type-h3);
  font-weight: 800;
  line-height: var(--q-line-heading);
}

.home-page3 .home-page3-reserved-section .section-intro p {
  margin: var(--q-space-1) auto 0;
  color: var(--q-color-text-muted);
  font-size: var(--q-type-body);
  font-weight: 400;
  line-height: var(--q-line-body);
}

.home-page3 .amazon-store-endcap {
  margin-top: var(--q-amazon-gutter);
}

@media (max-width: 1040px) {
  .home-page3 .series-showcase-card {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  }

  .home-page3 .series-showcase-copy {
    padding: var(--q-space-4);
  }

  .home-page3 .series-showcase-copy h2 {
    font-size: 34px;
  }
}

@media (max-width: 760px) {
  .home-page3 .before-after-video-section,
  .home-page3 .home-featured-deals-strip,
  .home-page3 .series-showcase-home,
  .home-page3 .brand-bottom-jump,
  .home-page3 .home-no1-full-image,
  .home-page3 .awards-section,
  .home-page3 .home-page3-reserved-section {
    width: min(100% - 32px, var(--q-content-max));
    margin-top: var(--q-amazon-gutter-mobile);
  }

  .home-page3 .before-after-video-section,
  .home-page3 .home-page3-entry-pair,
  .home-page3 .series-showcase-card,
  .home-page3 .brand-bottom-jump {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page3 .before-after-video-section {
    gap: var(--q-space-3);
    padding: var(--q-space-3);
  }

  .home-page3 .before-after-copy h2,
  .home-page3 .home-page3-entry-card h2,
  .home-page3 .series-showcase-copy h2 {
    font-size: var(--q-type-h2-mobile);
  }

  .home-page3 .home-page3-entry-card {
    min-height: 260px;
    padding: var(--q-space-4) var(--q-space-3);
  }

  .home-page3 .home-page3-entry-card + .home-page3-entry-card {
    border-top: 1px solid var(--q-color-border);
    border-left: 0;
  }

  .home-page3 .series-showcase-card {
    min-height: 0;
  }

  .home-page3 .series-showcase-copy {
    padding: var(--q-space-4) var(--q-space-3);
  }

  .home-page3 .series-showcase-media {
    grid-template-rows: auto auto;
    height: auto;
    min-height: 0;
  }

  .home-page3 .series-video-tile {
    aspect-ratio: 16 / 9;
  }

  .home-page3 .series-scene-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page3 .series-scene-row a {
    aspect-ratio: 16 / 10;
  }

  .home-page3 .brand-bottom-jump {
    gap: var(--q-amazon-gutter-mobile);
  }

  .home-page3 .brand-bottom-jump .brand-jump-card {
    min-height: 280px;
    padding: var(--q-space-4) var(--q-space-3);
  }

  .home-page3 .brand-bottom-jump .brand-jump-card h3 {
    font-size: var(--q-type-h2-mobile);
  }

  .home-page3 .awards-section,
  .home-page3 .home-page3-reserved-section {
    padding: var(--q-space-4) var(--q-space-3) !important;
  }

  .home-page3 .award-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-page3 .award-tile {
    min-height: 120px;
  }

  .home-page3 .award-tile img {
    max-height: 86px;
  }
}

@media (max-width: 480px) {
  .home-page3 .series-scene-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page3 .series-scene-row a {
    aspect-ratio: 16 / 9;
  }

  .home-page3 .series-scene-row a + a {
    border-top: 1px solid var(--q-color-border);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page3 *,
  .home-page3 *::before,
  .home-page3 *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
