
  :root {
  --primary: #ff6200;
  --primary-dark: #f57c00;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --gray: #6b7280;
  --text-dark: #333;
  --bg-light: #f8f9fa;
  --bg-dark: #222;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#pwa-update-banner{
  bottom: 5rem;
}
a{
  text-decoration: none !important;
}
/* Estilos generales */
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
  width: 100%;
}
 /* Splash Screen Tecnológico */
    .splash-screen {
        position: fixed;
        /*top: 50px;*/
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 100000;
        opacity: 1;
        transition: opacity 0.8s ease;
        overflow: hidden;
    }
    
    .splash-screen.fade-out {
        opacity: 0;
        pointer-events: none;
    }
    
    /* Fondo de partículas animadas */
    .splash-particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .particle {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        pointer-events: none;
        animation: float 6s infinite ease-in-out;
    }
    
    /* Grid de fondo */
    .splash-grid {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: 
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
        z-index: 2;
        opacity: 0.3;
    }
    
    /* Logo con efecto de brillo */
    .splash-logo {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff6200 0%, #ff9e2c 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
        z-index: 3;
        box-shadow: 0 20px 60px rgba(255, 98, 0, 0.4);
        position: relative;
        overflow: hidden;
        animation: pulseGlow 2s infinite alternate;
        border: 4px solid rgba(255, 255, 255, 0.2);
    }
    
    .splash-logo::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
        opacity: 0;
        animation: shine 3s infinite;
    }
    
    .logo-icon {
        font-size: 80px;
        color: white;
        z-index: 1;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        width: 230px;
        height: 230px;
    }
    
    .splash-text {
        color: #f8f9fa !important;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 30px;
        text-align: center;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
        z-index: 3;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease forwards 0.5s;
    }
    
    .loading-bar-container {
        width: 200px;
        height: 6px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
        overflow: hidden;
        position: relative;
        z-index: 3;
        margin-top: 20px;
    }
    
    .loading-bar {
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, #ff6200, #ff9e2c);
        border-radius: 3px;
        transition: width 0.3s ease;
        position: relative;
    }
    
    .loading-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        animation: shimmer 1.5s infinite;
    }
    
    .loading-text {
        color:#f8f9fa;
        font-size: 0.9rem;
        margin-top: 10px;
        opacity: 0;
        transform: translateY(10px);
        animation: fadeInUp 0.5s ease forwards 1.2s;
        z-index: 3;
    }
    
    .skip-btn {
        margin-top: 30px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px 20px;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        font-weight: 500;
        letter-spacing: 0.5px;
        z-index: 3;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease forwards 1.5s;
    }
    
    .skip-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 98, 0, 0.3);
    }
    
    /* Animaciones */
    @keyframes pulseGlow {
        0% {
            box-shadow: 0 20px 60px rgba(255, 98, 0, 0.4);
            transform: scale(1);
        }
        100% {
            box-shadow: 0 20px 60px rgba(255, 98, 0, 0.6);
            transform: scale(1.05);
        }
    }
    
    @keyframes shine {
        0% {
            opacity: 0;
            transform: translateX(-50%) translateY(-50%) rotate(0deg);
        }
        50% {
            opacity: 1;
        }
        100% {
            opacity: 0;
            transform: translateX(50%) translateY(50%) rotate(180deg);
        }
    }
    
    @keyframes shimmer {
        0% {
            transform: translateX(-100%);
        }
        100% {
            transform: translateX(100%);
        }
    }
    
    @keyframes float {
        0%, 100% {
            transform: translate(0, 0);
        }
        25% {
            transform: translate(10px, 15px);
        }
        50% {
            transform: translate(-10px, 5px);
        }
        75% {
            transform: translate(5px, -10px);
        }
    }
    
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .splash-logo {
            width: 280px;
            height: 280px;
        }
        
        .splash-text {
            font-size: 1.6rem;
        }
        
        .loading-bar-container {
            width: 160px;
        }
    }
    
    @media (max-width: 576px) {
        .splash-logo {
            width: 250px;
            height: 250px;
        }
        
        .splash-text {
            font-size: 1.4rem;
        }
        
        .loading-bar-container {
            width: 140px;
        }
        
        .skip-btn {
            padding: 8px 16px;
            font-size: 0.8rem;
        }
    }
.content {
  padding: 2rem;
  text-align: center;
}



  /* Animación de pulso (ya existente) notificaciones */
  .notification-badge {
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
  }

  /* Animación de vibración para la campanita */
  @keyframes vibrar {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
  }

  /* Animación de salto */
  @keyframes saltar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  /* Clase que activa la animación */
  .animar-campana {
    animation: vibrar 0.5s ease-in-out, saltar 0.5s ease-in-out;
  }

  /* Evita que la animación se repita mientras esté activa */
  .animar-campana-no-repetir {
    animation: vibrar 0.5s ease-in-out, saltar 0.5s ease-in-out;
    animation-iteration-count: 1;
  }

  /* Badge de notificación */
  .animate-bounce {
    animation: bounce 1s infinite;
  }
  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

/* Megamenú */
.dropdown {
  position: relative;
}

.mega-menu {
  width: 100%;
  max-width: 60rem;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  background-color: #fff;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.mega-menu .dropdown-item {
  padding: 10px 15px;
  transition: background-color 0.2s;
}

.mega-menu .dropdown-item:hover {
  background-color: var(--bg-light);
}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  width: 20rem;
  max-width: 60rem;
  left: 0%;
  transform: translateX(0%);
}

.btn:not(:disabled):not(.disabled) {
  border: 1px solid #ff9600;
}

@media (max-width: 992px) {
  .mega-menu,
  .dropdown-menu {
    max-width: 100%;
    transform: none;
    left: 0;
  }
}

#mobileMenuToggle {
  font-size: 1rem;
  background: none;
  border: none;
  color: var(--text-dark);
}

/* Modal Móvil */
.modal-dialog-scrollable .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 8px;
}

.modal-dialog-scrollable .modal-body {
  padding: 15px;
}

.modal-dialog-scrollable .nav-link {
  color: var(--text-dark);
  padding: 10px 15px;
}
    /* Estilo para la imagen - Responsive y con máximo tamaño en pantallas grandes */
    #modalImage {
      max-height: 300px;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      margin-bottom: 1.5rem;
      width: 100%;
    }
    
    /* En pantallas grandes, limitar la altura de la imagen */
    @media (min-width: 768px) {
      #modalImage {
        max-height: 350px;
      }
    }
     @media (min-width: 992px) {
      #modalImage {
        max-height: 400px;
      }
    }
     /* Flecha animada */
    .scroll-indicator {
      position: absolute;
      bottom: 20px;
      left: 47%;
      transform: translateX(-47%);
      width: 40px;
      height: 40px;
      background: #ff6200;
      color: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      animation: bounce 2s infinite;
      cursor: pointer;
      margin: auto;
    }
    .scroll-indicator i {
      color: #fff;
      font-size: 20px;
    }
 /* Ocultar flecha en pantallas pequeñas donde no es necesaria */
    @media (max-height: 500px) {
      .scroll-indicator {
        display: none;
      }
    }
.modal-dialog-scrollable .nav-link:hover {
  background-color: var(--bg-light);
}

.modal-dialog-scrollable .collapse {
  margin-left: 15px;
  visibility: visible;
}

.modal-dialog-scrollable .modal-header {
  display: flex;
  justify-content:center;
  align-items: center;
}

.modal-dialog-scrollable .modal-header img {
  max-height: 48px;
}

/* Estilos para el modal search */
.modal-content {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #e9ecef;
  padding: 1rem;
  position: relative;
}

.close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 10;
}
.btn-close{
  display:none;
}

.close:hover {
  opacity: 0.8;
  color: #000;
  text-decoration: none;
}

.close:not(:disabled):not(.disabled):hover,
.close:not(:disabled):not(.disabled):focus {
  outline: none;
}

.modal-body {
  padding: 1rem;
  max-height: 70vh;
  overflow-y: auto;
}

.open-business {
  border-left: 4px solid #28a745;
  background-color: #f8fff8;
}

.open-business .card-title {
  color: #28a745;
}

.font-weight-bold {
  color: #fff !important;
}

/* Ajustes responsivos */
@media (min-width: 768px) {
  .modal-dialog {
    max-width: 800px;
  }

  .close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .modal-body {
    max-height: 60vh;
  }
}

@media (max-width: 767.98px) {
  .modal-dialog {
    margin-top: 4.5rem;
    width: 100%;
    max-width: 97%;
  }

  .close {
    top: 0.5rem;
    right: 0.5rem;
  }

  .modal-body {
    max-height: 70vh;
  }

  .modal-content {
    border-radius: 8px;
  }
}

.modal {
  overflow: auto;
}

/* Hero Section Mejorado */
.hero-modern {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
   background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  text-align: center;
  padding: 2rem;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 60%, rgba(0,0,0,0.7) 150%);
  background-image: 
            linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: 40px 40px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-modern h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to right, #ffffff, #ffd700);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.hero-modern p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-modern .btn-hero {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(45deg, #ff6b00, #ff8c00);
  border: none;
  color: white;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(255, 107, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-modern .btn-hero:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 25px rgba(255, 107, 0, 0.6);
  background: linear-gradient(45deg, #ff8c00, #ff6b00);
}

.hero-modern .btn-hero:active {
  transform: translateY(0) scale(0.98);
}

.hero-modern .btn-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: all 0.8s;
}

.hero-modern .btn-hero:hover::after {
  left: 120%;
}

.hero-modern .stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  /*left: 50%;
  transform: translateX(-50%);*/
  z-index: 2;
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .hero-modern p {
    font-size: 1.1rem;
  }
  
  .hero-modern .btn-hero {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

/* Carrusel Infinito de Negocios */
.business-carousel {
  margin-bottom: 3rem;
}

.business-carousel .section-title {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  color: var(--primary-dark);
  justify-content: center;
}

.business-carousel .section-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
}

.carousel-slider {
  overflow: hidden;
  position: relative;
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 20px;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 160px;
  text-align: center;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: scale(1.05);
}

.carousel-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.carousel-card p {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.nav-arrow {
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-arrow:hover {
  background: var(--primary-dark);
}

.nav-arrow svg {
  width: 24px;
  height: 24px;
}
 /* Formulario de contacto */
        .contact-form-section {
            max-width: 90%;
            margin: 0 auto 40px;
            background-color: #1e293b;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
            border: 1px solid #475569;
            animation: fadeIn 1s ease-in-out;
        }

        .contact-form-section img {
            width: 60px;
            height: 60px;
            margin: auto;
        }

        .contact-form-section h2 {
            font-size: 1.8rem;
            font-weight: 600;
            color: #00d4ff;
            margin-bottom: 20px;
            text-align: center;
        }

        .contact-form-section input,
        .contact-form-section textarea,
        .contact-form-section select {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #475569;
            border-radius: 8px;
            background-color: #334155;
            color: #e2e8f0;
            font-size: 1rem;
        }

        .contact-form-section input:focus,
        .contact-form-section textarea:focus,
        .contact-form-section select:focus {
            outline: none;
            border-color: #00d4ff;
        }

        .contact-form-section textarea {
            min-height: 100px;
            resize: vertical;
        }

        .contact-form-section button {
            background-color: #10b981;
            color: #f8f9fa;
            padding: 12px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            width: 100%;
            font-size: 1rem;
            font-weight: 600;
            transition: background-color 0.3s, transform 0.2s;
        }

        .contact-form-section button:hover {
            background-color: #059669;
            transform: scale(1.02);
        }

        .contact-form-section .questions-section {
            display: none;
            margin-top: 20px;
            padding: 15px;
            background: rgba(0, 212, 255, 0.1);
            border-radius: 8px;
        }

        .contact-form-section .questions-section.show {
            display: block;
            animation: fadeIn 0.5s ease-in-out;
        }

        .contact-form-section .question-option {
            margin-bottom: 15px;
        }

        .contact-form-section .question-option label {
            display: block;
            margin-bottom: 5px;
            color: #e2e8f0;
        }

        /* Modal de confirmación */
        .modal-1 {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-in-out;
        }

        .modal-1.show {
            display: flex;
        }

        .modal-1 .modal-content {
            background-color: #1e293b;
            padding: 20px;
            border-radius: 12px;
            max-width: 90%;
            width: 400px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
            border: 1px solid #475569;
        }

        .modal-1 .modal-content h3 {
            font-size: 1.6rem;
            color: #e2e8f0;
            margin-bottom: 15px;
        }

        .modal-1 .modal-content p {
            color: #e2e8f0;
            margin-bottom: 20px;
        }

        .modal-1 .modal-content button {
            background-color: #10b981;
            color: #e2e8f0;
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .modal-1 .modal-content button:hover {
            background-color: #059669;
        }

        /* Responsive */
        @media (max-width: 768px) {

            .contact-form-section {
                max-width: 95%;
                padding: 20px;
            }

            .contact-form-section h2 {
                font-size: 1.5rem;
            }

            .modal-1 .modal-content {
                width: 95%;
            }
        }

/* Carrusel de Promociones */
.offer-slider {
  position: relative;
  overflow: hidden;
}

#offerContainer {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  padding: 10px 0;
}

#offerContainer::-webkit-scrollbar {
  display: none;
}

.offer-card {
  flex: 0 0 168px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
}

.offer-image {
  position: relative;
}

.offer-image img {
  width: 100%;
  height: 116px;
  object-fit: cover;
}

.offer-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #d32f2f;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.offer-info {
  padding: 8px;
}

.offer-info h3 {
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price {
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.original-price {
  color: var(--gray);
  text-decoration: line-through;
}

.discounted-price {
  color: #d32f2f;
  font-weight: bold;
}

.menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d32f2f;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.menu-link svg {
  width: 16px;
  height: 16px;
  fill: #d32f2f;
}

.nav-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sección de Oportunidad Mejorada */
.business-opportunity-modern {
  position: relative;
  padding: 5rem 2rem;
   background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
 /* background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(245, 124, 0, 0.95) 100%), 
              url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;*/
  color: white;
  text-align: center;
  overflow: hidden;
}

.business-opportunity-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.opportunity-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.business-opportunity-modern h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to right, #ffffff, #ffd700);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.business-opportunity-modern h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffd700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.business-opportunity-modern p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.business-opportunity-modern .btn-opportunity {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(45deg, #25d366, #128c7e);
  border: none;
  color: white;
  transition: all 0.4s ease;
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.business-opportunity-modern .btn-opportunity:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.6);
  background: linear-gradient(45deg, #128c7e, #25d366);
}

.business-opportunity-modern .btn-opportunity:active {
  transform: translateY(0) scale(0.98);
}

.business-opportunity-modern .btn-opportunity::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: all 0.8s;
}

.business-opportunity-modern .btn-opportunity:hover::after {
  left: 120%;
}

.benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.benefit-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  font-size: 2.5rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.9rem;
  opacity: 0.9;
}

.countdown {
  font-size: 2rem;
  font-weight: 700;
  color: #ff6b00;
  margin: 1.5rem 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .business-opportunity-modern h2 {
    font-size: 2rem;
  }
  
  .business-opportunity-modern h3 {
    font-size: 1.5rem;
  }
  
  .business-opportunity-modern p {
    font-size: 1rem;
  }
  
  .business-opportunity-modern .btn-opportunity {
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
  }
  
  .benefit-icon {
    font-size: 2rem;
  }
  
  .benefit-title {
    font-size: 1rem;
  }
  
  .countdown {
    font-size: 1.5rem;
  }
}

/* Secciones de Comercios */
.load-more-container {
  position: relative;
  z-index: 10;
  pointer-events: auto !important;
}

.load-more-container .btn {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 10;
}

.load-more-container .btn:hover {
  transform: scale(1.02);
}

section {
  padding: 60px 0;
  scroll-margin-top: 100px;
}

section h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  color: white;
}

.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-top {
  height: 160px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  /*height: 168px;*/
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.5;
}

.card-text i {
  margin-right: 8px;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
  border-radius: 5px;
  padding: 10px;
  font-size: 0.65rem;
  transition: background-color 0.3s ease;
  position: relative;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
}

.btn-whatsapp.disabled {
  background-color: var(--gray);
  cursor: not-allowed;
}

.btn-whatsapp.disabled[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-dark);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.btn-whatsapp.disabled:hover::after {
  opacity: 1;
  visibility: visible;
}

.btn-gradient {
  background: linear-gradient(45deg, var(--primary), #ff9e2c);
  color: white;
  border-radius: 5px;
  padding: 10px;
  font-size: 0.65rem;
  transition: opacity 0.3s ease;
}

.btn-gradient:hover {
  opacity: 0.9;
}

/* Estilos para el mapa */
#map {
  border-radius: 5px;
  overflow: hidden;
}

#locateMe {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#locateMe:hover {
  background-color: #27ae60;
}

/*#businessList {
  text-align: left;
  height: 30vh;
  overflow: scroll;
}*/

.business-info {
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
}

.text-dark {
   
    position: sticky;
    text-align: center;
    top: 0;
    text-decoration: dashed;
    
}
@media (max-width: 600px) {
  #map { height: 300px; }
}

/* Secciones (sin parallax) */
.parallax {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 2px;
  margin: 10px !important;
  box-shadow: 0px 9px 56px 17px rgba(253, 250, 250, 0.993);
-webkit-box-shadow: 0px 9px 56px 17px rgb(219, 217, 217);
-moz-box-shadow: 0px 9px 56px 17px rgb(170, 167, 167);
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #764ba2 !important ;
  /*background: linear-gradient(to top, #fff, #000);*/
}
/* Textura sutil (grid o radial) como en el hero */
.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: radial-gradient(circle, transparent 60%, rgba(0, 0, 0, 0.459) 150%);
  background-image: 
            linear-gradient(rgba(230, 230, 230, 0.938) 1px, transparent 1px),
            linear-gradient(90deg, rgba(228, 226, 225, 0.938) 1px, transparent 1px);
        background-size: 40px 40px;*/
  z-index: -1;
}
.parallax .container {
  padding: 20px;
  width: 1005px;
  height: auto;
}
/* Panaderías - Tons cálidos suaves: beige, dorado suave */
#panaderias {
  /*background: linear-gradient(135deg, #f5e6d3 0%, #e8c9a8 50%, #fdfcfc 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

#panaderias::before {
  /*background-color: rgba(248, 245, 245, 0.863); /* Textura más visible en fondos claros */
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Verdulerías - Verdes naturales suaves */
#verdulerias {
  /*background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Fiambrerías - Rosados suaves (queso, fiambre) */
#fiambrerias {
  /*background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Kioscos - Azul claro energético pero suave */
#kioscos {
  /*background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Mascotas - Tons amarillos cálidos y amigables */
#mascotas {
 /* background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 50%, #f9faf9 100%);*/
 background: #f8f9fa;
 border-radius:15px;
 border: 2px solid #fffdfd;
}

/* Ropa - Morado suave, elegante */
#ropa {
  /*background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Carnicerías - Rojo tierra suave, no intenso */
#carnicerias {
  /*background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
  /* No usamos rojo fuerte, sino tonos tierra cálidos */
}

/* Barberías - Grises elegantes, como barber shop moderna */
#barberias {
  /*background: linear-gradient(135deg, #424242 0%, #616161 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Ferreterías - Azul acero */
#ferreterias {
  /*background: linear-gradient(135deg, #cfd8dc 0%, #b0bec5 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Pastas - Verde oliva suave */
#pastas {
 /* background: linear-gradient(135deg, #f1f8e9 0%, #dcedc8 50%, #f9faf9 100%);*/
 background: #f8f9fa;
 border-radius:15px;
 border: 2px solid #fffdfd;
}

/* Veterinarias - Azul suave, de confianza */
#veterinarias {
/*  background: linear-gradient(135deg, #e8f4f8 0%, #c7e9f1 50%, #f9faf9 100%);*/
background: #f8f9fa;
border-radius:15px;
border: 2px solid #fffdfd;
}

/* Farmacias - Azul claro limpio */
#farmacias {
  /*background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Cafeterías - Marrón café suave */
#cafeterias {
  /*background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Talleres - Gris industrial */
#talleres {
  /*background: linear-gradient(135deg, #616161 0%, #757575 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Librerías - Verde oscuro intelectual */
#librerias {
  /*background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Florerías - Rosa claro floral */
#florerias {
  /*background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 50%, #f9faf9 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Mates - Verde mate natural */
#mates {
  /*background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c8 50%, #a5d6a5 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}

/* Profesiones - Azul profesional */
#profesiones {
  /*background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 50%, #64b5f6 100%);*/
  background: #f8f9fa;
  border-radius:15px;
  border: 2px solid #fffdfd;
}
.parallax .row {
  margin: 0;
  height: auto;
  display: flex;
  flex-wrap: wrap;
}

.parallax .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Promociones Destacadas */
.featured-promos {
  padding: 60px 20px;
  text-align: center;
  background: var(--bg-light);
}
.featured-promos .section-title{
  justify-content: center;
}
/* Tarjeta de Promoción Aleatoria */
.promo-card {
  position: fixed;
  bottom: 90px;
  right: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  opacity: 0;
  transform: translateY(50px) rotate(-2deg);
  transition: all 0.6s ease;
}

.promo-card.show {
  opacity: 1;
  transform: translateY(0) rotate(-2deg);
}

.promo-card.hidden {
  opacity: 0;
  transform: translateY(50px) rotate(2deg);
  pointer-events: none;
}

.promo-card::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;
  background: linear-gradient(45deg, var(--primary), #ff9e2c);
  filter: blur(10px);
  border-radius: 14px;
  opacity: 0.6;
}

.promo-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.close-promo {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  color: var(--gray);
  background: transparent;
  border: none;
  cursor: pointer;
}

.close-promo:hover {
  color: var(--primary);
}

#promoLogo {
  width: 60px;
  height: auto;
  margin-bottom: 10px;
}

#promoTitle {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0 0 6px;
}

#promoText {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.btn-promo {
  background: linear-gradient(to right, var(--whatsapp), #128C7E);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-promo:hover {
  background: linear-gradient(to right, var(--primary), #ff9e2c);
}
/*seccion promociones central*/
/* Animación suave para el ícono */
.animate-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Efecto hover en el botón */
#btnNotificacionPromo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
/* Botón Volver Arriba */
.back-to-top {
  position: fixed;
  bottom: 17px;
  left: 10px;
  background: linear-gradient(135deg, #1e40af, var(--primary-dark)) !important;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.back-to-top:not(.d-none) {
  opacity: 1;
}

.back-to-top:hover {
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  /*background-color: var(--bg-dark);*/
   background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  padding: 40px 0 20px;
  font-family: 'Roboto', sans-serif;
}

.site-footer .container {
  max-width: 1200px;
}

.site-footer h5 {
  font-family: 'Bangers', cursive;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.site-footer .list-unstyled {
  padding-left: 0;
}

.site-footer .list-unstyled li {
  margin-bottom: 10px;
}

.site-footer .list-unstyled a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.site-footer .list-unstyled a:hover {
  color: var(--primary);
}

.site-footer .list-unstyled i {
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Estilos para la columna de logo y descripción */
.site-footer .col-md-4:first-child img {
  max-height: 60px;
  width: auto;
}

.site-footer .col-md-4:first-child p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

.site-footer .social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: var(--primary);
}

/* Estilos para el pie de página (bottom) */
.site-footer .mt-4 {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 3rem;
  font-size: 0.9rem;
}

.site-footer .mt-4 a {
  color: var(--primary);
  text-decoration: none;
}

.site-footer .mt-4 a:hover {
  text-decoration: underline;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
  .site-footer {
    padding: 30px 0 15px;
  }

  .site-footer .row {
    flex-direction: column;
    text-align: center;
  }

  .site-footer .col-md-4 {
    margin-bottom: 30px;
  }

  .site-footer .col-md-4:last-child {
    margin-bottom: 0;
  }

  .site-footer .social-icons {
    justify-content: center;
  }

  .site-footer .list-unstyled a {
    justify-content: center;
  }

  .site-footer .mt-4 {
    padding-top: 15px;
  }
}

@media (max-width: 576px) {
  .site-footer h5 {
    font-size: 1.2rem;
  }

  .site-footer .list-unstyled a {
    font-size: 0.9rem;
  }

  .site-footer .list-unstyled i {
    font-size: 1rem;
  }

  .site-footer .col-md-4:first-child img {
    max-height: 50px;
  }

  .site-footer .col-md-4:first-child p {
    font-size: 0.85rem;
  }

  .site-footer .social-icons a {
    font-size: 1.3rem;
    margin: 0 10px;
  }

  .site-footer .mt-4 {
    font-size: 0.8rem;
  }
}

/* Ajustes específicos para la clase 'uno' */
.uno {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uno ul {
  text-align: center;
}

@media (min-width: 769px) {
  .uno {
    align-items: center;
  }
  .uno ul {
    text-align: left;
  }
}

/* Ubicación */
.map-container {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  .parallax .card-img-top {
    height: 150px;
  }
  .card-body {
    padding: .25rem;
    height: auto;
  }
}

@media (max-width: 576px) {
  .parallax .card-img-top {
    height: 140px !important;
  }
  .parallax .container {
    padding: 5px;
  }
  #nuevoEmprendimiento {
    padding: 5px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .card-img-top {
    height: 150px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.85rem;
  }

  .btn-whatsapp, .btn-gradient {
    font-size: 0.85rem;
    padding: 8px;
  }

  .business-carousel .section-title {
    font-size: 2rem;
  }

  .carousel-card {
    width: 140px;
  }

  .carousel-card img {
    height: 80px;
  }

  .offer-card {
    width: 140px;
  }

  .offer-image img {
    height: 100px;
  }

  section {
    padding: 40px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 300px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .card-img-top {
    height: 120px;
  }

  .card-title {
    font-size: 1rem;
  }

  .card-text {
    font-size: 0.8rem;
  }

  .btn-whatsapp, .btn-gradient {
    font-size: 0.4rem !important;
    padding: 2px;
   /* width: 90%;*/
    margin: auto;
  }
  .col-12 .btn-whatsapp {
    font-size: 0.9rem !important;
  }
  .form-card {
    padding: 20px;
  }

  .form-card h2 {
    font-size: 1.5rem;
  }

  .carousel-card {
    width: 120px;
  }

  .carousel-card img {
    height: 70px;
  }

  .carousel-card p {
    font-size: 0.8rem;
  }

  .offer-card {
    width: 100%;
  }

  .offer-image img {
    height: 80px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
  }

  .promo-card {
    bottom: 70px;
    right: 15px;
    width: 80%;
    max-width: 300px;
  }

  .col-6 {
    padding: 10px;
  }
  .mb-4 {
    width: 100%;
    text-align: center;
  }
}

/* Estilos para tarjetas más pequeñas */
.card-small {
  max-width: 250px;
  margin: 0 auto 1.5rem;
  font-size: 0.85rem;
}

.card-small .card-title {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.card-small .card-text {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.card-small .btn {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  margin-bottom: 0.3rem;
}

/* Categories Section - Fixed on scroll at bottom */
        .categories-section {
            position: sticky;
            bottom: 0;
            z-index: 999;
            background-color: white;
            box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
            padding:0;
            margin-bottom: -1px;
        }
        
        .categories {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: none;
        }
        
        .categories::-webkit-scrollbar {
            display: none;
        }
        
        .category {
            display: inline-block;
            margin: 0 1rem;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s ease;
            padding: 5px;
            position: relative;
        }
        
        .category:hover {
            transform: translateY(-3px);
        }
        
        .category-icon {
            width: 40px;
            height: 40px;
            background-color: #f0f0f0;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto;
            font-size: 1.2rem;
            color: var(--primary);
            transition: all 0.3s ease;
        }
        
        .category-name {
            font-size: 0.7rem;
            font-weight: 500;
            color: var(--text-dark);
            transition: color 0.3s ease;
        }
        
        /* Active category styles */
        .category.active {
            font-weight: 600;
        }
        
        .category.active .category-icon {
            background-color: var(--primary);
            color: white;
            transform: scale(1.1);
        }
        
        .category.active .category-name {
            color: var(--primary);
        }
        
        /* Section indicator */
        .category.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px 3px 0 0;
        }
        
        /* Promotions Section */
        .promotions {
            padding: 3rem 0;
        }
        
        .section-title {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .section-title h2 {
            font-size: 1.8rem;
            color: var(--text-dark);
            margin: 0;
        }
        
        /* Promotion Card */
        .promotion-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 1.5rem;
        }
        
        .promotion-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        
        .promotion-image {
            height: 150px;
            overflow: hidden;
        }
        
        .promotion-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .promotion-card:hover .promotion-image img {
            transform: scale(1.1);
        }
        
        .promotion-content {
            padding: 1.5rem;
        }
        
        .promotion-benefit {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .promotion-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-dark);
            margin: 0 0 0.5rem;
        }
        
        .promotion-subtext {
            color: #6c757d;
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }
        
        .promotion-validity {
            color: #6c757d;
            font-size: 0.875rem;
            margin-bottom: 1rem;
        }
        
        .promotion-days {
            display: flex;
            gap: 0.25rem;
            margin-bottom: 1rem;
        }
        
        .promotion-day {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .promotion-day.active {
            background-color: var(--primary);
            color: white;
        }
        
        .promotion-day.inactive {
            background-color: #e9ecef;
            color: #6c757d;
        }
        
        .promotion-link {
            display: inline-block;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s ease;
        }
        
        .promotion-link:hover {
            color: var(--primary-dark);
        }
        
        /* Espacio para el footer fijo */
        .content-wrapper {
            padding-bottom: 80px; /* Espacio para el footer fijo */
        }
        
        /* Responsive Design */
        @media (max-width: 768px) {
            .categories-section {
                bottom: 0;
            }
            
            .category {
                margin: 0 0.5rem;
            }
        }

        .max-w-7xl {
          max-width: 50rem;
        }
        .container {
          width: 100%;
        }

        :root {
    --secondary: #667eea;
    --accent: #764ba2;
}

.floating-btn {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 1000;
    animation: pulse 3s infinite;
    border: none;
    outline: none;
    border: 2px solid #fff;
}
@media (max-width: 768px) {
   .floating-btn{
    bottom: 70px;
   }
}

.floating-btn:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
.floating-btn img{
  height: 60px;
  object-fit: cover;
}

/* Tarjetas de negocio */
.business-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin: 12px 0;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideInUp 0.4s ease-out;
    overflow: hidden;
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.business-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid #e2e8f0;
}

.business-card .card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.business-card .card-title {
    flex: 1;
}

.business-card .business-name {
    font-weight: 700;
    color: #1a202c;
    font-size: 15px;
    margin-bottom: 4px;
}

.business-card .business-category {
    color: #ff6a3c;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff4eb;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.business-card .card-body {
    padding: 14px;
}

.business-card .business-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 13px;
    color: #4a5568;
}

.business-card .business-info i {
    color: #128C7E;
    width: 14px;
    text-align: center;
    font-size: 13px;
}

.business-card .action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0;
}

.business-card .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: left;
}

.business-card .action-btn.web {
    background: #4285F4;
    color: white;
}

.business-card .action-btn.map {
    background: #EB6420;
    color: white;
}

.business-card .action-btn.whatsapp {
    background: #25D366;
    color: white;
}

.business-card .action-btn.phone {
    background: #008CBA;
    color: white;
}

.business-card .action-btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.business-card .business-status {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    padding: 6px;
    border-radius: 8px;
    background: #f7fafc;
}

.status-open {
    color: #10B981;
}

.status-closed {
    color: #EF4444;
}

/* Tarjetas de ofertas */
.offer-card {
    border: 2px solid #ff6a3c;
    background: linear-gradient(135deg, #fffaf0, #fff4eb);
}

.offer-card .card-header {
    background: linear-gradient(135deg, #ff6a3c, #ff8c42);
    color: white;
}

.offer-card .business-category {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Encabezados de categoría */
.business-category-header {
    margin: 16px 0 10px 0;
    padding: 10px 14px;
    background: linear-gradient(135deg, #128C7E, #0A6B5F);
    color: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
}

.business-category-header h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Botones FAQ compactos */
.faq-buttons-compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.faq-row {
    display: flex;
    gap: 6px;
    justify-content: space-between;
}

.faq-btn.compact {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 42px;
    text-decoration: none;
}

.faq-btn.compact:hover {
    background: linear-gradient(135deg, #e2e8f0, #edf2f7);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: #128C7E;
}

.faq-btn.compact.support-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-color: #1ebe57;
}

.faq-btn.compact.support-btn:hover {
    background: linear-gradient(135deg, #1ebe57, #0e6b5f);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.faq-icon {
    font-size: 14px;
    line-height: 1;
}

.faq-text {
    font-size: 10px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Botones de acceso rápido */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.quick-reply-btn {
    background: linear-gradient(135deg, #128C7E, #0A6B5F);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: calc(50% - 6px);
    text-align: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(18, 140, 126, 0.3);
    animation: slideInCompact 0.3s ease-out;
}

.quick-reply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.4);
    background: linear-gradient(135deg, #0A6B5F, #128C7E);
}

/* Pie del chat */
.chat-footer {
    padding: 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.05);
}

/* Grupo de entrada compacto */
.input-group-compact {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.input-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.control-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: #e2e8f0;
    color: #128C7E;
    border-color: #128C7E;
}

.control-btn.active {
    background: #128C7E;
    color: white;
    border-color: #128C7E;
}

#messageInput {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    resize: none;
    min-height: 44px;
    max-height: 80px;
    outline: none;
    background: #ffffff;
    transition: all 0.3s ease;
    line-height: 1.4;
    font-family: inherit;
}

#messageInput:focus {
    border-color: #128C7E;
    box-shadow: 0 0 0 2px rgba(18, 140, 126, 0.1);
}

#messageInput::placeholder {
    color: #94a3b8;
    font-size: 13px;
}

.send-btn.compact {
    background: linear-gradient(135deg, #128C7E, #0A6B5F);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-btn.compact:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.3);
}

.text-muted {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

/* Enlaces en el chat */
.chat-link {
    color: #128C7E;
    text-decoration: none;
    font-weight: 600;
    background: rgba(18, 140, 126, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.chat-link:hover {
    color: #0A6B5F;
    background: rgba(18, 140, 126, 0.2);
    text-decoration: underline;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes slideInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes slideInCompact {
    from { 
        opacity: 0; 
        transform: translateY(10px) scale(0.98); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes pulse {
    0% { 
        opacity: 0.6; 
        transform: scale(0.95); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.05); 
    }
    100% { 
        opacity: 0.6; 
        transform: scale(0.95); 
    }
}

@keyframes typingPulse {
    0%, 80%, 100% { 
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Estados activos para botones */
.faq-btn.compact:active {
    transform: scale(0.95);
}

.quick-reply-btn:active {
    transform: scale(0.98);
}

/* ===== MEJORAS RESPONSIVE ===== */
@media (max-width: 480px) {
    .chat-container {
        width: calc(100% - 16px);
        left: 8px;
        right: 8px;
        bottom: 60px;
        max-height: 70vh;
    }
    
    .chat-body {
        padding: 12px;
        max-height: 320px;
    }
    
    .message-content {
        max-width: 90%;
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .business-card {
        margin: 10px 0;
    }
    
    .business-card .card-header {
        padding: 12px;
        gap: 10px;
    }
    
    .business-card .card-body {
        padding: 12px;
    }
    
    .faq-btn.compact {
        padding: 6px 4px;
        min-height: 38px;
    }
    
    .faq-icon {
        font-size: 12px;
    }
    
    .faq-text {
        font-size: 9px;
    }
    
    .input-group-compact {
        padding: 10px;
    }
    
    #messageInput {
        padding: 8px 10px;
        min-height: 40px;
        font-size: 13px;
    }
    
    .send-btn.compact {
        width: 40px;
        height: 40px;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .quick-reply-btn {
        min-width: 100%;
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .business-card .action-buttons {
        gap: 6px;
    }
    
    .business-card .action-btn {
        padding: 8px 10px;
        font-size: 11px;
    }
}

/* Estilos para contenido largo */
.long-content {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 6px;
    font-size: 13px;
    line-height: 1.4;
}

.long-content::-webkit-scrollbar {
    width: 3px;
}

.long-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 2px;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    .chat-container,
    .message,
    .business-card,
    .quick-reply-btn,
    .faq-btn.compact,
    .send-btn.compact,
    .control-btn,
    .close-btn,
    .floating-btn {
        transition: none;
        animation: none;
    }
}

/* Focus visible para accesibilidad */
.faq-btn.compact:focus-visible,
.control-btn:focus-visible,
.send-btn.compact:focus-visible,
.quick-reply-btn:focus-visible,
.close-btn:focus-visible {
    outline: 2px solid #128C7E;
    outline-offset: 2px;
}

#messageInput:focus-visible {
    outline: 2px solid #128C7E;
    outline-offset: 0;
}

/* Estados de carga */
.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Modo oscuro opcional */
@media (prefers-color-scheme: dark) {
    .chat-container {
        background: #1a202c;
        border-color: #2d3748;
    }
    
    .chat-body {
        background: linear-gradient(135deg, #2d3748, #1a202c);
    }
    
    .message-bot .message-content {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .business-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .business-card .card-header {
        background: linear-gradient(135deg, #2d3748, #4a5568);
    }
    
    .business-card .business-name {
        color: #f7fafc;
    }
    
    #messageInput {
        background: #2d3748;
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    #messageInput::placeholder {
        color: #a0aec0;
    }
}
/* Asegurar que los enlaces se muestren correctamente en el chat */
.message-content a {
    word-break: break-word;
    overflow-wrap: break-word;
}
/* Asegurar que los modales se muestren correctamente */
.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

/* Solución para el problema de superposición */
.modal.fade.show {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Asegurar que el contenido del modal sea accesible */
.modal-content {
    position: relative;
    z-index: 1060;
    margin-top: 3.2rem;
}

/* Solución para el problema de scroll */
.modal-open {
    overflow: auto !important;
    position: relative !important;
}
/* Resaltar el modal de privacidad para depuración */
#privacidadModal {
    z-index: 9999 !important;
    opacity: 1 !important;
}

#privacidadModal.modal-backdrop {
    z-index:9999;
    }
/*#contacto{
  background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
  
}*/
#contacto h2{
  text-align: center;
  color: #333;
}
    /* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #121212 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
.dark-mode .testimonials-section {
    background: var(--bg-dark);
}
.testimonials-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 24px;
    padding: 24px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-light);
    margin-bottom: 24px;
}
.testimonials-container::-webkit-scrollbar {
    height: 8px;
}
.testimonials-container::-webkit-scrollbar-track {
    background: var(--bg-light);
}
.dark-mode .testimonials-container::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
.testimonials-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}
.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
    flex: 0 0 320px;
    max-width: 320px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.dark-mode .testimonial-card {
    background: rgba(20, 20, 20, 0.7);
}
.testimonial-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}
.testimonial-content {
    font-style: italic;
    color: #555;
    margin-bottom: 1.75rem;
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.7;
}
.dark-mode .testimonial-content {
    color: #bbb;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}
.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}
.testimonial-info {
    flex: 1;
}
.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 1.1rem;
}
.dark-mode .testimonial-name {
    color: var(--text-light);
}
.testimonial-business {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}
.testimonial-rating {
    color: var(--secondary);
    margin-top: 12px;
    display: flex;
    gap: 3px;
}
 
.map-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    border-radius: 8px;
}
.back-to-top .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}
.business-modal {
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.business-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}
.business-item:last-child {
    border-bottom: none;
}
.business-item h6 {
    margin-bottom: 4px;
}
.business-item p {
    margin-bottom: 2px;
    font-size: 0.9rem;
}
.modal-title {
    font-weight: 600;
}
/* Estilo para posicionar el modal debajo del mapa */
.business-modal-container {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
  
#modalConfirmacion{
  z-index: 100000;
  height: auto;
}
#modalConfirmacionBody{
padding: 5px !important;
margin: 5px !important;
}





    /* Estilos para el contenedor de negocios con scroll */
    .business-list-container {
        max-width: 100%;
        margin-top: 1rem;
    }
    
    .business-list-scrollable {
        max-height: 300px;
        overflow-y: auto;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 10px;
        background: #f8fafc;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        scrollbar-width: thin;
        scrollbar-color: #cbd5e1 #f1f5f9;
    }
    
    .business-list-scrollable::-webkit-scrollbar {
        width: 8px;
    }
    
    .business-list-scrollable::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 4px;
    }
    
    .business-list-scrollable::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }
    
    .business-list-scrollable::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    .business-item {
        background: white;
        border-radius: 10px;
        padding: 15px;
        margin-bottom: 12px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
        border: 1px solid #e2e8f0;
    }
    
    .business-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        border-color: #cbd5e1;
    }
    
    .business-item h6 {
        color: #1e293b;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .business-item p {
        color: #475569;
        margin-bottom: 4px;
        font-size: 0.9rem;
    }
    
    .no-businesses {
        padding: 20px;
        text-align: center;
        color: #64748b;
    }
    
    /* Estilos para el contenedor del mapa */
    .map-container {
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid #e2e8f0;
    }
    
    #map {
        min-height: 400px;
        transition: filter 0.3s ease;
    }
    
    #map.map-loading {
        filter: blur(2px);
    }
    
    .map-loading-indicator {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.9);
        padding: 12px 20px;
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.9rem;
    }

    
  /* Estilos adicionales para el mapa y los marcadores */
  .user-location-marker {
    position: relative;
    width: 40px;
    height: 40px;
  }
  
  .user-location-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
  }
  
  .user-location-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
  }
  
  @keyframes pulse-ring {
    0% {
      transform: scale(0.8);
      opacity: 0.6;
    }
    50% {
      transform: scale(1);
      opacity: 0.3;
    }
    100% {
      transform: scale(0.8);
      opacity: 0.6;
    }
  }
  
  .custom-popup {
    min-width: 200px;
  }
  
  .custom-popup h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
  }
  
  .leaflet-popup-content {
    padding: 8px !important;
  }
/* Optimización para mejor rendimiento del mapa */
.map-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

#map {
    min-height: 400px;
    width: 100%;
    transition: filter 0.2s ease;
    transform: translate3d(0, 0, 0);
}

#map.map-loading {
    filter: blur(2px);
}

.map-loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

/* Estilos adicionales para el mapa y los marcadores */
.user-location-marker {
    position: relative;
    width: 40px;
    height: 40px;
}

.user-location-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.user-location-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #3b82f6;
    border-radius: 50%;
    border: 2px solid white;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.6;
    }
    50% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.6;
    }
}

.custom-marker {
    cursor: pointer;
    transition: all 0.2s ease;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #ec4899;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
}

.custom-marker:hover .marker-dot {
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.5);
}

.custom-popup {
    min-width: 200px;
}

.custom-popup h6 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.leaflet-popup-content {
    padding: 8px !important;
}

/* Optimización para mejor rendimiento del mapa */
.leaflet-tile {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: pixelated;
    will-change: transform;
    transform: translateZ(0);
}

.leaflet-marker-icon {
    will-change: transform;
    transform: translateZ(0);
}

.leaflet-container {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
/* Círculo de precisión de ubicación */
.leaflet-container .user-accuracy-circle {
  fill-opacity: 0.1 !important;
  stroke-width: 1px !important;
  stroke: #3b82f6 !important;
  fill: #3b82f6 !important;
}
.filter-buttons .btn {
  margin: 0 4px 8px;
  transition: all 0.3s ease;
}

.filter-buttons .btn.active {
  background-color: #0d6efd !important;
  color: white !important;
  transform: scale(1.05);
}    


/* Ajustes específicos para tu HTML del chatbot */
.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  margin-top: 10px;
}

.quick-reply {
  background: #e5e7eb;
  border: none;
  color: #4b5563;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.quick-reply:hover {
  background: #d1d5db;
  color: #1f2937;
}

.faq-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 10px;
}

.faq-btn {
  background: #e5e7eb;
  border: none;
  color: #4b5563;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.faq-btn:hover {
  background: #d1d5db;
  color: #1f2937;
}
.form-wrapper {
    display: flex;
    justify-content: space-between;
}

/* === MAPA - Estilo Tecnológico Elegante === */
#map {
  height: 420px;
  width: 90%;
  margin: 20px auto;
  border-radius: 16px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.16),
    0 4px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  position: relative;
  border: 1px solid #334155;
  transition: all 0.3s ease;
}

#map:hover {
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2),
    0 5px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Efecto de carga suave */
.map-loading {
  opacity: 0.6;
  filter: blur(0.5px);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* Hint de zoom - Diseño moderno */
.map-zoom-hint {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e293b;
  z-index: 1000;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.map-zoom-hint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  pointer-events: none;
  z-index: -1;
}

/* Botón de ubicación - Estilo tecnológico */
#locateMe {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  margin-left: 4rem;
}

#locateMe:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
  background: linear-gradient(135deg, #2563eb, #1e40af);
}

#locateMe:active {
  transform: translateY(0);
}

#locateMe .spinner-border {
  width: 1rem;
  height: 1rem;
}

/* === PANEL DE NEGOCIOS - Diseño Premium === */
.business-list-container {
  width: 90%;
  margin: 20px auto;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 2px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.business-list-container h5 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.business-list-container h5::before {
  content: '📍';
  font-size: 1.2em;
}

/* Contenedor de scroll personalizado */
.virtual-scroll-container,
#businessList {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 4px 0;
}

/* Scroll moderno */
.virtual-scroll-container::-webkit-scrollbar,
#businessList::-webkit-scrollbar {
  width: 8px;
}

.virtual-scroll-container::-webkit-scrollbar-track,
#businessList::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.virtual-scroll-container::-webkit-scrollbar-thumb,
#businessList::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
  border: 2px solid #f1f5f9;
  transition: background 0.2s ease;
}

.virtual-scroll-container::-webkit-scrollbar-thumb:hover,
#businessList::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Estilo de cada negocio */
.business-item .border {
  background: white;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 0.8rem !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.business-item .border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.business-item .border:hover {
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 4px 6px rgba(59, 130, 246, 0.15);
  transform: translateY(-3px) scale(1.005);
  border-color: #93c5fd !important;
}

/* Animación sutil al entrar */
.business-item .border {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botones de acción - Estilo moderno */
.btn-outline-primary {
  color: #3b82f6;
  border-color: #3b82f6;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: #3b82f6;
  color: white;
  transform: scale(1.02);
}

.btn-outline-success {
  color: #16a34a;
  border-color: #16a34a;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-outline-success:hover {
  background: #16a34a;
  color: white;
  transform: scale(1.02);
}

/* Clusters de marcadores - Diseño premium */
.marker-cluster {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  border: 2px solid white;
  font-family: 'Segoe UI', sans-serif;
}

.marker-cluster::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 50%);
  border-radius: 50%;
  pointer-events: none;
}

/* Ícono de ubicación del usuario */
.user-location-marker .user-location-dot {
  width: 14px;
  height: 14px;
  background-color: #ef4444;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  z-index: 1;
}

.user-location-marker .user-location-ring {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  opacity: 0.2;
  animation: pulse-ring 2s infinite;
  z-index: 0;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.4;
  }
}

/* Pines de negocios - Abierto vs Cerrado */
.custom-marker .marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.custom-marker .marker-dot.open {
  background-color: #16a34a;
  box-shadow: 0 0 8px rgba(22, 163, 74, 0.5);
}

.custom-marker .marker-dot.closed {
  background-color: #dc2626;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
}

/* Popup personalizado */
.custom-popup h6 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.custom-popup .btn-sm {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  color: #fff;
}

/* Modal en pantalla completa en móviles */
@media (max-width: 767.98px) {
  .modal-dialog.modal-lg {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 100vh;
  }
  .modal-content {
    height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  .modal-body {
    flex: 1;
    overflow-y: auto;
  }
  .modal-footer {
    border-top: 1px solid #dee2e6;
  }
}

/* Estilo del botón de cierre */
.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  opacity: 0.7;
}
.btn-close:hover {
  opacity: 1;
}

/*notificaciones*/

  /* Asegura que la animación se complete */
  #toastNotificacion {
    will-change: transform, opacity;
  }


  /* Evita que se quede a medias */
  .transition-transform {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px) rotate(-2deg); }
    75% { transform: translateX(4px) rotate(2deg); }
  }
  .animate-shake {
    animation: shake 0.5s ease-in-out;
  }

/* Estilos modernos para el header */
.modern-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-img {
  height: 70px;
  width: 70px;
  padding: 5px;
  object-fit: cover;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Estilos para la barra de búsqueda mejorada */
.search-bar {
  position: relative;
  width: 400px;
  max-width: 100%;
}

#searchInput {
  border-radius: 50px;
  padding: 12px 20px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  width: 100%;
}

#searchInput::placeholder {
  color: rgba(255,255,255,0.7);
}

#searchInput:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}

/* Dropdown de sugerencias */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 8px;
  display: none;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.suggestion-item:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.suggestion-icon {
  color: #667eea;
  margin-right: 12px;
  font-size: 16px;
}

.suggestion-text {
  font-size: 14px;
  font-weight: 500;
}

.suggestion-category {
  font-size: 12px;
  color: #6c757d;
  margin-left: auto;
}

/* Modal de búsqueda mejorado */
.search-results-modal .modal-dialog {
  max-width: 90%;
  margin: 20px auto;
}

.search-results-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: none;
}

.search-results-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 30px;
  position: relative;
}

.search-results-header h5 {
  margin: 0;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.search-results-header h5 i {
  margin-right: 10px;
}

.search-results-body {
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

.search-results-footer {
  background: #f8f9fa;
  padding: 15px 30px;
  border-top: 1px solid #e9ecef;
}

/* Tarjetas de resultados */
.result-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-color: #667eea;
}

.result-card-img {
  height: auto;
  object-fit: cover;
}

.result-card-body {
  padding: 15px;
}

.result-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.result-card-category {
  font-size: 12px;
  color: #667eea;
  font-weight: 500;
  margin-bottom: 8px;
}

.result-card-info {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 10px;
}

.result-card-hours {
  font-size: 12px;
  margin-bottom: 10px;
}

.result-card-hours .badge {
  font-size: 11px;
  padding: 4px 8px;
}

.result-card-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.result-btn {
  flex: 1;
  min-width: 120px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: scale(1.05);
}

.btn-website {
  background: #667eea;
  color: white;
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.btn-website:hover {
  background: #5a67d8;
  transform: scale(1.05);
}

.btn-location {
  background: #28a745;
  color: white;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.btn-location:hover {
  background: #218838;
  transform: scale(1.05);
}

.btn-contact {
  background: #ffc107;
  color: #333;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.btn-contact:hover {
  background: #e0a800;
  transform: scale(1.05);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .search-bar {
    width: 100%;
    max-width: 300px;
  }
  
  .logo-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
  }
  
  .result-btn {
    min-width: 100px;
    font-size: 12px;
  }
}

/* Loading */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 50px;
  display: none;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 



  /* Modal de actualización */
  .update-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
    pointer-events: none;
    transition: bottom 0.4s ease;
  }

  .update-modal.active {
    bottom: 0;
    pointer-events: all;
  }

  .update-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .update-modal.active::before {
    opacity: 1;
  }

  .update-modal-content {
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 30px 20px 20px;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    margin-bottom: env(safe-area-inset-bottom, 20px);
  }

  .update-modal.active .update-modal-content {
    transform: translateY(0);
    opacity: 1;
    margin-bottom: 13px;
  }

  .update-icon {
    width: 60px;
    height: 60px;
    background: #ff9a3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 16px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 154, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 154, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 154, 60, 0); }
  }

  .update-modal h3 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 10px;
  }

  .update-modal p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .update-actions {
    display: flex;
    gap: 12px;
  }

  .btn-update {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-primary {
    background: #ff9a3c;
    color: white;
  }

  .btn-primary:hover {
    background: #e65100;
    transform: scale(1.05);
  }

  .btn-outline {
    background: #f8f9fa;
    color: #ff9a3c;
    border: 1px solid #ff9a3c;
  }

  .btn-outline:hover {
    background: #fff4eb;
    transform: scale(1.05);
  }

  @media (max-width: 600px) {
    .update-actions {
      flex-direction: column;
    }
  }

  /* === TARJETA DE DETALLES DEL NEGOCIO === */
.business-details-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
}

.business-header {
  padding: 16px;
  display: flex;
  gap: 12px;
  background: #f8f9fa;
  border-bottom: 1px solid #e2e8f0;
}

.business-header .business-icon {
  font-size: 2rem;
  background: #fff4eb;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e65100;
}

.business-header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: #1a202c;
  font-weight: 600;
}

.business-category {
  font-size: 0.85rem;
  color: #ff6a3c;
  font-weight: 600;
  text-transform: uppercase;
  background: #fff4eb;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

.business-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f1f1;
}

.business-info-item i {
  color: #ff6a3c;
  font-size: 1.1rem;
  min-width: 24px;
  margin-top: 4px;
}

.business-info-item div strong {
  font-size: 0.95rem;
  color: #2d3748;
  display: block;
  margin-bottom: 4px;
}

.business-info-item div p {
  margin: 0;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.business-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-align: center;
}

.action-btn i {
  font-size: 1.1rem;
}

.action-btn span {
  flex: 1;
}

/* Botones */
.map-btn {
  background: #ebf4ff;
  color: #2c5282;
  border: 1px solid #bee3f8;
}

.map-btn:hover {
  background: #c3dafe;
  transform: translateY(-2px);
}

.wsp-btn {
  background: #e6ffed;
  color: #276749;
  border: 1px solid #c6f6d5;
}

.wsp-btn:hover {
  background: #9ae6b4;
  transform: translateY(-2px);
}

.call-btn {
  background: #fed7d7;
  color: #9b2c2c;
  border: 1px solid #feb2b2;
}

.call-btn:hover {
  background: #fc8181;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 600px) {
  .action-btn {
    justify-content: center;
    text-align: center;
  }
  .action-btn span {
    flex: none;
  }
}

/* === ESTILOS PARA EL MAPA EN EL CHAT (Leaflet) === */
.custom-icon {
  background: white;
  border: 2px solid #128C7E;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
}

.leaflet-container {
  background: #f1f8ff;
  border-radius: 12px;
}

/* === ASEGURAR QUE LOS MENSAJES NO ROMPAN DISEÑO === */
.message-content .business-details-card,
.message-content #chat-map {
  margin: 10px 0;
}

.mic-btn {
  background: #128C7E;
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.mic-btn:hover {
  background: #075e54;
  transform: scale(1.05);
}

.mic-btn.recording {
  background: #e65100;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(230, 81, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
}
.voice-btn {
  background: #128C7E;
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all 0.3s ease;
}

.voice-btn:hover {
  background: #075e54;
  transform: scale(1.05);
}

.voice-btn.muted {
  background: #6c757d;
}

.voice-btn.muted i {
  color: white;
}


/* Tarjetas simplificadas para móvil */
.card.card-small {
  border: 2px solid #764ba2;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  height: 100%;
  padding:0px;
}

.card.card-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card-img-top {
  height: 150px;
  object-fit: cover;
}

.card-body {
  padding: 8px;
  background: #f9fafb !important;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a202c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Responsive: 3 por fila en móvil, 4 en PC */
@media (max-width: 767.98px) {
  .col-4 {
    padding: 1px;
    flex: 0 0 49.333333%;
    max-width: 49.333333%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
.w-100 {
    width: 100% !important;
    object-fit: cover;
}
 

/* === Barra de Rubros - Versión Minimalista, Elegante y Accesible === */
.rubros-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(10px);
    /*padding: 2px 2px 8px;*/
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-top: 1px solid rgba(100, 200, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.rubros-bar::-webkit-scrollbar {
    display: none;
}

.rubros-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 8px;
    min-width: 80%;
    width: 80%;
    position: relative;
    overflow: auto;
    scrollbar-width: none;
    margin: auto;
}

.rubro-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 76px;
    background: transparent;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #f0f4ff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 6px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    line-height: 1.2;
}

/* Hover suave */
.rubro-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Estado activo: con subrayado sutil */
.rubro-btn.active {
    color: #ffffff;
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

/* Subrayado elegante en activo */
.rubro-btn.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #00e5ff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Iconos */
.rubro-btn i {
    font-size: 26px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.rubro-btn:hover i,
.rubro-btn.active i {
    transform: scale(1.1);
}

/* Negocios abiertos (no activos) */
.rubro-btn.open:not(.active) {
    color: #e0f7fa;
}

/* Indicador de abierto */
.open-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #69f0ae, #00c853);
    border-radius: 50%;
    box-shadow: 0 0 8px #69f0ae;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 8px #69f0ae, 0 0 16px rgba(105, 240, 174, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 12px #69f0ae, 0 0 20px rgba(105, 240, 174, 0.8);
        transform: scale(1.1);
    }
}

/* Responsive */
@media (min-width: 768px) {
    .rubro-btn {
        min-width: 76px;
        height: 80px;
        font-size: 14px;
    }
    .rubro-btn i {
        font-size: 28px;
    }
    .rubro-btn.active::after {
        width: 36px;
        height: 3px;
    }
}

@media (max-width: 375px) {
    .rubros-bar {
        padding: 14px 6px 16px;
        gap: 12px;
    }
    .rubro-btn {
        min-width: 68px;
        height: 72px;
        font-size: 12px;
        padding: 8px 5px;
    }
    .rubro-btn i {
        font-size: 24px;
        margin-bottom: 5px;
    }
    .rubro-btn.active::after {
        width: 28px;
        height: 2.5px;
        bottom: 7px;
    }
    .open-indicator {
        top: 7px;
        right: 7px;
    }
}

/* Animación de entrada */
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.rubros-bar {
    animation: slideUp 0.6s ease-out forwards;
}


/* Estilos para rubros cerrados en la barra */
.rubro-btn.closed {
    opacity: 0.6;
    filter: grayscale(80%);
    position: relative;
}

/* Overlay más sutil que no tape los indicadores */
.rubro-btn.closed::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1); /* Reducir opacidad */
    border-radius: 16px;
    z-index: 1; /* Mantener detrás del contenido */
}

/* Ocultar indicador de abierto cuando está cerrado */
.rubro-btn.closed .open-indicator {
    display: none;
}

/* Indicador de cerrado - CON Z-INDEX ALTO */
.closed-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 14px;
    height: 14px;
    background: #ff0000 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50%;
    box-shadow: 0 0 12px #ff0000 !important;
    z-index: 20 !important; /* MÁS ALTO que el overlay */
    animation: blink-red 1s infinite;
}

@keyframes blink-red {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Texto CERRADO - CON Z-INDEX ALTO */
.rubro-btn.closed .closed-text {
    display: block !important;
    font-size: 10px;
    color: #ff0000 !important;
    margin-top: 3px;
    font-weight: bold;
    z-index: 20 !important; /* MÁS ALTO que el overlay */
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.rubro-btn .closed-text {
    display: none;
}

/* Asegurar que el contenido esté POR ENCIMA del overlay */
.rubro-btn i,
.rubro-btn span:not(.closed-text) {
    position: relative;
    z-index: 5; /* Por encima del overlay pero debajo de los indicadores */
}

/* Estilos existentes para tarjetas */
.business-closed .card-img-top {
    filter: grayscale(90%) opacity(0.8);
}

.business-closed {
    opacity: 0.7;
    pointer-events: none;
}

.closed-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.position-relative {
    position: relative;
}

/* === ESTILOS PARA EL NUEVO MAPA CON TARJETAS === */

/* Contenedor del mapa */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

#map {
  width: 100%;
  height: 100%;
}

/* Filtros para el mapa */
.map-filters {
     display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 8px;
    min-width: 80%;
    width: 80%;
    position: relative;
    overflow: auto;
    scrollbar-width: none;
    margin: auto;
    margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: #ecf0f1;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  font-weight: 500;
}

.filter-btn.active {
  background-color: #3498db;
  color: white;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Contenedor de tarjetas scrollable */
.cards-scroll-container {
  width: 100%;
  overflow-x: auto;
  padding: 10px 0;
  margin-top: 20px;
}

/*.cards-container {
  display: flex;
  gap: 20px;
  padding: 10px;
  width: max-content;
}*/

/* Tarjetas de negocios en el mapa */
.map-business-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 280px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-left: 4px solid #3498db;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  position: relative;
}

.map-business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-business-card.active {
  border-left-color: #e74c3c;
  background-color: #f9f9f9;
}

.map-business-card h3 {
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.map-business-card p {
  color: #7f8c8d;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.map-business-card p i {
  margin-right: 8px;
  color: #3498db;
  width: 16px;
  text-align: center;
}

/* Horarios en tarjetas */
.hours {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ecf0f1;
}

.hours-title {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

/* Badges de categoría */
.category-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.7em;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

.supermarket {
  background-color: #3498db;
}

.clothing {
  background-color: #e74c3c;
}

.grocery {
  background-color: #2ecc71;
}

.pharmacy {
  background-color: #9b59b6;
}

.electronics {
  background-color: #f39c12;
}

/* Botón de direcciones */
.directions-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 15px;
  background-color: #2ecc71;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  text-align: center;
  text-decoration: none;
  font-size: 0.9rem;
}

.directions-btn:hover {
  background-color: #27ae60;
  color: white;
  text-decoration: none;
}

.directions-btn.disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

/* Leyenda del mapa */
.legend {
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  margin-top: 10px;
  font-size: 12px;
}

.legend h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #2c3e50;
}

.legend div {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
}

.legend i {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.7;
  border-radius: 50%;
}

/* Marcadores personalizados */
.custom-marker {
  background: transparent;
  border: none;
}

.marker-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.marker-dot.supermarket {
  background-color: #3498db;
}

.marker-dot.clothing {
  background-color: #e74c3c;
}

.marker-dot.grocery {
  background-color: #2ecc71;
}

.marker-dot.pharmacy {
  background-color: #9b59b6;
}

.marker-dot.electronics {
  background-color: #f39c12;
}

.marker-dot.open {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
  
  .map-business-card {
    width: 250px;
    padding: 15px;
  }
  
  .map-filters {
    gap: 5px;
  }
  
  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .cards-scroll-container {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 400px;
  }
  
  .map-business-card {
    width: 220px;
  }
  
  .map-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}

/* === CORRECCIÓN PARA SCROLL HORIZONTAL === */
.cards-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    margin-top: 20px;
    scrollbar-width: thin;
    scrollbar-color: #3498db #f1f1f1;
}

.cards-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.cards-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.cards-scroll-container::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.cards-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

.cards-scroll-container .cards-container {
    display: flex;
    gap: 20px;
    padding: 10px;
    width: max-content; /* 🆕 Esto fuerza el scroll horizontal */
    flex-wrap: nowrap; /* 🆕 Evita que se rompa en varias líneas */
}

/* 🆕 Asegurar que las tarjetas no se encogen */
.map-business-card {
    flex: 0 0 auto; /* 🆕 No crece, no se encoge, tamaño automático */
    width: 280px;
}

/* === ESTILOS CORREGIDOS PARA PINES === */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

.marker-dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    border: 3px solid white !important;
    box-shadow: 0 0 5px rgba(0,0,0,0.5) !important;
    display: block !important;
}

/* Estilos para clusters */
.marker-cluster {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Estilos para los botones de las tarjetas del mapa */
.card-buttons {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-whatsapp, .btn-web, .btn-directions {
    flex: 1;
    min-width: 80px;
    padding: 8px 10px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover:not(.disabled) {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-web {
    background: #6c757d;
    color: white;
}

.btn-web:hover {
    background: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.btn-directions {
    background: #4285F4;
    color: white;
}

.btn-directions:hover:not(:disabled) {
    background: #3367D6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
}

.btn-directions:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-whatsapp.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .card-buttons {
        gap: 4px;
    }
    
    .btn-whatsapp, .btn-web, .btn-directions {
        font-size: 10px;
        padding: 6px 8px;
        min-width: 70px;
    }
}

/* Efectos de hover para las tarjetas completas */
.map-business-card:hover .card-buttons button:not(:disabled),
.map-business-card:hover .card-buttons a:not(.disabled) {
    transform: translateY(-1px);
}
