/* Custom styles for the theme extensions */
.item-grid-product- .item-product .product-extra-link {
    display: none !important;
}

/* Scroll en los resultados del buscador en vivo nativo del tema */
.js-list-live-search .elbzotech-products-wrap {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
}

/* Estilo para que la barra de scroll sea más discreta y estética */
.js-list-live-search .elbzotech-products-wrap::-webkit-scrollbar {
    width: 6px;
}
.js-list-live-search .elbzotech-products-wrap::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 4px;
}
.js-list-live-search .elbzotech-products-wrap::-webkit-scrollbar-thumb {
    background: #d1d1d1;
    border-radius: 4px;
}
.js-list-live-search .elbzotech-products-wrap::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Ajustar imágenes del buscador en vivo para que tengan tamaño uniforme */
.js-list-live-search .elbzotech-products-wrap .item-product .product-thumb-link {
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
}

.js-list-live-search .elbzotech-products-wrap .item-product .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

/* Quitar el cursor de mano en el carrusel de marcas (adv-thumb-link) */
.adv-thumb-link {
    cursor: default !important;
}

/* ---------------------------------------------------------
   WooCommerce Catalog Mode & Quotation CSS
   --------------------------------------------------------- */

/* Ocultar precios en listados y single product */
.price, 
.woocommerce-Price-amount,
.product-price,
.amount {
    display: none !important;
}

/* Ocultar columnas de precio y total en tablas de carrito/checkout/pedidos */
.product-price,
.product-subtotal,
.cart-subtotal,
.order-total,
.tax-rate,
.fee,
.shipping,
th.product-price,
td.product-price,
th.product-total,
td.product-total,
th.product-subtotal,
td.product-subtotal,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total,
.woocommerce-table--order-details tfoot {
    display: none !important;
}

/* Ocultar precios en correos (si la inyección CSS aplica) */
.woocommerce-email-order-details .wc-item-meta,
.woocommerce-email-order-details td.td[style*="text-align:left; vertical-align:middle; border: 1px solid #e5e5e5; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif; word-wrap:break-word;"] {
    /* Es mejor hacerlo por filtros en PHP, pero por si acaso */
}