.catalog-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.part-sidebar {
    width: 240px;
    flex-shrink: 0;
    border: 1px solid #d6e0e5;
    border-radius: 20px;
    padding: 24px 18px;
    background: #eaf0f3;
}
.part-sidebar h2 {
    font-size: 21px;
    padding: 0 4px 18px;
    border-bottom: 1px solid #cbd8df;
}
.catalog-main {
    min-width: 0;
    flex: 1;
}
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 25px;
    border: 1px solid #d9e1e5;
    background: #edf2f4;
    border-radius: 20px;
}
.filter-form > label {
    font-size: 13px;
    font-weight: 600;
}
.filter-form > label input, .filter-form .custom-select {
    margin-top: 7px;
}
.filter-actions .button {
    border-radius: 9px;
    padding: 12px 18px;
}
.filter-status:empty, #productError:empty {
    display: none;
}
.filter-status {
    margin-top: 0 !important;
    font-size: 13px !important;
}
.product-results {
    margin-top: 22px;
}
.filter-form > label {
    width: calc(33.333% - 11px);
}
.filter-form input {
    width: 100%;
}
.filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
.filter-status {
    width: 100%;
}
.product-results {
    position: relative;
}
.loading-layer {
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(240, 244, 247, 0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 50px;
    gap: 16px;
}
.is-loading {
    pointer-events: none;
    opacity: 0.5;
}
.product-card {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 22px;
    margin-bottom: 16px;
    border: 1px solid #d9e1e5;
    border-radius: 20px;
    background: #fff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.product-card:focus-within {
    border-color: #ceb362;
    box-shadow: 0 6px 18px rgba(24, 53, 72, 0.05);
}
@media (hover: hover) {
    .product-card:hover {
        border-color: #ceb362;
        box-shadow: 0 6px 18px rgba(24, 53, 72, 0.05);
    }
}
.product-card h2 {
    font-size: 23px;
}
.product-card p {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 6px;
}
.product-card .product-name {
    font-weight: 600;
    color: #3b5b6e;
}
.product-card .product-makes {
    color: #7d8d97;
    font-size: 12px;
    margin-top: 12px;
}
.product-card .add-cart {
    flex-shrink: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12px;
}
.product-card .add-cart svg {
    width: 19px;
    height: 19px;
}
.product-photo {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 180ms ease;
}
.product-photo:focus-visible {
    border-color: #dfb334;
}
@media (hover: hover) {
    .product-photo:hover {
        border-color: #dfb334;
    }
}
.product-photo img {
    transition: transform 220ms ease;
}
@media (hover: hover) {
    .product-photo:hover img {
        transform: scale(1.04);
    }
}

@media (min-width: 901px) and (max-width: 1150px) {
    .part-sidebar {
        width: 200px;
    }
    .product-card {
        flex-wrap: wrap;
    }
}
.product-photo {
    width: 170px;
    flex-shrink: 0;
}
.product-photo img {
    width: 100%;
    height: 140px;
    object-fit: contain;
}
.product-copy {
    flex: 1;
    min-width: 0;
}

@media (max-width: 900px) {
    .catalog-layout {
        flex-direction: column;
    }
    .part-sidebar, .catalog-main {
        width: 100%;
    }
    .product-card {
        flex-wrap: wrap;
    }
}
@media (max-width: 640px) {
    .filter-form > label {
        width: 100%;
    }
    .product-card {
        flex-direction: column;
        align-items: stretch;
    }
    .product-photo {
        width: 100%;
    }
}
