/* Ocultar el botón original */
.single-product .shopbar-add-to-cart {
    display: none !important;
}

/* Estilo del nuevo botón de WhatsApp */
.single-product .mrs-whatsapp-producto {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #25D366;
    color: #fff !important;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
}

.single-product .mrs-whatsapp-producto:hover {
    background: #128C7E;
    color: #fff !important;
}
.product-card .product-card-actions {
    display: none !important;
}
/* 1. Ocultar el bloque de la cantidad */
.quantity,
form.cart .quantity,
.single-product .quantity,
div.quantity {
    display: none !important;
}

/* 2. Ocultar el botón de Wishlist (por clase y por enlace) */
a[href*="wishlist"],
.woosw-btn,
.yith-wcwl-add-to-wishlist,
.tinv-wraper,
.shopbar-wishlist,
.product-wishlist {
    display: none !important;
}

/* 3. Ocultar la fila contenedora que agrupa ambos botones */
.single-product form.cart .quantity + a,
.single-product form.cart > div:has(.quantity) {
    display: none !important;
}
/* Ocultar pestaña de reseñas en la ficha de producto */
.woocommerce-tabs .reviews_tab, 
#reviews, 
#tab-reviews {
    display: none !important;
}
#moderncart-floating-cart {
    display: none !important;
}
/* Ocultar botón de añadir al carrito */
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions .add_to_cart_button,
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions .ajax_add_to_cart,
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions button[aria-label*="cart" i],
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions button[aria-label*="carrito" i] {
    display: none !important;
}

/* Ocultar botón de comparar */
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions .compare,
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions a[href*="compare"],
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions button[aria-label*="compare" i],
.elementor-7518 .elementor-element-3051886
.shopbar-pg-actions button[aria-label*="comparar" i] {
    display: none !important;
}
/* Ocultar etiquetas NEW de los productos */
.woocommerce span.onsale,
.woocommerce ul.products .onsale,
.shopbar-product-badge,
.shopbar-product-label,
.shopbar-pg-badge,
.shopbar-pg-label {
    display: none !important;
}
/* Ocultar selector de cantidad en productos */
.shopbar-pdp-purchase .shopbar-qty-selector {
    display: none !important;
}
/* Mundo Truper: reducir título en páginas de producto */
body.single-product h1.product_title,
body.single-product .shopbar-product-title,
body.single-product .shopbar-pdp-info h1 {
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

/* Ajuste para móviles */
@media screen and (max-width: 767px) {
    body.single-product h1.product_title,
    body.single-product .shopbar-product-title,
    body.single-product .shopbar-pdp-info h1 {
        font-size: 25px !important;
        line-height: 1.2 !important;
    }
}
/* Título compacto en páginas de producto */
body.single-product h1.product_title,
body.single-product .shopbar-product-title,
body.single-product .shopbar-pdp-info h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

/* Título en celulares */
@media screen and (max-width: 767px) {
    body.single-product h1.product_title,
    body.single-product .shopbar-product-title,
    body.single-product .shopbar-pdp-info h1 {
        font-size: 20px !important;
        line-height: 1.25 !important;
    }
}
/* Agregar + IVA junto al precio actual de Shopbar */
.shopbar-price-current::after {
    content: " + IVA";
    display: inline-block;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #777777;
    letter-spacing: normal;
    vertical-align: middle;
    margin-left: 5px;
}
/* BOTÓN WHATSAPP MRS INDUSTRIAL */

.mrs-whatsapp-producto {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 59px;
    background: #20cf63 !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* CÍRCULO DEL LOGO */

.mrs-whatsapp-circulo {
    width: 32px;
    height: 32px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ICONO WHATSAPP */

.mrs-whatsapp-circulo svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: #ffffff;
}

/* EFECTO AL PASAR EL MOUSE */

.mrs-whatsapp-producto:hover {
    background: #18b957 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}