/* Miller Gadgets catalogue UX base */
.mg-v358-catalog-layout{width:min(100% - 48px,1360px);margin:0 auto;display:grid;grid-template-columns:minmax(235px,280px) minmax(0,1fr);gap:28px;align-items:start}.mg-v358-filter-panel{position:sticky;top:94px;max-height:calc(100vh - 112px);overflow:auto;border:1px solid rgba(17,9,51,.09);border-radius:24px;background:#fff;padding:18px;box-shadow:0 14px 40px rgba(17,9,51,.06)}html[data-theme=dark] .mg-v358-filter-panel{background:#1e1d23;border-color:rgba(255,255,255,.1)}.mg-v358-filter-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(17,9,51,.08)}.mg-v358-filter-head strong{display:block;font-size:19px}.mg-v358-filter-head span{display:block;margin-top:3px;font-size:12px;opacity:.68}.mg-v358-filter-head [data-v358-close]{display:none;border:0;background:transparent;font-size:30px;line-height:1}.mg-v358-search{display:block;margin:16px 0}.mg-v358-search span,.mg-v358-price-row label,.mg-v358-facet h3{font-size:12px;font-weight:750;letter-spacing:.01em}.mg-v358-search input,.mg-v358-facet select,.mg-v358-price-row input{width:100%;margin-top:7px;border:1px solid rgba(17,9,51,.14);border-radius:12px;padding:11px 12px;background:transparent;color:inherit}.mg-v358-facet{padding:15px 0;border-top:1px solid rgba(17,9,51,.07)}html[data-theme=dark] .mg-v358-facet,html[data-theme=dark] .mg-v358-filter-head{border-color:rgba(255,255,255,.09)}.mg-v358-facet h3{margin:0 0 10px}.mg-v358-facet-options{display:grid;gap:8px}.mg-v358-check{display:flex;align-items:center;gap:9px;font-size:13px;cursor:pointer}.mg-v358-check input{width:17px;height:17px;accent-color:#fc6501}.mg-v358-price-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.mg-v358-panel-actions{display:flex;gap:9px;position:sticky;bottom:-18px;margin:10px -18px -18px;padding:14px 18px;background:inherit;border-top:1px solid rgba(17,9,51,.08)}.mg-v358-panel-actions button{flex:1;border:1px solid rgba(17,9,51,.14);border-radius:999px;padding:10px 12px;background:transparent;color:inherit;font-weight:750}.mg-v358-panel-actions .primary{background:#fc6501;color:#fff;border-color:#fc6501}.mg-v358-results{min-width:0}.mg-v358-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:0 0 18px}.mg-v358-toolbar>div:first-child>strong{display:block;font-size:14px}.mg-v358-toolbar-actions{display:flex;align-items:center;gap:10px}.mg-v358-toolbar-actions label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.mg-v358-toolbar-actions select{border:1px solid rgba(17,9,51,.12);border-radius:999px;padding:9px 34px 9px 12px;background:transparent;color:inherit}.mg-v358-toolbar [data-v358-open]{display:none;border:1px solid rgba(252,101,1,.38);border-radius:999px;padding:9px 14px;background:#fff;color:#fc6501;font-weight:800}.mg-v358-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.mg-v358-chips button{border:1px solid rgba(252,101,1,.24);background:rgba(252,101,1,.07);color:inherit;border-radius:999px;padding:5px 9px;font-size:11px}.mg-v358-family-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}.mg-v358-family-badges span{font-size:10px;font-weight:750;border:1px solid rgba(17,9,51,.1);border-radius:999px;padding:3px 6px;opacity:.78}.mg-v358-pager{display:flex;align-items:center;justify-content:center;gap:14px;margin:28px 0 12px}.mg-v358-pager button,.mg-v358-empty button{border:1px solid rgba(17,9,51,.14);background:transparent;color:inherit;border-radius:999px;padding:9px 14px;font-weight:750}.mg-v358-pager button:disabled{opacity:.35}.mg-v358-empty{padding:40px 20px;text-align:center}.mg-v358-empty strong,.mg-v358-empty span{display:block}.mg-v358-empty span{margin:6px 0 15px;opacity:.7}.mg-v358-family-switcher{margin:14px 0 18px;padding:14px;border:1px solid rgba(17,9,51,.09);border-radius:16px;background:rgba(17,9,51,.025)}.mg-v358-family-switcher>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.mg-v358-family-switcher span{font-size:11px;opacity:.65}.mg-v358-family-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.mg-v358-family-links a{border:1px solid rgba(17,9,51,.13);border-radius:999px;padding:7px 10px;text-decoration:none;color:inherit;font-size:12px;font-weight:720}.mg-v358-family-links a.is-current{background:#fc6501;border-color:#fc6501;color:#fff}html[data-theme=dark] .mg-v358-toolbar [data-v358-open]{background:#1e1d23;color:#fff;border-color:rgba(124,92,255,.45)}
@media(max-width:1100px){.mg-v358-catalog-layout{width:min(100% - 24px,1360px);display:block}.mg-v358-filter-panel{position:fixed;z-index:9500;inset:auto 0 0 0;top:auto;max-height:min(84vh,780px);border-radius:24px 24px 0 0;transform:translateY(102%);transition:transform .22s ease;padding:18px 18px calc(18px + env(safe-area-inset-bottom));box-shadow:0 -18px 50px rgba(17,9,51,.2)}body.mg-v358-filter-open .mg-v358-filter-panel{transform:translateY(0)}body.mg-v358-filter-open:before{content:"";position:fixed;inset:0;z-index:9490;background:rgba(0,0,0,.34)}.mg-v358-filter-head [data-v358-close]{display:block;color:inherit}.mg-v358-toolbar [data-v358-open]{display:inline-flex}.mg-v358-panel-actions{bottom:calc(-18px - env(safe-area-inset-bottom))}.mg-v358-toolbar-actions label{display:none}}
@media(max-width:620px){.mg-v358-toolbar{align-items:center}.mg-v358-chips{max-width:72vw;overflow:auto;flex-wrap:nowrap;padding-bottom:3px}.mg-v358-price-row{grid-template-columns:1fr}.mg-v358-family-switcher>div:first-child{display:block}.mg-v358-family-switcher span{display:block;margin-top:3px}}
html[data-theme=dark] .mg-v358-check input{accent-color:#7c5cff}
html[data-theme=dark] .mg-v358-panel-actions .primary,html[data-theme=dark] .mg-v358-family-links a.is-current{background:#7c5cff;border-color:#7c5cff;color:#fff}
html[data-theme=dark] .mg-v358-chips button{border-color:rgba(124,92,255,.34);background:rgba(124,92,255,.12)}

/* Mobile filter usability */
.mg-v358-filter-backdrop{display:none}
@media(max-width:1100px){
  body.mg-v358-filter-scroll-lock{overflow:hidden !important;overscroll-behavior:none !important}
  .mg-v358-filter-backdrop{display:block;position:fixed;inset:0;z-index:9490;border:0;padding:0;margin:0;background:rgba(17,9,51,.22);opacity:0;pointer-events:none;transition:opacity .2s ease;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}
  body.mg-v358-filter-open .mg-v358-filter-backdrop{opacity:1;pointer-events:auto}
  body.mg-v358-filter-open:before{content:none !important;display:none !important}
  .mg-v358-filter-panel{z-index:9500 !important;max-height:min(88vh,780px) !important;max-height:min(88dvh,780px) !important;overflow-y:auto !important;overflow-x:hidden !important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;padding-top:10px !important;box-shadow:0 -16px 46px rgba(17,9,51,.16) !important}
  .mg-v358-filter-panel:before{content:"";display:block;width:42px;height:4px;border-radius:999px;background:rgba(17,9,51,.18);margin:0 auto 8px;pointer-events:none}
  .mg-v358-filter-head{position:sticky;top:-10px;z-index:5;margin:0 -18px;padding:10px 18px 12px;background:#fff;border-bottom:1px solid rgba(17,9,51,.08)}
  .mg-v358-filter-head [data-v358-close]{display:inline-flex !important;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:999px !important;font-size:28px !important;cursor:pointer;touch-action:manipulation}
  .mg-v358-search input,.mg-v358-facet select,.mg-v358-price-row input{min-height:46px;background:#fff !important;color:#1c1728 !important;border-color:rgba(17,9,51,.15) !important;color-scheme:light !important}
  .mg-v358-check{min-height:40px;padding:2px 0;touch-action:manipulation}
  .mg-v358-check input{width:20px !important;height:20px !important;flex:0 0 20px}
  .mg-v358-panel-actions{z-index:6;padding-bottom:calc(14px + env(safe-area-inset-bottom)) !important}
  .mg-v358-panel-actions button{min-height:46px;touch-action:manipulation}
  .mg-v358-toolbar [data-v358-open]{min-height:44px;touch-action:manipulation}
  html[data-theme="dark"] .mg-v358-filter-backdrop{background:rgba(0,0,0,.42)}
  html[data-theme="dark"] .mg-v358-filter-panel:before{background:rgba(255,255,255,.22)}
  html[data-theme="dark"] .mg-v358-filter-head{background:#1e1d23;border-color:rgba(255,255,255,.09)}
  html[data-theme="dark"] .mg-v358-search input,
  html[data-theme="dark"] .mg-v358-facet select,
  html[data-theme="dark"] .mg-v358-price-row input{background:#25232c !important;color:#f9f7ff !important;border-color:rgba(167,139,250,.24) !important;color-scheme:dark !important}
}
@media(max-width:560px){
  .mg-v358-filter-panel{inset:auto 0 0 0 !important;width:100% !important;border-radius:22px 22px 0 0 !important}
  .mg-v358-toolbar{gap:10px;align-items:center}
  .mg-v358-toolbar-actions{flex:0 0 auto}
  .mg-v358-toolbar [data-v358-open]{padding-inline:14px}
  .mg-v358-price-row{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .mg-v358-filter-panel,.mg-v358-filter-backdrop{transition:none !important}
}

/* v364 filter visual system — selectable fields, brand marks, mobile accordions */
.mg-v358-catalog-layout{grid-template-columns:minmax(280px,315px) minmax(0,1fr);gap:30px}
.mg-v364-filter-panel{padding:18px 18px 0;scrollbar-width:thin}
.mg-v364-filter-kicker{display:block!important;margin:0 0 3px!important;font-size:10px!important;font-weight:850!important;letter-spacing:.11em!important;text-transform:uppercase!important;color:#fc6501!important;opacity:1!important}
.mg-v364-filter-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.mg-v364-active-count{display:inline-flex!important;align-items:center;justify-content:center;margin:0!important;padding:5px 8px;border-radius:999px;background:rgba(252,101,1,.1);color:#c94f00;font-size:10px!important;font-weight:850!important;white-space:nowrap;opacity:1!important}
.mg-v364-active-count[hidden]{display:none!important}
.mg-v358-search{margin:16px 0 7px}
.mg-v358-search>label{display:block;margin-bottom:7px;font-size:11px;font-weight:800;letter-spacing:.015em;color:inherit}
.mg-v364-search-shell{position:relative;display:flex;align-items:center;min-height:46px;border:1px solid rgba(17,9,51,.13);border-radius:14px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.mg-v364-search-shell:focus-within{border-color:rgba(252,101,1,.7);box-shadow:0 0 0 3px rgba(252,101,1,.11)}
.mg-v364-search-shell>svg{display:block;width:20px;min-width:20px;height:20px;flex:0 0 20px;margin-left:13px;color:#756d80}
.mg-v364-search-shell input{min-width:0!important;min-height:44px!important;margin:0!important;padding:10px 38px 10px 9px!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:inherit!important;color-scheme:light!important}
.mg-v364-search-shell input::-webkit-search-cancel-button{display:none}
.mg-v364-search-shell [data-v358-search-clear]{position:absolute;right:7px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:0;border-radius:999px;background:rgba(17,9,51,.06);color:inherit;font-size:19px;line-height:1;cursor:pointer}
.mg-v364-search-shell [data-v358-search-clear][hidden]{display:none!important}

.mg-v358-facet.mg-v364-facet{padding:0;border-top:1px solid rgba(17,9,51,.075)}
.mg-v364-facet-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.mg-v364-facet-heading{min-width:0;display:grid;gap:3px}
.mg-v364-facet-title{font-size:12px;font-weight:850;letter-spacing:.012em;color:inherit}
.mg-v364-facet-summary{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;font-weight:650;opacity:.58}
.mg-v364-facet.has-selection .mg-v364-facet-summary{color:#d25200;opacity:1;font-weight:800}
.mg-v364-facet-chevron{flex:0 0 auto;transition:transform .18s ease;opacity:.62}
.mg-v364-facet.is-open .mg-v364-facet-chevron{transform:rotate(180deg)}
.mg-v358-facet-options{padding:0 0 15px;gap:0}

.mg-v364-choice-grid{display:grid;grid-template-columns:1fr;gap:7px}
.mg-v364-choice-grid--two,.mg-v364-choice-grid--brands,.mg-v364-choice-grid--types{grid-template-columns:repeat(2,minmax(0,1fr))}
.mg-v364-choice-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
.mg-v364-choice-grid--one{grid-template-columns:1fr}
.mg-v358-check.mg-v364-choice{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:45px;padding:9px 9px 9px 10px;border:1px solid rgba(17,9,51,.115);border-radius:13px;background:#fff;color:#1c1728;font-size:12px;line-height:1.22;cursor:pointer;user-select:none;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.mg-v358-check.mg-v364-choice:hover{border-color:rgba(252,101,1,.52);background:#fffaf6}
.mg-v358-check.mg-v364-choice:active{transform:scale(.985)}
.mg-v358-check.mg-v364-choice>input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.mg-v358-check.mg-v364-choice:has(input:focus-visible){outline:3px solid rgba(252,101,1,.2);outline-offset:2px}
.mg-v358-check.mg-v364-choice.is-selected,.mg-v358-check.mg-v364-choice:has(input:checked){background:#fc6501;color:#fff;border-color:#fc6501;box-shadow:0 7px 18px rgba(252,101,1,.16)}
.mg-v364-choice-content{min-width:0;display:flex;align-items:center;gap:8px;flex:1 1 auto}
.mg-v364-choice-copy{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:6px;flex:1 1 auto}
.mg-v364-choice-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.mg-v364-choice-copy small{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:rgba(17,9,51,.055);font-size:9px;font-weight:850;line-height:1;color:#655d70}
.mg-v364-choice-mark{display:inline-flex;align-items:center;justify-content:center;flex:0 0 19px;width:19px;height:19px;border:1px solid rgba(17,9,51,.16);border-radius:999px;font-size:10px;font-weight:950;color:transparent;background:rgba(17,9,51,.025);transition:all .16s ease}
.mg-v364-choice.is-selected .mg-v364-choice-mark,.mg-v364-choice:has(input:checked) .mg-v364-choice-mark{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.18);color:#fff}
.mg-v364-choice.is-selected .mg-v364-choice-copy small,.mg-v364-choice:has(input:checked) .mg-v364-choice-copy small{background:rgba(255,255,255,.18);color:#fff}

.mg-v364-brand-choice{min-height:52px!important}
.mg-v364-brand-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:rgba(17,9,51,.05);overflow:hidden;color:#110933}
.mg-v364-brand-icon img{display:block;width:20px;height:20px;object-fit:contain;filter:brightness(0) saturate(100%)}
.mg-v364-brand-fallback{display:none;place-items:center;width:100%;height:100%;font-size:8px;font-weight:950;letter-spacing:-.02em}
.mg-v364-brand-icon.is-fallback .mg-v364-brand-fallback,.mg-v364-brand-icon.is-broken .mg-v364-brand-fallback{display:grid}
.mg-v364-brand-icon.is-broken img{display:none}
.mg-v364-choice.is-selected .mg-v364-brand-icon,.mg-v364-choice:has(input:checked) .mg-v364-brand-icon{background:rgba(255,255,255,.18);color:#fff}
.mg-v364-choice.is-selected .mg-v364-brand-icon img,.mg-v364-choice:has(input:checked) .mg-v364-brand-icon img{filter:brightness(0) invert(1)}

.mg-v358-price-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mg-v358-price-row label{min-width:0;display:grid;gap:6px;font-size:10.5px;font-weight:800}
.mg-v364-money-input{display:flex;align-items:center;min-width:0;height:45px;border:1px solid rgba(17,9,51,.12);border-radius:13px;background:#fff;overflow:hidden;transition:border-color .16s ease,box-shadow .16s ease}
.mg-v364-money-input:focus-within{border-color:rgba(252,101,1,.7);box-shadow:0 0 0 3px rgba(252,101,1,.1)}
.mg-v364-money-input>b{flex:0 0 auto;margin-left:10px;font-size:12px;color:#6a6373}
.mg-v364-money-input input{min-width:0!important;height:43px!important;min-height:43px!important;margin:0!important;padding:8px 8px 8px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;color:inherit!important;color-scheme:light!important;font-weight:750}

.mg-v358-panel-actions{align-items:center;gap:8px;margin-top:4px}
.mg-v358-panel-actions button{min-height:44px;transition:transform .16s ease,background .16s ease,border-color .16s ease}
.mg-v358-panel-actions button:active{transform:scale(.985)}
.mg-v358-panel-actions button:disabled{opacity:.38;cursor:default}
.mg-v358-panel-actions .primary{display:flex;align-items:center;justify-content:center;gap:7px}
.mg-v358-panel-actions .primary strong{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:rgba(255,255,255,.2);font-size:10px}

.mg-v358-toolbar [data-v358-open]{align-items:center;gap:7px}
.mg-v358-toolbar [data-v358-open] b{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#fc6501;color:#fff;font-size:10px;line-height:1}
.mg-v358-toolbar [data-v358-open] b[hidden]{display:none!important}
.mg-v358-chips{row-gap:7px}
.mg-v358-chips button{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:5px 9px 5px 10px;border-color:rgba(252,101,1,.3);background:#fff8f3;color:#4f382b;font-weight:700}
.mg-v358-chips button span{font-size:14px;line-height:1;opacity:.72}

html[data-theme=dark] .mg-v364-filter-kicker{color:#a78bfa!important}
html[data-theme=dark] .mg-v364-active-count{background:rgba(124,92,255,.18);color:#c4b5fd}
html[data-theme=dark] .mg-v364-search-shell,html[data-theme=dark] .mg-v358-check.mg-v364-choice,html[data-theme=dark] .mg-v364-money-input{background:#25232c;border-color:rgba(255,255,255,.1);color:#f9f7ff}
html[data-theme=dark] .mg-v364-search-shell:focus-within,html[data-theme=dark] .mg-v364-money-input:focus-within{border-color:rgba(124,92,255,.72);box-shadow:0 0 0 3px rgba(124,92,255,.14)}
html[data-theme=dark] .mg-v364-search-shell input,html[data-theme=dark] .mg-v364-money-input input{background:transparent!important;color:#f9f7ff!important;color-scheme:dark!important}
html[data-theme=dark] .mg-v364-search-shell>svg,html[data-theme=dark] .mg-v364-money-input>b{color:#b8b0c5}
html[data-theme=dark] .mg-v364-search-shell [data-v358-search-clear]{background:rgba(255,255,255,.08)}
html[data-theme=dark] .mg-v358-facet.mg-v364-facet{border-color:rgba(255,255,255,.08)}
html[data-theme=dark] .mg-v364-facet.has-selection .mg-v364-facet-summary{color:#b8a4ff}
html[data-theme=dark] .mg-v358-check.mg-v364-choice:hover{border-color:rgba(124,92,255,.48);background:#2d2a35}
html[data-theme=dark] .mg-v358-check.mg-v364-choice:has(input:focus-visible){outline-color:rgba(124,92,255,.28)}
html[data-theme=dark] .mg-v358-check.mg-v364-choice.is-selected,html[data-theme=dark] .mg-v358-check.mg-v364-choice:has(input:checked){background:#7c5cff;border-color:#7c5cff;color:#fff;box-shadow:0 7px 18px rgba(124,92,255,.17)}
html[data-theme=dark] .mg-v364-choice-copy small{background:rgba(255,255,255,.07);color:#c8c1d3}
html[data-theme=dark] .mg-v364-choice-mark{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.04)}
html[data-theme=dark] .mg-v364-brand-icon{background:rgba(255,255,255,.08);color:#fff}
html[data-theme=dark] .mg-v364-brand-icon img{filter:brightness(0) invert(1)}
html[data-theme=dark] .mg-v358-chips button{border-color:rgba(124,92,255,.34);background:rgba(124,92,255,.12);color:#ece8f5}
html[data-theme=dark] .mg-v358-toolbar [data-v358-open] b{background:#7c5cff}

@media(min-width:1101px){
  .mg-v364-facet-toggle{cursor:default;pointer-events:none;padding-bottom:10px}
  .mg-v364-facet-chevron{display:none}
  .mg-v364-facet-summary{display:none}
  .mg-v358-facet-options{display:block!important}
  .mg-v364-choice-grid{display:grid!important}
  .mg-v364-filter-panel .mg-v358-filter-head [data-v358-close]{display:none!important}
}

/* Consolidated catalogue refinement: shared spacing, touch sizes and one responsive filter surface. */
.mg-v358-catalog-layout{gap:var(--mg-space-6,24px)}
.mg-v358-toolbar{gap:var(--mg-space-4,16px);margin-bottom:var(--mg-space-4,16px)}
.mg-v358-toolbar-actions{gap:var(--mg-space-3,12px);flex-wrap:wrap;justify-content:flex-end}
.mg-v358-toolbar-actions select,
.mg-v358-toolbar [data-v358-open],
.mg-v358-help-choose,
.mg-v358-pager button,
.mg-v358-empty button{min-height:44px!important}
.mg-v358-help-choose{display:inline-flex;align-items:center;justify-content:center;padding:9px 16px;border:1px solid rgba(252,101,1,.36);border-radius:999px;color:#a83f00;background:rgba(252,101,1,.06);font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap}
.mg-v358-help-choose:hover{background:#fc6501;border-color:#fc6501;color:#fff}
.mg-v358-search input,.mg-v358-facet select,.mg-v358-price-row input{min-height:48px;padding:12px}
.mg-v358-check{min-height:44px;padding:6px 0}
.mg-v358-check input{flex:0 0 auto;width:20px;height:20px}
.mg-v358-panel-actions{gap:var(--mg-space-2,8px);padding:var(--mg-space-3,12px) var(--mg-space-4,16px)}
.mg-v358-panel-actions button{min-height:48px}
.mg-v358-pager{gap:var(--mg-space-3,12px);margin:var(--mg-space-6,24px) 0 var(--mg-space-3,12px)}
html[data-theme=dark] .mg-v358-help-choose{color:#fff;border-color:rgba(252,101,1,.55);background:rgba(252,101,1,.13)}
body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{will-change:transform;transition:transform .24s cubic-bezier(.22,1,.36,1)!important}
@media(max-width:1100px){
  .mg-v358-catalog-layout{width:min(100% - 48px,1360px)}
  .mg-v358-toolbar-actions label{display:flex}
}
@media(max-width:700px){
  .mg-v358-catalog-layout{width:min(100% - 32px,1360px)}
  .mg-v358-toolbar{align-items:flex-start;flex-direction:column}
  .mg-v358-toolbar-actions{width:100%;justify-content:flex-start}
  .mg-v358-toolbar-actions label{order:3;width:100%;justify-content:space-between}
  .mg-v358-toolbar-actions select{flex:1;max-width:260px}
  .mg-v358-chips{max-width:calc(100vw - 32px)}
}
@media(max-width:430px){
  .mg-v358-toolbar-actions{padding-right:56px}
  .mg-v358-help-choose,.mg-v358-toolbar [data-v358-open]{flex:1}
  .mg-v358-toolbar-actions label{padding-right:0}
}
@media(max-width:1100px){
  .mg-v364-filter-panel{padding:10px 16px 0!important;border-radius:28px 28px 0 0!important;max-height:min(90vh,820px)!important;max-height:min(90dvh,820px)!important}
  .mg-v358-filter-panel:before{margin-bottom:5px}
  .mg-v358-filter-head{top:-10px;margin:0 -16px;padding:8px 16px 11px}
  .mg-v358-filter-head strong{font-size:20px}
  .mg-v358-filter-head>div:first-child>span:last-child{font-size:11px;line-height:1.3}
  .mg-v358-search{margin-top:14px;margin-bottom:4px}
  .mg-v358-facet.mg-v364-facet{margin:0}
  .mg-v364-facet-toggle{min-height:54px;padding:10px 0}
  .mg-v358-facet-options{display:none;padding:0 0 13px}
  .mg-v364-facet.is-open>.mg-v358-facet-options{display:block}
  .mg-v364-facet.is-open>.mg-v358-facet-options>.mg-v364-choice-grid{display:grid}
  .mg-v364-choice-grid--types,.mg-v364-choice-grid--brands,.mg-v364-choice-grid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mg-v364-choice-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mg-v358-check.mg-v364-choice{min-height:47px;padding:9px 9px}
  .mg-v364-brand-choice{min-height:54px!important}
  .mg-v358-panel-actions{margin:8px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));bottom:calc(0px - env(safe-area-inset-bottom));background:#fff;box-shadow:0 -10px 24px rgba(17,9,51,.06)}
  html[data-theme=dark] .mg-v358-panel-actions{background:#1e1d23;box-shadow:0 -10px 24px rgba(0,0,0,.16)}
}
@media(max-width:620px){
  .mg-v358-toolbar{margin-bottom:14px}
  .mg-v358-toolbar>div:first-child{min-width:0}
  .mg-v358-chips{max-width:68vw}
  .mg-v358-price-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:390px){
  .mg-v364-choice-grid--compact{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mg-v364-choice-grid--brands{grid-template-columns:1fr 1fr}
  .mg-v364-brand-icon{flex-basis:27px;width:27px;height:27px}
  .mg-v364-brand-icon img{width:18px;height:18px}
  .mg-v364-choice-label{font-size:11px}
  .mg-v358-toolbar [data-v358-open]{padding-inline:12px}
}
@media(max-width:350px){
  .mg-v358-price-row{grid-template-columns:1fr}
  .mg-v364-choice-grid--types,.mg-v364-choice-grid--brands,.mg-v364-choice-grid--two{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .mg-v364-facet-chevron,.mg-v358-check.mg-v364-choice,.mg-v364-search-shell,.mg-v364-money-input{transition:none!important}
}


/* Consolidated baseline — opt-in filter drawer on every viewport. Desktop no longer reserves a permanent sidebar. */
.mg-v358-toolbar [data-v358-open]{display:inline-flex!important;align-items:center;justify-content:center;cursor:pointer}
@media(min-width:1101px){
  .mg-v358-catalog-layout{display:block!important;width:min(100% - 48px,1360px)!important;margin-inline:auto!important}
  .mg-v358-results{width:100%;min-width:0}
  .mg-v358-filter-backdrop{display:block;position:fixed;inset:0;z-index:9490;border:0;padding:0;margin:0;background:rgba(17,9,51,.24);opacity:0;pointer-events:none;transition:opacity .2s ease;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}
  body.mg-v358-filter-open .mg-v358-filter-backdrop{opacity:1;pointer-events:auto}
  .mg-v358-filter-panel,.mg-v364-filter-panel{position:fixed!important;z-index:9500!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(440px,92vw)!important;max-width:92vw!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:24px 0 0 24px!important;padding:20px!important;transform:translateX(104%)!important;transition:transform .22s ease!important;box-shadow:-18px 0 50px rgba(17,9,51,.18)!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  body.mg-v358-filter-open .mg-v358-filter-panel,body.mg-v358-filter-open .mg-v364-filter-panel{transform:translateX(0)!important}
  body.mg-v358-filter-scroll-lock{overflow:hidden!important;overscroll-behavior:none!important}
  .mg-v358-filter-head{position:sticky;top:-20px;z-index:4;margin:0 -20px;padding:16px 20px 13px;background:inherit}
  .mg-v358-filter-head [data-v358-close]{display:block!important;color:inherit;cursor:pointer}
  .mg-v364-facet-toggle{cursor:default;pointer-events:none;padding-bottom:10px}
  .mg-v364-facet-chevron{display:none}
  .mg-v364-facet-summary{display:none}
  .mg-v358-facet-options{display:block!important}
  .mg-v364-choice-grid{display:grid!important}
  .mg-v358-panel-actions{bottom:-20px;margin:10px -20px -20px;padding:14px 20px 20px;background:inherit}
  html[data-theme="dark"] .mg-v358-filter-backdrop{background:rgba(0,0,0,.46)}
}

/* Keep the closed filter completely out of pointer/keyboard interaction. */
.mg-v358-filter-panel{visibility:hidden;pointer-events:none}
body.mg-v358-filter-open .mg-v358-filter-panel{visibility:visible;pointer-events:auto}


/* Consolidated filter portal geometry. The fixed layer is a direct body child. */
body > .mg-v358-filter-backdrop[data-mg-filter-portal="body"]{
  position:fixed!important;inset:0!important;z-index:2147483000!important;display:block!important;
  margin:0!important;padding:0!important;border:0!important;background:rgba(17,9,51,.28)!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  backdrop-filter:blur(2px)!important;-webkit-backdrop-filter:blur(2px)!important;
  transition:opacity .2s ease,visibility .2s ease!important
}
body.mg-v358-filter-open > .mg-v358-filter-backdrop[data-mg-filter-portal="body"]{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important
}
body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
  position:fixed!important;z-index:2147483001!important;box-sizing:border-box!important;
  visibility:hidden!important;pointer-events:none!important;background:#fff!important;color:#1c1728!important
}
body.mg-v358-filter-open > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
  visibility:visible!important;pointer-events:auto!important
}
html[data-theme="dark"] body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
  background:#1e1d23!important;color:#f9f7ff!important
}
html[data-theme="dark"] body > .mg-v358-filter-backdrop[data-mg-filter-portal="body"]{
  background:rgba(0,0,0,.48)!important
}
@media(max-width:1100px){
  body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
    top:auto!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;
    height:auto!important;max-height:min(88vh,780px)!important;max-height:min(88dvh,780px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;border-radius:24px 24px 0 0!important;
    padding:10px 16px 0!important;transform:translate3d(0,105%,0)!important;
    transition:transform .22s ease,visibility .22s ease!important;box-shadow:0 -16px 46px rgba(17,9,51,.18)!important;
    -webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;touch-action:pan-y!important
  }
  body.mg-v358-filter-open > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
    transform:translate3d(0,0,0)!important
  }
}
@media(min-width:1101px){
  body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
    top:0!important;right:0!important;bottom:0!important;left:auto!important;width:min(440px,92vw)!important;max-width:92vw!important;
    height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;
    overflow-y:auto!important;overflow-x:hidden!important;border-radius:24px 0 0 24px!important;padding:20px!important;
    transform:translate3d(104%,0,0)!important;transition:transform .22s ease,visibility .22s ease!important;
    box-shadow:-18px 0 50px rgba(17,9,51,.18)!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important
  }
  body.mg-v358-filter-open > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
    transform:translate3d(0,0,0)!important
  }
}

/* Last in cascade so portal motion is not delayed by visibility transitions. */
body > .mg-v358-filter-panel[data-mg-filter-portal="body"]{
  will-change:transform;transition:transform .24s cubic-bezier(.22,1,.36,1)!important
}

/* Tablet/desktop toolbar: keep recommendation, sort and filter controls level. */
@media(min-width:701px){
  .mg-v358-toolbar-actions{align-items:center;flex-wrap:nowrap;gap:var(--mg-space-3,12px)}
  html body .mg-v358-toolbar-actions label{display:inline-flex;align-items:center;flex:0 0 auto;height:44px!important;min-height:44px!important;margin:0!important;gap:var(--mg-space-2,8px);line-height:1}
  .mg-v358-help-choose,
  .mg-v358-toolbar [data-v358-open]{box-sizing:border-box;height:44px;min-height:44px!important;margin:0}
  .mg-v358-help-choose,
  .mg-v358-toolbar [data-v358-open]{padding-block:0}
  html body .mg-v358-toolbar-actions select{box-sizing:border-box;height:44px!important;min-height:44px!important;margin:0!important;padding-top:0!important;padding-bottom:0!important}
}
