.catalog-layout {
    display: flex;
    gap: 40px;
}

/* Контейнер списка фильтров со скроллом */
.filter-list-container {
    max-height: 240px;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 10px;
}

/* Стилизация скроллбара */
.filter-list-container::-webkit-scrollbar {
    width: 4px;
}

.filter-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-list-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.filter-list-container::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Поле поиска внутри фильтра */
.filter-item-search-wrapper {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #fff;
    padding-bottom: 5px;
}

.filter-item-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.filter-item-search:focus {
    border-color: #007bff;
}


.catalog-sidebar {
    flex: 0 0 250px;
}

.filter-group {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

.filter-group h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--soft-blue);
    padding-bottom: 0.5rem;
    color: var(--primary-blue);
}

.filter-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: var(--transition-fast);
}

.filter-search-input:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.1);
    background: var(--white);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.85rem;
}

.price-input:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.price-range .dash {
    color: var(--text-muted);
}

.filter-group ul li {
    margin-bottom: 0.8rem;
}

.filter-group a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.filter-group a:hover,
.filter-group a.active {
    color: var(--accent-blue);
    font-weight: 500;
}

.catalog-main {
    flex: 1;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
}

/* Standardized height and display moved to main.css */

.product-info {
    padding: 1.5rem;
}

.category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    min-height: 2.4rem;
    line-height: 1.2;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Характеристики в карточке */
.product-props {
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.prop-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dotted #e2e8f0;
}

.prop-item:last-child {
    border-bottom: none;
}

.prop-label {
    color: #64748b;
}

.prop-value {
    color: var(--primary-blue);
    font-weight: 500;
}

/* Действия в карточке */
.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-actions .btn {
    flex: 1;
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .catalog-layout {
        flex-direction: column;
    }

    .catalog-sidebar {
        flex: none;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}