/* AirEvo visual refinements — 2026-08-25 */

/* Homepage intro: use the full visual canvas, while keeping labels readable. */
.av-home .av-intro__visual > img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  filter: none !important;
}

.av-home .av-intro__visual .av-spec {
  z-index: 4 !important;
  box-shadow: 0 12px 32px rgba(7, 35, 49, .14) !important;
  backdrop-filter: blur(12px) !important;
}

.av-home .av-spec.av-spec--one,
.av-home .av-spec.av-spec--one strong,
.av-home .av-spec.av-spec--one span {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

/* The dark statistic card must never contain microcopy below 12px. */
.av-home .av-stat.av-stat--ink { font-size: 12px !important; }
.av-home .av-stat.av-stat--ink .av-stat__value { font-size: clamp(56px, 4.6vw, 70px) !important; }
.av-home .av-stat.av-stat--ink small { font-size: 15px !important; }
.av-home .av-stat.av-stat--ink p { font-size: 13px !important; }

/* Product detail: keep all three process photos genuinely square. */
#product-description .airevo-sync .steps > .step-wrap {
  overflow: hidden !important;
}

#product-description .airevo-sync .steps .image-18.steps {
  display: block !important;
  width: calc(100% + 40px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Homepage process: every tab owns a full-bleed image. */
.av-home .av-process__stage {
  isolation: isolate !important;
  background: #0a2535 !important;
}

.av-home .av-process__stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 22, 34, .02) 32%, rgba(5, 22, 34, .76) 100%);
}

.av-home .av-process__stage > img {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: 1 !important;
  filter: none !important;
  transform: scale(1.002);
  transition: opacity .24s ease, transform .5s ease !important;
}

.av-home .av-process__stage > img.is-switching {
  opacity: .18 !important;
  transform: scale(1.015);
}

.av-home .av-process__ring { z-index: 3 !important; opacity: .18 !important; }
.av-home .av-process__panel { z-index: 4 !important; }

/* Homepage comparison table: same readable rhythm and fresh tones as product 40. */
.av-home .av-compare__card {
  border: 1px solid #cfe1e1 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 65px rgba(13, 54, 67, .10) !important;
}

.av-home .av-compare__head,
.av-home .av-compare__row {
  grid-template-columns: minmax(210px, 1.25fr) minmax(175px, .75fr) minmax(175px, .75fr) !important;
}

.av-home .av-compare__head { background: linear-gradient(135deg, #f9fcfc, #f1f8f7) !important; }
.av-home .av-compare__head > *,
.av-home .av-compare__row > * {
  min-height: 72px !important;
  padding: 20px 26px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}

.av-home .av-compare__head > * {
  color: #123a48 !important;
  font-weight: 850 !important;
}

.av-home .av-compare__head > :nth-child(2) {
  justify-content: center !important;
  background: #147f77 !important;
  color: #fff !important;
}

.av-home .av-compare__head > :nth-child(3) {
  justify-content: center !important;
  background: #eef2f4 !important;
}

.av-home .av-compare__row { border-top-color: #dce8e8 !important; }
.av-home .av-compare__row > strong { color: #123a48 !important; font-weight: 750 !important; }
.av-home .av-compare__row > span:nth-child(2) { justify-content: center !important; background: #e8f8f4 !important; color: #087b64 !important; font-weight: 800 !important; }
.av-home .av-compare__row > span:nth-child(3) { justify-content: center !important; background: #f5f7f8 !important; color: #6f7f89 !important; }
.av-home .av-compare__row > .is-good::before { display: none !important; }

.av-home .av-compare__row i {
  display: inline-grid !important;
  place-items: center !important;
  width: 28px !important;
  height: 28px !important;
  margin-right: 9px !important;
  border-radius: 50% !important;
  background: #eafaf4 !important;
  border: 1px solid #bcebd9 !important;
  color: #079b73 !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.av-home .av-compare__row > span:nth-child(3) i {
  background: #fff1f2 !important;
  border-color: #ffd1d4 !important;
  color: #e95b64 !important;
}

/* Beat legacy global typography rules: desktop comparison text matches product 40. */
html body .av-home section.av-compare .av-compare__card .av-compare__head > *,
html body .av-home section.av-compare .av-compare__card .av-compare__row > * {
  font-size: 15px !important;
  line-height: 1.35 !important;
}

/* Featured review identity strip matches the other review cards. */
.av-home .av-story--feature .av-story__identity {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(151, 238, 226, .28) !important;
  border-radius: 14px !important;
  background: rgba(235, 251, 248, .96) !important;
  color: #123a48 !important;
  box-sizing: border-box !important;
}

/* Final lifestyle gallery: one hero tile + two supporting tiles. */
@media (min-width: 1001px) {
  .av-home .av-final__media {
    left: 47% !important;
    right: 0 !important;
    width: 53% !important;
    padding: clamp(28px, 2.4vw, 42px) !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: clamp(14px, 1.1vw, 20px) !important;
    box-sizing: border-box !important;
  }

  .av-home .av-final__media figure {
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24) !important;
  }

  .av-home .av-final__media figure:first-child { grid-row: 1 / 3 !important; }
  .av-home .av-final__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    box-shadow: none !important;
  }
}

@media (max-width: 1000px) {
  .av-home .av-final__media {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1.35fr) minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .av-home .av-final__media figure { margin: 0 !important; overflow: hidden !important; border-radius: 16px !important; }
  .av-home .av-final__media figure:first-child { grid-column: 1 / 3 !important; }
  .av-home .av-final__media img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
}

@media (max-width: 700px) {
  .av-home .av-compare__card { overflow-x: auto !important; }
  .av-home .av-compare__head,
  .av-home .av-compare__row { min-width: 650px !important; }
  .av-home .av-compare__head > *,
  .av-home .av-compare__row > * { min-height: 64px !important; padding: 16px !important; font-size: 12px !important; }
  html body .av-home section.av-compare .av-compare__card .av-compare__head > *,
  html body .av-home section.av-compare .av-compare__card .av-compare__row > * { font-size: 12px !important; }
}
