/*!
Theme Name: Avanam
Theme URI: https://avanam.org
Author: AvanamOrg
Author URI: https://avanam.org/
Description: This is starter WordPress theme called Avanam. Created for theme developers to start building beautiful WordPress themes using Avanam.
Version: 1.5.9
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: avanam
Requires at least: 6.2
Tested up to: 6.7
Tags: translation-ready, two-columns, right-sidebar, left-sidebar, footer-widgets, blog, custom-logo, custom-background, custom-menu, rtl-language-support, editor-style, threaded-comments, custom-colors, featured-images, wide-blocks, full-width-template, theme-options, e-commerce
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share
what you've learned with others.
*/
.star-rating {
    display: none !important;
}
.reviews_tab {
    display: none !important;
}
#descubrir {
    position: absolute;
    z-index: 9999 !important;
    background-color: #ff0000 !important;
    width: 600px !important;
    height: 150px !important;
    top: -10% !important;
    left: -200px !important;
    display:none !important;
}
#descubrir a.full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
}
@media (max-width:992px) {
    #descubrir {
        position: relative;
        z-index: 9999 !important;
        background-color: transparent !important;
        width: 600px !important;
        height: 150px !important;
        top: 10px !important;
        left: 0px !important;
    }
    .custom-logo {
        width:75% !important;
    }
}
.woocommerce-result-count {
    display: none;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
}

/* Ocultar el número de disponibles cuando SÍ hay stock */
.in-stock {
    display: none !important;
}

/* Mostrar el aviso cuando NO hay stock */
.out-of-stock {
    display: block !important;
}
/* "Sin existencias" -> "Agotado" */
.stock.out-of-stock {
    font-size: 0 !important; /* Oculta el texto original */
}
.stock.out-of-stock::after {
    content: "Agotado";
    font-size: 16px !important;
    color: #cc0000; /* Cambia el color si quieres */
    font-weight: 600;
}
/* Solo productos sin existencias: cambiar LEER MÁS por VER */
.woocommerce ul.products li.product.outofstock .cart-text {
    font-size: 0 !important; /* Oculta "Leer más" */
}

.woocommerce ul.products li.product.outofstock .cart-text::after {
    content: "Ver";
    font-size: 14px !important;
    font-weight: 600;
    text-transform: uppercase;
}
/* Solo productos variables: cambiar SELECCIONAR OPCIONES por VER */
.woocommerce ul.products li.product.product-type-variable .cart-text {
    font-size: 0 !important; /* Oculta el texto original */
}

.woocommerce ul.products li.product.product-type-variable .cart-text::after {
    content: "Ver";
    font-size: 14px !important;
    font-weight: 600;
    text-transform: uppercase;
}
/* 1) Botones que NO son "Añadir al carrito" → VER */
.woocommerce ul.products li.product a:not(.ajax_add_to_cart) .cart-text {
    font-size: 0 !important;
}

.woocommerce ul.products li.product a:not(.ajax_add_to_cart) .cart-text::after {
    content: "Ver";
    font-size: 14px !important;
    font-weight: 600;
    text-transform: uppercase;
}

/* 2) Botones "Añadir al carrito" → CARRITO */
.woocommerce ul.products li.product a.ajax_add_to_cart .cart-text {
    font-size: 0 !important;
}

.woocommerce ul.products li.product a.ajax_add_to_cart .cart-text::after {
    content: "Carrito";
    font-size: 14px !important;
    font-weight: 600;
    text-transform: uppercase;
}
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
        display: block !important;
    }

@media (min-width: 992px) {
    .home .elementor-element.elementor-element-6bba698 {
        display:none !important;
    }
}
.elementor-1394 .elementor-element.elementor-element-5e8f817 .item-box {
    display:none !important;
}
.elementor-1394 .elementor-element.elementor-element-b4afc53:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-1394 .elementor-element.elementor-element-b4afc53 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    display:none !important;
}
body:not(.home) .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    display:none !important;
}
.elementor-1394 .elementor-element.elementor-element-5e8f817 .elementor-testimonial-item-wrapper .row {
    display:none !important;
}
.elementor-1392 .elementor-element.elementor-element-4188879 .elementor-testimonial-item-wrapper .row {
    display:none !important;
}
/* Cambiar el texto Agotado por Soldout */
.woocommerce .stock.out-of-stock {
    font-size: 0 !important; /* Oculta el texto original */
}

.woocommerce .stock.out-of-stock::after {
    content: "Soldout";
    font-size: 16px !important;
    font-weight: 600;
    color: #cc0000; /* opcional */
}
@media (max-width: 992px) {
    .woocommerce-loop-product__title a {
        display: -webkit-box;
        -webkit-line-clamp: 3;           /* Aquí defines el número de líneas */
        -webkit-box-orient: vertical;  
        overflow: hidden;
        text-overflow: ellipsis;
}
