/**
 * Home Hero Media
 * Single responsibility: 4 static side images around the home hero content
 * Dependencies: Uses `.shop-hero` markup in `pages/user/home_sections/hero.php`
 */

.shop-hero .hero-content-wrapper{
  position: relative;
}

.shop-hero .home-hero-media{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.shop-hero .wpo-static-hero-inner{
  position: relative;
  z-index: 2;
}

.shop-hero .home-hero-media__side{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row; /* desktop: 2 phones per side horizontally (stacked) */
  gap: 0;
  align-items: center;
}

.shop-hero .home-hero-media__side--left{
  left: 0;
}

.shop-hero .home-hero-media__side--right{
  right: 0;
}

.shop-hero .home-hero-media__item{
  /* Match iOS-style notification glass */
  background: rgba(28, 28, 30, 0.34);
  background-image: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.06));
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  padding: 10px;
  border-radius: 34px; /* phone-like */
  overflow: hidden;
}

/* Stack effect (like phone mockups) */
.shop-hero .home-hero-media__item + .home-hero-media__item{
  margin-left: -54px;
}

.shop-hero .home-hero-media__img{
  display: block;
  width: clamp(170px, 14vw, 240px);
  aspect-ratio: 9 / 19.5;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 28px;
  opacity: 0.98;
}

@media (max-width: 991px){
  /* mobile: 2 images per side vertically */
  .shop-hero .home-hero-media__side{
    flex-direction: column;
    gap: 0;
  }

  .shop-hero .home-hero-media__item + .home-hero-media__item{
    margin-left: 0;
    margin-top: -70px;
  }

  .shop-hero .home-hero-media__img{
    width: 150px;
    max-height: 380px;
  }
}

