@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f5f7;
  color: #1f2937;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.hide-scroll::-webkit-scrollbar {
  display: none;
}
.hide-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card-enter {
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(10px);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-tab {
  color: #4b5563;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  font-weight: 500;
}
.nav-tab:hover {
  color: #ff6600;
}
.nav-tab.active {
  color: #ff6600;
  border-bottom: 2px solid #ff6600;
  font-weight: 600;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.oferta-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.oferta-card:hover {
  border-color: #d1d5db;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Category icon backgrounds */
.bg-icon-hardware { background: #e0f2fe; color: #0ea5e9; }
.bg-icon-smartphones { background: #fce7f3; color: #ec4899; }
.bg-icon-games { background: #dcfce7; color: #22c55e; }
.bg-icon-eletro { background: #ffedd5; color: #f97316; }
.bg-icon-default { background: #f3f4f6; color: #6b7280; }
