/* Aligned category bar and bounded, keyboard-accessible panels. Content stays in BO. */
.mgm-menu-caret {display:block;width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-4px;transition:transform .15s ease;}
.mgm-nav__dropdown[open] .mgm-menu-caret,[data-mgm-mobile-toggle][aria-expanded=true] .mgm-menu-caret {transform:rotate(225deg);margin-top:3px;}
.mgm-nav__link:focus-visible,.mgm-nav__dropdown>summary:focus-visible,.mgm-nav__panel a:focus-visible,.mgm-mobile-menu a:focus-visible,.mgm-mobile-menu button:focus-visible {outline:2px solid var(--magmara-action);outline-offset:3px;}
@media(min-width:1200px){
 .header-bottom .mgm-menu-holder {flex:0 0 100%;width:100%;max-width:100%;order:20;}
 .header-bottom .mgm-menu-holder>.mgm-nav {flex:1 1 auto;width:100%;min-width:0;}
 .header-bottom .mgm-nav__list {width:100%;display:flex;justify-content:space-between;flex-wrap:nowrap;gap:0 10px;}
 .header-bottom .mgm-nav__item {display:flex;align-items:center;min-width:0;position:static;}
 .header-bottom .mgm-nav__link {display:flex;align-items:center;min-height:48px;padding:12px 0;font-size:14px;line-height:1.4;letter-spacing:.15px;white-space:nowrap;text-decoration:none;}
 .header-bottom .mgm-nav__item:has(.mgm-nav__dropdown[open])>.mgm-nav__link {color:var(--magmara-action);box-shadow:inset 0 -2px var(--magmara-action);}
 .header-bottom .mgm-nav__dropdown>summary {display:flex;align-items:center;justify-content:center;width:38px;height:48px;padding:0;line-height:1;margin:0;color:#555;}
 .header-bottom .mgm-nav__dropdown[open]>summary {color:var(--magmara-action);}
 .header-bottom .ps-mainmenu__mobile-toggle {display:none;}
 .mgm-nav__panel {display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:48px;padding:28px max(36px,calc((100% - 1280px)/2));max-height:calc(100dvh - 120px);overflow:auto;border-top-color:var(--magmara-action);overscroll-behavior:contain;}
 .mgm-nav__categories {min-width:0;gap:8px;}
 .mgm-nav__categories a {padding:7px 0;font-size:14px;}
 .mgm-nav__categories a:hover {color:var(--magmara-action);text-decoration:underline;text-underline-offset:4px;}
 .mgm-nav__models {min-width:0;}
 .mgm-nav__model-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,160px));gap:20px;}
 .mgm-nav__model-grid a,.mgm-nav__model-grid img {width:100%;max-width:160px;}
 .mgm-nav__model-grid img {height:200px;}
}
.mgm-nav__category-title{font-size:20px;line-height:1.3;font-weight:700;margin:2px 0 12px}
.mgm-nav__categories .mgm-nav__all{display:flex;gap:18px;align-items:center;font-size:13px;font-weight:700;margin-bottom:8px;border:0}
.mgm-menu-products{min-width:0;width:100%;max-width:840px;margin-left:auto}
.mgm-menu-products__title{font-size:12px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:#6a6a6a;margin:0 0 14px}
.mgm-menu-products__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mgm-menu-product{display:flex;flex-direction:column;gap:0;min-width:0;color:#262626;text-decoration:none;font-size:13px;line-height:1.45}
.mgm-menu-product:hover{color:#262626;text-decoration:none}
.mgm-menu-product__photo{display:block;width:100%;height:auto;margin:0 0 10px;background:transparent}
.mgm-menu-product__photo img{display:block;width:100%;height:auto}
.mgm-menu-product__name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}
.mgm-menu-product:hover .mgm-menu-product__name{text-decoration:underline;text-underline-offset:3px}
.mgm-menu-product__prices{display:flex;flex-wrap:wrap;gap:5px 8px;align-items:baseline;margin-top:5px;font-size:14px;font-weight:600}
.mgm-menu-product__prices del{font-size:11px;color:#777;font-weight:400}
.mgm-menu-product__sale{color:var(--magmara-action)}
.mgm-mobile-menu {padding:0 20px;width:min(390px,calc(100% - 28px));max-width:none;height:100dvh;max-height:100dvh;overflow:auto;overscroll-behavior:contain;}
.mgm-mobile-menu::backdrop {background:rgb(0 0 0 / 38%);}
.mgm-mobile-menu__header {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;min-height:72px;margin:0;padding:12px 0;background:#fff;border-bottom:1px solid #eee;}
.mgm-mobile-menu__header strong {font-size:18px;}
.mgm-mobile-menu__header button {display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:#fff;font-size:28px;}
.mgm-mobile-menu nav>ul {padding:0;margin:0;list-style:none;}
.mgm-mobile-menu nav>ul>li {padding:0;margin:0;border-bottom:1px solid #eee;}
.mgm-mobile-menu__row {display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;min-height:58px;}
.mgm-mobile-menu__row>a {display:flex;align-items:center;min-height:58px;font-size:14px;text-decoration:none;color:#222;}
.mgm-mobile-menu__row>button {display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;background:#fff;color:#555;}
.mgm-mobile-menu__children[hidden] {display:none;}
.mgm-mobile-menu .mgm-mobile-menu__children {padding:0 0 16px 14px;margin:0;}
.mgm-mobile-menu__children a {display:flex;align-items:center;min-height:44px;padding:8px 4px;font-size:14px;line-height:1.5;color:#444;text-decoration:none;}
.mgm-mobile-menu__children p {font-size:12px;color:#777;margin:12px 0 4px;}
.mgm-mobile-menu__children .mgm-mobile-menu__all {font-weight:700;}
.mgm-mobile-menu__contact {display:flex;align-items:center;min-height:56px;font-size:14px;margin:0;}
.mgm-mobile-menu .mgm-menu-products{margin:16px 0 0;max-width:none}
.mgm-mobile-menu .mgm-menu-products__title{font-size:11px;color:#777;margin:0 0 12px}
.mgm-mobile-menu .mgm-menu-products__grid{gap:10px}
.mgm-mobile-menu .mgm-menu-product{display:flex;align-items:stretch;padding:0;min-height:0;font-size:11px;line-height:1.4}
.mgm-mobile-menu .mgm-menu-product__photo{margin-bottom:8px}
.mgm-mobile-menu .mgm-menu-product__name{min-height:32px}
.mgm-mobile-menu .mgm-menu-product__prices{font-size:12px;gap:2px 5px;margin-top:4px}
.mgm-mobile-menu .mgm-menu-product__prices del{font-size:10px}
@media(min-width:1200px) and (max-width:1439px){#header .mgm-unified-header .mgm-nav__list{gap:0 11px}#header .mgm-unified-header .mgm-nav__dropdown>summary{width:17px}.mgm-nav__panel{gap:30px;padding:24px 28px}}
@media(min-width:1200px) and (max-height:760px){.mgm-menu-products{max-width:650px}}
html.mgm-menu-is-open {overflow:hidden;}
@media(prefers-reduced-motion:reduce){.mgm-menu-caret{transition:none}}
