/*
Theme Name: WP Solución - Customify Child
Theme URI: https://wpsolucion.com/
Description: Tema hijo personalizado basado en Customify, desarrollado por PressMaximum. Edición y ajustes por WP Solución.
Author: WP Solución
Author URI: https://wpsolucion.com/
Template: customify
Version: 1.0
Original Theme URI: https://pressmaximum.com/
*/

/* --- 1. BOTONES Y CARRITO --- */

/* Botones con texto en mayúsculas */
.elementor-button {
    text-transform: uppercase !important;
}

/* Estilo para botón de finalizar compra en WooCommerce */
.wp-block-woocommerce-proceed-to-checkout-block a div {
    background-color: var(--color-secundario) !important;
    color: #ffffff;
    font-weight: 600;
    padding: 7px 22px;
    border-radius: 5px;
    text-transform: uppercase;
}

.products .wc-product__add_to_cart a {
    border-radius: 8px !important;
}

/* --- 2. RESPONSIVE Y MÓVIL --- */

@media screen and (max-width: 768px) {
    /* Quitar margen superior en celulares */
    .nomargintopcel {
        margin-top: -50px !important;
    }

    /* Intercambiar columnas en celular (Usando contenedores de Elementor) */
    .swap-on-mobile,
    .swap-on-mobile > .elementor-container {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    /* Ajuste de paddings en columnas de Elementor */
    .nopaddingcolumcell .elementor-widget-wrap {
        padding-left: 35px !important;
        padding-right: 35px !important;
    }

    .nopaddingcolumcellall .elementor-widget-wrap {
        padding: 35px !important;
    }

    /* Centrado en celular */
    .centrado-celular,
    .centrado-celular .elementor-widget-container {
        text-align: center !important;
    }
}

/* --- 3. UTILIDADES VISUALES --- */

/* Clase global para bordes redondeados (imágenes y contenedores) */
.borde-redondeado,
.borde-redondeado img,
.borde-redondeado .elementor-widget-wrap {
    border-radius: 10px !important;
    overflow: hidden;
}

/* Oscurecer filas con imagen de fondo (Overlay) */
.fila-con-overlay {
    position: relative;
    overflow: hidden;
}

.fila-con-overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.texto-sobre-overlay {
    position: relative;
    z-index: 2;
}

/* IFRAMES de ancho completo */
.ancho-completo iframe {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    border: none;
}

/* --- 4. CONFIGURACIÓN DE PIE DE PÁGINA Y LOGOS --- */

#site-footer .widget h4 { font-size: 21px; }
#site-footer .widget p { text-align: justify; }
#site-footer .menu a { border-bottom-width: 0px; }

/* Filtros para logos */
.transformar-a-blanco { filter: brightness(0) invert(1); }
.logo-en-grises { filter: grayscale(100%) contrast(110%) brightness(1.5) !important; }

/* --- 5. TESTIMONIOS (Strong Testimonials) --- */

.strong-view.wpmtst-default .wpmtst-testimonial-heading,
.strong-view.wpmtst-default .wpmtst-testimonial-inner,
.strong-view.wpmtst-default .wpmtst-testimonial-field {
    text-align: center !important;
}

.strong-view.wpmtst-default .wpmtst-testimonial-inner {
    color: black !important;
    background-color: #f8f8f8;
    border-radius: 20px !important;
}

.strong-view.wpmtst-default .wpmtst-testimonial {
    border: 0px !important;
}

/* --- 6. WOOCOMMERCE: MOSTRAR OJO EN CONTRASEÑA --- */

.woocommerce-form-row .show-password-input {
    background: none !important;
    content: "" !important;
    padding: 0 10px !important;
    color: #444 !important; 
    cursor: pointer !important;
}

.woocommerce-form-row .show-password-input::before {
    content: "\1F441" !important;
    font-size: 18px !important;
    line-height: 1;
}

/* --- 7. CONFIGURACIONES DE PLUGINS DE CATEGORÍAS --- */

#wcps-container-890 .product span { font-size: 14px; font-weight: 400; }
#sp-wcsp-wrapper-997 .sp-wcsp-text-center a {
    font-size: 14px !important;
    border-radius: 6px;
    text-transform: uppercase !important;
}