/* Portada editorial de Productos: escena del catálogo y copy real del CMS. */
.products-hero.products-hero-v2 {
  position:relative;
  isolation:isolate;
  min-height:clamp(38rem,43.26vw,51.6rem);
  padding:0 !important;
  overflow:hidden;
  color:#164d59;
  background:#f3efea;
}
.products-hero.products-hero-v2::before,
.products-hero.products-hero-v2::after { content:none !important; }
.products-hero-scene,
.products-hero-veil {
  position:absolute;
  inset:0;
}
.products-hero-scene {
  z-index:-3;
  background-color:#f3efea;
  background-image:url("../products-hero/productos-catalogo-claro.png");
  background-image:-webkit-image-set(url("../products-hero/productos-catalogo-claro.avif") type("image/avif"),url("../products-hero/productos-catalogo-claro.png") type("image/png"));
  background-image:image-set(url("../products-hero/productos-catalogo-claro.avif") type("image/avif"),url("../products-hero/productos-catalogo-claro.png") type("image/png"));
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
}
.products-hero-veil {
  z-index:-2;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(248,246,242,.22) 0%,
    rgba(248,246,242,.10) 36%,
    transparent 46%);
}
.products-hero-shell.container {
  position:relative;
  z-index:1;
  width:100%;
  max-width:none;
  min-height:inherit;
  padding:clamp(1.35rem,2.6vw,2.5rem) clamp(1.5rem,4.15vw,5rem) clamp(2rem,3.4vw,3.25rem);
  display:grid;
  grid-template-rows:auto 1fr;
}
.products-hero .products-hero-breadcrumb {
  margin:0;
  padding:0;
  color:#365e6a;
  font-size:clamp(.94rem,1vw,1.08rem);
  line-height:1.5;
  opacity:1;
}
.products-hero .products-hero-breadcrumb a { color:inherit; }
.products-hero .products-hero-breadcrumb [aria-current] { color:#164d59; }
.products-hero-copy {
  align-self:center;
  width:min(38rem,39vw);
  margin:0;
  padding:clamp(1.4rem,2.6vh,2.2rem) 0 1.4rem;
  position:relative;
  z-index:1;
  text-align:left;
  transform:translateY(-.25rem);
}
.products-hero .products-hero-copy .eyebrow {
  display:block;
  margin:0 0 clamp(1.15rem,2.2vh,1.8rem);
  color:#164d59;
  font-size:clamp(.75rem,.86vw,.92rem);
  font-weight:750;
  letter-spacing:.21em;
  line-height:1.45;
  text-transform:uppercase;
}
.products-hero.products-hero-v2 h1 {
  max-width:9.1em;
  margin:0 0 clamp(1.45rem,2.4vh,2.05rem);
  color:#164d59;
  font-size:clamp(3.15rem,4.7vw,5.25rem);
  font-weight:760;
  letter-spacing:-.055em;
  line-height:.98;
  text-wrap:balance;
  white-space:pre-line;
}
.products-hero .products-hero-copy > p {
  max-width:36rem;
  margin:0;
  color:#315d68;
  font-size:clamp(1.04rem,1.35vw,1.32rem);
  line-height:1.58;
}
html[data-theme="dark"] .products-hero.products-hero-v2 {
  color:#f6f4fb;
  background:#11101d;
}
html[data-theme="dark"] .products-hero-scene {
  background-color:#11101d;
  background-image:url("../products-hero/productos-catalogo-oscuro.png");
  background-image:-webkit-image-set(url("../products-hero/productos-catalogo-oscuro.avif") type("image/avif"),url("../products-hero/productos-catalogo-oscuro.png") type("image/png"));
  background-image:image-set(url("../products-hero/productos-catalogo-oscuro.avif") type("image/avif"),url("../products-hero/productos-catalogo-oscuro.png") type("image/png"));
}
html[data-theme="dark"] .products-hero-veil {
  background:linear-gradient(90deg,
    rgba(13,14,29,.26) 0%,
    rgba(13,14,29,.12) 36%,
    transparent 47%);
}
html[data-theme="dark"] .products-hero .products-hero-breadcrumb,
html[data-theme="dark"] .products-hero .products-hero-breadcrumb [aria-current] { color:#d5d4e2; }
html[data-theme="dark"] .products-hero .products-hero-copy .eyebrow { color:#bdb1ff; }
html[data-theme="dark"] .products-hero.products-hero-v2 h1 { color:#f8f6ff; }
html[data-theme="dark"] .products-hero .products-hero-copy > p { color:#d6d4e0; }
@media (max-width:1100px) and (min-width:701px) {
  .products-hero.products-hero-v2 { min-height:37rem; }
  .products-hero-copy { width:41%; padding-top:1rem; }
  .products-hero.products-hero-v2 h1 { font-size:clamp(2.75rem,5.25vw,3.7rem); }
  .products-hero .products-hero-copy > p { font-size:clamp(.98rem,1.7vw,1.12rem); line-height:1.5; }
}

@media (max-width:700px) {
  .products-hero.products-hero-v2 {
    min-height:clamp(46rem,177.9vw,70rem);
  }
  .products-hero-scene {
    background-color:#f3efea;
    background-image:url("../products-hero/productos-catalogo-movil-claro.png");
    background-image:-webkit-image-set(url("../products-hero/productos-catalogo-movil-claro.avif") type("image/avif"),url("../products-hero/productos-catalogo-movil-claro.png") type("image/png"));
    background-image:image-set(url("../products-hero/productos-catalogo-movil-claro.avif") type("image/avif"),url("../products-hero/productos-catalogo-movil-claro.png") type("image/png"));
    background-position:center bottom;
    background-size:100% auto;
  }
  .products-hero-veil {
    background:linear-gradient(180deg,
      rgba(248,246,242,.26) 0%,
      rgba(248,246,242,.10) 39%,
      transparent 49%);
  }
  .products-hero-shell.container {
    padding:1.2rem clamp(1.2rem,5.6vw,1.65rem) 1.8rem;
    grid-template-rows:auto auto auto 1fr;
  }
  .products-hero .products-hero-breadcrumb { font-size:.92rem; }
  .products-hero-copy {
    align-self:start;
    width:100%;
    padding:clamp(1.55rem,4vh,2.25rem) 0 0;
    transform:none;
  }
  .products-hero .products-hero-copy .eyebrow {
    margin-bottom:1rem;
    font-size:.7rem;
    letter-spacing:.2em;
  }
  .products-hero.products-hero-v2 h1 {
    max-width:8.6em;
    margin-bottom:1rem;
    font-size:clamp(2.45rem,11vw,3.12rem);
    line-height:.98;
  }
  .products-hero .products-hero-copy > p {
    max-width:34rem;
    font-size:clamp(.95rem,4.2vw,1.06rem);
    line-height:1.47;
  }
  html[data-theme="dark"] .products-hero-scene {
    background-color:#11101d;
    background-image:url("../products-hero/productos-catalogo-movil-oscuro.png");
    background-image:-webkit-image-set(url("../products-hero/productos-catalogo-movil-oscuro.avif") type("image/avif"),url("../products-hero/productos-catalogo-movil-oscuro.png") type("image/png"));
    background-image:image-set(url("../products-hero/productos-catalogo-movil-oscuro.avif") type("image/avif"),url("../products-hero/productos-catalogo-movil-oscuro.png") type("image/png"));
  }
  html[data-theme="dark"] .products-hero-veil {
    background:linear-gradient(180deg,
      rgba(13,14,29,.30) 0%,
      rgba(13,14,29,.12) 39%,
      transparent 50%);
  }
}

@media (max-width:390px) {
  .products-hero.products-hero-v2 { min-height:50rem; }
  .products-hero-scene {
    background-position:left bottom;
    background-size:94% auto;
  }
  .products-hero.products-hero-v2 h1 { font-size:clamp(2.3rem,10.8vw,2.75rem); }
  .products-hero .products-hero-copy > p { font-size:.95rem; }
}

/* Las imágenes del Admin reemplazan la escena, nunca el copy editable. */
.products-hero-scene.has-uploaded-image,
html[data-theme="dark"] .products-hero-scene.has-uploaded-image {
  overflow:hidden;
  background:none !important;
}
.products-hero-scene.has-uploaded-image .interior-uploaded-image {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  border-radius:0;
}
