/* A single catalogue interface, isolated from earlier smart-filter skins. */
/* The ready state now arrives while parsing (rm-*-early until setup() runs, see section_vertical.php): until setup() builds the chip row and the toolbar selects, keep their usual height (measured with six quick chips). */
.rm-filter-early{min-height:72px}.rm-catalog-early .redmay-catalog-toolbar{min-height:57px}
@media(max-width:1100px) and (min-width:761px){.rm-filter-early{min-height:64px}}
@media(max-width:969px) and (min-width:761px){.rm-filter-early{min-height:114px}}
@media(max-width:775px) and (min-width:761px){.rm-catalog-early .redmay-catalog-toolbar{min-height:107px}}
@media(max-width:760px){.rm-filter-early{min-height:106px}.rm-catalog-early .redmay-catalog-toolbar{min-height:92px}}
.rm-filter-ready{--rm-filter-accent:#a81e3e;order:2!important;position:relative!important;z-index:auto!important;margin:0 0 16px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;scroll-margin-top:24px}
.rm-filter-ready>.redmay-filterbar-head,.rm-filter-ready>.redmay-filterbar-panel{display:none!important}
.rm-filter-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;background:#fff;border:1px solid #e7e5e7;border-radius:10px}
.rm-filter-quick{display:flex;align-items:center;gap:8px;flex:1;flex-wrap:wrap;min-width:0}
.rm-filter-ready button,.rm-filter-dialog button{font-family:Arial,Helvetica,sans-serif;font-size:13px;font-weight:500;line-height:1.3;cursor:pointer;letter-spacing:0;text-transform:none;box-shadow:none}
.rm-filter-chip,.rm-filter-all{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:10px 13px;border:1px solid #dedbdf;border-radius:6px;background:#fff;color:#2b292d;white-space:nowrap;transition:border-color .15s,background .15s}
.rm-filter-chip:hover{border-color:#ad9a9f;background:#fbf7f8}.rm-filter-chip.is-selected{background:#fff2f5;border-color:#cb8b9a;color:#9e1736}
.rm-filter-all{background:#29262b;color:#fff;border-color:#29262b;font-weight:600!important;margin-left:auto}
.rm-filter-all:hover{background:#44343c;border-color:#44343c}
.rm-filter-badge{display:inline-flex;min-width:19px;height:19px;align-items:center;justify-content:center;border-radius:50%;font-size:10px;background:#a81e3e;color:#fff}
.rm-filter-applied{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding-top:12px}.rm-filter-applied[hidden]{display:none}
.rm-filter-applied-chip{padding:7px 10px;border:0;border-radius:5px;background:#f2eef0;color:#42373d;text-align:left}
.rm-filter-applied-chip:hover{background:#eadde2;color:#a81e3e}
.rm-filter-clear-all{padding:7px;border:0;background:none;color:#786c72;text-decoration:underline;text-underline-offset:3px}
.rm-filter-ready button:focus-visible,.rm-filter-dialog :is(button,input,summary):focus-visible{outline:2px solid #a81e3e;outline-offset:3px}
body.rm-filter-modal-open{overflow:hidden!important}
.rm-filter-dialog{--rm-filter-accent:#a81e3e;position:fixed;inset:0 0 0 auto;box-sizing:border-box;width:min(500px,100%);max-width:100%;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:#302c30;font:14px/1.45 Arial,Helvetica,sans-serif;box-shadow:-10px 0 48px rgba(33,23,29,.16);overflow:hidden}
.rm-filter-dialog:not([open]){display:none}.rm-filter-dialog[open]{display:flex;flex-direction:column}
.rm-filter-dialog::backdrop{background:rgba(24,19,23,.26)}
.rm-filter-dialog--single{inset:auto;width:380px;max-width:calc(100vw - 32px);height:auto;max-height:min(650px,calc(100dvh - 32px));border:1px solid #e2dce0;border-radius:12px;box-shadow:0 18px 70px rgba(40,29,35,.18)}
.rm-filter-dialog--single::backdrop{background:rgba(24,19,23,.08)}
.rm-filter-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;padding:20px 24px 16px;border-bottom:1px solid #ebe6e9}
.rm-filter-dialog-head h2{margin:0;font:600 21px/1.2 Arial,Helvetica,sans-serif;letter-spacing:-.025em;text-transform:none;color:#302c30}
.rm-filter-dialog .rm-filter-close{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:#f5f2f4;color:#57464f;font-size:27px;font-weight:400}
.rm-filter-close:hover{background:#ecdee3}
.rm-filter-dialog-body{flex:1 1 auto;overflow:auto;overscroll-behavior:contain;padding:8px 24px;min-height:0;scrollbar-width:thin;scrollbar-color:#c5b7be transparent}
.rm-filter-dialog--single .rm-filter-dialog-body{padding:18px 20px}
.rm-filter-dialog-footer{flex-shrink:0;padding:14px 24px 22px;border-top:1px solid #ebe6e9;background:#fff}
.rm-filter-status{margin:0 0 12px;font-size:12px;line-height:1.45;color:#81767c}
.rm-filter-actions{display:flex;align-items:center;gap:12px}
.rm-filter-dialog .rm-filter-reset{padding:8px 0;border:0;background:none;color:#76676f;text-align:left;min-height:44px}
.rm-filter-dialog .rm-filter-apply{flex:1;min-height:46px;padding:12px 16px;border:1px solid #29262b;border-radius:6px;background:#29262b;color:#fff;font-weight:600}
.rm-filter-dialog .rm-filter-apply:hover{background:#a81e3e;border-color:#a81e3e}
.rm-filter-dialog .rm-filter-apply:disabled{opacity:.55;cursor:wait}
.rm-filter-error{margin:0 0 10px;font-size:13px;color:#ab1735}.rm-filter-error[hidden]{display:none}
.rm-filter-group{margin:0;padding:0;border-bottom:1px solid #ece7ea}
.rm-filter-group>summary{display:flex;align-items:center;gap:10px;min-height:56px;list-style:none;padding:16px 0;cursor:pointer;font-weight:600;font-size:15px;color:#393137}
.rm-filter-group>summary::-webkit-details-marker{display:none}.rm-filter-group>summary::after{content:'+';margin-left:auto;font-size:20px;font-weight:400;color:#8e7c85}.rm-filter-group[open]>summary::after{content:'−'}
.rm-filter-group-count{font-size:11px;color:#a81e3e}.rm-filter-group-count:empty{display:none}
.rm-filter-group-body{padding:0 0 18px}.rm-filter-subtitle{margin:16px 0 10px;font-size:13px;font-weight:600;color:#83727b}.rm-filter-subtitle:first-child{margin-top:0}
.rm-filter-dialog input.rm-filter-search{display:block;box-sizing:border-box;width:100%;height:42px;margin:0 0 12px;padding:10px 12px;border:1px solid #ded7dc;border-radius:6px;background:#faf8f9;color:#302c30;font:14px Arial,Helvetica,sans-serif;box-shadow:none}
.rm-filter-dialog input.rm-filter-search:focus{border-color:#b28292;background:#fff}
.rm-filter-option-list{display:flex;flex-direction:column;gap:1px;max-height:310px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5b7be transparent;padding:2px 5px 2px 0}
.rm-filter-group .rm-filter-option-list{max-height:260px}
.rm-filter-option{display:flex;align-items:center;gap:11px;min-height:38px;padding:7px 8px;border-radius:5px;cursor:pointer;color:#4b4147;font:14px/1.35 Arial,Helvetica,sans-serif;margin:0}
.rm-filter-option:hover{background:#f9f2f5}.rm-filter-option:has(:checked){color:#981b39;background:#fcf5f7}
.rm-filter-option input{appearance:auto!important;position:static!important;display:block!important;opacity:1!important;flex:0 0 17px;width:17px!important;height:17px!important;margin:0!important;padding:0;accent-color:#a81e3e;cursor:pointer;clip:auto!important}
.rm-filter-option span{min-width:0;overflow-wrap:anywhere}
.rm-filter-more{display:block;margin:10px 0 0;padding:6px 0;border:0;background:none;color:#9f2948;text-decoration:underline;text-underline-offset:3px}.rm-filter-more[hidden],.rm-filter-empty[hidden]{display:none}
.rm-filter-empty{padding:12px 0;color:#8b7d85}
.rm-filter-range-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rm-filter-range-row>label{display:flex;flex-direction:column;gap:7px;margin:0;color:#8a7c84;font-size:12px}
.rm-filter-dialog .rm-filter-range-row input{box-sizing:border-box;width:100%;min-width:0;height:44px;padding:10px 12px;border:1px solid #dcd4d9;border-radius:6px;background:#fff;color:#332b31;font:15px Arial,Helvetica,sans-serif;box-shadow:none}
.rm-filter-range-row input::-webkit-inner-spin-button{-webkit-appearance:none}
.rm-filter-presets{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.rm-filter-presets button{padding:8px 10px;border:1px solid #e4dce1;border-radius:5px;background:#faf7f9;color:#71626b;font-size:12px}
.rm-filter-presets button:hover{border-color:#bf8b9b;color:#9a2140}

/* Clear names, restrained counts and one compact result toolbar. */
.rm-catalog-ready{font-family:Arial,Helvetica,sans-serif}
.rm-catalog-ready .sorting_box{display:none!important}
.rm-catalog-ready .title_box{margin:0!important;padding:0!important}
.rm-catalog-ready .title_box h1{font:600 30px/1.25 Arial,Helvetica,sans-serif!important;text-align:left!important;margin:0 0 24px!important;letter-spacing:-.025em!important}
.rm-catalog-ready .redmay-catalog-toolbar{display:flex!important;gap:12px 20px!important;align-items:center!important;margin:0 0 14px!important;padding:0 0 16px!important;border-bottom:1px solid #e9e5e8!important;background:transparent!important}
.rm-catalog-ready .redmay-catalog-count{margin-right:auto!important;font:400 13px Arial,Helvetica,sans-serif!important;color:#80727a!important;gap:7px!important}
.rm-catalog-ready .redmay-catalog-count strong{font-size:18px!important;font-weight:600!important;color:#302a2e!important}
.rm-catalog-ready .rm-catalog-sort,.rm-catalog-ready .redmay-catalog-pagesize label{display:flex;align-items:center;gap:9px;min-width:0;font:12px Arial,Helvetica,sans-serif;color:#81727b;margin:0}
.rm-catalog-ready .redmay-catalog-pagesize{width:auto!important;margin:0!important}
.rm-catalog-ready .redmay-catalog-toolbar select{min-height:40px;max-width:100%;padding:8px 26px 8px 10px;border:1px solid #e2dce0;border-radius:5px;background:#fff;color:#45363e;font:13px Arial,Helvetica,sans-serif;cursor:pointer}
.rm-catalog-ready .redmay-catalog-toolbar select:focus-visible{outline:2px solid #a81e3e;outline-offset:2px}
.rm-catalog-ready .redmay-catalog-sidebar{padding-top:0!important;min-width:0}
.rm-catalog-ready .redmay-catalog-tree{padding:16px 12px!important;border:1px solid #e8e3e6!important;border-radius:10px!important;box-shadow:none!important;background:#fff!important}
.rm-catalog-ready .redmay-catalog-tree>.title{padding:0 6px 12px!important;margin:0 0 7px!important;min-height:32px!important;font:600 15px Arial,Helvetica,sans-serif!important;border-bottom:1px solid #ebe6e9!important;color:#43343d!important}
.rm-catalog-ready .redmay-catalog-tree>.title::before{content:none!important}
.rm-catalog-ready .redmay-tree-row{gap:2px!important;align-items:center!important}
.rm-catalog-ready .redmay-tree-row>a{order:0!important;display:flex!important;align-items:center!important;gap:4px!important;padding:8px 7px!important;min-height:37px!important;border:0!important;border-radius:5px!important;background:none!important;font:400 13px/1.4 Arial,Helvetica,sans-serif!important;color:#55484f!important}
.rm-catalog-ready .redmay-tree-level-1>.redmay-tree-item>.redmay-tree-row>a{font-size:14px!important;font-weight:500!important}
.rm-catalog-ready .redmay-tree-row>a:hover{background:#fbf1f5!important;color:#a81e3e!important}
.rm-catalog-ready .redmay-tree-item.is-current>.redmay-tree-row>a{background:#f8eaf0!important;color:#9e2644!important;font-weight:600!important}
.rm-catalog-ready .redmay-tree-name{min-width:0!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.4!important;flex:1!important}
.rm-catalog-ready .redmay-tree-count{margin-left:2px!important;font-size:10px!important;font-weight:400!important;color:#73696f!important}
.rm-catalog-ready .redmay-tree-toggle{order:1!important;flex:0 0 25px!important;width:25px!important;height:32px!important;border-radius:4px!important}
.rm-catalog-ready .redmay-tree-toggle.is-empty{display:none!important}.rm-catalog-ready .redmay-tree-toggle:not(.is-empty)::before{left:8px!important;top:12px!important;border-color:#9f8f97!important}
.rm-catalog-ready .redmay-tree-level-2,.rm-catalog-ready .redmay-tree-level-3{margin:2px 0 5px 7px!important;padding-left:7px!important;border-left:1px solid #ece3e8!important}
.rm-catalog-ready .redmay-tree-level-3 .redmay-tree-name::before{content:none!important}
.rm-catalog-ready .catalog__section-list.brand{border-radius:10px!important;border-color:#e8e3e6!important}
.rm-catalog-ready .catalog__section-list.brand a{white-space:normal!important;font:400 13px/1.5 Arial,Helvetica,sans-serif!important;color:#55484f!important}
.rm-catalog-ready .catalog__section-list.brand a.brend-active{color:#a81e3e!important}
@media(min-width:1101px){.catalog__content.redmay-catalog-layout.rm-catalog-ready{grid-template-columns:230px minmax(0,1fr)!important;gap:28px!important}}
@media(max-width:1100px) and (min-width:761px){.catalog__content.redmay-catalog-layout.rm-catalog-ready{grid-template-columns:205px minmax(0,1fr)!important;gap:20px!important}.rm-filter-head{padding:10px}.rm-catalog-ready .redmay-catalog-toolbar{gap:10px!important}.rm-catalog-ready .rm-catalog-sort{margin-left:0}}
@media(max-width:760px){
 .catalog__content.redmay-catalog-layout.rm-catalog-ready{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important}
 .rm-catalog-ready .redmay-catalog-main,.rm-catalog-ready .redmay-catalog-sidebar{box-sizing:border-box!important;width:100%!important;max-width:100%!important}
 .rm-catalog-ready .redmay-catalog-tree{padding:8px 12px!important}.rm-catalog-ready .redmay-catalog-tree>.title{min-height:44px!important;margin:0!important;padding:0 2px!important;border-bottom:0!important}
 .rm-catalog-ready .redmay-tree-collapse{width:44px!important;height:44px!important}.rm-catalog-ready .redmay-tree-toggle{height:40px!important;flex-basis:32px!important;width:32px!important}.rm-catalog-ready .redmay-tree-toggle:not(.is-empty)::before{top:15px!important;left:12px!important}
 .rm-catalog-ready .redmay-tree-row>a{min-height:42px!important}.rm-catalog-ready .title_box h1{font-size:25px!important;margin:4px 0 16px!important}
 .rm-filter-head{padding:0;border:0;border-radius:0;gap:10px}.rm-filter-quick{flex-basis:100%;flex-wrap:nowrap;overflow:auto;padding:2px 1px 6px;scrollbar-width:none}.rm-filter-quick::-webkit-scrollbar{display:none}
 .rm-filter-chip{flex-shrink:0;min-height:44px;padding:10px 13px}.rm-filter-all{margin:0;width:100%;min-height:44px}
 .rm-filter-dialog,.rm-filter-dialog--single{inset:auto 0 0!important;width:100%!important;max-width:100%!important;height:90dvh;max-height:90dvh;margin:0;border:0;border-radius:16px 16px 0 0}
 .rm-filter-dialog--single{height:auto;max-height:86dvh}.rm-filter-dialog::backdrop{background:rgba(24,19,23,.28)}
 .rm-filter-dialog-head{padding:12px 16px}.rm-filter-dialog-head h2{font-size:20px}.rm-filter-dialog-body,.rm-filter-dialog--single .rm-filter-dialog-body{padding:12px 16px}
 .rm-filter-dialog-footer{padding:12px 16px max(16px,env(safe-area-inset-bottom))}.rm-filter-dialog--single .rm-filter-option-list{max-height:44dvh}
 .rm-filter-dialog input.rm-filter-search,.rm-filter-dialog .rm-filter-range-row input{font-size:16px}.rm-filter-option{min-height:44px}
 .rm-catalog-ready .redmay-catalog-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}
 .rm-catalog-ready .redmay-catalog-count{grid-column:1/-1!important}.rm-catalog-ready .rm-catalog-sort,.rm-catalog-ready .redmay-catalog-pagesize label{font-size:0;gap:0}
 .rm-catalog-ready .redmay-catalog-toolbar select{min-height:44px;font-size:12px;width:100%}.rm-catalog-ready .redmay-catalog-pagesize select{min-width:58px}
}
@media(prefers-reduced-motion:reduce){.rm-filter-chip,.rm-filter-all{transition:none}}

/* The current category is the visible H1 in the breadcrumb row, above the filters. */
.main_content>.breadcrumbs:has(.rm-catalog-breadcrumb-title){padding:12px 0!important;margin:0!important}
.rm-catalog-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:4px 5px;min-width:0}
.breadcrumbs .rm-catalog-breadcrumbs .breadcrumbs_item{display:inline-flex;align-items:center;max-width:100%;font:13px/1.5 Arial,Helvetica,sans-serif}
.breadcrumbs .rm-catalog-breadcrumb-title{display:block;margin:0!important;padding:0!important;max-width:100%;font:600 20px/1.3 Arial,Helvetica,sans-serif!important;letter-spacing:-.02em!important;text-transform:none!important;text-align:left!important;color:#302a2e!important;overflow-wrap:break-word}
.rm-catalog-compact>.redmay-catalog-main{padding-top:0!important}
@media(max-width:760px){
 .main_content>.breadcrumbs:has(.rm-catalog-breadcrumb-title){padding:9px 0!important}
 .breadcrumbs .rm-catalog-breadcrumb-title{font-size:18px!important}
 .breadcrumbs .rm-catalog-breadcrumbs .breadcrumbs_item{font-size:12px}
}
