.hero-row {
  margin-bottom: 24px;
}

.hero-card {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 55%),
    linear-gradient(125deg, #0b1120, #111827);
  border: 1px solid rgba(37, 99, 235, 0.65);
  position: relative;
  overflow: hidden;
}

.hero-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bfdbfe;
}

.hero-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.hero-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-title span {
  background: linear-gradient(120deg, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 13px;
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 12px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
}

.hero-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-sec);
}

.hero-metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}

.hero-metric {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-metric strong {
  color: #e5e7eb;
}

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

.section-title {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title span.bar {
  width: 26px;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.6), transparent);
}

.section-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.tab-btn.active {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: #f9fafb;
  border-color: transparent;
}

.tab-btn:hover {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  background: linear-gradient(145deg, var(--bg-card), #020617);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.85);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.16s ease-out;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.95);
}

.product-header {
  padding: 10px 11px 4px;
}

.product-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  overflow: hidden;
  background: #0f172a;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-title-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-card .product-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sub {
  font-size: 11px;
  color: var(--muted);
}

.product-card .product-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #bfdbfe;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(6px);
}

.product-body {
  padding: 4px 11px 9px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-main {
  font-size: 20px;
  font-weight: 700;
}

.price-sub {
  font-size: 10px;
  color: var(--muted);
}

.rating-block {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.rating-stars {
  color: #facc15;
}

.badge-inline {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.16);
  color: #bbf7d0;
  border: 1px solid rgba(22, 163, 74, 0.7);
}

.pagination {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  font-size: 12px;
}

.page-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.page-btn.active {
  background: linear-gradient(135deg, #3b82f6, #22c55e);
  color: #f9fafb;
  border-color: transparent;
}

.page-btn:hover {
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.9);
}

.catalog-status {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.catalog-status--error {
  color: #fca5a5;
}

@media (max-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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