.hkufm-bar,.hkufm-price-inputs{display:none}
.hkufm-dialog:not([open]){display:none}
.hkufm-dialog{direction:rtl;box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:640px;max-height:90vh;max-height:90dvh;padding:0;border:0;border-radius:24px 24px 0 0;background:#fff;color:#001e4b;overflow:hidden;box-shadow:0 -8px 40px #001e4b22;font-family:inherit}
.hkufm-dialog[open]{display:flex;flex-direction:column}
.hkufm-dialog::backdrop{background:rgba(0,0,0,.48)}
.hkufm-dialog *{box-sizing:border-box}
.hkufm-dialog [hidden],.hkufm-bar [hidden]{display:none!important}
.hkufm-handle{height:5px;min-height:5px;width:46px;margin:11px auto 2px;background:#dcdfe5;border-radius:5px}
.hkufm-head{display:flex;flex:none;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:6px 16px;border-bottom:1px solid #f0f2f5}
.hkufm-head h2{flex:1;margin:0;text-align:center;font-size:17px;font-weight:700;line-height:1.8}
.hkufm-head button{display:grid;place-items:center;flex:none;width:40px;height:40px;border:0;background:transparent;color:inherit;font:inherit;font-size:28px;cursor:pointer;border-radius:50%}
.hkufm-back{font-size:34px!important}
.hkufm-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 16px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.hkufm-footer{display:flex;flex:none;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid #edf0f5;background:inherit}
.hkufm-footer button{min-height:46px;padding:9px 18px;border:0;border-radius:28px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.hkufm-apply{flex:1;background:var(--hk-primary,#001ee6);color:#fff}.hkufm-clear{background:#eef0f3;color:#001e4b}
.hkufm-footer button:disabled{opacity:.6;cursor:wait}
.hkufm-status{flex:none;padding:8px 16px;margin:0;font-size:13px;line-height:1.8;color:#b92d24;background:#fff3ee}
.hkufm-dialog button:focus-visible,.hkufm-bar button:focus-visible{outline:2px solid var(--hk-primary,#001ee6);outline-offset:-3px}
.hkufm-sort-options{padding:4px 0 calc(18px + env(safe-area-inset-bottom,0px))}
.hkufm-sort-row{display:flex;align-items:center;gap:13px;min-height:61px;padding:10px 4px;font-size:16px;cursor:pointer}
.hkufm-sort-row input{width:23px;height:23px;margin:0;accent-color:var(--hk-primary,#001ee6)}
.hkufm-dialog .hkuf-panel{border:0;border-radius:0;background:transparent;color:inherit;overflow:visible}
.hkufm-dialog .hkuf-heading,.hkufm-dialog .hkuf-actions{display:none}
.hkufm-dialog .hkuf-panel form{display:flex;flex-direction:column;gap:0;padding:0}
.hkufm-dialog .hkuf-panel details{padding:20px 0;border-bottom:1px solid #eef0f3}
.hkufm-dialog .hkuf-panel summary{font-size:15px;line-height:1.8;min-height:24px}
.hkufm-dialog[data-view=all] .hkuf-panel summary::after{transform:rotate(45deg);margin-top:7px}
.hkufm-dialog .hkuf-panel .hkufm-selected>summary::before{content:'';display:inline-block;width:7px;height:7px;margin-inline-end:7px;border-radius:50%;background:var(--hk-primary,#001ee6)}
.hkufm-dialog:not([data-view=all]) .hkuf-panel details>summary{display:none}
.hkufm-dialog[data-view=all] .hkuf-availability{order:-1;padding:0}
.hkufm-dialog[data-view=all] .hkuf-availability>summary{display:none}
.hkufm-dialog .hkuf-switches label{font-size:15px;min-height:68px;padding:16px 0}
.hkufm-dialog .hkuf-switches i{width:48px;height:28px;background:#e7ebee}
.hkufm-dialog .hkuf-switches i::after{width:22px;height:22px;top:3px;left:3px}
.hkufm-dialog .hkuf-switches input:checked+i{background:var(--hk-primary,#001ee6)}
.hkufm-dialog .hkuf-switches input:checked+i::after{transform:translateX(20px)}
.hkufm-dialog .hkuf-switches input{width:48px;height:28px}
.hkufm-dialog .hkuf-options{max-height:none;overflow:visible;margin-top:14px}
.hkufm-dialog .hkuf-option{min-height:46px;margin:2px 0;font-size:15px;gap:12px}
.hkufm-dialog .hkuf-option input{width:21px;height:21px}
.hkufm-dialog .hkuf-option small{font-size:12px}
.hkufm-dialog .hkuf-search{position:sticky;top:0;margin:0;padding:4px 0 10px;background:inherit;z-index:1}
.hkufm-dialog .hkuf-search input{height:48px;border:0;border-radius:28px;background:#eef0f3;font-size:14px;padding:10px 18px}
.hkufm-dialog .hkuf-price-values{display:none}
.hkufm-dialog .hkufm-price-inputs{display:grid;gap:22px;margin:6px 0 24px}
.hkufm-price-inputs label{display:grid;gap:10px;font-size:15px;font-weight:600}
.hkufm-price-wrap{display:flex;align-items:center;gap:10px;padding:0 14px;border-radius:10px;background:#eef0f3}
.hkufm-price-wrap input{flex:1;width:0;min-width:0;height:48px;border:0;background:transparent;box-shadow:none;font:inherit;font-weight:400;direction:ltr;text-align:left;color:inherit}
.hkufm-price-wrap small{font-size:12px;font-weight:400;color:#6b7280}
.hkufm-dialog .hkuf-range{margin:24px 10px 5px;height:44px}
.hkufm-dialog .hkuf-range-track{height:5px;background:linear-gradient(to right,#dce3ee 0,#dce3ee var(--hkuf-from),var(--hk-primary,#001ee6) var(--hkuf-from),var(--hk-primary,#001ee6) var(--hkuf-to),#dce3ee var(--hkuf-to),#dce3ee 100%)}
.hkufm-dialog .hkuf-range input[type=range]::-webkit-slider-thumb{width:25px;height:25px;margin-top:-10px;border-color:var(--hk-primary,#001ee6);background:var(--hk-primary,#001ee6)}
.hkufm-dialog .hkuf-range input[type=range]::-moz-range-thumb{width:23px;height:23px;border-color:var(--hk-primary,#001ee6);background:var(--hk-primary,#001ee6)}
.hkuf-error{color:#b92d24;font-size:13px;padding:12px}.hkuf-error[hidden]{display:none}
@media(max-width:760px){
 .hkuf-host.hkufm-host{display:none!important}
 .hkufm-desktop-sort{display:none!important}
 .hkufm-bar.is-ready{display:flex;direction:rtl;align-items:center;gap:8px;width:100%;max-width:100%;min-width:0;padding:9px 0;margin:0 0 14px;color:var(--hk-text,#001e4b);background:transparent}
 .hkufm-bar button{font:inherit;color:inherit;background:#fff;border:1px solid #dce3ee;cursor:pointer;flex:none;min-height:38px}
 .hkufm-round{position:relative;display:grid;place-items:center;width:38px;height:38px;padding:6px;border-radius:50%}
 .hkufm-icon{display:inline-flex;align-items:center;justify-content:center;flex:none}
 .hkufm-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .hkufm-badge{position:absolute;top:-5px;right:-3px;min-width:17px;height:17px;line-height:17px;border-radius:12px;background:var(--hk-primary,#001ee6);color:white;font-size:10px;text-align:center;padding:0 3px}
 .hkufm-chips{display:flex;align-items:center;gap:8px;overflow-x:auto;min-width:0;scrollbar-width:none;padding:2px 0}.hkufm-chips::-webkit-scrollbar{display:none}
 .hkufm-chip{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:6px 13px;border-radius:24px;font-size:12px!important;white-space:nowrap}
 .hkufm-chip .hkufm-icon svg{width:16px;height:16px}
 .hkufm-chip.is-active{border-color:var(--hk-primary,#001ee6);background:#edf1ff;color:var(--hk-primary,#001ee6)}
}
html[data-hk-theme=dark] .hkufm-dialog{background:var(--hk-surface,#1a2433);color:var(--hk-text,#e8eef8)}
html[data-hk-theme=dark] .hkufm-head,html[data-hk-theme=dark] .hkufm-footer,html[data-hk-theme=dark] .hkufm-dialog .hkuf-panel details{border-color:var(--hk-border,#354358)}
html[data-hk-theme=dark] .hkufm-bar button,html[data-hk-theme=dark] .hkufm-clear,html[data-hk-theme=dark] .hkufm-price-wrap{background:var(--hk-surface,#1a2433);color:var(--hk-text,#e8eef8);border-color:var(--hk-border,#354358)}

.hkufm-dialog .hkuf-search{background:#fff}
html[data-hk-theme=dark] .hkufm-dialog .hkuf-search{background:var(--hk-surface,#1a2433)}
html[data-hk-theme=dark] .hkufm-chip.is-active{background:var(--hk-primary-soft,#253453);border-color:var(--hk-primary,#4164ed);color:#b7c6ff}
