/**
 * Aqua Store 3.0 — visual refresh inspired by the live BRL store layout.
 * Unbranded scene photos only. Buttons stay inside product cards.
 */

.hero.hero-pro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(1200px 420px at 80% 0%, rgba(10, 163, 184, 0.16), transparent 60%),
    linear-gradient(180deg, #eef7f9 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(28, 38, 71, 0.12);
  aspect-ratio: 3 / 2;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-stack {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  display: grid;
  gap: 8px;
  width: min(100% - 24px, 260px);
}

.hero-float-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.cat-card-photo {
  position: relative;
  overflow: hidden;
  padding: 0 0 16px;
}

.cat-card-photo .cat-photo {
  display: block;
  height: 120px;
  overflow: hidden;
}

.cat-card-photo .cat-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-card-photo .cat-icon,
.cat-card-photo h3,
.cat-card-photo .muted {
  padding-inline: 16px;
}

.cat-card-photo .cat-icon {
  margin-top: 12px;
}

.home-cta-photo {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.home-cta-photo .cta-bg {
  position: absolute;
  inset: 0;
}

.home-cta-photo .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38);
}

.home-cta-photo .home-cta-copy,
.home-cta-photo .home-cta-actions {
  position: relative;
  z-index: 1;
}

.home-cta-photo h2,
.home-cta-photo p {
  color: #fff !important;
}

/* Keep add-to-cart inside the card frame */
.product-card {
  overflow: hidden !important;
}

.product-card .product-body {
  overflow: hidden !important;
}

.product-card .product-actions,
.product-card .buy-form,
.product-card .product-actions > .btn-add-cart {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card-stack {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
}
