.md-header { position: sticky; top: 0; z-index: 390; width: 100%; font-family: Manrope, "Segoe UI", Arial, sans-serif; color: #231F20; background: #FFFFFF; border-bottom: 4px solid #11B6BC; }

.admin-bar .md-header { top: 32px; }

.md-header__in { max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; box-sizing: border-box; }

.md-header__logo { display: flex; align-items: center; min-height: 44px; }

.md-header__logo img { display: block; height: 56px; width: auto; max-width: none; }

.md-header__menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; font-weight: 700; line-height: 1.4; }

.md-header a.md-header__link { text-decoration: none; color: #231F20; min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; border-bottom: 3px solid transparent; }

.md-header a.md-header__link:hover,
.md-header a.md-header__link[aria-current] { border-bottom-color: #11B6BC; }

.md-header__group { position: relative; }

.md-header a.md-header__link--parent { gap: 6px; }

.md-header__sub { position: absolute; top: 100%; left: -16px; z-index: 5; min-width: 220px; display: none; flex-direction: column; padding: 8px; background: #FFFFFF; border: 1px solid #E2E6E8; border-top: 3px solid #11B6BC; border-radius: 0 0 12px 12px; box-shadow: 0 14px 30px rgba(35, 31, 32, 0.12); }

.md-header__group:hover .md-header__sub,
.md-header__group:focus-within .md-header__sub { display: flex; }

.md-header .md-header__sub a { display: flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 8px; color: #231F20; font-weight: 600; text-decoration: none; white-space: nowrap; }

.md-header .md-header__sub a:hover,
.md-header .md-header__sub a[aria-current="page"] { background: #E7F7F8; }

.md-header a.md-header__shop { text-decoration: none; color: #231F20; background: #11B6BC; padding: 12px 22px; border-radius: 999px; font-weight: 800; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }

.md-header a.md-header__shop:hover { background: #0FA3A9; }

.md-header a:focus-visible,
.md-header__toggle:focus-visible,
.md-header__close:focus-visible { outline: 3px solid #231F20; outline-offset: 3px; }

.md-header__toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 2px solid #231F20; border-radius: 999px; color: #231F20; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; }

.md-header__toggle:hover { background: none; color: #231F20; }

.md-header__close,
.md-header__backdrop { display: none; }

@media (max-width: 1180px) {
	.md-header__in { padding: 10px 16px; flex-wrap: nowrap; }
	.md-header__logo img { height: 44px; }
	.md-header__toggle { display: inline-flex; }
	.md-header__backdrop { display: block; position: fixed; inset: 0; background: rgba(35, 31, 32, 0.5); opacity: 0; visibility: hidden; }
	.md-header__menu { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); box-sizing: border-box; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 16px 20px 24px; background: #FFFFFF; border-left: 4px solid #11B6BC; overflow-y: auto; font-size: 17px; transform: translateX(100%); visibility: hidden; }
	.md-header.is-open .md-header__backdrop { opacity: 1; visibility: visible; }
	.md-header.is-open .md-header__menu { transform: translateX(0); visibility: visible; }
	.md-header.is-anim .md-header__backdrop { transition: opacity 0.25s ease, visibility 0.25s; }
	.md-header.is-anim .md-header__menu { transition: transform 0.25s ease, visibility 0.25s; }
	.md-header.is-anim.is-open .md-header__menu { transition: transform 0.25s ease, visibility 0s; }
	.md-header__close { display: inline-flex; align-self: flex-end; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; margin-bottom: 12px; background: none; border: 2px solid #231F20; border-radius: 999px; color: #231F20; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: none; text-transform: none; }
	.md-header__close:hover { background: none; color: #231F20; }
	.md-header a.md-header__link { min-height: 52px; border-bottom: 1px solid #E2E6E8; }
	.md-header a.md-header__link[aria-current] { border-bottom: 3px solid #11B6BC; }
	.md-header__group { display: flex; flex-direction: column; }
	.md-header__link--parent svg { display: none; }
	.md-header__sub { position: static; display: flex; min-width: 0; padding: 0 0 6px 14px; border: 0; border-left: 2px solid #E2E6E8; border-radius: 0; box-shadow: none; margin: 6px 0 6px 4px; }
	.md-header .md-header__sub a { font-size: 16px; white-space: normal; }
	.md-header a.md-header__shop { margin: 20px 0 0; justify-content: center; }
	.admin-bar .md-header__menu { top: 32px; }
	html.md-menu-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	.md-header.is-anim .md-header__menu,
	.md-header.is-anim .md-header__backdrop { transition: none; }
}

@media (max-width: 782px) {
	.admin-bar .md-header { top: 46px; }
	.admin-bar .md-header__menu { top: 46px; }
}
