/* Estilos base del ejemplo Product de Bootstrap */
.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #333;
  border-radius: 21px;
  transform: rotate(30deg);
}
.product-device::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: rgba(255,255,255,.1);
  border-radius: 5px;
}
.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}

.product-box {
  width: 80%;
  height: 300px;
  border-radius: 21px 21px 0 0;
}

/* Hero background with FondoPrincipal.jpg */
.hero-product {
  background: url("../img/FondoPrincipal.jpg") center center / cover no-repeat;
  min-height: 210px; /* antes 420px */
  position: relative; /* asegura que el ::after se posicione respecto al contenedor */
}

/* Dark overlay for readability */
.hero-product::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Ensure inner content sits above overlay */
.hero-product > * {
  position: relative;
  z-index: 2;
}