/* Catalog Page Styles */
.model-preview {
  border: 1px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a2e;
}

model-viewer {
  --poster-color: transparent;
  --progress-bar-color: var(--accent);
  --progress-mask: #16213e;
  --progress-bar-height: 4px;
  --progress-bar-margin: 15px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.file-badge {
  background: rgba(0, 255, 189, 0.15);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.75rem;
  display: inline-block;
}

.product-card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 189, 0.2);
}

/* Filter sidebar styles */
#search, #sort {
  background: rgba(43, 58, 69, 0.5);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
}

#search:focus, #sort:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 255, 189, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .model-preview {
    height: auto;
    min-height: 200px;
  }
}

.model-category {
  color: rgba(232, 232, 232, 0.7);
  font-size: 0.875rem;
  padding-top: 0px;
  padding-bottom: 10px;
}