.cmf-controls { display: none; }
.cmf-empty { width: 100%; padding: 24px; text-align: center; }
.cmf-empty h2 { font-size: 1.25rem; }
.cmf-empty p { margin: 12px 0; }
@media (max-width: 700px) {
    #novostroyki[data-mobile-catalog] .filter-nov { display: none; }
    #novostroyki[data-mobile-catalog] { padding-top: 24px; }
    #novostroyki[data-mobile-catalog] h1 { width: 100%; max-width: 100%; margin: 0; font-size: 1.65rem; line-height: 1.2; text-align: left; }
    #novostroyki[data-mobile-catalog] .area { margin-top: 18px; }
    #consultant { display: none !important; }
    .cmf-controls { display: block; margin-top: 20px; text-align: left; }
    .cmf-controls, .cmf-dialog { text-align: left; color: #333; font-size: 16px; line-height: 1.4; }
    .cmf-controls *, .cmf-dialog * { box-sizing: border-box; }
    .cmf-controls button, .cmf-dialog button { font: inherit; text-transform: none; }
    .cmf-controls a, .cmf-dialog a { text-decoration: none; }
    .cmf-toolbar { display: flex; gap: 10px; align-items: stretch; }
    .cmf-open { width: 100%; display: flex; gap: 7px; align-items: center; justify-content: center; padding: 9px 10px; min-height: 44px; border: 1px solid var(--blue, #329bdb); border-radius: 8px; background: #fff; color: #197bb8; font-weight: 600 !important; cursor: pointer; }
    .cmf-open svg { flex-shrink: 0; }
    .cmf-chip { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 40px; padding: 8px 10px; border-radius: 6px; background: #f1f3f5; color: #444; white-space: nowrap; font-size: 13px; flex-shrink: 0; }
    .cmf-chip.is-selected { color: #146b9f; background: #e2f2ff; }
    .cmf-modal #cmf-dialog { padding: 0; height: 100dvh; max-height: none; border: 0; overflow: hidden; overscroll-behavior: contain; }
    .cmf-panel { display: flex; flex-direction: column; width: 100%; height: 100%; margin: 0; }
    .cmf-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: max(12px, env(safe-area-inset-top)) 18px 10px; border-bottom: 1px solid #edf0f3; }
    .cmf-header h2 { margin: 0; font-size: 24px; font-weight: 600; }
    .cmf-close { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #64717c; font-size: 32px !important; cursor: pointer; }
    .cmf-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 18px 20px; -webkit-overflow-scrolling: touch; }
    .cmf-choices { display: flex; flex-wrap: wrap; gap: 7px; }
    .cmf-choices .cmf-chip { max-width: 100%; white-space: normal; overflow-wrap: anywhere; text-align: left; }
    .cmf-footer { display: flex; gap: 10px; flex-shrink: 0; padding: 12px 18px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e1e6eb; background: white; }
    .cmf-dialog :focus-visible, .cmf-controls :focus-visible { outline: 2px solid #197bb8; outline-offset: 2px; }
    .cmf-current { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: 12px 0 0; font-size: 13px; }
    .cmf-current a { color: #197bb8; }
    .cmf-group { margin: 0 0 22px; padding: 0; }
    .cmf-group h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
    .cmf-all { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; border: 1px solid #329bdb; border-radius: 8px; background: #329bdb; color: white; font-weight: 600; }
}
