/* Keep Bootstrap offcanvas opening and Bitrix filtering; restyle its contents only. */
#filterShop.mv-filter { width:420px; max-width:100%; background:#fff; color:#202020; }
#filterShop.mv-filter .canvas-wrapper { display:flex; flex-direction:column; height:100%; min-height:0; padding:0; }
#filterShop.mv-filter .canvas-header { flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:76px; padding:16px 24px; border-bottom:1px solid #e9e9e9; }
#filterShop.mv-filter .canvas-header h5 { display:flex; align-items:center; gap:10px; margin:0; font-size:22px; line-height:1.3; color:#202020; }
#filterShop.mv-filter .mv-filter-close { flex:0 0 44px; display:flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:#f3f3f3; color:#202020; font:32px/1 Arial,sans-serif; cursor:pointer; }
#filterShop.mv-filter .mv-filter-close:hover { color:#b11818; background:#fceeee; }
#filterShop.mv-filter .canvas-body { flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding:8px 24px 24px; overscroll-behavior:contain; }
#filterShop.mv-filter .smart-filter { margin:0!important; }
#filterShop.mv-filter .smart-filter-form > .row { margin:0; display:block; }
#filterShop.mv-filter .smart-filter-parameters-box { width:100%; margin:0!important; padding:0; border-bottom:1px solid #e9e9e9; }
#filterShop.mv-filter .smart-filter-parameters-box-title { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; padding:16px 0; color:#202020; font-size:15px; font-weight:600; line-height:1.5; cursor:pointer; }
#filterShop.mv-filter .smart-filter-parameters-box-title-text { min-width:0; overflow-wrap:anywhere; }
#filterShop.mv-filter .smart-filter-angle { display:none; }
#filterShop.mv-filter .smart-filter-parameters-box-title::after { content:'+'; flex-shrink:0; color:#666; font:24px/1 Arial,sans-serif; }
#filterShop.mv-filter .smart-filter-parameters-box-title[aria-expanded=true]::after { content:'−'; }
#filterShop.mv-filter .smart-filter-parameters-box-container { padding:0 0 18px; }
#filterShop.mv-filter .smart-filter-input-group-checkbox-list { display:flex; flex-direction:column; gap:4px; }
#filterShop.mv-filter .form-check { display:flex; align-items:center; position:relative; min-height:44px; margin:0!important; padding:0 12px; border-radius:8px; background:#f7f7f7; }
#filterShop.mv-filter .form-check:has(input:checked) { background:#fbefef; }
#filterShop.mv-filter .form-check-input { appearance:auto; -webkit-appearance:checkbox; position:static; float:none; flex-shrink:0; width:18px; height:18px; margin:0 12px 0 0; padding:0; opacity:1; border-radius:4px; accent-color:#b11818; cursor:pointer; }
#filterShop.mv-filter .form-check-label { display:flex; align-items:center; flex:1; min-height:44px; margin:0; padding:8px 0; color:#303030; font-size:15px; line-height:1.5; cursor:pointer; overflow-wrap:anywhere; }
#filterShop.mv-filter .form-check-label::before,#filterShop.mv-filter .form-check-label::after { display:none; }
#filterShop.mv-filter .form-check:has(input:disabled) { opacity:.45; }
#filterShop.mv-filter .form-check-input:disabled,#filterShop.mv-filter .form-check-input:disabled + label { cursor:not-allowed; }
#filterShop.mv-filter input[type=text],#filterShop.mv-filter input[type=number],#filterShop.mv-filter input[type=search],#filterShop.mv-filter select { width:100%; max-width:100%; min-width:0; height:46px; padding:10px 12px; border:1px solid #d5d5d5; border-radius:8px; background:#fff; color:#202020; font-family:inherit; font-size:16px; line-height:1.4; box-sizing:border-box; }
#filterShop.mv-filter .mv-filter-search { display:block; margin:0 0 12px; }
#filterShop.mv-filter .mv-filter-search > span { display:block; margin-bottom:6px; color:#666; font-size:12px; }
#filterShop.mv-filter .mv-filter-empty { margin:12px 0; color:#777; font-size:14px; }
#filterShop.mv-filter [hidden] { display:none!important; }
#filterShop.mv-filter .canvas-bottom { flex:0 0 auto; padding:16px 24px max(16px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #e9e9e9; box-shadow:0 -6px 20px #00000005; }
#filterShop.mv-filter .canvas-body .smart-filter-button-box { display:none; }
#filterShop.mv-filter .mv-filter-actions { display:grid; grid-template-columns:1.35fr 1fr; gap:10px; }
#filterShop.mv-filter .smart-filter-button-box .smart-filter-block { display:block!important; height:auto!important; overflow:visible!important; }
#filterShop.mv-filter .smart-filter-button-box .smart-filter-parameters-box-container { display:grid; grid-template-columns:1.35fr 1fr; gap:10px; padding:0; }
#filterShop.mv-filter #mv-filter-apply,#filterShop.mv-filter #mv-filter-reset { display:flex; align-items:center; justify-content:center; width:100%; min-width:0; height:48px; margin:0; padding:10px 8px; border:1px solid #b11818; border-radius:8px; background:#b11818; color:#fff; font-family:inherit; font-size:14px; font-weight:600; line-height:1.4; text-decoration:none; cursor:pointer; }
#filterShop.mv-filter #mv-filter-reset { border-color:#ddd; color:#444; background:#fff; }
#filterShop.mv-filter #mv-filter-apply:hover { background:#941414; }
#filterShop.mv-filter #mv-filter-reset:hover { background:#f5f5f5; }
#filterShop.mv-filter .smart-filter-popup-result { position:static!important; grid-column:1/-1; max-width:100%; margin:4px 0 0; box-shadow:none; border:0; background:#f7f7f7; color:#555; padding:10px; font-size:13px; }
#filterShop.mv-filter .smart-filter-popup-result .arrow { display:none; }
#filterShop.mv-filter input:focus-visible,#filterShop.mv-filter button:focus-visible,#filterShop.mv-filter [role=button]:focus-visible { outline:2px solid #b11818; outline-offset:3px; }
@media(max-width:575px){
 #filterShop.mv-filter { width:min(100%,420px); }
 #filterShop.mv-filter .canvas-header { padding:12px 18px; min-height:68px; }
 #filterShop.mv-filter .canvas-header h5 { font-size:20px; }
 #filterShop.mv-filter .canvas-body { padding:4px 18px 20px; }
 #filterShop.mv-filter .canvas-bottom { padding:14px 18px max(14px,env(safe-area-inset-bottom)); }
}
