:root {
  /* Colores principales profesionales */
  --primary-color: #e74c3c;
  --secondary-color: #3498db;
  --success-color: #22c55e;
  --warning-color: #f39c12;
  --danger-color: #ef4444;
  
  /* Fondos profesionales */
  --dark-bg: #2c3e50;
  --card-bg: #34495e;
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Textos */
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-light: #ecf0f1;
  --text-white: #ffffff;
  
  /* Bordes y sombras */
  --border-color: #ecf0f1;
  --hover-color: #c0392b;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-strong: rgba(0, 0, 0, 0.15);
  --shadow-card: rgba(0, 0, 0, 0.08);
  
  /* Gradientes profesionales */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--hover-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #2980b9);
  --gradient-bg: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
  --gradient-card: linear-gradient(135deg, #ffffff, #f8fafc);
  --gradient-success: linear-gradient(135deg, var(--success-color), #16a34a);
  --gradient-warning: linear-gradient(135deg, var(--warning-color), #e67e22);
}

/* Contenedor principal */
.categories-main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Sección de categoría */
.category-section {
  margin-bottom: 2rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.2rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 14px;
  border: 2px solid var(--danger-color);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.category-icon {
  font-size: 1.2rem;
  color: #e74c3c;
}

.category-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7f8c8d;
  background: rgba(231, 76, 60, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 16px;
  margin-left: auto;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Grid de restaurantes - EXACTAMENTE 3 COLUMNAS EN PC */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

/* Modificar la carta de restaurante para altura más compacta */
/* Modificar la carta de restaurante para altura más compacta */
.restaurant-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid #38a169;
  position: relative;
  display: flex;
  flex-direction: column;
  height: auto; /* Cambiado de 500px fijo a auto */
  min-height: 380px; /* Altura mínima en lugar de fija */
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  border-color: #e74c3c;
}

/* Estilos mejorados para restaurante cerrado */
.restaurant-card.cerrado {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #adb5bd;
  opacity: 0.85;
  position: relative;
}

.restaurant-card.cerrado::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 117, 125, 0.1) 0%,
    rgba(173, 181, 189, 0.15) 50%,
    rgba(108, 117, 125, 0.1) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.restaurant-card.cerrado:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-color: #6c757d;
  opacity: 0.9;
}

.restaurant-card.cerrado .restaurant-image {
  position: relative;
}

.restaurant-card.cerrado .restaurant-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(108, 117, 125, 0.4);
  z-index: 2;
}

.restaurant-card.cerrado .restaurant-image img {
  filter: grayscale(0.6) brightness(0.8);
  transition: filter 0.3s ease;
}

.restaurant-card.cerrado:hover .restaurant-image img {
  filter: grayscale(0.4) brightness(0.9);
}

.restaurant-card.cerrado .restaurant-name {
  color: #6c757d;
  position: relative;
  z-index: 3;
}

.restaurant-card.cerrado .restaurant-description {
  color: #adb5bd;
  position: relative;
  z-index: 3;
}

.restaurant-card.cerrado .restaurant-address {
  color: #adb5bd;
  position: relative;
  z-index: 3;
}

.restaurant-card.cerrado .address-icon {
  color: #6c757d;
}

/* Header de la carta */
.card-header {
  position: relative;
  height: auto;
  min-height: 35px;
}

.estado-restaurante {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  z-index: 10;
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  border: 1.5px solid;
}

.estado-abierto {
  background: rgba(34, 197, 94, 0.95);
  color: white;
  border-color: #22c55e;
}

.estado-cerrado {
  background: rgba(239, 68, 68, 0.95);
  color: white;
  border-color: #ef4444;
}

.subcategoria-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
  color: white;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 9;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.35);
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Imagen del restaurante */
.restaurant-image {
  position: relative;
  height: 170px; /* Reducida de 200px */
  overflow: hidden;
  background: #f8f9fa;
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.restaurant-image img:hover {
  transform: scale(1.05);
}

/* Ajustar el contenido para que ocupe el espacio disponible */
.restaurant-info {
  padding: 1.2rem;
  background: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.restaurant-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-align: center;
}

.restaurant-description {
  color: #7f8c8d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Reducido de 3 a 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.restaurant-address {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #7f8c8d;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.address-icon {
  color: #e74c3c;
  font-size: 0.9rem;
}

/* Asegurar que el footer esté siempre al final */
.card-footer {
  padding: 0 1.2rem 1.2rem;
  margin-top: auto;
}

.btn-ver-menu {
  width: 100%;
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 3px 12px rgba(231, 76, 60, 0.25);
}

.btn-ver-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(231, 76, 60, 0.4);
}

.btn-cerrado {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d) !important;
  color: white !important;
  opacity: 0.8;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15) !important;
}

.btn-cerrado:hover {
  background: linear-gradient(135deg, #7f8c8d, #95a5a6) !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2) !important;
}

.btn-icon {
  font-size: 1rem;
}

/* Responsive - Tablet (2 columnas) */
@media (max-width: 1200px) {
  .restaurants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - Móvil (1 columna) */
@media (max-width: 768px) {
  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .category-title {
    font-size: 1.3rem;
    padding: 0.7rem;
  }
  
  .restaurant-card {
    margin-bottom: 0.5rem;
    min-height: 350px;
  }
  
  .subcategoria-badge {
    max-width: 100px;
    font-size: 9px;
    padding: 4px 8px;
  }
  
  .restaurant-image {
    height: 160px;
  }
  
  .restaurant-info {
    padding: 1rem;
  }
  
  .restaurant-name {
    font-size: 1.1rem;
  }
  
  .card-footer {
    padding: 0 1rem 1rem;
  }
  
  .btn-ver-menu {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .categories-main-container {
    padding: 0 0.5rem;
  }
  
  .restaurants-grid {
    gap: 0.8rem;
  }
  
  .restaurant-image {
    height: 150px;
  }
  
  .subcategoria-badge {
    max-width: 90px;
    font-size: 8px;
    padding: 3px 6px;
  }
  
  .restaurant-info {
    padding: 0.9rem;
  }
  
  .card-footer {
    padding: 0 0.9rem 0.9rem;
  }
  
  .restaurant-name {
    font-size: 1rem;
  }
  
  .restaurant-description {
    font-size: 0.85rem;
    -webkit-line-clamp: 2;
  }
  
  .btn-ver-menu {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
}

/* Animaciones mejoradas */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.restaurant-card {
  animation: slideUpFade 0.5s ease forwards;
  opacity: 0;
}

.restaurant-card:nth-child(1) { animation-delay: 0.1s; }
.restaurant-card:nth-child(2) { animation-delay: 0.2s; }
.restaurant-card:nth-child(3) { animation-delay: 0.3s; }
.restaurant-card:nth-child(4) { animation-delay: 0.4s; }
.restaurant-card:nth-child(5) { animation-delay: 0.5s; }
.restaurant-card:nth-child(6) { animation-delay: 0.6s; }
.restaurant-card:nth-child(7) { animation-delay: 0.1s; }
.restaurant-card:nth-child(8) { animation-delay: 0.2s; }
.restaurant-card:nth-child(9) { animation-delay: 0.3s; }

/* Título secundario con líneas decorativas - Versión mejorada */
#tituloSecundario {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 2.5rem 0 1.8rem;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

#tituloSecundario::before,
#tituloSecundario::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 25%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(231, 76, 60, 0.5), 
    rgba(231, 76, 60, 0.8),
    rgba(231, 76, 60, 0.5),
    transparent);
}

#tituloSecundario::before {
  left: 0;
}

#tituloSecundario::after {
  right: 0;
}

#tituloSecundario span {
  display: inline-block;
  padding: 0 1.2rem;
  background: #ffffff;
  position: relative;
  z-index: 1;
  color: #2c3e50;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 25px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #tituloSecundario {
    font-size: 1.4rem;
    margin: 2rem 0 1.5rem;
  }
  
  #tituloSecundario::before,
  #tituloSecundario::after {
    width: 20%;
    height: 1.5px;
  }
  
  #tituloSecundario span {
    padding: 0 0.9rem;
  }
}

@media (max-width: 480px) {
  #tituloSecundario {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin: 1.5rem 0;
  }
  
  #tituloSecundario::before,
  #tituloSecundario::after {
    width: 15%;
  }
  
  #tituloSecundario span {
    padding: 0 0.7rem;
  }
}

/* Botón Scroll Top */
#btnScrollTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0.9;
}

#btnScrollTop:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

#btnScrollTop:active {
  transform: translateY(0);
}

/* Animación de aparición */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

#btnScrollTop.show {
  display: flex;
  animation: fadeInUp 0.3s ease forwards;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #btnScrollTop {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  #btnScrollTop {
    width: 35px;
    height: 35px;
    font-size: 1rem;
    bottom: 15px;
    right: 15px;
  }
}

/* Desktop optimizations */
@media (min-width: 1200px) {
  .categories-main-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .category-title {
    font-size: 1.3rem;
    padding: 0.6rem 0.8rem;
  }
  
  .restaurant-card {
    min-height: 320px;
  }
  
  .restaurant-image {
    height: 140px;
  }
  
  .restaurant-info {
    padding: 1rem;
  }
  
  .restaurant-name {
    font-size: 1rem;
  }
  
  .restaurant-description {
    font-size: 0.8rem;
  }
  
  .btn-ver-menu {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  #tituloSecundario {
    font-size: 1.4rem;
  }
}

@media (min-width: 1440px) {
  .categories-main-container {
    max-width: 1400px;
  }
  
  .restaurant-card {
    min-height: 300px;
  }
  
  .restaurant-image {
    height: 130px;
  }
  
  .category-title {
    font-size: 1.2rem;
  }
  
  #tituloSecundario {
    font-size: 1.3rem;
  }
}




/* Estilos para Búsqueda Dual - Negocios y Productos --------------------------------------------------------------*/
/* Agregar estos estilos a tu archivo CSS principal */

/* ===== ESTILOS GENERALES PARA RESULTADOS DE BÚSQUEDA ===== */
.resultados-busqueda {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.seccion-resultados {
  margin-bottom: 40px;
  background: #2c3e50;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #f0f0f0;
  color: var(--border-color);
}

.titulo-seccion-busqueda {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f5f5f5;
  gap: 12px;
  color: var(--border-color);
}

.icono-seccion {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #ff6b35, #f9ca24);
  padding: 8px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.titulo-seccion-busqueda h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color:var(--border-color);
  margin: 0;
}

.contador-resultados {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: auto;
}

/* ===== ESTILOS PARA PRODUCTOS ENCONTRADOS ===== */
.grid-productos-busqueda {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.producto-busqueda-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
}

.producto-busqueda-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #ff6b35;
}

.producto-busqueda-card.restaurante-cerrado {
  opacity: 0.7;
  filter: grayscale(0.3);
}

.producto-busqueda-imagen {
  position: relative;
  height: 140px;
  overflow: hidden;
}

.producto-busqueda-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.producto-busqueda-card:hover .producto-busqueda-imagen img {
  transform: scale(1.05);
}

.producto-busqueda-info {
  padding: 15px;
}

.producto-busqueda-nombre {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.producto-busqueda-precio {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ff6b35;
  margin: 0 0 12px 0;
}

.restaurante-info-busqueda {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.restaurante-nombre-busqueda {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.estado-abierto, .estado-cerrado {
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.estado-abierto {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.estado-cerrado {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

.producto-busqueda-acciones {
  padding: 0 15px 15px 15px;
}

.btn-ver-en-restaurante {
  width: 100%;
  background: linear-gradient(135deg, #ff6b35, #f9ca24);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ver-en-restaurante:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #e55a2b, #f1b500);
}

.btn-ver-en-restaurante:active {
  transform: translateY(0);
}

/* ===== ESTILOS PARA RESTAURANTES ENCONTRADOS ===== */
.grid-restaurantes-busqueda {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.restaurante-busqueda-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  position: relative;
}

.restaurante-busqueda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-color: #ff6b35;
}

.restaurante-busqueda-card.cerrado {
  opacity: 0.8;
  filter: grayscale(0.2);
}

.restaurante-busqueda-imagen {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.restaurante-busqueda-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.restaurante-busqueda-card:hover .restaurante-busqueda-imagen img {
  transform: scale(1.05);
}

.estado-restaurante-busqueda {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.estado-restaurante-busqueda.estado-abierto {
  background: rgba(76, 175, 80, 0.9);
  color: white;
  border: 2px solid #4caf50;
}

.estado-restaurante-busqueda.estado-cerrado {
  background: rgba(244, 67, 54, 0.9);
  color: white;
  border: 2px solid #f44336;
}

.restaurante-busqueda-info {
  padding: 20px;
}

.restaurante-busqueda-nombre {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.restaurante-busqueda-descripcion {
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

.restaurante-busqueda-detalles {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.categoria-badge, .subcategoria-badge {
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.categoria-badge {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.subcategoria-badge {
  background: #f8f9fa;
  color: #495057;
  border: 1px solid #dee2e6;
}

.restaurante-busqueda-direccion {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.address-icon {
  font-size: 1rem;
}

.restaurante-busqueda-acciones {
  padding: 0 20px 20px 20px;
}

.btn-ver-menu-busqueda {
  width: 100%;
  background: linear-gradient(135deg, #ff6b35, #f9ca24);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ver-menu-busqueda:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #e55a2b, #f1b500);
}

.btn-ver-menu-busqueda.btn-cerrado {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
  cursor: default;
}

.btn-ver-menu-busqueda.btn-cerrado:hover {
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .resultados-busqueda {
    padding: 0 15px;
  }
  
  .seccion-resultados {
    margin-top: 10px;
    padding: 20px 15px;
    margin-bottom: 25px;
    border-radius: 12px;
  }
  
  .titulo-seccion-busqueda {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .titulo-seccion-busqueda h3 {
    font-size: 1.2rem;
  }
  
  .grid-productos-busqueda {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .grid-restaurantes-busqueda {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .producto-busqueda-imagen {
    height: 120px;
  }
  
  .restaurante-busqueda-imagen {
    height: 160px;
  }
  
  .restaurante-info-busqueda {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .titulo-seccion-busqueda {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .contador-resultados {
    margin-left: 0;
  }
  
  .icono-seccion {
    font-size: 1.3rem;
    padding: 6px;
  }
  
  .producto-busqueda-info,
  .restaurante-busqueda-info {
    padding: 12px;
  }
  
  .restaurante-busqueda-acciones {
    padding: 0 12px 15px 12px;
  }
}

/* ===== ANIMACIONES PARA ENTRADA ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.producto-busqueda-card,
.restaurante-busqueda-card {
  animation: fadeInUp 0.4s ease-out;
}

.producto-busqueda-card:nth-child(2n) {
  animation-delay: 0.1s;
}

.producto-busqueda-card:nth-child(3n) {
  animation-delay: 0.2s;
}

.restaurante-busqueda-card:nth-child(2n) {
  animation-delay: 0.15s;
}

/* ===== SKELETON LOADING PARA BÚSQUEDA ===== */
.skeleton-busqueda {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-producto-busqueda {
  height: 250px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.skeleton-restaurante-busqueda {
  height: 300px;
  border-radius: 15px;
  margin-bottom: 20px;
}

/* ===== ESTADOS DE ERROR Y VACÍO ===== */
.busqueda-sin-resultados {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.busqueda-sin-resultados h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.busqueda-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  color: #c53030;
  margin: 20px 0;
}

/* ===== MEJORAS PARA ACCESIBILIDAD ===== */
.btn-ver-en-restaurante:focus,
.btn-ver-menu-busqueda:focus {
  outline: 3px solid rgba(255, 107, 53, 0.3);
  outline-offset: 2px;
}



/* ===== ESTILOS PARA MENSAJE DE AYUDA DE BÚSQUEDA ===== */
/* Agregar a tu archivo mas_sitios.css */

.mensaje-ayuda-busqueda {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  max-width: 500px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  border: 2px dashed #dee2e6;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.mensaje-ayuda-busqueda::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 49%, rgba(233, 76, 60, 0.05) 50%, transparent 51%);
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.ayuda-icono {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(253, 203, 110, 0.4);
  position: relative;
  z-index: 2;
}

.mensaje-ayuda-busqueda h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 2;
}

.mensaje-ayuda-busqueda p {
  color: #6c757d;
  font-size: 1.1rem;
  margin: 0 0 25px 0;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.ejemplos-busqueda {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ejemplo {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
  position: relative;
  overflow: hidden;
}

.ejemplo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
}

.ejemplo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  background: linear-gradient(135deg, #c0392b, #a93226);
}

.ejemplo:hover::before {
  width: 100%;
  height: 100%;
}

.ejemplo:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Funcionalidad para hacer click en ejemplos */
.ejemplo:hover {
  cursor: pointer;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .mensaje-ayuda-busqueda {
    padding: 40px 15px;
    margin: 20px;
  }
  
  .ayuda-icono {
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
  }
  
  .mensaje-ayuda-busqueda h3 {
    font-size: 1.5rem;
  }
  
  .mensaje-ayuda-busqueda p {
    font-size: 1rem;
  }
  
  .ejemplo {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .mensaje-ayuda-busqueda {
    padding: 30px 10px;
    margin: 15px;
  }
  
  .ayuda-icono {
    width: 50px;
    height: 50px;
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .mensaje-ayuda-busqueda h3 {
    font-size: 1.3rem;
  }
  
  .mensaje-ayuda-busqueda p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .ejemplos-busqueda {
    gap: 8px;
  }
  
  .ejemplo {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mensaje-ayuda-busqueda {
  animation: fadeInScale 0.5s ease-out;
}

/* ===== INTERACCIONES MEJORADAS ===== */
.ejemplos-busqueda .ejemplo {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ejemplos-busqueda .ejemplo:nth-child(1) {
  animation-delay: 0.1s;
}

.ejemplos-busqueda .ejemplo:nth-child(2) {
  animation-delay: 0.2s;
}

.ejemplos-busqueda .ejemplo:nth-child(3) {
  animation-delay: 0.3s;
}

.ejemplos-busqueda .ejemplo:nth-child(4) {
  animation-delay: 0.4s;
}