/* ADORNAX THEME 1.6.4 — HERO centrado a viewport, menú estable y ritmo editorial */

/* HERO: altura de la pantalla visible menos la cabecera y la franja superior.
   Si un móvil muy pequeño necesita más espacio, nunca se ocultan el título ni los CTA. */
.v16-hero-single {padding:0;}
.v16-hero-single .hero-slide {min-height:calc(100svh - 126px);}
.v16-hero-single .v15-hero-inner {
  min-height:calc(100svh - 126px);
  padding:clamp(38px,5vh,68px) 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}
.v16-hero-single .v15-hero-panel {
  width:min(100%,880px);
  max-width:880px;
  padding:0;
  border:0;
  box-shadow:none;
  background:transparent;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.v16-hero-single .v15-hero-panel .eyebrow,
.v16-hero-single .v15-hero-panel .hero-buttons,
.v16-hero-single .v15-hero-panel .v15-meta-row {justify-content:center;}
.v16-hero-single .v15-hero-panel h1 {
  max-width:880px;
  margin:0 auto 20px;
  font-size:clamp(48px,5.8vw,88px);
  line-height:1.01;
}
.v16-hero-single .v15-hero-panel .hero-description {
  max-width:690px;
  margin:0 auto 26px;
  font-size:clamp(15px,1.3vw,18px);
}
.v16-hero-single .v15-hero-panel .hero-buttons {gap:12px;}
.v16-hero-single .v15-hero-panel .v15-meta-row {margin-top:26px;}
.v16-hero-single .v15-slide-shade {
  background:linear-gradient(90deg,rgba(8,8,10,.52),rgba(8,8,10,.44)),linear-gradient(0deg,rgba(0,0,0,.30),transparent 28%);
}

/* Mega menú: elimina zonas muertas al bajar desde TIENDA hasta las tarjetas. */
@media(min-width:961px){
  .adornax-mega-li .adornax-mega-panel::before {
    content:"";
    display:block;
    position:absolute;
    left:0;
    right:0;
    top:-20px;
    height:20px;
    background:transparent;
    pointer-events:auto;
  }
  .adornax-mega-li.is-open>.adornax-mega-panel,
  .adornax-mega-li:focus-within>.adornax-mega-panel {
    visibility:visible;
    opacity:1;
    pointer-events:auto;
  }
}

/* Más aire entre textos, subtítulos, acciones y cuadrículas de productos. */
.v11-products .section-heading,
.v12-books .section-heading,
.v11-categories .section-heading {
  margin-bottom:clamp(44px,4.5vw,72px);
}
.v11-products .v11-heading-sub,
.v12-books .v12-books-lead,
.v16-section-copy {margin-top:18px;line-height:1.75;}
.v11-products .woocommerce ul.products,
.v12-books .woocommerce ul.products {margin-top:14px!important;}
/* Catálogos y páginas de categoría también necesitan separación visual. */
.shop-main .woocommerce-products-header {padding-bottom:clamp(25px,3vw,45px);}
.shop-main .woocommerce-result-count,
.shop-main .woocommerce-ordering {margin-bottom:32px!important;}
.shop-main .woocommerce ul.products {margin-top:24px!important;}
/* Portafolio: separar el titular de la galería sin alterar las obras. */
.adornax-portfolio-gallery-section {padding-top:clamp(68px,7vw,110px);}
.adornax-portfolio-gallery-heading {margin-bottom:clamp(42px,4vw,60px);padding-bottom:24px;}

@media(max-width:960px){
  .v16-hero-single .hero-slide,
  .v16-hero-single .v15-hero-inner {min-height:calc(100svh - 108px);}
  .v16-hero-single .v15-hero-inner {padding:48px 0;}
}
@media(max-width:767px){
  .v16-hero-single .hero-slide,
  .v16-hero-single .v15-hero-inner {min-height:calc(100svh - 108px);}
  .v16-hero-single .v15-hero-inner {padding:36px 0;justify-content:center;}
  .v16-hero-single .v15-hero-panel {padding:0;background:transparent;}
  .v16-hero-single .v15-hero-panel h1 {font-size:clamp(42px,9vw,64px);margin-bottom:18px;}
  .v16-hero-single .v15-hero-panel .hero-description {font-size:15px;line-height:1.62;margin-bottom:23px;}
  .v16-hero-single .v15-hero-panel .hero-buttons {flex-direction:column;align-items:center;width:100%;}
  .v16-hero-single .v15-hero-panel .button-adornax {max-width:350px;width:100%;justify-content:center;}
  .v16-hero-single .v15-hero-panel .v15-meta-row {gap:7px;margin-top:18px;}
  .v16-hero-single .v15-meta-row span {font-size:8px;}
  .v11-products .section-heading,
  .v12-books .section-heading,
  .v11-categories .section-heading {margin-bottom:42px;}
  .shop-main .woocommerce-products-header{padding-bottom:28px;}
  .adornax-portfolio-gallery-heading {margin-bottom:34px;}
}
@media(max-width:480px){
  .v16-hero-single .v15-hero-panel h1 {font-size:clamp(37px,9.1vw,49px);}
  .v16-hero-single .v15-hero-panel .hero-description {font-size:14px;}
  .v16-hero-single .v15-hero-panel .eyebrow {margin-bottom:16px;}
  .v16-hero-single .v15-hero-panel .v15-meta-row {display:none;}
  .v16-hero-single .v15-hero-inner {padding:27px 0;}
}
@supports not (height:100svh){
  .v16-hero-single .hero-slide,.v16-hero-single .v15-hero-inner {min-height:calc(100vh - 126px);}
  @media(max-width:960px){
    .v16-hero-single .hero-slide,.v16-hero-single .v15-hero-inner {min-height:calc(100vh - 108px);}
  }
}
/* Evita que la barra de administración de WordPress alargue el HERO. */
body.admin-bar .v16-hero-single .hero-slide,
body.admin-bar .v16-hero-single .v15-hero-inner {min-height:calc(100svh - 158px);}
@media(max-width:960px){
  body.admin-bar .v16-hero-single .hero-slide,
  body.admin-bar .v16-hero-single .v15-hero-inner {min-height:calc(100svh - 140px);}
}
@media(max-width:782px){
  body.admin-bar .v16-hero-single .hero-slide,
  body.admin-bar .v16-hero-single .v15-hero-inner {min-height:calc(100svh - 154px);}
}
