/* Category-only presentation. Prices, filters and checkout stay server-owned. */
#main-content:has(.fv-category){padding-top:24px}
#main-content:has(.fv-category) .layout-container{max-width:1536px}
.fv-category{--fv-navy:#0b386b;--fv-ink:#17253c;--fv-muted:#64738a;--fv-line:#e0e6ee;color:var(--fv-ink);min-width:0}
.fv-category *{box-sizing:border-box}
.fv-category button,.fv-category select,.fv-category input{font:inherit}
.fv-category button,.fv-category a,.fv-category select{touch-action:manipulation}
.fv-category :is(a,button,input,select):focus-visible{outline:3px solid #6aa9eb;outline-offset:3px}
.fv-heading{margin-bottom:22px}
.fv-heading-line{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.fv-heading h1{font-size:30px;line-height:1.3;letter-spacing:-.8px;font-weight:600;margin:0}
.fv-total{background:#e7edf6;color:var(--fv-navy);font-size:13px;padding:5px 10px;border-radius:5px;white-space:nowrap}
.fv-intro{font-size:14px;line-height:1.8;color:var(--fv-muted);margin-top:8px}
.fv-intro p{margin:0 0 6px}
.fv-subcategories{border-bottom:1px solid var(--fv-line);padding-bottom:24px;margin-bottom:24px}
.fv-category-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0;max-height:218px;overflow-y:auto;scrollbar-width:thin}
.fv-category-cards li{min-width:0}
.fv-category-card{height:100%;min-height:94px;display:flex;align-items:center;gap:10px;padding:12px 10px;background:#fff;border:1px solid var(--fv-line);border-radius:10px;box-shadow:0 2px 7px #18375906;transition:border-color .15s,box-shadow .15s}
.fv-category-card:hover{border-color:#9db7d2;box-shadow:0 4px 13px #143c6510}
.fv-category-card img{width:54px;height:60px;object-fit:contain;flex:none}
.fv-category-card>span{min-width:0}
.fv-category-card strong{display:block;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}
.fv-category-card small{display:block;margin-top:4px;font-size:12px;color:var(--fv-muted)}
.fv-placeholder{opacity:.25}
.fv-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start}
.fv-sidebar{min-width:0;border:1px solid var(--fv-line);border-radius:12px;background:white;padding:0 16px}
.fv-side-categories{padding:18px 0;border-bottom:1px solid var(--fv-line)}
.fv-side-categories h2{font-size:14px;font-weight:600;margin:0 0 10px}
.fv-side-categories a{display:flex;justify-content:space-between;gap:10px;padding:7px 0;font-size:13px;line-height:1.6;color:#475569}
.fv-side-categories a:hover{color:var(--fv-navy)}
.fv-side-categories small{color:#8492a7;font-size:12px}
.fv-filters{padding:18px 0}
.fv-filters #filter-loading{position:absolute;pointer-events:none;background:#fff;padding:4px;z-index:1}
.fv-filters .catalog-filter-controls{display:flex;flex-direction:column;gap:8px;align-items:stretch}
.fv-filters .catalog-filter-manufacturer{display:flex;flex-direction:column;gap:9px;font-size:14px;font-weight:500;margin-bottom:12px}
.fv-filters .catalog-filter-manufacturer select{width:100%;min-height:44px;border:1px solid #d7e0eb;border-radius:7px;padding:8px 25px 8px 10px;font-size:13px;color:#475569;background:#fff}
.fv-filters .catalog-filter-toggle{display:flex;align-items:center;gap:9px;font-size:13px;min-height:38px;cursor:pointer;color:#475569;line-height:1.5}
.fv-filters input[type=checkbox]{width:17px;height:17px;flex-shrink:0;accent-color:var(--fv-navy)}
.fv-filters .catalog-filter-actions{display:flex;flex-direction:column;gap:12px;margin-top:16px;align-items:stretch}
.fv-filters .catalog-filter-actions>span{font-size:12px;color:var(--fv-muted);line-height:1.6}
.fv-filters .catalog-filter-actions button{border-radius:7px;min-height:42px;padding:10px 14px;background:var(--fv-navy);color:#fff;border:0;font-size:13px}
.fv-feature-filters{display:grid;gap:12px;margin-top:16px}
.fv-main{min-width:0}
.fv-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;min-height:44px}
.fv-result-count{display:flex;flex-wrap:wrap;column-gap:10px;row-gap:3px;align-items:baseline;font-size:12px;color:var(--fv-muted)}
.fv-result-count strong{font-weight:500;font-size:14px;color:#475569}
.fv-toolbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.fv-sort{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--fv-muted)}
.fv-sort select{height:40px;border:1px solid #d7e0eb;border-radius:7px;padding:8px 25px 8px 10px;background:#fff;font-size:13px;color:#475569;max-width:190px}
.fv-view{display:flex;border:1px solid #d7e0eb;border-radius:7px;overflow:hidden;background:#fff}
.fv-view button{display:grid;place-items:center;border:0;background:#fff;color:#8492a7;width:40px;min-height:40px}
.fv-view button+button{border-left:1px solid #e0e6ee}
.fv-view button[aria-pressed=true]{background:#eaf0f7;color:var(--fv-navy)}
.fv-mobile-filters{display:none}
.fv-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fv-product{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--fv-line);border-radius:12px;overflow:hidden;box-shadow:0 2px 7px #18375906;transition:box-shadow .15s,border-color .15s}
.fv-product:hover{border-color:#b1c5da;box-shadow:0 4px 16px #1837590c}
.fv-product-photo{position:relative;display:flex;align-items:center;justify-content:center;height:186px;padding:20px 24px;background:#fff;border-bottom:1px solid #f1f4f8}
.fv-product-photo img{width:100%;height:100%;object-fit:contain}
.fv-pdf{position:absolute;right:12px;bottom:10px;border:1px solid #e0e6ee;background:#f8fafc;border-radius:4px;padding:2px 5px;font-size:10px;color:#64738a}
.fv-product-body{display:flex;flex-direction:column;flex:1;padding:15px 16px 16px}
.fv-product-meta{display:flex;justify-content:space-between;gap:8px;color:#8492a7;font-size:11px;line-height:1.5;margin-bottom:8px}
.fv-product-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fv-product-meta span:last-child{flex-shrink:0;max-width:55%}
.fv-product h3{font-size:14px;font-weight:500;line-height:1.7;margin:0 0 12px;min-height:48px;overflow-wrap:anywhere}
.fv-product h3 a:hover{color:var(--fv-navy)}
.fv-caption{font-size:11px;color:var(--fv-muted);margin:0 0 8px}
.fv-stock{display:flex;align-items:center;gap:6px;color:#8492a7;font-size:12px;line-height:1.6;margin-top:auto}
.fv-stock-in{color:#008763}
.fv-stock i{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
.fv-price{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:10px 0 14px;font-size:20px;line-height:1.4;color:var(--fv-ink)}
.fv-price small{font-size:11px;color:#8492a7}
.fv-cart-form{display:flex;align-items:stretch;gap:8px;margin:0}
.fv-cart-form input{width:58px;min-width:0;min-height:42px;border:1px solid #d7e0eb;border-radius:7px;text-align:center;padding:7px 4px;font-size:13px;background:#fff;color:#334155}
.fv-cart-form button,.fv-detail{flex:1;display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #ccd9e7;border-radius:7px;padding:9px 7px;font-size:12px;font-weight:500;background:#f4f7fb;color:var(--fv-navy);text-align:center}
.fv-cart-form button:hover{color:#fff;background:var(--fv-navy);border-color:var(--fv-navy)}
.fv-detail{flex:none}
.fv-minimum{color:var(--fv-muted);font-size:11px;margin-top:7px}
.fv-list{display:none;border:1px solid var(--fv-line);border-radius:12px;background:#fff;overflow:hidden}
.fv-results[data-view=list] .fv-grid{display:none}
.fv-results[data-view=list] .fv-list{display:block}
.fv-list .table-scroll{max-width:100%}
.fv-pagination{margin-top:24px;padding:16px 0}
.catalog-filter-pagination{display:flex;align-items:center;justify-content:center;gap:6px;flex-wrap:wrap}
.catalog-filter-pagination button{min-width:40px;min-height:44px;border:1px solid #cbd5e1;border-radius:7px;padding:8px;background:#fff;color:#063970}
.catalog-filter-pagination button[aria-current=page]{background:#063970;color:#fff}
.catalog-filter-pagination button:disabled:not([aria-current]){opacity:.4}
.fv-description,.fv-manufacturers{background:#fff;border:1px solid var(--fv-line);border-radius:12px;margin-top:28px;padding:22px;font-size:14px;line-height:1.8}
.fv-manufacturers h2{font-size:14px;font-weight:600;margin:0 0 12px}
.fv-manufacturers>div{display:flex;flex-wrap:wrap;gap:10px 20px}
.fv-manufacturers a{font-size:13px;color:var(--fv-navy)}
.fv-filter-dialog{border:0;padding:0;border-radius:14px;width:min(420px,calc(100% - 24px));max-height:calc(100dvh - 32px);color:var(--fv-ink);background:#fff;box-shadow:0 20px 80px #08274640;overscroll-behavior:contain}
.fv-filter-dialog::backdrop{background:#08274688}
.fv-dialog-heading{display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;padding:16px 20px;background:#fff;border-bottom:1px solid var(--fv-line);z-index:2}
.fv-dialog-heading h2{font-size:17px;font-weight:600;margin:0}
.fv-dialog-heading button{font-size:28px;width:40px;height:40px;border:0;background:#f5f7fb;border-radius:7px;color:#475569}
.fv-filter-dialog [data-fv-filter-mobile]{padding:0 20px}
.fv-filter-done{display:block;margin:4px 20px 20px;min-height:44px;width:calc(100% - 40px);border:0;border-radius:7px;background:var(--fv-navy);color:#fff;font-size:14px}
@media(max-width:1250px){.fv-category-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.fv-sort>span{display:none}.fv-layout{grid-template-columns:212px minmax(0,1fr);gap:20px}.fv-product-body{padding:12px}.fv-cart-form input{width:48px}}
@media(max-width:1023px){.fv-layout{grid-template-columns:minmax(0,1fr)}.fv-category.fv-enhanced .fv-sidebar{display:none}.fv-sidebar{display:block;margin-bottom:16px}.fv-enhanced .fv-mobile-filters{display:block;border:1px solid #d7e0eb;border-radius:7px;background:#fff;padding:8px 12px;min-height:42px;font-size:13px;color:var(--fv-navy)}.fv-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.fv-product-photo{height:178px}}
@media(max-width:639px){#main-content:has(.fv-category){padding-top:18px}.fv-heading{margin-bottom:18px}.fv-heading-line{gap:10px}.fv-heading h1{font-size:25px;letter-spacing:-.5px}.fv-total{font-size:12px;padding:4px 8px}.fv-intro{font-size:13px}.fv-subcategories{padding-bottom:18px;margin-bottom:16px}.fv-category-cards{display:flex;overflow-x:auto;gap:10px;padding:0 0 5px;scroll-snap-type:x proximity}.fv-category-cards li{flex:0 0 214px;scroll-snap-align:start}.fv-category-card{min-height:84px;padding:10px}.fv-category-card img{height:54px;width:50px}.fv-toolbar{flex-direction:column;align-items:stretch;gap:12px}.fv-result-count{font-size:11px}.fv-result-count strong{font-size:13px}.fv-toolbar-actions{justify-content:space-between;gap:8px}.fv-sort{margin-left:auto;min-width:0}.fv-sort select{max-width:160px;font-size:12px}.fv-view button{width:34px}.fv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fv-product{border-radius:9px}.fv-product-photo{height:144px;padding:17px 14px}.fv-product-body{padding:11px 10px 12px}.fv-product-meta{font-size:10px;gap:4px}.fv-product-meta span:first-child{display:none}.fv-product-meta span:last-child{max-width:100%}.fv-product h3{font-size:12px;line-height:1.7;min-height:61px;margin-bottom:10px}.fv-stock{font-size:11px}.fv-price{font-size:17px;margin:9px 0 12px}.fv-price small{font-size:10px}.fv-cart-form{gap:5px}.fv-cart-form input{width:38px;padding:4px 2px;font-size:12px}.fv-cart-form button,.fv-detail{font-size:11px;padding:8px 4px;min-height:42px}.fv-minimum{font-size:10px}.fv-manufacturers,.fv-description{padding:17px}}
@media(prefers-reduced-motion:reduce){.fv-category *{scroll-behavior:auto!important;transition:none!important}}
@media print{.fv-sidebar,.fv-toolbar-actions,.fv-cart-form,.fv-filter-dialog{display:none!important}.fv-layout{display:block}.fv-grid{grid-template-columns:repeat(3,1fr)}.fv-product{break-inside:avoid}}

.fv-main:has([data-fv-results])>.fv-mobile-empty{display:none}.fv-mobile-empty{margin-bottom:16px}
