/* Default category pages. Keep the native sort, facet and layout controls in their own markup. */
.mcs-site .mcs-category-browse {
    --category-ink: #202151;
    --category-rule: #d8dbe4;
    min-width: 0;
}
.mcs-site .mcs-category-browse .breadcrumbs { margin: 1.15rem 0 .8rem; }
.mcs-site .mcs-category-browse .mcs-category-mast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .65rem 1.5rem;
    margin: 0;
    padding: 0 0 clamp(1rem, 2.2vw, 1.8rem);
    border-bottom: 2px solid var(--category-ink);
}
.mcs-site .mcs-category-browse .mcs-category-mast .page-heading {
    float: none; width: auto; color: var(--category-ink); margin: 0; padding: 0;
    font-size: clamp(2.25rem, 4vw, 3.35rem); line-height: 1.04; text-align: left;
    letter-spacing: -.035em; overflow-wrap: anywhere;
}
.mcs-site .mcs-category-browse .mcs-category-types { margin: 0; padding: 1.2rem 0 1.05rem; border-bottom: 1px solid var(--category-rule); }
.mcs-site .mcs-category-browse .mcs-category-types h2,
.mcs-site .mcs-category-browse .mcs-category-filter-title,
.mcs-site .mcs-category-browse .mcs-category-total {
    margin: 0 0 .65rem; padding: 0;
    font: 700 1.15rem/1.35 Roboto, Arial, sans-serif;
    letter-spacing: -.015em; text-transform: none; color: var(--category-ink);
}
.mcs-site .mcs-category-browse .mcs-category-types ul {
    display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .55rem;
}
.mcs-site .mcs-category-browse .mcs-category-types li { min-width: 0; }
.mcs-site .mcs-category-browse .mcs-category-types li a {
    box-sizing: border-box; height: 100%; width: 100%; display: flex; justify-content: space-between;
    gap: .5rem; min-height: 44px; padding: .6rem .75rem;
    border: 1px solid #c9cdd9; border-radius: .2rem; background: #f7f8fb; color: var(--category-ink);
    font-size: 1rem; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere;
}
.mcs-site .mcs-category-browse .mcs-category-types li a::after {
    content: ''; flex: 0 0 .4rem; width: .4rem; height: .4rem;
    border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg);
}
.mcs-site .mcs-category-browse .mcs-category-types li a span { flex: 1; min-width: 0; }
.mcs-site .mcs-category-browse .mcs-category-types li a:is(:hover,:focus-visible) { border-color: var(--category-ink); background: #eeeff6; }
.mcs-site .mcs-category-browse .mcs-category-types summary {
    min-height: 44px; padding: .65rem .25rem .5rem 0; margin: .15rem 0 0;
    color: var(--category-ink); font-size: .98rem; font-weight: 600;
    text-decoration: underline; text-underline-offset: .18em;
}
.mcs-category-types details:not([open]) > ul { display: none !important; }
.mcs-category-types .mcs-category-less, .mcs-category-types details[open] .mcs-category-more { display: none; }
.mcs-category-types details[open] .mcs-category-less { display: inline; }
.mcs-site .mcs-category-browse .mcs-category-layout {
    display: block; margin: clamp(1.25rem, 2.3vw, 2rem) 0 0; padding: 0; min-width: 0;
}
.mcs-site .mcs-category-browse #mcs-category-products { float: none; min-width: 0; width: 100%; max-width: none; margin: 0; padding: 0; }
.mcs-category-browse #faceted-search-container:not(:has(.accordion-block,.facetedSearch-refineFilters,.mcs-category-price-filter)) { display: none; }
.mcs-site .mcs-category-browse .mcs-category-layout:not(:has(> #faceted-search-container :is(.accordion-block,.facetedSearch-refineFilters,.mcs-category-price-filter))) { display: block; }
.mcs-category-price-filter summary { min-height: 44px; padding: .6rem 0; color: var(--category-ink); font-size: 1.05rem; font-weight: 700; }
.mcs-site .mcs-category-browse .mcs-category-price-filter .navList-action { display: inline-block; padding: .5rem 0; font-size: 1rem; }
.mcs-site .mcs-category-browse .mcs-category-price-filter .navList-action.is-active { font-weight: 700; text-decoration: underline; }
.mcs-site .mcs-category-browse #facetedSearch { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; }
.mcs-site .mcs-category-browse #facetedSearch .accordion,
.mcs-site .mcs-category-browse #facetedSearch .accordion-block,
.mcs-site .mcs-category-browse #facetedSearch .accordion-content {
    padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none;
}
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading {
    border: none; border-top: 1px solid var(--category-rule);
}
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-navigation,
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-title,
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-navigation-actions {
    background: transparent !important; background-image: none !important; color: var(--category-ink) !important;
    border: none; border-radius: 0; box-shadow: none;
}
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-navigation {
    padding: .65rem .15rem; min-height: 46px;
}
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-title {
    padding: 0; height: auto; min-height: 0; text-transform: none; line-height: 1.35;
}
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-indicator,
.mcs-site .mcs-category-browse #facetedSearch .mcs-native-facet-heading .accordion-indicator use { fill: currentColor; }
.mcs-site .mcs-category-browse #facetedSearch .accordion-content .navList {
    padding: 0 0 .65rem; margin: 0; border: 0;
}
.mcs-site .mcs-category-browse #facetedSearch .accordion-content .navList-item { margin: 0; }
.mcs-site .mcs-category-browse #facetedSearch .accordion-content .navList-action {
    padding-block: .43rem; color: #303543; font: 400 1rem/1.4 Roboto, Arial, sans-serif;
}
.mcs-site .mcs-category-browse #facetedSearch .facetedSearch-refineFilters { display: block; padding: .65rem; margin: 0 0 .6rem; background: #f5f6fa; border: 0; }
.mcs-site .mcs-category-browse #facetedSearch .facetedSearch-refineFilters .inlineList { padding: 0; border: 0; }
.mcs-site .mcs-category-browse #facetedSearch .facetedSearch-refineFilters .sidebarBlock-heading { margin: 0; padding-bottom: .45rem !important; border: 0; }
.mcs-site .mcs-category-browse #product-listing-container .mcs-category-tools {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
    gap: .5rem 1rem; padding: 0 0 .85rem; margin: 0 0 1rem;
    border: 0; border-bottom: 1px solid var(--category-rule); background: none;
}
.mcs-site .mcs-category-browse .mcs-category-tools .mcs-category-total { margin: 0 auto 0 0; }
.mcs-site .mcs-category-browse .mcs-category-tools .form-field { margin: 0; }
.mcs-site .mcs-category-browse .mcs-category-tools .actionBar-section { margin: 0; }
.mcs-site .mcs-category-browse .mcs-category-tools .form-field { display: flex; align-items: center; gap: .45rem; }
.mcs-site .mcs-category-browse .mcs-category-tools .form-label { flex: none; margin: 0; }
.mcs-site .mcs-category-browse .mcs-category-tools .form-select { min-height: 44px; margin: 0; padding-block: .3rem; }
.mcs-site .mcs-category-browse #product-listing-container .productGrid:not(.product-list-style) {
    column-gap: clamp(.65rem,1.8cqw,1.35rem); row-gap: 1.3rem;
}
.mcs-site .mcs-category-browse #product-listing-container .productGrid:not(.product-list-style) .card {
    min-width: 0; width: 100%;
}
.mcs-site .mcs-category-browse #product-listing-container .productGrid:not(.product-list-style) .card-figure {
    border: 1px solid #e0e1e7; border-radius: .15rem; background: #fff;
}
.mcs-site .mcs-category-browse .mcs-category-pagination { justify-content: center; }
.mcs-site .mcs-category-browse .mcs-category-about {
    max-width: 78ch; margin: 1.5rem 0 2.5rem; padding: 1.4rem 0 0; border-top: 1px solid var(--category-rule);
    color: #414553; font-size: 1rem; line-height: 1.6;
}
.mcs-site .mcs-category-browse .mcs-category-about :is(h2,h3) { color: var(--category-ink); }
.mcs-site .mcs-category-browse :is(a,button,summary,select,input):focus-visible {
    outline: 3px solid #393688 !important; outline-offset: 2px;
}
@media (min-width: 900px) {
    .mcs-site .mcs-category-browse .mcs-category-layout:has(> #faceted-search-container :is(.accordion-block,.facetedSearch-refineFilters,.mcs-category-price-filter)) {
        display: grid; grid-template-columns: clamp(13rem,19%,16rem) minmax(0,1fr); align-items: start;
        gap: clamp(1.3rem,2.8vw,3rem);
    }
    .mcs-site .mcs-category-browse #facetedSearch .facetedSearch-toggle { display: none !important; }
    .mcs-site .mcs-category-browse #facetedSearch #facetedSearch-navList { display: block !important; margin: 0; }
}
@media (max-width: 1080px) {
    .mcs-site .mcs-category-browse .mcs-category-types ul { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 899px) {
    .mcs-site .mcs-category-browse .mcs-category-layout:has(> .page-sidebar:not(.u-hiddenVisually)) { display: block; }
    .mcs-site .mcs-category-browse .mcs-category-filter-title { display: none; }
    .mcs-site .mcs-category-browse #faceted-search-container { padding: 0; margin: 0 0 .65rem; width: 100%; }
    .js .mcs-site .mcs-category-browse #facetedSearch .facetedSearch-toggle { display: block !important; width: 100%; min-height: 44px; padding: .6rem .85rem; border: 1px solid #aeb4ca; color: var(--category-ink); background: #f5f6fa; }
    .js .mcs-site .mcs-category-browse #facetedSearch #facetedSearch-navList:not(.is-open) { display: none !important; }
    .js .mcs-site .mcs-category-browse #facetedSearch #facetedSearch-navList.is-open { display: block !important; margin: .55rem 0; }
}
@media (max-width: 600px) {
    .mcs-site .mcs-category-browse .breadcrumbs { margin: .75rem 0 .5rem; }
    .mcs-site .mcs-category-browse .mcs-category-types { padding: .85rem 0 .55rem; }
    .mcs-site .mcs-category-browse .mcs-category-types ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .4rem; }
    .mcs-site .mcs-category-browse .mcs-category-types li a { padding: .5rem .65rem; }
    .mcs-site .mcs-category-browse .mcs-category-layout { margin-top: 1rem; }
    .mcs-site .mcs-category-browse #product-listing-container .mcs-category-tools { gap: .4rem .65rem; }
    .mcs-site .mcs-category-browse .mcs-category-tools .form-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
    .mcs-site .mcs-category-browse .mcs-category-tools .product-view-button { display: none; }
}
