/* Final EquipCore header layer. Keeps SHOPLINE native forms, routes, drawer and cart events. */
.equipcore-header .ec-header-action-shell,
.equipcore-header .ec-top-bar__locale {
  position: relative;
}

.equipcore-header .ec-header-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: 360px;
  padding: 22px;
  color: #14243a;
  background: #fff;
  border: 1px solid #dce4ee;
  box-shadow: 0 16px 34px rgba(3, 36, 75, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.equipcore-header .ec-header-action-shell:hover > .ec-header-popover,
.equipcore-header .ec-header-action-shell:focus-within > .ec-header-popover,
.equipcore-header .ec-top-bar__locale:hover > .ec-header-popover,
.equipcore-header .ec-top-bar__locale:focus-within > .ec-header-popover,
.equipcore-header .ec-header-popover.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.equipcore-header .ec-header-popover__primary,
.equipcore-header .ec-header-popover__secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.equipcore-header .ec-header-popover__primary {
  color: #fff !important;
  background: #ff7420;
  border: 1px solid #ff7420;
}

.equipcore-header .ec-header-popover__primary:hover,
.equipcore-header .ec-header-popover__primary:focus-visible {
  color: #fff !important;
  background: #df5908;
  border-color: #df5908;
  text-decoration: none;
}

.equipcore-header .ec-header-popover__secondary {
  margin-top: 12px;
  color: #0b559f !important;
  background: #fff;
  border: 1px solid #0b66c3;
}

.equipcore-header .ec-header-popover__secondary:hover,
.equipcore-header .ec-header-popover__secondary:focus-visible {
  color: #fff !important;
  background: #0b559f;
  text-decoration: none;
}

.equipcore-header .ec-locale-popover {
  right: -82px;
  width: 380px;
}

.equipcore-header .ec-locale-popover__intro {
  margin: 0 0 16px;
  color: #667387;
  font-size: 14px;
  line-height: 1.45;
}

.equipcore-header .ec-locale-popover__field {
  display: grid;
  gap: 5px;
  min-height: 72px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid #d9e1eb;
  border-radius: 4px;
}

.equipcore-header .ec-locale-popover__field > span {
  color: #6d7787;
  font-size: 12px;
  text-transform: uppercase;
}

.equipcore-header .ec-locale-popover__field strong {
  color: #15233a;
  font-size: 16px;
}

.equipcore-header .ec-us-flag-image {
  width: 28px;
  height: 19px;
  margin-right: 6px;
  object-fit: cover;
  vertical-align: 2px;
}

.equipcore-header .ec-account-popover {
  right: -48px;
  width: 340px;
}

.equipcore-header .ec-account-popover__welcome {
  margin: 0 0 14px;
  color: #43536b;
}

.equipcore-header .ec-cart-popover {
  right: 0;
  width: 430px;
}

.equipcore-header .ec-cart-popover__empty {
  display: grid;
  justify-items: center;
  padding: 18px 8px 12px;
  text-align: center;
}

.equipcore-header .ec-cart-popover__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 70px;
  margin-bottom: 10px;
  color: #0b66c3;
  background: #eaf4ff;
  border-radius: 50%;
}

.equipcore-header .ec-cart-popover__empty-icon svg {
  width: 40px;
  height: 40px;
}

.equipcore-header .ec-cart-popover__empty strong {
  color: #16253a;
  font-size: 18px;
}

.equipcore-header .ec-cart-popover__empty p {
  margin: 5px 0 0;
  color: #6d7787;
  font-size: 13px;
}

.equipcore-header .ec-cart-popover__filled {
  display: none;
}

.equipcore-header .ec-cart-shell:not([data-cart-count="0"]) .ec-cart-popover__empty {
  display: none;
}

.equipcore-header .ec-cart-shell:not([data-cart-count="0"]) .ec-cart-popover__filled {
  display: block;
}

.equipcore-header .ec-cart-popover__summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  color: #263a56;
  border-bottom: 1px solid #e4e9f0;
}

.equipcore-header .ec-cart-popover__items {
  max-height: 250px;
  overflow-y: auto;
}

.equipcore-header .ec-cart-popover__loading {
  margin: 0;
  padding: 18px 0 8px;
  color: #66758a;
  font-size: 13px;
  text-align: center;
}

.equipcore-header .ec-cart-popover__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e4e9f0;
}

.equipcore-header .ec-cart-popover__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 78px;
  overflow: hidden;
  background: #f7f9fc;
  border: 1px solid #e0e6ef;
}

.equipcore-header .ec-cart-popover__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.equipcore-header .ec-cart-popover__item > div {
  display: grid;
  align-content: center;
  gap: 4px;
}

.equipcore-header .ec-cart-popover__title {
  display: -webkit-box;
  overflow: hidden;
  color: #132746 !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.equipcore-header .ec-cart-popover__item span {
  color: #6d7787;
  font-size: 12px;
}

.equipcore-header .ec-cart-popover__filled > .ec-header-popover__primary {
  margin-top: 16px;
}

.equipcore-header .ec-fym__dialog {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.equipcore-header .ec-fym[data-open="true"] .ec-fym__dialog {
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Hidden FYM links must not remain in the browser hit-test tree. */
.equipcore-header .ec-fym[data-open="false"] .ec-fym__dialog,
.equipcore-header .ec-fym[data-open="false"] .ec-fym__dialog * {
  pointer-events: none !important;
}

.equipcore-header .ec-fym__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(6, 24, 48, 0.58);
  border: 0;
}

.equipcore-header .ec-fym__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 30px;
  color: #15233a;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 24px 56px rgba(3, 22, 48, 0.28);
}

.equipcore-header .ec-fym__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #17365f;
  background: #f2f6fb;
  border: 0;
  border-radius: 50%;
}

.equipcore-header .ec-fym__close:hover {
  color: #fff;
  background: #0b559f;
}

.equipcore-header .ec-fym__close svg {
  width: 18px;
  height: 18px;
}

.equipcore-header .ec-fym__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #e65f0c;
  font-size: 12px;
  font-weight: 800;
}

.equipcore-header .ec-fym__panel h2 {
  margin: 0;
  padding-right: 44px;
  color: #122747;
  font-size: 26px;
  line-height: 1.2;
}

.equipcore-header .ec-fym__panel > p {
  margin: 8px 0 20px;
  color: #647288;
  font-size: 14px;
}

.equipcore-header .ec-fym__panel .ec-fym__menu {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.equipcore-header .ec-fym__panel .ec-fym__menu li {
  margin: 0;
  list-style: none;
}

.equipcore-header .ec-fym__panel .ec-fym__menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 13px;
  color: #17365f !important;
  font-size: 14px;
  font-weight: 700;
  background: #f4f8fc;
  border: 1px solid #dce5ef;
  border-radius: 4px;
}

.equipcore-header .ec-fym__panel .ec-fym__menu a:hover,
.equipcore-header .ec-fym__panel .ec-fym__menu a:focus-visible {
  color: #fff !important;
  background: #0b559f;
  border-color: #0b559f;
  text-decoration: none;
}

.equipcore-header .ec-fym__all {
  display: inline-flex;
  margin-top: 18px;
  color: #075fc0 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
}

body.ec-fym-lock {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 170px 190px minmax(300px, 1fr) auto auto !important;
    gap: 12px !important;
  }

  .equipcore-header .ec-desktop-actions {
    display: flex !important;
    align-items: stretch !important;
  }

  .equipcore-header .ec-header-action-shell {
    display: flex;
    align-items: stretch;
    height: 100%;
  }

  .equipcore-header .ec-header-action-shell > .ec-action-link {
    height: 100% !important;
  }

  .equipcore-header .ec-top-bar__locale .dropdown-menu__list {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  body.header-nav-drawer--lockscreen #shopline-section-sections--header-group__header {
    position: relative !important;
    z-index: 100000 !important;
    overflow: visible !important;
  }

  /* The native drawer script toggles .open, while the base stylesheet keeps the
     custom element at display:none. Restore the native visible state. */
  .header-nav-drawer.open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100000 !important;
    display: block !important;
  }

  .header-nav-drawer.open .header-nav-drawer__backdrop {
    z-index: 0 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(2, 24, 54, 0.48) !important;
  }

  .header-nav-drawer__content {
    z-index: 1 !important;
    width: min(88vw, 360px) !important;
    max-width: 360px !important;
    color: #0b2f5b !important;
    background: #fff !important;
    box-shadow: 16px 0 36px rgba(2, 24, 54, 0.22) !important;
  }

  .header-nav-drawer.open .header-nav-drawer__content {
    inset-block-start: 0 !important;
    inset-inline-start: 0 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
  }

  .equipcore-header .ec-header-popover {
    display: none !important;
  }

  .equipcore-header .ec-top-bar__inner {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 12px 10px !important;
    align-items: center !important;
    width: min(100% - 32px, 680px) !important;
    padding: 18px 0 0 !important;
    margin-inline: auto !important;
  }

  .equipcore-header .ec-mobile-menu {
    position: absolute !important;
    z-index: 4 !important;
    inset-block-start: 18px !important;
    inset-inline-start: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .equipcore-header .ec-mobile-menu::before {
    display: none !important;
  }

  .equipcore-header .ec-mobile-menu svg {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    color: #fff !important;
    overflow: visible !important;
  }

  .equipcore-header .ec-mobile-menu svg path {
    stroke: #fff !important;
    stroke-width: 2.2 !important;
  }

  .equipcore-header .ec-top-bar__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    width: clamp(150px, 26vw, 210px) !important;
    min-width: clamp(150px, 26vw, 210px) !important;
    max-width: 210px !important;
    margin: 0 0 0 56px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link,
  .equipcore-header .ec-top-bar__logo img {
    width: clamp(150px, 26vw, 210px) !important;
    min-width: clamp(150px, 26vw, 210px) !important;
    max-width: 210px !important;
    height: auto !important;
    background: transparent !important;
  }

  .equipcore-header .ec-mobile-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-self: end !important;
  }

  .equipcore-header .ec-mobile-action {
    min-width: 46px !important;
    color: #fff !important;
  }

  .equipcore-header .ec-top-bar__search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-search__field {
    height: 58px !important;
  }

  .equipcore-header .ec-fym {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-fym__trigger {
    width: 100% !important;
    min-height: 54px !important;
    color: #0a4f9d !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 4px !important;
  }

  .equipcore-header .ec-mobile-trust {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: calc(100% + 32px) !important;
    margin: 0 -16px !important;
    padding: 12px 16px !important;
    background: #f8fbff !important;
    border-top: 1px solid #d7e4f1 !important;
  }

  .equipcore-header .ec-bottom-bar,
  .equipcore-header .ec-top-bar__locale,
  .equipcore-header .ec-desktop-actions {
    display: none !important;
  }

  .equipcore-header .ec-fym__dialog {
    padding: 14px;
  }

  .equipcore-header .ec-fym__panel {
    width: min(100%, 520px);
    max-height: calc(100vh - 28px);
    overflow-y: auto;
    padding: 24px 18px 20px;
  }

  .equipcore-header .ec-fym__panel h2 {
    font-size: 22px;
  }

  .equipcore-header .ec-fym__panel .ec-fym__menu {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .equipcore-header .ec-top-bar__inner {
    width: calc(100% - 24px) !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 6px !important;
    padding-top: 14px !important;
  }

  .equipcore-header .ec-mobile-menu {
    inset-block-start: 14px !important;
    width: 38px !important;
  }

  .equipcore-header .ec-top-bar__logo,
  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link,
  .equipcore-header .ec-top-bar__logo img {
    width: clamp(132px, 36vw, 150px) !important;
    min-width: clamp(132px, 36vw, 150px) !important;
    max-width: 150px !important;
  }

  .equipcore-header .ec-top-bar__logo {
    margin-inline-start: 46px !important;
  }

  .equipcore-header .ec-mobile-actions {
    gap: 6px !important;
  }

  .equipcore-header .ec-mobile-action {
    min-width: 40px !important;
    font-size: 11px !important;
  }

  .equipcore-header .ec-mobile-trust {
    width: calc(100% + 24px) !important;
    margin-inline: -12px !important;
    padding-inline: 10px !important;
  }
}

/* QA interaction hardening: state is tied to the actual control, not its full-screen dialog. */
@media (min-width: 1024px) {
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover) {
    color: #07346f !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 4px 12px rgba(3, 36, 75, 0.12) !important;
  }

  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover) .ec-fym__icon,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover) .ec-fym__caret,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover) .ec-fym__label,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover) svg {
    color: #07346f !important;
    stroke: currentColor !important;
  }

  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:focus-visible:not(:hover) {
    outline: 3px solid rgba(255, 255, 255, 0.9) !important;
    outline-offset: 3px !important;
  }

  .equipcore-header .ec-top-bar__locale .theme-locale-picker__inner > theme-dropdown-menu:first-child {
    display: none !important;
  }

  .equipcore-header .ec-top-bar__locale .theme-locale-picker__inner {
    gap: 0 !important;
  }

  .equipcore-header .ec-top-bar__locale .theme-locale-picker__inner > theme-dropdown-menu:nth-child(2) .dropdown-menu__label {
    min-width: 118px !important;
    justify-content: center !important;
    gap: 6px !important;
  }
}

.equipcore-header .ec-support-popover {
  right: -58px;
  width: 320px;
  padding: 0;
  overflow: hidden;
}

.equipcore-header .ec-support-popover__availability {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 20px;
  color: #23364f;
  background: #f7faff;
  border-bottom: 1px solid #dce5ef;
}

.equipcore-header .ec-support-popover__availability > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #075fc0;
}

.equipcore-header .ec-support-popover__availability svg {
  width: 24px;
  height: 24px;
}

.equipcore-header .ec-support-popover__availability p {
  margin: 0 0 7px;
  color: #667387;
  font-size: 12px;
}

.equipcore-header .ec-support-popover__availability a {
  display: block;
  width: fit-content;
  margin-top: 5px;
  color: #15233a !important;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.equipcore-header .ec-support-popover__availability a:last-child {
  color: #087c46 !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.equipcore-header .ec-support-popover__availability a:hover,
.equipcore-header .ec-support-popover__availability a:focus-visible {
  color: #075fc0 !important;
}

.equipcore-header .ec-support-popover__links {
  display: grid;
  padding: 8px 0;
}

.equipcore-header .ec-support-popover__links a {
  min-height: 42px;
  padding: 11px 20px;
  color: #263a56 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.equipcore-header .ec-support-popover__links a:hover,
.equipcore-header .ec-support-popover__links a:focus-visible {
  color: #075fc0 !important;
  background: #edf5ff;
}

.equipcore-header .ec-category-menu__caret,
.equipcore-header .ec-category-menu__caret svg {
  width: 17px !important;
  height: 17px !important;
}

@media (max-width: 1023px) {
  .equipcore-header .ec-mobile-menu {
    position: absolute !important;
    z-index: 3 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .equipcore-header .ec-mobile-menu svg {
    display: block !important;
  }

  .equipcore-header .ec-bottom-bar {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger {
    color: #0a4f9d !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger .ec-fym__icon,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger .ec-fym__caret,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger .ec-fym__label,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger svg {
    color: #0a4f9d !important;
    stroke: currentColor !important;
  }

  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger {
    color: #fff !important;
    background: #ff7420 !important;
    border-color: #ff7420 !important;
  }
}

/* EC header canonical acceptance layer: one source of truth for the final
   desktop action rhythm and the original-theme mobile proportions. */
@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 166px 184px minmax(340px, 1fr) 120px auto !important;
    gap: 10px !important;
  }

  .equipcore-header .ec-top-bar__locale {
    min-width: 120px !important;
  }

  .equipcore-header .ec-top-bar__locale .theme-locale-picker__inner > theme-dropdown-menu:nth-child(2) .dropdown-menu__label {
    min-width: 120px !important;
    height: 52px !important;
    padding-inline: 12px !important;
    background: transparent !important;
  }

  .equipcore-header .ec-desktop-actions {
    gap: 0 !important;
    min-width: 286px !important;
    height: 52px !important;
  }

  .equipcore-header .ec-header-action-shell {
    min-width: 92px !important;
    height: 52px !important;
  }

  .equipcore-header .ec-header-action-shell.ec-support-shell {
    min-width: 100px !important;
  }

  .equipcore-header .ec-header-action-shell.ec-cart-shell {
    min-width: 88px !important;
  }

  .equipcore-header .ec-header-action-shell > .ec-action-link {
    justify-content: center !important;
    min-width: 100% !important;
    height: 52px !important;
    padding: 0 12px !important;
    gap: 7px !important;
    color: #fff !important;
    border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: transparent !important;
    transition: background-color 150ms ease, color 150ms ease !important;
  }

  .equipcore-header .ec-header-action-shell:hover > .ec-action-link,
  .equipcore-header .ec-header-action-shell:focus-within > .ec-action-link {
    color: #fff !important;
    background: #074f9c !important;
  }

  .equipcore-header .ec-action-link__icon,
  .equipcore-header .ec-action-link__icon svg,
  .equipcore-header .ec-action-link__icon svg path,
  .equipcore-header .ec-action-link--support,
  .equipcore-header .ec-action-link--support svg,
  .equipcore-header .ec-action-link--support svg path {
    color: #fff !important;
    fill: none !important;
    stroke: currentColor !important;
    opacity: 1 !important;
  }

  .equipcore-header .ec-action-link__icon svg,
  .equipcore-header .ec-action-link--support svg {
    width: 19px !important;
    height: 19px !important;
  }

  .equipcore-header .ec-locale-popover {
    right: -72px !important;
    width: 360px !important;
    padding: 20px !important;
  }

  .equipcore-header .ec-locale-popover__intro {
    margin-bottom: 14px !important;
    font-size: 13px !important;
  }

  .equipcore-header .ec-locale-popover__field {
    min-height: 66px !important;
    margin-bottom: 10px !important;
    padding: 10px 13px !important;
  }

  .equipcore-header .ec-locale-popover .ec-header-popover__primary {
    min-height: 48px !important;
    margin-top: 2px !important;
  }

  .equipcore-header .ec-support-popover {
    right: -48px !important;
    width: 310px !important;
  }

  .equipcore-header .ec-support-popover__availability {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 16px !important;
  }

  .equipcore-header .ec-support-popover__links a {
    min-height: 40px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
  }

  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:not(:hover):not(:focus-visible) {
    color: #07346f !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.86) !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 10px 8px !important;
    width: min(100% - 20px, 680px) !important;
    padding: 12px 0 0 !important;
  }

  .equipcore-header .ec-mobile-menu {
    position: absolute !important;
    inset-block-start: 12px !important;
    inset-inline-start: 0 !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
  }

  .equipcore-header .ec-mobile-menu:hover,
  .equipcore-header .ec-mobile-menu:focus-visible {
    background: rgba(255, 255, 255, 0.12) !important;
  }

  .equipcore-header .ec-mobile-menu svg {
    width: 25px !important;
    height: 25px !important;
  }

  .equipcore-header .ec-mobile-menu svg path {
    stroke-width: 1.9 !important;
  }

  .equipcore-header .ec-top-bar__logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: clamp(132px, 25vw, 180px) !important;
    min-width: 0 !important;
    max-width: 180px !important;
    margin: 0 0 0 44px !important;
  }

  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link,
  .equipcore-header .ec-top-bar__logo img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 180px !important;
  }

  .equipcore-header .ec-mobile-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
    gap: 8px !important;
  }

  .equipcore-header .ec-mobile-action {
    display: grid !important;
    grid-template-rows: 22px auto !important;
    justify-items: center !important;
    min-width: 42px !important;
    padding: 0 2px !important;
    gap: 2px !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action__icon svg {
    width: 21px !important;
    height: 21px !important;
    color: #fff !important;
  }

  .equipcore-header .ec-top-bar__search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }

  .equipcore-header .ec-search__field {
    height: 50px !important;
    min-height: 50px !important;
    border-radius: 26px !important;
  }

  .equipcore-header .ec-search__submit {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin-right: 4px !important;
  }

  .equipcore-header .ec-fym {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger {
    min-height: 48px !important;
    padding: 0 18px !important;
    color: #0a4f9d !important;
    background: #f7fbff !important;
    border-color: #dce9f6 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__icon {
    width: 20px !important;
    height: 20px !important;
  }

  .equipcore-header .ec-fym__label {
    font-size: 14px !important;
  }

  .equipcore-header .ec-mobile-trust {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    width: calc(100% + 20px) !important;
    min-height: 54px !important;
    margin: 0 -10px !important;
    padding: 8px 10px !important;
    gap: 6px !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__link {
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr) !important;
    gap: 6px !important;
    align-items: center !important;
    padding: 0 !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__icon,
  .equipcore-header .ec-mobile-trust .ec-trust__icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__title {
    font-size: 10px !important;
    line-height: 1.08 !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__sub {
    font-size: 9px !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 420px) {
  .equipcore-header .ec-top-bar__inner {
    width: calc(100% - 16px) !important;
    gap: 9px 5px !important;
    padding-top: 10px !important;
  }

  .equipcore-header .ec-mobile-menu {
    inset-block-start: 10px !important;
    width: 36px !important;
    height: 36px !important;
  }

  .equipcore-header .ec-top-bar__logo {
    width: clamp(116px, 38vw, 132px) !important;
    max-width: 132px !important;
    margin-left: 40px !important;
  }

  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link,
  .equipcore-header .ec-top-bar__logo img {
    max-width: 132px !important;
  }

  .equipcore-header .ec-mobile-actions {
    gap: 4px !important;
  }

  .equipcore-header .ec-mobile-action {
    min-width: 38px !important;
    padding-inline: 0 !important;
    font-size: 9px !important;
  }

  .equipcore-header .ec-search__field {
    height: 48px !important;
    min-height: 48px !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger {
    min-height: 46px !important;
  }

  .equipcore-header .ec-mobile-trust {
    width: calc(100% + 16px) !important;
    min-height: 50px !important;
    margin-inline: -8px !important;
    padding-inline: 8px !important;
  }
}
