.elementor-10 .elementor-element.elementor-element-38c4f49{margin-top:50px;margin-bottom:50px;padding:0px 0px 0px 0px;}.elementor-10 .elementor-element.elementor-element-e1c250e{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 100px) 0px;}/* Start custom CSS for html, class: .elementor-element-5f0fbbb *//* Menú horizontal centrado en la ficha */
.mi-cuenta-menu-ficha a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: #f8f8f8;
    color: #333 !important;  /* forzar color */
    text-decoration: none;
    font-weight: 600;          /* título más destacado */
    transition: all 0.2s ease-in-out;
}

/* Hover y activo */
.mi-cuenta-menu-ficha a:hover,
.mi-cuenta-menu-ficha .is-active a {
    background: #EC1F26 !important;
    color: #fff !important;
}
.mi-cuenta-wrapper {
    font-family: "Poppins", sans-serif;
}

/* === MENÚ HORIZONTAL (ficha independiente) === */
.mi-cuenta-menu-ficha {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    margin: 0 auto 2rem auto;
    max-width: 900px;
    text-align: center;
}

.mi-cuenta-menu-ficha ul,
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.woocommerce-MyAccount-navigation li {
    margin: 0;
}

.woocommerce-MyAccount-navigation a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    background: #f8f8f8;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background: #EC1F26;
    color: #fff;
}

/* === CONTENIDO DE MI CUENTA (ficha) === */
.mi-cuenta-ficha-contenido,
.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 1rem;
}

/* Ocultar avatar */
.woocommerce-MyAccount-content .woocommerce-MyAccount-avatar {
    display: none !important;
}

/* Títulos */
.mi-cuenta-ficha-contenido h2,
.mi-cuenta-ficha-contenido h3,
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #EC1F26;
}

/* Tablas (pedidos, productos comprados) */
.mi-cuenta-ficha-contenido table,
.woocommerce-account .woocommerce-orders-table,
.woocommerce-account .woocommerce-table--order-downloads {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.mi-cuenta-ficha-contenido table th,
.mi-cuenta-ficha-contenido table td,
.woocommerce-account .woocommerce-orders-table th,
.woocommerce-account .woocommerce-orders-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.mi-cuenta-ficha-contenido table th,
.woocommerce-account .woocommerce-orders-table th {
    background: #f9f9f9;
    font-weight: 600;
    color: #333;
}

/* Botones */
.mi-cuenta-ficha-contenido a.button,
.mi-cuenta-ficha-contenido button,
.woocommerce-account .woocommerce-orders-table a.button,
.woocommerce-account .woocommerce-EditAccountForm button {
    background: #EC1F26;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease;
    border: none;
    display: inline-block;
}

.mi-cuenta-ficha-contenido a.button:hover,
.mi-cuenta-ficha-contenido button:hover,
.woocommerce-account .woocommerce-orders-table a.button:hover,
.woocommerce-account .woocommerce-EditAccountForm button:hover {
    background: #b8171c;
    transform: translateY(-2px);
}

/* Formularios */
.mi-cuenta-ficha-contenido form,
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-MyAccount-content form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mi-cuenta-ficha-contenido form label,
.woocommerce-account .woocommerce-EditAccountForm label {
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
    color: #444;
}

.mi-cuenta-ficha-contenido form input,
.mi-cuenta-ficha-contenido form select,
.mi-cuenta-ficha-contenido form textarea,
.woocommerce-account .woocommerce-EditAccountForm input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
}

/* Mensajes de WooCommerce */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
}

/* Links */
.mi-cuenta-ficha-contenido a,
.woocommerce-account .woocommerce-MyAccount-content a {
    color: #EC1F26;
    font-weight: 500;
    text-decoration: none;
}

.mi-cuenta-ficha-contenido a:hover,
.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}
.mi-cuenta-dashboard-image {
    text-align: center;
    margin: 2rem 0;
}

.mi-cuenta-dashboard-image img {
    width: 100px; /* Ajusta tamaño según tu diseño */
    max-width: 80%;
    margin-top: 50px;
    margin-bottom: 150px;
    animation: bounce 2s infinite;
}

/* Animación bounce */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}
.woocommerce-notices-wrapper{
    display: none !important;
}
.woocommerce-MyAccount-content > p:first-of-type {
    display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content p:first-of-type,
.woocommerce-account .woocommerce-MyAccount-content p:nth-of-type(2) {
    display: none !important;
}/* End custom CSS */