/* Catalog and shared project cards. All controls also work as native GET forms. */
.product-catalog .pd-catalog-filters{padding:0;margin:0 0 12px;border:0;background:none;border-radius:0}
.product-catalog .pd-catalog-filters>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:46px;padding:10px 14px;border:1px solid #e2e5eb;border-radius:9px;background:#fff;color:#263248;font-size:13px;font-weight:650;cursor:pointer;margin:0}
.product-catalog .pd-catalog-filters>summary strong{margin-left:auto;font-size:12px;font-weight:450;color:#64718a}
.product-catalog .pd-catalog-filters>summary .ui-icon{width:16px;height:16px;flex-shrink:0}
.product-catalog .pd-catalog-filters[open]>.pd-filter-form{margin-top:12px}
.product-catalog .pd-catalog-filters[open]>summary{background:#f7f9ff;border-color:#cad5ed}
.product-catalog .pd-native-filter-apply{margin:12px 0;min-height:44px}
.product-catalog{--pd-ink:#20252c;--pd-muted:#657080;--pd-accent:#315cdb;--pd-soft:#edf2ff;--pd-line:#e2e5eb;--pd-surface:#fff;min-width:0}
.product-catalog .pd-catalog-shell{max-width:1360px;width:100%;margin:0 auto;padding:20px 32px 56px}
.product-catalog .pd-catalog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 20px}
.product-catalog .pd-catalog-heading>div{min-width:0;max-width:780px}
.product-catalog .pd-catalog-heading h1{font-family:inherit;font-size:32px;font-weight:750;letter-spacing:-.04em;line-height:1.2;color:var(--pd-ink);margin:0 0 8px}
.product-catalog .pd-catalog-heading p{font-size:14px;line-height:1.65;color:var(--pd-muted);margin:0;max-width:730px}
.product-catalog .pd-category-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px;padding:0 0 16px;border-bottom:1px solid var(--pd-line)}
.product-catalog .pd-category-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border:1px solid transparent;border-radius:7px;color:var(--pd-muted);font-size:13px;font-weight:600;line-height:1.4;text-decoration:none}
.product-catalog .pd-category-nav a:hover{background:#f1f4fa;color:var(--pd-ink);border-color:var(--pd-line)}
.product-catalog .pd-category-nav a[aria-current=page]{background:var(--pd-soft);color:var(--pd-accent);border-color:#ccdaf8}
@media(max-width:650px){.product-catalog .pd-category-nav{gap:3px;margin-bottom:14px;padding-bottom:12px}.product-catalog .pd-category-nav a{font-size:12px;padding:8px 10px}}
.product-catalog .pd-category-picker{position:relative;flex-shrink:0;margin:0;border:0;background:transparent;padding:0;border-radius:0;max-width:100%}
.product-catalog .pd-category-picker>summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font-size:13px;list-style:none;padding:0 2px;color:var(--pd-ink)}
.product-catalog .pd-category-label{font-size:12px;color:var(--pd-muted)}
.product-catalog .pd-category-picker strong{font-weight:650}
.product-catalog summary::-webkit-details-marker{display:none}
.product-catalog .pd-category-picker>summary .ui-icon{width:13px;height:13px}
.product-catalog .pd-category-picker nav{position:absolute;z-index:42;right:0;top:calc(100% + 5px);width:260px;max-width:calc(100vw - 40px);max-height:65vh;overflow:auto;display:grid;gap:2px;padding:8px;border:1px solid var(--pd-line);border-radius:9px;background:#fff;box-shadow:0 8px 24px #20252c12}
.product-catalog .pd-category-picker nav>a{display:flex;align-items:center;min-height:42px;padding:8px 12px;border-radius:5px;font-size:13px;line-height:1.4;color:var(--pd-ink)}
.product-catalog .pd-category-picker nav>a[aria-current],.product-catalog .pd-category-picker nav>a:hover{background:var(--pd-soft);color:var(--pd-accent)}
.product-catalog .pd-catalog-search{display:flex;gap:10px;align-items:center;min-width:0;padding:6px 8px 6px 14px;border:1px solid var(--pd-line);border-radius:9px;background:#fff;margin:0 0 12px}
.product-catalog .pd-search-field{display:flex;gap:10px;align-items:center;min-width:0;flex:1;margin:0;color:var(--pd-muted)}
.product-catalog .pd-search-field .ui-icon{width:18px;height:18px;flex-shrink:0}
.product-catalog .pd-search-field input{border:0!important;background:transparent!important;box-shadow:none;min-width:0;width:100%;padding:9px 0;font:inherit;font-size:14px;min-height:44px;color:var(--pd-ink)}
body.canvas-live.modonix.product-live .product-catalog .pd-catalog-search:focus-within{border-color:#315cdb;box-shadow:0 0 0 2px #315cdb14}
body.canvas-live.modonix.product-live .product-catalog .pd-search-field input:focus{outline:none;box-shadow:none}
.product-catalog .pd-catalog-search>.button{min-height:44px;padding:8px 16px;border-radius:6px;font-size:13px}
.pd-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;border:0}
.product-catalog .pd-filter-form{position:relative;display:grid;grid-template-columns:repeat(2,minmax(150px,200px)) auto 1fr;gap:10px;align-items:center;padding:0;margin:0 0 12px}
.product-catalog .pd-filter-form:has(.pd-category-facet){grid-template-columns:minmax(190px,250px) repeat(2,minmax(145px,190px)) auto 1fr}
.product-catalog .pd-facet{padding:0;margin:0;border:0;border-radius:0;background:transparent}
.product-catalog .pd-primary-facet{position:relative;min-width:0}
.product-catalog .pd-primary-facet>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:56px;padding:6px 12px;border:1px solid var(--pd-line);border-radius:7px;background:#fff;list-style:none;cursor:pointer;font-size:11px;line-height:1.4;color:var(--pd-muted)}
.product-catalog .pd-primary-facet>summary>span{min-width:0}
.product-catalog .pd-primary-facet>summary strong{display:block;font-size:13px;font-weight:600;line-height:1.5;margin-top:1px;color:var(--pd-ink);overflow-wrap:anywhere}
.product-catalog .pd-primary-facet>summary .ui-icon,.product-catalog .pd-more-filters>summary .ui-icon{width:13px;height:13px;flex-shrink:0}
.product-catalog .pd-primary-facet[open]>summary{border-color:#acbdec;background:var(--pd-soft)}
.product-catalog .pd-facet-menu{position:absolute;z-index:40;top:calc(100% + 5px);left:0;width:260px;max-width:calc(100vw - 40px);padding:12px;background:#fff;border:1px solid var(--pd-line);border-radius:8px;box-shadow:0 8px 24px #20252c12}
.product-catalog .pd-facet-options{max-height:244px;overflow:auto;padding:0;scrollbar-width:thin}
.product-catalog .pd-facet-options .check-line{display:flex;align-items:center;gap:9px;min-height:36px;padding:6px 2px;margin:0;color:var(--pd-ink);font-size:13px;line-height:1.55;cursor:pointer}
.product-catalog .pd-facet-options .check-line[hidden]{display:none}
.product-catalog .pd-facet-options input{width:16px;height:16px;min-width:16px;min-height:16px;margin:0;accent-color:var(--pd-accent);flex-shrink:0}
.product-catalog .pd-facet-options span{overflow-wrap:anywhere}
.product-catalog .pd-facet-search{width:100%;min-height:40px;border:1px solid var(--pd-line);border-radius:5px;background:#fff;padding:8px 9px;margin:0 0 8px;font-size:13px}
.product-catalog .pd-more-filters{padding:0;margin:0;border:0;border-radius:0;background:transparent}
.product-catalog .pd-more-filters>summary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:8px 12px;list-style:none;font-size:13px;color:var(--pd-ink);cursor:pointer;white-space:nowrap}
.product-catalog .pd-more-filters[open]>summary{color:var(--pd-accent);background:var(--pd-soft);border-radius:6px}
.product-catalog .pd-more-filter-fields{position:absolute;z-index:39;top:calc(100% + 5px);left:0;right:0;max-height:65vh;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 28px;padding:16px 20px;border:1px solid var(--pd-line);border-radius:8px;background:#fff;box-shadow:0 8px 24px #20252c12;align-items:start}
.product-catalog .pd-more-filter-fields .pd-facet>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;color:var(--pd-ink);font-size:13px;font-weight:600;border-bottom:1px solid var(--pd-line);margin-bottom:5px}
.product-catalog .pd-more-filter-fields .pd-facet>summary .ui-icon{width:12px;height:12px;margin-left:auto}
.product-catalog .pd-filter-count{font-size:11px;color:var(--pd-accent)}
.product-catalog .pd-filter-actions{display:flex;grid-column:-2/-1;justify-content:flex-end;align-items:center;gap:12px;min-width:0}
.product-catalog .pd-filter-actions .button{font-size:13px;min-height:44px;padding:9px 16px;border-radius:6px;white-space:nowrap}
.product-catalog .pd-filter-actions .text-link{font-size:12px;color:var(--pd-muted);min-height:44px}
.product-catalog .pd-results-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;min-height:44px}
.product-catalog .pd-results-toolbar>p{font-size:12px;color:var(--pd-muted);margin:0}
.product-catalog .pd-sort-picker{position:relative;flex-shrink:0;margin:0 0 0 auto;min-width:0;padding:0;border:0;background:transparent}
.product-catalog .pd-sort-picker>summary{display:flex;align-items:center;justify-content:flex-end;gap:8px;list-style:none;min-height:44px;border:1px solid var(--pd-line);border-radius:8px;padding:9px 12px;background:#fff;color:var(--pd-ink);font-size:12px;line-height:1.5;cursor:pointer}
.product-catalog .pd-sort-picker>summary strong{font-weight:600;min-width:0}
.product-catalog .pd-sort-picker>summary .ui-icon{width:13px;height:13px;flex-shrink:0}
.product-catalog .pd-sort-label{color:var(--pd-muted);font-weight:400}
.product-catalog .pd-sort-picker[open]>summary{background:var(--pd-soft);border-color:#acbdec;color:var(--pd-accent)}
.product-catalog .pd-sort-picker .pd-facet-menu{left:auto;right:0;width:240px}
.product-catalog :is(.pd-primary-facet,.pd-more-filters,.pd-sort-picker)>summary{margin:0}
@media(max-width:800px){.product-catalog .pd-sort-picker{width:100%}.product-catalog .pd-sort-picker>summary{padding-inline:9px;font-size:11px;gap:6px}.product-catalog .pd-sort-label{display:none}}
.product-catalog .pd-results-toolbar strong{color:var(--pd-ink);font-weight:650}
.product-catalog .catalog-view-switch{display:flex;gap:0;padding:0;border:0;background:transparent}
.product-catalog .catalog-view-switch[hidden]{display:none}
.product-catalog .catalog-view-switch button{width:44px;height:44px;min-height:44px;border:0;border-radius:6px;background:transparent;color:var(--pd-muted)}
.product-catalog .catalog-view-switch button[aria-pressed=true]{background:#f6f7f9;color:var(--pd-ink)}
.product-catalog .pd-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.product-catalog .pd-active-filters a{display:inline-flex;align-items:center;gap:6px;min-height:34px;max-width:100%;padding:4px 9px;border:1px solid var(--pd-line);border-radius:5px;background:#fff;color:var(--pd-ink);font-size:12px;overflow-wrap:anywhere}
.product-catalog .pd-active-filters .ui-icon{width:12px;height:12px;flex-shrink:0}
.product-catalog .pd-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;align-items:stretch}
.product-catalog .pd-empty-state{grid-column:1/-1;text-align:center;padding:44px 24px;border:1px solid var(--pd-line);border-radius:9px;background:#fff}
.product-catalog .pd-empty-state h2{font-family:inherit;font-weight:700;font-size:23px;line-height:1.4;margin:0 0 12px}
.product-catalog .pd-empty-state p{font-size:14px;line-height:1.7;max-width:460px;margin:0 auto 22px;color:var(--pd-muted)}
.product-catalog .pd-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:30px 0 0}
.product-catalog .pd-pagination>span{font-size:12px;color:var(--pd-muted)}
.product-catalog .pd-pagination .button{font-size:13px;min-height:44px}
body .pd-card.live-card{display:flex;flex-direction:column;min-width:0;border:1px solid #e2e5eb;border-radius:10px;overflow:hidden;background:#fff;box-shadow:none;position:relative;transition:border-color .15s;padding:0}
body .pd-card.live-card:hover{transform:none;border-color:#aebddf;box-shadow:none}
.pd-card .pd-card-art{display:block;position:relative;aspect-ratio:1.9;overflow:hidden;background:#f6f7f9;width:100%;flex-shrink:0}
.pd-card .pd-card-art picture{display:block;width:100%;height:100%}
.pd-card .pd-card-art img{display:block;width:100%;height:100%;object-fit:cover}
.pd-card .pd-card-art[data-kind=icon]{display:grid;place-items:center;background:#f6f7f9}
.pd-card .pd-card-art[data-kind=icon] picture{width:84px;height:84px}
.pd-card .pd-card-art[data-kind=icon] img{object-fit:contain}
.pd-card .pd-card-placeholder .ui-icon{width:42px;height:42px;color:#657080}
.pd-card .pd-card-category{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:4px 8px;border-radius:4px;background:#fffffff0;color:#20252c;font-size:11px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.pd-card .pd-card-copy{padding:17px;display:flex;flex-direction:column;flex:1;min-width:0}
.pd-card .pd-card-heading{display:flex;gap:9px;align-items:center;margin:0;min-width:0}
.pd-card .pd-card-heading h3{font:700 17px/1.4 var(--sans,Manrope,Arial,sans-serif);letter-spacing:-.02em;color:#20252c;margin:0;min-width:0;overflow-wrap:anywhere}
.pd-card .pd-card-heading a{color:inherit;text-decoration:none}
.pd-card .pd-card-heading a:hover{text-decoration:underline;text-underline-offset:3px}
.pd-card .pd-card-logo{width:32px;height:32px;flex-shrink:0;background:#f6f7f9;border-radius:6px;padding:3px;overflow:hidden}
.pd-card .pd-card-logo picture,.pd-card .pd-card-logo img{display:block;width:100%;height:100%;object-fit:contain}
.pd-card .pd-card-author{font-size:12px;line-height:1.6;margin:6px 0 0;color:#657080;overflow-wrap:anywhere}
.pd-card .pd-card-author a{color:inherit;text-decoration:none}
.pd-card .pd-card-author a:hover{color:#315cdb;text-decoration:underline}
.pd-card .pd-card-summary{font-size:13px;line-height:1.65;margin:10px 0 12px;color:#657080;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:43px}
.pd-card .pd-card-facts{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin-top:auto;color:#526074;font-size:12px;line-height:1.5}
.pd-card .pd-card-facts>span{display:inline-flex;align-items:center;min-width:0;max-width:100%;padding:2px 7px;background:#f7f9fc;border:1px solid #e2e7ef;border-radius:5px;color:inherit;font:inherit;overflow-wrap:anywhere}
.pd-card .pd-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;margin-top:8px;padding:0;font-size:11px;color:#657080;line-height:1.6}
.pd-card .pd-card-foot>span{display:flex;gap:5px;align-items:center}
.pd-card .pd-card-foot .ui-icon{width:12px;height:12px;flex-shrink:0}
.product-catalog [data-card-view=list] .pd-project-grid{grid-template-columns:1fr}
body.canvas-live [data-catalog-display][data-card-view=list] .pd-card.live-card{display:grid;grid-template-columns:170px minmax(0,1fr)}
[data-card-view=list] .pd-card .pd-card-art{aspect-ratio:auto;min-height:174px;height:100%}
[data-card-view=list] .pd-card .pd-card-copy{padding:17px 20px}
[data-card-view=list] .pd-card .pd-card-summary{min-height:0;margin:8px 0 10px}
@media(max-width:1100px){
.product-catalog .pd-catalog-shell{padding-inline:24px}
.product-catalog .pd-filter-form:has(.pd-category-facet){grid-template-columns:minmax(180px,1.3fr) repeat(2,minmax(140px,1fr))}
.product-catalog .pd-filter-form:has(.pd-category-facet) .pd-more-filters{grid-column:1/3;justify-self:start}
.product-catalog .pd-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:800px){
.product-catalog .pd-catalog-shell{padding:12px 20px 42px}
.product-catalog .pd-catalog-heading{gap:10px;flex-wrap:wrap;margin-bottom:14px}
.product-catalog .pd-catalog-heading h1{font-size:28px}
.product-catalog .pd-catalog-heading p{font-size:13px;line-height:1.6}
.product-catalog .pd-category-picker>summary{min-height:38px}
.product-catalog .pd-category-picker nav{left:0;right:auto}
.product-catalog .pd-catalog-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:5px 8px 5px 12px}
.product-catalog .pd-catalog-search>.button{padding-inline:12px}
.product-catalog .pd-filter-form,.product-catalog .pd-filter-form:has(.pd-category-facet){grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:4px}
.product-catalog .pd-category-facet{grid-column:1/-1}
.product-catalog .pd-filter-form:has(.pd-category-facet) .pd-more-filters{grid-column:auto}
.product-catalog .pd-more-filters{justify-self:start}
.product-catalog .pd-more-filters>summary{padding-inline:0}
.product-catalog .pd-filter-actions{gap:8px}
.product-catalog .pd-filter-actions .button{padding-inline:13px;font-size:12px}
.product-catalog .pd-primary-facet:nth-of-type(even) .pd-facet-menu{right:0;left:auto}
.product-catalog .pd-facet-options .check-line{min-height:44px}
.product-catalog .pd-more-filter-fields{grid-template-columns:1fr;gap:4px;padding:12px 16px}
.product-catalog .pd-active-filters a{min-height:40px}
body.canvas-live.modonix.product-live .product-catalog :is(.pd-search-field input,.pd-facet-search){font-size:16px}
.product-catalog .pd-search-field input::placeholder,.product-catalog .pd-facet-search::placeholder{font-size:13px}
.product-catalog .pd-results-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;margin-bottom:8px}
.product-catalog .pd-results-toolbar>p{white-space:nowrap;font-size:11px}
.pd-card .pd-card-foot{flex-wrap:wrap}
}
@media(max-width:600px){
.product-catalog .pd-project-grid{grid-template-columns:minmax(0,1fr);gap:16px}
.product-catalog .catalog-view-switch button[aria-pressed=true]{display:none}
.pd-card .pd-card-copy{padding:16px}
.pd-card .pd-card-art[data-kind=icon]{aspect-ratio:2.3}
.pd-card .pd-card-summary{min-height:0}
body.canvas-live [data-catalog-display][data-card-view=list] .pd-card.live-card{grid-template-columns:90px minmax(0,1fr)}
[data-card-view=list] .pd-card .pd-card-art{min-height:185px;aspect-ratio:auto}
[data-card-view=list] .pd-card .pd-card-art[data-kind=icon] picture{width:58px;height:58px}
[data-card-view=list] .pd-card .pd-card-category{left:5px;bottom:9px;max-width:calc(100% - 10px);padding:4px;font-size:9px}
[data-card-view=list] .pd-card .pd-card-copy{padding:13px}
[data-card-view=list] .pd-card .pd-card-heading h3{font-size:15px}
[data-card-view=list] .pd-card .pd-card-logo{display:none}
[data-card-view=list] .pd-card .pd-card-summary{font-size:12px}
.product-catalog .pd-pagination{gap:10px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){body .pd-card.live-card{transition:none}}

/* Filters update in place; the same controls move into a native modal on touch layouts. */
.product-catalog .pd-primary-facet[data-has-selection]>summary{background:#edf2ff;border-color:#ccdaf8}
.product-catalog .pd-facet-options .check-line:has(input:checked){background:#edf2ff;color:#234bb4;border-radius:5px}
.product-catalog .pd-facet-options .check-line{padding-inline:7px}
.product-catalog .pd-single-options,.pd-filter-dialog .pd-single-options{min-inline-size:0;border:0;padding:0;margin:0}
.product-catalog .pd-single-options .check-line{min-height:44px;gap:10px;padding:10px;border-radius:6px}
.product-catalog .pd-single-options .check-line:hover{background:#f4f7fc}
.product-catalog .pd-single-options .check-line:has(input:checked),.pd-filter-dialog .pd-single-options .check-line:has(input:checked){background:#edf2ff;color:#234bb4;font-weight:600}
.product-catalog .pd-single-options input[type=radio],.pd-filter-dialog .pd-single-options input[type=radio]{appearance:none;width:18px;height:18px;min-width:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0;border:1.5px solid #a8b5c9;border-radius:50%;background:#fff;box-shadow:none;cursor:pointer}
.product-catalog .pd-single-options input[type=radio]:checked,.pd-filter-dialog .pd-single-options input[type=radio]:checked{border:5px solid #315cdb}
.product-catalog .pd-catalog-status{min-height:0;font-size:12px;margin:0;color:#526074}
.product-catalog .pd-catalog-status:not(:empty){margin:8px 0 12px}
.product-catalog .pd-catalog-status.has-error{color:#a13b49;padding:10px 12px;border:1px solid #f0cbd2;background:#fff0f2;border-radius:6px}
.product-catalog .pd-catalog-status:not(.has-error){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.product-catalog .pd-catalog-results{scroll-margin-top:120px}
.product-catalog .pd-catalog-results[aria-busy=true] .pd-project-grid{opacity:.5;pointer-events:none}
.product-catalog .pd-catalog-results[aria-busy=true] .pd-results-toolbar>p::after{content:" · Updating…";font-size:11px;color:#526074}
.product-catalog :is(a,button,summary,input,select):focus-visible{outline:2px solid #315cdb;outline-offset:2px}
body.canvas-live.modonix.product-live .pd-filter-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:600px;max-height:85dvh;padding:0;background:#fff;border:1px solid #dce2ec;border-bottom:0;border-radius:18px 18px 0 0;color:#20252c;box-shadow:0 -12px 60px #14213730;overflow:hidden}
body.canvas-live.modonix.product-live .pd-filter-dialog .pd-filter-form{display:block;margin:0;padding:0}
.pd-filter-dialog .pd-more-filters{padding:0;margin:8px 0 0;border:0;background:none}
.pd-filter-dialog .pd-more-filters>summary{display:flex;align-items:center;gap:10px;min-height:48px;font-size:14px;font-weight:650;list-style:none;cursor:pointer}
.pd-filter-dialog .pd-more-filters>summary .ui-icon{width:16px;height:16px}
.pd-filter-dialog .pd-more-filters>summary .ui-icon:last-child{margin-left:auto}
.pd-filter-dialog .pd-primary-facet>summary span{display:flex;gap:10px;align-items:center}
.pd-filter-dialog .pd-primary-facet>summary strong{font-weight:450;color:#64718a;font-size:13px}
.pd-filter-dialog .pd-filter-actions{margin-top:12px;min-height:44px}
body.canvas-live.modonix.product-live .pd-filter-dialog[open]{display:flex;flex-direction:column}
.pd-filter-dialog::backdrop{background:rgb(16 24 40 / 50%)}
.pd-filter-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #e2e5eb;flex-shrink:0}
.pd-filter-dialog h2{font-size:18px;margin:0;font-weight:700;letter-spacing:-.3px}
.pd-filter-dialog [data-filter-close]{width:44px;height:44px;font:400 28px/1 Arial,sans-serif;border:1px solid #e2e5eb;background:#fff;border-radius:8px;padding:0;color:#526074}
.pd-filter-dialog [data-filter-sheet-body]{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:16px 20px}
.pd-filter-dialog :is(.pd-facet-menu,.pd-more-filter-fields){position:static;display:block;max-width:none;width:100%;max-height:none;padding:0;background:transparent;border:0;box-shadow:none}
.pd-filter-dialog .pd-facet-search{width:100%;font-size:16px;min-height:44px;border:1px solid #dce2ec;border-radius:7px;padding:10px 12px;margin:0 0 12px;background:#f7f9fc;color:#20252c}
.pd-filter-dialog .pd-facet-options{max-height:none}
.pd-filter-dialog .pd-facet{margin:0;padding:0;border:0;border-bottom:1px solid #e2e5eb;background:transparent;border-radius:0}
.pd-filter-dialog .pd-facet>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:50px;cursor:pointer;font-size:14px;font-weight:600}
.pd-filter-dialog .pd-facet>summary::-webkit-details-marker{display:none}
.pd-filter-dialog .pd-facet>summary .ui-icon{width:14px;height:14px;margin-left:auto}
.pd-filter-dialog .pd-facet[open]>summary .ui-icon{transform:rotate(180deg)}
.pd-filter-dialog .pd-facet[open] .pd-facet-options{max-height:280px;overflow-y:auto;margin-bottom:10px}
.pd-filter-dialog .check-line{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 8px;margin:0;font-size:14px;line-height:1.5;cursor:pointer;border-radius:6px;color:#20252c}
.pd-filter-dialog .check-line[hidden]{display:none}
.pd-filter-dialog .check-line:has(input:checked){color:#234bb4;background:#edf2ff}
.pd-filter-dialog .check-line input{width:18px;height:18px;flex-shrink:0;accent-color:#315cdb;margin:0}
.pd-filter-dialog .pd-filter-count{color:#315cdb;font-size:12px}
.pd-filter-dialog>footer{border-top:1px solid #e2e5eb;padding:12px 20px max(16px,env(safe-area-inset-bottom));background:#fff;flex-shrink:0}
.pd-filter-dialog footer p{font-size:12px;color:#526074;margin:0 0 10px;line-height:1.5}
.pd-filter-dialog footer .button{width:100%;min-height:46px;justify-content:center;background:#315cdb;border-color:#315cdb;color:#fff}
.pd-filter-dialog footer .button:disabled{opacity:.6;cursor:wait}
.pd-filter-dialog :is(input,button,summary):focus-visible{outline:2px solid #315cdb;outline-offset:2px}

/* Compact catalog controls share one visual scale on phones and tablets. */
.product-catalog .pd-catalog-search>.button>.ui-icon{display:none}
@media(max-width:800px){
 .product-catalog .pd-catalog-shell{padding-inline:16px}
 .product-catalog .pd-catalog-heading{margin-bottom:18px}
 .product-catalog .pd-catalog-heading h1{font-size:27px;letter-spacing:-.8px;line-height:1.2;margin-bottom:8px}
 .product-catalog .pd-category-nav{flex-wrap:nowrap;gap:4px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#ccd5e5 transparent;padding:5px;margin:0 0 18px;background:#fff;border:1px solid var(--pd-line);border-radius:10px;scroll-padding-inline:8px}
 .product-catalog .pd-category-nav a{flex-shrink:0;white-space:nowrap;min-height:42px;padding:9px 12px;font-size:12px;border-radius:6px}
 .product-catalog .pd-category-nav a[aria-current=page]{font-weight:700}
 .product-catalog .pd-catalog-search{border-radius:10px;padding:5px 6px 5px 12px;gap:8px;margin-bottom:10px}
 .product-catalog .pd-catalog-search>.button{display:flex;justify-content:center;align-items:center;min-width:44px;width:44px;height:44px;padding:10px;border-radius:7px}
 .product-catalog .pd-catalog-search>.button>span{display:none}
 .product-catalog .pd-catalog-search>.button>.ui-icon{display:block;width:20px;height:20px}
 .product-catalog .pd-primary-facet>summary{border-radius:9px;min-height:60px;padding:8px 12px}
 .product-catalog .pd-primary-facet>summary strong{font-size:14px}
 .product-catalog .pd-filter-form{gap:8px;margin-bottom:10px}
 .product-catalog .pd-more-filters>summary{gap:7px;min-height:44px;padding:9px 12px;border:1px solid var(--pd-line);border-radius:8px;background:#fff;font-size:12px}
 .product-catalog .pd-more-filters>summary .ui-icon:first-child{width:16px;height:16px}
 .product-catalog .pd-more-filters[open]>summary{border-color:#ccdaf8}
 .product-catalog .pd-results-toolbar{margin-top:14px;margin-bottom:12px;gap:10px}
 .product-catalog .pd-results-toolbar>p{font-size:12px}
 .product-catalog .catalog-view-switch button{border-radius:8px;border:1px solid var(--pd-line);background:#fff}
}
@media(max-width:600px){
 body.canvas-live.modonix.product-live .product-catalog .pd-catalog-heading{margin-bottom:12px}
 body.canvas-live.modonix.product-live .product-catalog .pd-catalog-heading h1{font-size:24px;line-height:1.2;margin-bottom:6px;letter-spacing:-.6px}
 .product-catalog .pd-category-nav{margin-bottom:12px}
 .product-catalog .pd-catalog-filters{margin-bottom:8px}
 .product-catalog .pd-catalog-filters>summary strong{font-size:11px}
 .product-catalog .pd-results-toolbar{margin-top:8px}
 .product-catalog [data-catalog-display]:not([data-card-view=list]) .pd-card-art{aspect-ratio:2.6}
 .product-catalog .pd-card .pd-card-heading{order:0}
 .product-catalog .pd-card .pd-card-facts{order:1;margin-top:9px}
 .product-catalog .pd-card .pd-card-author{order:2}
 .product-catalog .pd-card .pd-card-summary{order:3}
 .product-catalog .pd-card .pd-card-foot{order:4}
 .product-catalog .pd-card .mx-project-metrics{order:5}
}

