/* Figma 3777:7871 / 3777:7869. The track follows actual prices; thumbs exported from 3282:4319. */
body.site-body #catalog-filter-drawer .pm-filter-price legend { margin:0 0 16px; font-size:16px; line-height:24px; font-weight:400; }
body.site-body #catalog-filter-drawer .pm-filter-price__sliders { position:relative; height:14px; margin:0 0 16px; touch-action:pan-y; cursor:pointer; }
body.site-body #catalog-filter-drawer .pm-filter-price__sliders[hidden] { display:none; }
body.site-body #catalog-filter-drawer .pm-filter-price__track { position:absolute; inset:6px 0 auto; height:1px; background:linear-gradient(to right,#ccc 0 var(--pm-price-low,0%),#b7864f var(--pm-price-low,0%) var(--pm-price-high,100%),#ccc var(--pm-price-high,100%) 100%); }
body.site-body #catalog-filter-drawer .pm-filter-price__slider { position:absolute; left:-22px; top:-15px; width:calc(100% + 44px); height:44px; min-height:0; margin:0; padding:0; border:0; border-radius:0; background:transparent; appearance:none; -webkit-appearance:none; pointer-events:none; outline:none; box-shadow:none; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider::-webkit-slider-runnable-track { height:44px; background:transparent; border:0; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:44px; height:44px; border:0; border-radius:50%; background:transparent url('../icons/filter-price-pm/thumb.svg') center / 14px 14px no-repeat; cursor:grab; pointer-events:auto; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider::-moz-range-track { height:44px; background:transparent; border:0; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider::-moz-range-thumb { width:44px; height:44px; border:0; border-radius:50%; background:transparent url('../icons/filter-price-pm/thumb.svg') center / 14px 14px no-repeat; cursor:grab; pointer-events:auto; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider:focus-visible { outline:none; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider:focus-visible::-webkit-slider-thumb { background-color:transparent; outline:2px solid #242424; outline-offset:-11px; }
body.site-body #catalog-filter-drawer .pm-filter-price__slider:focus-visible::-moz-range-thumb { outline:2px solid #242424; outline-offset:-11px; }
body.site-body #catalog-filter-drawer .pm-filter-price .catalog-filter-panel__range { display:flex; justify-content:space-between; gap:16px; }
body.site-body #catalog-filter-drawer .pm-filter-price .catalog-filter-panel__range label { display:flex; flex-direction:row; align-items:center; gap:4px; min-width:0; font-size:13px; line-height:16px; color:#7b7b7b; }
body.site-body #catalog-filter-drawer .pm-filter-price__value { display:inline-grid; min-width:0; width:var(--pm-price-width,8ch); }
body.site-body #catalog-filter-drawer .pm-filter-price input[type="number"],
body.site-body #catalog-filter-drawer .pm-filter-price output { grid-area:1/1; width:100%; min-width:0; height:16px; box-sizing:border-box; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:#242424; font:inherit; line-height:16px; text-align:left; box-shadow:none; appearance:textfield; -moz-appearance:textfield; }
body.site-body #catalog-filter-drawer .pm-filter-price output { display:none; pointer-events:none; white-space:nowrap; }
body.site-body #catalog-filter-drawer .pm-filter-price.is-enhanced output { display:block; }
body.site-body #catalog-filter-drawer .pm-filter-price.is-enhanced input[type="number"]:not(:focus),
body.site-body #catalog-filter-drawer .pm-filter-price.is-enhanced input[type="number"]:not(:focus)::placeholder { color:transparent; }
body.site-body #catalog-filter-drawer .pm-filter-price input[type="number"]:focus + output { visibility:hidden; }
body.site-body #catalog-filter-drawer .pm-filter-price input[type="number"]::placeholder { color:#242424; opacity:1; }
body.site-body #catalog-filter-drawer .pm-filter-price input::-webkit-inner-spin-button,
body.site-body #catalog-filter-drawer .pm-filter-price input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
body.site-body #catalog-filter-drawer .pm-filter-price__currency { color:#242424; }
@media (pointer:coarse) {
 body.site-body #catalog-filter-drawer .pm-filter-price .catalog-filter-panel__range label { min-height:44px; }
 body.site-body #catalog-filter-drawer .pm-filter-price input[type="number"] { height:44px; }
 body.site-body #catalog-filter-drawer .pm-filter-price output { align-self:center; }
}

/* Mobile inputs have a 44px touch area. Keep formatted prices on the same baseline. */
@media (max-width:767px) {
 body.site-body #catalog-filter-drawer .pm-filter-price output { align-self:center; }
}
/* Keep the 44px endpoint touch areas inside the drawer's 20px mobile gutters. */
@media (max-width:479px) {
 body.site-body #catalog-filter-drawer .pm-filter-price__sliders { margin-inline:2px; }
}
