.catalog-section {
    padding-top: 48px;
}
.catalog-search {
    padding: 26px 28px;
    margin-bottom: 36px;
    border: 1px solid var(--color-border);
    background: var(--color-muted);
}
.catalog-search__fields {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.catalog-search__fields > label,
.catalog-search__actions {
    flex: 0 0 calc(33.333333% - 12px);
    min-width: 0;
}
.catalog-search__fields > label {
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 700;
}
.catalog-search__fields input,
.catalog-search__fields .select-control {
    margin-top: 7px;
    width: 100%;
}
.catalog-search__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: flex-end;
    gap: 12px;
}
.catalog-search__actions > button {
    flex: 1;
    padding: 12px 14px;
    gap: 8px;
    font-size: 13px;
}
#directory-status {
    margin-top: 18px;
    color: var(--color-primary);
}
#directory-status:empty {
    display: none;
}
.catalog-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.catalog-results {
    position: relative;
    flex: 1;
    min-width: 0;
}
.catalog-loading {
    position: absolute;
    inset: 0;
    z-index: 95;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding-top: 70px;
    background: #ffffffe6;
}
.catalog-results[aria-busy='true'] #productList {
    pointer-events: none;
}
#catalog-error {
    padding: 14px 18px;
    background: #fbefec;
    margin-bottom: 18px;
    color: var(--color-primary);
}
.product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}
.product-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    transition: border-color .2s, box-shadow .2s;
}
.product-card:hover {
    border-color: #c9a39b;
    box-shadow: 0 10px 30px #00000009;
}
.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 220px;
    border-bottom: 1px solid #eeeae5;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .25s;
}
.product-card__image:hover img {
    transform: scale(1.035);
}
.product-card__body {
    padding: 22px 22px 16px;
    flex: 1;
}
.product-card h2 {
    font-size: 20px;
    letter-spacing: -.4px;
    margin-bottom: 8px;
}
.product-card h2 a:hover {
    color: var(--color-primary-hover);
}
.product-card h2 .number-prefix {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 700;
}
.product-card__name {
    color: var(--color-ink);
    font-weight: 700;
    margin-bottom: 10px;
}
.product-card__note {
    font-size: 12px;
    margin-bottom: 14px;
}
.product-card__makes {
    font-size: 11px;
    letter-spacing: .5px;
    color: #79736d;
    padding-top: 12px;
    border-top: 1px solid #eeeae5;
}
.product-card > .button {
    margin: 0 22px 22px;
    font-size: 13px;
}
@media (max-width: 1024px) {
    .catalog-layout {
        gap: 22px;
    }
}
@media (max-width: 820px) {
    .catalog-layout {
        flex-direction: column;
    }
    .catalog-results {
        width: 100%;
        flex-basis: auto;
    }
    .catalog-search__fields > label,
    .catalog-search__actions {
        flex-basis: calc(50% - 9px);
    }
}
@media (max-width: 640px) {
    .catalog-section {
        padding-top: 30px;
    }
    .catalog-search {
        padding: 20px;
        margin-bottom: 24px;
    }
    .catalog-search__fields > label,
    .catalog-search__actions {
        flex-basis: 100%;
    }
    .catalog-search__actions {
        flex-wrap: wrap;
    }
    .catalog-search__actions > button {
        flex-basis: 100%;
        width: 100%;
    }
    .product-card {
        flex-basis: 100%;
    }
    .product-card__image {
        height: 260px;
    }
}
