.catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}
.catalog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 300px;
    flex-shrink: 0;
    min-width: 0;
}
.part-group-card {
    padding: 22px;
    background: #e9f1fa;
    border: 1px solid #d1dfeb;
}
.catalog-sidebar h2 {
    margin-bottom: 20px;
    font-size: 22px;
}
.catalog-main {
    flex: 1;
    min-width: 0;
}
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px;
    background: #e9f1fa;
}
.filter-form h2 {
    width: 100%;
    margin-bottom: 0;
}
.filter-field {
    width: 100%;
    min-width: 0;
}
.number-field {
    width: 100%;
}
.filter-field label {
    display: block;
    margin-bottom: 7px;
}
.filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}
.filter-status {
    width: 100%;
}
.filter-status:empty {
    display: none;
}
.product-results {
    position: relative;
}
.product-loading {
    position: absolute;
    inset: 0;
    background: #f5f4efe8;
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}
.catalog-card {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 28px 0;
    border-bottom: 1px solid #cbd6df;
}
.catalog-card:first-child {
    border-top: 1px solid #cbd6df;
}
.product-photo {
    width: 180px;
    flex-shrink: 0;
    background: #fff;
}
.product-photo img {
    height: 155px;
    width: 100%;
    object-fit: contain;
}
.product-copy {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
.product-copy h2 {
    font-size: 21px;
}
.product-note, .product-makes {
    margin-top: 10px;
}
.catalog-card .button {
    max-width: 180px;
}
@media (max-width: 1000px) {
    .catalog-layout {
        flex-direction: column;
    }
    .catalog-sidebar, .catalog-main {
        width: 100%;
    }
    .filter-field {
        width: calc(50% - 9px);
    }
    .number-field {
        width: 100%;
    }
    .catalog-card {
        flex-wrap: wrap;
    }
    .catalog-card .button {
        flex-basis: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}
@media (max-width: 640px) {
    .catalog-card {
        gap: 20px;
        align-items: flex-start;
    }
    .product-photo {
        width: 110px;
    }
    .product-photo img {
        height: 120px;
    }
    .filter-field {
        width: 100%;
    }
}

.filter-form {
    border: 1px solid #d1dfeb;
}
.filter-actions .button {
    flex: 1 1 auto;
    min-height: 47px;
    padding: 10px 14px;
}
.product-photo {
    border: 1px solid #dce3e9;
    padding: 10px;
}
.product-photo img {
    transition: transform .25s;
}
.product-name {
    margin-top: 5px;
    color: #173859;
    font-weight: 600;
    font-size: 16px;
}
.product-makes {
    font-size: 13px;
    line-height: 1.65;
}
.catalog-card .button {
    font-size: 14px;
    padding: 11px 15px;
}
.product-copy h2 a {
    transition: color .2s;
}
@media (hover: hover) {
    .product-photo:hover {
        border-color: #1557aa;
    }
    .product-photo:hover img {
        transform: scale(1.04);
    }
}
.product-photo:focus-visible {
    border-color: #1557aa;
}
