/* PASS 11 — all-products lifestyle hero fidelity. */

.page-shop .shop5-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(255,255,255,.98), transparent 34%),
    linear-gradient(108deg, #ffffff 0%, #f8f7ff 46%, #eef2ff 100%);
}

.page-shop .shop5-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -105px 34%;
  height: 230px;
  background: radial-gradient(ellipse at center, rgba(72,74,193,.13), transparent 68%);
  pointer-events: none;
}

.page-shop .shop5-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(610px, 1.18fr);
  align-items: stretch;
  gap: 0;
  min-height: 425px;
}

.page-shop .shop5-hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 18px 46px 14px;
}

.page-shop .shop5-hero-copy h1 {
  max-width: 520px;
  margin: 10px 0 18px;
  font-size: clamp(3.2rem, 4.75vw, 4.9rem);
  line-height: .93;
  letter-spacing: -.06em;
}

.page-shop .shop5-hero-copy p {
  max-width: 470px;
  font-size: .92rem;
  line-height: 1.7;
}

.page-shop .shop5-tabs {
  position: relative;
  z-index: 4;
  margin-top: 28px;
}

.page-shop .shop11-hero-visual {
  position: relative;
  min-width: 0;
  min-height: 425px;
  overflow: hidden;
  isolation: isolate;
}

.page-shop .shop11-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 20%;
  background: linear-gradient(90deg, #f8f7ff 0%, rgba(248,247,255,.86) 30%, transparent 100%);
  pointer-events: none;
}

.page-shop .shop11-hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 76px;
  background: linear-gradient(180deg, transparent 0%, rgba(246,247,255,.75) 100%);
  pointer-events: none;
}

.page-shop .shop11-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  image-rendering: auto;
}

/* The approved comp keeps the filter immediately below the lifestyle hero. */
.page-shop .shop5-content {
  padding-top: 28px;
}

@media (max-width: 1180px) {
  .page-shop .shop5-hero-grid {
    grid-template-columns: minmax(330px, .78fr) minmax(520px, 1.22fr);
    min-height: 390px;
  }

  .page-shop .shop11-hero-visual {
    min-height: 390px;
  }

  .page-shop .shop5-hero-copy {
    padding-left: 0;
  }

  .page-shop .shop5-hero-copy h1 {
    font-size: clamp(2.8rem, 4.6vw, 4rem);
  }
}

@media (max-width: 900px) {
  .page-shop .shop5-hero-grid {
    grid-template-columns: minmax(270px, .7fr) minmax(430px, 1.3fr);
    min-height: 355px;
  }

  .page-shop .shop11-hero-visual {
    min-height: 355px;
  }

  .page-shop .shop5-hero-copy {
    padding: 38px 12px 36px 0;
  }

  .page-shop .shop5-hero-copy h1 {
    font-size: clamp(2.55rem, 5.2vw, 3.45rem);
  }

  .page-shop .shop5-hero-copy p {
    font-size: .78rem;
  }

  .page-shop .shop5-tabs {
    gap: 7px;
    margin-top: 20px;
  }

  .page-shop .shop5-tabs a {
    min-width: 0;
    padding: 8px 11px;
    font-size: .61rem;
  }
}

@media (max-width: 720px) {
  .page-shop .shop5-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-shop .shop5-hero-copy {
    padding: 38px 4px 24px;
  }

  .page-shop .shop5-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.65rem, 11vw, 4rem);
  }

  .page-shop .shop5-hero-copy p {
    max-width: 560px;
    font-size: .82rem;
  }

  .page-shop .shop11-hero-visual {
    min-height: 410px;
    margin: 0 -15px;
  }

  .page-shop .shop11-hero-visual::before {
    width: 9%;
  }

  .page-shop .shop11-hero-visual img {
    object-position: 53% center;
  }
}

@media (max-width: 520px) {
  .page-shop .shop5-hero-copy {
    padding-top: 30px;
  }

  .page-shop .shop5-hero-copy h1 {
    font-size: 2.75rem;
  }

  .page-shop .shop5-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-shop .shop5-tabs a {
    width: 100%;
  }

  .page-shop .shop11-hero-visual {
    min-height: 335px;
    margin-inline: -10px;
  }

  .page-shop .shop11-hero-visual img {
    object-position: 55% center;
  }

  .page-shop .shop5-content {
    padding-top: 22px;
  }
}
