.metall-header {--header-accent:#bd4700;--header-ink:#292d34;--header-muted:#565d65;--header-rule:#dce1e5;background:#fff;color:var(--header-ink);border-bottom:1px solid var(--header-rule)}
.metall-header-main {display:grid;grid-template-columns:220px minmax(190px,1fr) 180px auto;align-items:center;gap:20px;padding:16px 0}
.metall-header-logo {display:block;color:#292d34}
.metall-header-logo img {display:block;max-width:100%;width:220px;height:auto}
.metall-header-contacts {display:flex;flex-direction:column;gap:5px;min-width:0}
.metall-header-contacts a {font-size:14px;line-height:1.4;color:#424a56;white-space:nowrap}
.metall-header-contacts a:first-child {font-weight:600;font-size:16px;letter-spacing:-.02em}
.metall-header-contacts a:last-child:not(:first-child) {font-size:13px;color:var(--header-muted)}
.metall-header-actions {display:flex;align-items:center;gap:8px}
.metall-header-account,.metall-header .header-block__item-cart {display:flex;align-items:center;justify-content:center;padding:0;color:var(--header-ink);line-height:1.3}
.metall-header-account,.metall-header .header-cart__btn {display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 12px;border:1px solid transparent;border-radius:4px;color:var(--header-ink);background:#fff;font-size:13px;font-weight:500;white-space:nowrap;transition:background-color .15s ease,color .15s ease,border-color .15s ease}
.metall-header-account:hover {background:#f3f5f6;color:var(--header-ink)}
.metall-header .header-cart__btn {min-width:136px;background:#f5f6f7;border-color:#e4e7ea}
.metall-header .header-cart__btn:hover {background:#edf0f2;border-color:#cbd2d8}
.metall-header .header-block__item-caption {display:none}
.metall-header-icon {display:block;flex:0 0 22px;width:22px;height:22px;stroke-width:1.75}
.metall-header .header-cart__total-items {position:static;display:inline-flex;align-items:center;justify-content:center;transform:none;margin:0;padding:0 4px;min-width:20px;width:auto;height:20px;line-height:20px;font-size:11px;font-weight:600;font-variant-numeric:tabular-nums;border-radius:4px;background:var(--header-accent);color:#fff}
.metall-header .header-cart__total-items.hidden {display:none}
.metall-header .header-search__form {border:1px solid #8a949f;border-radius:4px;background:#fff;min-width:0}
.metall-header .header-search__input {height:46px;background:transparent;color:#292d34;min-width:0;padding-right:48px;font-size:14px;box-shadow:none}
.metall-header .header-search__input:has(+ .search-btn-clear.show) {padding-right:86px}
.metall-header .header-search .search-btn-clear {top:2px;right:44px;min-width:38px;height:42px;padding:0;font-size:21px}
.metall-header .header-search__category-btn {display:flex;align-items:center;gap:8px;height:46px;background:transparent;border:0;border-right:1px solid #e0e3e8;border-radius:0;color:#565d65;font-size:12px;padding:0 12px}
.metall-header .header-search__category-btn .metall-header-icon {width:14px;height:14px;flex-basis:14px}
.metall-header .header-search__btn {display:flex;align-items:center;justify-content:center;height:46px;width:44px;background:transparent;border:0;color:#565d65}
.metall-header .header-search__btn:hover {background:#f3f5f6;color:#292d34}
.metall-header .header-search__form:focus-within {border-color:#9a410b;box-shadow:0 0 0 1px #9a410b}
.metall-header .header-search__input:focus {box-shadow:none}
.metall-header .menu__header {padding:0;min-height:46px}
.metall-catalog-toggle {display:flex;align-items:center;gap:12px;flex:1;align-self:stretch;text-align:left;border:0;background:#bd4700;color:#fff;padding:0 16px;font-size:14px;font-weight:600;min-height:46px}
.metall-catalog-toggle:hover {background:#a33d00}
.metall-header .menu__level-1-a {font-size:14px;color:#424a56}
.metall-header #menu .menu__level-1-a {padding-left:16px}
.metall-header #menu .menu__level-1-li {border-color:#edf0f2}
.metall-header #menu .menu__level-1-li.open {background:#f5f6f7}
.metall-header #menu .menu__level-2 {background:#fff;padding:10px 14px;border:1px solid #e0e3e8;box-shadow:0 6px 14px rgba(35,40,48,.08)}
.metall-header #menu .menu__level-2-a {font-size:14px;font-weight:500;min-height:44px}
.metall-header #menu2 .menu__level-1-li {box-shadow:none;border:0}
.metall-header #menu2 .menu__level-1-a {min-height:46px;font-weight:500}
.metall-header #menu2 .menu__level-1-a:hover,.metall-header a[aria-current="page"] {color:#9a410b}
.metall-header #menu2 a[aria-current="page"] {box-shadow:inset 0 -2px var(--header-accent)}
.metall-header .menu__chevron,.metall-header .menu-close {border:0;background:transparent;color:inherit;padding:0}
.metall-header .menu__chevron:hover {background:#edf0f2}
.metall-header :is(a,button):focus-visible {outline:2px solid #b94300!important;outline-offset:2px}
.metall-header .metall-catalog-toggle:focus-visible {outline:2px solid #fff!important;outline-offset:-4px}
@media(min-width:993px) {
 .metall-header .menu1 .menu__level-1-a {min-height:42px}
 .metall-header .menu__chevron {display:none}
 .metall-header #menu .menu__level-1-li.has-children:after {content:'';flex:0 0 18px;width:18px;height:18px;margin-right:12px;background:currentColor;mask:url('/image/catalog/metall-local/header-icons/chevron-down.svg') center/16px no-repeat;-webkit-mask:url('/image/catalog/metall-local/header-icons/chevron-down.svg') center/16px no-repeat}
 .metall-header #menu.metall-menu-pinned .main-menu__collapse,.metall-header #menu:focus-within .main-menu__collapse {display:block!important}
 .metall-header #menu.metall-menu-dismissed .main-menu__collapse {display:none!important}
 .metall-header #menu .menu__level-1-li:focus-within>.menu__level-2 {display:flex;opacity:1!important}
}
@media(min-width:993px) and (max-width:1199px) {
 .metall-header-main {grid-template-columns:175px minmax(170px,1fr) 150px auto;gap:16px}
 .metall-header-logo img {width:175px}
 .metall-header .header-search__category {display:none}
 .metall-header-contacts a:first-child {font-size:14px}
 .metall-header-actions {gap:4px}
 .metall-header-account,.metall-header .header-cart__btn {padding:0 10px}
}
@media(max-width:992px) {
 .metall-header {padding-bottom:14px}
 .metall-header-main {grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0 8px}
 .metall-header-logo {grid-column:1;grid-row:1}
 .metall-header-logo img {width:170px}
 .metall-header-actions {grid-column:2;grid-row:1;gap:6px}
 .metall-header-contacts {grid-column:1/-1;grid-row:2;flex-direction:row;flex-wrap:wrap;justify-content:stretch;gap:0;background:#f5f6f8;border-radius:4px;padding:0 2px}
 .metall-header-contacts>a,.metall-header-contacts>a:first-child {display:flex;flex:1 1 auto;align-items:center;justify-content:center;min-height:40px;padding:4px 6px;font-size:13px;line-height:20px;font-weight:500;letter-spacing:0;color:#424a56}
 .metall-header-contacts>a:last-of-type {font-size:13px;color:#424a56}
 .metall-header-contacts>a:first-child {font-weight:600}
 .metall-header-contacts>a:hover {color:#a33c00;background:#fff5eb}
 .metall-header-contacts>a:focus-visible {outline:2px solid #a33c00;outline-offset:2px}
 .metall-header-account,.metall-header .header-cart__btn {position:relative;min-width:44px;width:44px;min-height:44px;padding:0;gap:0;border:0}
 .metall-header .metall-header-action-label {display:none}
 .metall-header .header-cart__total-items {position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;line-height:18px;font-size:10px;border:2px solid #fff;padding:0 3px}
 .metall-header-nav>.row {display:flex;align-items:center;gap:10px;margin:0}
 .metall-header .main-menu {flex:0 0 44px}
 .metall-header .menu-open {float:none;margin:0;width:44px;height:44px;padding:0;border:0;background:#bd4700;color:#fff}
 .metall-header #search2 {flex:1;min-width:0;padding:0}
 .metall-header #search2 .header-search__input,.metall-header #search2 .header-search__category-btn {height:42px!important}
 .metall-header #search2 .header-search__btn {height:42px}
 .metall-header #search2 .search-btn-clear {height:40px;top:1px}
 .metall-header #search2 .header-search__category {display:none}
 .metall-header .menu-wrapper {max-width:420px;width:100%;background:#fff;overscroll-behavior:contain}
 .metall-header .menu-wrapper:not(.show) {visibility:hidden}
 .metall-header .menu-wrapper.show {visibility:visible}
 .metall-header #menu .menu__level-1-a {min-height:48px;padding-right:52px}
 .metall-header #menu .main-menu__collapse {position:static;width:100%}
 .metall-header .menu-close {display:flex!important;align-items:center;justify-content:center;width:48px;align-self:stretch;background:#f1f2f4;color:#424a56;font-size:18px}
 .metall-header .metall-catalog-toggle {display:none}
 .metall-header .menu__header {background:#bd4700}
 .metall-mobile-menu-title {flex:1;padding:0 16px;font-size:17px;font-weight:600;color:#fff}
 .metall-header .metall-mobile-links {display:grid!important;grid-template-columns:1fr 1fr;gap:0;padding:8px;border-bottom:1px solid #e0e3e8}
 .metall-mobile-links a {display:flex;align-items:center;min-height:44px;padding:6px 10px;font-size:13px;color:#424a56}
 .metall-header .menu__chevron {width:44px;height:44px;top:2px;right:2px;line-height:44px!important}
 .metall-header .menu__chevron .metall-header-icon {margin:auto;width:18px;height:18px}
 .metall-header #menu .menu__level-2 {border:0;background:#f6f7f8;box-shadow:none;padding:0 12px}
 .metall-header #menu .menu__level-2:not(.in) {padding-top:0;padding-bottom:0}
 .metall-header #menu .menu__level-2:not(.in),.metall-header #menu .menu__level-3:not(.in) {visibility:hidden}
 .metall-header #menu .menu__level-2-a {border-color:#e5e8ec;padding-left:16px;font-weight:400}
}
@media(prefers-reduced-motion:reduce) {.metall-header-account,.metall-header .header-cart__btn {transition:none}}
