/* 1. ELIMINAR CUALQUIER BOTÓN AMARILLO O DUPLICADO */
/* Esto borra el botón amarillo de "Leer más" y cualquier segundo botón de Ver Detalles */
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .button:nth-of-type(n+2),
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* 2. BOTÓN "VER DETALLES" (ÚNICO, AZUL Y CON TEXTO BLANCO) */
.woocommerce ul.products li.product .button:first-of-type {
    display: block !important;
    background-color: #001E60 !important;
    color: transparent !important; /* Oculta el texto original de WooCommerce */
    border-radius: 40px !important;
    padding: 15px 0 !important;
    position: relative;
    width: 100% !important;
    border: none !important;
}

.woocommerce ul.products li.product .button:first-of-type::before {
    content: "Ver Detalles";
    color: #ffffff !important;
    visibility: visible;
    position: absolute;
    left: 0; right: 0; top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
    text-transform: none;
}

/* 3. LIMPIEZA DE AMARILLO EN TEXTOS Y LÍNEAS */
/* Cambia a azul el texto "Andamio Multidireccional" y los relacionados de abajo */
.product_meta .posted_in a, 
.product_meta .posted_in, 
.woocommerce-breadcrumb a,
.ast-woo-product-category,
.related.products .woocommerce-loop-product__title,
.jp-relatedposts-post-title a {
    color: #001E60 !important;
    text-decoration: none !important;
}

/* Cambia la línea amarilla sobre "Descripción" a azul */
.woocommerce-tabs ul.tabs li.active {
    border-top: 4px solid #001E60 !important;
}

/* 4. PRODUCTO INDIVIDUAL: NOMBRE EN GIGANTE Y NEGRO */
.single-product .product_title,
.single-product h1.entry-title {
    display: block !important;
    color: #000000 !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    margin-top: 5px !important;
}

/* 5. HEADER: LETRAS BLANCAS Y BOTÓN LIMPIO */
header#masthead a, 
header#masthead span, 
.ast-header-button-1 .ast-custom-button-link {
    color: #ffffff !important;
}

/* 6. CATÁLOGO: CENTRADO Y ALTURAS IGUALES */
.woocommerce ul.products li.product {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100%;
    padding: 20px !important;
}

.woocommerce ul.products li.product img {
    max-height: 200px !important;
    object-fit: contain !important;