*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .section-icon {
  font-size: 16px;
  color: var(--primary);
  opacity: 0.85;
}

.section-title.flash { color: var(--primary); }

.ver-todos-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.ver-todos-btn:hover { color: var(--primary-dark); }
.ver-todos-btn i { font-size: 10px; }

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  width: 100%;
}
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 700;
  line-height: 1.4;
}
.badge-discount { background: var(--primary); color: #fff; }
.badge-free { background: #E8F5E9; color: var(--success); border: 1px solid var(--success); }
.badge-hot { background: var(--gold); color: #333; }

.no-results {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-light);
  font-size: var(--font-size-md);
}
