/* MH Филтър — светъл, чист, без черно. Работи и без JavaScript. */
.mhf{--mhf-line:#e3e6ea;--mhf-text:#1f2733;--mhf-mute:#7a8694;--mhf-acc:#c8102e;--mhf-bg:#fff;
     display:block;background:var(--mhf-bg);color:var(--mhf-text);font-size:14px;line-height:1.45}
.mhf-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.mhf-head{display:none;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--mhf-line)}
.mhf-title{margin:0;font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:13px}
.mhf-x{color:var(--mhf-text);line-height:0}

/* чипове */
.mhf-chipove ul{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.mhf-chip,.mhf-chip-chist{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;
  font-size:12.5px;text-decoration:none;border:1px solid var(--mhf-line)}
.mhf-chip{background:#f4f6f8;color:var(--mhf-text)}
.mhf-chip i{width:9px;height:9px;position:relative;opacity:.55}
.mhf-chip i:before,.mhf-chip i:after{content:"";position:absolute;left:4px;top:0;width:1.5px;height:9px;background:currentColor}
.mhf-chip i:before{transform:rotate(45deg)}.mhf-chip i:after{transform:rotate(-45deg)}
.mhf-chip:hover{border-color:var(--mhf-acc);color:var(--mhf-acc)}
.mhf-chip-chist{background:none;color:var(--mhf-acc);border-style:dashed}

/* групи */
.mhf-g{border-bottom:1px solid var(--mhf-line)}
.mhf-g>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;
  padding:12px 2px;font-weight:600;font-size:13.5px;user-select:none}
.mhf-g>summary::-webkit-details-marker{display:none}
.mhf-g>summary i{width:11px;height:11px;position:relative;flex:0 0 auto;opacity:.6}
.mhf-g>summary i:before,.mhf-g>summary i:after{content:"";position:absolute;background:currentColor;transition:transform .15s}
.mhf-g>summary i:before{left:0;top:5px;width:11px;height:1.5px}
.mhf-g>summary i:after{left:4.75px;top:0;width:1.5px;height:11px}
.mhf-g[open]>summary i:after{transform:scaleY(0)}
.mhf-g-in{padding:0 2px 14px}
.mhf-g--razmer>summary{color:var(--mhf-mute)}

/* списък със стойности */
.mhf-spisak{list-style:none;margin:0;padding:0;max-height:280px;overflow:auto}
.mhf-chk{display:flex;align-items:center;gap:9px;padding:6px 2px;text-decoration:none;color:var(--mhf-text)}
.mhf-chk-box{flex:0 0 auto;width:16px;height:16px;border:1.5px solid #c3cad2;border-radius:3px;position:relative;background:#fff}
.mhf-chk[aria-pressed="true"] .mhf-chk-box{border-color:var(--mhf-acc);background:var(--mhf-acc)}
.mhf-chk[aria-pressed="true"] .mhf-chk-box:after{content:"";position:absolute;left:4.5px;top:1px;width:5px;height:9px;
  border:solid #fff;border-width:0 2px 2px 0;transform:rotate(43deg)}
.mhf-chk-t{flex:1 1 auto}
.mhf-chk-n{flex:0 0 auto;color:var(--mhf-mute);font-size:12.5px;font-variant-numeric:tabular-nums}
.mhf-chk:hover .mhf-chk-t{color:var(--mhf-acc)}
.mhf-oshte-red{display:none}
.mhf-spisak.mhf-otvoren .mhf-oshte-red{display:block}
.mhf-vsichki{background:none;border:0;padding:6px 2px;color:var(--mhf-acc);font-size:12.5px;cursor:pointer;text-decoration:underline}

/* диапазон */
.mhf-rng{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}
.mhf-rng-f{flex:1 1 0;min-width:84px}
.mhf-rng-f span,.mhf-mqsto-poleta span{display:block;font-size:11.5px;color:var(--mhf-mute);margin-bottom:3px}
.mhf-rng input,.mhf-mqsto-poleta input{width:100%;padding:7px 9px;border:1px solid var(--mhf-line);border-radius:5px;font-size:13.5px;background:#fff}
.mhf-rng input:focus,.mhf-mqsto-poleta input:focus{outline:none;border-color:var(--mhf-acc)}
.mhf-podskazka{margin:8px 0 0;font-size:12px;color:var(--mhf-mute)}

/* „мястото ми е“ */
.mhf-mqsto{border-bottom:2px solid var(--mhf-line);background:#fafbfc;margin:0 -2px 4px;padding:0 10px;border-radius:6px}
.mhf-mqsto-poleta{display:flex;gap:8px;margin-bottom:8px}
.mhf-mqsto-poleta label{flex:1 1 0}

/* бутони */
.mhf-btn{display:inline-block;padding:8px 14px;border:1px solid var(--mhf-line);border-radius:6px;background:#fff;
  color:var(--mhf-text);font-size:13px;font-weight:600;cursor:pointer;text-decoration:none;text-align:center}
.mhf-btn--s{padding:7px 11px;font-size:12.5px}
.mhf-btn:hover{border-color:var(--mhf-acc);color:var(--mhf-acc)}
.mhf-btn--accent{background:var(--mhf-acc);border-color:var(--mhf-acc);color:#fff;width:100%}
.mhf-btn--accent:hover{color:#fff;opacity:.92}

/* още филтри */
.mhf-oshte>summary{list-style:none;cursor:pointer;padding:12px 2px;color:var(--mhf-acc);font-size:13px;font-weight:600}
.mhf-oshte>summary::-webkit-details-marker{display:none}
.mhf-oshte-b{display:none}
.mhf-oshte[open]>summary .mhf-oshte-a{display:none}
.mhf-oshte[open]>summary .mhf-oshte-b{display:inline}

/* празно състояние */
.mhf-prazno{padding:14px;margin-bottom:12px;border:1px solid var(--mhf-line);border-radius:8px;background:#fffaf9}
.mhf-prazno-t{margin:0 0 6px;font-weight:700}
.mhf-prazno-s{margin:0 0 10px;font-size:13px;color:var(--mhf-text)}

/* долен бутон — само на телефон */
.mhf-foot{display:none;padding:12px 16px;border-top:1px solid var(--mhf-line);background:#fff}

/* лентата над продуктите */
.mhf-lenta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.mhf-lenta-btn{display:none;align-items:center;gap:8px}
.mhf-lenta-n{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;
  border-radius:999px;background:var(--mhf-acc);color:#fff;font-size:11.5px;font-weight:700}
.mhf-lenta-res{margin:0;color:var(--mhf-mute);font-size:13px}

/* ТЕЛЕФОН: долен панел */
@media (max-width:991px){
  .mhf{position:fixed;left:0;right:0;bottom:0;top:auto;max-height:82vh;z-index:9999;border-radius:16px 16px 0 0;
       box-shadow:0 -8px 40px rgba(0,0,0,.22);transform:translateY(102%);transition:transform .25s ease;
       display:flex;flex-direction:column;overflow:hidden}
  .mhf.mhf-otvoren{transform:translateY(0)}
  .mhf-head{display:flex}
  .mhf-head:before{content:"";position:absolute;top:6px;left:50%;transform:translateX(-50%);width:38px;height:4px;
       border-radius:3px;background:#d7dde3}
  .mhf-body{flex:1 1 auto;overflow:auto;padding:0 16px}
  .mhf-chipove{padding:12px 16px 0}
  .mhf-prazno{margin:12px 16px}
  .mhf-foot{display:block}
  .mhf-lenta-btn{display:inline-flex}
  .mhf-zavesa{position:fixed;inset:0;background:rgba(15,20,28,.45);z-index:9998;opacity:0;pointer-events:none;transition:opacity .2s}
  .mhf-zavesa.mhf-otvoren{opacity:1;pointer-events:auto}
  .left-column-disabled #column-left,#column-left{display:block !important;position:static;width:auto;padding:0;margin:0;background:none;border:0}
  #column-left>*:not(.mhf){display:none !important}
}
.mhf-zarejda{opacity:.45;transition:opacity .15s}
.mhf-lenta-chipove{display:none}
@media(min-width:992px){.mhf-lenta-chipove{display:block;flex:1 1 auto}.mhf-lenta-chipove ul{margin:0}}
@media(min-width:992px){.mhf .mhf-chipove{display:none}}