.catalog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
}

.catalog-title {
    font-size: 2.5em;
    font-weight: 300;
    margin-bottom: 10px;
}

.catalog-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.search-filters {
    background: var(--surface-panel);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0;
    border: 1px solid var(--border-default);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
}

.search-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border-default);
    background: var(--surface-panel);
    color: var(--text-color);
    border-radius: 0;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.search-btn:hover {
    opacity: 0.9;
}

.filter-section {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-label {
    font-weight: 500;
    color: var(--text-color);
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid var(--border-default);
    background: var(--surface-panel);
    color: var(--text-color);
    border-radius: 0;
    font-size: 14px;
}

.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag-filter {
    background: var(--surface-muted);
    color: var(--text-color);
    padding: 6px 12px;
    border-radius: 0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-default);
}

.tag-filter:hover {
    color: white;
}

.tag-filter.active {
    color: white;
}

.results-info {
    background: var(--surface-muted);
    padding: 12px 20px;
    border-radius: 0;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.products-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--border-default);
}

.product-card {
    background: var(--surface-panel);
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    transition: background 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    background: var(--surface-muted);
}

.product-context-menu-trigger {
    flex: 1;
    width: 100%;
}

.product-context-menu-trigger > div {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.product-content {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.2fr 1fr;
    grid-template-rows: auto;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.product-title {
    grid-column: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.4;
    min-width: 200px;
}

.product-type {
    grid-column: 2;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    min-width: 100px;
}

.product-type.digital {
    color: white;
}

.product-type.physical {
    background: #fff3e0;
    color: #e65100;
}

.product-tags {
    grid-column: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-tag {
    color: white;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 500;
}

.product-meta {
    grid-column: 4;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.product-price {
    grid-column: 5;
    font-size: 18px;
    font-weight: 700;
    text-align: right;
    min-width: 100px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 20px;
}

.back-to-home {
    display: inline-block;
    color: white;
    padding: 12px 24px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .search-filters { padding: 12px; }
    .search-form { flex-wrap: wrap; }
    .search-input { min-width: 200px; }
    .filter-section { gap: 12px; }
    .product-card { padding: 12px; }
    .product-content { grid-template-columns: 1fr; gap: 8px; }
    .product-title { grid-column: 1; font-size: 15px; }
    .product-type { grid-column: auto; }
    .product-tags { grid-column: 1; width: 100%; }
    .product-meta { grid-column: 1; width: 100%; font-size: 12px; text-align: left; }
}

@media (max-width: 480px) {
    .product-card { padding: 10px; }
    .product-title { font-size: 14px; }
    .product-price { font-size: 15px; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

