.catalog-head{background:#f2f6f9;padding:27px 0 22px;border-bottom:1px solid #dfe7ed}.catalog-head .breadcrumb{margin:0 0 7px}.catalog-head h1{font-size:30px;margin:0}.catalog-head p{font-size:11px;color:#647386;margin:3px 0}.catalog-categories{background:#fff;padding:18px 0;border-bottom:1px solid #e4eaef}.catalog-categories>.container{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.catalog-categories a{display:grid;grid-template-columns:35px 1fr;align-items:center;border:1px solid #dce4eb;border-radius:9px;padding:10px}.catalog-categories a>span{grid-row:1/3;font-size:23px;color:#0c4f86}.catalog-categories b,.catalog-categories small{display:block}.catalog-categories b{font-size:12px}.catalog-categories small{font-size:8px;color:#748596}.catalog-categories a:hover,.catalog-categories a.active{background:#082b50;border-color:#082b50;color:#fff}.catalog-categories a.active span,.catalog-categories a:hover span,.catalog-categories a.active small,.catalog-categories a:hover small{color:#fff}.accessory-filter{background:#fff;border-bottom:1px solid #e4eaef}.accessory-filter>.container{display:flex;align-items:center;gap:7px;padding-top:10px;padding-bottom:10px;overflow-x:auto}.accessory-filter span{font-size:10px;color:#647386;white-space:nowrap}.accessory-filter a{white-space:nowrap;border-radius:20px;background:#eef3f6;padding:6px 11px;font-size:10px;font-weight:700}.accessory-filter a.active{background:#ff4d00;color:#fff}.catalog-section{background:#f7f9fb;padding-top:28px}.catalog-results .product-card{border-radius:10px}.catalog-results .price-row a{background:#082b50;border-color:#082b50;color:#fff}@media(max-width:800px){.catalog-categories>.container{display:flex;overflow-x:auto;padding-bottom:4px;scroll-snap-type:x proximity}.catalog-categories a{min-width:150px;scroll-snap-align:start}.catalog-head h1{font-size:25px}}@media(max-width:560px){.catalog-head{padding:18px 0 14px}.catalog-head .breadcrumb{font-size:11px;margin-bottom:5px}.catalog-head h1{font-size:26px;line-height:1.2}.catalog-head p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.45;margin-top:7px}.catalog-categories{padding:10px 0}.catalog-categories>.container{width:100%;padding-left:12px;padding-right:12px}.catalog-categories a{min-width:118px;grid-template-columns:1fr;gap:1px;padding:9px 10px}.catalog-categories a>span{display:none}.catalog-categories b{font-size:11px;line-height:1.25}.catalog-categories small{font-size:8px}.accessory-filter>.container{width:100%;padding-left:12px;padding-right:12px}.catalog-section{padding-top:16px}.catalog-sidebar{border-radius:8px;padding:14px;box-shadow:0 8px 22px rgba(8,43,80,.06)}.catalog-sidebar form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.catalog-sidebar label{font-size:11px;margin:0}.catalog-sidebar input,.catalog-sidebar select{min-height:42px;padding:9px;margin-top:4px}.catalog-sidebar .btn{grid-column:1/3;margin-top:2px}.catalog-results .product-card img{height:135px}.catalog-results .product-body{padding:10px}.catalog-results .product-body>small{font-size:9px}.catalog-results .product-body h2{font-size:13px;line-height:1.3;margin-bottom:4px}.catalog-results .price-row strong{font-size:14px}.catalog-results .price-row a{width:100%;text-align:center}}@media(max-width:380px){.catalog-sidebar form{grid-template-columns:1fr}.catalog-sidebar .btn{grid-column:auto}.catalog-categories a{min-width:108px}.catalog-results .product-card img{height:115px}}

/* Compact filter trigger: desktop keeps the full sidebar, mobile opens on demand. */
.catalog-filter-toggle{display:none}
@media(max-width:760px){
    .catalog-section{padding-top:10px}
    .catalog-layout{gap:12px}
    .catalog-sidebar{padding:0!important;border-radius:9px!important;background:#fff;box-shadow:0 5px 16px rgba(8,43,80,.06)!important;overflow:hidden}
    .catalog-filter-toggle{display:grid;grid-template-columns:32px 1fr 10px;align-items:center;gap:10px;width:100%;min-height:54px;padding:8px 13px;border:0;background:#fff;color:#17324c;text-align:left;cursor:pointer}
    .catalog-filter-toggle svg{width:22px;height:22px;padding:3px;border-radius:6px;background:#edf4f8;fill:none;stroke:#0b4d7e;stroke-width:1.8;stroke-linecap:round}
    .catalog-filter-toggle span{display:grid;gap:2px}
    .catalog-filter-toggle b{font-size:12px;line-height:1.15;text-transform:uppercase}
    .catalog-filter-toggle small{color:#708194;font-size:10px;font-weight:400;line-height:1.1}
    .catalog-filter-toggle i{width:7px;height:7px;margin-top:-4px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .18s ease}
    .catalog-sidebar.filter-open .catalog-filter-toggle{border-bottom:1px solid #e3eaf0}
    .catalog-sidebar.filter-open .catalog-filter-toggle i{margin-top:4px;transform:rotate(225deg)}
    .catalog-sidebar form{display:none!important;padding:12px!important}
    .catalog-sidebar.filter-open form{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
    .catalog-sidebar.filter-open label{margin:0;font-size:11px}
    .catalog-sidebar.filter-open input,.catalog-sidebar.filter-open select{min-height:40px;margin-top:4px;padding:8px}
    .catalog-sidebar.filter-open .btn{grid-column:1/-1;min-height:42px;margin:0}
}
@media(max-width:380px){
    .catalog-sidebar.filter-open form{grid-template-columns:1fr}
    .catalog-sidebar.filter-open .btn{grid-column:auto}
}

/* FPT-style mobile sort row and filter bottom sheet (no price-range controls). */
.catalog-mobile-toolbar,.catalog-filter-backdrop,.catalog-filter-sheet-head{display:none}
.catalog-filter-reset{display:block;margin:8px 0;color:#0c4f86;font-size:12px;font-weight:700;text-align:center}
@media(max-width:760px){
    body.catalog-filter-is-open{overflow:hidden}
    .catalog-section{padding-top:0}
    .catalog-mobile-toolbar{position:sticky;z-index:45;top:64px;display:block;width:100%;padding:9px 12px;border-bottom:1px solid #e1e7ed;background:#fff}
    .catalog-mobile-sort{display:grid;grid-template-columns:max-content max-content max-content minmax(64px,1fr);gap:7px;overflow-x:auto;scrollbar-width:none}
    .catalog-mobile-sort::-webkit-scrollbar{display:none}
    .catalog-mobile-sort>a,.catalog-filter-open{position:relative;display:flex;align-items:center;justify-content:center;min-height:36px;padding:7px 11px;border:1px solid #dce3e9;border-radius:7px;background:#fff;color:#26384b;font-size:11px;font-weight:600;line-height:1;white-space:nowrap}
    .catalog-mobile-sort>a.active{border-color:var(--orange);color:var(--orange);font-weight:700}
    .catalog-filter-open{gap:5px;cursor:pointer}
    .catalog-filter-open svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
    .catalog-filter-open em{position:absolute;top:-6px;right:-5px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:20px;background:var(--orange);color:#fff;font-size:9px;font-style:normal;font-weight:800}
    .catalog-layout{display:block!important;padding-top:12px}
    .catalog-filter-backdrop{position:fixed;z-index:1280;inset:0;display:block;border:0;background:rgba(4,20,35,.48);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
    body.catalog-filter-is-open .catalog-filter-backdrop{opacity:1;visibility:visible;pointer-events:auto}
    .catalog-sidebar{position:fixed!important;z-index:1290;right:0;bottom:0;left:0;top:auto!important;display:block;max-height:min(76vh,620px);margin:0!important;padding:0!important;border:0!important;border-radius:14px 14px 0 0!important;background:#fff;box-shadow:0 -18px 48px rgba(5,25,45,.22)!important;overflow:auto;overscroll-behavior:contain;transform:translateY(105%);transition:transform .24s ease}
    .catalog-sidebar.filter-open{transform:translateY(0)}
    .catalog-filter-toggle{display:none!important}
    .catalog-filter-sheet-head{position:sticky;z-index:2;top:0;display:flex;align-items:center;justify-content:space-between;min-height:52px;padding:10px 14px;border-bottom:1px solid #e2e8ed;background:#fff}
    .catalog-filter-sheet-head b{font-size:15px;text-transform:uppercase}
    .catalog-filter-sheet-head button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:#f3f6f8;color:#24384c;font-size:25px;line-height:1;cursor:pointer}
    .catalog-sidebar form,.catalog-sidebar.filter-open form{display:grid!important;grid-template-columns:1fr 1fr;gap:13px 8px;padding:14px!important}
    .catalog-sidebar form>label{grid-column:1/-1;margin:0;font-size:12px}
    .catalog-sidebar input,.catalog-sidebar select{min-height:43px;margin-top:5px;padding:9px 11px;border-radius:7px}
    .catalog-sort-field{display:none!important}
    .catalog-filter-reset{display:grid;place-items:center;min-height:44px;margin:0;border:1px solid var(--orange);border-radius:7px;color:var(--orange);font-size:13px;font-weight:700;text-transform:uppercase}
    .catalog-sidebar .btn,.catalog-sidebar.filter-open .btn{grid-column:auto;width:100%;min-height:44px;margin:0;padding:8px 12px;border-radius:7px;font-size:13px;text-transform:uppercase}
}
@media(max-width:370px){
    .catalog-mobile-sort{grid-template-columns:max-content max-content max-content max-content}
    .catalog-mobile-sort>a,.catalog-filter-open{padding-right:9px;padding-left:9px;font-size:10px}
}

/* Smaller mobile category tabs to preserve vertical space. */
@media(max-width:560px){
    .catalog-categories{padding:6px 0}
    .catalog-categories>.container{gap:7px;padding-right:10px;padding-left:10px}
    .catalog-categories a{min-width:96px;min-height:42px;gap:0;padding:5px 7px;border-radius:7px}
    .catalog-categories b{font-size:10px;line-height:1.15}
    .catalog-categories small{margin-top:2px;font-size:7px;line-height:1.1}
}
@media(max-width:370px){
    .catalog-categories a{min-width:90px}
}

/* Category cards live inside the mobile filter sheet; desktop keeps its select. */
.catalog-filter-categories{display:none}
@media(max-width:760px){
    .catalog-categories{display:none}
    .catalog-category-select{display:none!important}
    .catalog-filter-categories{display:block;grid-column:1/-1;margin:0;padding:0;border:0}
    .catalog-filter-categories legend{display:block;width:100%;margin:0 0 7px;padding:0;color:#24384c;font-size:12px;font-weight:700;line-height:1.2}
    .catalog-filter-categories>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}
    .catalog-filter-categories button{display:grid;place-items:center;min-height:52px;padding:7px 8px;border:1px solid #d7e0e7;border-radius:8px;background:#fff;color:#24384c;font-family:Calibri,Arial,sans-serif;text-align:center;cursor:pointer;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
    .catalog-filter-categories button b{font-size:12px;font-weight:700;line-height:1.15}
    .catalog-filter-categories button small{margin-top:3px;color:#718294;font-size:9px;font-weight:400;line-height:1}
    .catalog-filter-categories button.active{border-color:var(--orange);background:#fff3ed;color:var(--orange);box-shadow:inset 0 0 0 1px var(--orange)}
    .catalog-filter-categories button.active small{color:#c84511}
    .catalog-filter-sheet-head b{font-size:16px;letter-spacing:0}
    .catalog-sidebar form>label{font-size:13px}
    .catalog-sidebar input,.catalog-sidebar select{font-size:16px;font-weight:500;-webkit-font-smoothing:antialiased}
}

/* Consistent 4:5 product cards on desktop and mobile. */
.catalog-results .product-card>a>img{display:block;width:100%;height:auto!important;aspect-ratio:4/5;object-fit:contain;background:#f5f7f9}
@media(max-width:560px){.catalog-results .product-card>a>img{height:auto!important;aspect-ratio:4/5}}
@media(max-width:380px){.catalog-results .product-card>a>img{height:auto!important;aspect-ratio:4/5}}
