/* ============================================================
   NEGOCIOS.CSS — Catálogo público de negocios
   ============================================================ */

.negocios-page {
  padding-top: var(--nav-h);
}

.negocios-hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 20% 10%, rgba(240, 90, 26, 0.18), transparent 35%), var(--bg-1);
}

.negocios-sub {
  max-width: 760px;
  margin-top: 0.8rem;
  color: var(--text-2);
}

.negocios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 2rem;
}

.negocio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.negocio-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b0f14;
}

.negocio-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.negocio-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: rgba(6, 8, 11, 0.72);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(6, 8, 11, 0.92);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--orange);
}

.negocio-body {
  padding: 1rem 1rem 1.1rem;
}

.negocio-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.negocio-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.negocio-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--orange-border);
  background: var(--orange-dim);
  color: var(--orange-2);
}

.negocio-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 0.7rem;
}

.negocio-status.available {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
}

.negocio-status.unavailable {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f87171;
}

.negocio-desc {
  color: var(--text-2);
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  .negocios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .negocios-grid {
    grid-template-columns: 1fr;
  }
}
