/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Banner de cookies */
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
  background-color: var(--e-global-color-accent) !important;
  border: 1px solid var(--e-global-color-accent) !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover {
  background-color: transparent !important;
  color: var(--e-global-color-accent) !important;
}

.cmplz-cookiebanner .cmplz-link {
  color: var(--e-global-color-accent) !important;
  text-decoration: underline;
}

/* Documento */
#cmplz-document {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

#cmplz-document p {
  line-height: 1.6;
  color: #333;
}

@media (min-width: 1025px) {
  #cmplz-document p { font-size: 16px; }
}

/* Movil */
@media (max-width: 768px) {
  .cmplz-dropdown-cookiepolicy summary div {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 5px !important;
    padding: 10px 15px !important;
  }

  .cmplz-dropdown-cookiepolicy summary div > *:first-child {
    font-weight: 700 !important;
    color: var(--e-global-color-accent) !important;
    font-size: 1rem !important;
  }

  .cmplz-dropdown-cookiepolicy summary p,
  .cmplz-dropdown-cookiepolicy summary label {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: #444 !important;
    line-height: 1.4 !important;
  }

  .cmplz-dropdown-cookiepolicy summary::after {
    content: "";
    margin-left: auto;
    align-self: center;
    transform: scale(1.2);
    color: #222;
  }

  .cmplz-dropdown-cookiepolicy summary {
    padding: 10px 0 !important;
  }
}

/* General */
.e-con-inner { word-break: break-word; }
.contenido_legales a {
  font-weight: 600;
  color: var(--e-global-color-accent);
  transition: color 0.3s ease;
}
.contenido_legales h2 {
    font-weight: 500 !important;
}
.contenido_legales a:hover { color: #000; }
.cmplz-blocked-content-notice { border: var(--e-global-color-accent) !important;}

/* ===== WooCommerce ===== */
/* Barra carrito */
.elementor-menu-cart__product-price .quantity {color: #000 !important;}
	
/* Breadcrumb */
.woocommerce-breadcrumb { margin-top: 2rem !important; }

/* Single product: precio y cantidad (solo ahí) */
.single-product .woocommerce-Price-amount,
.single-product .product-quantity { color: #0a0a0a !important; }

/* Botones "Añadir al carrito" */
.add_to_cart_button,
.single_add_to_cart_button{
  background: var(--e-global-color-accent) !important;
  color: #fff !important;
}
.add_to_cart_button{ padding: 14px 16px !important; text-align: center; }
.single_add_to_cart_button{ padding: 14px 24px !important; }
.add_to_cart_button:hover,
.add_to_cart_button:focus,
.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus{ filter: brightness(.92); }
.add_to_cart_button:focus-visible,
.single_add_to_cart_button:focus-visible{
  outline: 2px solid var(--e-global-color-accent) !important;
  outline-offset: 2px;
}

/* Botones en tablas: limitar a carrito/checkout (no mi cuenta) */
.woocommerce-cart .shop_table .button,
.woocommerce-checkout .shop_table .button{
  -webkit-appearance: none; appearance: none;
  background: #fff !important;
  color: var(--e-global-color-accent) !important;
  border: 2px solid var(--e-global-color-accent) !important;
  padding: 12px 18px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.woocommerce-cart .shop_table .button:hover,
.woocommerce-cart .shop_table .button:focus,
.woocommerce-checkout .shop_table .button:hover,
.woocommerce-checkout .shop_table .button:focus{
  background: var(--e-global-color-accent) !important;
  color: #fff !important;
}

/* Carrito */
.elementor-widget-woocommerce-cart .woocommerce .button,
.elementor-widget-woocommerce-cart .woocommerce a.button,
.woocommerce-cart .woocommerce .button,
.woocommerce-cart .woocommerce a.button{
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #fff !important;
  color: var(--e-global-color-accent) !important;
  border: 2px solid var(--e-global-color-accent) !important;
  padding: 12px 18px !important;
  line-height: 1.2 !important; text-decoration: none !important; box-shadow: none !important;
}
	
.elementor-widget-woocommerce-cart .woocommerce .button:hover,
.elementor-widget-woocommerce-cart .woocommerce a.button:hover,
.elementor-widget-woocommerce-cart .woocommerce .button:focus,
.elementor-widget-woocommerce-cart .woocommerce a.button:focus,
.woocommerce-cart .woocommerce .button:hover,
.woocommerce-cart .woocommerce a.button:hover,
.woocommerce-cart .woocommerce .button:focus,
.woocommerce-cart .woocommerce a.button:focus{
  background: var(--e-global-color-accent) !important; color: #fff !important;
}
.elementor-widget-woocommerce-cart .woocommerce .button:focus-visible,
.elementor-widget-woocommerce-cart .woocommerce a.button:focus-visible,
.woocommerce-cart .woocommerce .button:focus-visible,
.woocommerce-cart .woocommerce a.button:focus-visible{
  outline: 2px solid var(--e-global-color-accent); outline-offset: 2px;
}

/* Checkout: botón principal lleno */
.elementor-widget-woocommerce-cart .woocommerce .checkout-button.button,
.woocommerce-cart .woocommerce .checkout-button.button{
  background: var(--e-global-color-accent) !important;
  color: #fff !important;
  border-color: var(--e-global-color-accent) !important;
}

/* Deshabilitados */
.woocommerce .button:disabled{ opacity: .5 !important; cursor: not-allowed !important; }

/* Cupón + cantidad */
.woocommerce .e-apply-coupon.button{ min-width: 180px; }
.woocommerce .woocommerce-shipping-calculator .button{ margin-top: .5rem; }
.woocommerce .quantity .qty{ height: 38px; padding: 6px 10px; }

/* Mi Cuenta: enlaces y tabs hover */
.woocommerce-MyAccount-content-wrapper a{ color: var(--e-global-color-accent) !important; }
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a:hover{
  color: var(--e-global-color-accent) !important;
}
/* Mi Cuenta: botones de tabla SIN borde (evita "borde azul") */
.elementor-widget-woocommerce-my-account .woocommerce .shop_table .button{
	background: none !important;
  color: var(--e-global-color-accent) !important;
  border-color: var(--e-global-color-accent) !important;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table .button:hover {
		color:#fff!important;
		background-color: var(--e-global-color-accent) !important;
}	

/* Mensajes Woo */
.woocommerce-info{ border-top-color: var(--e-global-color-accent) !important; }
.woocommerce-info::before{ color: var(--e-global-color-accent) !important; }

/* Checkout: hover solo en botones */
.elementor-widget-woocommerce-checkout-page .woocommerce a.button:hover{
  color: var(--links-normal-color, #000);
}
.elementor-widget-woocommerce-checkout-page a:hover {
	color: var(--e-global-color-accent) !important;
}	
.e-wc-info-notice .woocommerce-info .button {
    border-color: var(--e-global-color-accent) !important;
}