/* Parameter filters sit above their columns; values stay on a single stock row. */
.catalog-main{min-width:0}.catalog-layout{display:block}.catalogue-backing-fields[hidden]{display:none!important}
.table-labels,.product-list:not(.grid) .product-row{grid-template-columns:minmax(265px,1fr) 70px 100px 72px 103px 118px 187px 91px 77px;gap:8px}
.table-labels{position:relative;background:#eaf3f8;color:#023c5e;border:1px solid #cddde6;border-bottom:2px solid #005280;min-height:52px;padding:9px 16px;z-index:5;overflow:visible;align-items:center}
.table-filter{position:relative;min-width:0}.table-filter-toggle{font:inherit;font-size:10px;font-weight:600;color:inherit;display:flex;align-items:center;justify-content:flex-start;gap:4px;text-align:left;white-space:nowrap;padding:0;min-height:14px;width:100%}.filter-caption{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:14px}.table-filter-toggle .filter-arrow{flex-shrink:0;line-height:14px;transition:transform .18s}.table-filter-toggle[aria-expanded="true"] .filter-arrow{transform:rotate(180deg)}.filter-arrow{font-size:13px;color:#005280}.table-filter-toggle small{display:none}.table-filter-toggle.has-selection{color:#005280}.table-filter-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:30;width:260px;max-width:calc(100vw - 48px);background:#fff;border:1px solid #b7cfdf;border-radius:7px;box-shadow:0 12px 35px #023c5e22;padding:16px;text-align:left;color:#023c5e}.table-filter-menu[hidden]{display:none}.table-filter-menu>strong{display:block;font-size:13px;margin-bottom:12px}.filter-value-list{max-height:260px;overflow-y:auto;margin:10px 0;overscroll-behavior:contain}.filter-value-list>label{display:flex;align-items:center;gap:9px;font-size:12px;padding:7px 4px;cursor:pointer}.filter-value-list input{accent-color:#005280;width:15px;height:15px;flex-shrink:0}.filter-value-list>label:hover{background:#eaf3f8}
.sheet-thickness,.sheet-format,.sheet-grade{font-size:11px;white-space:nowrap;font-variant-numeric:tabular-nums}.sheet-format{font-size:10px}.product-sum{font-size:12px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.product-primary .supplier-variants{font-size:10px;flex-shrink:0;margin-left:2px}.product-price strong{font-size:14px}.row-quantity .order-equivalent{font-size:8px}.size-shortcuts{display:flex;align-items:center;gap:14px;margin:17px 0 9px}.size-shortcuts>span{font-size:11px;color:var(--muted)}#size-presets{display:flex;flex-wrap:wrap;gap:7px}#size-presets button{font-size:10px;padding:7px 10px;border:1px solid #cddde6;border-radius:4px;background:#fff;color:#005280}#size-presets button.active{background:#005280;color:#fff}.results-bar .filter-reset{padding:5px 0;background:transparent;border:0;white-space:nowrap;font-size:10px}.active-filters:empty{display:none}.active-filters{padding:0 0 12px;background:none;border:0}.product-list.grid .sheet-thickness,.product-list.grid .sheet-format,.product-list.grid .sheet-grade{display:none}.product-list.grid .product-sum{margin-top:6px}.product-list.grid .product-sum:before{content:'Сумма: ';font-weight:400}
.table-labels{background:#023c5e;color:#fff}
.table-filter-toggle.has-selection,.table-filter-toggle small,.filter-arrow{color:#a8deff}
.table-filter-toggle small:empty{display:none}
.table-labels.grid-filters{display:flex;gap:28px}.grid-filters>span{display:none}.grid-filters .table-filter{flex:1}
.table-labels,.product-list:not(.grid) .product-row{grid-template-columns:minmax(265px,1fr) 78px 100px 72px 103px 118px 202px 91px 77px}
@media(min-width:701px){.table-filter:last-of-type .table-filter-menu{left:auto;right:0}}
@media(max-width:1250px) and (min-width:901px){.table-labels,.product-list:not(.grid) .product-row{grid-template-columns:minmax(210px,1fr) 70px 88px 62px 95px 108px 148px 79px 66px;gap:6px}.product-price strong{font-size:12px}.product-sum{font-size:11px}.row-quantity .order-equivalent{display:none}.product-name{font-size:10px}}
@media(max-width:1050px) and (min-width:901px){.table-labels,.product-list:not(.grid) .product-row{grid-template-columns:minmax(180px,1fr) 48px 80px 55px 85px 91px 133px 65px 59px;padding-left:10px;padding-right:10px;gap:5px}.table-filter-toggle{font-size:9px}.sheet-standard{display:block!important;font-size:9px}.product-price strong,.product-sum{font-size:10px}.order-stepper input{width:30px}.order-stepper button{width:16px}.order-units button{padding:6px 3px;min-width:21px}.product-actions .add-button{padding:0 3px;font-size:9px}}
@media(max-width:900px) and (min-width:701px){.table-labels{display:flex;gap:12px;padding:10px}.table-labels>span{display:none}.table-labels .table-filter{flex:1;display:block!important}.product-list:not(.grid) .product-row{grid-template-columns:minmax(165px,1fr) 40px 70px 49px 85px 130px 60px;padding-left:10px;padding-right:10px;gap:4px}.sheet-standard,.product-sum{display:none!important}.product-price strong{font-size:11px}.product-name{font-size:10px}.sheet-thickness,.sheet-format,.sheet-grade{font-size:9px}.sheet-grade{overflow:hidden;text-overflow:ellipsis}.table-filter-toggle{font-size:9px}.order-stepper input{width:30px}.order-stepper button{width:16px}.order-units button{padding:6px 3px;min-width:21px}.row-quantity .order-equivalent{display:none}.product-actions .add-button{padding:0 3px;font-size:9px}.table-filter-menu{width:240px}}
@media(max-width:700px){.table-labels,.table-labels.grid-filters{display:flex!important;flex-wrap:wrap;gap:8px;padding:12px;z-index:5}.table-labels>span{display:none}.table-filter,.grid-filters .table-filter{flex:1 1 27%}.table-filter:first-child{flex:1 1 100%}.table-filter-toggle{border:1px solid #cddde6;border-radius:4px;padding:7px 9px;background:#fff;min-height:36px;font-size:10px;color:#023c5e}.table-filter-toggle.has-selection,.table-filter-toggle small,.filter-arrow{color:#005280}.table-filter-menu{position:fixed;left:20px;top:50%;transform:translateY(-50%);width:calc(100vw - 40px);max-width:none;max-height:75vh;overflow:auto}.filter-value-list{max-height:35vh}.product-list:not(.grid) .product-row{grid-template-columns:1fr 1fr;gap:10px 12px;height:auto;padding:15px}.sheet-thickness,.sheet-format,.sheet-grade{display:none}.sheet-standard{grid-column:1;grid-row:2;display:block}.product-price{grid-column:2;grid-row:2}.product-sum{grid-column:2;grid-row:3}.product-sum:before{content:'Сумма ';font-size:9px;font-weight:400;color:var(--muted)}.row-quantity{grid-column:1;grid-row:3/5}.product-list:not(.grid) .product-actions{grid-column:2;grid-row:4}.row-quantity .order-equivalent{font-size:9px}.product-name{font-size:12px}.product-price strong{font-size:14px}.results-bar{align-items:flex-start}.results-bar .catalog-controls{flex-wrap:wrap;justify-content:flex-end}.catalog-controls>label:first-of-type{display:none}.catalog-controls label{font-size:9px}.catalog-controls select{font-size:10px;max-width:115px}.results-bar .filter-reset{flex-basis:100%;text-align:right}.size-shortcuts{align-items:flex-start}#size-presets{gap:5px}#size-presets button{padding:6px 8px}}

.catalog-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px 22px}.catalog-heading-actions .button{min-height:40px;padding:10px 16px}
@media(max-width:700px){.catalog-heading-actions{margin-top:16px;justify-content:flex-start;gap:12px}.catalog-heading-actions .button{font-size:10px}}

.table-labels>span{line-height:14px}

.results-bar>div{margin-left:auto}.results-bar .catalog-controls{justify-content:flex-end}
@media(max-width:700px){.results-bar{flex-wrap:wrap;align-items:center}.catalog-controls>label:first-of-type{display:flex}.results-bar .filter-reset{flex-basis:auto}.results-bar .catalog-controls{flex-wrap:nowrap}}

/* Headers and values share exactly the same column edges and centres. */
@media(min-width:901px){
  .table-labels{box-sizing:border-box}
  .table-labels>.table-filter[data-catalog-filter="thickness"] .table-filter-toggle,
  .table-labels>.table-filter[data-catalog-filter="format"] .table-filter-toggle,
  .table-labels>.table-filter[data-catalog-filter="grade"] .table-filter-toggle{justify-content:center;text-align:center}
  .sheet-thickness,.sheet-format,.sheet-grade{min-width:0;text-align:center;justify-self:stretch;font-variant-numeric:tabular-nums;line-height:18px}
  .table-labels>.table-filter{align-self:center}
}
