body {
  padding-top: 126px;
  transition: all .3s linear;
}

body.scrolled {
  padding-top: 130px;
}

.header {
  position: fixed;
  z-index: 192;
  background: #fff;
  padding: 24px 0 6px;
  top: 0;
  width: 100%;
  border-bottom: 10px #099CF4 solid;
  transition: all .3s linear;
}

.header .header-logo {
  width: 18%;
  max-width: 248px;
  min-width: 200px;
}

.header .header-logo img {
  width: 100%;
  height: 75px;
  transition: all .3s linear;
}

.header .header-links {
  gap: 18px;
  justify-content: flex-end;
}

.header .search-form label {
  display: none;
}

.header .search-form input {
  width: 0;
  height: 26px;
  background-color: #fff;
  border-radius: 25px;
  padding: 4px 0 4px;
  font-size: 14px;
  color: #000;
  border: 0px #0551BE solid;
  transition: all .5s linear;
}

.header .search-form button {
  position: absolute;
  width: 20px;
  height: 20px;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border: none;
  background: #fff;
  transition: all .3s linear;
}

.header .search-form button:hover img {
  transform: scale(1.2);
}

.header .search-form button img {
  width: 100%;
  height: auto;
}

.header .search-form button img.desktop-icon {
  display: block;
}

.header .search-form button img.mobile-icon {
  display: none;
}

.header .search-form.active input {
  width: 214px;
  padding: 4px 25px 4px 10px;
  border: 1px #0551BE solid;
}

.header .header-cart-link,
.header .header-account-link {
  width: auto;
  height: 25px;
  text-align: center;
}

.header .header-cart-link img,
.header .header-account-link img {
  width: auto;
  height: 100%;
}

.header .header-cart-link:hover img,
.header .header-account-link:hover img {
  transform: scale(1.2);
}

.header .header-cart-link .cart-count,
.header .header-account-link .cart-count {
  position: absolute;
  top: -16px;
  width: 16px;
  height: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 16px;
  border: 1px #B61E23 solid;
  color: #0551BE;
  right: -10px;
}

.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header.fixed .header-logo img {
  width: auto;
  height: 50px;
}

.header.fixed .main-menu {
  padding: 0;
}

.header.fixed > .container-big {
  padding: 6px 20px;
}

.main-menu {
  padding: 16px 0;
  transition: all .1s linear;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;
}

.main-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.main-menu ul > li {
  overflow: hidden;
}

.main-menu ul > li:hover {
  overflow: visible;
}

.main-menu ul a {
  color: #0551BE;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 4px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.main-menu ul a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0px;
  width: 0;
  height: 2px;
  background-color: #0551BE;
  transition: all .3s linear;
  transform: translateX(-50%);
}

.main-menu ul a img {
  margin-right: 16px;
  height: 20px;
  width: auto;
}

.main-menu ul a:hover {
  /*color: #000 */
  /* img
          transform: scale(1.2)
          -webkit-filter: invert(1)
          filter: invert(1) */
}

.main-menu ul a:hover::after {
  width: 100%;
}

.main-menu ul .current-menu-item > a::after {
  width: 100%;
}

.main-menu ul .sub-menu {
  position: absolute;
  display: block;
  background-color: #fff;
  padding: 16px;
  top: 500%;
  margin: 0;
  list-style: none;
  width: 290px;
  opacity: 0;
  transition: all .3s linear;
  border: 1px #0551BE solid;
  border-top: 0;
  border-radius: 0 0 6px 6px;
  overflow: visible;
}

.main-menu ul .sub-menu::-webkit-scrollbar {
  background: #fff;
}

.main-menu ul .sub-menu::-webkit-scrollbar-track {
  border: 1px #0551BE solid;
  border-radius: 10px;
}

.main-menu ul .sub-menu::-webkit-scrollbar-thumb {
  border-radius: 6px;
  border: 4px solid transparent;
  background-clip: content-box;
  background-color: #0551BE;
}

.main-menu ul .sub-menu li {
  margin-bottom: 6px;
}

.main-menu ul .sub-menu li a {
  font-size: 16px;
  font-weight: 400;
}

.main-menu ul .sub-menu li a::after {
  bottom: 0;
}

.main-menu ul .sub-menu .sub-menu {
  border-left: 0;
  border-top: 1px #0551BE solid;
  border-radius: 0 6px 6px 0;
  top: 0 !important;
  left: 100%;
  padding-top: 8px;
}

.main-menu ul > li:hover .sub-menu {
  top: 100%;
  opacity: 1;
}

.main-menu .scroll-sub-menu .sub-menu {
  max-height: 620px;
  overflow: auto;
}

.admin-bar .main-menu.fixed {
  top: 32px;
}

.mobile-header {
  display: none;
}

@media screen and (max-width: 1920px) {
  .main-menu ul {
    gap: calc(34*100vw/1920);
  }
}

@media screen and (max-width: 1560px) {
  body {
    padding-top: 124px;
  }
  .main-menu ul {
    gap: calc(24 * 100vw / 1920);
  }
  .main-menu ul a {
    font-size: 15px;
  }
}

@media screen and (max-height: 700px) {
  .main-menu .scroll-sub-menu .sub-menu {
    max-height: 500px;
    overflow: auto;
  }
}

@media screen and (max-width: 1359px) {
  body {
    padding-top: 172px;
  }
  .header .header-logo {
    position: absolute;
    top: 0;
    z-index: 3;
  }
  .header .header-menu {
    width: 100%;
    z-index: 2;
    padding-top: 48px;
  }
  .header .header-links {
    top: -16px;
  }
  .header.fixed .header-menu {
    padding-top: 38px;
  }
}

@media screen and (max-width: 1100px) {
  body {
    padding-top: 168px;
  }
  .main-menu ul {
    gap: calc(20 * 100vw / 1920);
  }
  .main-menu ul a {
    font-size: 14px;
  }
  .main-menu ul .sub-menu li a {
    font-size: 14px;
  }
}

@media screen and (max-width: 991px) {
  body {
    padding-top: 130px;
  }
  .header {
    padding: 6px 0 0;
    border-bottom: none;
  }
  .header .header-menu {
    display: none;
  }
  .header .mobile-header {
    display: flex;
    background-color: #099CF4;
    padding: 8px 30px 8px 0;
    justify-content: space-between;
  }
  .header .search-field {
    min-width: 20px;
  }
  .header .search-form button {
    background: #099CF4;
  }
  .header .search-form button img.desktop-icon {
    display: none;
  }
  .header .search-form button img.mobile-icon {
    display: block;
  }
  .header .search-form button:hover img {
    transform: none;
  }
  .header .search-form input {
    opacity: 0;
  }
  .header .search-form.active button {
    background: none;
    right: 10px;
  }
  .header .search-form.active button img.desktop-icon {
    display: block;
  }
  .header .search-form.active button img.mobile-icon {
    display: none;
  }
  .header .search-form.active input {
    opacity: 1;
    width: 180px;
  }
  .header .header-logo {
    position: relative;
    margin: 0 auto;
    text-align: center;
    min-width: 248px;
    width: 100%;
    justify-content: center;
  }
  .header .header-links {
    top: 0;
    padding: 0 30px;
    flex-wrap: nowrap;
  }
  .header .main-menu {
    padding: 8px 0;
    width: 45px;
    position: absolute;
    bottom: 0;
    top: auto;
    bottom: 0;
    right: 0;
    left: auto;
  }
  #desktop-main-menu {
    display: none;
  }
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
  }
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  #mobile-main-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    bottom: 0;
    background-color: #fff;
    z-index: 999;
    padding: 1rem;
    overflow-y: auto;
    transition: right 0.3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: auto;
    padding: 20% 16px 10%;
  }
  #mobile-main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #mobile-main-menu ul li {
    margin-bottom: 10px;
    padding-right: 32px;
  }
  #mobile-main-menu ul li a {
    color: #0551BE;
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 6px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
  }
  #mobile-main-menu ul li .submenu-toggle {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    user-select: none;
    color: #0551BE;
    transition: all .3s linear;
    position: absolute;
    right: 0;
    top: 6px;
  }
  #mobile-main-menu ul li .sub-menu {
    display: block;
    padding-left: 15px;
    transition: max-height .3s linear;
    max-height: 0;
    overflow: hidden;
  }
  #mobile-main-menu ul li .sub-menu li {
    margin-bottom: 4px;
  }
  #mobile-main-menu ul li .sub-menu li a {
    font-size: 16px;
    font-weight: 400;
  }
  #mobile-main-menu ul li .sub-menu .submenu-toggle {
    display: none;
  }
  #mobile-main-menu ul li.open .sub-menu {
    display: block;
    max-height: 100000px;
  }
  #mobile-main-menu ul li.open .submenu-toggle {
    transform: rotate(45deg);
  }
  #mobile-main-menu.active {
    right: 0;
  }
  #mobile-main-menu.active .mobile-menu-close {
    display: block;
  }
  .mobile-menu-close {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #0551BE;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
  }
  .menu-open .mobile-menu-close {
    display: block;
  }
  .mobile-menu-toggle {
    position: relative;
    z-index: 990;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0;
  }
  .hamburger span {
    display: block;
    width: 32px;
    height: 6px;
    margin: 4px 0;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 3px;
  }
}

@media screen and (max-width: 420px) {
  .header .mobile-header {
    padding: 8px 16px 8px 0;
  }
  .header .header-links {
    padding: 0 8px 0 16px;
    gap: 0 8px;
  }
  .header .search-form.active input {
    width: 160px;
  }
}
