/* Start custom CSS *//* Agrandar el título principal del banner */
.breadcrumb-area .page-title h1, 
.page-title h1, 
.breadcrumb-area h1 {
    color: #ffffff !important;
    font-size: 55px !important; /* Tamaño aumentado (ajusta si lo quieres más grande) */
    font-weight: 800 !important; /* Más negrita para que se vea imponente */
    text-transform: uppercase !important; /* Todo en mayúsculas para estilo industrial */
    letter-spacing: 2px !important; /* Espaciado entre letras para mejor legibilidad */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Sombra más marcada para resaltar el blanco */
}

/* Ajuste para que en celulares no se corte la palabra */
@media (max-width: 768px) {
    .breadcrumb-area .page-title h1, 
    .page-title h1 {
        font-size: 35px !important;
    }
}






/* --- ESTILO PARA PRODUCTOS EN EL FOOTER (WOOCOMMERCE) --- */

/* --- FOOTER: REJILLA DE PRODUCTOS COMPACTA Y LEGIBLE --- */

/* 1. Ajuste del contenedor de 3 columnas */
.widget_products ul.product_list_widget {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin-top: 20px !important;
}

/* 2. Estilo de cada celda */
.widget_products ul.product_list_widget li {
    background: none !important; /* Quitamos fondos pesados */
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: block !important; /* Volvemos a bloque para control total */
    text-align: center;
}

/* 3. El enlace que envuelve todo */
.widget_products ul.product_list_widget li a {
    display: block !important;
    text-decoration: none !important;
}

/* 4. Las imágenes: Ahora son las protagonistas */
.widget_products ul.product_list_widget li img {
    width: 100% !important; /* Ocupa todo el ancho de su columna */
    height: 70px !important;
    background: #ffffff;
    padding: 5px;
    border-radius: 8px;
    object-fit: contain;
    margin: 0 0 8px 0 !important;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

/* 5. Títulos: Pequeños pero visibles debajo de la imagen */
.widget_products ul.product_list_widget li .product-title {
    display: block !important;
    color: #bbbbbb !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    line-height: 1.2;
    height: 24px; /* Forzamos altura para que no bailen las filas */
    overflow: hidden;
}

/* 6. RESALTAR EL MÁS VENDIDO (Discos de Sierra) */
.widget_products ul.product_list_widget li:has(a[href*="discos-de-sierra"]) {
    grid-column: span 3; /* Ocupa toda la fila superior */
    margin-bottom: 10px !important;
}

.widget_products ul.product_list_widget li:has(a[href*="discos-de-sierra"]) a {
    display: flex !important;
    align-items: center;
    background: rgba(255, 193, 7, 0.1);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.widget_products ul.product_list_widget li:has(a[href*="discos-de-sierra"]) img {
    width: 60px !important;
    height: 60px !important;
    margin: 0 15px 0 0 !important;
}

.widget_products ul.product_list_widget li:has(a[href*="discos-de-sierra"]) .product-title {
    font-size: 13px !important;
    color: #ffc107 !important;
    text-align: left;
    height: auto;
}

/* 7. Hover Effect */
.widget_products ul.product_list_widget li:hover img {
    transform: translateY(-5px);
    border-color: #ffc107;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.widget_products ul.product_list_widget li:hover .product-title {
    color: #ffffff !important;
}/* End custom CSS */