
    /* Estilos específicos para el carrito desplegable */
    .cart-dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      width: 350px;
      max-height: 80vh;
      overflow-y: auto;
      background: white;
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.15);
      padding: 20px;
      z-index: 1000;
      display: none; /* Oculto por defecto */
      border: 1px solid #eee;
      margin-top: 10px;
    }

    .cart-dropdown-menu.show {
      display: block;
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .cart-item-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid #f0f0f0;
    }

    .cart-item-info h6 {
      font-size: 14px;
      margin: 0 0 4px 0;
      font-weight: 600;
    }

    .cart-item-price {
      font-size: 13px;
      color: #666;
    }

    .quantity-controls {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #f8f9fa;
      border-radius: 6px;
      padding: 4px;
    }

    .qty-btn {
      width: 28px;
      height: 28px;
      border: none;
      background: white;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-weight: bold;
      color: var(--primary);
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      transition: all 0.2s;
    }

    .qty-btn:hover {
      background: var(--primary);
      color: white;
    }

    .qty-value {
      font-size: 14px;
      font-weight: 600;
      min-width: 20px;
      text-align: center;
    }

    .btn-remove-item {
      color: #dc3545;
      background: none;
      border: none;
      font-size: 18px;
      cursor: pointer;
      padding: 4px;
      margin-left: 8px;
    }

    .btn-remove-item:hover {
      color: #a71d2a;
    }

    /* Botón flotante del carrito en el header */
    .cart-trigger-btn {
      position: relative;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--dark);
      padding: 8px;
    }

/* Hacer que el LI del carrito no tenga estilo de lista ni underline */
.cart-menu-item {
  list-style: none;
  display: flex;
  align-items: center;
  margin-left: 10px; /* Pequeño espacio tras "Contacto" */
}

/* Quitar estilos de enlace si los hereda */
.cart-menu-item a {
  text-decoration: none;
  color: inherit;
}

/* Asegurar que el botón del carrito se vea limpio dentro del menú */
.cart-trigger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  padding: 8px;
  font-size: 20px; /* Tamaño del ícono */
  color: var(--dark); /* O el color de tu menú */
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-trigger-btn:hover {
  color: var(--primary);
}

/* El badge (número) ya debería funcionar, pero aseguramos posición */
.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Ajuste para móvil: Que el carrito se vea bien en la lista desplegable */
@media (max-width: 700px) {
  .cart-menu-item {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center; /* Centrar en móvil si deseas */
  }
  
  /* Opcional: Si quieres que en móvil el carrito sea más grande */
  .cart-trigger-btn {
    font-size: 24px;
    padding: 12px;
  }
}


