/* Radar */
#radar-container {
  padding: var(--espacio-md);
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--espacio-md);
}

.radar-title {
  font-size: var(--texto-lg);
  font-weight: bold;
  color: var(--color-primario);
}

.radar-controls {
  margin-bottom: var(--espacio-md);
}

.radio-selector {
  display: flex;
  gap: var(--espacio-xs);
  margin-bottom: var(--espacio-md);
}

.radio-btn {
  flex: 1;
  background: var(--color-blanco);
  color: var(--color-texto);
  border: 2px solid var(--color-primario);
  font-size: var(--texto-sm);
}

.radio-btn.active {
  background: var(--color-primario);
  color: var(--color-blanco);
}

.category-filters {
  display: flex;
  gap: var(--espacio-xs);
  overflow-x: auto;
  margin-bottom: var(--espacio-md);
  padding-bottom: var(--espacio-xs);
}

.category-btn {
  background: var(--color-blanco);
  color: var(--color-texto);
  border: 1px solid #ddd;
  font-size: var(--texto-sm);
  white-space: nowrap;
}

.category-btn.active {
  background: var(--color-secundario);
  color: var(--color-blanco);
  border-color: var(--color-secundario);
}

.refresh-btn {
  width: 100%;
  background: var(--color-primario);
  color: var(--color-blanco);
  margin-bottom: var(--espacio-md);
}

/* Tarjetas de ofertas */
.oferta-card {
  background: var(--color-blanco);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: var(--espacio-md);
  margin-bottom: var(--espacio-md);
  display: flex;
  gap: var(--espacio-md);
  cursor: pointer;
}

.oferta-card img {
  width: 80px;
  height: 80px;
  border-radius: var(--radio);
  object-fit: cover;
  flex-shrink: 0;
}

.oferta-info {
  flex: 1;
  min-width: 0;
}

.oferta-zona {
  font-size: var(--texto-sm);
  color: var(--color-primario);
  font-weight: bold;
  margin-bottom: var(--espacio-xs);
}

.oferta-nombre {
  font-size: var(--texto-md);
  font-weight: bold;
  margin-bottom: var(--espacio-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oferta-vendedor {
  font-size: var(--texto-sm);
  color: #666;
  margin-bottom: var(--espacio-xs);
}

.oferta-precio {
  font-size: var(--texto-lg);
  color: var(--color-primario);
  font-weight: bold;
}

/* Estado vacío */
.radar-empty {
  text-align: center;
  padding: var(--espacio-xl);
  color: #666;
}

.radar-empty h3 {
  margin-bottom: var(--espacio-sm);
  color: var(--color-texto);
}

.radar-empty p {
  margin-bottom: var(--espacio-md);
}

/* Estado cargando */
.radar-loading {
  text-align: center;
  padding: var(--espacio-xl);
  color: #666;
}
