/* ============================================================ */
/* BLOQUE: TOPBAR v1.0                                          */
/* Depende de: variables.css, base.css                          */
/* ============================================================ */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 59, 48, 0.15), rgba(255, 107, 53, 0.15));
  border-bottom: 1px solid rgba(255, 59, 48, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
}

.topbar__text {
  font-size: var(--text-sm);
  color: var(--text-primary);
  text-align: center;
}

.topbar__old-price {
  color: var(--text-muted);
  margin-left: var(--space-xs);
}

.topbar__link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.topbar__link:hover { color: var(--text-primary); }

.topbar__text--short { display: none; }

@media (max-width: 480px) {
  .topbar__text { font-size: var(--text-xs); }
  .topbar__text--full { display: none; }
  .topbar__text--short { display: block; }
}
