/* Filter controls share a compact row and leave the site navigation separate. */
.catalog-filters.catalog-search-fold{position:sticky;top:var(--site-header-height,0px);z-index:20;display:flex;align-items:center;gap:12px;padding:10px;background:#fff;border:1px solid #d8e1ef;border-radius:14px;box-shadow:0 8px 28px #152b5012}
.catalog-search-fold .filter-main-controls{display:flex;align-items:stretch;gap:7px;min-width:0;flex:0 0 auto}
.catalog-search-fold .filter-fold-row{display:contents}
.catalog-search-fold .filter-search-row{display:flex;flex:1;min-width:180px;padding:0}
.catalog-search-fold .filter-search-toggle{display:none}
.catalog-search-fold .filter-search-toggle[hidden]{display:none!important}
.catalog-search-fold .filter-search-toggle.has-query{border-color:#3157c8;background:#3157c8;color:#fff}
.catalog-search-fold .filter-reset-mobile{display:none}
.catalog-search-fold .filter-reset-desktop{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:8px 12px;border:1px solid #dce4f0;border-radius:9px;background:#f6f8fc;color:#425b7e;font-size:12px;font-weight:700;white-space:nowrap}
.catalog-search-fold .filter-reset-quick{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;padding:8px 10px;border:1px solid #dce4f0;border-radius:9px;background:#f6f8fc;color:#425b7e;font-size:12px;font-weight:700;white-space:nowrap;text-decoration:none}
.catalog-search-fold .filter-main-controls>label{display:flex;align-items:center;gap:7px;min-width:0;font-size:12px;font-weight:700;color:#50627f}
.catalog-search-fold .filter-main-controls>.filter-category{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.catalog-search-fold .filter-main-controls>.filter-category:focus-within{outline:none}
.catalog-search-fold .filter-main-controls>.filter-date{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.catalog-search-fold .filter-main-controls>label select{min-height:44px;width:auto;max-width:150px;padding:8px 28px 8px 10px;font-size:13px;font-weight:700;background-color:#f6f8fc}
.catalog-search-fold .filter-money,.catalog-search-fold .filter-drawer{position:static;min-width:0;flex:none;border:0;padding:0;margin:0}
.catalog-search-fold .filter-money>summary,.catalog-search-fold .filter-drawer>summary{display:flex;align-items:center;gap:5px;min-height:44px;padding:8px 11px;border:1px solid #dce4f0;border-radius:9px;background:#f6f8fc;color:#253e68;font-size:12px;white-space:nowrap;list-style:none}
.catalog-search-fold .filter-money>summary::-webkit-details-marker,.catalog-search-fold .filter-drawer>summary::-webkit-details-marker{display:none}
.catalog-search-fold .filter-money[open]>summary,.catalog-search-fold .filter-drawer[open]>summary{background:#ebf0ff;border-color:#aebff5;color:#274bd2}
.catalog-search-fold .filter-summary-value{color:#3157c8;font-weight:750}
.catalog-search-fold .filter-money-panel,.catalog-search-fold .filter-drawer-panel{position:absolute;top:calc(100% + 7px);left:50%;right:auto;transform:translateX(-50%);width:min(560px,calc(100% - 20px));max-height:calc(100vh - var(--site-header-height,0px) - 90px);max-height:calc(100dvh - var(--site-header-height,0px) - 90px);overflow:auto;overscroll-behavior:contain;padding:18px;border:1px solid #cfdbef;border-radius:13px;background:white;box-shadow:0 16px 40px #152a5130}
.catalog-search-fold .filter-options{max-height:none;overflow:visible}
.catalog-search-fold .filter-options label,.catalog-search-fold .filter-money-panel label{min-width:0;color:#425675;font-size:12px;font-weight:700}
.catalog-search-fold .filter-money-panel select,.catalog-search-fold .filter-options select{min-width:0;min-height:44px;border-color:#d8e1ef;background:#f9fbfe;font-size:14px}
.catalog-search-fold .filter-money-panel label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.catalog-search-fold .filter-money-panel p{margin:10px 0 14px;color:#61718a;font-size:12px;line-height:1.6}
.catalog-search-fold .filter-money-panel .filter-money-category-hint{padding:10px 12px;border-radius:8px;background:#eef3ff;color:#294e99;font-weight:700}
.catalog-search-fold .filter-money-panel :disabled{cursor:not-allowed;opacity:.55}
.catalog-search-fold [data-benefit-category][hidden],.catalog-search-fold [data-activation-category][hidden]{display:none!important}
.catalog-search-fold :is(button,select,summary,a):focus-visible{outline:3px solid #8ca8ff;outline-offset:2px}
/* Results with incomplete evidence use the same card geometry as the main list. */
.market-catalog.listing .catalog-unknown{margin-top:32px;min-width:0}
.market-catalog.listing .catalog-unknown h3{margin:0 0 4px;color:#273e62;font-size:18px}
.market-catalog.listing .catalog-unknown>p{margin:0 0 16px;color:#61718a;font-size:13px}
.market-catalog.listing .catalog-unknown .card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch}
.market-catalog.listing .catalog-unknown details{margin-top:14px;padding:0;border:0}
.market-catalog.listing .catalog-unknown details>summary{width:max-content;max-width:100%;padding:9px 13px;border:1px solid #d9e2ef;border-radius:9px;background:white;color:#3157a2;font-size:13px}
.market-catalog.listing .catalog-unknown details[open]>.card-grid{margin-top:14px}
.market-catalog.listing .market-card .auto-offer-summary{min-width:0;overflow-wrap:anywhere}
.market-catalog.listing .market-card .auto-offer-summary p:last-child{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.offer-detail>.auto-offer-summary,.offer-detail>.source-price-note{margin:24px 28px 0;padding:20px 22px;border:1px solid #dce7f5;border-radius:15px;background:#f5f8fd;color:#405875;font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.offer-detail>.auto-offer-summary p{margin:0;color:inherit;line-height:inherit;overflow-wrap:anywhere}
.offer-detail>.auto-offer-summary p+p{margin-top:10px}
.offer-detail>.auto-offer-summary p:first-child{color:#29496e;font-size:13px}
.offer-detail>.auto-offer-summary strong{color:#183b71}
.catalog-filter-note{margin:9px 3px 0;color:#60728b;font-size:12px;line-height:1.5}
@media(max-width:700px){.offer-detail>.auto-offer-summary,.offer-detail>.source-price-note{margin:16px 16px 0;padding:15px;font-size:13px;border-radius:12px}}
@media(max-width:1100px){.market-catalog.listing .catalog-unknown .card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}}
@media(max-width:820px){.market-catalog.listing .catalog-unknown .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}}
@media(max-width:600px){.market-catalog.listing .catalog-unknown .card-grid{gap:9px}}
@media(max-width:720px){
 .catalog-filters.catalog-search-fold{display:block;padding:7px}
 .catalog-search-fold .filter-main-controls{display:grid;grid-template-columns:minmax(70px,1.2fr) minmax(0,1fr) minmax(0,1fr) 34px 34px 34px;gap:4px}
 .catalog-search-fold .filter-search-toggle,.catalog-search-fold .filter-reset-mobile,.catalog-search-fold .filter-reset-quick{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:4px;border:1px solid #dce4f0;border-radius:8px;background:#f6f8fc;color:#244482;font-size:18px;font-weight:700;line-height:1}
 .catalog-search-fold .filter-reset-quick .reset-text{display:none}
 .catalog-search-fold .filter-reset-desktop{display:none}
 .catalog-search-fold .filter-main-controls noscript{grid-column:1/-1}
 .catalog-search-fold .filter-main-controls noscript button{width:100%}
 .catalog-search-fold .filter-main-controls>label{display:block;min-width:0}
 .catalog-search-fold .filter-main-controls>label>span{display:none}
 .catalog-search-fold .filter-main-controls>label select{width:100%;max-width:none;min-width:0;height:44px;padding:6px 15px 6px 4px;font-size:11px;appearance:none;background-image:linear-gradient(45deg,transparent 50%,#536b8b 50%),linear-gradient(135deg,#536b8b 50%,transparent 50%);background-position:calc(100% - 9px) 20px,calc(100% - 6px) 20px;background-size:3px 3px;background-repeat:no-repeat}
 .catalog-search-fold .filter-money,.catalog-search-fold .filter-drawer{min-width:0}
 .catalog-search-fold .filter-money>summary,.catalog-search-fold .filter-drawer>summary{height:44px;min-width:0;justify-content:center;flex-wrap:wrap;align-content:center;padding:3px;gap:0 3px;font-size:10px;line-height:1.3;overflow:hidden}
 .catalog-search-fold .filter-summary-value{display:block;flex-basis:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;font-size:10px}
 .catalog-search-fold .filter-search-row{display:flex;min-width:0;margin-top:7px}
 .catalog-search-fold.search-ready:not(.search-expanded) .filter-search-row{display:none}
 .catalog-search-fold.search-expanded .filter-search-row{display:flex}
 .catalog-search-fold .filter-money-panel,.catalog-search-fold .filter-drawer-panel{left:50%;right:auto;width:calc(100% - 20px);padding:14px;max-height:calc(100dvh - var(--site-header-height,113px) - 80px)}
}
@media(max-width:720px){
 .catalog-search-fold .filter-main-controls{grid-template-columns:minmax(72px,1fr) minmax(95px,1.2fr) 34px 34px}
 .catalog-search-fold:not(.search-ready) .filter-main-controls{grid-template-columns:minmax(72px,1fr) minmax(95px,1.2fr) 34px}
 .catalog-search-fold .filter-reset-mobile,.catalog-search-fold.search-expanded .filter-reset-quick{display:none}
 .catalog-search-fold.search-expanded .filter-reset-mobile{display:flex}
}
@media(min-width:721px){.catalog-search-fold .filter-reset-quick{display:none}}
/* Numbered catalogue navigation: a stable, compact control at every size. */
.market-catalog #list-results{scroll-margin-top:calc(var(--site-header-height,90px) + 78px)}
.market-catalog .catalog-pagination{display:flex;flex-direction:column;align-items:center;gap:13px;margin:32px auto 26px}
.market-catalog .catalog-page-status{margin:0;color:#65758d;font-size:12px;line-height:1.4;letter-spacing:-.02em}
.market-catalog .catalog-page-status strong{color:#253d60;font-weight:800}
.market-catalog .catalog-page-controls{display:flex;align-items:center;justify-content:center;gap:6px}
.market-catalog .catalog-page-number,.market-catalog .catalog-page-arrow{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 10px;border:1px solid #dbe3ef;border-radius:11px;background:#fff;color:#304869;font-size:14px;font-weight:750;line-height:1;transition:background .16s,border-color .16s,color .16s,box-shadow .16s}
.market-catalog .catalog-page-arrow{gap:5px;min-width:66px;font-size:19px}
.market-catalog .catalog-page-arrow span{font-size:12px}
.market-catalog a.catalog-page-number:hover,.market-catalog a.catalog-page-arrow:hover{border-color:#a8c2f2;background:#f3f7ff;color:#1d50b7}
.market-catalog a.catalog-page-number:focus-visible,.market-catalog a.catalog-page-arrow:focus-visible{outline:3px solid #88afff;outline-offset:2px}
.market-catalog .catalog-page-number.is-current{border-color:#234fba;background:#234fba;color:#fff;box-shadow:0 5px 12px #234fba28}
.market-catalog .catalog-page-arrow.is-disabled{background:#f8fafc;color:#a2afc0;border-color:#edf1f6}
.market-catalog .catalog-page-ellipsis{padding:0 3px;color:#8e9db0}
@media(max-width:600px){.market-catalog .catalog-pagination{gap:12px;margin:25px auto 22px}.market-catalog .catalog-page-controls{gap:4px}.market-catalog .catalog-page-number,.market-catalog .catalog-page-arrow{min-width:34px;height:40px;padding:0 6px;font-size:13px;border-radius:10px}.market-catalog .catalog-page-arrow{min-width:40px;font-size:19px}.market-catalog .catalog-page-arrow span,.market-catalog .catalog-page-edge,.market-catalog .catalog-page-ellipsis{display:none}}
@media(max-width:340px){.market-catalog .catalog-page-far{display:none}}
