.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-item .wpml-ls-link, 
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-legacy-dropdown a{color:var( --e-global-color-text );}.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-legacy-dropdown a:hover,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-legacy-dropdown a:focus,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-item .wpml-ls-link:hover,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-item .wpml-ls-link.wpml-ls-link__active,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-item .wpml-ls-link.highlighted,
					.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-item .wpml-ls-link:focus{color:var( --e-global-color-accent );}.elementor-widget-wpml-language-switcher .wpml-elementor-ls .wpml-ls-statics-post_translations{color:var( --e-global-color-text );}.elementor-31 .elementor-element.elementor-element-baa7fc3.elementor-element{--align-self:center;}.elementor-31 .elementor-element.elementor-element-baa7fc3 .wpml-elementor-ls .wpml-ls-item{font-family:"palo-semibold", Sans-serif;font-size:16px;}.elementor-widget-hfe-search-button input[type="search"].hfe-search-form__input,.elementor-widget-hfe-search-button .hfe-search-icon-toggle{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-hfe-search-button .hfe-search-form__input{color:var( --e-global-color-text );}.elementor-widget-hfe-search-button .hfe-search-form__input::placeholder{color:var( --e-global-color-text );}.elementor-widget-hfe-search-button .hfe-search-form__container, .elementor-widget-hfe-search-button .hfe-search-icon-toggle .hfe-search-form__input,.elementor-widget-hfe-search-button .hfe-input-focus .hfe-search-icon-toggle .hfe-search-form__input{border-color:var( --e-global-color-primary );}.elementor-widget-hfe-search-button .hfe-search-form__input:focus::placeholder{color:var( --e-global-color-text );}.elementor-widget-hfe-search-button .hfe-search-form__container button#clear-with-button,
					.elementor-widget-hfe-search-button .hfe-search-form__container button#clear,
					.elementor-widget-hfe-search-button .hfe-search-icon-toggle button#clear{color:var( --e-global-color-text );}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container{min-height:35px;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-submit{min-width:35px;font-size:16px;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__input{padding-left:calc(35px / 5);padding-right:calc(35px / 5);}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container button#clear i:before,
					.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle button#clear i:before,
				.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container button#clear-with-button i:before{font-size:20px;}.elementor-31 .elementor-element.elementor-element-e37ea13.elementor-element{--align-self:center;--flex-grow:1;--flex-shrink:0;}.elementor-31 .elementor-element.elementor-element-e37ea13 input[type="search"].hfe-search-form__input,.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle{font-family:"Montserrat", Sans-serif;font-size:16px;font-weight:400;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__input::placeholder{color:#000000;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__input, .elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-input-focus .hfe-search-icon-toggle .hfe-search-form__input{background-color:#FFFFFF;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle .hfe-search-form__input{background-color:transparent;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container,.elementor-31 .elementor-element.elementor-element-e37ea13 input.hfe-search-form__input{box-shadow:0px 0px 0px 0px rgba(0,0,0,0.5);}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container ,.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle .hfe-search-form__input,.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-input-focus .hfe-search-icon-toggle .hfe-search-form__input{border-style:solid;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container, .elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle .hfe-search-form__input,.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-input-focus .hfe-search-icon-toggle .hfe-search-form__input{border-color:#D2D2D2;border-width:1px 1px 1px 1px;border-radius:6px;}.elementor-31 .elementor-element.elementor-element-e37ea13 button.hfe-search-submit{color:#FFFFFF;}.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container button#clear-with-button,
					.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-form__container button#clear,
					.elementor-31 .elementor-element.elementor-element-e37ea13 .hfe-search-icon-toggle button#clear{color:#7a7a7a;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-31 .elementor-element.elementor-element-a7d44fc.elementor-element{--align-self:center;}.elementor-31 .elementor-element.elementor-element-a7d44fc{text-align:center;}.elementor-31 .elementor-element.elementor-element-a7d44fc .elementor-heading-title{font-family:"palo-semibold", Sans-serif;font-size:24px;font-weight:600;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-31 .elementor-element.elementor-element-177b948.elementor-element{--align-self:center;}.elementor-31 .elementor-element.elementor-element-177b948 .elementor-button{font-family:"palo-semibold", Sans-serif;font-size:13px;font-weight:400;padding:13px 13px 13px 13px;}.elementor-31 .elementor-element.elementor-element-8bf5f85.elementor-element{--align-self:center;}/* Start custom CSS *//* --- SOLUCION DEFINITIVA AL PARPADEO DE FUENTE --- */
@font-face {
    font-family: "palo-regular";
    src: url("https://shop.idealplasticsurgery.com/wp-content/uploads/2026/06/Palo-Semibold.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* Forzar al idioma a usarla inmediatamente */
.ideal-lang-switch,
.ideal-lang-switch * {
    font-family: "palo-regular", sans-serif !important;
}

/* Apretar la caja principal del idioma para matar el espacio vacío */
.ideal-lang-switch, 
.ideal-lang-switch .elementor-widget-container,
.ideal-lang-switch .wpml-ls-legacy-dropdown {
    width: max-content !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
}

/******************* Estructura Principal ********************/
.ideal-header-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: max(20px, calc(50% - 600px)) !important;
    padding-right: max(20px, calc(50% - 600px)) !important;
    min-height: 85px !important; 
    gap: 25px !important;
}
.ideal-header-container > .elementor-widget {
    margin-bottom: 0 !important;
}
/******************************************/

/******************* Logo ********************/
#ideal-logo-img {
    margin-right: auto !important; 
    width: 62px !important; 
    display: flex !important;
    align-items: center !important;
}
#ideal-logo-img img {
    max-width: 62px !important;
    height: auto !important;
}
/******************************************/

/******************* Tema y Fondos ********************/
html, body, #page, header#masthead {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background-color: #ffffff !important;
}
.main-title.bhf-hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
}
/******************************************/

/******************* Textos en una sola linea ********************/
.ideal-main-heading,
.ideal-cta-btn {
    flex-shrink: 0 !important;
}
.ideal-main-heading .elementor-heading-title,
.ideal-main-heading h2,
.ideal-cta-btn a,
.ideal-cta-btn .elementor-button-text {
    white-space: nowrap !important;
}
/******************************************/

/******************* Idioma WPML ********************/
.ideal-lang-switch .elementor-widget-container,
.ideal-lang-switch .wpml-ls-legacy-dropdown,
.ideal-lang-switch .wpml-ls-legacy-dropdown a,
.ideal-lang-switch .wpml-ls-legacy-dropdown a:hover,
.ideal-lang-switch .wpml-ls-legacy-dropdown a:focus,
.ideal-lang-switch ul,
.ideal-lang-switch li {
    border: none !important;
    background-color: transparent !important;
    outline: none !important;
}
.ideal-lang-switch .wpml-ls-current-language > a { 
    width: max-content !important; 
    padding-right: 0 !important; 
}
/******************************************/

/******************* Truco contra el Triangulo Rebelde ********************/
.ideal-lang-switch .wpml-ls-current-language > a,
.ideal-lang-switch .wpml-ls-legacy-dropdown > ul > li > a {
    color: transparent !important;
}
.ideal-lang-switch .wpml-ls-current-language > a > span,
.ideal-lang-switch .wpml-ls-legacy-dropdown > ul > li > a > span,
.ideal-lang-switch .wpml-ls-native {
    color: #000000 !important;
    text-transform: uppercase !important;
}
.ideal-lang-switch .wpml-ls-sub-menu a,
.ideal-lang-switch .wpml-ls-sub-menu a span,
.ideal-lang-switch ul ul a,
.ideal-lang-switch ul ul a span {
    color: #000000 !important;
}
/******************************************/

/******************* Ocultar Banderas e Iconos Nativos ********************/
.ideal-lang-switch img, 
.ideal-lang-switch .wpml-ls-flag,
.ideal-lang-switch i,
.ideal-lang-switch svg,
.ideal-lang-switch .wpml-ls-legacy-dropdown-arrow,
.ideal-lang-switch .e-caret {
    display: none !important;
}
/******************************************/

/******************* Dibujar Chevron Fino ********************/
/* Pegamos la NUEVA flecha ESTRICTAMENTE al texto del nivel principal, ignorando el submenú */
.ideal-lang-switch .wpml-ls-current-language > a > .wpml-ls-native::after {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    background-image: url('https://cdn-icons-png.flaticon.com/512/7764/7764629.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-left: 6px !important;
    vertical-align: middle !important;
    filter: brightness(0) !important;
}
.ideal-lang-switch li > a::after {
    display: none !important;
}
/******************************************/

/******************* Cajita Desplegable ********************/
.ideal-lang-switch ul ul,
.ideal-lang-switch .wpml-ls-sub-menu {
    position: absolute !important;
    top: 35px !important; 
    margin-top: 0 !important;
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.05) !important;
    padding: 10px 15px !important;
    z-index: 9999 !important;
    min-width: max-content !important; /* Mantiene la caja ancha */
}
.ideal-lang-switch .wpml-ls-sub-menu a,
.ideal-lang-switch .wpml-ls-sub-menu span {
    white-space: nowrap !important; /* Prohibe que ESPAÑOL se rompa en 2 renglones */
}
/******************************************/

/******************* Puente Invisible ********************/
.ideal-lang-switch ul ul::before,
.ideal-lang-switch .wpml-ls-sub-menu::before {
    content: "" !important;
    position: absolute !important;
    top: -25px !important; 
    left: 0 !important;
    right: 0 !important;
    height: 25px !important;
    background: transparent !important;
}
/******************************************//* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'palo-semibold';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://shop.idealplasticsurgery.com/wp-content/uploads/2026/06/palo-semibold-1.ttf') format('truetype');
}
/* End Custom Fonts CSS */