/* 
Theme Name: Meta Pilates
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: meta-pilates
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*Animación button*/
.content-button:hover .text-button {
    color: var( --e-global-color-primary ) !important;
}
.content-button:hover .arrow-button {
  stroke: var( --e-global-color-primary) !important;
  transform: translateX(18px);
  opacity: 1;
}
.arrow-button {
  transition: all 0.5s ease;
  opacity: 0;
}

/*Personalización cabecera*/
#custom-header-container {
  transition: background-color .25s ease, backdrop-filter .25s ease, -webkit-backdrop-filter .25s ease, padding .25s ease, box-shadow .25s ease;
  will-change: backdrop-filter, background-color, padding;
}

/* Estado arriba (transparente) */
#custom-header-container.is-top {
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: none;
  border-bottom: 1px solid #fff;
}

/* Estado scrolled (blur + glass) */
#custom-header-container.is-scrolled {
  /* Transparencia para que el blur sea visible */
  background-color: rgb(50 50 50 / 35%);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-bottom: none;
}

/* Colores del menú */
#custom-header-container .menu-item > a {
  transition: color .2s ease;
  text-decoration: none;
}

/* Arriba: enlaces en blanco */
#custom-header-container.is-top .menu-item > a {
  color: #FFFFFF;
}
.icono_user i{
  font-size: 15px;
  margin-right: 6px;
  margin-top: -2px;
}

/* Móvil: fuerza el estado scrolled (cabecera compacta con blur) */
@media (max-width: 767px) {
  #custom-header-container {
    background-color: rgb(50 50 50 / 35%);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }
}