.product_catalog { box-sizing: border-box; min-width: 0; max-width: 1600px; margin: 0 auto; padding: 28px 25px 48px; background: #fff; color: #183452; font-size: 14px; }
.product_table_toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.product_table_toolbar .product_search { position: static; display: flex; align-items: center; gap: 0; border-radius: 8px; border: 1px solid #c5d3e3; background: #fff; overflow: hidden; }
.product_table_toolbar .product_search input { width: 260px; height: 40px; padding: 0 16px; border: none; outline: none; font-size: 14px; color: #183452; background: transparent; }
.product_table_toolbar .product_search input::placeholder { color: #8fa3be; }
.product_table_toolbar .product_search button { display: flex; align-items: center; justify-content: center; width: 44px; height: 40px; border: none; background: transparent; color: #176be8; flex-shrink: 0; }
.product_table_toolbar .product_search button:hover { color: #0d5bbf; }
.product_table_toolbar .product_search { width: 428px; max-width: 100%; box-sizing: border-box; }
.product_table_toolbar .product_search input { flex: 1; min-width: 0; width: 0; height: 46px; padding-left: 26px; }
.product_table_toolbar .product_search button { width: 52px; height: 46px; }
.product_catalog button { cursor: pointer; font: inherit; }
.product_catalog a { color: #183452; }
.product_catalog a:hover { color: #176be8; }
.product_filter_form { margin: 0; }
.product_filter_dropdown { position: fixed; z-index: 1100; display: flex; flex-direction: column; width: 156px; box-sizing: border-box; padding: 24px 13px 16px; border: 1px solid #a9b5c7; background: #fff; box-shadow: 0 3px 8px rgba(24,52,82,.12); color: #183452; text-align: left; }
.product_filter_dropdown[hidden] { display: none; }
.product_filter_options { max-height: 234px; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #176be8 #eee; }
.product_filter_options::-webkit-scrollbar { width: 3px; }
.product_filter_options::-webkit-scrollbar-thumb { background: #176be8; }
.product_filter_options::-webkit-scrollbar-track { background: #eee; }
.product_filter_options label { position: relative; display: flex; align-items: flex-start; gap: 6px; margin: 0; padding: 5px 0; font-weight: 400; line-height: 18px; cursor: pointer; transition: background .2s; }
.product_filter_options label:hover { background: #f0f6ff; }
.product_filter_options input[type="checkbox"] { position: absolute; width: 13px; height: 13px; margin: 2px 0 0; opacity: 0; }
.product_filter_checkbox { position: relative; flex: 0 0 13px; width: 13px; height: 13px; box-sizing: border-box; margin-top: 2px; border: 1px solid #888; border-radius: 2px; background: #fff; }
.product_filter_options input:checked + .product_filter_checkbox { border-color: #168bea; background: #168bea; }
.product_filter_options input:checked + .product_filter_checkbox::after { content: ''; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; box-sizing: border-box; border: solid #fff; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.product_filter_options span { overflow-wrap: anywhere; }
.product_filter_clear { flex-shrink: 0; width: 100%; margin-top: 24px; padding: 9px 0; border: 1px solid #2684ff; border-radius: 9px; background: #fff; color: #2684ff; }
.product_filter_clear:hover { background: #f0f7ff; }
.product_scroll_hint { display: none; }
.product_table_wrapper { width: 100%; }
.product_spec_table { width: 100%; min-width: 1200px; border-collapse: separate; border-spacing: 0; text-align: center; overflow-x: auto; }
.product_spec_table thead { background: #1a6de0; color: #fff; }
.product_spec_table th { position: sticky; top: 70px; z-index: 10; height: 62px; min-width: 88px; padding: 0; border-right: 1px solid rgba(255,255,255,.8); text-align: center; font-weight: 400; line-height: 20px; background: #1a6de0; }
.product_spec_table th:first-child { border-top-left-radius: 10px; }
.product_spec_table th:last-child { border-top-right-radius: 10px; border-right: 0; }
.product_spec_table th.product_number { min-width: 60px; }
.product_spec_table th.product_name { min-width: 180px; }
.product_spec_table th button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 62px; padding: 10px; border: 0; color: inherit; background: transparent; }
.product_spec_table th button:hover, .product_spec_table th button.is_filtered { background: rgba(0,0,0,.14); }
.product_spec_table td { height: 96px; padding: 16px 12px; box-sizing: border-box; border-bottom: 1px solid #eee; line-height: 20px; vertical-align: middle; overflow-wrap: anywhere; }
.product_table_name img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 44px; }
.product_catalog > .product_spec_table tbody tr { transition: box-shadow .25s ease, background .25s ease; }
.product_catalog > .product_spec_table tbody td { transition: box-shadow .25s ease; }
.product_table_name img { transition: transform .25s ease; }
.product_table_name { display: flex; align-items: center; gap: 14px; text-align: left; }
@media (hover: hover) and (pointer: fine) {
    .product_catalog > .product_spec_table tbody tr:hover { box-shadow: 0 5px 16px rgba(22,117,234,.18); background: #f7fbff; }
    .product_catalog > .product_spec_table tbody tr:hover td:not(:first-child) { box-shadow: inset 0 1px #1eadf4, inset 0 -1px #1eadf4; }
    .product_catalog > .product_spec_table tbody tr:hover td:first-child { box-shadow: inset 1px 0 #1eadf4, inset 0 1px #1eadf4, inset 0 -1px #1eadf4; }
    .product_catalog > .product_spec_table tbody tr:hover td:last-child { box-shadow: inset -1px 0 #1eadf4, inset 0 1px #1eadf4, inset 0 -1px #1eadf4; }
}
.product_image_preview { position: fixed; z-index: 1090; width: 160px; height: 160px; padding: 10px; box-sizing: border-box; object-fit: contain; background: #fff; border: 1px solid #e7edf3; box-shadow: 0 5px 16px rgba(24,52,82,.12); pointer-events: none; }
.product_image_preview[hidden] { display: none; }
.product_table_empty { padding: 40px 15px; text-align: center; color: #64748b; }
.product_catalog :focus-visible { outline: 2px solid #0d75e9; outline-offset: 3px; }
@media (max-width: 767px) {
    .product_catalog { max-width: none; padding: 20px 20px 32px; }
    .product_table_wrapper::-webkit-scrollbar { height: 6px; }
    .product_table_wrapper::-webkit-scrollbar-thumb { background: #c5d3e3; border-radius: 3px; }
    .product_table_toolbar { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 12px; }
    .product_table_toolbar > div:first-child { overflow-wrap: anywhere; }
    .product_table_toolbar .product_search input { width: 100%; }
    .product_scroll_hint { display: block; margin: 0 0 10px; color: #64748b; font-size: 12px; }
    .product_spec_table { min-width: 960px; font-size: 13px; }
    .product_spec_table th { min-width: 84px; height: 52px; }
    .product_spec_table th button { min-height: 52px; padding: 8px; }
    .product_spec_table th.product_number { min-width: 44px; }
    .product_spec_table th.product_name { min-width: 160px; }
    .product_spec_table td { height: 80px; padding: 12px 8px; }
    .product_table_name { gap: 8px; }
    .product_table_name img { width: 36px; height: 36px; flex-basis: 36px; }
    .product_filter_dropdown { width: calc(100vw - 24px); padding: 16px; border-radius: 12px; box-shadow: 0 6px 30px rgba(24,52,82,.22); }
    .product_filter_options { max-height: none; overscroll-behavior-y: contain; }
    .product_filter_options label { min-height: 44px; box-sizing: border-box; align-items: center; padding: 10px 4px; gap: 10px; }
    .product_filter_checkbox { width: 18px; height: 18px; flex-basis: 18px; margin-top: 0; }
    .product_filter_options input:checked + .product_filter_checkbox::after { left: 5px; top: 2px; width: 5px; height: 9px; border-width: 0 2px 2px 0; }
    .product_filter_clear { min-height: 44px; margin-top: 12px; }
    .product_catalog .news_pagebar { padding: 20px 0 0; }
    .product_catalog .news_pagebar .pagination { flex-wrap: wrap; justify-content: center; max-width: 100%; box-sizing: border-box; }
    .product_catalog .news_pagebar .pagination .pagination_but { min-height: 40px; }
}
