/* Identidad global Escuela Renacer: encabezado Elementor/Thim. */
:root {
	--erc-global-primary: #8e7999;
	--erc-global-secondary: #7c9485;
	--erc-global-tertiary: #947e94;
	--e-global-color-5f782af: #8e7999;
}

/* El fondo azul del contenedor Elementor asomaba en las esquinas del enlace. */
body .elementor-14400 .elementor-element.elementor-element-3bff642 > .elementor-widget-container,
body .elementor-widget-thim-login-popup > .elementor-widget-container:has(.thim-link-login) {
	background: transparent !important;
	border-color: transparent !important;
	border-radius: 14px !important;
	box-shadow: none !important;
	outline: 0 !important;
}

body .elementor-widget-thim-login-popup .thim-link-login > a,
body .elementor-widget-thim-login-popup .thim-link-login a.login,
body .elementor-widget-thim-login-popup .thim-link-login a.logout,
body .thim-link-login.thim-login-popup > a,
body .thim-link-login.thim-login-popup a.login,
body .thim-link-login.thim-login-popup a.logout,
body a.erc-campus-access-link {
	background: linear-gradient(135deg, #8e7999 0%, #947e94 100%) !important;
	border: 1px solid #8e7999 !important;
	border-radius: 14px !important;
	box-shadow: 0 10px 24px rgba(142, 121, 153, .28) !important;
	color: #fff !important;
	fill: #fff !important;
	outline: 0 !important;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

body .elementor-widget-thim-login-popup .thim-link-login > a:hover,
body .elementor-widget-thim-login-popup .thim-link-login > a:focus-visible,
body .elementor-widget-thim-login-popup .thim-link-login a.login:hover,
body .elementor-widget-thim-login-popup .thim-link-login a.logout:hover,
body .thim-link-login.thim-login-popup > a:hover,
body .thim-link-login.thim-login-popup > a:focus-visible,
body a.erc-campus-access-link:hover,
body a.erc-campus-access-link:focus-visible {
	background: linear-gradient(135deg, #7c9485 0%, #8e7999 100%) !important;
	border-color: #7c9485 !important;
	box-shadow: 0 12px 28px rgba(124, 148, 133, .32) !important;
	color: #fff !important;
	fill: #fff !important;
	transform: translateY(-1px);
}

/* Elementor/Eduma puede reponer un borde azul en focus/active. */
body .elementor-14400 .elementor-element.elementor-element-3bff642 .thim-link-login > a,
body .elementor-14400 .elementor-element.elementor-element-3bff642 .thim-link-login > a:hover,
body .elementor-14400 .elementor-element.elementor-element-3bff642 .thim-link-login > a:focus,
body .elementor-14400 .elementor-element.elementor-element-3bff642 .thim-link-login > a:active,
body .elementor-widget-thim-login-popup .thim-link-login > a:focus,
body .elementor-widget-thim-login-popup .thim-link-login > a:active,
body a.erc-campus-access-link:focus,
body a.erc-campus-access-link:active {
	border-color: #8e7999 !important;
	box-shadow: 0 10px 24px rgba(142, 121, 153, .28) !important;
	outline: 0 !important;
}

body .elementor-widget-thim-login-popup .thim-link-login > a::before,
body .elementor-widget-thim-login-popup .thim-link-login > a::after,
body .thim-link-login.thim-login-popup > a::before,
body .thim-link-login.thim-login-popup > a::after,
body a.erc-campus-access-link::before,
body a.erc-campus-access-link::after {
	border-color: transparent !important;
	box-shadow: none !important;
	outline: 0 !important;
}

body .elementor-widget-thim-login-popup .thim-link-login > a:focus-visible,
body .thim-link-login.thim-login-popup > a:focus-visible,
body a.erc-campus-access-link:focus-visible {
	outline: 3px solid rgba(148, 126, 148, .38) !important;
	outline-offset: 3px;
}

/* Contador del carrito alineado con el color terciario. */
body .elementor-widget-thim-ekits-mini-cart .count,
body .widget_shopping_cart .cart-items-number,
body .minicart_hover .cart-items-number {
	background-color: #947e94 !important;
	border-color: #947e94 !important;
	color: #fff !important;
}
