body.mgcr-modern-header-enabled .site-header{display:none!important}
.mgcr-modern-header{position:relative;z-index:1030;width:100%;min-height:84px;border-bottom:1px solid color-mix(in srgb,var(--mgcr-header-accent) 34%,transparent);background:var(--mgcr-header-bg);color:#f8f8fa;box-sizing:border-box}
.mgcr-modern-header.is-sticky{position:sticky;top:0}
.admin-bar .mgcr-modern-header.is-sticky{top:32px}
.mgcr-modern-header *{box-sizing:border-box}
.mgcr-modern-header__inner{position:relative;display:flex;width:min(100%,var(--mgcr-header-max));min-height:84px;margin:0 auto;padding:10px 24px;align-items:center;gap:16px}
.mgcr-modern-header__brand{display:flex;flex:0 1 auto;min-width:0;max-width:290px;align-items:center;gap:11px;color:#fff!important;text-decoration:none!important}
.mgcr-modern-header__brand img{display:block;width:auto!important;max-width:190px;height:auto!important;max-height:60px;object-fit:contain}
.mgcr-modern-header__brand>span{overflow:hidden;color:#fff;font-size:clamp(18px,1.7vw,26px);font-weight:900;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}
.mgcr-modern-header__panel{display:flex;flex:1;min-width:0;align-items:center;gap:12px}
.mgcr-modern-header__categories{position:relative;flex:0 0 194px}
.mgcr-modern-header__category-toggle{display:flex;width:100%;min-height:58px;padding:8px 14px;align-items:center;gap:11px;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 38%,#25252b);border-radius:999px;background:#09090b;color:#fff;text-align:left;cursor:pointer}
.mgcr-modern-header svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mgcr-modern-header__category-toggle>svg{flex:0 0 21px}
.mgcr-modern-header__category-toggle>span{display:grid;min-width:0;gap:2px}
.mgcr-modern-header__category-toggle small{color:#8d8d97;font-size:10px;font-weight:800;letter-spacing:.07em;line-height:1;text-transform:uppercase}
.mgcr-modern-header__category-toggle strong{overflow:hidden;color:#f7f7fa;font-size:14px;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}
.mgcr-modern-header__category-toggle>b{margin-left:auto;color:#aaaab3;font-size:16px;font-weight:600;transition:transform .2s ease}
.mgcr-modern-header__category-toggle[aria-expanded=true]>b{transform:rotate(180deg)}
.mgcr-modern-header__category-menu{position:absolute;top:calc(100% + 10px);left:0;z-index:12;display:grid;width:min(720px,calc(100vw - 32px));max-height:min(70vh,680px);padding:22px;grid-template-columns:repeat(var(--mgcr-category-columns),minmax(0,1fr));gap:4px 18px;overflow:auto;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 42%,#222);border-radius:20px;background:#070708;box-shadow:0 24px 70px rgba(0,0,0,.62);scrollbar-width:thin}
.mgcr-modern-header__category-menu[hidden]{display:none!important}
.mgcr-modern-header__category-menu a{display:flex;min-height:44px;padding:9px 12px;align-items:center;border-radius:10px;color:#aaaab1!important;font-size:14px;font-weight:650;line-height:1.25;text-decoration:none!important;transition:background .16s ease,color .16s ease,transform .16s ease}
.mgcr-modern-header__category-menu a:hover{background:color-mix(in srgb,var(--mgcr-header-accent) 14%,transparent);color:#fff!important;transform:translateX(2px)}
.mgcr-modern-header__category-menu a.is-all{color:#fff!important;font-weight:850}
.mgcr-modern-header__search{position:relative;display:flex;flex:1;min-width:180px;max-width:620px;height:58px;margin:0!important;align-items:center;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 38%,#25252b);border-radius:999px;background:#09090b;overflow:visible}
.mgcr-modern-header__search input[type=search]{width:100%!important;height:56px!important;margin:0!important;padding:0 64px 0 19px!important;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font:inherit!important;font-size:15px!important;box-shadow:none!important;-webkit-appearance:none}
.mgcr-modern-header__search input[type=search]::placeholder{color:#777780;opacity:1}
.mgcr-modern-header__search>button{position:absolute;top:6px;right:6px;display:grid;width:46px;height:46px;padding:0;place-items:center;border:0;border-radius:50%;background:var(--mgcr-header-accent);color:#fff;cursor:pointer;box-shadow:none}
.mgcr-modern-header__search>button:hover{filter:brightness(1.12)}
.mgcr-modern-header__search .ui-autocomplete{top:calc(100% + 9px)!important;left:0!important;width:100%!important;max-height:420px;overflow:auto;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 36%,#29292f)!important;border-radius:15px!important;background:#0b0b0e!important;box-shadow:0 20px 48px rgba(0,0,0,.55)!important}
.mgcr-modern-header__search .ui-autocomplete li{border:0!important;background:transparent!important;color:#eee!important}
.mgcr-modern-header__search .ui-autocomplete li>div{padding:11px 14px!important;color:#eee!important}
.mgcr-modern-header__extra,.mgcr-modern-header__login,.mgcr-modern-header__register{display:inline-flex;min-height:48px;padding:9px 15px;align-items:center;justify-content:center;gap:7px;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 36%,#29292f);border-radius:999px;color:#f6f6f8!important;font-size:14px;font-weight:800;line-height:1;text-decoration:none!important;white-space:nowrap}
.mgcr-modern-header__extra{flex:0 0 48px;width:48px;padding:0}
.mgcr-modern-header__extra span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mgcr-modern-header__auth{display:flex;flex:0 0 auto;align-items:center;gap:7px}
.mgcr-modern-header__login{border-color:transparent;background:transparent}
.mgcr-modern-header__register{padding-inline:18px;border-color:var(--mgcr-header-accent);background:var(--mgcr-header-accent);color:#fff!important}
.mgcr-modern-header__extra:hover,.mgcr-modern-header__login:hover{border-color:var(--mgcr-header-accent);background:color-mix(in srgb,var(--mgcr-header-accent) 13%,transparent)}
.mgcr-modern-header__register:hover{filter:brightness(1.1)}
.mgcr-modern-header__mobile-toggle{display:none;width:50px;height:50px;padding:12px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 45%,#29292f);border-radius:12px;background:#09090b;cursor:pointer}
.mgcr-modern-header__mobile-toggle span{display:block;width:24px;height:2px;border-radius:2px;background:#fff;transition:transform .2s ease,opacity .2s ease}
.mgcr-modern-header__sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mgcr-modern-header :is(button,a,input):focus-visible{outline:3px solid #fff!important;outline-offset:3px!important;box-shadow:0 0 0 5px var(--mgcr-header-accent)!important}
@media(max-width:1199px) and (min-width:992px){.mgcr-modern-header__inner{gap:9px;padding-inline:16px}.mgcr-modern-header__brand{max-width:215px}.mgcr-modern-header__brand img{max-width:120px}.mgcr-modern-header__brand>span{font-size:18px}.mgcr-modern-header__categories{flex-basis:174px}.mgcr-modern-header__extra{display:none}.mgcr-modern-header__login,.mgcr-modern-header__register{padding-inline:11px}.mgcr-modern-header__search{min-width:150px}}
@media(max-width:991px){
body.mgcr-header-menu-open{overflow:hidden}
.mgcr-modern-header{min-height:78px}
.mgcr-modern-header__inner{min-height:78px;padding:9px 14px;justify-content:space-between;gap:12px}
.mgcr-modern-header__brand{max-width:calc(100% - 66px)}
.mgcr-modern-header__brand img{max-width:min(190px,42vw);max-height:56px}
.mgcr-modern-header__brand>span{font-size:20px}
.mgcr-modern-header__mobile-toggle{display:flex;flex:0 0 50px}
.mgcr-modern-header.is-mobile-open .mgcr-modern-header__mobile-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.mgcr-modern-header.is-mobile-open .mgcr-modern-header__mobile-toggle span:nth-child(2){opacity:0}
.mgcr-modern-header.is-mobile-open .mgcr-modern-header__mobile-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mgcr-modern-header__panel{position:absolute;top:calc(100% + 1px);right:10px;left:10px;display:none;max-height:calc(100vh - 100px);padding:18px;flex-direction:column;align-items:stretch;gap:12px;overflow:auto;border:1px solid color-mix(in srgb,var(--mgcr-header-accent) 40%,#28282e);border-radius:0 0 20px 20px;background:color-mix(in srgb,var(--mgcr-header-bg) 96%,#111);box-shadow:0 24px 60px rgba(0,0,0,.66)}
.mgcr-modern-header.is-mobile-open .mgcr-modern-header__panel{display:flex}
.mgcr-modern-header__categories{flex:0 0 auto;width:100%}
.mgcr-modern-header__category-toggle{min-height:60px}
.mgcr-modern-header__category-menu{position:static;width:100%;max-height:42vh;margin-top:8px;padding:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;border-radius:14px;box-shadow:none}
.mgcr-modern-header__category-menu a{min-height:42px;padding:8px 9px;font-size:13px}
.mgcr-modern-header__search{flex:0 0 58px;width:100%;max-width:none;min-width:0}
.mgcr-modern-header__extra{display:flex;flex:0 0 58px;width:100%;padding:10px 18px;justify-content:flex-start}
.mgcr-modern-header__extra span{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:normal}
.mgcr-modern-header__auth{display:grid;width:100%;grid-template-columns:1fr 1fr;gap:9px}
.mgcr-modern-header__login,.mgcr-modern-header__register{width:100%;min-height:52px}
}
@media(max-width:782px){.admin-bar .mgcr-modern-header.is-sticky{top:46px}}
@media(max-width:480px){.mgcr-modern-header__inner{padding-inline:10px}.mgcr-modern-header__panel{right:7px;left:7px;padding:14px}.mgcr-modern-header__brand{gap:7px}.mgcr-modern-header__brand img{max-width:min(155px,38vw)}.mgcr-modern-header__brand>span{font-size:17px}.mgcr-modern-header__category-menu{grid-template-columns:1fr 1fr}.mgcr-modern-header__auth{grid-template-columns:1fr 1.15fr}}
@media(prefers-reduced-motion:reduce){.mgcr-modern-header *{scroll-behavior:auto!important;transition:none!important}}