.catalog-subtitle { color: var(--text-muted); margin: -12px 0 24px; font-size: 15px; }

.catalog-toolbar {
  margin-bottom: 16px;
}
.catalog-toolbar input {
  width: 100%;
  max-width: 560px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-elevated);
  color: var(--text);
  font-size: 15px;
}
.catalog-toolbar input:focus {
  outline: none;
  border-color: var(--accent);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.catalog-filter {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-elevated);
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.catalog-filter:hover { border-color: var(--accent); color: var(--accent); }
.catalog-filter.active {
  background: var(--accent);
  color: #1a1a1a;
  border-color: var(--accent);
}

.catalog-count { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: rgba(43, 46, 51, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(164, 209, 0, 0.35);
}
.product-card-link { text-decoration: none !important; color: inherit; flex: 1; display: flex; flex-direction: column; }
.product-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--primary-dark);
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1f2123;
  transition: transform 0.3s;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}
.product-card-body { padding: 16px; flex: 1; }
.product-sku { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.product-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}
.product-price span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.product-card .product-order { margin: 0 16px 16px; width: calc(100% - 32px); }

.catalog-loading, .catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: rgba(43, 46, 51, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
}
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail-img {
  background: var(--primary-dark);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; background: #1f2123; }
.product-detail h1 { font-size: 24px; color: var(--white); margin-bottom: 12px; }
.product-detail-price { font-size: 32px; font-weight: 800; color: var(--accent); margin: 16px 0; }
.product-specs { list-style: none; margin: 20px 0; }
.product-specs li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.product-specs strong { color: var(--accent); margin-right: 8px; }
