:root{--bg:#f5f7fb;--ink:#19243a;--muted:#758198;--line:#e6eaf1;--white:#fff;--accent:#2461e9;--accent-hover:#194fc9;--pale:#eaf1ff;--teal:#119785;--tealpale:#e3f7f1;--red:#b25543;--shadow:0 10px 28px rgba(21,40,74,.04);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}input,select,textarea{outline:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #9cbaff;outline-offset:2px}.symbols{position:absolute;width:0;height:0;overflow:hidden}.ico{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:11px;color:#65718a;min-width:38px;height:38px}.icon-btn:hover{background:#f1f4fa;color:var(--ink)}[hidden]{display:none!important}
.topbar{height:83px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30}.topbar-inner{max-width:1500px;margin:auto;padding:0 36px;display:flex;align-items:center;gap:36px;height:100%}.brand{display:flex;align-items:center;gap:11px;min-width:222px}.brand-icon{background:#205bd3;color:white;border-radius:13px;width:43px;height:43px;display:grid;place-items:center;box-shadow:0 7px 15px #205bd32a}.brand-icon .ico{width:25px;height:25px}.brand-label{font-size:21px;font-weight:800;letter-spacing:-.9px;line-height:1.04}.brand-dot{color:#2565e9}.brand-label small{display:block;font-size:10px;color:#929cb0;font-weight:600;letter-spacing:.3px;padding-top:4px}.global-search{height:46px;border:1px solid var(--line);background:#f7f9fc;display:flex;align-items:center;gap:12px;border-radius:12px;padding:0 15px;color:#8490a4;flex:1;max-width:620px;min-width:0;transition:.15s}.global-search:focus-within{background:white;border-color:#96b4ff;box-shadow:0 0 0 3px #dfe9ff}.global-search input{border:0;min-width:0;flex:1;background:transparent;color:var(--ink);font-size:13px}.global-search input::placeholder{color:#95a0b0}.global-search kbd{font-family:inherit;border:1px solid #e4e8f0;border-radius:5px;padding:0 6px;background:white;color:#a7b0be;font-size:16px}.top-actions{display:flex;align-items:center;gap:14px;margin-left:auto}.settings-link{border:0;background:transparent;color:#66728a;display:flex;gap:8px;align-items:center;white-space:nowrap;font-size:12px;font-weight:650}.settings-link:hover{color:var(--accent)}.settings-link .ico{width:18px;height:18px}.cart-trigger{height:43px;border:0;color:white;border-radius:11px;background:#2461e9;display:flex;align-items:center;gap:9px;padding:0 16px;font-weight:700;font-size:13px;white-space:nowrap}.cart-trigger:hover,.btn-primary:hover{background:#1851ca}.cart-trigger .ico{width:19px}.count-bubble{font-size:10px;border-radius:99px;background:#fff;color:#1d59e3;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px}.mobile-menu,.mobile-search-wrap{display:none}
.main-wrap{max-width:1500px;padding:27px 36px 35px;margin:0 auto}.intro{height:233px;background:linear-gradient(114deg,#112d57 0%,#1b4781 60%,#2d66a2 100%);border-radius:20px;position:relative;display:flex;overflow:hidden;color:white;margin-bottom:29px}.intro-content{position:relative;z-index:2;padding:27px 39px;max-width:850px}.eyebrow{text-transform:uppercase;display:flex;align-items:center;gap:8px;color:#b7d8f8;font-size:10px;font-weight:800;letter-spacing:1.35px}.eyebrow-dot{width:7px;height:7px;background:#79e4d1;border-radius:100%;box-shadow:0 0 0 4px #80efda18}.eyebrow-separator{color:#668bae;margin:0 4px}.intro h1{font-size:34px;letter-spacing:-1.2px;line-height:1.2;margin:18px 0 10px;font-weight:800}.intro h1 span{color:#7cdbc8}.intro p{max-width:590px;color:#cbdcf2;font-size:13px;line-height:1.65;margin:0}.intro-metrics{display:flex;flex-wrap:wrap;gap:21px;margin-top:20px;color:#d4e3f7;font-size:11px}.intro-metrics span{display:flex;gap:7px;align-items:center}.intro-metrics .ico{width:15px;height:15px;color:#90e1cf}.intro-metrics b{color:white}.intro-decor{position:absolute;right:8%;top:-30px;width:270px;height:270px;display:grid;place-items:center}.intro-decor>.ico{width:95px;height:95px;stroke:#a7d7fa;stroke-width:1.05;position:relative;z-index:2;transform:rotate(-9deg);opacity:.85}.decor-circle{border:1px solid #6ab4eb55;border-radius:50%;position:absolute}.decor-big{width:275px;height:275px;background:#87caf00c}.decor-small{width:190px;height:190px;background:#a4d4ed10}.decor-tag{font-size:11px;font-weight:700;position:absolute;right:-10px;bottom:48px;border:1px solid #a9d9ff6b;border-radius:99px;padding:7px 12px;background:#245b95;color:#dbf0ff;transform:rotate(-7deg)}
.main-grid{display:grid;grid-template-columns:256px minmax(0,1fr);gap:25px;align-items:start}.sidebar{background:white;border:1px solid var(--line);border-radius:16px;padding:19px 17px 14px;box-shadow:var(--shadow);position:sticky;top:106px;max-height:calc(100vh - 124px);overflow:auto;scrollbar-width:thin}.sidebar-block{padding-bottom:19px}.sidebar-block+.sidebar-block{padding-top:21px;border-top:1px solid var(--line)}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;margin:2px 6px 15px}.sidebar-heading h2{font-size:13px;font-weight:800;margin:0;color:#29364b}.sidebar-heading .ico{width:17px;height:17px;color:#a1abc0}.category-list{display:flex;flex-direction:column;gap:3px}.category-btn{border:0;background:transparent;width:100%;min-height:39px;display:flex;gap:9px;align-items:center;justify-content:space-between;padding:9px 11px;border-radius:10px;text-align:left;color:#53617c;font-size:12px;line-height:1.3;transition:.14s}.category-btn:hover{background:#f4f7fd;color:var(--ink)}.category-btn.active{color:#205de2;background:#ecf2ff;font-weight:750}.category-btn .category-info{display:flex;gap:9px;align-items:center;min-width:0}.category-btn .category-info span{overflow-wrap:anywhere}.category-btn .cat-ico{width:16px;height:16px;stroke-width:1.9}.category-num{font-size:10px;font-weight:800;background:#f0f2f7;border-radius:7px;padding:3px 6px;color:#8390a5;min-width:27px;text-align:center}.category-btn.active .category-num{background:#dbe7ff;color:#2561e6}.category-btn.depth-1{padding-left:20px}.category-btn.depth-2{padding-left:32px}.text-link{background:transparent;border:0;padding:0;color:var(--accent);font-size:11px;font-weight:700}.text-link:hover{text-decoration:underline}.filter-group{margin:0 6px;padding:14px 0;border-bottom:1px solid #eef1f6}.filter-group:first-child{padding-top:2px}.filter-group:last-child{border-bottom:0}.filter-label{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:11px;color:#3b475f;margin-bottom:11px}.filter-hint{font-size:10px;color:#96a2b5;font-weight:500}.range-row{display:flex;align-items:center;gap:7px}.range-row input,.filter-text{border:1px solid #e0e6ef;border-radius:9px;width:100%;height:36px;padding:0 10px;font-size:12px;color:var(--ink);min-width:0;background:#fff}.range-row input:focus,.filter-text:focus{border-color:#89adfa}.range-row>span{color:#a7afbf}.checkline{display:flex;align-items:center;gap:10px;color:#53617a;font-size:12px;margin:9px 0;cursor:pointer}.checkline input{accent-color:var(--accent);width:15px;height:15px}.filter-empty{font-size:11px;color:var(--muted);line-height:1.6}.owner-filter-button{width:100%;border:1px dashed #ccd9f2;color:#5474a9;background:#f8faff;display:flex;justify-content:center;align-items:center;gap:8px;padding:11px 8px;font-size:11px;font-weight:750;border-radius:10px;margin-top:15px}.owner-filter-button:hover{background:#edf3ff}.owner-filter-button .ico{height:16px;width:16px}.sidebar-bottom{font-size:10px;color:#a6b0be;padding:12px 6px 0;line-height:1.6}.mobile-drawer-title{display:none}
.content{min-width:0;padding:2px 0}.crumbs{display:flex;align-items:center;gap:6px;font-size:11px;color:#9aa5b6;margin:2px 0 14px;flex-wrap:wrap}.crumbs button{padding:0;border:0;background:none;color:#8290a4;font-size:11px}.crumbs button:hover{color:var(--accent)}.crumbs .current{color:#2d3c58;font-weight:700}.crumbs .ico{width:11px;height:11px}.catalog-heading-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.catalog-heading-row h2{font-size:25px;font-weight:800;line-height:1.28;letter-spacing:-.7px;margin:0 0 3px}.result-note{font-size:12px;color:#8d99ad;margin:0}.view-switch{display:flex;align-items:center;border:1px solid var(--line);background:white;padding:4px;border-radius:11px;gap:2px}.view-switch button{border:0;background:transparent;border-radius:7px;width:35px;height:33px;display:grid;place-items:center;color:#8996aa}.view-switch button.active{background:#eaf1ff;color:#2461e9}.view-switch .ico{width:17px;height:17px}.toolbar{height:57px;display:flex;align-items:center;justify-content:space-between;border-radius:13px;background:white;border:1px solid var(--line);padding:0 17px;margin-bottom:18px;gap:12px}.toolbar-left{display:flex;align-items:center;gap:15px}.available-only{display:inline-flex;align-items:center;gap:9px;color:#5b6880;font-size:12px;cursor:pointer;user-select:none}.available-only input{position:absolute;opacity:0;width:1px;height:1px}.toggle-track{width:30px;height:17px;border-radius:15px;background:#d6dfe9;position:relative;transition:.2s}.toggle-track:after{content:"";position:absolute;width:11px;height:11px;background:white;border-radius:50%;left:3px;top:3px;box-shadow:0 1px 3px #0002;transition:.2s}.available-only input:checked+.toggle-track{background:#22a68f}.available-only input:checked+.toggle-track:after{left:16px}.available-only input:focus-visible+.toggle-track{outline:3px solid #a1bcff;outline-offset:3px}.sort-wrapper{display:flex;align-items:center;gap:7px;color:#929dad;font-size:11px;white-space:nowrap}.sort-wrapper select{border:0;background:transparent;color:#3d4b64;font-weight:700;font-size:11px;cursor:pointer;max-width:230px}.filter-mobile-btn{display:none}.chips{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-7px 0 16px}.chip{border:1px solid #c9d9fa;background:#edf3ff;color:#295dc5;border-radius:99px;padding:5px 10px;display:flex;gap:6px;align-items:center;font-size:11px;font-weight:700}.chip .ico{width:12px;height:12px}.chip-reset{border:0;background:transparent;color:#8b98aa;font-size:11px;padding:6px}
.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;min-width:0;transition:box-shadow .16s,transform .16s}.product-card:hover{box-shadow:0 15px 28px rgba(28,52,86,.08);transform:translateY(-2px)}.product-photo{width:100%;height:174px;display:flex;align-items:center;justify-content:center;background:#fff;border:0;position:relative;cursor:pointer;padding:17px 16px 3px}.product-photo img{max-width:100%;max-height:145px;object-fit:contain;display:block}.product-photo .image-missing{width:100%;max-width:150px;height:120px}.image-missing{background:#f4f6fa;border-radius:13px;color:#bec7d6;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;font-size:10px}.image-missing .ico{width:26px;height:26px;stroke-width:1.4}.photo-tag{position:absolute;top:13px;left:13px;font-size:10px;font-weight:700;line-height:1;background:#e6f7ef;color:#168765;padding:7px 9px;border-radius:7px}.photo-tag.out{color:#8996a8;background:#f1f3f6}.product-body{padding:9px 16px 0;flex:1;display:flex;flex-direction:column}.product-code{font-size:10px;color:#9ba6b7;margin-bottom:6px}.product-name{font-weight:750;font-size:13px;line-height:1.43;min-height:57px;margin:0 0 10px;cursor:pointer;color:#263249;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-name:hover{color:#2461e9}.product-stock{font-size:11px;color:#8b98a8;margin-bottom:9px}.product-stock strong{font-weight:700;color:#17966f}.product-stock.missing strong{color:#9ba4b4}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:6px;border-top:1px solid #f0f2f7;padding:12px 0 14px;margin-top:auto}.product-price{font-weight:850;font-size:20px;color:#1b2942;letter-spacing:-.65px;white-space:nowrap}.product-price small{font-size:11px;color:#8995a6;font-weight:600;letter-spacing:0}.buy-button{border:0;background:var(--accent);color:white;border-radius:9px;padding:9px 11px;min-height:36px;font-size:11px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}.buy-button:hover{background:var(--accent-hover)}.buy-button:disabled{background:#f2f4f7;color:#a4adbd;opacity:1}.buy-button .ico{width:14px;height:14px}.inline-stepper{height:35px;display:flex;align-items:center;background:#edf3ff;border:1px solid #d8e5ff;border-radius:9px;color:#2358c6;font-weight:800;gap:2px}.inline-stepper button{width:28px;height:31px;display:grid;place-items:center;border:0;background:transparent;color:#2562de}.inline-stepper button:disabled{opacity:.35}.inline-stepper .ico{width:13px;height:13px}.inline-stepper span{font-size:12px;min-width:16px;text-align:center}.load-area{text-align:center;padding:23px 0 5px}.load-more{border:1px solid #d9e3f4;background:white;color:#2b61c5;font-weight:750;font-size:12px;padding:11px 22px;border-radius:10px;display:inline-flex;gap:7px;align-items:center}.load-more .ico{width:15px;height:15px}.load-more:hover{background:#edf3ff}.catalog-tail{display:flex;align-items:flex-start;gap:8px;color:#9da8b8;font-size:11px;margin-top:16px;padding:12px 3px}.catalog-tail .ico{width:15px;height:15px}.footer{display:flex;justify-content:space-between;gap:12px;color:#a1abbb;font-size:11px;padding:35px 0 10px}.empty-state{background:white;border:1px solid var(--line);padding:67px 20px;text-align:center;border-radius:15px;color:#8a95a8}.empty-state>.ico{height:42px;width:42px;color:#ccd4e2}.empty-state h3{color:#33415a;font-size:19px;margin:12px 0 6px}.empty-state p{max-width:370px;margin:0 auto 18px;font-size:12px}.empty-state button{border:0;background:#eaf1ff;color:#245cdb;padding:10px 16px;border-radius:9px;font-weight:750}
.table-shell{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.desktop-table{width:100%;border-collapse:collapse;text-align:left}.desktop-table th{background:#f7f9fc;padding:13px 12px;font-size:10px;font-weight:750;color:#818da2;white-space:nowrap}.desktop-table th:first-child{padding-left:20px}.desktop-table td{border-top:1px solid #edf0f5;padding:10px 12px;font-size:12px;color:#68768b;vertical-align:middle}.desktop-table td:first-child{padding-left:17px}.desktop-table tr:hover td{background:#fbfcff}.table-title{display:flex;align-items:center;gap:12px;min-width:0}.table-thumb{width:54px;height:54px;min-width:54px;border:1px solid #f1f3f7;border-radius:8px;background:white;display:grid;place-items:center;overflow:hidden;cursor:pointer}.table-thumb img{max-height:49px;max-width:49px;object-fit:contain}.table-thumb .image-missing{height:100%;width:100%;font-size:0;background:#f5f7fa}.table-thumb .image-missing .ico{width:21px;height:21px}.table-item-title{display:block;font-weight:750;color:#26364f;font-size:11px;line-height:1.35;cursor:pointer}.table-item-title:hover{color:var(--accent)}.table-item-code{font-size:10px;color:#a1acbc;margin-top:4px}.desktop-table .row-price{font-weight:800;font-size:13px;color:#25344d;white-space:nowrap}.desktop-table .row-avail{color:#129474;font-weight:750}.desktop-table .row-avail.zero{color:#a4afbd;font-weight:600}.table-add{background:#eaf1ff;color:#2460db;display:flex;align-items:center;justify-content:center;border:0;height:33px;min-width:33px;border-radius:8px}.table-add:disabled{background:#f4f5f8;color:#b2bac7;opacity:1}.table-add .ico{height:16px;width:16px}.table-cell-actions{text-align:center}.desktop-table .inline-stepper{height:32px;width:max-content}.desktop-table .inline-stepper button{height:29px}.desktop-table .line-total{font-weight:700;color:#25344d;white-space:nowrap}.mobile-table-list{display:none}
.page-backdrop{position:fixed;inset:0;z-index:40;background:rgba(12,24,43,.47);backdrop-filter:blur(2px)}.cart-drawer{position:fixed;z-index:50;right:0;top:0;bottom:0;background:white;width:min(100%,475px);display:flex;flex-direction:column;transform:translateX(102%);visibility:hidden;transition:transform .25s ease,visibility .25s;box-shadow:-15px 0 40px #0a1f3b21}.cart-drawer.open{transform:translateX(0);visibility:visible}.cart-heading{padding:27px 27px 21px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.cart-overline,.modal-overline{font-size:10px;color:#8b99ad;text-transform:uppercase;font-weight:800;letter-spacing:1px;margin-bottom:3px}.cart-heading h2{margin:0;font-size:24px;letter-spacing:-.55px}.cart-heading h2 span{color:#8e9cb3;font-size:16px}.cart-items{padding:12px 24px;overflow:auto;flex:1}.cart-item{display:flex;align-items:flex-start;gap:13px;padding:16px 0;border-bottom:1px solid #edf0f5}.cart-img{height:65px;min-width:65px;width:65px;border:1px solid #edf0f5;border-radius:10px;display:grid;place-items:center}.cart-img img{max-height:57px;max-width:57px;object-fit:contain}.cart-img .image-missing{width:100%;height:100%;font-size:0}.cart-img .image-missing .ico{width:20px;height:20px}.cart-details{min-width:0;flex:1}.cart-details strong{display:block;font-size:12px;line-height:1.4;color:#293750}.cart-details small{display:block;color:#97a1b2;font-size:10px;margin-top:4px}.cart-item-bottom{margin-top:9px;display:flex;align-items:center;justify-content:space-between;gap:8px}.cart-item-bottom b{font-size:14px;color:#1f2d46;white-space:nowrap}.cart-item-bottom .inline-stepper{height:32px}.cart-item-bottom .inline-stepper button{height:28px}.cart-remove{background:transparent;border:0;color:#a5aebb;margin-top:2px;padding:4px}.cart-remove:hover{color:#ba4e4e}.cart-remove .ico{height:16px;width:16px}.cart-empty{height:100%;min-height:250px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#91a0b1;padding:20px}.cart-empty .ico{width:55px;height:55px;color:#bdc9dc}.cart-empty strong{font-size:18px;color:#293750;margin:14px 0 5px}.cart-empty p{font-size:12px;max-width:260px}.cart-footer{border-top:1px solid var(--line);padding:22px 27px 27px}.cart-total-row{display:flex;justify-content:space-between;align-items:center;color:#66748b;font-size:14px}.cart-total-row strong{font-size:25px;color:#1c2940;letter-spacing:-.6px}.cart-footer p{font-size:11px;color:#9eabb9;margin:8px 0 17px}.btn-primary{border:0;color:white;background:#2461e9;font-size:12px;font-weight:800;padding:12px 18px;min-height:45px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary .ico{width:17px;height:17px}.btn-wide{width:100%}.clear-cart{display:block;margin:14px auto 0;background:none;border:0;color:#a0aab8;font-size:11px}.clear-cart:hover{color:#bd4f46}.cart-footer:has(.btn-primary:disabled) .clear-cart{display:none}
.modal-wrap{z-index:65;position:fixed;inset:0;background:#0d1b34a8;display:flex;align-items:center;justify-content:center;padding:18px;overflow:auto}.modal-card{background:white;width:min(100%,545px);border-radius:18px;padding:27px;box-shadow:0 18px 70px #06172b52;position:relative;max-height:calc(100vh - 30px);overflow:auto}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.modal-header h2{font-size:21px;line-height:1.25;letter-spacing:-.5px;margin:4px 0}.modal-subtitle{color:#7e8ba0;line-height:1.65;font-size:12px;margin:10px 0 20px}.settings-list{display:grid;gap:9px}.settings-check{display:flex;align-items:center;gap:11px;border:1px solid #e7ebf2;border-radius:10px;padding:12px 13px;cursor:pointer}.settings-check:hover{background:#f9fbff}.settings-check input{accent-color:#2461e9;width:17px;height:17px}.settings-check strong{font-weight:750;font-size:12px;display:block;color:#293750}.settings-check small{display:block;color:#91a0b4;font-size:10px;line-height:1.5}.settings-section-name{margin-top:8px;text-transform:uppercase;letter-spacing:1px;color:#a2afc0;font-size:10px;font-weight:800}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.btn-ghost{border:1px solid #e1e7f1;background:white;color:#62718b;padding:11px 17px;border-radius:10px;font-weight:750;font-size:12px}.detail-modal{width:min(100%,780px);padding:30px}.modal-floating-close{position:absolute;right:15px;top:15px;z-index:2}.detail-grid{display:grid;grid-template-columns:40% 1fr;gap:30px}.detail-picture{min-height:270px;background:#f9fafc;border:1px solid #eff2f8;border-radius:14px;display:grid;place-items:center;padding:18px}.detail-picture img{max-width:100%;max-height:270px;object-fit:contain}.detail-picture .image-missing{width:100%;height:240px}.detail-code{font-size:11px;color:#94a1b2;letter-spacing:.3px;margin-bottom:10px}.detail-info h2{font-size:22px;letter-spacing:-.5px;margin:0 0 12px;line-height:1.35}.detail-category{font-size:12px;color:#6c83a7;margin-bottom:18px}.detail-specs{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid #edf0f6;border-bottom:1px solid #edf0f6;padding:16px 0}.detail-specs span{display:block;font-size:11px;color:#91a0b3}.detail-specs b{display:block;font-size:13px;color:#34435b;margin-top:3px}.detail-price{font-size:27px;font-weight:850;color:#1c2a43;margin:18px 0 13px}.detail-buy{min-width:180px}.field-label{display:block;color:#50617d;font-size:12px;font-weight:700;margin:14px 0}.field-label input,.field-label textarea{display:block;margin-top:7px;border:1px solid #e0e7f1;border-radius:10px;width:100%;padding:12px;color:#27364e;background:#fff;resize:vertical}.field-label input:focus,.field-label textarea:focus{border-color:#90adfa}.checkout-recap{display:flex;justify-content:space-between;align-items:center;background:#f5f8fc;border-radius:11px;padding:13px;margin:15px 0;color:#5d6e86;font-size:12px}.checkout-recap strong{font-size:17px;color:#20314e}.toast{position:fixed;z-index:100;bottom:29px;left:50%;transform:translate(-50%,25px);background:#193250;color:white;padding:12px 18px;border-radius:12px;box-shadow:0 15px 35px #111c2a33;font-size:12px;opacity:0;visibility:hidden;transition:.2s;max-width:calc(100vw - 24px);text-align:center}.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}.mobile-bottom{display:none}
@media(max-width:1280px){.topbar-inner{padding:0 25px;gap:24px}.main-wrap{padding-left:25px;padding-right:25px}.main-grid{grid-template-columns:235px minmax(0,1fr);gap:19px}.products-grid{gap:12px}.product-photo{height:156px}.product-photo img{max-height:130px}.product-body{padding-left:12px;padding-right:12px}.product-price{font-size:18px}.intro-decor{right:5%}.settings-link span{display:none}}
@media(max-width:1010px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{padding:16px 12px}.main-grid{grid-template-columns:215px minmax(0,1fr);gap:17px}.sort-wrapper>span{display:none}.intro-decor{right:1%;opacity:.6}.intro-content{max-width:80%}.desktop-table{min-width:690px}.table-shell{overflow-x:auto;scrollbar-width:thin}.topbar-inner{gap:15px}.brand{min-width:200px}}
@media(max-width:740px){body{padding-bottom:76px}.topbar{height:66px}.topbar-inner{padding:0 15px;gap:9px}.mobile-menu{display:grid;place-items:center}.topbar .global-search{display:none}.brand{min-width:0;gap:8px}.brand-icon{width:36px;height:36px;border-radius:10px}.brand-icon .ico{width:21px;height:21px}.brand-label{font-size:19px}.brand-label small{font-size:9px}.top-actions{gap:5px}.settings-link{min-width:35px;height:36px;display:grid;place-items:center}.top-actions .cart-trigger{display:none}.main-wrap{padding:17px 13px 20px}.intro{height:auto;min-height:179px;border-radius:15px;margin-bottom:12px}.intro-content{padding:20px 21px 19px;max-width:100%}.eyebrow{font-size:9px;letter-spacing:.7px}.intro h1{font-size:27px;letter-spacing:-.8px;margin:13px 0 8px;max-width:330px}.intro p{font-size:11px;line-height:1.55;max-width:300px}.intro-metrics{margin-top:12px;gap:8px;font-size:10px}.intro-metrics span:last-child{display:none}.intro-decor{right:-85px;top:7px;opacity:.22;transform:scale(.75)}.mobile-search-wrap{display:block;margin-bottom:17px}.mobile-search{height:44px;max-width:none;background:white}.main-grid{display:block}.sidebar{position:fixed;z-index:60;left:0;top:0;bottom:0;max-height:none;width:min(86vw,340px);border-radius:0;overflow:auto;padding:20px 15px 90px;box-shadow:15px 0 40px #1420381e;transform:translateX(-105%);visibility:hidden;transition:transform .23s,visibility .23s}.sidebar.open{transform:translateX(0);visibility:visible}.mobile-drawer-title{display:flex;justify-content:space-between;align-items:center;padding:0 5px 14px;font-size:17px}.sidebar-block{padding-bottom:18px}.sidebar-block+.sidebar-block{padding-top:18px}.category-btn{font-size:13px;min-height:44px}.sidebar-bottom{margin-bottom:20px}.crumbs{font-size:10px;margin:0 0 10px}.catalog-heading-row{margin:0 0 12px}.catalog-heading-row h2{font-size:22px}.result-note{font-size:11px}.view-switch{padding:3px}.view-switch button{width:34px;height:32px}.toolbar{height:auto;min-height:52px;padding:9px 11px;gap:8px;margin-bottom:13px}.toolbar-left{gap:10px}.filter-mobile-btn{display:inline-flex;align-items:center;gap:6px;background:#edf3ff;color:#2460de;font-size:11px;font-weight:700;border:0;padding:9px 11px;border-radius:8px}.filter-mobile-btn .ico{width:16px;height:16px}.active-filters-count{font-size:10px;background:#d5e4ff;border-radius:8px;padding:1px 5px}.available-only{font-size:11px;gap:6px}.sort-wrapper select{max-width:144px;font-size:10px;text-overflow:ellipsis}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{border-radius:12px}.product-photo{height:144px;padding:12px 8px 0}.product-photo img{max-height:120px}.photo-tag{top:9px;left:9px;padding:5px 6px;font-size:9px}.product-body{padding:9px 10px 0}.product-code{font-size:9px;margin-bottom:4px}.product-name{font-size:11px;line-height:1.4;min-height:47px;margin-bottom:8px}.product-stock{font-size:10px;margin-bottom:7px}.product-bottom{padding:9px 0 12px;align-items:stretch;flex-direction:column;gap:8px}.product-price{font-size:18px}.buy-button{height:35px;width:100%;font-size:11px}.inline-stepper{width:100%;justify-content:space-between}.inline-stepper button{width:38px}.footer{padding:22px 0 10px;font-size:9px;display:block;line-height:1.9}.catalog-tail{font-size:10px;margin:8px 0}.desktop-table{display:none}.mobile-table-list{display:flex;flex-direction:column;background:white;border-radius:12px;overflow:hidden}.mobile-table-row{display:flex;gap:12px;padding:13px 11px;border-bottom:1px solid #edf0f5}.mobile-table-row:last-child{border-bottom:0}.mobile-table-row .table-thumb{width:64px;height:65px;min-width:64px}.mobile-table-row .table-thumb img{max-width:59px;max-height:59px}.mobile-row-data{flex:1;min-width:0}.mobile-row-data .table-item-title{font-size:12px}.mobile-row-data .table-item-code{font-size:10px}.mobile-row-bottom{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:9px}.mobile-row-bottom b{font-size:17px;white-space:nowrap;color:#29334a}.mobile-row-bottom small{display:block;font-size:10px;color:#8997a9}.mobile-row-bottom .inline-stepper{width:104px}.mobile-row-bottom .table-add{min-width:67px;height:35px;gap:4px}.mobile-row-bottom .table-add span{font-size:11px;font-weight:750}.mobile-bottom{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:35;min-height:68px;padding-bottom:env(safe-area-inset-bottom);background:white;border-top:1px solid #e8ecf3;box-shadow:0 -7px 24px #12203b10;align-items:stretch}.mobile-bottom button{border:0;background:transparent;color:#7b8799;min-width:25%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:700}.mobile-bottom .ico{width:19px;height:19px}.mobile-bottom .mobile-cart-action{flex:1.45;background:#2461e9;color:white;align-self:center;border-radius:11px;min-height:46px;margin:5px 9px;flex-direction:row;gap:8px;font-size:11px}.cart-drawer{width:min(100%,475px)}.cart-heading{padding:20px}.cart-items{padding:10px 17px}.cart-footer{padding:18px 19px 22px}.modal-card{padding:19px;max-height:calc(100vh - 20px)}.detail-modal{padding:19px}.detail-grid{display:block}.detail-picture{min-height:180px;max-height:220px;margin-bottom:16px}.detail-picture img{max-height:190px}.detail-info h2{font-size:19px}.detail-category{margin-bottom:10px}.detail-specs{padding:12px 0}.detail-price{margin:12px 0;font-size:24px}.toast{bottom:83px}}
@media(max-width:390px){.intro h1{font-size:24px}.eyebrow{font-size:8px}.intro-content{padding:19px 17px}.brand-label{font-size:17px}.brand-label small{display:none}.settings-link{min-width:28px}.topbar-inner{padding:0 10px}.products-grid{gap:8px}.product-card .product-price{font-size:16px}.product-name{font-size:10.5px;min-height:45px}.product-photo{height:126px}.product-photo img{max-height:110px}.toolbar{flex-wrap:wrap}.toolbar-left{flex:1;justify-content:space-between}.sort-wrapper{width:100%;border-top:1px solid #f0f2f7;padding-top:8px}.sort-wrapper>span{display:inline}.sort-wrapper select{max-width:none;flex:1}.product-bottom{gap:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Прайс-лист: функциональный интерфейс без рекламной шапки и настроек демо */
.topbar{height:66px}
.topbar-inner{gap:16px}
.brand{min-width:0}
.brand-icon{width:37px;height:37px;border-radius:10px}
.brand-icon .ico{width:21px;height:21px}
.brand-label{font-size:19px;letter-spacing:-.45px}
.brand-label small{font-size:10px;letter-spacing:0;font-weight:500;padding-top:3px}
.main-wrap{padding-top:20px}
.sidebar{top:83px;max-height:calc(100vh - 105px)}
.content{padding-top:0}
.crumbs{margin-top:0}
.catalog-heading-row{margin-bottom:17px}
.catalog-controls{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.catalog-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0;height:46px;border:1px solid #dce4ef;background:#fff;border-radius:11px;padding:0 15px;color:#8291a7;transition:.16s}
.catalog-search:focus-within{border-color:#739bfa;box-shadow:0 0 0 3px #e5edff}
.catalog-search .ico{width:19px;height:19px}
.catalog-search input{border:0;min-width:0;flex:1;background:transparent;color:var(--ink);font-size:13px;height:100%;outline:0}
.catalog-search input::placeholder{color:#9aa6b7}
.catalog-controls .sort-wrapper{background:#fff;border:1px solid #dce4ef;border-radius:11px;min-height:46px;padding:0 12px;gap:10px;flex-shrink:0}
.catalog-controls .sort-wrapper select{max-width:225px;font-size:12px}
.chips{margin:0 0 13px}
.main-grid{gap:22px}
.category-section{border-bottom:1px solid #e6eaf1}
@media(max-width:1010px){.catalog-controls .sort-wrapper>span{display:none}.catalog-controls .sort-wrapper select{max-width:175px}}
@media(max-width:740px){
  .topbar{height:56px;position:relative}
  .topbar-inner{padding:0 15px}
  .brand-icon{width:34px;height:34px}
  .brand-label{font-size:18px}
  .brand-label small{font-size:9px}
  .main-wrap{padding:14px 12px 18px}
  .sidebar[data-panel="categories"] .filter-section,.sidebar[data-panel="filters"] .category-section{display:none}
  .sidebar .category-section{border-bottom:0}
  .sidebar-block{padding-bottom:0}
  .sidebar-block+.sidebar-block{border-top:0;padding-top:0}
  .catalog-heading-row{margin-bottom:12px}
  .catalog-heading-row h2{font-size:21px}
  .catalog-controls{flex-direction:column;align-items:stretch;gap:9px;margin-bottom:12px}
  .catalog-search{height:45px;flex:none;width:100%;padding:0 12px}
  .catalog-search input{font-size:13px}
  .catalog-controls .sort-wrapper{min-height:38px;width:100%;justify-content:space-between;padding:0 11px}
  .catalog-controls .sort-wrapper>span{display:inline}
  .catalog-controls .sort-wrapper select{max-width:70%;text-align:right}
  .chips{margin-bottom:12px}
  .sidebar-heading h2{font-size:14px}
  .sidebar .category-btn{min-height:48px}
}
@media(max-width:390px){.catalog-controls .sort-wrapper{min-height:38px}.catalog-search input{font-size:12px}}


/* Unified sticky geometry shared by the search, table header, and desktop sidebar. */
:root{--search-sticky-height:62px;--desktop-sticky-top:20px}
.main-wrap{padding-top:20px}
.sidebar{top:var(--desktop-sticky-top);max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);scrollbar-width:none;-ms-overflow-style:none}
.sidebar::-webkit-scrollbar{display:none;width:0;height:0}
.catalog-heading-row{align-items:center;gap:10px;margin-bottom:12px}
.catalog-title{min-width:0;flex:1}
.heading-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}
.sort-compact{display:flex;align-items:center;gap:7px;position:relative;max-width:205px;min-height:42px;border:1px solid var(--line);background:#fff;border-radius:11px;padding:0 10px;color:#75839a;cursor:pointer}
.sort-compact>.ico{width:16px;height:16px}
.sort-label{font-size:11px;color:#738097;font-weight:700}
.sort-compact select{border:0;background:transparent;color:#263a5a;min-width:0;max-width:135px;font-size:11px;font-weight:700;cursor:pointer;text-overflow:ellipsis}
.sort-compact:focus-within{outline:2px solid #abc4ff;outline-offset:1px}
.sort-compact{width:132px;max-width:132px;justify-content:center}
.sort-compact select{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;cursor:pointer}

.compact-cart{min-height:42px;height:42px;padding:0 13px;border-radius:10px}
.search-sticky{position:sticky;top:var(--desktop-sticky-top);z-index:25;background:var(--bg);padding:7px 0 10px;margin-top:-3px;margin-bottom:5px}
.search-sticky::after{content:"";position:absolute;bottom:0;left:0;right:0;border-bottom:1px solid #e5eaf2;opacity:0;transition:opacity .1s}
.search-sticky.is-stuck::after{opacity:1}
.search-sticky .catalog-search{width:100%;height:45px}
/* Шапка таблицы движется вместе со страницей и остается под поиском. */
@media(min-width:741px){
 .table-shell{overflow:visible}
 .desktop-table thead th{position:sticky;top:calc(var(--desktop-sticky-top) + var(--search-sticky-height));z-index:15;box-shadow:0 1px 0 #e6eaf1}
 /* Solid overlay prevents table rows from peeking above the pinned search. */
 /* Search mask is enabled only after the search reaches its sticky position.
    Before that point it must not cover the subtitle under "Все товары". */
 .search-sticky.is-pinned::before{content:"";position:absolute;top:calc(-1 * var(--desktop-sticky-top));left:0;right:0;height:var(--desktop-sticky-top);background:var(--bg);pointer-events:none}
}
@media(min-width:741px) and (max-width:1010px){
 .desktop-table{min-width:0;width:100%;table-layout:fixed}
 .desktop-table th:nth-child(1){width:40%}.desktop-table th:nth-child(2){width:8%}.desktop-table th:nth-child(3){width:10%}.desktop-table th:nth-child(4){width:14%}.desktop-table th:nth-child(5){width:12%}.desktop-table th:nth-child(6){width:16%}
 .desktop-table td,.desktop-table th{padding:9px 5px;font-size:10px;overflow-wrap:anywhere}
 .desktop-table th:first-child,.desktop-table td:first-child{padding-left:10px}
 .desktop-table .table-title{gap:7px}.desktop-table .table-thumb{min-width:41px;width:41px;height:41px}.desktop-table .table-thumb img{max-height:37px;max-width:37px}
 .desktop-table .row-price{white-space:nowrap;font-size:11px}.desktop-table .table-item-title{font-size:10px}.desktop-table .line-total{font-size:10px}
}
@media(max-width:1010px){.sort-compact{width:39px;max-width:39px}.sort-label{display:none}}
@media(max-width:740px){
  body{padding-bottom:76px}
  .sidebar{top:14px;max-height:calc(100vh - 28px)}
  .main-wrap{padding:14px 12px 20px}
  .catalog-heading-row{margin-bottom:7px;gap:8px}
  .catalog-title h2{font-size:20px;line-height:1.14}
  .result-note{font-size:10px}
  .heading-actions{gap:6px}
  .sort-compact{width:36px;min-width:36px;min-height:37px;height:37px;padding:0;justify-content:center;border-radius:9px}
  .sort-compact>.ico{width:18px;height:18px;color:#647896}
  .sort-compact select{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;cursor:pointer}
  .view-switch{padding:2px;border-radius:9px}
  .view-switch button{width:31px;height:31px}
  .compact-cart{display:none}
  .search-sticky{top:0;z-index:34;padding:7px 0 8px;margin-top:0;margin-bottom:5px}
  .search-sticky .catalog-search{height:44px}
  .search-sticky .catalog-search input{font-size:13px}
  .mobile-bottom{min-height:65px}
  .mobile-bottom button{min-width:0;flex:1;min-height:60px;gap:4px;font-size:11px;background:transparent;color:#63758e}
  .mobile-bottom button .ico{width:22px;height:22px}
  .mobile-bottom .mobile-cart-action{min-height:60px;margin:0;flex:1;flex-direction:column;align-self:stretch;border-radius:0;background:transparent;color:#63758e;gap:4px;font-size:11px}
  .mobile-cart-icon{position:relative;display:grid;place-items:center;width:29px;height:24px}
  .mobile-count-bubble{position:absolute;top:-7px;right:-12px;min-width:17px;height:17px;padding:0 4px;background:var(--accent);color:#fff;border:2px solid #fff;border-radius:99px;font-size:9px;font-weight:800;display:grid;place-items:center}
}
@media(max-width:390px){.catalog-title h2{font-size:19px}.heading-actions{gap:5px}.search-sticky .catalog-search input{font-size:12px}}
/* v5: Desktop sticky layers touch, with an opaque protective strip. The strip hides rows when the table body scrolls under the search/header join. Mobile remains unchanged. */
@media (min-width:741px){.search-sticky{box-shadow:0 7px 0 var(--bg)}}



/* Adjustments on top of the approved v10 layout */
.custom-table{min-width:max(760px,100%);}
.custom-table thead th{position:sticky;top:0;z-index:3;border-bottom:1px solid #e4e9f3;text-align:left;background:#f7f9fc;}
.custom-table td{vertical-align:middle;min-width:100px;color:#34415b;}
.custom-table tr.group-first:not(:first-child) td{border-top-color:#cad5e8;}
.custom-table td.merged-cell{background:#fcfdff;border-right:1px solid #edf1f7;}
.custom-table th:last-child,.custom-table td:last-child{min-width:115px;white-space:nowrap;}
.custom-table th:nth-last-child(2),.custom-table td:nth-last-child(2){min-width:85px;text-align:center;}
.table-shell{overflow-x:auto;max-width:100%;}
.table-name{background:none;border:0;text-align:left;color:#223a61;font-weight:750;cursor:pointer;max-width:320px;line-height:1.5;}
.table-name:hover,.card-details:hover{text-decoration:underline;color:#235ddb;}
.strong-price{font-weight:800;color:#1b2d4e;white-space:nowrap;}
.td-thumb{width:58px;height:58px;display:grid;place-items:center;cursor:pointer;}
.td-thumb img{max-width:100%;max-height:54px;object-fit:contain;}
.td-thumb .image-missing{height:50px;width:54px;font-size:0;}
.td-thumb .image-missing span{display:none;}
.order-cell,.sum-cell{text-align:center;white-space:nowrap;}
.add-button{width:35px;height:35px;display:inline-flex;justify-content:center;align-items:center;border:0;background:#eaf1ff;color:#255de0;border-radius:9px;}
.add-button:hover{background:#dae8ff;}
.qty-box{display:inline-flex;gap:2px;align-items:center;border-radius:9px;background:#f0f4fc;border:1px solid #e1e8f5;white-space:nowrap;}
.qty-box button{border:none;background:transparent;color:#225ada;padding:5px 8px;font-weight:800;font-size:16px;}
.qty-box button:hover{background:#e3ebfb;}
.qty-box span{min-width:20px;text-align:center;font-weight:750;}
.cell-muted{color:#9aa6b9;font-size:11px;}
.custom-table tbody tr:hover td{background:#f8fbff;}
.ui-card .card-gallery{height:185px;margin:8px 9px 0;}
.gallery{position:relative;min-width:0;}
.gallery-photo{height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-radius:12px;}
.gallery-photo img{width:100%;height:100%;object-fit:contain;}
.gallery-photo .image-missing{height:85%;width:100%;}
.gallery-nav{position:absolute;bottom:8px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;border-radius:100px;background:#ffffffeb;box-shadow:0 3px 15px #102a4b1c;padding:4px;white-space:nowrap;z-index:2;}
.gallery-nav button{font-size:19px;width:29px;height:27px;border:0;border-radius:50%;background:#eef3ff;color:#265bca;}
.gallery-nav span{font-size:10px;font-weight:750;}
.ui-card .product-body{display:flex;flex-direction:column;flex:1;}
.ui-card .product-name{background:none;border:0;text-align:left;display:block;width:100%;min-height:44px;color:#243758;font-weight:750;line-height:1.45;padding:0;}
.ui-card .product-price{margin-top:12px;font-weight:800;color:#122647;}
.ui-card .product-code{color:#95a0b0;font-size:10px;}
.variant-summary{color:#7d8ea8;font-size:11px;margin:4px 0 10px;}
.card-quick{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:7px;padding-top:9px;}
.card-details{border:none;background:none;color:#3063d4;font-size:11px;font-weight:700;}
.detail-modal{width:min(95vw,880px);}
.detail-grid{grid-template-columns:minmax(260px,.8fr) 1.2fr;gap:26px;}
.detail-grid>.gallery{height:330px;position:sticky;top:0;}
.detail-price{font-size:22px;font-weight:800;color:#1b356b;margin:10px 0;}
.variant-title{font-size:13px;margin:20px 0 12px;}
.variant-list{display:grid;gap:8px;max-height:330px;overflow-y:auto;}
.variant{border:1px solid #e3e9f3;border-radius:11px;padding:11px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.variant-meta{display:grid;gap:5px;font-size:11px;line-height:1.5;}
.variant-meta strong{font-weight:600;color:#2c3f60;}
.variant-meta span{font-weight:800;color:#1b56c8;}
.empty-panel{text-align:center;padding:65px 20px;background:#fff;border:1px solid #ebeff6;border-radius:16px;}
.empty-panel h3{font-size:20px;margin:0 0 7px;}
.empty-panel p{color:#8190a7;}
.reset-button{border:0;background:#eaf1ff;color:#245ad6;border-radius:9px;padding:10px 15px;}
.order-message{color:#a43e27;font-size:12px;line-height:1.5;margin:8px 0;}
.cart-empty{padding:45px 25px;text-align:center;color:#8390a5;}
.cart-empty .ico{width:40px;height:40px;}
.card-quick .qty-box{gap:0;}
@media(max-width:1010px){.detail-grid{grid-template-columns:1fr;}.detail-grid>.gallery{height:230px;position:relative;}}
@media(max-width:740px){.ui-card .card-gallery{height:155px}.detail-modal{max-height:90vh}.detail-grid>.gallery{height:220px}.variant{display:grid}.variant .qty-box{justify-self:start}.custom-table{min-width:760px;}}
@media(max-width:390px){.ui-card .card-gallery{height:120px}.card-details{font-size:10px}}

.floating-table-header{position:fixed;z-index:23;overflow:hidden;background:#f7f9fc;border:1px solid #e6eaf1;border-radius:0 0 8px 8px;box-shadow:0 5px 12px #13284714;pointer-events:none;}
.floating-table-inner{will-change:transform;}
.floating-table-header table{table-layout:fixed;}
.floating-table-header th{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;}
.floating-table-header[hidden]{display:none;}

/* v1.1: readable table headings and a proper variant selection grid */
.desktop-table.custom-table{min-width:max(960px,100%);table-layout:auto;}
.desktop-table.custom-table thead th{font-size:12px;line-height:1.45;font-weight:750;color:#53647f;padding:13px 11px;white-space:normal;overflow-wrap:normal;min-width:84px;}
.desktop-table.custom-table tbody td{font-size:13px;line-height:1.5;padding:12px 11px;overflow-wrap:break-word;}
.detail-modal{width:min(96vw,1040px);}
.detail-variants{margin-top:22px;border-top:1px solid #e8edf5;padding-top:14px;}
.detail-variants .variant-title{font-size:16px;margin:0 0 14px;color:#21324b;}
.detail-grid{grid-template-columns:minmax(240px,.74fr) minmax(0,1.26fr);gap:26px;}
.detail-info{min-width:0;}
.detail-specs{margin-top:16px;}
.detail-specs b{overflow-wrap:anywhere;}
.variant-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #dfe7f2;border-radius:12px;}
.variant-table{border-collapse:collapse;width:100%;min-width:max-content;text-align:left;}
.variant-table th{background:#f5f8fd;color:#60728c;font-size:12px;font-weight:750;padding:12px 14px;border-bottom:1px solid #e0e8f4;white-space:nowrap;}
.variant-table td{font-size:13px;color:#253651;padding:11px 14px;border-bottom:1px solid #e9eef6;vertical-align:middle;white-space:normal;min-width:95px;max-width:340px;}
.variant-table tr:last-child td{border-bottom:0;}
.variant-table tbody tr:hover td{background:#f8fbff;}
.variant-table td:last-child,.variant-table th:last-child{text-align:center;min-width:108px;}
.variant-table td.variant-order-cell{white-space:nowrap;}
.variant-table .add-button{margin:auto;}
.cart-characteristic{display:block;color:#62738f;line-height:1.45;margin-top:3px;}
@media (min-width:741px) and (max-width:1010px){
  .desktop-table.custom-table{min-width:max(960px,100%);table-layout:auto;}
  .desktop-table.custom-table th,.desktop-table.custom-table td{padding:11px 9px;font-size:12px;overflow-wrap:normal;}
}
@media (max-width:1010px){.detail-grid{grid-template-columns:1fr;}.detail-grid>.gallery{height:230px;position:relative;}}
@media (max-width:740px){
  .detail-modal{width:100%;}
  .detail-variants{margin-top:16px;}
  .detail-variants .variant-title{font-size:15px;}
  .variant-table-wrap{border:0;overflow:visible;}
  .variant-table,.variant-table tbody,.variant-table tr,.variant-table td{display:block;min-width:0;width:100%;max-width:none;}
  .variant-table thead{display:none;}
  .variant-table tr{border:1px solid #dfe7f2;border-radius:11px;padding:10px 12px;margin-bottom:9px;}
  .variant-table td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border:0;padding:4px 0;font-size:13px;}
  .variant-table td::before{content:attr(data-label);font-size:12px;color:#718199;font-weight:650;flex:0 0 auto;}
  .variant-table td:last-child{min-width:0;justify-content:flex-end;}
  .variant-table td:last-child::before{content:none;}
}

/* v1.2.2: legible catalogue typography, including the cloned sticky header. */
@media (min-width: 741px) {
  .desktop-table.custom-table thead th,
  .floating-table-header .desktop-table.custom-table thead th {
    font-size: 13px;
    line-height: 1.45;
    padding: 13px 12px;
    font-weight: 750;
  }
  .desktop-table.custom-table tbody td {
    font-size: 14px;
    line-height: 1.5;
    padding: 12px 12px;
  }
  .desktop-table.custom-table .table-name {
    font-size: 14px;
    line-height: 1.5;
  }
  .desktop-table.custom-table .strong-price {
    font-size: 14px;
  }
}
/* Keep the same sizes on laptop screens; overflow-scroll instead of shrinking text. */
@media (min-width: 741px) and (max-width: 1010px) {
  .desktop-table.custom-table thead th,
  .floating-table-header .desktop-table.custom-table thead th {
    font-size: 13px;
  }
  .desktop-table.custom-table tbody td {
    font-size: 13px;
  }
}
/* Product details and characteristic options. */
.detail-specs span { font-size: 12px; }
.detail-specs b { font-size: 14px; line-height: 1.5; }
.detail-variants .variant-title { font-size: 17px; }
.variant-table th { font-size: 13px; }
.variant-table td { font-size: 14px; line-height: 1.5; }
.ui-card .product-name { font-size: 14px; }
.ui-card .product-code { font-size: 12px; }
.category-btn { font-size: 13px; }
.filter-label { font-size: 12px; }
@media (max-width: 740px) {
  .detail-specs b { font-size: 14px; }
  .variant-table td { font-size: 14px; }
  .detail-variants .variant-title { font-size: 16px; }
}

/* v1.2.3: filters are always selections from column values, not free-text filters. */
.chips[hidden]{display:none!important;}
.chips{margin:3px 0 15px;}
.chip{font-size:12px;min-height:33px;max-width:100%;white-space:normal;text-align:left;line-height:1.4;overflow-wrap:anywhere;cursor:pointer;}
.chip .ico{width:13px;height:13px;flex-shrink:0;}
.chip-reset{font-size:12px;font-weight:650;}
.filter-label{display:flex;align-items:center;gap:7px;}
.filter-total{font-weight:650;color:#8a98aa;font-size:11px;}
.filter-option-search{display:block;width:100%;min-height:36px;border:1px solid #dce4ef;background:#fff;border-radius:8px;padding:6px 9px;color:#26364e;font-size:12px;margin:8px 0;}
.filter-option-search:focus{border-color:#789ef5;box-shadow:0 0 0 2px #e5edff;outline:none;}
.filter-options{max-height:234px;overflow-y:auto;scrollbar-width:thin;padding:1px 1px 3px;}
.filter-choice{display:flex;align-items:flex-start;gap:9px;margin:0;padding:5px 1px;min-height:31px;line-height:1.35;overflow-wrap:anywhere;cursor:pointer;}
.filter-choice input{flex:0 0 auto;margin-top:2px;}
.filter-choice span{min-width:0;overflow-wrap:anywhere;}
.filter-hint{padding:7px 1px;font-size:11px;color:#8392a7;line-height:1.4;}

/* v1.3: compact cards, synchronized cart, favorites and photo viewer. */
.products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ui-card .card-gallery{height:152px;margin:7px 8px 0}
.ui-card .gallery-photo{width:100%;height:100%;padding:0;border:0;cursor:pointer;background:white}
.ui-card .gallery-photo img{object-fit:contain;max-height:147px}
.ui-card .product-body{padding:9px 12px 11px}
.ui-card .product-name{min-height:43px;font-size:13px;line-height:1.36}
.ui-card .product-code{font-size:11px}
.ui-card .product-price{font-size:18px;margin-top:8px}
.ui-card .card-quick{min-height:40px;padding-top:6px}
.card-media{position:relative;min-height:165px}
.card-media .gallery.card-gallery{height:152px}
.ui-card .no-photo{width:calc(100% - 16px);display:grid;place-items:center;background:#f5f7fb;border:0;border-radius:12px}
.favorite-button{display:inline-grid;place-items:center;width:35px;height:35px;flex-shrink:0;background:#fff;border:1px solid #dae4f3;border-radius:9px;color:#8291a7;cursor:pointer}
.favorite-button .ico{width:19px;height:19px}
.favorite-button:hover,.favorite-button.is-favorite{color:#dc4359;background:#fff1f4;border-color:#ffd9e0}
.favorite-button.is-favorite .ico{fill:#e84b66;stroke:#e84b66}
.card-favorite{position:absolute;right:15px;top:12px;z-index:2;background:#ffffffec;box-shadow:0 2px 10px #102b4a15}
.favorites-trigger{height:43px;background:white;border:1px solid #e0e8f2;border-radius:11px;padding:0 11px;display:flex;align-items:center;gap:7px;color:#53657f;font-size:12px;font-weight:700}
.favorites-trigger .ico{width:19px;height:19px}
.favorites-trigger.active,.mobile-bottom #mobileFavorites.active{color:#d43d58}
.favorites-trigger .count-bubble{background:#ffeaf0;color:#b92847}
.fav-table-cell{text-align:center;min-width:48px}
.fav-table-cell .favorite-button{height:32px;width:32px}
.fav-table-cell .favorite-button .ico{width:17px;height:17px}
.buy-single{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:9px 13px;border-radius:10px;background:#2461e9;border:0;color:white;font-weight:750;white-space:nowrap;font-size:12px}
.buy-single:hover{background:#1c4fc4}
.buy-single .ico{width:17px;height:17px}
.qty-box.qty-compact{gap:0}
.qty-compact .qty-cart-add{display:grid;place-items:center;background:#e7efff}
.qty-compact .ico{width:17px;height:17px}
.qty-detail button,.qty-cart button{min-width:37px;min-height:35px}
.add-button .ico{width:19px;height:19px}
.variant-favorite-cell,.variant-order-cell{text-align:center}
.variant-favorite-cell{min-width:46px!important}
.variant-favorite-cell .favorite-button{margin:auto}
.detail-title-row{display:flex;justify-content:space-between;align-items:start;gap:12px}
.detail-title-row h2{min-width:0;flex:1}
.detail-title-row .favorite-button{margin-right:25px}
.detail-no-shared-photo{grid-template-columns:minmax(0,1fr)}
.detail-no-shared-photo .detail-info{max-width:none}
.variant-thumb{width:70px;height:64px;background:white;border:0;padding:0;display:inline-flex;justify-content:center;align-items:center;cursor:zoom-in}
.variant-thumb img{max-width:66px;max-height:58px;object-fit:contain}
.variant-thumb .image-missing{min-width:52px;height:50px;font-size:0}
.variant-thumb .image-missing span{display:none}
.variant-focused{outline:2px solid #a8c0ff;outline-offset:-2px;background:#f4f8ff}
.variant-table th:last-child,.variant-table td:last-child{min-width:105px}
.thumb-action{cursor:pointer}
.td-thumb{background:none;border:0;padding:0;cursor:pointer}
.gallery-photo.thumb-action{position:relative;cursor:zoom-in}
.card-gallery .gallery-photo.thumb-action{cursor:pointer}
.zoom-hint{position:absolute;right:11px;top:11px;width:32px;height:32px;display:grid;place-items:center;background:#ffffffdf;border:1px solid #e1e9f5;border-radius:9px;color:#425a84}
.zoom-hint .ico{width:18px;height:18px}
.lightbox-modal{z-index:95;background:#071221ef;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px}
.lightbox-modal[hidden]{display:none}
.lightbox-close{position:absolute;top:22px;right:28px;border:0;background:#ffffff18;color:#fff;font-size:35px;width:44px;height:44px;border-radius:9px;z-index:2}
.lightbox-body{width:min(100%,1200px);max-height:83vh;display:grid;grid-template-columns:52px minmax(0,1fr) 52px;align-items:center;gap:12px}
.lightbox-body img{max-width:100%;max-height:80vh;width:100%;object-fit:contain}
.lightbox-arrow{border:0;border-radius:50%;width:42px;height:42px;background:#ffffff20;color:white;font-size:35px}
.lightbox-counter{color:white;text-align:center;font-size:13px}
.buyer-persistence{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 15px;font-size:12px;color:#60728c}
.buyer-persistence label{display:flex;align-items:center;gap:8px}
.buyer-persistence input{accent-color:#2461e9}
/* Four products at desktop widths; never shrink typography to force density. */
@media(max-width:1100px) and (min-width:741px){.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ui-card .card-gallery{height:130px}
  .ui-card .product-body{padding:9px 10px 11px}
  .ui-card .product-name{font-size:12px;min-height:48px}
  .ui-card .product-price{font-size:17px}
  .card-quick{flex-wrap:wrap}
  .card-quick .buy-single{font-size:11px}
  .mobile-bottom button{flex:1;min-width:0}
  .mobile-bottom #mobileFavorites.active{color:#d83c58}
  .mobile-bottom .mobile-cart-action{flex:1.3}
  .detail-no-shared-photo{display:block}
  .variant-table td.variant-favorite-cell{justify-content:flex-end}
  .variant-table td.variant-favorite-cell::before{content:'В избранное'}
  .lightbox-body{grid-template-columns:32px minmax(0,1fr) 32px;gap:4px}
  .lightbox-arrow{width:30px;height:36px;font-size:27px}
  .lightbox-close{right:9px;top:10px}
}
@media(max-width:390px){.ui-card .card-gallery{height:115px}.products-grid{gap:8px}}
@media(max-width:740px){.heading-actions .favorites-trigger{display:none}}

/* v1.3.1 — consent and discreet legal footer */
.legal-footer{padding:14px 5px 22px;text-align:right;font-size:12px;color:#6d7e99}
.legal-footer a{color:#5976a9;text-decoration:underline;text-decoration-color:#cad6e9;text-underline-offset:3px}
.legal-footer a:hover{color:#245ad6}
.personal-consent{margin:8px 0 14px;padding:11px 12px;background:#f7f9fd;border:1px solid #e0e7f2;border-radius:11px}
.personal-consent-label{display:flex;gap:10px;align-items:flex-start;color:#354a69;font-size:12px;line-height:1.55;cursor:pointer}
.personal-consent-label input{margin:3px 0 0;flex:none;width:17px;height:17px;accent-color:#2461e9;cursor:pointer}
.personal-consent-label a{color:#245ed6;text-decoration:underline;text-underline-offset:2px}
.personal-consent-label a:focus-visible,.legal-footer a:focus-visible{outline:2px solid #2461e9;outline-offset:3px}
@media(max-width:740px){.legal-footer{text-align:center;padding:12px 12px 22px}.personal-consent{margin:8px 0 13px}}

/* v1.4 — clean catalog table and aligned detail actions */
.variant-feature{display:flex;align-items:center;gap:10px}
.variant-feature .favorite-button{width:30px;height:30px;flex:none}
.detail-modal .modal-floating-close{top:15px;right:15px;width:35px;height:35px;background:#fff;border:1px solid #dae4f3;border-radius:9px;display:grid;place-items:center;color:#8291a7}
.detail-modal .modal-floating-close:hover{background:#f1f5ff;color:#245ad6}
.detail-title-row .favorite-button.detail-favorite{position:absolute;top:15px;right:59px;margin:0;z-index:3}
.mobile-detail-favorite,.mobile-variant-panel,.mobile-variant-photo{display:none!important}
@media(max-width:740px){
  .view-switch{display:none!important}
  .detail-variants{display:none}
  .mobile-detail-favorite{display:inline-grid!important}
  .desktop-detail-favorite{display:none!important}
  .mobile-variant-panel{display:block!important;border-top:1px solid #e2e8f2;padding-top:15px;margin-top:18px}
  .mobile-variant-label{display:block;font-size:12px;font-weight:750;color:#657791;margin-bottom:7px}
  #mobileVariantSelect{display:block;width:100%;font:inherit;min-height:46px;padding:10px 34px 10px 12px;border-radius:11px;border:1px solid #cad7ed;background:#fff;color:#243856;white-space:normal}
  .mobile-variant-properties{margin:14px 0 0;border-top:1px solid #edf1f7;padding-top:9px}
  .mobile-variant-property{display:flex;align-items:start;justify-content:space-between;gap:12px;font-size:12px;margin:7px 0}
  .mobile-variant-property span{color:#718198}
  .mobile-variant-property b{font-weight:700;text-align:right;color:#263750}
  .mobile-variant-price{font-size:23px;font-weight:850;color:#1b3155;margin:17px 0 12px}
  .mobile-variant-cart .buy-single{min-height:44px;width:100%;font-size:13px}
  .mobile-variant-cart .qty-box{justify-content:center;min-height:45px}
  .mobile-variant-photo{display:flex!important;width:100%;height:210px;align-items:center;justify-content:center;position:relative;padding:12px;border:1px solid #e1e8f3;background:#fff;border-radius:13px;margin-bottom:12px}
  .mobile-variant-photo img{width:100%;height:100%;object-fit:contain}
  .detail-title-row h2{padding-right:76px}
  .detail-title-row .favorite-button.detail-favorite{top:15px;right:59px}
}

/* v1.5: one variant selector for every device; no characteristic table in detail popup. */
.detail-modal{width:min(100%,870px)}
.choice-panel{margin:17px 0 0;padding:16px 0 0;border-top:1px solid #e6ecf5}
.choice-label{display:block;font-size:13px;font-weight:750;color:#5b6d88;margin-bottom:8px}
#characteristicSelect{display:block;width:100%;max-width:100%;min-height:46px;border:1px solid #cbd8ed;border-radius:11px;background:#fff;color:#273a58;font:inherit;font-size:14px;padding:10px 36px 10px 13px;cursor:pointer}
#characteristicSelect:focus-visible{outline:2px solid #6795fd;outline-offset:2px}
.choice-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;padding:13px 0;margin-top:11px;border-bottom:1px solid #edf1f6}
.choice-property{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:13px}
.choice-property span{color:#8594aa;font-size:12px}
.choice-property b{font-size:14px;color:#293b57;overflow-wrap:anywhere}
.choice-price{margin:17px 0 12px;color:#1c3155;font-size:26px;font-weight:850}
.choice-cart .buy-single{min-height:42px}
.choice-cart .qty-box{min-height:42px;width:max-content}
.choice-photos{margin-top:14px}
.choice-photos>span{display:block;color:#718198;font-size:12px;margin-bottom:7px}
.choice-photo-list{display:flex;flex-wrap:wrap;gap:8px}
.choice-photo-list button{width:75px;height:65px;border:1px solid #e1e8f3;border-radius:9px;background:#fff;padding:6px;cursor:zoom-in;display:flex;align-items:center;justify-content:center}
.choice-photo-list img{max-width:100%;max-height:100%;object-fit:contain}
.detail-title-row h2{padding-right:76px}
/* Consistent checkbox rows: remembered buyer data and consent. */
.buyer-persistence.personal-consent{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px;padding:11px 12px}
.buyer-persistence.personal-consent .personal-consent-label{flex:1;min-width:0;align-items:center;margin:0}
.buyer-persistence.personal-consent .personal-consent-label input{width:17px;height:17px;margin:0;flex:none}
.buyer-persistence.personal-consent #clearBuyer{white-space:nowrap;flex:none;color:#245ed6;font-size:12px}
@media(max-width:740px){
  .detail-modal{width:100%}
  .choice-panel{margin-top:14px}
  .choice-properties{grid-template-columns:1fr;gap:9px}
  .choice-property{display:flex;flex-direction:row;justify-content:space-between;gap:12px;align-items:flex-start}
  .choice-property b{text-align:right;max-width:70%}
  .choice-price{font-size:23px}
  .choice-cart .buy-single{width:100%;min-height:44px}
  .choice-cart .qty-box{width:100%;justify-content:center}
  .buyer-persistence.personal-consent{align-items:center}
  .buyer-persistence.personal-consent .personal-consent-label{font-size:12px}
}

@media(min-width:741px){.detail-modal:has(.detail-no-shared-photo){width:min(100%,680px)}}

/* v1.7: two unobtrusive document links, both opening the common agreement. */
.legal-footer{display:flex;align-items:center;justify-content:flex-end;gap:8px 25px;flex-wrap:wrap}
@media(max-width:740px){.legal-footer{justify-content:center;gap:8px 18px}}

/* v1.9 — detail photo: refined border and lightbox stable even with hidden arrows. */
.detail-grid>.gallery{background:#f8fafc;border:1px solid #e8edf5;border-radius:14px;padding:7px;overflow:hidden;box-shadow:none}
.detail-grid>.gallery .gallery-photo{width:100%;height:100%;border:0;padding:5px;background:#f8fafc;border-radius:10px;outline:none}
.detail-grid>.gallery .gallery-photo img{object-fit:contain;max-width:100%;max-height:100%}
.detail-grid>.gallery .gallery-photo:focus-visible{outline:2px solid #97b6f4;outline-offset:-2px}
.lightbox-body{height:min(80dvh,820px);min-height:0;max-height:80vh;grid-template-columns:52px minmax(0,1fr) 52px;justify-items:center}
#lightboxPrev{grid-column:1;grid-row:1}
#lightboxImg{grid-column:2;grid-row:1;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:80vh;object-fit:contain;display:block;margin:auto}
#lightboxNext{grid-column:3;grid-row:1}
@media(max-width:740px){.lightbox-body{grid-template-columns:32px minmax(0,1fr) 32px;height:min(75dvh,700px)}}
.checkout-agreement-note{margin:10px 2px 0;color:#64748c;font-size:11px;line-height:1.6;text-align:left}
.checkout-agreement-note a{color:#245ed6;text-decoration:underline;text-underline-offset:2px}
.checkout-agreement-note a:focus-visible{outline:2px solid #90adfa;outline-offset:2px}

/* v2.0 — center chevrons geometrically with the counter, close icon and lightbox arrows. */
.gallery-nav{align-items:center}
.gallery-nav button,.lightbox-close,.lightbox-arrow{display:flex;align-items:center;justify-content:center;padding:0;line-height:1}
.gallery-nav button .ico{width:14px;height:14px;flex:none;stroke-width:2.3}
.gallery-nav button[data-action="gallery-prev"] .ico{transform:rotate(180deg)}
.gallery-nav span{line-height:1;display:flex;align-items:center;min-height:27px}
.lightbox-arrow .ico{width:21px;height:21px;flex:none;stroke-width:2.6}
#lightboxPrev .ico{transform:rotate(180deg)}
.lightbox-close .ico{width:24px;height:24px;flex:none;stroke-width:2.4}
@media(max-width:740px){.lightbox-arrow .ico{width:17px;height:17px}.lightbox-close .ico{width:24px;height:24px}}

/* v2.1 — explicit confirmation after a successful order submission. */
.order-success-modal{width:min(100%,420px);text-align:center;padding:32px 28px 28px}
.order-success-icon{height:66px;width:66px;display:grid;place-items:center;margin:0 auto 18px;border-radius:50%;background:#e8f7f0;color:#139263}
.order-success-modal h2{font-size:23px;line-height:1.3;color:#1a2c47;letter-spacing:-.4px;margin:0 0 10px}
.order-success-modal p{font-size:13px;line-height:1.7;color:#65758e;margin:0 0 23px}
.order-success-modal .btn-primary{min-height:46px}


/* v2.2 — Favorites navigation/clearing and universal catalog terminology. */
.favorites-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto}
.favorites-actions[hidden],.favorites-clear[hidden]{display:none!important}
.favorites-back{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#245bd2;font-size:12px;font-weight:750;white-space:nowrap;min-height:38px;padding:0 4px;border-radius:8px}
.favorites-back:hover{color:#173f99;background:#eef3ff}
.favorites-back .ico{width:16px;height:16px}
.favorites-clear{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:1px solid #dde5f1;background:#fff;border-radius:10px;color:#66758f}
.favorites-clear:hover{color:#c43850;background:#fff3f5;border-color:#f7d6dd}
.favorites-clear .ico{width:17px;height:17px}
.catalog-heading-row.favorites-mode .catalog-title{flex:1;min-width:0}
.favorites-clear-modal{width:min(100%,420px);padding:27px}
.favorites-clear-modal h2{font-size:20px;margin:0 0 10px;color:#1b2a43}
.favorites-clear-modal p{font-size:13px;line-height:1.65;margin:0;color:#62738e}
.favorites-clear-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}
.favorites-clear-confirm{border:0;border-radius:10px;background:#cf3a55;color:#fff;padding:11px 17px;font-weight:750;font-size:12px}
.favorites-clear-confirm:hover{background:#b82f48}
@media(max-width:740px){
  .catalog-heading-row.favorites-mode .heading-actions{display:none}
  .catalog-heading-row.favorites-mode .catalog-title{flex:0 1 auto}
  .favorites-actions{gap:8px}
  .favorites-back{font-size:12px;min-height:34px}
  .favorites-clear{height:34px;width:34px}
}
@media(max-width:350px){
  .catalog-heading-row.favorites-mode .catalog-title h2{font-size:18px}
  .favorites-actions{gap:5px}
  .favorites-back{font-size:11px}
}

/* v2.3 — five-item bottom navigation; "Catalog" returns from Favorites. */
@media(max-width:740px){
  .mobile-bottom{padding-left:4px;padding-right:4px}
  .mobile-bottom button,.mobile-bottom .mobile-cart-action{flex:1 1 20%;min-width:0;max-width:20%;padding:7px 0 5px;margin:0;min-height:60px;gap:4px;font-size:10px;white-space:nowrap;}
  .mobile-bottom button .ico{width:21px;height:21px}
  .mobile-bottom button.nav-active:not(#mobileFavorites){color:#245ee5;background:#f1f5ff}
  .mobile-bottom #mobileFavorites.nav-active{background:#fff1f4;color:#d83c58}
  .catalog-heading-row.favorites-mode #favoritesBack{display:none!important}
  #emptyFavoritesBack{display:none!important}
}
@media(max-width:350px){
  .mobile-bottom button,.mobile-bottom .mobile-cart-action{font-size:9px;letter-spacing:-.15px}
  .mobile-bottom button .ico{width:20px;height:20px}
}

/* Neutral back-to-top button: only for the desktop catalog UI.
   Do not show in the mobile/touch interface with its bottom navigation. */
.back-to-top{display:none;position:fixed;right:22px;bottom:22px;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;border:1px solid #d8dee8;background:rgba(247,249,252,.94);color:#657184;box-shadow:0 3px 12px rgba(25,36,58,.10);z-index:35;opacity:.88;transition:background .15s,color .15s,opacity .15s,box-shadow .15s;cursor:pointer}
.back-to-top .ico{width:20px;height:20px;stroke-width:2}
.back-to-top:hover{background:#edf0f5;color:#35445c;opacity:1;box-shadow:0 4px 14px rgba(25,36,58,.13)}
.back-to-top:focus-visible{outline:3px solid #9cbaff;outline-offset:3px;opacity:1}
@media (min-width:741px) and (hover:hover) and (pointer:fine){.back-to-top:not([hidden]){display:flex}}
@media (prefers-reduced-motion:reduce){.back-to-top{transition:none}}
