/* NargilTech Smart Filters 1.1 – isolated responsive layout for WooCommerce / Elementor.
 * All UI rules are scoped to .ntsf, including the mobile portal. */
.ntsf.ntsf {
  --ntsf-ink:#203347; --ntsf-muted:#697c90; --ntsf-blue:#156be4;
  --ntsf-line:rgba(146,171,196,.32); --ntsf-shadow:0 12px 36px rgba(24,57,84,.075);
  --ntsf-surface:linear-gradient(132deg,rgba(255,255,255,.96),rgba(240,248,255,.91));
  box-sizing:border-box!important; direction:rtl!important; text-align:right!important;
  position:relative; isolation:isolate; display:block; clear:both; width:100%; min-width:0;
  max-width:100%; margin:14px 0 22px!important; padding:0!important;
  font-family:inherit; font-size:14px; font-weight:400; line-height:1.65;
  color:var(--ntsf-ink); overflow:visible;
}
.ntsf.ntsf *, .ntsf.ntsf *::before, .ntsf.ntsf *::after {box-sizing:border-box!important}
.ntsf.ntsf :is(button,input,select){font-family:inherit!important;letter-spacing:normal!important;text-transform:none!important}
.ntsf.ntsf :is(button,summary){cursor:pointer}
.ntsf.ntsf :is(button,a,input,select,summary):focus-visible{outline:3px solid rgba(21,107,228,.35)!important;outline-offset:2px}
.ntsf.ntsf :is(.ntsf-header,.ntsf-panel,.ntsf-core,.ntsf-box,.ntsf-facets,.ntsf-group,.ntsf-form,.ntsf-scroll,.ntsf-footer){min-width:0;max-width:100%}
.ntsf.ntsf .ntsf-header{
  display:flex!important; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px;
  width:100%; margin:0!important; padding:13px 16px!important; border:1px solid var(--ntsf-line);
  border-radius:20px; background:var(--ntsf-surface);
  box-shadow:var(--ntsf-shadow),inset 0 1px 0 #fff;
  -webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%);
}
.ntsf.ntsf .ntsf-heading{display:flex!important;flex:1 1 220px;align-items:center;gap:11px;min-width:0;margin:0}
.ntsf.ntsf .ntsf-heading>div{min-width:0}
.ntsf.ntsf .ntsf-heading strong{display:block;font-size:15px;line-height:1.45;font-weight:800;margin:0;color:var(--ntsf-ink)}
.ntsf.ntsf .ntsf-heading small{display:block;color:var(--ntsf-muted);font-size:11.5px;line-height:1.6;margin:3px 0 0}
.ntsf.ntsf .ntsf-symbol{display:grid!important;flex:0 0 40px;place-items:center;width:40px;height:40px;color:var(--ntsf-blue);background:#e9f2ff;border-radius:13px}
.ntsf.ntsf .ntsf-symbol svg{width:22px;height:22px;display:block}
.ntsf.ntsf .ntsf-header-actions{display:flex!important;gap:8px;align-items:center;flex:0 0 auto;margin:0}
.ntsf.ntsf .ntsf-active-count{display:inline-flex;align-items:center;border-radius:999px;background:#e7f2ff;color:#175ba7;padding:5px 10px;font-size:11px;font-weight:700;white-space:nowrap}
.ntsf.ntsf .ntsf-toggle{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  width:auto!important;max-width:100%;height:auto!important;min-height:40px!important;white-space:nowrap;
  margin:0!important;padding:9px 16px!important;border:0!important;border-radius:12px!important;
  color:#fff!important;background:linear-gradient(125deg,#1884ee,#175fc2)!important;
  font-size:12px!important;line-height:1.4!important;font-weight:750!important;
  box-shadow:0 6px 16px #1267c52b!important;
}
.ntsf.ntsf .ntsf-toggle:hover,.ntsf.ntsf .ntsf-apply:hover{filter:brightness(1.055)}
.ntsf.ntsf .ntsf-toggle svg{width:17px;height:17px;flex:none;transition:transform .2s}
.ntsf.ntsf.is-collapsed .ntsf-toggle svg{transform:rotate(180deg)}
.ntsf.ntsf .ntsf-panel{
  display:block;width:100%;margin:10px 0 0!important;padding:16px!important;
  border:1px solid var(--ntsf-line);border-radius:20px;
  background:var(--ntsf-surface);box-shadow:var(--ntsf-shadow);
  -webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%);
}
.ntsf.ntsf.is-collapsed>.ntsf-panel{display:none}
.ntsf.ntsf .ntsf-mobile-top,.ntsf.ntsf .ntsf-backdrop{display:none}
.ntsf.ntsf .ntsf-form{display:block!important;position:static!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;float:none!important}
.ntsf.ntsf .ntsf-scroll{display:block;width:100%}
.ntsf.ntsf .ntsf-core,.ntsf.ntsf .ntsf-facets{
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;
  gap:10px!important;align-items:start;width:100%;margin:0!important;padding:0!important;
}
.ntsf.ntsf .ntsf-core{margin-bottom:14px!important}
.ntsf.ntsf .ntsf-box{
  display:block;width:100%;margin:0!important;padding:13px!important;
  border:1px solid rgba(159,182,206,.30);border-radius:15px;
  background:rgba(255,255,255,.78);box-shadow:none;min-height:100px;
}
.ntsf.ntsf .ntsf-box-title{
  display:flex!important;align-items:center;flex-wrap:wrap;gap:7px;
  width:100%;margin:0 0 10px!important;padding:0!important;
  color:var(--ntsf-ink)!important;font-size:12.5px!important;font-weight:800!important;
  line-height:1.6!important;border:0!important;background:none!important;
}
.ntsf.ntsf .ntsf-box-title small{font-size:11px;font-weight:500;color:var(--ntsf-muted);margin-inline-start:auto}
.ntsf.ntsf .ntsf-title-dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:#2c98f4;box-shadow:0 0 0 3px #e7f4ff}
.ntsf.ntsf .ntsf-price-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px;width:100%}
.ntsf.ntsf .ntsf-price-fields label{display:flex!important;flex-direction:column;gap:4px;min-width:0;width:100%;margin:0!important;padding:0!important;color:var(--ntsf-muted);font-size:11px;line-height:1.5;font-weight:500}
.ntsf.ntsf .ntsf-price-fields input,.ntsf.ntsf .ntsf-rating-box select{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:40px!important;min-height:40px!important;box-sizing:border-box!important;
  margin:0!important;padding:7px 9px!important;border:1px solid #d5e1ed!important;border-radius:10px!important;
  background:#fff!important;box-shadow:none!important;outline:0!important;
  color:var(--ntsf-ink)!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important;
}
.ntsf.ntsf .ntsf-price-fields input:focus,.ntsf.ntsf .ntsf-rating-box select:focus,.ntsf.ntsf .ntsf-option-search:focus{border-color:var(--ntsf-blue)!important;box-shadow:0 0 0 3px #197ce31c!important}
.ntsf.ntsf .ntsf-switch-box{display:flex!important;flex-direction:column;justify-content:center;gap:14px}
.ntsf.ntsf .ntsf-toggle-row{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px;min-height:30px;width:100%;margin:0!important;padding:0!important;font-size:12px!important;line-height:1.5!important;font-weight:650!important;color:var(--ntsf-ink)!important;cursor:pointer}
.ntsf.ntsf .ntsf-toggle-row>span:first-child{flex:1;min-width:0}
.ntsf.ntsf .ntsf-toggle-row input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.ntsf.ntsf .ntsf-switch{display:block!important;position:relative;flex:0 0 39px;width:39px;height:23px;border-radius:99px;background:#c9d6e5;transition:background .2s}
.ntsf.ntsf .ntsf-switch::before{content:"";position:absolute;width:17px;height:17px;right:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #0002;transition:transform .2s}
.ntsf.ntsf .ntsf-toggle-row input:checked+.ntsf-switch{background:var(--ntsf-blue)}
.ntsf.ntsf .ntsf-toggle-row input:checked+.ntsf-switch::before{transform:translateX(-16px)}
.ntsf.ntsf .ntsf-toggle-row input:focus-visible+.ntsf-switch{outline:3px solid #a7ccff;outline-offset:3px}
.ntsf.ntsf .ntsf-section-title{display:flex!important;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:5px 10px;margin:16px 2px 11px!important;padding:0!important;color:var(--ntsf-ink);font-size:13px;font-weight:800;line-height:1.5}
.ntsf.ntsf .ntsf-section-title small{color:var(--ntsf-muted);font-size:11px;font-weight:400}
.ntsf.ntsf .ntsf-group{display:block;width:100%;min-width:0;margin:0!important;padding:0!important;border:1px solid rgba(159,182,206,.40)!important;border-radius:13px!important;background:rgba(255,255,255,.82)!important;box-shadow:none!important;overflow:hidden}
.ntsf.ntsf .ntsf-group>summary{
  display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px;width:100%;
  min-width:0;min-height:44px;margin:0!important;padding:11px 12px!important;
  border:0!important;border-radius:0!important;background:none!important;
  color:var(--ntsf-ink)!important;font-size:12px!important;font-weight:750!important;line-height:1.5!important;
  list-style:none!important;text-align:right!important;user-select:none;
}
.ntsf.ntsf .ntsf-group>summary::-webkit-details-marker{display:none}
.ntsf.ntsf .ntsf-group[open]>summary{background:rgba(228,242,255,.60)!important;border-bottom:1px solid #e0ebf5!important}
.ntsf.ntsf .ntsf-group-label{display:block;flex:1;min-width:0;overflow-wrap:anywhere}
.ntsf.ntsf .ntsf-group-selected{display:inline-flex!important;align-items:center;justify-content:center;min-width:19px;height:19px;padding:1px 5px;border-radius:6px;background:#d4e9ff;color:#1268c4;font-size:10px}
.ntsf.ntsf .ntsf-chevron{display:inline-flex;flex:none;font-size:20px;line-height:1;color:#7c90a5;transition:transform .2s}
.ntsf.ntsf .ntsf-group[open] .ntsf-chevron{transform:rotate(180deg)}
.ntsf.ntsf .ntsf-group-inner{width:100%;min-width:0;padding:8px 10px 10px}
.ntsf.ntsf .ntsf-values{display:flex!important;flex-direction:column!important;gap:3px;width:100%;min-width:0;max-height:185px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#cadae9 transparent;scrollbar-width:thin}
.ntsf.ntsf .ntsf-option{
  display:flex!important;flex-direction:row!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:8px;width:100%;min-width:0;min-height:31px;
  margin:0!important;padding:6px!important;border-radius:8px!important;border:0!important;
  background:none!important;color:#354d62!important;font-size:11.5px!important;
  font-weight:500!important;line-height:1.65!important;text-align:right!important;cursor:pointer;
}
.ntsf.ntsf .ntsf-option:hover{background:#eaf4ff!important}
.ntsf.ntsf .ntsf-option[hidden]{display:none!important}
.ntsf.ntsf .ntsf-option input[type="checkbox"]{
  appearance:none!important;-webkit-appearance:none!important;display:block!important;
  flex:0 0 17px!important;width:17px!important;min-width:17px!important;max-width:17px!important;
  height:17px!important;min-height:17px!important;max-height:17px!important;
  margin:2px 0 0!important;padding:0!important;position:relative!important;
  border:1.5px solid #9db6d1!important;border-radius:5px!important;background:#fff!important;
  box-shadow:none!important;cursor:pointer;
}
.ntsf.ntsf .ntsf-option input[type="checkbox"]:checked{background:var(--ntsf-blue)!important;border-color:var(--ntsf-blue)!important}
.ntsf.ntsf .ntsf-option input[type="checkbox"]:checked::after{content:"";position:absolute;top:1px;left:5px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.ntsf.ntsf .ntsf-option-text{display:block;flex:1;min-width:0;overflow-wrap:anywhere;word-break:normal}
.ntsf.ntsf .ntsf-count{display:inline-flex;flex:none;align-items:center;justify-content:center;margin:0;padding:1px 6px;background:#f0f4f9;border-radius:6px;color:#6a7e92;font-size:10px;line-height:1.6;font-variant-numeric:tabular-nums}
.ntsf.ntsf .ntsf-search{display:flex!important;align-items:center;gap:6px;width:100%;min-width:0;min-height:36px;margin:0 0 8px!important;padding:0 8px!important;border:1px solid #dce7f3;border-radius:10px;background:#fff}
.ntsf.ntsf .ntsf-search svg{width:15px;height:15px;flex:none;color:#859bb1}
.ntsf.ntsf .ntsf-option-search{display:block!important;flex:1;width:100%!important;min-width:0!important;height:34px!important;min-height:34px!important;margin:0!important;padding:3px!important;border:0!important;background:none!important;box-shadow:none!important;color:#314d63!important;font-size:11.5px!important}
.ntsf.ntsf .ntsf-no-match{font-size:11.5px;color:var(--ntsf-muted);padding:7px}
.ntsf.ntsf .ntsf-no-match[hidden]{display:none!important}
.ntsf.ntsf .ntsf-category-group{margin:0 0 13px!important}
.ntsf.ntsf .ntsf-category-group .ntsf-values{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important;align-items:start;gap:2px 8px;max-height:175px;padding:9px 12px}
.ntsf.ntsf .ntsf-more{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:6px;
  width:100%!important;min-height:39px!important;margin:11px 0 0!important;padding:8px 14px!important;
  border:1px dashed #b8d3ed!important;border-radius:11px!important;background:#f4f9ff!important;
  color:#266bb1!important;font-size:12px!important;font-weight:700!important;line-height:1.5!important;
}
.ntsf.ntsf .ntsf-facets:not(.ntsf-show-all)>.ntsf-group.ntsf-extra:not(.ntsf-has-selection){display:none!important}
.ntsf.ntsf .ntsf-footer{
  display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;gap:9px;
  width:100%;margin:17px 0 0!important;padding:14px 0 0!important;
  border-top:1px solid rgba(153,176,199,.30)!important;background:none!important;
}
.ntsf.ntsf .ntsf-apply{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  flex:0 1 auto;width:auto!important;max-width:100%;min-height:43px!important;height:auto!important;
  margin:0!important;padding:10px 20px!important;border:0!important;border-radius:11px!important;
  background:linear-gradient(125deg,#1884ee,#175fc2)!important;color:#fff!important;
  text-align:center!important;font-size:12px!important;line-height:1.5!important;font-weight:750!important;
  box-shadow:0 7px 16px #1267c522!important;
}
.ntsf.ntsf .ntsf-clear{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-height:43px;margin:0!important;padding:9px 13px!important;border:1px solid #d6e2ed!important;border-radius:11px!important;background:#fff!important;color:#527089!important;text-decoration:none!important;font-size:12px!important;line-height:1.5!important;font-weight:650!important}
.ntsf.ntsf .ntsf-clear:hover{color:#ba394c!important}
.ntsf.ntsf .ntsf-live-result{display:block;margin-inline-start:auto;color:#597c9c;font-size:11.5px;line-height:1.5}
.ntsf.ntsf .ntsf-index-note{margin:0;padding:12px 15px;border:1px solid #f0d9a7;border-radius:12px;background:#fff9ef;color:#785b1d;font-size:12px}
.ntsf.ntsf .ntsf-spinner{display:none;width:15px;height:15px;border:2px solid #fffc;border-bottom-color:transparent;border-radius:50%;animation:ntsf-spin .75s linear infinite}
.ntsf.ntsf.is-loading .ntsf-apply{opacity:.75;pointer-events:none}
.ntsf.ntsf.is-loading .ntsf-spinner{display:inline-block}
.ntsf.ntsf .ntsf-spinner[hidden]{display:none!important}
.ntsf.ntsf.is-loading .ntsf-spinner[hidden]{display:inline-block!important}
@keyframes ntsf-spin{to{transform:rotate(360deg)}}
.ntsf-empty{width:100%;padding:40px 18px;border:1px dashed #cbddea;border-radius:16px;background:#f7fbff;text-align:center;color:#34536c}
.ntsf-pagination .page-numbers{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px}
.ntsf-pagination .page-numbers a,.ntsf-pagination .page-numbers span{border:1px solid #d9e3ec;border-radius:9px;padding:6px 11px;text-decoration:none}
.ntsf-pagination .page-numbers .current{background:#216ddf;color:#fff}
@media(max-width:767px){
  .ntsf.ntsf{margin:10px 0 16px!important}
  .ntsf.ntsf .ntsf-header{gap:8px;padding:10px 11px!important;border-radius:15px}
  .ntsf.ntsf .ntsf-heading{flex:1 1 0;gap:8px;min-width:0}
  .ntsf.ntsf .ntsf-symbol{flex:0 0 35px;width:35px;height:35px;border-radius:11px}
  .ntsf.ntsf .ntsf-symbol svg{width:19px;height:19px}
  .ntsf.ntsf .ntsf-heading strong{font-size:12px}
  .ntsf.ntsf .ntsf-heading small{font-size:10px}
  .ntsf.ntsf .ntsf-header-actions{gap:5px}
  .ntsf.ntsf .ntsf-active-count{padding:4px 6px;font-size:10px}
  .ntsf.ntsf .ntsf-toggle{min-height:35px!important;padding:8px 10px!important;font-size:11px!important}
  .ntsf.ntsf .ntsf-toggle svg{display:none}
  .ntsf.ntsf>.ntsf-panel{display:none!important}
  /* Mobile drawer is moved to <body> so Elementor overflow/transform never clips it. */
  body .ntsf.ntsf.ntsf-mobile-layer{
    display:block!important;position:fixed!important;inset:0!important;isolation:isolate!important;
    width:100%!important;height:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:0!important;z-index:2147483640!important;background:transparent!important;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-backdrop{
    display:block!important;position:absolute!important;inset:0!important;margin:0!important;
    background:rgba(14,31,52,.55)!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-panel{
    display:flex!important;flex-direction:column!important;position:absolute!important;
    top:0!important;right:0!important;bottom:0!important;left:auto!important;
    width:min(420px,100%)!important;max-width:100%!important;height:100%!important;height:100dvh!important;
    margin:0!important;padding:0!important;overflow:hidden!important;
    border:0!important;border-radius:0!important;background:#f5faff!important;
    box-shadow:-15px 0 55px #071c304d!important;
    -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-mobile-top{
    display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex:0 0 auto;
    margin:0!important;padding:13px 16px!important;border-bottom:1px solid #dfebf4;
    background:#fff!important;color:#253c50;font-size:14px;font-weight:800;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-close{
    display:grid!important;place-items:center;flex:0 0 35px;width:35px!important;height:35px!important;
    padding:0!important;margin:0!important;border:0!important;border-radius:10px!important;
    background:#eef4fa!important;color:#334c64!important;font-size:24px!important;line-height:1!important;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-form{
    display:flex!important;flex-direction:column!important;flex:1 1 auto!important;min-height:0!important;
    height:auto!important;max-height:none!important;overflow:hidden!important;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-scroll{
    display:block;flex:1 1 auto;min-height:0;width:100%;overflow-x:hidden;overflow-y:auto;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:13px 14px 17px;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-core,.ntsf.ntsf.ntsf-mobile-layer .ntsf-facets{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-box{min-height:0;padding:12px!important}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-category-group .ntsf-values{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-footer{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center;
    flex:0 0 auto!important;width:100%;margin:0!important;
    padding:11px 14px calc(11px + env(safe-area-inset-bottom))!important;
    border-top:1px solid #dce6f0!important;background:#fff!important;
    box-shadow:0 -5px 16px #1749770b;
  }
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-apply{width:100%!important;min-height:44px!important;padding:10px!important}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-clear{min-height:44px!important;padding:10px!important}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-live-result{grid-column:1/-1;margin:0;text-align:center}
  body.ntsf-locked{overflow:hidden!important;overscroll-behavior:none}
}
@media(max-width:380px){
  .ntsf.ntsf .ntsf-heading small{display:none}
  .ntsf.ntsf .ntsf-header-actions{gap:4px}
  .ntsf.ntsf .ntsf-header{padding:9px!important}
  .ntsf.ntsf .ntsf-active-count{font-size:9px}
  .ntsf.ntsf.ntsf-mobile-layer .ntsf-category-group .ntsf-values{grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){.ntsf.ntsf *{transition:none!important;animation:none!important}}
