.lpc-theme-shell{width:100%;z-index:9990}.lpc-header-sticky{position:sticky;top:0}.lpc-header-fixed,.lpc-header-transparent{position:fixed;top:0;left:0;right:0}.lpc-header-transparent{background:transparent}.lpc-elementor-header--mobile{display:none}.lpc-mega-menu{position:absolute;left:0;right:0;top:100%;z-index:9998;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease}.menu-item{position:relative}.menu-item:hover>.lpc-mega-menu,.menu-item:focus-within>.lpc-mega-menu,.menu-item.lpc-mega-open>.lpc-mega-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.lpc-mega-menu__inner{background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.12);width:100vw;margin-left:calc(50% - 50vw);padding:0}.lpc-header-fixed+*,.lpc-header-transparent+*{scroll-margin-top:90px}@media(max-width:767px){.lpc-elementor-header--desktop{display:none}.lpc-elementor-header--mobile{display:block}.lpc-mega-menu{position:static;display:none;opacity:1;visibility:visible;pointer-events:auto;transform:none}.menu-item.lpc-mega-open>.lpc-mega-menu{display:block}.lpc-mega-menu__inner{width:auto;margin-left:0;box-shadow:none}}

/* Apilado correcto de topbar + header creados desde La Polaca */
.lpc-theme-shell{
  display:flex;
  flex-direction:column;
  width:100%;
  isolation:isolate;
}
.lpc-theme-shell .lpc-topbar,
.lpc-theme-shell .lpc-elementor-header{
  position:relative;
  left:auto;
  right:auto;
  top:auto;
  width:100%;
}
.lpc-theme-shell .lpc-topbar{z-index:2;order:1;}
.lpc-theme-shell .lpc-elementor-header{z-index:1;order:2;}
.lpc-header-sticky{position:sticky;top:0;left:0;right:0;}
.lpc-header-fixed,
.lpc-header-transparent{position:fixed;top:0;left:0;right:0;}
.admin-bar .lpc-header-sticky,
.admin-bar .lpc-header-fixed,
.admin-bar .lpc-header-transparent{top:32px;}
@media(max-width:782px){
  .admin-bar .lpc-header-sticky,
  .admin-bar .lpc-header-fixed,
  .admin-bar .lpc-header-transparent{top:46px;}
}
@media(min-width:768px) and (max-width:1024px){
  .lpc-elementor-header--desktop .site-header{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .lpc-elementor-header--desktop .site-header > .e-con{
    gap:clamp(6px,1.2vw,12px)!important;
    min-width:0;
  }
  .lpc-elementor-header--desktop .site-header .elementor-widget-heading,
  .lpc-elementor-header--desktop .site-header .elementor-heading-title,
  .lpc-elementor-header--desktop .site-header .elementor-heading-title a{
    white-space:nowrap!important;
  }
  .lpc-elementor-header--desktop .site-header .elementor-widget-heading{
    min-width:max-content;
  }
}


/* La Polaca: sin topbar, sin hueco fantasma */
.lpc-theme-shell.lpc-no-topbar .lpc-topbar,
body.lpc-topbar-disabled .lpc-topbar,
body.lpc-topbar-disabled .lait-topbar-region{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
}
.lpc-theme-shell.lpc-no-topbar .lpc-elementor-header{top:0!important;}

/* Durante el arranque bloqueamos animaciones para evitar saltos; después recupera la suavidad del header local. */
html.lpc-core-boot .lpc-theme-shell .site-header,
html.lpc-core-boot .lpc-theme-shell .site-header *,
html.lpc-core-boot .lpc-theme-shell .site-header img,
html.lpc-core-boot .lpc-theme-shell .lpc-topbar,
html.lpc-core-boot .lpc-theme-shell .lpc-topbar *{
  transition:none!important;
}

html.lpc-core-ready .lpc-theme-shell .site-header{
  transition:
    background-color .5s ease-in-out,
    box-shadow .5s ease-in-out,
    color .5s ease-in-out!important;
}

html.lpc-core-ready .lpc-theme-shell .site-header *,
html.lpc-core-ready .lpc-theme-shell .site-header img{
  transition:
    background-color .5s ease-in-out,
    border-color .5s ease-in-out,
    color .5s ease-in-out,
    fill .5s ease-in-out,
    stroke .5s ease-in-out!important;
}

body.home .lpc-theme-shell .site-header,
body.home .lpc-theme-shell .site-header.is-sticky,
body.home .lpc-theme-shell .site-header.is-on-light{
  background:transparent!important;
  box-shadow:none!important;
  border-bottom:0!important;
}

body.home .lpc-theme-shell .site-header.is-sticky:not(.is-on-light) *,
body.home .lpc-theme-shell .site-header.is-sticky:not(.is-on-light) .lait-popup-trigger{
  color:#fff!important;
  stroke:#fff!important;
  --lait-icon-color:#fff!important;
}

body.home .lpc-theme-shell .site-header.is-sticky:not(.is-on-light) img{
  filter:brightness(0) invert(1)!important;
}

body.home .lpc-theme-shell .site-header.is-on-light *,
body.home .lpc-theme-shell .site-header.is-on-light .lait-popup-trigger{
  color:#111!important;
  stroke:#111!important;
  --lait-icon-color:#111!important;
}

body.home .lpc-theme-shell .site-header.is-on-light img{
  filter:none!important;
}

