/* CENTER SHOP desktop stability 2026-10-26. Existing layout retained; no product/category data changes. */
@media(min-width:992px){
/* Existing centershop-modern-20261003-v2.js header/sidebar rules, available before first paint. */
body .top-navigation-bar>.container{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body .top-navigation-contacts{width:auto;flex:1 1 auto}
body .top-navigation-contacts>strong{display:none}
body .top-navigation-contacts a{font-weight:600;color:#30353d;font-size:13px}
body .top-navigation-contacts a:before{color:#b22222}
body .top-navigation-tools{flex:0 0 auto;margin-left:0}
body #header .navigation-buttons{display:flex;align-items:center;gap:17px}
body #header .search .query-input{border-radius:5px 0 0 5px;border-color:#d4d8df;background:#fafbfc}
body #header .search .btn{background:#b22222!important;border-color:#b22222!important;color:#fff;border-radius:0 5px 5px 0}
body #header .search .btn:hover{background:#951a1a!important}
body .sidebar .box-categories{background:#fafbfc;border:1px solid #edf0f3}
body .sidebar #categories>.categories>.topic>a{font-size:14px;line-height:1.35}
@media(min-width:992px){body .top-navigation-bar{padding:5px 0}
body #header .header-top{min-height:115px}
body .top-navigation-bar>.container{flex-wrap:nowrap}}
@media(min-width:992px) and (max-width:1199px){body .top-navigation-contacts .project-phone span{font-size:12px}
body .top-navigation-contacts .project-email{display:none}}
@media(max-width:767px){body #header .search{display:block!important;position:static!important;width:100%;padding:7px 0 9px;clear:both}
body #header .search fieldset{display:flex;align-items:stretch}
body #header .search .query-input{height:44px;font-size:14px;flex:1;min-width:0}
body #header .search .btn{height:44px;position:static;flex:0 0 76px}}
/* Existing centershop-refinements-20261003-v5.js header/sidebar rules, available before first paint. */
@media(min-width:992px){body .top-navigation-bar>.container>.top-navigation-contacts{flex:1 1 auto!important;min-width:0}
body .top-navigation-bar>.container>#csx-info{flex:0 0 auto!important;margin-left:auto!important}
body .top-navigation-bar>.container>.top-navigation-tools{flex:0 0 auto!important;width:auto!important;margin-left:8px!important}}
body #categories>.categories>ul{display:none!important}
body #categories>.categories.csx-side-open>ul{display:block!important}
body #categories>.categories>.topic{display:flex;align-items:center;justify-content:space-between;gap:3px}
body #categories>.categories>.topic>a{flex:1;min-width:0;padding-right:0}
body #categories>.categories>.topic>a>.cat-trigger{display:none!important}
body #header .site-name img{height:auto!important}
/* Existing centershop-store-polish-20261003-v13.js header/sidebar rules, available before first paint. */
body #header{background:#fff}
body #header .header-top{display:grid!important;grid-template-columns:205px minmax(260px,1fr) auto;gap:32px;align-items:center;min-height:112px;padding:20px 0;position:relative}
body #header .site-name-wrapper{width:auto!important;min-width:0;position:static!important;height:auto!important}
body #header .site-name{position:static!important;width:auto!important;height:auto!important;margin:0!important}
body #header .site-name a{display:block}
body #header .site-name img{display:block;width:205px!important;max-width:100%!important;height:auto!important;max-height:none!important;padding:0!important;margin:0!important;object-fit:contain}
body #header .search{width:auto!important;min-width:0;position:relative!important;display:block!important;margin:0!important;padding:0!important;clear:none}
body #header #formSearchForm{display:block!important;width:100%;margin:0!important;position:relative}
body #header .search fieldset{display:flex!important;align-items:stretch;padding:0!important;position:relative;border:0;box-shadow:0 3px 12px #24272c08;border-radius:7px}
body #header .search .query-input{flex:1 1 auto;width:0!important;min-width:0;height:54px!important;font-size:16px!important;padding:0 16px!important;background:#f8f9fa!important;border:1px solid #c9cfd7!important;border-right:0!important;border-radius:7px 0 0 7px!important;outline-offset:2px}
body #header .search .query-input:focus{background:white!important;border-color:#b22222!important;box-shadow:inset 0 0 0 1px #b22222}
body #header .search .btn{position:static!important;flex:0 0 108px;height:54px!important;font-size:15px!important;font-weight:700;letter-spacing:0;text-transform:none!important;padding:0 15px!important;border-radius:0 7px 7px 0!important}
body #header .navigation-buttons{position:static!important;display:flex!important;width:auto!important;height:auto!important;gap:18px!important;justify-content:flex-end;align-items:center}
body #header .csx-account{position:static!important;inset:auto!important;padding:8px 0!important;min-height:44px}
body #header .cart-count{position:relative!important;inset:auto!important;min-height:44px;padding-top:8px;padding-bottom:8px}
body .sidebar .box-categories{padding:19px 17px;background:#fafbfc;border:1px solid #e4e7eb;border-radius:6px}
body .sidebar .box-categories .pageElement__heading{font-size:16px;font-weight:750;text-transform:none;margin:0 0 16px;color:#24272c}
body #categories>.categories{padding:11px 0;margin:0;border-bottom:1px solid #e7eaee}
body #categories>.categories:last-child{border-bottom:0}
body #categories>.categories>.topic>a{font-size:14px!important;font-weight:700;line-height:1.4;padding:5px 0;color:#303844}
body #categories>.categories>ul{margin:8px 0 1px;padding-left:10px}
body #categories>.categories>ul>li>a{font-size:13px;line-height:1.4;padding-top:7px;padding-bottom:7px;color:#606a77}
body #categories a:hover{color:#951a1a;background:#f9f0f0;border-radius:3px}
body #categories .csx-sidebar-more{list-style:none;padding:5px 0 0}
body #categories .csx-sidebar-more button{display:block;min-height:38px;border:0;background:none;padding:7px 8px;font:700 13px/1.4 var(--template-font),Arial,sans-serif;color:#951a1a;cursor:pointer;text-align:left}
body #categories .csx-sidebar-more button:focus-visible{outline:2px solid #b22222;outline-offset:2px}
@media(min-width:768px) and (max-width:991px){body .sidebar-left{display:none!important}}
@media(min-width:1200px){body #header .header-top{grid-template-columns:205px minmax(280px,1fr) auto;gap:32px}
body #header .site-name img{width:205px!important}}
@media(min-width:992px) and (max-width:1199px){body #header .header-top{grid-template-columns:205px minmax(240px,1fr) auto;gap:24px}
body #header .site-name img{width:205px!important}
body #header .csx-account span{display:none}}
@media(max-width:991px){body .top-navigation-bar{display:none!important}
body #header{position:relative!important;inset:auto!important;height:auto!important;margin:0!important;padding:0!important;z-index:40}
body.csx-mobile-menu-locked #header{z-index:10000}
body #header .navigation-wrapper{padding-top:0;padding-bottom:0}
body #header .header-top{grid-template-columns:minmax(0,1fr) auto!important;gap:13px 16px;min-height:0;padding:17px 0 14px;position:relative!important}
body #header .site-name-wrapper{grid-column:1;grid-row:1}
body #header .site-name img{width:125px!important;max-width:100%!important}
body #header .search{grid-column:1/-1;grid-row:2}
body #header .search .query-input{height:48px!important;font-size:16px!important;padding:0 12px!important}
body #header .search .btn{height:48px!important;flex-basis:84px;font-size:14px!important;padding:0 10px!important}
body #header .navigation-buttons{grid-column:2;grid-row:1;gap:12px!important}
body #header .csx-account{position:static!important;min-width:32px!important;width:32px;padding:5px 0!important}
body #header .csx-account span{display:none!important}
body #header .cart-count{position:relative!important;inset:auto!important;min-width:38px;width:auto;min-height:44px;padding:5px 0!important;margin:0!important}
body #header .cart-count:before{position:static!important;font-size:30px;line-height:34px}
body #header .cart-price{display:none!important}}
@media(max-width:359px){body #header .site-name img{width:125px!important}}
@media(min-width:992px){body .sidebar .box-categories .pageElement__heading{font-size:18px;text-transform:uppercase}
body #categories>.categories>.topic>a{font-size:16px!important;font-weight:400!important}
body #categories>.categories>ul>li>a{font-size:16px;font-weight:400}}

/* Match the existing compact sidebar before window.load runs. */
.sidebar #categories>.categories{padding:6px 0!important}
.sidebar #categories ul a{font:400 14px/1.4 var(--template-font),Arial,sans-serif!important}
.sidebar .box-categories .pageElement__heading{font-size:16px!important}
body:not(.csx-ready) .sidebar #categories>.categories.expandable>ul{display:none!important}
body:not(.csx-ready) .sidebar #categories>:is(#cat-2081,#cat-998)>ul{display:block!important}
body:not(.csx-fold) .sidebar #categories>.categories>.topic{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:32px}
body:not(.csx-fold) .sidebar #categories>.categories>.topic>a{flex:1;min-width:0;padding-right:0;font-size:14px!important;font-weight:400!important}
body:not(.csx-fold) .sidebar #categories>.categories>.topic:has(+ul):not(:has(.csx-side-toggle)):after{content:"";display:block;flex:0 0 34px;width:34px;height:32px}
body:not(.csx-ready) #header #navigation{height:52px;min-height:52px}
.box-topProducts .top-products-image{min-height:40px}
.box-topProducts .top-products-image img{width:40px;height:40px;aspect-ratio:1/1;object-fit:contain}

}
