/**
 * Theme Name:      Tema Hijo — HOV (Hazlo Otra Vez)
 * Theme URI:       https://hazlootravez.com
 * Description:     Tema hijo oficial para el proyecto Hazlo Otra Vez (HOV) desarrollado sobre Divi 5.
 * Author:          Franco Contreras
 * Author URI:      https://hazlootravez.com
 * Template:        Divi
 * Version:         1.1.0
 * Text Domain:     tema-hijo
 * License:         GPL2
 * License URI:     https://www.gnu.org/licenses/gpl-2.0.html
 */
  
 
/* ---------------------- Theme customization starts here ---------------------- */

/* =========================================================================
 * Notificación de Carrito / Reserva en MEC (Modal y Contenedor)
 * Soluciona texto blanco invisible y estiliza el aviso con la identidad HOV
 * ========================================================================= */
.mec-booking .woocommerce-notices-wrapper,
.mec-events-meta-group-booking .woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
    margin: 15px 0 !important;
    width: 100% !important;
}

.mec-booking .woocommerce-notices-wrapper .woocommerce-message,
.mec-events-meta-group-booking .woocommerce-notices-wrapper .woocommerce-message,
.single-mec-events .woocommerce-message,
.woocommerce-message {
    color: #14532d !important; /* Verde bosque oscuro, 100% legible */
    background-color: #f0fdf4 !important; /* Fondo suave y limpio */
    border: 1px solid #86efac !important;
    border-left: 5px solid #16a34a !important;
    border-radius: 8px !important;
    padding: 16px 22px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none !important;
}

/* Forzar que el texto y las comillas dentro del aviso no hereden el blanco de Divi */
.mec-booking .woocommerce-notices-wrapper .woocommerce-message,
.mec-booking .woocommerce-notices-wrapper .woocommerce-message span,
.mec-events-meta-group-booking .woocommerce-notices-wrapper .woocommerce-message {
    color: #14532d !important;
}

/* Botón de acción 'Finalizar Reserva' / 'Ver Carrito' */
.mec-booking .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward,
.mec-events-meta-group-booking .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward,
.woocommerce-message a.button.wc-forward {
    background-color: #090909 !important; /* Negro de marca HOV */
    color: #ffffff !important; /* Texto blanco contrastado en el botón */
    border: 1px solid #090909 !important;
    border-radius: 6px !important;
    padding: 9px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    float: none !important;
    margin: 0 !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}

.mec-booking .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover,
.mec-events-meta-group-booking .woocommerce-notices-wrapper .woocommerce-message a.button.wc-forward:hover,
.woocommerce-message a.button.wc-forward:hover {
    background-color: #c6a16b !important; /* Dorado institucional HOV */
    border-color: #c6a16b !important;
    color: #090909 !important; /* Texto oscuro sobre dorado */
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(198, 161, 107, 0.35) !important;
}