/* 
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 */
a.current.menu-top.toplevel_page_labeta-academia-impagos {
    background: red !important;
}
a.wp-not-current-submenu.menu-top.toplevel_page_labeta-academia-impagos {
    background: red !important;
}
.woocommerce-MyAccount-content-wrapper {
    padding: 20px;
    background: #ffffff;
}
.woocommerce-MyAccount-content-wrapper {
    padding: 20px !important;
}
.woocommerce-MyAccount-content-wrapper table {
    padding: 20px;
}
table.shop_table.subscription_details {
    background: #ffffff;
}
table.shop_table.subscription_details {
    padding: 20px;
}
.woocommerce-MyAccount-content h2 {
    color: #000000 !important;
}
.elementor-element.elementor-element-667c9e1.e-con-full.e-flex.e-con.e-child{
	padding:20px;
	background: #ffffff;
}
.elementor-element.elementor-element-667c9e1.e-con-full.e-flex.e-con.e-child h2 {
    color: #000000;
    font-size: 1.8em;
    margin-top: 50px;
}

/* ================================
   WOOCOMMERCE - AVISOS GLOBALES
   Carrito / Checkout / Mi cuenta
================================ */

/* Contenedor general de avisos */
.woocommerce-notices-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 28px auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Base común */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    background: #ffffff !important;
    color: #1f2933 !important;
    border: 1px solid #d8dee6 !important;
    border-left: 5px solid #005EB8 !important;
    border-radius: 8px !important;
    padding: 18px 22px !important;
    margin: 0 0 24px 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    list-style: none !important;
}

/* Aviso informativo */
.woocommerce .woocommerce-info,
.woocommerce-page .woocommerce-info {
    border-left-color: #005EB8 !important;
}

/* Aviso correcto */
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
    border-left-color: #007A53 !important;
}

/* Aviso error */
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-error {
    border-left-color: #C61D4E !important;
}

/* Quitar iconos raros/cuadraditos del tema */
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-message::before,
.woocommerce-page .woocommerce-info::before,
.woocommerce-page .woocommerce-error::before {
    display: none !important;
    content: none !important;
}

/* Enlaces dentro de avisos */
.woocommerce .woocommerce-message a,
.woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a,
.woocommerce-page .woocommerce-message a,
.woocommerce-page .woocommerce-info a,
.woocommerce-page .woocommerce-error a {
    color: #005EB8 !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Listas de errores */
.woocommerce .woocommerce-error li,
.woocommerce-page .woocommerce-error li {
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    color: #1f2933 !important;
}

/* Evitar que queden textos de aviso flotando sobre fondo oscuro */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    position: relative;
}

/* Avisos en checkout antes del formulario */
.woocommerce-checkout .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-notices-wrapper {
    margin-top: 20px;
    margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-notices-wrapper {
        padding: 0 12px;
        margin-bottom: 20px;
    }

    .woocommerce .woocommerce-message,
    .woocommerce .woocommerce-info,
    .woocommerce .woocommerce-error,
    .woocommerce-page .woocommerce-message,
    .woocommerce-page .woocommerce-info,
    .woocommerce-page .woocommerce-error {
        font-size: 15px !important;
        padding: 15px 16px !important;
        border-radius: 6px !important;
    }
}










/* BLOQUE QUE MODIFICA CHECKOUT TU PEDIDO */

/* Checkout - aclarar pago inicial y renovaciones */
.woocommerce-checkout-review-order-table {
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
}

/* Cabecera Producto / Subtotal */
.woocommerce-checkout-review-order-table thead th {
	color: #6b7280 !important;
	font-weight: 800 !important;
	font-size: 17px !important;
}

/* Filas generales */
.woocommerce-checkout-review-order-table tbody tr,
.woocommerce-checkout-review-order-table tfoot tr {
	background: #ffffff;
}

/* Subtotal y descuento del pago inicial */
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot tr.fee th,
.woocommerce-checkout-review-order-table tfoot tr.fee td {
	background: #f8fafc !important;
}

/* Total a pagar hoy */
.woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) th,
.woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) td {
	background: #f8fafc !important;
	border-top: 2px solid #005EB8 !important;
	border-bottom: 2px solid #005EB8 !important;
	font-size: 18px !important;
	color: #111827 !important;
}

/* Etiqueta Pago de hoy SOLO en el total inicial */
.woocommerce-checkout-review-order-table tfoot tr.order-total:not(.recurring-total) th::before {
	content: "PAGO DE HOY";
	display: block;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #005EB8;
	margin-bottom: 4px;
}

/* Bloque Renovaciones mensuales */
.woocommerce-checkout-review-order-table tfoot tr.recurring-totals th {
	padding-top: 30px !important;
	font-size: 22px !important;
	color: #111827 !important;
	border-top: 1px solid #d8dee6 !important;
}

/* Texto aclaratorio debajo del título Renovaciones mensuales */
.woocommerce-checkout-review-order-table tfoot tr.recurring-totals th::after {
	content: "A partir de la primera renovación, se cobrará la cuota mensual completa. El descuento del 50% solo se aplica al primer pago.";
	display: block;
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
	color: #7c2d12;
	background: #fff7ed;
	border-left: 4px solid #EDAB38;
	border-radius: 6px;
	padding: 10px 12px;
}

/* Filas de renovaciones */
.woocommerce-checkout-review-order-table tfoot tr.recurring-cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot tr.recurring-cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot tr.recurring-total th,
.woocommerce-checkout-review-order-table tfoot tr.recurring-total td {
	background: #fff7ed !important;
}

/* Total mensual */
.woocommerce-checkout-review-order-table tfoot tr.recurring-total th,
.woocommerce-checkout-review-order-table tfoot tr.recurring-total td {
	border-top: 2px solid #EDAB38 !important;
	border-bottom: 2px solid #EDAB38 !important;
	font-size: 18px !important;
}

/* MUY IMPORTANTE: quitar Pago de hoy dentro de renovaciones */
.woocommerce-checkout-review-order-table tfoot tr.recurring-total th::before,
.woocommerce-checkout-review-order-table tfoot tr.recurring-cart-subtotal th::before {
	content: none !important;
	display: none !important;
}

/* Quitar notas repetidas dentro de cada fila de renovación */
.woocommerce-checkout-review-order-table tfoot tr.recurring-total td::after,
.woocommerce-checkout-review-order-table tfoot tr.recurring-cart-subtotal td::after {
	content: none !important;
	display: none !important;
}

/* Fecha de primera renovación */
.woocommerce-checkout-review-order-table .first-payment-date,
.woocommerce-checkout-review-order-table small {
	display: block;
	margin-top: 8px;
	color: #6b7280 !important;
	font-size: 14px !important;
	line-height: 1.4;
}



/* Aviso dinámico de matrícula dentro del resumen del checkout */
.woocommerce-checkout-review-order-table .labeta-checkout-matricula-notice-row th {
	padding: 14px 16px !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	font-weight: 600 !important;
	text-align: left !important;
}

.woocommerce-checkout-review-order-table .labeta-checkout-matricula-notice-success th {
	background: #ecfdf5 !important;
	border-left: 4px solid #007A53 !important;
	color: #064e3b !important;
}

.woocommerce-checkout-review-order-table .labeta-checkout-matricula-notice-notice th {
	background: #fff7ed !important;
	border-left: 4px solid #EDAB38 !important;
	color: #7c2d12 !important;
}
.legal-text-block {
    color: #cbcbcb;
}

.legal-text-block ul {
    margin: 20px 0;
}
.legal-text-block h2 {
    font-size: 30px;
    font-weight: 500;
    margin-top: 50px;
}