/*
Theme Name: Hello Elementor Child
Theme URI: https://example.com/
Description: Tema hijo para Hello Elementor
Author: Tu Nombre
Template: hello-elementor
Version: 1.0
*/

.trp-language-switcher > div > a {
    display: inline !important;
    padding: 0 !important;
    border-radius: 3px;
    text-decoration: none;
    color: #1E1E1E;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .button{
    display: none;
}


/* Ocultar símbolo duplicado (si WooCommerce lo muestra dos veces) */
.funnelkit-checkout .woocommerce-Price-currencySymbol {
    display: none !important;
}

/* Fuente global en Elementor */
body, h1, h2, h3, h4, h5, h6, p, a, .elementor-widget-container, 
.elementor-heading-title, .elementor-button {
    font-family: 'Merriweather', serif !important;
}

.woocommerce #content table.cart td.actions, .woocommerce table.cart td.actions, .woocommerce-page #content table.cart td.actions, .woocommerce-page table.cart td.actions {
    display: none  !important;
}

.woocommerce .quantity .qty {
    width: 4.6em;
    text-align: ;
}

@media (max-width: 767px) {
  .elementor-nav-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .elementor-nav-menu .sub-arrow {
    margin-left: 8px;
    margin-right: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 767px) {
  /* Forzar que el nombre del producto sea visible en mobile */
  .woocommerce table.shop_table .product-name,
  .woocommerce-page table.shop_table .product-name,
  .woocommerce-cart-form__cart-item .product-name,
  .cart_item .product-name,
  .woocommerce .cart.shop_table .product-name {
    display: block !important;
    color: #222 !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 1em !important;
    width: auto !important;
    height: auto !important;
    white-space: normal !important;
    overflow: visible !important;
    text-indent: 0 !important;
    position: static !important;
  }
  /* Asegura que el enlace del producto también sea visible */
  .woocommerce table.shop_table .product-name a {
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 1em !important;
    display: inline !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  /* Evita que la miniatura tape el nombre */
  .woocommerce-page table.cart .product-thumbnail {
    display: inline-block !important;
    vertical-align: middle !important;
    width: auto !important;
  }
  .woocommerce-page table.cart .product-thumbnail img {
    width: 25vw !important;
    max-width: 80px !important;
    height: auto !important;
    vertical-align: middle !important;
  }
}

.elementor-menu-cart__product-price,
.elementor-menu-cart__product-price .quantity,
.elementor-menu-cart__product-price .woocommerce-Price-amount,
.elementor-menu-cart__product-price .woocommerce-Price-currencySymbol {
    color: #333333 !important;
}


/*
 * Fix Language Switcher Shortcode in Elementor Popup
 */
.elementor-shortcode .trp-ls-shortcode-current-language,
.elementor-shortcode .trp-ls-shortcode-language {
    width: 150px !important;
}


.trp-language-switcher > div > a > img{
    display: inline;
    margin: 0 10px !important;
    width: 18px;
    height: 12px;
    border-radius: 0;
}