body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}
  
  .hero-section {
    height: 100vh;
    background-image: url('../img/imagen1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
  }
  
  .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 1.5rem;
  }
  
  .btn-cta {
    background-color: #facc15;
    color: black;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .btn-cta:hover {
    background-color: #fbbf24;
  }
  
  .card-producto {
    background-color: #f3f4f6;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .navbar {
    background-color: rgba(31, 41, 55, 0.8); /* bg-gray-800 con opacidad */
    backdrop-filter: blur(8px); /* efecto de desenfoque */
    transition: background-color 0.3s ease;
  }
  
  .navbar.scrolled {
    background-color: rgba(31, 41, 55, 0.95);
  }
  
  #mobile-menu a:hover {
    color: #facc15;
  }

  .whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.2s ease;
  }
  
  .whatsapp-button:hover {
    transform: scale(1.1);
  }
  #nosotros img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  /* Estilos para el botón flotante del carrito */
#carrito-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1d4ed8; /* Azul Tailwind */
    color: white;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: transform 0.2s ease;
  }
  #carrito-btn:hover {
    transform: scale(1.1);
  }
  
  /* Estilos del modal */
  #carrito-modal {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    padding: 20px;
    width: 300px;
    z-index: 10000;
    display: none;
  }
  
  #carrito-modal h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
  }
  
  #carrito-modal ul {
    max-height: 150px;
    overflow-y: auto;
    margin-bottom: 10px;
  }
  
  #carrito-modal li {
    margin-bottom: 6px;
    font-size: 0.95rem;
  }
  
  #carrito-modal p#total {
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  #carrito-modal button {
    background-color: #16a34a;
    color: white;
    padding: 8px 12px;
    margin-right: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  #carrito-modal .cerrar {
    background-color: #dc2626;
  }

  body {
    overflow-x: hidden;
  }
  #scroll-progress {
    width: 0%;
  }

  .swiper {
  overflow: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
/* Animación del círculo giratorio */
.loader-circle {
  border-radius: 9999px;
  border-style: solid;
}

/* Fade-out animado */
.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}


  #sidebar-menu {
    background-color: #0f172a !important; /* Color sólido slate-900 */
  }
