/* Wayback Fixer auto-supplement */
/* Elementor entrance-animation elements keep visibility:hidden until frontend JS
   fires; without it (no per-page post-NNNN.css) content stays invisible. Force on. */
.elementor-invisible{opacity:1 !important;visibility:visible !important;animation:none !important;}
.elementor img,.elementor-widget-container img{max-width:100%;height:auto;}

/* Home hero: the Revolution Slider (#rev_slider_1_1) shipped empty from Wayback
   (slide had no media), leaving a ~1080px white band. The Elementor text hero
   (section 7d30350, margin-top:-430px) is pulled up to overlay it with WHITE text
   + white-outline button — invisible on the empty white slider. Restore the intended
   design: give the slider band a real second-home hero image + dark right-side
   gradient so the overlaid white tagline/button read cleanly. */
#rev_slider_1_1_wrapper{display:none !important;}
.elementor-element-7d30350{
  margin-top:0 !important;
  background-image:linear-gradient(90deg,rgba(18,28,38,0.35),rgba(18,28,38,0.72)),
    url('/wp-content/uploads/2026/09/one8-hero.png') !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
.elementor-element-7c6dfe4>.elementor-element-populated{margin-top:0 !important;padding:90px 0 !important;}
/* "En simples pasos" had margin-top:300px to clear the tall overlapping slider;
   with the slider gone that is just a white gap. */
.elementor-element-8cd8647{margin-top:60px !important;}

/* -------------------------------------------------------------------------
   Inner pages (/pages, articles): template reused home header with
   ast-theme-transparent-header (position:absolute). Content slid under the menu.
   Body classes are cleaned in PHP; keep a safety net here.
   ------------------------------------------------------------------------- */
body.wf-inner-page #masthead,
body.wf-inner-page.ast-theme-transparent-header #masthead{
  position:relative !important;
  left:auto !important;
  right:auto !important;
}
body.wf-inner-page .main-header-bar,
body.wf-inner-page.ast-theme-transparent-header .main-header-bar,
body.wf-inner-page.ast-theme-transparent-header .ast-primary-header-bar{
  background-color:#ffffff !important;
  background-image:none !important;
}
body.wf-inner-page #content.site-content{
  padding-top:24px;
}
body.wf-inner-page .entry-content > div:first-child{
  margin-top:0;
}

/* Blog nav item: match other menu labels (uppercase already in markup) */
.main-header-menu .menu-item-blog .menu-link,
.main-header-menu .menu-item a[href="/pages/"]{
  text-transform:uppercase;
}

/* -------------------------------------------------------------------------
   Footer — astra-addon-*.css is missing from the mirror, so builder footer
   grid / background never applied. Restyle with brand teal.
   ------------------------------------------------------------------------- */
.site-footer,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"]{
  background-color:#819596 !important;
  background-image:none !important;
  color:#ffffff;
}
.site-primary-footer-wrap{
  padding-top:28px !important;
  padding-bottom:24px !important;
}
.site-primary-footer-inner-wrap.ast-builder-grid-row,
.ast-builder-footer-grid-columns{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px 24px;
  max-width:1200px;
  margin:0 auto;
  align-items:center;
  padding:0 20px;
}
.site-footer-section{
  display:flex;
  align-items:center;
}
.site-footer-section-2{justify-content:center;}
.site-footer-section-3{justify-content:flex-end;}
.ast-footer-copyright,
.ast-footer-copyright a,
.site-footer a{
  color:#ffffff !important;
}
.ast-footer-copyright{text-align:right;margin:0;}
@media (max-width:921px){
  .site-primary-footer-inner-wrap.ast-builder-grid-row,
  .ast-builder-footer-grid-columns{
    grid-template-columns:1fr;
    text-align:center;
  }
  .site-footer-section,
  .site-footer-section-2,
  .site-footer-section-3{justify-content:center;}
  .ast-footer-copyright{text-align:center;}
}

/* -------------------------------------------------------------------------
   Location filter ("Selecciona Ubicación") — Elementor Pro nav-menu CSS missing.
   Make the dropdown readable without pro assets / JS.
   ------------------------------------------------------------------------- */
.elementor-element-00f1ec9{
  max-width:420px;
  margin:0 auto 28px;
}
.elementor-element-00f1ec9 > .elementor-widget-container{
  border:1px solid #819596 !important;
  background:#fff;
}
.elementor-element-00f1ec9 .elementor-nav-menu--main > .elementor-nav-menu{
  display:block !important;
  width:100%;
  margin:0;
  padding:0;
  list-style:none;
}
.elementor-element-00f1ec9 .elementor-nav-menu--main > .elementor-nav-menu > .menu-item{
  position:relative;
  width:100%;
}
.elementor-element-00f1ec9 .elementor-nav-menu--main > .elementor-nav-menu > .menu-item > .menu-link{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:14px 20px !important;
  color:#819596 !important;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  box-sizing:border-box;
}
.elementor-element-00f1ec9 .elementor-nav-menu--dropdown,
.elementor-element-00f1ec9 .sub-menu.elementor-nav-menu--dropdown{
  position:static !important;
  display:none;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none;
  background:#fff;
  border-top:1px solid #d9d9d9;
  box-shadow:none !important;
}
.elementor-element-00f1ec9 .menu-item-has-children:hover > .elementor-nav-menu--dropdown,
.elementor-element-00f1ec9 .menu-item-has-children:focus-within > .elementor-nav-menu--dropdown,
.elementor-element-00f1ec9 .menu-item-has-children:hover > .sub-menu,
.elementor-element-00f1ec9 .menu-item-has-children:focus-within > .sub-menu,
.elementor-element-00f1ec9 .menu-item-has-children.wf-filter-open > .elementor-nav-menu--dropdown,
.elementor-element-00f1ec9 .menu-item-has-children.wf-filter-open > .sub-menu{
  display:block !important;
}
.elementor-element-00f1ec9 .elementor-nav-menu--dropdown .menu-link,
.elementor-element-00f1ec9 .sub-menu .menu-link{
  display:block !important;
  padding:10px 20px !important;
  color:#333 !important;
  text-decoration:none;
  border-bottom:1px solid #eee;
}
.elementor-element-00f1ec9 .elementor-nav-menu--dropdown .menu-link:hover{
  background:#ebebeb;
  color:#819596 !important;
}
/* Hide the duplicate off-canvas / mobile copy of the same filter menu */
.elementor-element-00f1ec9 .elementor-nav-menu--dropdown.elementor-nav-menu__container{
  display:none !important;
}
.elementor-element-00f1ec9 .elementor-menu-toggle{display:none !important;}

/* -------------------------------------------------------------------------
   Product cards: thumbnails were stripped by Wayback (empty anchors).
   Give cards a stable image band so the grid doesn't collapse.
   ------------------------------------------------------------------------- */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap{
  display:block;
  min-height:180px;
  background:#e8eeef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='80' viewBox='0 0 120 80'%3E%3Crect fill='%23d5dee0' width='120' height='80'/%3E%3Cpath fill='%23819596' d='M20 55l20-22 16 18 12-10 22 24H20z'/%3E%3Ccircle fill='%23819596' cx='86' cy='24' r='8'/%3E%3C/svg%3E") center 40% / 96px auto no-repeat;
  border-radius:2px;
  margin-bottom:12px;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap a{
  display:block;
  min-height:180px;
}
.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  clear:both;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none !important;content:none !important;}
.woocommerce ul.products li.product{
  width:auto !important;
  margin:0 !important;
  float:none !important;
}
@media (max-width:921px){
  .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:544px){
  .woocommerce ul.products{grid-template-columns:1fr;}
}

/* -------------------------------------------------------------------------
   Image / slides carousels shipped with empty <figure>/<bg> (no media in IA).
   Hide empty partner logo strips and empty slides so they don't leave blank bands.
   ------------------------------------------------------------------------- */
.elementor-widget-image-carousel .swiper-slide-inner:empty,
.elementor-widget-image-carousel figure.swiper-slide-inner:not(:has(img)){
  min-height:0;
}
.elementor-element-6320394,
.elementor-element-794789e,
.elementor-element-38de9f9,
.elementor-element-7ac7823,
.elementor-element-108982d,
.elementor-element-4eccbbe{
  /* Empty IA carousels / partner strips — hide dead bands */
  display:none !important;
}
