/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.0.2.1752575678
Updated: 2025-07-15 10:34:38

*/

.elementor-widget-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.elementor-widget-container .hover-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
}

/* CSS BUNDLE PRODUCT */
/* Oculta los dos últimos hijos de .asnp-App-GridItem-wrapper */
.asnp-App-GridItem-wrapper > :nth-last-child(1),
.asnp-App-GridItem-wrapper > :nth-last-child(2) {
  display: none ;
}

.asnp-productList-wrapper > .asnp-productList-container:nth-child(3) {
  display: none ;
}

.asnp-product-Price, .asnp-productList-price, .asnp-post-grid-price  {
    display: none !important;
}

/* BOTON DE COMPRA EN BLANCO */
.wc-block-cart__submit-container a {
    color: white !important;
}

.elementor-menu-cart__container {
    transform: translateX(-100%) !important;
}

/* Acomodo de la X en el mini-carrito */
.woocommerce-mini-cart-item,
.elementor-menu-cart__product { position: relative; }

.woocommerce-mini-cart-item .mini-remove,
.elementor-menu-cart__product .mini-remove {
  position: absolute;
  top: .4rem; right: .4rem;
  width: 24px; height: 24px; line-height: 22px;
  text-align: center; border-radius: 50%;
  text-decoration: none;
  font-size: 18px;
}

.woocommerce-mini-cart-item .mini-remove:hover,
.elementor-menu-cart__product .mini-remove:hover {
  background: rgba(0,0,0,.06);
}

/* Cuando el mini-carrito está "oculto", que NO capture clics ni ocupe espacio */
.elementor-menu-cart__main[aria-hidden="true"] {
  display: none !important;           /* lo saca del flujo y evita overlays invisibles */
  pointer-events: none !important;    /* cinturón y tirantes */
}

/* Cuando esté visible, que funcione normal */
.elementor-menu-cart__main[aria-hidden="false"] {
  display: block !important;
  pointer-events: auto !important;
}

/* (extra opcional) por si queda alguna capa de overlay de Elementor viva */
.elementor-menu-cart__overlay[aria-hidden="true"] {
  display: none !important;
  pointer-events: none !important;
}
