:root {
  --muzafit-navy: #06244f;
  --muzafit-blue: #0757d9;
  --muzafit-blue-dark: #0349bd;
  --muzafit-red: #ef2638;
  --muzafit-green: #25d366;
  --muzafit-white: #ffffff;
}

header.muzafit-header-v2 {
  color: var(--muzafit-navy);
}

header.muzafit-header-v2 #top {
  min-height: 46px;
  background: var(--muzafit-navy) !important;
  border: 0 !important;
}

header.muzafit-header-v2 #top > .container {
  display: flex;
  align-items: center;
  width: min(100%, 1320px);
  min-height: 46px;
  margin: 0 auto;
  padding: 0 16px;
}

header.muzafit-header-v2 #top > .container > .pull-left {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
}

header.muzafit-header-v2 #top .top-menu__wishlist {
  order: 2;
}

header.muzafit-header-v2 #top .top-menu__compare {
  order: 3;
}

header.muzafit-header-v2 #top .top-menu__currency {
  order: 4;
}

header.muzafit-header-v2 #top .top-menu__account {
  order: 5;
}

header.muzafit-header-v2 #top > .container > div {
  float: none !important;
}

header.muzafit-header-v2 #top .top-links__a,
header.muzafit-header-v2 #top .top-menu__btn,
header.muzafit-header-v2 #top .top-menu__compare-btn,
header.muzafit-header-v2 #top .top-menu__wishlist-btn,
header.muzafit-header-v2 #top > .container > div > a {
  color: #ffffff !important;
}

header.muzafit-header-v2 #top > .container > .pull-left .top-links__ul > .top-links__li > .top-links__a,
header.muzafit-header-v2 #top > .container > div > .btn-group > .top-menu__btn {
  color: #ffffff !important;
}

header.muzafit-header-v2 #top .dropdown-menu a {
  color: var(--muzafit-navy) !important;
}

header.muzafit-header-v2 > .container:not(#main-menu) {
  width: 100%;
  max-width: none;
  padding: 20px max(24px, calc((100vw - 1290px) / 2)) 18px;
  background: var(--muzafit-blue);
}

header.muzafit-header-v2 .header-block {
  display: grid;
  grid-template-columns: 220px 220px minmax(330px, 1fr) 150px;
  grid-template-areas:
    "logo promo phone cart"
    "search search search search";
  gap: 18px 24px;
  align-items: center;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 !important;
}

header.muzafit-header-v2 .header-block::before,
header.muzafit-header-v2 .header-block::after {
  display: none;
}

header.muzafit-header-v2 .header-block__item {
  float: none !important;
  width: auto !important;
  min-height: 0;
  padding: 0 !important;
}

header.muzafit-header-v2 .header-block__item-logo {
  grid-area: logo;
  justify-self: start;
}

header.muzafit-header-v2 .header-logo,
header.muzafit-header-v2 #logo .header-logo__img {
  margin: 0 !important;
}

header.muzafit-header-v2 #logo .header-logo__img {
  width: 150px !important;
  max-width: 150px !important;
  height: 150px !important;
  max-height: 150px !important;
  object-fit: contain !important;
  background: transparent !important;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

header.muzafit-header-v2 .muzafit-discount {
  grid-area: promo;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 190px;
  min-height: 72px;
  padding: 12px 18px;
  color: #ffffff !important;
  background: var(--muzafit-red);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(2, 25, 73, 0.18);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 160ms ease, transform 160ms ease;
}

header.muzafit-header-v2 .muzafit-discount:hover,
header.muzafit-header-v2 .muzafit-discount:focus {
  color: #ffffff !important;
  background: #d9192c;
  transform: translateY(-1px);
}

header.muzafit-header-v2 .header-block__item-telephone {
  grid-area: phone;
  justify-self: center;
  min-width: 0;
}

header.muzafit-header-v2 .header-phones {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, auto) 46px 20px;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  margin: 0;
  color: #ffffff;
}

header.muzafit-header-v2 .header-phones__main {
  grid-column: 1;
  grid-row: 1;
  color: #ffffff !important;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none !important;
  white-space: nowrap;
}

header.muzafit-header-v2 .muzafit-callback {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin-top: 6px;
  color: #ffffff !important;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none !important;
}

header.muzafit-header-v2 .muzafit-callback:hover,
header.muzafit-header-v2 .muzafit-callback:focus {
  border-bottom-style: solid;
}

header.muzafit-header-v2 .muzafit-whatsapp {
  grid-column: 2;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #ffffff !important;
  background: var(--muzafit-green);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 45, 24, 0.24);
  font-size: 26px;
  text-decoration: none !important;
  transition: background-color 160ms ease, transform 160ms ease;
}

header.muzafit-header-v2 .muzafit-whatsapp:hover,
header.muzafit-header-v2 .muzafit-whatsapp:focus {
  color: #ffffff !important;
  background: #18b957;
  transform: translateY(-1px);
}

header.muzafit-header-v2 .header-phones__show-phone {
  grid-column: 3;
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 12px;
}

header.muzafit-header-v2 .header-phones__ul {
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  color: var(--muzafit-navy);
}

header.muzafit-header-v2 .header-block__item-cart {
  grid-area: cart;
  justify-self: end;
}

header.muzafit-header-v2 .header-cart__btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 130px;
  min-height: 60px;
  padding: 8px !important;
  color: #ffffff !important;
  background: transparent !important;
  border: 0 !important;
}

header.muzafit-header-v2 .header-cart__icon {
  color: #ffffff !important;
  font-size: 38px;
}

header.muzafit-header-v2 .header-cart__total-items {
  top: 3px !important;
  right: auto !important;
  bottom: auto !important;
  left: 37px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  background: var(--muzafit-red) !important;
  border: 2px solid #ffffff;
  border-radius: 50% !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1 !important;
  text-align: center;
  transform: none !important;
}

header.muzafit-header-v2 .muzafit-cart-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  line-height: 1.2;
}

header.muzafit-header-v2 .muzafit-cart-label strong {
  font-size: 16px;
  font-weight: 600;
}

header.muzafit-header-v2 .muzafit-cart-label small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

header.muzafit-header-v2 #search {
  grid-area: search;
  display: block !important;
  width: 100% !important;
}

header.muzafit-header-v2 #search .header-search__form {
  min-height: 54px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(6, 36, 79, 0.12);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(3, 27, 75, 0.14);
}

header.muzafit-header-v2 #search .header-search__category {
  display: none !important;
}

header.muzafit-header-v2 #search .header-search__input {
  padding-left: 18px !important;
  border-left: 0 !important;
}

header.muzafit-header-v2 #search .header-search__category-btn,
header.muzafit-header-v2 #search .header-search__input,
header.muzafit-header-v2 #search .header-search__btn {
  min-height: 52px;
}

header.muzafit-header-v2 #search .header-search__btn {
  color: var(--muzafit-navy) !important;
}

header.muzafit-header-v2 #main-menu {
  width: 100%;
  max-width: none;
  min-height: 56px;
  padding: 0 !important;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 5px 15px rgba(6, 36, 79, 0.07);
}

header.muzafit-header-v2 #main-menu > .row {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

header.muzafit-header-v2 #main-menu .menu-wrapper {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

header.muzafit-header-v2 #main-menu #search2 {
  display: none !important;
}

@media (min-width: 992px) {
  header.muzafit-header-v2 #main-menu > .row,
  header.muzafit-header-v2 #main-menu .menu-wrapper,
  header.muzafit-header-v2 #main-menu .menu {
    min-height: 56px;
  }

  header.muzafit-header-v2 #main-menu .menu__collapse {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: stretch;
    width: 100% !important;
    min-height: 56px;
    margin: 0 !important;
    background: #ffffff !important;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-li {
    flex: 1 1 0;
    border-right: 1px solid #e6ebf2;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-li:first-child {
    border-left: 1px solid #e6ebf2;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-li:first-child > .menu__level-2 {
    right: auto !important;
    left: 0 !important;
    transform: none !important;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-li:nth-child(n+4) > .menu__level-2 {
    right: 0 !important;
    left: auto !important;
    transform: none !important;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 12px 16px !important;
    color: var(--muzafit-navy) !important;
    background: #ffffff !important;
    font-weight: 600;
    text-align: center;
  }

  header.muzafit-header-v2 #main-menu .menu__level-1-a:hover,
  header.muzafit-header-v2 #main-menu .menu__level-1-li:hover > .menu__level-1-a {
    color: var(--muzafit-blue-dark) !important;
    background: #f4f7fb !important;
  }
}

@media (max-width: 1199px) {
  header.muzafit-header-v2 .header-block {
    grid-template-columns: 170px 165px minmax(290px, 1fr) 115px;
    gap: 16px 18px;
  }

  header.muzafit-header-v2 #logo .header-logo__img {
    width: 130px !important;
    max-width: 130px !important;
    height: 130px !important;
    max-height: 130px !important;
  }

  header.muzafit-header-v2 .muzafit-discount {
    width: 150px;
    min-height: 64px;
    font-size: 20px;
  }

  header.muzafit-header-v2 .header-cart__btn {
    min-width: 105px;
  }

  header.muzafit-header-v2 .muzafit-cart-label {
    display: none;
  }
}

@media (max-width: 991px) {
  header.muzafit-header-v2 #top > .container {
    overflow-x: auto;
  }

  header.muzafit-header-v2 #top > .container > .pull-left {
    display: none;
  }

  header.muzafit-header-v2 #top .top-menu__wishlist {
    margin-left: auto;
  }

  header.muzafit-header-v2 > .container:not(#main-menu) {
    padding: 16px 20px;
  }

  header.muzafit-header-v2 .header-block {
    grid-template-columns: 140px 145px minmax(250px, 1fr) 74px;
    gap: 14px;
  }

  header.muzafit-header-v2 #logo .header-logo__img {
    width: 112px !important;
    max-width: 112px !important;
    height: 112px !important;
    max-height: 112px !important;
  }

  header.muzafit-header-v2 .muzafit-discount {
    width: 132px;
    min-height: 56px;
    padding: 10px 12px;
    font-size: 18px;
  }

  header.muzafit-header-v2 .header-phones {
    grid-template-columns: minmax(165px, auto) 42px 18px;
    column-gap: 9px;
  }

  header.muzafit-header-v2 .muzafit-whatsapp {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  header.muzafit-header-v2 #main-menu .menu-open {
    float: none !important;
    width: 100%;
    min-height: 50px;
    margin: 0;
    color: var(--muzafit-navy);
    background: #ffffff;
  }
}

@media (max-width: 767px) {
  header.muzafit-header-v2 #top {
    min-height: 40px;
  }

  header.muzafit-header-v2 #top > .container {
    min-height: 40px;
    padding: 0 10px;
  }

  header.muzafit-header-v2 #top .top-menu__currency {
    display: none;
  }

  header.muzafit-header-v2 > .container:not(#main-menu) {
    padding: 12px;
  }

  header.muzafit-header-v2 .header-block {
    grid-template-columns: 96px minmax(180px, 1fr) 52px;
    grid-template-areas:
      "logo phone cart"
      "promo phone cart"
      "search search search";
    gap: 10px 12px;
  }

  header.muzafit-header-v2 #logo .header-logo__img {
    width: 86px !important;
    max-width: 86px !important;
    height: 86px !important;
    max-height: 86px !important;
  }

  header.muzafit-header-v2 .muzafit-discount {
    width: 96px;
    min-height: 38px;
    gap: 6px;
    padding: 7px 8px;
    font-size: 14px;
  }

  header.muzafit-header-v2 .header-block__item-telephone {
    justify-self: center;
  }

  header.muzafit-header-v2 .header-phones {
    grid-template-columns: minmax(140px, auto) 38px;
    column-gap: 8px;
  }

  header.muzafit-header-v2 .header-phones__main {
    font-size: clamp(16px, 4.7vw, 21px);
  }

  header.muzafit-header-v2 .muzafit-callback {
    margin-top: 4px;
    font-size: 13px;
  }

  header.muzafit-header-v2 .muzafit-whatsapp {
    grid-column: 2;
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  header.muzafit-header-v2 .header-phones__show-phone {
    display: none !important;
  }

  header.muzafit-header-v2 .header-block__item-cart {
    align-self: center;
  }

  header.muzafit-header-v2 .header-cart__btn {
    min-width: 48px;
    min-height: 48px;
    padding: 4px !important;
  }

  header.muzafit-header-v2 .header-cart__icon {
    font-size: 30px;
  }

  header.muzafit-header-v2 .header-cart__total-items {
    top: 1px !important;
    left: 28px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    font-size: 10px !important;
  }

  header.muzafit-header-v2 #search .header-search__form,
  header.muzafit-header-v2 #search .header-search__category-btn,
  header.muzafit-header-v2 #search .header-search__input,
  header.muzafit-header-v2 #search .header-search__btn {
    min-height: 46px;
  }
}

@media (max-width: 420px) {
  header.muzafit-header-v2 #top .top-menu__compare {
    display: none;
  }

  header.muzafit-header-v2 .header-block {
    grid-template-columns: 84px minmax(162px, 1fr) 46px;
    gap: 8px;
  }

  header.muzafit-header-v2 #logo .header-logo__img {
    width: 76px !important;
    max-width: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
  }

  header.muzafit-header-v2 .muzafit-discount {
    width: 84px;
    padding: 6px;
    font-size: 12px;
  }

  header.muzafit-header-v2 .header-phones {
    grid-template-columns: minmax(124px, auto) 34px;
    column-gap: 6px;
  }

  header.muzafit-header-v2 .muzafit-whatsapp {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
}

.ocf-container .ocf-footer .ocf-between {
  display: flex !important;
  align-items: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
}

.ocf-container .ocf-footer .ocf-between > .ocf-btn {
  min-width: 0 !important;
}

.ocf-container .ocf-footer [data-ocf-discard="*"] {
  flex: 0 1 auto;
  padding-right: 6px !important;
  padding-left: 6px !important;
}

.ocf-container .ocf-footer .ocf-search-btn-static {
  flex: 1 1 0;
  width: auto !important;
  min-height: 38px;
  padding-right: 6px !important;
  padding-left: 6px !important;
  font-size: 12px;
  line-height: 18px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ocf-popover {
  display: none !important;
  opacity: 0 !important;
}

@media (min-width: 768px) {
  .ocf-container.ocf-vertical.ocf-left {
    position: relative;
    left: -16px;
  }
}
