/* Desktop catalog skeleton — Catalog 5.10 composition. */
.catalog-page{padding:22px 0 44px;background:#fff}.catalog-breadcrumbs{display:flex;gap:8px;color:var(--muted);font-size:.82rem;margin-bottom:16px}.catalog-heading{display:flex;align-items:center;justify-content:space-between;min-height:120px;border-bottom:1px solid var(--border);margin-bottom:18px}.catalog-heading h1{font-size:2rem;line-height:1.15;text-transform:uppercase;color:var(--blue-dk);margin:3px 0 7px}.catalog-heading p{color:var(--muted)}.catalog-kicker{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;color:var(--blue)!important}.catalog-heading__mark{width:96px;height:96px;border:12px solid var(--blue-lt);border-radius:50%;display:grid;place-items:center;font-size:2.4rem;font-weight:800;color:var(--blue)}.catalog-category{display:grid;grid-template-columns:auto minmax(260px,560px);gap:12px;align-items:center;margin:0 0 16px}.catalog-category label{font-weight:700}.catalog-category select,.catalog-range input{height:42px;border:1px solid var(--border);border-radius:4px;background:#fff;padding:0 12px;color:var(--text)}.catalog-info{display:flex;gap:18px;align-items:center;background:#eef6ff;border:1px solid #c7ddf7;border-radius:7px;padding:13px 16px;margin-bottom:20px;font-size:.88rem}.catalog-info strong{color:var(--blue-dk);white-space:nowrap}.catalog-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;align-items:start}.catalog-sidebar{border:1px solid var(--border);border-radius:7px;background:#fff;overflow:hidden}.catalog-filter{border:0;border-bottom:1px solid var(--border);padding:15px}.catalog-filter legend{font-weight:700;color:var(--blue-dk);padding-top:15px;width:100%}.catalog-options{display:grid;gap:7px;max-height:190px;overflow:auto;padding-top:9px}.catalog-options label{display:flex;align-items:flex-start;gap:8px;font-size:.86rem;cursor:pointer}.catalog-options input{accent-color:var(--blue);margin-top:3px}.catalog-range{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.catalog-range input{width:100%;height:36px}.catalog-reset{display:block;text-align:center;padding:13px;font-size:.84rem}.catalog-submit{width:calc(100% - 30px);margin:15px;border:0;border-radius:4px;background:var(--blue);color:#fff;padding:11px}.catalog-active-filters{display:flex;gap:7px;flex-wrap:wrap;min-height:30px;margin-bottom:10px}.catalog-active-filters a{display:inline-flex;align-items:center;gap:6px;background:var(--blue-lt);border-radius:18px;padding:5px 10px;font-size:.78rem;color:var(--blue-dk)}.catalog-active-filters a:hover{text-decoration:none;background:#d5e5fa}.catalog-results-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.catalog-results-head p{font-size:.9rem}.catalog-sort-note{color:var(--muted);font-size:.78rem!important}.catalog-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:7px}.catalog-table{width:100%;border-collapse:collapse;min-width:850px;font-size:.82rem}.catalog-table th{background:#f3f6fa;color:var(--text-2);font-weight:600;text-align:left;padding:10px 8px;border-bottom:1px solid var(--border);white-space:nowrap}.catalog-table td{padding:11px 8px;border-bottom:1px solid var(--border);vertical-align:middle}.catalog-table tbody tr:last-child td{border-bottom:0}.catalog-table tbody tr:hover{background:#fbfdff}.catalog-product-image{width:64px}.catalog-product-image img,.catalog-image-placeholder{width:48px;height:48px;object-fit:contain;border:1px solid var(--border);border-radius:4px}.catalog-image-placeholder{display:grid;place-items:center;background:#f5f7fa;color:#9aa6b5;font-size:1.6rem}.catalog-product-name{min-width:190px}.catalog-product-name a{font-weight:700}.catalog-product-name small{display:block;color:var(--muted);margin-top:3px}.catalog-stock{white-space:nowrap}.catalog-stock::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:#c63838}.catalog-stock.is-in-stock::before{background:var(--green)}.catalog-price{font-weight:600;white-space:nowrap}.catalog-empty{text-align:center;padding:32px!important;color:var(--muted)}.catalog-pagination{display:flex;gap:6px;margin-top:16px}.catalog-pagination a{min-width:34px;height:34px;border:1px solid var(--blue);border-radius:4px;display:grid;place-items:center}.catalog-pagination a.is-current{background:var(--blue);color:#fff}.catalog-page[aria-busy="true"] .catalog-results{opacity:.55;pointer-events:none}
.catalog-page>.container{max-width:1200px}.catalog-page{padding:20px 0 52px}.catalog-breadcrumbs{margin-bottom:20px;color:#6c7483}.catalog-heading{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:42px;min-height:184px;margin-bottom:22px;padding:8px 0 24px;border-bottom:1px solid var(--border)}.catalog-heading__content{align-self:center;max-width:780px}.catalog-heading h1{max-width:760px;margin:6px 0 12px;font-size:clamp(2rem,3vw,2.75rem);line-height:1.08;letter-spacing:-.025em}.catalog-heading__description{max-width:620px;font-size:1rem;line-height:1.55}.catalog-kicker{font-size:.76rem;font-weight:700;letter-spacing:.12em}.catalog-heading__visual{min-height:150px;display:flex;align-items:center;justify-content:center;border:1px solid #cbdff5;border-radius:8px;background:linear-gradient(135deg,#f5f9ff 0%,#e7f1fc 100%);overflow:hidden}.catalog-heading__image{width:100%;height:170px;object-fit:contain;padding:16px}.catalog-heading__placeholder{display:grid;place-items:center;width:100%;height:100%;color:#4a80be}.catalog-heading__placeholder svg{width:180px;height:116px;fill:none;stroke:currentColor;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;opacity:.65}.catalog-category{grid-template-columns:auto minmax(280px,580px);margin-bottom:24px}.catalog-category label{color:var(--blue-dk);font-size:.9rem}.catalog-category select{width:100%;height:44px;border-color:#b9c9dc;font-weight:600}.catalog-layout{grid-template-columns:260px minmax(0,1fr);gap:28px}.catalog-results{min-width:0}.catalog-info{display:grid;grid-template-columns:52px minmax(0,1fr);gap:16px;align-items:center;margin:0 0 22px;padding:18px 20px;background:#edf6ff;border-color:#c1daf4;border-radius:8px}.catalog-info__icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:var(--blue)}.catalog-info__icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.catalog-info__content{display:grid;gap:3px}.catalog-info__content strong{color:var(--blue-dk);font-size:.95rem}.catalog-info__content>span{color:var(--text-2);font-size:.88rem}.catalog-active-filters-wrap{min-height:54px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--border)}.catalog-active-filters-title{margin-bottom:8px;color:var(--blue-dk);font-size:.82rem;font-weight:700}.catalog-active-filters{min-height:0;margin-bottom:0}.catalog-results-head{min-height:50px;margin-bottom:14px;padding:11px 14px;background:#f4f8fc;border:1px solid #d7e3f0;border-radius:6px}.catalog-results-total{font-size:.94rem!important;white-space:nowrap}.catalog-results-controls{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}.catalog-sort-note{color:#566174;white-space:nowrap}.catalog-per-page{display:flex;align-items:center;gap:8px;color:var(--text-2);font-size:.8rem;white-space:nowrap}.catalog-per-page select{height:32px;min-width:68px;padding:0 26px 0 9px;border:1px solid #b9c9dc;border-radius:4px;background:#fff;color:var(--text);font:inherit}.catalog-table-wrap{max-width:100%}
@media(max-width:1366px){.catalog-page>.container{padding-inline:20px}.catalog-heading{grid-template-columns:minmax(0,1fr) 290px;gap:30px}.catalog-layout{grid-template-columns:245px minmax(0,1fr);gap:22px}.catalog-results-controls{gap:12px}.catalog-sort-note{white-space:normal;text-align:right;line-height:1.3}}
@media(max-width:1180px){.catalog-results-head{align-items:flex-start}.catalog-results-controls{align-items:flex-end;flex-direction:column}.catalog-heading{grid-template-columns:minmax(0,1fr) 250px}.catalog-layout{grid-template-columns:230px minmax(0,1fr);gap:18px}}
@media(max-width:900px){.catalog-layout{grid-template-columns:220px minmax(0,1fr)}.catalog-heading{grid-template-columns:minmax(0,1fr)}.catalog-heading__visual{display:none}}

/* Package 2: desktop filters, active state and catalog controls. */
.catalog-sidebar{overflow:visible;border-color:#ccd6e2;box-shadow:0 1px 3px rgba(24,58,103,.04)}
.catalog-sidebar form{min-width:0}
.catalog-filter{margin:0;padding:16px;border:0;border-bottom:1px solid #e2e8f0;min-inline-size:0}
.catalog-filter legend{padding:0;color:#253f68;font-size:.88rem;line-height:1.3}
.catalog-filter.is-primary:last-of-type{border-bottom:1px solid #e2e8f0}
.catalog-filter.is-additional{padding:0}
.catalog-filter.is-additional summary{position:relative;padding:13px 38px 13px 16px;color:#253f68;font-size:.86rem;font-weight:700;line-height:1.35;cursor:pointer;list-style:none;user-select:none}
.catalog-filter.is-additional summary::-webkit-details-marker{display:none}
.catalog-filter.is-additional summary::after{content:'';position:absolute;top:50%;right:17px;width:7px;height:7px;border-right:1.5px solid #6380a5;border-bottom:1.5px solid #6380a5;transform:translateY(-65%) rotate(45deg);transition:transform .18s ease}
.catalog-filter.is-additional[open] summary::after{transform:translateY(-25%) rotate(225deg)}
.catalog-filter.is-additional[open] summary{background:#f8fafd}
.catalog-filter__body{padding:0 16px 15px}
.catalog-options{gap:6px;max-height:178px;padding-top:10px;scrollbar-width:thin;scrollbar-color:#bcc9d9 transparent}
.catalog-options label{display:grid;grid-template-columns:17px minmax(0,1fr);gap:8px;align-items:start;min-width:0;color:#303b4d;font-size:.83rem;line-height:1.35}
.catalog-options label span{min-width:0;overflow-wrap:anywhere}
.catalog-options input[type="checkbox"]{appearance:none;width:16px;height:16px;margin:1px 0 0;border:1px solid #aebdce;border-radius:3px;background:#fff;display:grid;place-content:center;cursor:pointer}
.catalog-options input[type="checkbox"]::before{content:'';width:8px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .1s ease}
.catalog-options input[type="checkbox"]:checked{border-color:var(--blue);background:var(--blue)}
.catalog-options input[type="checkbox"]:checked::before{transform:rotate(-45deg) scale(1)}
.catalog-range{gap:8px;margin-top:11px}
.catalog-range input{height:38px;min-width:0;padding-inline:10px;border-color:#bdc9d7;font-size:.82rem}
.catalog-range input:focus,.catalog-results-controls select:focus{outline:2px solid rgba(26,92,181,.16);outline-offset:1px;border-color:var(--blue)}
.catalog-reset{margin:0;padding:14px 16px;color:#52657d;font-size:.8rem;text-decoration:none;background:#fbfcfe;border-radius:0 0 7px 7px}
.catalog-reset:hover{color:var(--blue);background:#f3f7fc;text-decoration:none}
.catalog-active-filters-wrap{min-height:0;margin-bottom:14px;padding:13px 14px;border:1px solid #d8e2ee;border-radius:6px;background:#fff}
.catalog-active-filters-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.catalog-active-filters-title{margin:0;font-size:.82rem}
.catalog-active-filters-head>a{font-size:.78rem;white-space:nowrap}
.catalog-active-filters{gap:8px;min-width:0}
.catalog-active-filters a{max-width:100%;padding:6px 10px;background:#eaf2fb;border:1px solid #d2e1f3;border-radius:4px;font-size:.78rem;line-height:1.25}
.catalog-active-filters a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.catalog-active-filters a b{font-size:1rem;font-weight:400;line-height:1;color:#56779f}
.catalog-active-filters-more{display:inline-flex;align-items:center;padding:6px 10px;border:1px solid #d8e2ee;border-radius:4px;color:#52657d;font-size:.78rem;white-space:nowrap}
.catalog-results-head{align-items:center}
.catalog-results-controls{gap:16px;flex-wrap:wrap}
.catalog-sort-control{display:grid;gap:3px}
.catalog-sort-control label,.catalog-per-page{display:flex;align-items:center;gap:8px;color:#3f4d61;font-size:.8rem;white-space:nowrap}
.catalog-sort-control small{color:#69788b;font-size:.68rem;line-height:1.2;text-align:right}
.catalog-sort-control select,.catalog-per-page select{height:34px;padding:0 30px 0 10px;border:1px solid #b9c9dc;border-radius:4px;background:#fff;color:var(--text);font:inherit}
.catalog-sort-control select{min-width:156px}
.catalog-per-page select{min-width:66px}
@media(max-width:1366px){.catalog-results-controls{justify-content:flex-end}.catalog-sort-control small{text-align:left}.catalog-results-head{align-items:flex-start}.catalog-results-controls{max-width:540px}}
@media(max-width:1280px){.catalog-results-head{display:grid;grid-template-columns:auto minmax(0,1fr)}.catalog-results-controls{justify-self:end}.catalog-sort-control label,.catalog-per-page{gap:6px}.catalog-sort-control select{min-width:145px}}

/* Mobile catalog: separate presentation over shared catalog data. */
.catalog-mobile-toolbar,.catalog-drawer-header,.catalog-drawer-action,.catalog-mobile-products,.catalog-drawer-backdrop{display:none}
@media(max-width:767px){
.catalog-page{padding:8px 0 30px}.catalog-page>.container{padding-inline:14px}.catalog-breadcrumbs{gap:6px;margin-bottom:6px;font-size:.7rem;white-space:nowrap;overflow:hidden}.catalog-breadcrumbs span:last-child{overflow:hidden;text-overflow:ellipsis}.catalog-heading{display:block;min-height:0;margin-bottom:8px;padding:0 0 7px}.catalog-kicker,.catalog-heading__visual{display:none}.catalog-heading h1{margin:0 0 4px;font-size:1.38rem;line-height:1.1}.catalog-heading__description{font-size:.82rem;line-height:1.35}.catalog-category{display:grid;grid-template-columns:1fr;gap:3px;margin-bottom:7px}.catalog-category label{font-size:.74rem}.catalog-category select{height:42px;font-size:.86rem}
.catalog-mobile-toolbar{position:sticky;top:78px;z-index:80;display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0 -14px 7px;padding:6px 14px;background:rgba(255,255,255,.96);border-block:1px solid #dce4ee;box-shadow:0 2px 8px rgba(24,58,103,.06);backdrop-filter:blur(8px)}.catalog-mobile-filter-button,.catalog-mobile-sort{min-width:0;height:42px;border:1px solid #b9c9dc;border-radius:6px;background:#fff;color:#253f68;font:600 .84rem/1 var(--font)}.catalog-mobile-filter-button{display:flex;align-items:center;justify-content:center;gap:7px}.catalog-mobile-filter-button span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:11px;background:var(--blue);color:#fff;font-size:.7rem}.catalog-mobile-sort{display:block;font-size:0;overflow:hidden}.catalog-mobile-sort>select{width:100%;height:100%;padding:0 28px 0 11px;border:0;background:transparent;color:#253f68;font:600 .84rem/1 var(--font)}
.catalog-layout{display:block}.catalog-info{display:none}.catalog-results-head{display:block;margin-bottom:6px;padding:0}.catalog-results-total{margin:0;color:#65748a;font-size:.78rem;line-height:1.3}.catalog-results-total strong{color:#253f68;font-size:.86rem}.catalog-results-controls,.catalog-table-wrap{display:none}.catalog-mobile-products{display:grid;gap:8px}.catalog-active-filters-wrap{margin:0 0 7px;padding:0;border:0;background:transparent;overflow:hidden}.catalog-active-filters-head{display:none}.catalog-active-filters{display:flex;flex-wrap:nowrap;gap:7px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}.catalog-active-filters::-webkit-scrollbar{display:none}.catalog-active-filters a,.catalog-active-filters-more{flex:0 0 auto;max-width:220px;min-height:34px;border-radius:17px;padding:7px 10px}
.catalog-product-card{display:grid;gap:8px;padding:10px 12px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgba(24,58,103,.05)}.catalog-product-card__top{display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;align-items:center}.catalog-product-card__image{display:grid;place-items:center;width:68px;height:68px;border-radius:7px;background:#f5f8fc;overflow:hidden}.catalog-product-card__image img{width:100%;height:100%;object-fit:contain}.catalog-card-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#8093aa}.catalog-card-placeholder svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.catalog-product-card__identity{display:grid;gap:3px;min-width:0}.catalog-product-card__identity a{display:-webkit-box;overflow:hidden;color:#233b60;font-size:.92rem;font-weight:700;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}.catalog-product-card__identity small{color:#728095;font-size:.68rem;overflow-wrap:anywhere}.catalog-product-card__meta{display:grid;gap:2px;margin:0}.catalog-product-card__meta>div{display:flex;justify-content:space-between;gap:12px;font-size:.76rem}.catalog-product-card__meta dt{color:#748196}.catalog-product-card__meta dd{margin:0;color:#303b4d;font-weight:600;text-align:right}.catalog-product-card>.catalog-stock{justify-self:start}.catalog-product-card__prices{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e4eaf1}.catalog-product-card__prices>div{display:grid;gap:1px;padding:7px 7px 0;text-align:center}.catalog-product-card__prices>div+div{border-left:1px solid #e4eaf1}.catalog-product-card__prices span{color:#748196;font-size:.68rem}.catalog-product-card__prices strong{color:#203956;font-size:.88rem;white-space:nowrap}.catalog-mobile-empty{display:grid;gap:8px;justify-items:start;padding:20px 16px;border:1px solid #d8e2ee;border-radius:8px;background:#f8fafc}.catalog-mobile-empty p{color:#66758a;font-size:.84rem}.catalog-mobile-empty a,.catalog-mobile-empty button{display:inline-flex;align-items:center;min-height:42px;padding:0 15px;border:1px solid var(--blue);border-radius:5px;background:#fff;color:var(--blue);font-size:.82rem}
.catalog-pagination{gap:6px;margin-top:18px}.catalog-pagination a{min-width:44px;height:44px}.catalog-pagination__ellipsis{display:grid;place-items:center;width:22px;color:#718096}.catalog-pagination .is-disabled{pointer-events:none;opacity:.4}
.catalog-sidebar{position:fixed;z-index:310;top:0;right:0;bottom:0;display:none;width:100vw;max-width:520px;height:100dvh;border:0;border-radius:0;background:#fff;box-shadow:-12px 0 36px rgba(15,35,62,.2);overflow:hidden;flex-direction:column}.catalog-sidebar.is-open{display:flex}.catalog-sidebar form{flex:1;overflow-y:auto;padding-bottom:12px}.catalog-drawer-header{display:grid;grid-template-columns:1fr auto 44px;align-items:center;gap:8px;min-height:58px;padding:7px 8px 7px 16px;border-bottom:1px solid #dce4ee}.catalog-drawer-header strong{font-size:1.05rem}.catalog-drawer-header a{font-size:.8rem}.catalog-drawer-header button{width:44px;height:44px;border:0;background:transparent;color:#52657d;font-size:1.8rem}.catalog-filter,.catalog-filter.is-additional{padding:0;border-bottom:1px solid #e2e8f0}.catalog-filter.is-primary legend{width:100%;padding:15px 16px 8px;font-size:.9rem}.catalog-filter__body{padding:0 16px 14px}.catalog-options{gap:0;max-height:none;padding:0 16px 10px}.catalog-filter__body .catalog-options{padding-inline:0}.catalog-options label{grid-template-columns:22px minmax(0,1fr);align-items:center;min-height:44px;font-size:.88rem}.catalog-options input[type="checkbox"]{width:20px;height:20px;margin:0}.catalog-range{margin:0 16px 7px}.catalog-range input{height:44px;font-size:.88rem}.catalog-filter.is-additional summary{min-height:48px;padding:14px 44px 14px 16px;font-size:.9rem}.catalog-reset{display:none}.catalog-drawer-action{display:block;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #dce4ee;background:#fff}.catalog-drawer-action button{width:100%;height:50px;border:0;border-radius:6px;background:var(--blue);color:#fff;font:700 .95rem/1 var(--font)}.catalog-drawer-backdrop{position:fixed;z-index:300;inset:0;width:100vw;height:100dvh;border:0;background:rgba(14,27,46,.45)}.catalog-drawer-backdrop.is-open{display:block}body.catalog-drawer-open{overflow:hidden}.catalog-page[aria-busy="true"] .catalog-mobile-products{opacity:.55;pointer-events:none}
.catalog-options label.is-option-hidden{display:none}.catalog-options.is-expanded label.is-option-hidden{display:grid}.catalog-options-toggle{display:block;width:calc(100% - 32px);min-height:40px;margin:-4px 16px 10px;border:0;background:transparent;color:var(--blue);font:600 .8rem/1 var(--font);text-align:left}.catalog-filter__body .catalog-options-toggle{width:100%;margin-inline:0}
}
@media(max-width:359px){.catalog-page>.container{padding-inline:10px}.catalog-mobile-toolbar{margin-inline:-10px;padding-inline:10px}.catalog-product-card__top{grid-template-columns:64px minmax(0,1fr)}.catalog-product-card__image{width:64px;height:64px}.catalog-product-card__prices strong{font-size:.8rem}}

/* Tablet catalog: intermediate layout between desktop and mobile.
   Content spans full width; filters open in a 420-520px drawer (not fullscreen);
   products render as compact horizontal rows (not large mobile cards). */
@media(min-width:768px) and (max-width:1023px){
.catalog-page{padding:14px 0 40px}.catalog-page>.container{padding-inline:24px}
.catalog-breadcrumbs{margin-bottom:12px;font-size:.78rem}
.catalog-heading{display:block;min-height:0;margin-bottom:14px;padding:0 0 12px;border-bottom:1px solid var(--border)}
.catalog-kicker{font-size:.72rem}
.catalog-heading h1{margin:4px 0 8px;font-size:clamp(1.5rem,3.5vw,2rem);line-height:1.12}
.catalog-heading__description{font-size:.92rem;line-height:1.45;max-width:640px}
.catalog-heading__visual{display:none}
.catalog-category{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:10px}
.catalog-category label{font-size:.8rem;font-weight:700;color:var(--blue-dk)}
.catalog-category select{width:100%;height:48px;font-size:.95rem}
/* Layout: single column, sidebar becomes a drawer panel */
.catalog-layout{display:block}
.catalog-info{display:none}
/* Toolbar: Найдено N + [Фильтры][Сортировка] */
.catalog-mobile-toolbar{position:sticky;top:70px;z-index:80;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 10px;padding:8px 0;background:rgba(255,255,255,.97);border-block:1px solid #dce4ee;box-shadow:0 2px 8px rgba(24,58,103,.06);backdrop-filter:blur(8px)}
.catalog-mobile-filter-button,.catalog-mobile-sort{min-width:0;height:48px;border:1px solid #b9c9dc;border-radius:7px;background:#fff;color:#253f68;font:600 .92rem/1 var(--font)}
.catalog-mobile-filter-button{display:flex;align-items:center;justify-content:center;gap:8px}
.catalog-mobile-filter-button span{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--blue);color:#fff;font-size:.72rem}
.catalog-mobile-sort{display:block;font-size:0;overflow:hidden}
.catalog-mobile-sort>select{width:100%;height:100%;padding:0 30px 0 12px;border:0;background:transparent;color:#253f68;font:600 .92rem/1 var(--font)}
/* Hide desktop results controls + table; show tablet product rows */
.catalog-results-head{display:block;margin-bottom:8px;padding:0}
.catalog-results-total{margin:0 0 4px;color:#65748a;font-size:.84rem;line-height:1.3}
.catalog-results-total strong{color:#253f68;font-size:.92rem}
.catalog-results-controls,.catalog-table-wrap{display:none}
.catalog-mobile-products{display:grid;gap:10px}
/* Active filter chips: single row, internal horizontal scroll only */
.catalog-active-filters-wrap{margin:0 0 8px;padding:0;border:0;background:transparent;overflow:hidden}
.catalog-active-filters-head{display:none}
.catalog-active-filters{display:flex;flex-wrap:nowrap;gap:8px;padding-bottom:2px;overflow-x:auto;scrollbar-width:none}
.catalog-active-filters::-webkit-scrollbar{display:none}
.catalog-active-filters a,.catalog-active-filters-more{flex:0 0 auto;max-width:260px;min-height:38px;border-radius:19px;padding:8px 12px}
/* Compact horizontal product row */
.catalog-product-card{display:grid;grid-template-columns:88px minmax(0,1fr) auto;grid-template-areas:"image identity prices" "image meta prices" "image stock prices";gap:6px 16px;align-items:center;padding:14px 16px;border:1px solid #d8e2ee;border-radius:9px;background:#fff;box-shadow:0 1px 3px rgba(24,58,103,.05)}
.catalog-product-card__top{display:contents}
.catalog-product-card__image{grid-area:image;width:88px;height:88px;border-radius:8px;background:#f5f8fc;overflow:hidden;display:grid;place-items:center}
.catalog-product-card__image img{width:100%;height:100%;object-fit:contain}
.catalog-card-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#8093aa}
.catalog-card-placeholder svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.catalog-product-card__identity{grid-area:identity;display:grid;gap:3px;min-width:0;align-self:end}
.catalog-product-card__identity a{display:-webkit-box;overflow:hidden;color:#233b60;font-size:1rem;font-weight:700;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.catalog-product-card__identity small{color:#728095;font-size:.74rem;overflow-wrap:anywhere}
.catalog-product-card__meta{grid-area:meta;display:flex;flex-wrap:wrap;gap:4px 18px;margin:0;align-self:start}
.catalog-product-card__meta>div{display:flex;gap:6px;font-size:.8rem}
.catalog-product-card__meta dt{color:#748196}
.catalog-product-card__meta dd{margin:0;color:#303b4d;font-weight:600}
.catalog-product-card>.catalog-stock{grid-area:stock;justify-self:start;margin-top:2px}
.catalog-product-card__prices{grid-area:prices;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;border:1px solid #e4eaf1;border-radius:8px;background:#fbfcfe}
.catalog-product-card__prices>div{display:grid;gap:2px;padding:9px 10px;text-align:center;min-width:0}
.catalog-product-card__prices>div+div{border-left:1px solid #e4eaf1}
.catalog-product-card__prices span{color:#748196;font-size:.72rem;white-space:nowrap}
.catalog-product-card__prices strong{color:#203956;font-size:.9rem;white-space:nowrap}
.catalog-mobile-empty{display:grid;gap:10px;justify-items:start;padding:22px 18px;border:1px solid #d8e2ee;border-radius:9px;background:#f8fafc}
.catalog-mobile-empty p{color:#66758a;font-size:.9rem}
/* Filter drawer: fixed-width panel (not fullscreen) */
.catalog-sidebar{position:fixed;z-index:310;top:0;right:0;bottom:0;display:none;width:460px;max-width:88vw;height:100dvh;border:0;border-radius:0;background:#fff;box-shadow:-12px 0 36px rgba(15,35,62,.2);overflow:hidden;flex-direction:column}
.catalog-sidebar.is-open{display:flex}
.catalog-sidebar form{flex:1;overflow-y:auto;padding-bottom:12px}
.catalog-drawer-header{display:grid;grid-template-columns:1fr auto 48px;align-items:center;gap:8px;min-height:60px;padding:8px 10px 8px 18px;border-bottom:1px solid #dce4ee}
.catalog-drawer-header strong{font-size:1.05rem}
.catalog-drawer-header a{font-size:.84rem;padding:10px 0}
.catalog-drawer-header button{width:48px;height:48px;border:0;background:transparent;color:#52657d;font-size:1.9rem;border-radius:6px}
.catalog-filter,.catalog-filter.is-additional{padding:0;border-bottom:1px solid #e2e8f0}
.catalog-filter.is-primary legend{width:100%;padding:16px 18px 9px;font-size:.95rem}
.catalog-filter__body{padding:0 18px 15px}
.catalog-options{gap:0;max-height:none;padding:0 18px 10px}
.catalog-filter__body .catalog-options{padding-inline:0}
.catalog-options label{grid-template-columns:24px minmax(0,1fr);align-items:center;min-height:46px;font-size:.92rem}
.catalog-options input[type="checkbox"]{width:22px;height:22px;margin:0}
.catalog-range{margin:0 18px 8px}
.catalog-range input{height:46px;font-size:.92rem}
.catalog-filter.is-additional summary{min-height:50px;padding:15px 46px 15px 18px;font-size:.94rem}
.catalog-reset{display:none}
.catalog-drawer-action{display:block;padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #dce4ee;background:#fff}
.catalog-drawer-action button{width:100%;height:52px;border:0;border-radius:7px;background:var(--blue);color:#fff;font:700 1rem/1 var(--font)}
.catalog-drawer-backdrop{position:fixed;z-index:300;inset:0;width:100vw;height:100dvh;border:0;background:rgba(14,27,46,.45)}
.catalog-drawer-backdrop.is-open{display:block}
body.catalog-drawer-open{overflow:hidden}
.catalog-options label.is-option-hidden{display:none}
.catalog-options.is-expanded label.is-option-hidden{display:grid}
.catalog-options-toggle{display:block;width:calc(100% - 36px);min-height:44px;margin:-6px 18px 10px;border:0;background:transparent;color:var(--blue);font:600 .86rem/1 var(--font);text-align:left}
.catalog-filter__body .catalog-options-toggle{width:100%;margin-inline:0}
/* Pagination: touch friendly */
.catalog-pagination{gap:7px;margin-top:20px}
.catalog-pagination a{min-width:46px;height:46px;font-size:.95rem}
.catalog-pagination__ellipsis{display:grid;place-items:center;width:24px;color:#718096}
.catalog-pagination .is-disabled{pointer-events:none;opacity:.4}
/* Tablet-slim product row on the narrower half of the range */
@media(max-width:820px){
.catalog-product-card{grid-template-columns:72px minmax(0,1fr);grid-template-areas:"image identity" "image meta" "image stock" "prices prices";gap:4px 12px;padding:12px}
.catalog-product-card__image{width:72px;height:72px}
.catalog-product-card__identity a{font-size:.94rem}
.catalog-product-card__prices{grid-area:prices;border:0;border-top:1px solid #e4eaf1;border-radius:0;background:transparent;margin-top:6px;padding-top:8px}
.catalog-product-card__prices>div{padding:4px 6px 0;text-align:left}
.catalog-product-card__prices>div+div{border-left:0}
.catalog-product-card__prices span{font-size:.7rem}
.catalog-product-card__prices strong{font-size:.86rem}
}
}
