.container {
    max-width: 1280px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.breadcrumbs {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #173a7c;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

.catalog-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e5e5;
}

/* Layout с сайдбаром */
.catalog-layout {
    display: flex;
    gap: 30px;
}

.catalog-sidebar {
    flex-shrink: 0;
    width: 260px;
}

.filter-sticky {
    position: sticky;
    top: 20px;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #173A7C;
    display: inline-block;
}

.filter-form {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.filter-search-input:focus {
    outline: none;
    border-color: #173a7c;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    text-transform: capitalize;
}

.filter-actions {
    margin-top: 20px;
}

.filter-reset {
    display: block;
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
}

.filter-reset:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.catalog-main {
    flex: 1;
    min-width: 0;
}

.object-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.object-card {
    display: flex;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
    min-height: 200px;
    height: 240px;
}

.object-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: transparent;
}

.object-card__image {
    flex-shrink: 0;
    width: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.object-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.object-card__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 180px;
    color: #999;
    font-size: 13px;
}

.object-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 20px;
}

.object-card__params {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
}

.param-item {
    flex: 1;
    min-width: 150px;
}

.param-label {
    display: block;
    font-size: 11px;
    color: #8c8c8c;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.param-value {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
}

.object-link {
    color: #173a7c;
    text-decoration: none;
}

.object-link:hover {
    text-decoration: underline;
}

.object-card__footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: 4px;
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #173a7c;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.detail-link:hover {
    gap: 12px;
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding: 20px 0;
    margin-bottom: 60px;
}

.pagination a {
    text-decoration: none;
    transition: all 0.2s;
}

.pagination__prev,
.pagination__next {
    padding: 8px 16px;
    border-radius: 8px;
    background: #f5f5f5;
    color: #333;
}

.pagination__prev:hover,
.pagination__next:hover {
    background: #173a7c;
    color: #fff;
}

.pagination__numbers {
    display: flex;
    gap: 8px;
}

.pagination__link,
.pagination__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 14px;
}

.pagination__link {
    background: #f5f5f5;
    color: #333;
}

.pagination__link:hover {
    background: #173a7c;
    color: #fff;
}

.pagination__current {
    background: #173a7c;
    color: #fff;
}

.empty-catalog {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 16px;
    color: #666;
}

.reset-link {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: #173a7c;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

.reset-link:hover {
    background: #0052a3;
}

@media (max-width: 768px) {
    .catalog-layout {
        flex-direction: column;
    }

    .catalog-sidebar {
        width: 100%;
    }

    .filter-sticky {
        position: static;
    }

    .object-card {
        flex-direction: column;
    }

    .object-card__image {
        width: 100%;
        height: 200px;
    }

    .object-card__params {
        flex-direction: column;
        gap: 12px;
    }

    .param-item {
        min-width: auto;
    }

    .catalog-title {
        font-size: 22px;
    }
}

#developer-content {
    margin-top: 60px;
}

/* Горизонтальный фильтр */
.catalog-layout--top-filter {
    flex-direction: column;
}

.catalog-layout--top-filter .catalog-sidebar {
    width: 100%;
}

.catalog-layout--top-filter .filter-form {
    display: flex;
    justify-content: space-between;
}

.catalog-layout--top-filter .filter-form div {
    width: calc(100% / 3 - 20px);
}

.pagination__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    color: #999;
}