/* 
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
*/

/* Add your custom styles here */

/* --- Estilos para el Botón Flotante del Carrito --- */

/* --- Estilos para el Botón Flotante del Carrito --- */

/* Keyframes para la animación de pulso (esto no cambia) */
@keyframes pulse-animation {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(60, 7, 106, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(60, 7, 106, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(60, 7, 106, 0);
  }
}

/* Estilo base del botón flotante (AHORA SIEMPRE VISIBLE) */
#floating-cart-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: #4f46e5;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  /* YA NO SE OCULTA POR DEFECTO */
  transform: scale(1);
  transition: transform 0.3s ease-in-out;
}

/* NUEVA CLASE: ".pulsing" para activar la animación */
#floating-cart-trigger.pulsing {
  animation: pulse-animation 2s infinite;
}

/* Estilo del ícono (no cambia) */
#floating-cart-trigger .icon {
  width: 32px;
  height: 32px;
}

/* Estilo del contador numérico (ahora oculto por defecto) */
#floating-cart-trigger .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #db2777;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  /* Oculto por defecto */
  transform: scale(0);
  transition: transform 0.2s ease;
}

