/* Category filters and the existing subtotal cart share one LEFT rail on desktop.
   Main/photo geometry is unchanged; checkout and product scripts are untouched. */
#cm-category-tabs{display:none}
@media(min-width:1200px){
 html.cm-r26 body.cm-live-cart-enabled.cm-category-cart-ready main{
   width:calc(100% - 356px)!important;max-width:none!important;
   margin-left:332px!important;margin-right:24px!important;
 }
 html.cm-r26 body.cm-category-cart-ready #cm-category-tabs{
   display:grid;grid-template-columns:1fr 1.55fr;gap:4px;box-sizing:border-box;
   position:fixed;left:12px;top:calc(var(--r26-header-height,150px) + 12px);
   width:272px;z-index:1510;padding:4px;border:1px solid #d8d2c5;
   border-radius:8px;background:#fffefa;box-shadow:0 4px 12px #00000014;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-tab{
   min-height:37px;min-width:0;display:flex;align-items:center;justify-content:center;
   gap:4px;flex-wrap:wrap;border:1px solid transparent;border-radius:5px;
   background:transparent;color:#37332a;cursor:pointer;font:600 12px/1.3 "Segoe UI",Arial,sans-serif;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-tab[aria-selected="true"]{
   background:#e6decf;border-color:#c6b89f;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-tab:focus-visible{
   outline:2px solid #82673e;outline-offset:1px;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-tab-sum{font-size:12px}
 html.cm-r26 body.cm-category-cart-ready .cm-category-tab-total{
   white-space:nowrap;font-size:12px;
 }
 html.cm-r26 body.cm-category-cart-ready #categoryFilters.cm-category-filters{
   position:fixed!important;left:12px!important;right:auto!important;
   top:calc(var(--r26-header-height,150px) + 62px)!important;
   bottom:12px!important;width:272px!important;
   height:calc(100dvh - var(--r26-header-height,150px) - 74px)!important;
   max-height:calc(100dvh - var(--r26-header-height,150px) - 74px)!important;
   overflow-y:auto!important;overscroll-behavior:contain;
 }
 html.cm-r26 body.cm-category-cart-ready #cm-live-cart{
   position:fixed!important;left:12px!important;right:auto!important;
   top:calc(var(--r26-header-height,150px) + 62px)!important;
   bottom:12px!important;width:272px!important;
   max-width:calc(100vw - 24px)!important;z-index:1450!important;
 }
 html.cm-r26 body.cm-category-cart-ready[data-cm-category-panel="filters"] #cm-live-cart{
   display:none!important;
 }
 html.cm-r26 body.cm-category-cart-ready[data-cm-category-panel="cart"] #categoryFilters{
   display:none!important;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-collapsed-rail{
   display:none!important;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-filters .filter-group :is(input,select){
   height:36px!important;min-height:36px!important;
 }
 html.cm-r26 body.cm-category-cart-ready .cm-category-filters .cm-category-filter-actions .btn{
   min-height:36px!important;
 }
}
@media(max-width:1199px){
 #cm-category-tabs{display:none!important}
}


/* Two contextual SEO and user-navigation links beneath classic category titles. */
html.cm-r26 body .cm-related-category-nav{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;
 margin:7px 0 14px;padding:8px 12px;border-left:2px solid #c7b79c;
 background:rgba(246,243,234,.75);font:400 13px/1.5 "Segoe UI",Arial,sans-serif}
html.cm-r26 body .cm-related-category-nav strong{font-weight:600}
html.cm-r26 body .cm-related-category-nav a{color:#4d452f;text-underline-offset:3px}
@media(max-width:600px){html.cm-r26 body .cm-related-category-nav{font-size:12px;gap:4px 12px;padding:7px 10px}}
