/* Product index: centered groups, compact category navigation and visible products. */
.art-product-index-page .art-ref-products { padding-top: 34px; }
.art-product-index-page .art-catalog-groups {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 0;
    margin: 0 auto 28px;
}
.art-product-index-page .art-catalog-groups section {
    flex: 1 1 235px;
    max-width: 390px;
    min-width: 220px;
    padding: 0 22px 8px;
}
.art-product-index-page .art-catalog-groups section:not(:last-child) { border-right: 1px solid #e3e0dc; }
.art-product-index-page .art-catalog-groups strong { min-height: 27px; }
.art-product-index-page .art-catalog-groups section > div { min-height: 0; margin: 5px 0 10px; }
.art-product-index-page .art-catalog-groups section > div a { font-size: 12px; }
.art-product-index-page .art-catalog-all { font-size: 10px; }
.art-product-index-page .art-catalog-strip-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: min(960px,100%);
    margin: 0 auto 12px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}
.art-product-index-page .art-catalog-strip-heading span { color: #a7a6a2; font-size: 10px; letter-spacing: .13em; }
.art-product-index-page .art-catalog-strip-heading strong { color: #777976; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.art-product-index-page .art-catalog-category-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 12px;
    width: min(960px,100%);
    margin: 0 auto 24px;
    padding: 0;
    border: 0;
}
.art-product-index-page .art-catalog-category-strip .art-library-category {
    display: flex;
    flex: 0 1 155px;
    min-width: 125px;
    flex-direction: column;
    padding: 8px 8px 10px;
    border: 1px solid #e5e2de;
    border-radius: 5px;
    background: #fff;
    transition: border-color .2s ease,background-color .2s ease,box-shadow .2s ease;
}
.art-product-index-page .art-catalog-category-strip .art-library-category:hover,
.art-product-index-page .art-catalog-category-strip .art-library-category:focus-visible,
.art-product-index-page .art-catalog-category-strip .art-library-category[aria-current=page] {
    border-color: var(--art-accent,#ae8059);
    background: #fff;
    box-shadow: 0 4px 14px rgba(110,83,60,.08);
}
.art-product-index-page .art-catalog-category-strip .art-library-category figure {
    width: 100%;
    height: 125px !important;
    margin: 0 0 7px;
    border: 0;
    background: #fff;
}
.art-product-index-page .art-catalog-category-strip .art-library-category img {
    width: 100%;
    height: 100%;
    padding: 0;
    box-sizing: border-box;
    object-fit: contain !important;
    filter: none !important;
    transform: none;
}
.art-product-index-page .art-catalog-category-strip .art-library-category small {
    color: #aaa7a2;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .12em;
}
.art-product-index-page .art-catalog-category-strip .art-library-category > span {
    min-height: 0;
    margin-top: 4px;
    color: #696b68;
    font-size: 12px;
    line-height: 1.3;
}
.art-product-index-page .art-catalog-results-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 22px;
    margin: 0 0 23px;
    padding: 19px 0 0;
    border-top: 1px solid #dededb;
}
.art-product-index-page .art-catalog-results-head > div > span {
    color: #a5a5a1;
    font-size: 10px;
    letter-spacing: .13em;
}
.art-product-index-page .art-catalog-results-head h2 {
    margin: 5px 0 0;
    color: #686b67;
    font-size: clamp(20px,2vw,27px);
    font-weight: 500;
}
.art-product-index-page .art-catalog-results-head .art-library-filters { margin: 0; }
.art-product-index-page .art-catalog-results-head select { min-width: 190px; }
.art-product-index-page .art-ref-product-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 42px 25px; }
.art-product-index-page .art-ref-product-photo { height: 190px; }
@media (max-width: 1200px) {
    .art-product-index-page .art-ref-product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 900px) {
    .art-product-index-page .art-ref-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .art-product-index-page .art-catalog-groups section:nth-child(odd):not(:last-child) { border-right: 0; }
}
@media (max-width: 780px) {
    .art-product-index-page .art-catalog-groups section,
    .art-product-index-page .art-catalog-groups section:not(:last-child) { border-right: 0; }
}
@media (max-width: 620px) {
    .art-product-index-page .art-catalog-groups { gap: 8px; }
    .art-product-index-page .art-catalog-groups section { max-width: none; padding: 0 0 13px; border-bottom: 1px solid #e9e6e2; }
    .art-product-index-page .art-catalog-category-strip { gap: 9px; }
    .art-product-index-page .art-catalog-category-strip .art-library-category { flex-basis: 132px; min-width: 110px; }
    .art-product-index-page .art-catalog-category-strip .art-library-category figure { height: 110px !important; }
    .art-product-index-page .art-catalog-results-head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .art-product-index-page .art-catalog-results-head .art-library-filters,
    .art-product-index-page .art-catalog-results-head select { width: 100%; }
    .art-product-index-page .art-ref-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 14px; }
    .art-product-index-page .art-ref-product-photo { height: 150px; }
}

/* Product sorting shares the category filter on small screens. */
.art-catalog-results-head .art-library-filters { flex-wrap: wrap; }
@media(max-width:620px){.art-catalog-results-head .art-library-filters{width:100%;gap:12px}.art-catalog-results-head .art-library-filters select{flex:1 1 140px;min-width:0;max-width:100%}}
