

/* Start:/local/components/factor/catalog.super.optimized/templates/.default/style.css?175922556011081*/
/* Стили для супер-оптимизированного каталога */

.catalog-super-optimized {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Заголовок каталога */
.catalog-header {
    margin-bottom: 30px;
    text-align: center;
}

.catalog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
}

.catalog-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Фильтры */
.catalog-filters {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: start;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.filter-input,
.price-input {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-input:focus,
.price-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-separator {
    color: #666;
    font-weight: 500;
}

.filter-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.filter-checkbox:hover {
    background-color: #f0f0f0;
}

.filter-checkbox input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #007bff;
}

.checkbox-text {
    font-size: 0.9rem;
    color: #333;
}

.checkbox-count {
    font-size: 0.8rem;
    color: #666;
    margin-left: auto;
}

.filter-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    grid-column: 1 / -1;
}

/* Кнопки */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

/* Сортировка */
.catalog-sort {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sort-label {
    font-weight: 600;
    color: #333;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
}

/* Результаты */
.catalog-results {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
}

.results-count {
    font-size: 1.1rem;
    color: #333;
}

.results-count strong {
    color: #007bff;
}

.results-view {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 16px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn.active,
.view-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f8f9ff;
}

/* Товары */
.catalog-items {
    padding: 25px;
}

.catalog-items.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.catalog-items.view-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.catalog-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Список товаров */
.catalog-items.view-list .catalog-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.catalog-items.view-list .item-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.catalog-items.view-list .item-info {
    flex: 1;
}

/* Изображение товара */
.item-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-item:hover .item-image img {
    transform: scale(1.05);
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 0.9rem;
}

/* Метки товара */
.item-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.label {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-new {
    background: #28a745;
    color: white;
}

.label-hit {
    background: #ffc107;
    color: #333;
}

.label-eco {
    background: #20c997;
    color: white;
}

.label-stock {
    background: #dc3545;
    color: white;
}

/* Информация о товаре */
.item-info {
    padding: 20px;
}

.item-name {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.item-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.item-name a:hover {
    color: #007bff;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.item-properties {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.property {
    display: flex;
    gap: 8px;
    font-size: 0.9rem;
}

.property-name {
    color: #666;
    font-weight: 500;
}

.property-value {
    color: #333;
}

/* Цены */
.item-prices {
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 5px;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.price-currency {
    font-size: 1rem;
    color: #666;
}

.price-trade .price-value {
    color: #28a745;
}

.price-base .price-value {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

/* Действия с товаром */
.item-actions {
    display: flex;
    gap: 10px;
}

.item-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.btn-favorite {
    flex: 0 0 auto;
    width: 44px;
    padding: 10px;
    font-size: 1.2rem;
}

/* Нет результатов */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Пагинация */
.catalog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 25px;
    background: #f8f9fa;
}

.pagination-btn {
    padding: 10px 15px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.pagination-btn:hover {
    border-color: #007bff;
    color: #007bff;
    background: #f8f9ff;
}

.pagination-btn.active {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .catalog-super-optimized {
        padding: 15px;
    }
    
    .catalog-title {
        font-size: 2rem;
    }
    
    .filters-form {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .catalog-items.view-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .catalog-items.view-list .catalog-item {
        flex-direction: column;
        text-align: center;
    }
    
    .catalog-items.view-list .item-image {
        width: 100%;
        height: 200px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .catalog-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .catalog-items.view-grid {
        grid-template-columns: 1fr;
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .item-actions .btn {
        width: 100%;
    }
}

/* Анимации загрузки */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-item {
    animation: fadeIn 0.5s ease-out;
}

/* Улучшения производительности */
.catalog-item img {
    will-change: transform;
}

.catalog-item:hover {
    will-change: transform, box-shadow;
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    .catalog-super-optimized {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .catalog-filters,
    .catalog-results {
        background: #2d2d2d;
        color: #e0e0e0;
    }
    
    .filter-input,
    .price-input,
    .sort-select {
        background: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .catalog-item {
        background: #2d2d2d;
        color: #e0e0e0;
    }
}

/* End */
/* /local/components/factor/catalog.super.optimized/templates/.default/style.css?175922556011081 */
