/* Only shop/category/tag/search archives and the Woo-backed brand directory. */
.mxp-shop-layout,.mxp-shop-listing .mxp-brand-shop-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;align-items:start}.mxp-shop-results,.mxp-brand-shop-results{min-width:0}.mxp-category-sidebar{position:sticky;top:calc(24px + var(--wp-admin--admin-bar--height,0px));max-height:calc(100vh - 80px);overflow:auto;scrollbar-gutter:stable;border:1px solid var(--line);background:var(--paper);padding:20px;min-width:0}.mxp-category-sidebar>h2{font-family:var(--heading);font-size:20px;line-height:1.35;margin:0 0 14px;overflow-wrap:anywhere}.mxp-category-panel>summary{display:none}.mxp-category-sidebar nav a{display:block;min-height:42px;padding:10px 12px;font-size:14px;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;border-radius:2px}.mxp-category-sidebar nav a:hover{background:var(--surface)}.mxp-category-sidebar nav a[aria-current=page]{background:var(--primary);color:#fff;font-weight:600}.mxp-category-sidebar .is-ancestor>a{font-weight:600}.mxp-category-tree{list-style:none;margin:0;padding:0}.mxp-category-tree .mxp-category-tree{margin-left:12px;padding-left:8px;border-left:1px solid var(--line)}.mxp-all-products{border-bottom:1px solid var(--line);margin-bottom:8px}.mxp-shop-listing .mxp-brand-shop-results .catalog-controls{padding:0;border:0}.mxp-brand-shop-results .catalog-search{max-width:none;margin:0 0 24px}.mxp-brand-shop-results .catalog-search .search-row{display:flex;gap:8px}.mxp-brand-shop-results .catalog-search .search-row input{min-width:0;flex:1}.mxp-brand-shop-results .catalog-search .button{flex:0 0 auto;width:auto;margin:0}.mxp-brand-shop-results .product-copy{min-width:0;overflow-wrap:anywhere}.mxp-brand-shop-results .results-heading{margin-top:0}
.mxp-shop-listing.mxp-thumb-ratio-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img,.mxp-shop-listing.mxp-thumb-ratio-custom .mxp-brand-shop-results .catalog-results .product-image img{aspect-ratio:var(--mxp-thumb-ratio);height:auto}.mxp-shop-listing.mxp-thumb-fit-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img,.mxp-shop-listing.mxp-thumb-fit-custom .mxp-brand-shop-results .catalog-results .product-image img{object-fit:var(--mxp-thumb-fit)}.mxp-shop-listing.mxp-thumb-width-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img,.mxp-shop-listing.mxp-thumb-width-custom .mxp-brand-shop-results .catalog-results .product-image img{width:min(100%,var(--mxp-thumb-display));margin-inline:auto}.mxp-index.mxp-thumb-width-custom .mxp-brand-shop-results .catalog-results .product-card,.mxp-index.mxp-thumb-width-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link{grid-template-columns:minmax(0,min(40%,var(--mxp-thumb-display))) minmax(0,1fr)}
@media(max-width:1100px){.mxp-shop-layout,.mxp-shop-listing .mxp-brand-shop-layout{grid-template-columns:210px minmax(0,1fr);gap:24px}.mxp-category-sidebar{padding:16px}}
@media(max-width:959px){.mxp-shop-layout,.mxp-shop-listing .mxp-brand-shop-layout{grid-template-columns:minmax(0,1fr);gap:24px}.mxp-category-sidebar{position:static;max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}.mxp-category-sidebar>h2{display:none}.mxp-category-panel>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:50px;padding:14px 18px;font-size:15px;font-weight:600;cursor:pointer;list-style:none}.mxp-category-panel>summary::-webkit-details-marker{display:none}.mxp-category-panel[open]>summary span{transform:rotate(45deg)}.mxp-category-panel nav{max-height:60vh;overflow:auto;padding:8px 12px 12px;border-top:1px solid var(--line)}}
@media(max-width:760px){.mxp-index.mxp-thumb-width-custom .mxp-shop-results ul.products li.product .button{width:100%;margin-left:0}.mxp-shop-results .shop-filter-form .shop-search{min-width:0}.mxp-shop-results .shop-filter-form label{min-width:0}}
/* Explicit column counts switch only that device to a grid; zero preserves the theme layout. */
@media(min-width:1101px){.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products,.mxp-shop-listing.mxp-cols-desktop-custom .mxp-brand-shop-results .catalog-results .product-grid{display:grid;grid-template-columns:repeat(var(--mxp-shop-cols-desktop),minmax(0,1fr));gap:28px 20px}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products li.product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link{display:block;min-width:0}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img{margin:0 auto 14px}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products li.product .button,.mxp-shop-listing.mxp-cols-desktop-custom .mxp-shop-results ul.products li.product .added_to_cart{width:100%;margin:14px 0 0;grid-column:auto}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-brand-shop-results .catalog-results .product-card{display:block;padding:0;border:0;min-width:0}.mxp-shop-listing.mxp-cols-desktop-custom .mxp-brand-shop-results .catalog-results .product-copy{padding-top:14px;min-width:0}}
@media(min-width:761px) and (max-width:1100px){.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products,.mxp-shop-listing.mxp-cols-tablet-custom .mxp-brand-shop-results .catalog-results .product-grid{display:grid;grid-template-columns:repeat(var(--mxp-shop-cols-tablet),minmax(0,1fr));gap:28px 20px}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products li.product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link{display:block;min-width:0}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img{margin:0 auto 14px}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products li.product .button,.mxp-shop-listing.mxp-cols-tablet-custom .mxp-shop-results ul.products li.product .added_to_cart{width:100%;margin:14px 0 0;grid-column:auto}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-brand-shop-results .catalog-results .product-card{display:block;padding:0;border:0;min-width:0}.mxp-shop-listing.mxp-cols-tablet-custom .mxp-brand-shop-results .catalog-results .product-copy{padding-top:14px;min-width:0}}
@media(max-width:760px){.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products,.mxp-shop-listing.mxp-cols-mobile-custom .mxp-brand-shop-results .catalog-results .product-grid{display:grid;grid-template-columns:repeat(var(--mxp-shop-cols-mobile),minmax(0,1fr));gap:28px 20px}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products li.product{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0;min-width:0;overflow-wrap:anywhere}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link{display:block;min-width:0}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products li.product a.woocommerce-loop-product__link>img{margin:0 auto 14px}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products li.product .button,.mxp-shop-listing.mxp-cols-mobile-custom .mxp-shop-results ul.products li.product .added_to_cart{width:100%;margin:14px 0 0;grid-column:auto}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-brand-shop-results .catalog-results .product-card{display:block;padding:0;border:0;min-width:0}.mxp-shop-listing.mxp-cols-mobile-custom .mxp-brand-shop-results .catalog-results .product-copy{padding-top:14px;min-width:0}}
/* Hiding the category column gives all available space back to the products. */
.mxp-shop-listing.mxp-shop-sidebar-hidden .mxp-shop-layout,.mxp-shop-listing.mxp-shop-sidebar-hidden .mxp-brand-shop-layout{grid-template-columns:minmax(0,1fr)}
/* Identical category/title typography. Full product names stay in the accessible link and tooltip. */
.mxp-shop-listing .mxp-shop-results ul.products li.product .shop-card-category,.mxp-shop-listing .mxp-shop-results ul.products li.product .woocommerce-loop-product__title,.mxp-shop-listing .mxp-brand-shop-results .catalog-results .product-copy>.eyebrow,.mxp-shop-listing .mxp-brand-shop-results .catalog-results .product-copy>h2{font:500 11px/1.6 Inter,Arial,sans-serif;letter-spacing:.065em;text-transform:uppercase;color:var(--muted);width:var(--mxp-card-image-width,min(100%,var(--mxp-thumb-display,100%)));max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-inline:auto;min-width:0;display:block}
.mxp-shop-listing .mxp-brand-shop-results .catalog-results .product-copy>h2>a{font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit}

