/* 
Theme Name: Digidisa Child
Theme URI: https://digidisa.com
Description: Digidisa Agencia de Marketing Digital y Diseño web. Ofrecemos servicios de Posicionamiento SEO para empresas y Asesoría Digital
Author: Digidisa SL
Author URI: https://digidisa.com
Template: hello-elementor
Version: 3.0.0
Text Domain: digidisa-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* AJUSTES LISTADO PRODUCTOS */

/* Ocultar el botón Añadir al Carrito por completo en los listados */
.elementor-widget-woocommerce-products .add_to_cart_button,
.elementor-widget-woocommerce-products .ajax_add_to_cart,
.woocommerce ul.products li.product .button,
.archive .products .button {
    display: none !important;
}

/* Forzar tamaño imagenes */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img,
.elementor-widget-woocommerce-products img,
.elementor-posts-container img,
.attachment-woocommerce_thumbnail {
    border-radius: 0px !important;           
    box-shadow: none !important;           
    border: none !important;  
    padding: 0 !important;    
    background: transparent !important;
    width: 100% !important;
    aspect-ratio: 2 / 3 !important;           
    object-fit: cover !important;           
    
    margin-bottom: 12px !important;           
}

/* Efecto hover limpio */
.woocommerce ul.products li.product a:hover img,
.elementor-widget-woocommerce-products a:hover img {
    opacity: 0.85 !important;
}

/* SOLD OUT en productos sin stock */
.woocommerce ul.products li.product {
    position: relative;
}

.woocommerce ul.products li.product.outofstock a::after {
    content: "SOLD OUT" !important;
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000000 !important;
    color: #ffffff !important;
    padding: 3px 8px !important; 
    font-size: 10px !important;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 10;
    pointer-events: none;
}
