/* Ermax Header Widget */
.ermax-header {
  --ermax-header-black:#0C0C0C;
  --ermax-header-green:#3FAF7A;
  --ermax-header-text:#fff;
  --ermax-header-muted:#BFC5C1;
  --ermax-header-border:rgba(255,255,255,.10);
  width:100%;
  z-index:9998;
  font-family:Inter, sans-serif;
}
.ermax-header--sticky{position:sticky;top:0;}
.ermax-header *{box-sizing:border-box;}
.ermax-header a{text-decoration:none;color:inherit;}
.ermax-header button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0;}
.ermax-header__inner{width:100%;max-width:1440px;margin:0 auto;padding-left:32px;padding-right:32px;}
.ermax-header__topbar{background:var(--ermax-header-green);color:#07100c;font-size:12px;font-weight:600;line-height:16px;text-transform:none;}
.ermax-header__topbar-inner{height:32px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.ermax-header__topbar-text{letter-spacing:normal;white-space:nowrap;}
.ermax-header__topbar-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0;}
.ermax-header__topbar-menu a{font-size:12px;font-weight:600;color:#07100c;display:flex;align-items:center;gap:4px;}
.ermax-header__topbar-menu .sub-menu{display:none;position:absolute;top:100%;right:0;background:var(--ermax-header-black);color:var(--ermax-header-text);padding:10px 0;list-style:none;min-width:180px;z-index:10;}
.ermax-header__topbar-menu li{position:relative;}
.ermax-header__topbar-menu li:hover>.sub-menu{display:block;}
.ermax-header__topbar-menu .sub-menu a{color:var(--ermax-header-text);padding:9px 16px;white-space:nowrap;}
.ermax-header__mainbar{background:var(--ermax-header-black);color:var(--ermax-header-text);border-bottom:1px solid var(--ermax-header-border);}
.ermax-header__main-inner{height:72px;display:grid;grid-template-columns:auto minmax(120px,220px) minmax(220px,1fr) minmax(0,auto) auto;align-items:center;gap:24px;transition:height .22s ease,gap .22s ease;}
.ermax-header__logo{display:flex;align-items:center;justify-content:flex-start;min-width:0;}
.ermax-header__logo a{display:flex;align-items:center;width:100%;line-height:0;}
.ermax-header__logo img{display:block;width:100%;max-width:220px;height:auto;max-height:42px;transition:max-height .22s ease,filter .18s ease;filter:brightness(0) invert(1);}
.ermax-header__logo svg{color:var(--ermax-header-text);fill:currentColor;}
.ermax-header__site-title{font-weight:900;letter-spacing:.18em;font-size:24px;color:#fff;}
.ermax-header__search{height:42px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.22);max-width:520px;width:100%;min-width:0;justify-self:center;transition:border-color .18s ease;}
.ermax-header__search:focus-within{border-color:var(--ermax-header-green);}
.ermax-header__search input[type="search"]{flex:1;background:transparent;border:0;outline:0;color:var(--ermax-header-text);font-family:Inter, sans-serif;font-size:14px;font-weight:400;line-height:20px;padding:0 8px 0 0;min-width:0;}
.ermax-header__search input::placeholder{color:var(--ermax-header-muted);}
.ermax-header__search button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:var(--ermax-header-muted);}
.ermax-header svg,.ermax-header i{width:1em;height:1em;display:inline-flex;line-height:1;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.ermax-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:22px;grid-column:-2 / -1;min-width:max-content;}
.ermax-header__action{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:54px;color:var(--ermax-header-text);font-size:16px;font-weight:400;line-height:24px;white-space:nowrap;}
.ermax-header__action:hover,.ermax-header__action:focus{color:var(--ermax-header-green);}
.ermax-header__garage{color:var(--ermax-header-green);}
.ermax-header__action-icon{font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center;}
.ermax-header__cart-icon-wrap{position:relative;display:flex;align-items:center;justify-content:center;}
.ermax-header__cart-badge{position:absolute;top:-9px;right:-11px;min-width:18px;height:18px;border-radius:999px;background:var(--ermax-header-green);color:#07100c;font-size:11px;font-weight:800;line-height:18px;text-align:center;padding:0 4px;}
.ermax-header__cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9998;opacity:0;pointer-events:none;transition:opacity .22s ease;}
.ermax-header__cart-panel{position:fixed;top:0;right:0;width:min(420px,92vw);height:100vh;background:#fff;color:#0C0C0C;z-index:9999;box-shadow:-18px 0 45px rgba(0,0,0,.25);transform:translateX(100%);transition:transform .26s ease;display:flex;flex-direction:column;font-family:Inter, sans-serif;}
.ermax-header.is-cart-open .ermax-header__cart-overlay{opacity:1;pointer-events:auto;}
.ermax-header.is-cart-open .ermax-header__cart-panel{transform:translateX(0);}
.ermax-header__cart-panel-head{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #E5E7EB;background:#fff;}
.ermax-header__cart-panel-head strong{font-size:18px;font-weight:600;line-height:24px;}
.ermax-header__cart-close{width:38px;height:38px;display:flex!important;align-items:center;justify-content:center;color:#0C0C0C;font-size:22px;}
.ermax-header__cart-panel-body{flex:1;overflow:auto;padding:22px;}
.ermax-header__cart-panel-body .woocommerce-mini-cart{list-style:none;margin:0;padding:0;}
.ermax-header__cart-panel-body .woocommerce-mini-cart-item{display:grid;grid-template-columns:64px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid #E5E7EB;align-items:center;}
.ermax-header__cart-panel-body .woocommerce-mini-cart-item img{width:64px;height:64px;object-fit:cover;}
.ermax-header__cart-panel-body .woocommerce-mini-cart__empty-message{margin:0;color:#4B5563;font-size:14px;line-height:20px;}
.ermax-header__cart-panel-body .woocommerce-mini-cart__total{margin:20px 0 14px;padding-top:14px;border-top:1px solid #E5E7EB;font-size:15px;}
.ermax-header__cart-panel-body .woocommerce-mini-cart__buttons{display:flex;gap:10px;flex-wrap:wrap;}
.ermax-header__cart-panel-body .button{display:inline-flex;align-items:center;justify-content:center;background:#0C0C0C;color:#fff;border-radius:0;padding:12px 16px;font-size:14px;font-weight:600;line-height:20px;}
.ermax-header__cart-panel-body .checkout{background:var(--ermax-header-green);color:#07100c;}
.ermax-header__burger{width:42px;height:42px;align-items:center;justify-content:center;color:var(--ermax-header-text);font-size:24px;}
.ermax-header__burger--desktop{display:flex;opacity:0;width:0;overflow:hidden;pointer-events:none;transition:opacity .22s ease,width .22s ease;}
.ermax-header__burger--mobile{display:none;}
.ermax-header__icon-close{display:none;}
.ermax-header.is-menu-open .ermax-header__icon-open{display:none;}
.ermax-header.is-menu-open .ermax-header__icon-close{display:inline-flex;}
.ermax-header__mobile-garage{display:none;color:var(--ermax-header-green);font-size:22px;align-items:center;justify-content:center;}
.ermax-header__sales-selector:empty{display:none!important;}
.ermax-header__sales-selector--desktop{min-width:0;justify-self:end;}
.ermax-header__nav{background:var(--ermax-header-black);color:var(--ermax-header-text);border-bottom:1px solid var(--ermax-header-border);transition:max-height .22s ease,opacity .22s ease;}
.ermax-header__nav-inner{height:33px;display:flex;align-items:center;justify-content:center;}
.ermax-header__desktop-menu{display:flex;align-items:center;justify-content:center;gap:46px;list-style:none;margin:0;padding:0;}
.ermax-header__desktop-menu>li{position:relative;height:33px;display:flex;align-items:center;}
.ermax-header__desktop-menu a{display:flex;align-items:center;color:var(--ermax-header-text);font-size:14px;font-weight:400;letter-spacing:.7px;text-transform:uppercase;white-space:nowrap;line-height:20px;}
.ermax-header__desktop-menu a:hover,.ermax-header__desktop-menu .current-menu-item>a{color:var(--ermax-header-green);}
.ermax-header__desktop-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;background:#111;padding:10px 0;margin:0;list-style:none;border:1px solid var(--ermax-header-border);z-index:20;}
.ermax-header__desktop-menu li:hover>.sub-menu,.ermax-header__desktop-menu li:focus-within>.sub-menu{display:block;}
.ermax-header__desktop-menu .sub-menu a{padding:11px 16px;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:none;}
.ermax-header__mobile-panel{background:var(--ermax-header-black);color:var(--ermax-header-text);border-bottom:1px solid var(--ermax-header-border);}
.ermax-header__mobile-inner{padding-top:20px;padding-bottom:26px;}
.ermax-header__mobile-menu{list-style:none;margin:0;padding:0;}
.ermax-header__mobile-menu li{border-bottom:1px solid rgba(255,255,255,.08);}
.ermax-header__mobile-menu a{display:flex;align-items:center;justify-content:space-between;padding:15px 0;color:var(--ermax-header-text);font-size:15px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;}
.ermax-header__mobile-menu--secondary a{font-size:14px;font-weight:700;text-transform:none;color:var(--ermax-header-muted);}
.ermax-header__mobile-menu--secondary li:first-child a{color:var(--ermax-header-green);}
.ermax-header__mobile-menu .sub-menu{display:none;list-style:none;margin:0;padding:0 0 8px 18px;border-top:1px solid rgba(255,255,255,.06);}
.ermax-header__mobile-menu li.is-submenu-open>.sub-menu{display:block;}
.ermax-header__mobile-menu .sub-menu li{border:0;}
.ermax-header__mobile-menu .sub-menu a{padding:10px 0;font-size:13px;font-weight:600;text-transform:none;color:var(--ermax-header-muted);}
.ermax-header__mobile-separator{height:1px;background:rgba(255,255,255,.18);margin:18px 0 8px;}
.ermax-header.is-scrolled .ermax-header__main-inner{height:72px;grid-template-columns:auto minmax(100px,180px) minmax(200px,1fr) minmax(0,auto) auto;gap:20px;}
.ermax-header.is-scrolled .ermax-header__burger--desktop{opacity:1;width:42px;pointer-events:auto;}
.ermax-header.is-scrolled .ermax-header__logo img{max-height:36px;}
.ermax-header.is-scrolled .ermax-header__nav{max-height:0;opacity:0;overflow:hidden;border-bottom:0;}
.ermax-header.is-scrolled .ermax-header__topbar{display:none;}
@media (max-width: 1180px){
  .ermax-header__main-inner{grid-template-columns:auto minmax(110px,190px) minmax(180px,1fr) auto;gap:20px;}
  .ermax-header__sales-selector--desktop{display:none!important;}
  .ermax-header__actions{grid-column:auto;gap:16px;}
  .ermax-header__desktop-menu{gap:28px;}
}
@media (max-width: 1024px){
  .ermax-header__topbar,.ermax-header__nav,.ermax-header__search,.ermax-header__garage .ermax-header__action-label,.ermax-header__account .ermax-header__action-label,.ermax-header__cart .ermax-header__action-label,.ermax-header__burger--desktop{display:none!important;}
  .ermax-header__main-inner{height:52px;display:grid;grid-template-columns:40px 40px 1fr 40px 40px;gap:8px;padding-left:16px;padding-right:16px;}
  .ermax-header__burger--mobile,.ermax-header__mobile-garage{display:flex;}
  .ermax-header__logo{justify-content:center;}
  .ermax-header__logo img{max-height:30px;}
  .ermax-header__actions{display:contents;}
  .ermax-header__garage{display:none;}
  .ermax-header__account,.ermax-header__cart{min-width:40px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;grid-row:1;}
  .ermax-header__account{grid-column:4;}
  .ermax-header__cart{grid-column:5;}
  .ermax-header__action-icon{font-size:21px;}
  .ermax-header__cart-badge{top:-8px;right:-10px;}
  .ermax-header__mobile-inner{padding-left:24px;padding-right:24px;}
}
@media (max-width: 767px){
  .ermax-header__main-inner{padding-left:12px;padding-right:12px;}
  .ermax-header__logo img{max-height:26px;}
  .ermax-header__mobile-inner{padding-left:20px;padding-right:20px;}
}
