/* Borodatiu.site: mobile 5watt layout adapted to the Maxs accent, native desktop intact. */
.maxs-mobile-catalog{display:none}
.sc-megamenu a.maxs-is-current{font-weight:700;color:#b40000!important}
.sc-megamenu li.maxs-has-current>a{box-shadow:inset 3px 0 #b40000}
@media(max-width:1199.98px){
 .sc-megamenu.maxs-menu-enhanced.active{display:flex;flex-direction:column;max-height:calc(100dvh - 60px)}
 .sc-megamenu.maxs-menu-enhanced>nav{display:none!important}
 .maxs-menu-enhanced>.sidebar-header{flex:0 0 auto;position:relative;min-height:56px;background:#fff;border-bottom:1px solid #dde3e3;padding:6px 12px 6px 20px!important}
 .maxs-menu-enhanced>.sidebar-header>.sc-megamenu-close,
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sc-btn-close{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;border:0!important;border-radius:0;background:transparent!important;color:#303030!important;cursor:pointer}
 .maxs-menu-enhanced>.sidebar-header>.sc-megamenu-close>.sc-btn-icon-close,
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sc-btn-close>.sc-btn-icon-close{position:relative;display:block;width:18px;height:18px;min-width:18px;margin:0;background:none!important;-webkit-mask:none!important;mask:none!important}
 .maxs-menu-enhanced>.sidebar-header>.sc-megamenu-close>.sc-btn-icon-close::before,
 .maxs-menu-enhanced>.sidebar-header>.sc-megamenu-close>.sc-btn-icon-close::after,
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sc-btn-close>.sc-btn-icon-close::before,
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sc-btn-close>.sc-btn-icon-close::after{content:"";position:absolute;left:0;top:8.25px;width:18px;height:1.5px;border-radius:1px;background:#303030;transform:rotate(45deg)}
 .maxs-menu-enhanced>.sidebar-header>.sc-megamenu-close>.sc-btn-icon-close::after,
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sc-btn-close>.sc-btn-icon-close::after{transform:rotate(-45deg)}
 #sidebar:has(.sidebar-main-menu-item-catalog)>.sidebar-header{padding-right:64px!important}
 .maxs-menu-enhanced .maxs-mobile-catalog{display:block;flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;background:#fff;scrollbar-gutter:stable}
 .maxs-mobile-catalog [hidden]{display:none!important}
 .maxs-menu-roots,.maxs-menu-groups,.maxs-menu-children{list-style:none;padding:0;margin:0}
 .maxs-menu-root{margin:0;border-bottom:1px solid #edf0f2}
 .maxs-menu-root-toggle,.maxs-menu-root-link{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:12px 16px;border:0;background:#fff;color:#303030;font:inherit;font-size:14px;line-height:24px;text-align:left;text-decoration:none}
 .maxs-menu-root-toggle>span:not(.maxs-menu-chevron){flex:1;min-width:0}
 .maxs-menu-root-icon{flex:0 0 24px;width:24px;height:24px;object-fit:contain}
 .maxs-menu-chevron{flex:0 0 20px;margin-left:auto;color:#777;font-size:24px;line-height:24px;text-align:center;transition:transform .15s ease}
 .maxs-menu-root.has-current>.maxs-menu-root-toggle,.maxs-menu-root.has-current>.maxs-menu-root-link{background:#fff1f1;box-shadow:inset 3px 0 #b40000;color:#a00000}
 .maxs-menu-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:12px;min-height:69px;padding:12px 16px;background:#fff;border-bottom:1px solid #dde3e3;color:#303030}
 .maxs-menu-heading strong{min-width:0;font-size:15px;line-height:21px;font-weight:700;overflow-wrap:anywhere}
 .maxs-menu-back{display:flex;align-items:center;gap:6px;flex:0 0 auto;min-height:44px;padding:4px 10px;border:1px solid #dde3e3;border-radius:5px;background:#fff;color:#a00000;font:inherit;font-size:13px;cursor:pointer}
 .maxs-menu-back-icon{font-size:24px;line-height:1}
 .maxs-menu-all-products{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 20px;border-bottom:1px solid #dde3e3;background:#fff1f1;color:#a00000;font-size:14px;font-weight:600}
 .maxs-menu-groups{background:#f4f4f4}
 .maxs-menu-group-toggle{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:12px 20px;border:0;border-bottom:1px solid #d5d5d5;background:transparent;color:#303030;font:inherit;font-size:14px;line-height:20px;text-align:left;cursor:pointer}
 .maxs-menu-group-toggle>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
 .maxs-menu-group-toggle[aria-expanded=true]>.maxs-menu-chevron{transform:rotate(90deg)}
 .maxs-menu-group.has-current>.maxs-menu-group-toggle{background:#fff1f1;box-shadow:inset 3px 0 #b40000;font-weight:600}
 .maxs-menu-children{background:#fff}
 .maxs-menu-children .maxs-menu-group-toggle{padding-left:32px}
 .maxs-menu-children .maxs-menu-children .maxs-menu-group-toggle{padding-left:40px}
 .maxs-menu-leaf,.maxs-menu-all-group>a{display:block;min-height:44px;padding:12px 20px;border-bottom:1px solid #edf0f2;color:#303030;font-size:13px;line-height:20px;overflow-wrap:anywhere}
 .maxs-menu-children .maxs-menu-leaf,.maxs-menu-all-group>a{padding-left:32px}
 .maxs-menu-children .maxs-menu-children .maxs-menu-leaf{padding-left:40px}
 .maxs-menu-all-group>a{font-weight:600;color:#a00000}
 .maxs-mobile-catalog a.is-current{background:#fff1f1;color:#a00000;font-weight:700;box-shadow:inset 3px 0 #b40000}
 .maxs-mobile-catalog a:focus-visible,.maxs-mobile-catalog button:focus-visible{outline:2px solid #b40000;outline-offset:-2px}
 body.overflow-hidden:has(.sc-megamenu.maxs-menu-enhanced.active) #product-category .sc-filter-btn,
 body.overflow-hidden:has(.sc-megamenu.maxs-menu-enhanced.active) #product-category .ocf-btn-mobile-fixed{visibility:hidden!important;pointer-events:none}
}
@media(prefers-reduced-motion:reduce){.maxs-menu-chevron{transition:none}}

@media(max-width:1199.98px){
 .sidebar-main-menu-item-catalog{cursor:pointer}
 .sidebar-main-menu-item-catalog[aria-expanded=true]>.sidebar-main-menu-item-chevron{transform:rotate(90deg)}
 .sidebar-main-menu .maxs-menu-embedded{display:block;width:100%;overflow:visible;max-height:none;scrollbar-gutter:auto;background:#fff}
 .maxs-mobile-catalog[hidden]{display:none!important}
 .sidebar-main-menu.maxs-catalog-detail>:not(.maxs-menu-embedded){display:none!important}
 .maxs-menu-embedded .maxs-menu-root-toggle,.maxs-menu-embedded .maxs-menu-root-link{padding-left:24px}
 .maxs-menu-embedded .maxs-menu-heading{background:#fff}
 .sidebar-main-menu-item-catalog:focus-visible{outline:2px solid #b40000;outline-offset:-2px}
}
