/* 
Theme Name: Hello Elementor Child
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: hello-elementor-child
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 */

.elementor-text-editor p:last-child, .textwidget p:last-child, .elementor-widget-container p:last-child, .elementor-widget-text-editor p:last-child{ margin-bottom:0px;}  
p:last-child{ margin-bottom:0px;}  

.img-backcover-effect {
    flex: 1;
	position: relative;
   	display: flex;
   	align-items: stretch;
	& img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
    		object-fit: cover;
	}
}

.btn-servicio .elementor-button-content-wrapper {
  align-items: end;
}

.btn-servicio .elementor-button-content-wrapper svg {
  width: 70px;
}

@media (max-width: 1440px) {
  .btn-servicio .elementor-button-content-wrapper svg {
    width: 60px;
  }
}

@media (max-width: 767px) {
  .btn-servicio .elementor-button-content-wrapper svg {
    width: 50px;
  }
}

/* ============================================
   CABECERA HOME SIN SCROLL
   ============================================ */

.head-fix.scroleando{
	box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.10);
}

.head-fix:not(.scroleando){
	background-color: transparent!important;
}

/* Quitar filtro SOLO para el menú principal */
.head-fix:not(.scroleando) .menu a,
.head-fix:not(.scroleando) .menu .sub-arrow svg,{
	filter: none !important;
	-webkit-filter: none !important;
}

/* Mantener el logo en invertido = BLANCO */
/*.head-fix:not(.scroleando) .logo img {
	filter: brightness(0) invert(1) !important;
	-webkit-filter: brightness(0) invert(1) !important;
}*/

.head-fix:not(.scroleando) .btn-menu a{
	border-color: #fff!important;
	color: #fff!important;
}


/* ============================================
   MENÚ PRINCIPAL (NIVEL 1)
   ============================================ */

/* Texto blanco por defecto */
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li > a.elementor-item {
	color: #FFFFFF !important;
}

/* Hover / activo en rosa */
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li > a.elementor-item:hover,
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li.current-menu-item > a.elementor-item,
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li.current-menu-ancestor > a.elementor-item {
	color: #FFFFFF !important;
}

/* Flechas blancas */
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li > a.elementor-item .sub-arrow svg {
	fill: #FFFFFF !important;
}

/* Flechas en hover/activo → rosa */
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li:hover > a.elementor-item .sub-arrow svg,
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li.current-menu-item > a.elementor-item .sub-arrow svg,
.head-fix:not(.scroleando) .menu .elementor-nav-menu > li.current-menu-ancestor > a.elementor-item .sub-arrow svg {
	fill: #E62D54 !important;
}

/* ============================================
   HEADER CON SCROLL (NORMAL)
   ============================================ */

.head-fix.scroleando .logo img,
.head-fix.scroleando .menu a,
.head-fix.scroleando .menu .sub-arrow svg,
.head-fix.scroleando .btn-menu{
	filter: none !important;
	-webkit-filter: none !important;
}



/* =========================================
   CURRENCY SELECT
   ========================================= */


.br-currency-fake__toggle, .br-currency-fake__dropdown button{
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  border: 1px solid #fff;
  padding: 8px 18px;
  color: #fff;
  font-family: "Red Hat Display";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; 
}

.scroleando .br-currency-fake__toggle,
.scroleando .br-currency-fake__dropdown button{
  border: 1px solid #000;
  color: #000;
  background-color: #fff;
}

.br-currency-fake__toggle:hover, .br-currency-fake__toggle:focus,
.br-currency-fake__dropdown button:hover, .br-currency-fake__dropdown button:focus,
.scroleando .br-currency-fake__toggle:hover, .scroleando .br-currency-fake__toggle:focus{
  border: 1px solid #E62D54;
  color: #fff;
  background: #E62D54;
}

.br-currency-fake__dropdown{
  position: absolute;
  left: 0;
  margin-top: 10px;
}

.br-currency-fake__dropdown button:first-child{
  margin-bottom: 10px;
}  

.br-currency-fake__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: 96px;
}

/* Chevron */
.br-currency-fake__chevron {
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s ease;
}

