/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.4.1761505199
Updated: 2025-10-26 18:59:59

*/



/* === MENÚ MÓVIL ESTILO APPLE (para fondo negro) === */
@media (max-width: 980px) {

  .menu-wrapper {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
    width: 100%;
    height: 100vh;
  }

  .menu-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: #000;
    transition: transform 0.4s ease;
  }

  .menu-level.hidden {
    transform: translateX(100%);
  }

  .menu-level.active {
    transform: translateX(0);
  }

  .menu-level.exiting {
    transform: translateX(-100%);
  }

  .menu-item a {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .menu-item a:hover {
    color: #ff6600;
    transform: translateX(5px);
  }

  .menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
  }

  .menu-back {
    font-size: 18px;
    cursor: pointer;
    color: #ff6600;
  }

  .menu-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
  }
}


/* Burbuja del contador */
.cart-count-bubble {
  position: absolute !important;
  top: 14px;             /* ↓ baja más el círculo */
  left: 70.5%;           /* → compensa leve desplazamiento */
  transform: translate(-50%, 0);
  background: #214825;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  animation: pulseCart 1.6s infinite ease-in-out;
  z-index: 9;
  transition: all 0.3s ease;
}

/* Pulso */
@keyframes pulseCart {
  0%, 100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, 0) scale(1.2);
    opacity: 0.85;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .cart-count-bubble {
    top: 10px;        /* baja más en tablet */
    left: 54.5%;
  }
}

@media (max-width: 767px) {
  .cart-count-bubble {
    top: 8px;         /* igual en móvil, mantiene proporción */
    left: 53%;
  }
}