/* Nasypanej Mobile V5 — independent, scoped to mobile preview/live. */
#ns5-dock,#ns5-spacer,#ns5-menu:not([open]),#ns5-filter-dialog:not([open]){display:none}
@media (max-width:767px){
html.ns5-active{--ns5-red:#c82026;--ns5-ink:#111;--ns5-line:#e6e6e6;--ns5-native-bottom:90px}
html.ns5-active #ns5-dock{display:block;position:fixed;inset:auto 0 0;width:100%;margin:0;padding:0;z-index:1100;isolation:isolate;color:#111;line-height:1.3;font-family:inherit;box-shadow:0 -4px 20px #0000000c}
html.ns5-active #ns5-dock[hidden],html.ns5-active #ns5-dock [hidden],html.ns5-active #ns5-spacer[hidden]{display:none!important}
html.ns5-active #ns5-spacer{display:block;width:100%;pointer-events:none;flex:none}
#ns5-dock *,#ns5-menu *,#ns5-filter-dialog .ns5-filter-title *,#ns5-filter-dialog .ns5-filter-bottom *{box-sizing:border-box}
#ns5-dock .ns5-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;min-height:68px;padding:4px max(3px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(3px,env(safe-area-inset-left,0px));margin:0;background:radial-gradient(circle 39px at 50% 4px,transparent 97%,#fff 100%);}
#ns5-dock .ns5-tab{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:52px;padding:3px 0;margin:0;background:none;color:#181818;border:0;border-radius:0;text-decoration:none;text-transform:none;font:inherit;font-size:11px;font-weight:600;line-height:1.15;box-shadow:none;cursor:pointer;touch-action:manipulation}
#ns5-dock svg,#ns5-menu svg,.ns5-filter-tools svg,#ns5-filter-dialog .ns5-filter-title svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}
#ns5-dock .ns5-tab[aria-current=page],#ns5-dock .ns5-tab[aria-expanded=true]{color:var(--ns5-red)}
#ns5-dock .ns5-cart{gap:4px;padding-top:0}
#ns5-dock .ns5-cart>svg{width:64px;height:64px;box-sizing:border-box;padding:16px;border-radius:50%;background:#c82026;color:#fff;stroke-width:1.7;box-shadow:0 2px 6px #0003;margin-top:-22px}
#ns5-dock .ns5-count{position:absolute;top:-20px;left:calc(50% + 15px);display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;border-radius:20px;background:#e5b83b;border:2px solid #fff;color:#111;font-size:10px;font-weight:800;line-height:1}
#ns5-dock .ns5-buy{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,1.35fr);gap:12px;align-items:center;padding:10px 12px 23px;border-top:1px solid #ddd;background:#fff;margin-bottom:0}
#ns5-dock .ns5-buy-info{display:flex;flex-direction:column;min-width:0;gap:2px}
#ns5-dock .ns5-buy-name{font-size:11px;font-weight:600;color:#555;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#ns5-dock .ns5-buy-price{font-size:20px;font-weight:800;color:#111;line-height:1.2}
#ns5-dock .ns5-buy-button,.ns5-filter-bottom button{border:0;border-radius:0;background:var(--ns5-red);color:#fff;font:inherit;font-size:14px;font-weight:700;min-height:46px;padding:10px;cursor:pointer;box-shadow:none;text-transform:none}
/* Only JS-verified separate fixed buy elements. Never touch in-flow product CTA. */
html.ns5-active .ns5-native-buy{bottom:var(--ns5-native-bottom)!important;z-index:1099!important}
html.ns5-active .ns5-early-buy{visibility:hidden!important;pointer-events:none!important}
/* Original header form, its search button and dimensions are deliberately untouched. */

html.ns5-active #ns5-menu[open],html.ns5-active #ns5-filter-dialog[open]{display:flex;flex-direction:column;position:fixed;inset:12px auto calc(92px + env(safe-area-inset-bottom,0px)) 0;margin:0;width:min(88vw,430px);max-width:100%;height:auto;max-height:none;padding:0;border:0;border-radius:0 12px 12px 0;background:#fff;color:#111;overflow:hidden;overscroll-behavior:contain;box-shadow:0 6px 30px #0003;font:inherit;box-sizing:border-box}
#ns5-menu::backdrop,#ns5-filter-dialog::backdrop{background:#0007}
body.ns5-menu-open,body.ns5-filters-open{overflow:hidden!important}
#ns5-menu .ns5-panel-head,#ns5-filter-dialog .ns5-filter-title{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e4e4e4;flex:none}
#ns5-menu .ns5-panel-head h2,#ns5-filter-dialog .ns5-filter-title strong{margin:0;font:inherit;font-size:20px;font-weight:800;letter-spacing:-.4px;color:#111}
#ns5-menu .ns5-icon-button,#ns5-filter-dialog .ns5-icon-button{display:grid;place-items:center;width:42px;height:42px;padding:0;background:#fff;border:1px solid #ddd;border-radius:6px;color:#111;cursor:pointer;flex:none}
#ns5-menu .ns5-panel-body{padding:16px 16px 22px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
#ns5-menu .ns5-menu-logo{display:block;width:min(180px,72%);height:auto;margin:0 auto 15px;object-fit:contain}
#ns5-menu .ns5-search-launch{display:flex;gap:10px;align-items:center;width:100%;min-height:46px;padding:10px 12px;border:1px solid #ddd;border-radius:6px;background:#f6f6f6;color:#333;font:inherit;text-align:left;cursor:pointer}
#ns5-menu .ns5-kicker{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#777;margin:20px 0 8px}
#ns5-menu .ns5-row,#ns5-menu .ns5-subrow{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:49px;margin:0;padding:12px 0;border:0;border-bottom:1px solid #ededed;border-radius:0;background:#fff;text-align:left;color:#111;font:inherit;font-size:15px;font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer;list-style:none;text-transform:none}
#ns5-menu .ns5-row svg{width:34px;height:34px;padding:7px;border:1px solid #e1e1e1;border-radius:6px;background:#fafafa;color:#333}
#ns5-menu .ns5-group{margin:0;padding:0;border:0}
#ns5-menu summary::-webkit-details-marker{display:none}
#ns5-menu .ns5-group[open]>summary{color:var(--ns5-red)}
#ns5-menu .ns5-group[open]>summary svg{transform:rotate(90deg);color:var(--ns5-red)}
#ns5-menu .ns5-sublist{padding-left:12px;background:#f7f7f7}
#ns5-menu .ns5-sublist .ns5-row,#ns5-menu .ns5-subrow{min-height:42px;padding:9px 10px 9px 0;font-size:13px;font-weight:500;background:transparent}
#ns5-menu .ns5-subrow svg,#ns5-menu .ns5-sublist .ns5-row svg{width:16px;height:16px;padding:0;border:0;background:none;color:#777}
#ns5-menu .ns5-search-form{display:flex;gap:8px;padding:16px;margin:0}
#ns5-menu .ns5-search-form input{flex:1;min-width:0;padding:10px;border:1px solid #bbb;border-radius:0;font:inherit;font-size:16px;min-height:44px}
/* No duplicate filter controls, native inputs stay alive. */
html.ns5-active .ns5-filter-source,html.ns5-active .ns5-old-filter-trigger,html.ns5-active .ns5-sort-hidden{display:none!important}
html.ns5-active .ns5-filter-tools{display:grid;grid-template-columns: minmax(0,1fr) minmax(0,1fr);gap:8px;margin:12px 0;align-items:start;width:100%;position:relative;z-index:5}
html.ns5-active .ns5-filter-tools>button{display:flex;gap:8px;justify-content:center;align-items:center;min-height:46px;padding:10px 10px;font:inherit;font-size:13px;font-weight:700;border:1px solid #dedede;border-radius:8px;background:#fff;color:#111;cursor:pointer;box-shadow:none;text-transform:none}
html.ns5-active .ns5-filter-tools svg{width:19px;height:19px}
html.ns5-active .ns5-sort-select,html.ns5-active .ns5-sort-native .dropdown>button,html.ns5-active .ns5-sort-native #products-listing-order{width:100%;min-height:46px;margin:0;padding:9px 12px;border:1px solid #dedede!important;border-radius:8px!important;background:#fff!important;color:#111!important;font:inherit;font-size:13px;font-weight:700;box-shadow:none!important;text-transform:none;box-sizing:border-box}
html.ns5-active .ns5-sort-native{display:block!important;float:none!important;width:100%!important;padding:0!important;margin:0!important;min-width:0}
html.ns5-active .ns5-sort-native form,html.ns5-active .ns5-sort-native .dropdown{margin:0;padding:0;display:block;width:100%}
html.ns5-active .ns5-sort-native .dropdown-menu{border-radius:8px!important;border-color:#e1e1e1;box-shadow:0 6px 22px #0002;min-width:100%;left:0;right:0}
#ns5-filter-dialog .ns5-filter-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 16px 12px}
#ns5-filter-dialog .ns5-filter-content{display:block!important;position:static!important;float:none!important;transform:none!important;visibility:visible!important;opacity:1!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;box-shadow:none!important;background:#fff!important}
#ns5-filter-dialog .ns5-filter-content h4{font-size:15px;font-weight:800;color:#111;line-height:1.4;margin:16px 0 8px}
#ns5-filter-dialog .ns5-filter-content label{line-height:1.45;min-height:34px;cursor:pointer}
#ns5-filter-dialog .ns5-filter-content input[type=checkbox],#ns5-filter-dialog .ns5-filter-content input[type=radio]{accent-color:#c82026}
#ns5-filter-dialog .ns5-filter-bottom{padding:12px 16px;border-top:1px solid #ddd;background:#fff;flex:none}
#ns5-filter-dialog .ns5-filter-bottom button{width:100%;border-radius:6px}
#ns5-dock :focus-visible,#ns5-menu :focus-visible,#ns5-filter-dialog :focus-visible{outline:2px solid var(--ns5-red);outline-offset:2px}
.ns5-debug{margin:10px;padding:10px;border:1px solid #ddd;background:#fff;color:#111;font:inherit}
}
@media (min-width:768px){.ns5-filter-tools,.ns5-debug,#ns5-dock,#ns5-spacer{display:none!important}}

/* V5: single fixed-height navigation with a compositor-only transition. */
@media (max-width:767px){
html.ns5-active #ns5-dock{height:calc(68px + env(safe-area-inset-bottom,0px));box-shadow:0 -1px 14px #00000014;background:#fff;--ns5-native-bottom:100px}
html.ns5-active #ns5-spacer{height:calc(88px + env(safe-area-inset-bottom,0px))!important}
#ns5-dock .ns5-nav,#ns5-dock .ns5-buy{position:absolute;inset:0;box-sizing:border-box;min-height:0;height:100%;margin:0;transition:opacity 190ms ease,transform 220ms cubic-bezier(.2,.7,.2,1);will-change:opacity,transform}
#ns5-dock .ns5-nav{background:#fff;opacity:1;transform:translateY(0);padding-top:0}
#ns5-dock .ns5-nav .ns5-cart>svg{margin-top:-17px;width:62px;height:62px;padding:15px;box-shadow:0 2px 8px #0003;border:3px solid #fff}
#ns5-dock .ns5-nav .ns5-count{top:-15px}
#ns5-dock .ns5-buy{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:8px;padding:5px max(8px,env(safe-area-inset-right,0px)) calc(5px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));background:#fff;border:0;opacity:0;transform:translateY(10px);pointer-events:none}
#ns5-dock.ns5-shopping .ns5-nav{opacity:0;transform:translateY(10px);pointer-events:none}
#ns5-dock.ns5-shopping .ns5-buy{opacity:1;transform:translateY(0);pointer-events:auto}
#ns5-dock .ns5-buy-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;min-width:0;padding:7px 8px;font-size:13px;border-radius:4px;line-height:1.15;white-space:nowrap}
#ns5-dock .ns5-buy-button svg{width:20px;height:20px}
#ns5-dock .ns5-buy-price{color:#fff;font-size:12px;line-height:1.15;font-weight:600;white-space:nowrap}
#ns5-dock .ns5-buy-price:not(:empty){border-left:1px solid #ffffff80;padding-left:7px}
#ns5-dock .ns5-buy-cart>svg{width:25px;height:25px;padding:0;background:none;color:#111;box-shadow:none;border:0;border-radius:0;margin:0}
#ns5-dock .ns5-buy-count{position:absolute;top:0;left:calc(50% + 5px);min-width:18px;height:18px;padding:0 3px;display:grid;place-items:center;background:#e5b83b;color:#111;border:1px solid #fff;border-radius:50%;font-size:10px;font-weight:800}
@media(max-width:365px){#ns5-dock .ns5-buy{grid-template-columns:44px minmax(0,1fr) 44px;gap:4px}#ns5-dock .ns5-buy-button{font-size:12px;gap:4px;padding:5px}#ns5-dock .ns5-buy-button svg{display:none}}
html.ns5-active #ns5-menu[open]{inset:12px 0 calc(82px + env(safe-area-inset-bottom,0px)) auto;border-radius:12px 0 0 12px;width:min(84vw,430px)}
/* Filter remains in the original DOM. Neutralize clipping/positioning only while open. */
html.ns5-active #ns5-filter-dialog.ns5-filter-backdrop{display:block;position:fixed;inset:0 0 calc(68px + env(safe-area-inset-bottom,0px));background:#0006;z-index:1101;touch-action:none}
html.ns5-active body.ns5-filters-open .ns5-filter-ancestor{overflow:visible!important;transform:none!important;contain:none!important;filter:none!important;perspective:none!important;clip-path:none!important;isolation:auto!important;z-index:auto!important}
html.ns5-active body.ns5-filters-open .ns5-filter-ancestor:is(.sidebar,.sidebar-inner,.filters-wrapper,#filters-wrapper,.filters,.filter-sections){display:block!important;visibility:visible!important;opacity:1!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content{display:block!important;position:fixed!important;inset:20px auto calc(82px + env(safe-area-inset-bottom,0px)) 0!important;z-index:1102!important;width:min(80vw,430px)!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:18px 18px 0!important;overflow-y:auto!important;overscroll-behavior:contain;float:none!important;transform:none!important;visibility:visible!important;opacity:1!important;background:#fff!important;border:0!important;border-radius:0 12px 12px 0!important;box-shadow:0 8px 26px #0003!important;box-sizing:border-box}
html.ns5-active .ns5-filter-content h4{font-size:15px;font-weight:750;margin:18px 0 10px;color:#111}
html.ns5-active .ns5-filter-content label{min-height:32px;line-height:1.5;cursor:pointer}
html.ns5-active .ns5-filter-content input:is([type=checkbox],[type=radio]){accent-color:#c82026}
html.ns5-active .ns5-filter-content .ns5-filter-bottom{position:sticky;bottom:0;padding:12px 0 14px;background:#fff;z-index:3;box-shadow:0 -6px 12px #fff}
html.ns5-active .ns5-filter-bottom button{width:100%;min-height:46px;border-radius:6px}
html.ns5-active body.ns5-filters-open #ns5-dock{z-index:1103}
@media(prefers-reduced-motion:reduce){#ns5-dock .ns5-nav,#ns5-dock .ns5-buy{transition:none}}
}

@media (max-width:767px){
html.ns5-active body.ns5-filters-open .ns5-filter-content{display:flex!important;flex-direction:column!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content>*{flex-shrink:0}
html.ns5-active .ns5-filter-content .ns5-filter-bottom{margin-top:auto}
#ns5-dock .ns5-buy-price{min-width:0;overflow:hidden;text-overflow:ellipsis}
#ns5-dock .ns5-buy-button>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
}

@media (max-width:767px){
#ns5-menu .ns5-search-launch{display:none!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content{padding-top:14px!important}
html.ns5-active .ns5-filter-content .slide-filters,.ns5-filter-content .filter-section,.ns5-filter-content .filter-group{margin-bottom:8px}
html.ns5-active .ns5-filter-content details{display:block!important}
html.ns5-active .ns5-filter-content summary{list-style:none;cursor:pointer}
html.ns5-active .ns5-filter-content summary::-webkit-details-marker{display:none}
}

/* V7 — native filter values shown directly, no dropdown within drawer. */
@media(max-width:767px){
html.ns5-active .ns5-filter-tools>button{height:46px;min-height:46px;background:#c82026!important;border:1px solid #c82026!important;color:#fff!important;border-radius:8px;box-sizing:border-box;font-size:13px;font-weight:700}
html.ns5-active .ns5-sort-select,html.ns5-active .ns5-sort-native .dropdown>button,html.ns5-active .ns5-sort-native #products-listing-order{height:46px!important;min-height:46px!important;border-radius:8px!important;font-size:13px!important;font-weight:700!important}
#ns5-menu .ns5-panel-body{padding-top:6px}
#ns5-menu .ns5-sublist{padding-left:12px;border-left:1px solid #e6e6e6}
#ns5-menu .ns5-sublist .ns5-sublist{background:#fff}
#ns5-menu .ns5-group>summary svg{transition:transform 150ms ease}
html.ns5-active body.ns5-filters-open .ns5-filter-content{padding:18px 18px 0!important;scrollbar-width:thin;align-items:stretch}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-unfold-display{display:block!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-unfold-visible{visibility:visible!important;opacity:1!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-unfold-static{position:static!important;inset:auto!important;transform:none!important;float:none!important;width:auto!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;border:0!important;box-shadow:none!important;background:transparent!important;z-index:auto!important;clip-path:none!important;visibility:visible!important;opacity:1!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-unfold-height{height:auto!important;max-height:none!important;overflow:visible!important;clip-path:none!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.filter-section,.filter-group,.filter-section-param,.filter-section-manufacturer){height:auto!important;max-height:none!important;min-width:0!important;width:100%!important;margin:0 0 16px!important;padding:0 0 16px!important;border:0!important;border-bottom:1px solid #e7e7e7!important;background:transparent!important;box-shadow:none!important;float:none!important;overflow:visible!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(h4,h5,.filter-section-title,.filter-section-name){font-size:15px!important;font-weight:750!important;line-height:1.4!important;color:#111!important;margin:10px 0 12px!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-unfold-trigger{width:100%;text-align:left;background:none!important;border:0!important;box-shadow:none!important;color:#111!important;font-weight:750;pointer-events:none}
html.ns5-active body.ns5-filters-open .ns5-filter-content label{font-size:13px!important;line-height:1.5!important;min-height:34px!important;cursor:pointer}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(ul,ol).ns5-unfold-static{padding-left:0!important;list-style:none!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-bottom{margin-top:auto!important;flex:none!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-bottom button{background:#c82026!important;color:#fff!important;border:0!important;min-height:46px!important;border-radius:8px!important}
}

/* V8 — cleaner native filter panel, same native checkboxes and price controls. */
@media(max-width:767px){
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-omit{display:none!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content{box-sizing:border-box!important;padding:18px 18px 0!important;overflow-anchor:none;scroll-behavior:auto!important;scrollbar-width:thin;align-items:stretch!important;text-align:left!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.filter-section,.filter-group,.filter-section-param){display:block!important;box-sizing:border-box!important;margin:0 0 15px!important;padding:0 0 15px!important;border-bottom:1px solid #e8e8e8!important;min-height:0!important;gap:0!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(h4,h5,.filter-section-title,.filter-section-name,.ns5-unfold-trigger){margin:0 0 10px!important;padding:0!important;min-height:0!important;line-height:1.4!important;font-size:15px!important;font-weight:700!important;text-align:left!important;border:0!important;background:transparent!important;box-shadow:none!important;color:#111!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.dropdown-menu,.filter-section-content,.filter-section-inner,.filter-section-body,.filter-section-values,.filter-section-items,.filter-section-param-content){padding:0!important;margin:0!important;min-width:0!important;box-shadow:none!important;border:0!important;text-align:left!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content label{font-size:13px!important;font-weight:400!important;line-height:1.45!important;min-height:36px!important;white-space:normal!important;margin-bottom:0!important;box-sizing:border-box!important;max-width:100%!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.filter-count,.filter-value-count,.filter-option-count){font-size:12px!important;font-weight:600!important;color:#777!important;margin-left:5px!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-bottom{position:sticky!important;bottom:0!important;padding:12px 0 14px!important;margin-top:auto!important;background:#fff!important;box-shadow:0 -8px 14px #fff!important;z-index:5!important}
html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-bottom button{width:100%!important;min-height:46px!important;background:#c82026!important;color:#fff!important;border-radius:8px!important}
html.ns5-active body.ns5-filters-open{overflow-anchor:none;scroll-behavior:auto!important}
}

@media(max-width:767px){html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-omit{display:none!important}}

/* V9: visual-only filter polish; keep V8 native filter events and scroll restoration. */
@media (max-width:767px){
  #ns5-dock .ns5-nav .ns5-cart::after{content:"";display:block;height:12px;flex:none}
  #ns5-dock .ns5-buy .ns5-buy-cart{align-self:center;justify-content:center}
  html.ns5-active body.ns5-filters-open .ns5-filter-content{
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none;overscroll-behavior-y:contain;
    width:min(80vw,430px)!important;max-width:100vw!important;min-width:0!important;
    padding:18px 16px 0!important;box-sizing:border-box!important;align-items:stretch!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content *{box-sizing:border-box}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(div,section,fieldset,ul,ol,li,details,form,dl,dd){min-width:0!important;max-width:100%!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.filter-section,.filter-group,.filter-section-param,.filter-section-content,.filter-section-inner,.filter-section-body,.filter-section-values,.filter-section-items,.filter-section-param-content,.dropdown-menu,.ns5-unfold-static){width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;float:none!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(ul,ol){padding-left:0!important;margin-left:0!important;list-style:none!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(h2,h3,h4,h5,legend,.filter-section-title,.filter-section-name,.ns5-unfold-trigger){white-space:normal!important;overflow-wrap:anywhere;line-height:1.4!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-pair){display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;position:relative!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:40px!important;height:auto!important;padding:5px 0!important;margin:0!important;line-height:1.45!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-option-pair>.ns5-option-label{display:block!important;position:static!important;flex:1 1 0%!important;min-width:0!important;width:auto!important;max-width:100%!important;min-height:0!important;height:auto!important;float:none!important;margin:0!important;padding:0!important;line-height:1.45!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-label)::before,
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-label)::after{content:none!important;display:none!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content input.ns5-option-input{
    appearance:auto!important;-webkit-appearance:auto!important;display:inline-block!important;position:static!important;inset:auto!important;transform:none!important;clip:auto!important;clip-path:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;float:none!important;flex:0 0 16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;margin:0!important;padding:0!important;accent-color:#c82026;align-self:center!important;order:-1!important;cursor:pointer;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-label) :is(span,strong,b,small){float:none!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ui-slider,.slider-range,.noUi-target){max-width:calc(100% - 16px)!important;margin-left:8px!important;margin-right:8px!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content input[type=range]{max-width:100%!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-omit{display:none!important}
}

/* V10 – restrained visual adjustment; native values and interactions stay intact. */
@media (max-width:767px){
  #ns5-dock .ns5-nav .ns5-cart::after{height:5px}
  html.ns5-active body.ns5-filters-open .ns5-filter-content{padding:18px 22px 0 24px!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-flat-heading{padding-right:0!important;cursor:default!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-flat-heading::before,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-flat-heading::after,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-flat-heading :is(.caret,.arrow,.chevron,.toggle-icon,.filter-arrow,.filter-section-toggle,.icon-chevron-down,.icon-arrow-down,.icon-angle-down,[class*="chevron"],[class*="arrow"],svg){display:none!important;content:none!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section{padding:0 0 15px!important;margin:0 0 14px!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-heading{margin:0 0 7px!important;text-align:center!important;padding:0!important;min-height:0!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-wrap{padding-top:0!important;margin-top:0!important;min-height:0!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout{display:flex!important;position:static!important;justify-content:space-between;align-items:center;gap:8px;margin:0 0 9px!important;padding:0!important;width:100%;font-size:13px;font-weight:500;line-height:1.4;color:#333;white-space:nowrap;pointer-events:none;box-sizing:border-box}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-track{margin-top:0!important;margin-bottom:12px!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-has-values :is(.tooltip,.noUi-tooltip,.ns5-price-duplicate):not(input){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
  /* Fallback: existing native price tooltips stay visible when no reliable numeric pair is available. */
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section:not(.ns5-price-has-values) :is(.tooltip,.noUi-tooltip,.slider-label,.slider-value){display:block!important;visibility:visible!important;opacity:1!important;pointer-events:none!important}
}

@media (max-width:767px){html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-has-values .ns5-price-duplicate:not(.tooltip):not(.noUi-tooltip){visibility:hidden!important;opacity:0!important;pointer-events:none!important}}

/* V11: aligned inner gutter, permanent prices below the track, lower cart. */
@media (max-width:767px){
  #ns5-dock .ns5-nav .ns5-cart{transform:translateY(5px)}
  #ns5-dock .ns5-nav .ns5-cart::after{height:5px}
  html.ns5-active body.ns5-filters-open .ns5-filter-content{padding:18px 22px 0 24px!important;--ns5-filter-gutter:8px}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-flat-heading,.ns5-price-heading){display:block!important;text-align:left!important;padding-left:var(--ns5-filter-gutter)!important;padding-right:var(--ns5-filter-gutter)!important;margin-left:0!important;margin-right:0!important;text-indent:0!important;box-sizing:border-box!important;max-width:100%!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-pair){padding-left:var(--ns5-filter-gutter)!important;padding-right:var(--ns5-filter-gutter)!important;margin-left:0!important;margin-right:0!important}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout{margin:4px 0 10px!important;padding:0 var(--ns5-filter-gutter)!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-track{margin-top:8px!important;margin-bottom:8px!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-heading{margin-bottom:10px!important}
}

/* V12: white filter panel and only one permanent pair of price labels. */
@media (max-width:767px){
  html.ns5-active body.ns5-filters-open .ns5-filter-content{background:#fff!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(div,section,fieldset,form,ul,ol,li,details,dl,dd):not(.ns5-filter-bottom):not(.ns5-filter-bottom *):not(.ns5-price-track):not(.ns5-price-track *){
    background-color:transparent!important;background-image:none!important;box-shadow:none!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content :is(.ns5-option-nested,.ns5-option-pair,.ns5-option-label,.ns5-flat-heading,.ns5-price-heading){background:transparent!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section{height:auto!important;min-height:0!important;padding:0 0 14px!important;margin:0 0 14px!important;border-bottom:1px solid #e8e8e8!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-wrap{height:auto!important;min-height:0!important;padding-bottom:0!important;margin-bottom:0!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-has-values .ns5-price-duplicate{visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-has-values .ns5-price-pseudo-before::before,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-has-values .ns5-price-pseudo-after::after{visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout{margin:8px 0 0!important;padding:0 var(--ns5-filter-gutter,8px)!important;font-size:13px!important;font-weight:500!important;line-height:1.5!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-track{margin-bottom:5px!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-filter-bottom{background:#fff!important;box-shadow:0 -8px 14px #fff!important;}
}

/* V14: one bold, stable price pair below the original slider. */
@media (max-width:767px){
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout{
    display:flex!important;position:relative!important;inset:auto!important;float:none!important;
    justify-content:space-between!important;align-items:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    flex:0 0 auto!important;clear:both!important;height:auto!important;min-height:20px!important;
    margin:10px 0 0!important;padding:0 var(--ns5-filter-gutter,8px)!important;
    background:transparent!important;visibility:visible!important;opacity:1!important;
    line-height:1.35!important;white-space:nowrap!important;color:#111!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout>span{
    display:block!important;position:static!important;float:none!important;transform:none!important;
    width:auto!important;margin:0!important;padding:0!important;visibility:visible!important;opacity:1!important;
    color:#111!important;font-size:15px!important;font-weight:800!important;line-height:1.35!important;
    font-variant-numeric:tabular-nums;white-space:nowrap!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-readout>span:last-child{text-align:right!important}
  /* If no reliable pair can be read, preserve and style the native price labels. */
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section:not(.ns5-price-has-values) .ns5-native-price-text,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section:not(.ns5-price-has-values) .ns5-native-price-text *,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section:not(.ns5-price-has-values) .ns5-native-price-before::before,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section:not(.ns5-price-has-values) .ns5-native-price-after::after{
    font-size:15px!important;font-weight:800!important;color:#111!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-track :is(.tooltip-inner,.noUi-tooltip,.slider-label,.slider-value,.price-range,.price-label,.price-value){font-weight:800!important;color:#111!important}
}

/* V15: price presentation only. Leave menu, cart, navigation and filter controls unchanged. */
@media (max-width:767px){
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values .ns5-price-readout{
    margin:var(--ns5-price-gap,20px) 0 0!important;
    padding:0 var(--ns5-filter-gutter,8px)!important;
    min-height:22px!important;height:22px!important;align-items:center!important;
    font-size:15px!important;font-weight:800!important;line-height:1.35!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values .ns5-price-readout>span{
    font-size:15px!important;font-weight:800!important;line-height:1.35!important;
  }
  /* Suppress transient native value overlays as a whole, not just text children.
     Keep DOM, numeric attributes, slider handles and the slider API intact. */
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values :is(.tooltip,.noUi-tooltip,.slider-tooltip,.ui-slider-tooltip,.price-tooltip,.slider-tip,.tooltip-inner,.slider-label,.slider-value,.price-min,.price-max,.slider-min,.slider-max,.ns5-native-price-text,.ns5-price-duplicate):not(input):not(.ns5-price-track):not(.ui-slider-handle):not(.slider-handle):not(.noUi-handle):not([role=slider]):not(.ns5-price-readout *){
    visibility:hidden!important;opacity:0!important;pointer-events:none!important;
    transition:none!important;animation:none!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values :is(.ns5-price-pseudo-before,.ns5-native-price-before)::before,
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values :is(.ns5-price-pseudo-after,.ns5-native-price-after)::after{
    visibility:hidden!important;opacity:0!important;pointer-events:none!important;transition:none!important;animation:none!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values .ns5-price-track{margin-bottom:5px!important;}
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section.ns5-price-has-values{padding-bottom:10px!important;margin-bottom:12px!important;}
}

/* V16: native Merkur menu, price title alignment and spacing. */
@media (max-width:767px){
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-heading{
    text-align:left!important;padding-left:var(--ns16-heading-pad,var(--ns5-filter-gutter,8px))!important;
    margin-top:0!important;margin-bottom:20px!important;
  }
  html.ns5-active body.ns5-filters-open .ns5-filter-content .ns5-price-section .ns5-price-track{margin-top:12px!important;}
  html.ns5-active .ns5-sort-select{display:block!important;height:46px!important;min-height:46px!important;max-width:100%;}
}

/* V17: typography of the floating product purchase CTA only. */
@media (max-width:767px){
  #ns5-dock .ns5-buy-button > span{
    font-size:15px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
    line-height:1.12!important;
    white-space:normal!important;
    text-align:center!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  #ns5-dock .ns5-buy-button > .ns5-buy-price{flex:0 0 auto;white-space:nowrap;}
}
@media (max-width:420px){
  #ns5-dock .ns5-buy-button > svg{display:none!important;}
}
@media (max-width:365px){
  #ns5-dock .ns5-buy-button > span{font-size:14px!important;}
}


/* V18: vertically align the menu icon itself with the purchase CTA and cart. */
@media (max-width:767px){
  #ns5-dock .ns5-buy > .ns5-menu{
    align-self:center!important;justify-content:center!important;align-items:center!important;
    position:relative!important;height:52px!important;min-height:52px!important;
    padding:0!important;margin:0!important;gap:0!important;
  }
  #ns5-dock .ns5-buy > .ns5-menu > svg{
    display:block!important;position:static!important;margin:0!important;transform:none!important;
    width:24px!important;height:24px!important;
  }
  #ns5-dock .ns5-buy > .ns5-menu > .ns5-tab-label{
    position:absolute!important;top:calc(50% + 14px)!important;left:0!important;right:0!important;
    margin:0!important;padding:0!important;line-height:12px!important;text-align:center!important;
  }
}

/* V19: narrow screens and reduced-motion compatibility; unchanged regular mobile design. */
@media (max-width:340px){
  #ns5-dock .ns5-buy{grid-template-columns:42px minmax(0,1fr) 42px;gap:4px;padding-left:4px;padding-right:4px}
  #ns5-dock .ns5-buy-button>span{font-size:12px!important;overflow-wrap:normal!important}
  #ns5-dock .ns5-buy-price{font-size:11px!important;padding-left:4px!important}
  #ns5-dock .ns5-tab{font-size:10px}
}
@media (max-width:767px) and (prefers-reduced-motion:reduce){#ns5-dock .ns5-nav,#ns5-dock .ns5-buy{transition:none!important;animation:none!important}}

/* V20: native Merkur navigation takes precedence over category filter/sort controls.
   Keep their layout and selected values intact while the menu is open. */
@media (max-width:767px){
  html.ns5-active.navigation-window-visible .ns5-filter-tools,
  html.ns5-active .navigation-window-visible .ns5-filter-tools{
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:auto!important;
  }
  html.ns5-active.navigation-window-visible .ns5-filter-tools *,
  html.ns5-active .navigation-window-visible .ns5-filter-tools *{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
