/* Scoped additions: category summary, applied chips, filter checkboxes and phone sheet. */
.hp-pf-summary[hidden],.hp-pf-chips[hidden],.hp-pf-dialog [hidden]{display:none!important}
.hp-pf-summary{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;position:relative;gap:12px;border-left:5px solid #f08321;padding:0 0 0 16px;margin:0 0 22px;color:#171717;min-width:0}
.hp-pf-summary>div{flex:1 1 auto;min-width:0}
.hp-pf-summary h1{font-size:clamp(23px,3vw,32px);line-height:1.2;margin:0;font-weight:700;display:block;width:max-content;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-pf-summary [data-pf-total]{display:block;flex:0 0 auto;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:inherit;font-size:14px;line-height:1.4;font-weight:400;color:#737373;text-align:right;white-space:nowrap;cursor:default}
.hp-pf-summary [data-pf-total][hidden],.hp-pf-exact-total[hidden]{display:none!important}
.hp-pf-summary [data-pf-total][data-pf-compact="1"]{cursor:pointer}
.hp-pf-summary .hp-pf-total-value{font-weight:700;color:#111}.hp-pf-total-word{font-weight:400}
.hp-pf-exact-total{position:absolute;top:calc(100% + 6px);right:0;z-index:10;padding:7px 10px;border:1px solid #e8e8e8;border-radius:7px;background:#fff;color:#555;box-shadow:0 4px 12px #0002;font-size:12px;font-weight:400;line-height:1.4;white-space:nowrap}
.hp-pf-count{margin-left:auto;flex:0 0 auto;align-self:center;font-size:12px;color:#858585;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:400}
:is([data-pf-tax],[data-pf-dialog-tax])>.hp-pf-count{white-space:nowrap!important}
[data-pf-measure-count]{white-space:nowrap!important}
[data-pf-measure-count]>span{white-space:nowrap!important;flex:none!important}
.hp-pf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.hp-pf-chips a{display:inline-flex;align-items:center;gap:10px;border:1px solid #f2d3b6;border-radius:18px;background:#fff5eb;color:#9e4809;padding:5px 10px;text-decoration:none;font-size:12px;line-height:1.5}
.hp-pf-chips a span{font-size:17px;line-height:1}
.hp-pf-toggle{display:flex;align-items:center;gap:10px;padding:0;width:100%;background:none;border:0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hp-pf-toggle>span:not(.hp-menu-uploaded-icon){flex:1;min-width:0}
.hp-pf-toggle>svg:not(.hp-pf-collapse-icon),.hp-pf-toggle>.hp-menu-uploaded-icon{width:23px;height:23px;flex:0 0 23px;color:#777}
.hp-pf-toggle>.hp-pf-collapse-icon,.hp-pf-facet summary>.hp-pf-collapse-icon{display:block!important;position:static!important;align-self:center;flex:0 0 16px;width:16px!important;height:16px!important;margin:0 0 0 auto;color:inherit;transform:rotate(0deg);transform-origin:center;transition:transform .16s ease}
.hp-pf-collapsed .hp-pf-toggle>.hp-pf-collapse-icon,.hp-pf-facet:not([open]) summary>.hp-pf-collapse-icon{transform:rotate(-180deg)}
html:not([data-hp-pf-device="phone"]) .hp-pf-collapsed>.hp-pf-options{display:none!important}
html:not([data-hp-pf-device="phone"]) .hp-navigation-header .hp-pf-options a[data-pf-tax]{display:flex!important;align-items:center;gap:9px;text-align:left}
html:not([data-hp-pf-device="phone"]) .hp-builder-group .hp-pf-options a[data-pf-tax]::before{content:'';flex:0 0 15px;width:15px;height:15px;border:1.4px solid #b0b0b0;border-radius:3px;box-sizing:border-box;background:#fff}
html:not([data-hp-pf-device="phone"]) .hp-builder-group .hp-pf-options a[data-pf-tax].is-active::before{border-color:#f08321;background:#f08321 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 2.6 2.6L12 5.3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/15px no-repeat}
html[data-hp-pf-device="phone"] .hp-navigation-header .hp-pf-count{display:none!important}
.hp-pf-dialog{box-sizing:border-box;position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,560px);max-width:100%;height:auto;max-height:88vh;max-height:88dvh;padding:0;border:0;border-radius:20px 20px 0 0;background:#fff;color:#222;box-shadow:0 -12px 45px #0002;overflow:hidden;overscroll-behavior:contain;font-family:inherit}
.hp-pf-dialog[open]{display:flex;flex-direction:column}.hp-pf-dialog::backdrop{background:rgb(0 0 0 / 38%)}
.hp-pf-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 20px 15px;border-bottom:1px solid #ededed;flex:0 0 auto}
.hp-pf-sheet-head p{margin:0 0 3px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#777}.hp-pf-sheet-head h2{font-size:23px;line-height:1.3;margin:0;font-weight:700}
.hp-pf-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:#f5f5f5;color:#555;border-radius:50%;font-size:29px;cursor:pointer}
.hp-pf-sheet-body{flex:1 1 auto;min-height:80px;padding:0 20px 8px;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.hp-pf-facet{border-bottom:1px solid #ededed;padding:12px 0}.hp-pf-facet:last-child{border-bottom:0}
.hp-pf-facet summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;font-size:15px;font-weight:650;cursor:pointer;list-style:none}
.hp-pf-facet summary::-webkit-details-marker{display:none}.hp-pf-facet summary::after{content:none}.hp-pf-facet-label{flex:1;min-width:0}
.hp-pf-option{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 0;box-sizing:border-box;cursor:pointer;font-size:14px;line-height:1.35;color:#444}
.hp-pf-option input{appearance:none;-webkit-appearance:none;position:relative;display:block;flex:0 0 19px;width:19px;height:19px;margin:0;border:1.5px solid #b9b9b9;border-radius:3px;background:#fff;cursor:pointer}
.hp-pf-option input:checked{background:#f08321;border-color:#f08321}.hp-pf-option input:checked::after{content:'';position:absolute;left:5px;top:2px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}
.hp-pf-option input:focus-visible,.hp-pf-dialog button:focus-visible,.hp-pf-facet summary:focus-visible,.hp-pf-toggle:focus-visible{outline:2px solid #b95300;outline-offset:3px}
.hp-pf-option-label{flex:1;min-width:0;overflow-wrap:anywhere}.hp-pf-more{display:inline-flex;align-items:center;min-height:40px;padding:5px 0;background:none;border:0;color:#b65c12;font-size:13px;font-weight:600;cursor:pointer}
.hp-pf-sheet-foot{display:flex;gap:12px;flex:0 0 auto;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid #e8e8e8;background:#fff}
.hp-pf-sheet-foot button{min-height:46px;border-radius:9px;padding:10px 18px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.hp-pf-reset{flex:0 0 30%;background:white;border:1px solid #ddd;color:#555}.hp-pf-apply{flex:1;background:#f08321;border:1px solid #f08321;color:white}.hp-pf-sheet-foot button:disabled{opacity:.5;cursor:wait}
html[data-hp-pf-device="phone"] .hp-pf-summary{gap:12px;padding-left:12px;margin-top:8px;margin-bottom:18px}html[data-hp-pf-device="phone"] .hp-pf-summary [data-pf-total]{font-size:12px}

/* Filter boxes expand in the rail; only the whole left menu scrolls. */
html:not([data-hp-pf-device="phone"]) .hp-navigation-header :is(.catalog-strip--content,.catalog-strip--language,.hp-builder-group>.hp-builder-options){height:auto!important;max-height:none!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;touch-action:auto!important;flex-shrink:0}
html:not([data-hp-pf-device="phone"]) .hp-navigation-header .hp-pf-group{flex-shrink:0}
/* Selected labels match the built-in language filter; the tick stays orange. */
html:not([data-hp-pf-device="phone"]) .hp-navigation-header :is(.catalog-strip--content,.catalog-strip--language,.hp-builder-group>.hp-builder-options) a[data-pf-tax].is-active{color:#111!important;font-weight:600!important;background:#fff!important}
/* Override the older gray heading-SVG rule so every chevron inherits its label. */
.hp-navigation-header .hp-pf-toggle>.hp-pf-collapse-icon,.hp-pf-dialog .hp-pf-facet summary>.hp-pf-collapse-icon{color:inherit!important}

/* Feed category heading and pattern total stay legible on the phone's black background. */
html[data-hp-pf-device="phone"] body.hp-video-feed-page .hp-pf-summary :is(h1,[data-pf-total],.hp-pf-total-value,.hp-pf-total-word){color:#fff}
