/* EquipCore header R3: one acceptance layer for support, mobile geometry and states. */
.equipcore-header {
  --ec-blue: #075bbb;
  --ec-blue-dark: #063f82;
  --ec-navy: #073767;
  --ec-orange: #ff7420;
  --ec-line: #dbe5ef;
  --ec-shadow: 0 14px 32px rgba(4, 37, 78, 0.18);
}

.equipcore-header .ec-action-link,
.equipcore-header .ec-mobile-action,
.equipcore-header .ec-fym__trigger,
.equipcore-header .ec-search__submit,
.equipcore-header .ec-mobile-menu {
  letter-spacing: 0;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.equipcore-header .ec-action-link__icon,
.equipcore-header .ec-action-link__icon svg,
.equipcore-header .ec-mobile-action__icon,
.equipcore-header .ec-mobile-action__icon svg {
  color: currentColor;
  fill: currentColor;
}

.equipcore-header .ec-action-link__icon svg path,
.equipcore-header .ec-mobile-action__icon svg path {
  fill: currentColor;
}

.equipcore-header .ec-support-shell .ec-action-link--support {
  color: #fff;
}

.equipcore-header .ec-support-shell .ec-action-link--support:hover,
.equipcore-header .ec-support-shell .ec-action-link--support:focus-visible,
.equipcore-header .ec-support-shell:focus-within .ec-action-link--support {
  color: #fff;
  background: #064d9d;
}

.equipcore-header .ec-support-popover {
  width: 330px;
  padding: 0;
  overflow: hidden;
  color: #172b45;
  background: #fff;
  border: 1px solid #dbe4ed;
  border-radius: 0 0 6px 6px;
  box-shadow: var(--ec-shadow);
}

.equipcore-header .ec-support-popover__contact {
  display: grid;
  gap: 8px;
  padding: 18px 24px 19px;
  background: #f4f7fa;
  border-block-end: 1px solid #e1e8ef;
}

.equipcore-header .ec-support-popover__hours {
  margin: 0 0 2px;
  color: #77808b;
  font-size: 13px;
  line-height: 1.35;
}

.equipcore-header .ec-support-popover__contact a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 26px;
  color: #172b45;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
}

.equipcore-header .ec-support-popover__contact a > span,
.equipcore-header .ec-support-popover__contact a > span svg {
  display: block;
  width: 22px;
  height: 22px;
  color: #075bbb;
}

.equipcore-header .ec-support-popover__contact a strong {
  font-weight: 700;
}

.equipcore-header .ec-support-popover__contact a:hover,
.equipcore-header .ec-support-popover__contact a:focus-visible {
  color: #075bbb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.equipcore-header .ec-support-popover__contact .ec-support-popover__whatsapp {
  color: #078c45;
}

.equipcore-header .ec-support-popover__whatsapp span,
.equipcore-header .ec-support-popover__whatsapp svg {
  color: #16b95d !important;
}

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

.equipcore-header .ec-support-popover__links a {
  min-height: 42px;
  padding: 11px 22px;
  color: #26394f;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.equipcore-header .ec-support-popover__links a:hover,
.equipcore-header .ec-support-popover__links a:focus-visible {
  color: #075bbb;
  background: #f3f7fb;
}

.equipcore-header .ec-mobile-support {
  display: none;
}

.equipcore-header .ec-fym__trigger:hover,
.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger {
  color: #fff;
  background: var(--ec-orange);
  border-color: var(--ec-orange);
}

.equipcore-header .ec-fym__trigger {
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease !important;
}

.equipcore-header .ec-fym:not([data-open="true"]) .ec-fym__trigger:not(:hover) {
  color: #073767;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.65);
  transition: none !important;
}

.equipcore-header .ec-fym__trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.equipcore-header .ec-fym[data-open="false"] .ec-fym__trigger:focus-visible:not(:hover) {
  color: #073767 !important;
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  outline: 2px solid #8fc0ef !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(7, 91, 187, 0.18) !important;
}

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

body.ec-mobile-support-lock {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .equipcore-header .ec-bottom-bar {
    display: none !important;
  }

  .equipcore-header .ec-top-bar {
    background: var(--ec-blue);
  }

  .equipcore-header .ec-top-bar__inner {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    grid-template-areas:
      "menu logo actions"
      "search search search"
      "fym fym fym" !important;
    gap: 5px 8px !important;
    align-items: center !important;
    width: min(100%, 768px) !important;
    min-height: 0 !important;
    padding: 6px 14px 0 !important;
    margin-inline: auto !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-menu {
    grid-area: menu !important;
    position: static !important;
    inset: auto !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    transform: none !important;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !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: 24px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo {
    grid-area: logo !important;
    position: static !important;
    inset: auto !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 34px !important;
    margin: 0 !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 {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: clamp(128px, 38vw, 148px) !important;
    max-width: none !important;
    height: 34px !important;
    margin: 0 !important;
    background: transparent !important;
    object-fit: contain !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-area: actions !important;
    position: static !important;
    inset: auto !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    gap: 2px !important;
    align-items: center !important;
    justify-self: end !important;
    min-width: 0 !important;
    height: 34px !important;
  }

  .equipcore-header .ec-mobile-action {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 22px !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
  }

  .equipcore-header .ec-mobile-action:hover,
  .equipcore-header .ec-mobile-action:focus-visible,
  .equipcore-header .ec-mobile-action[aria-expanded="true"] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12) !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action__icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    color: inherit !important;
  }

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

  .equipcore-header .ec-mobile-action--support .ec-mobile-action__label {
    display: none !important;
  }

  .equipcore-header .ec-mobile-action--support {
    display: grid !important;
    grid-template-rows: 1fr !important;
    width: 34px !important;
    min-width: 34px !important;
  }

  .equipcore-header .ec-mobile-action--support svg *,
  .equipcore-header .ec-action-link--support svg * {
    color: inherit !important;
  }

  .equipcore-header .ec-mobile-action--support svg [stroke]:not([stroke="none"]),
  .equipcore-header .ec-action-link--support svg [stroke]:not([stroke="none"]) {
    stroke: currentColor !important;
  }

  .equipcore-header .ec-mobile-action--support svg [fill]:not([fill="none"]),
  .equipcore-header .ec-action-link--support svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
  }

  .equipcore-header .ec-mobile-action .ec-cart-count {
    inset-block-start: -2px !important;
    inset-inline-end: -1px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding-inline: 4px !important;
    font-size: 9px !important;
    line-height: 17px !important;
  }

  .equipcore-header .ec-top-bar__search {
    grid-area: search !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-search__field {
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-search__input {
    min-width: 0 !important;
    height: 38px !important;
    padding-inline: 40px 50px !important;
    font-size: 13px !important;
  }

  .equipcore-header .ec-search__submit {
    inset-inline-end: 4px !important;
    width: 32px !important;
    height: 32px !important;
    color: #fff !important;
    background: var(--ec-orange) !important;
    border-radius: 50% !important;
  }

  .equipcore-header .ec-fym {
    grid-area: fym !important;
    width: calc(100% + 28px) !important;
    height: 36px !important;
    margin: 0 -14px !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym:not([data-open="true"]) .ec-fym__trigger:not(:hover) {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding-inline: 18px !important;
    color: #073767 !important;
    background: #fff !important;
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__trigger:hover,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger {
    color: #073767 !important;
    background: #f5f8fc !important;
    border-color: #d8e3ee !important;
  }

  .equipcore-header .ec-fym__trigger:focus-visible {
    outline-color: #075bbb;
  }

  .equipcore-header .ec-fym__label {
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  .equipcore-header .ec-mobile-trust {
    display: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: calc(100% + 28px) !important;
    min-height: 38px !important;
    margin: 0 -14px !important;
    padding: 5px 12px !important;
    color: #073767 !important;
    background: #f6f9fc !important;
    border-block-start: 1px solid #d9e4ee !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__item {
    display: block !important;
    min-width: 0 !important;
  }

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

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

  .equipcore-header .ec-mobile-trust .ec-trust__text,
  .equipcore-header .ec-mobile-trust .ec-trust__title,
  .equipcore-header .ec-mobile-trust .ec-trust__sub {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__title {
    font-size: 9px !important;
  }

  .equipcore-header .ec-mobile-trust .ec-trust__sub {
    color: #5d6d80 !important;
    font-size: 8px !important;
  }

  .equipcore-header .ec-mobile-support {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10040 !important;
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: visibility 0s linear 220ms, opacity 180ms ease !important;
  }

  .equipcore-header .ec-mobile-support[data-open="true"] {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition-delay: 0s !important;
  }

  .equipcore-header .ec-mobile-support__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(3, 25, 52, 0.52) !important;
    border: 0 !important;
  }

  .equipcore-header .ec-mobile-support__panel {
    position: absolute !important;
    inset-block: 0 !important;
    inset-inline-start: 0 !important;
    width: min(100%, 410px) !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
    color: #172b45 !important;
    background: #fff !important;
    box-shadow: 12px 0 32px rgba(3, 25, 52, 0.24) !important;
    transform: translateX(-100%) !important;
    transition: transform 220ms ease !important;
  }

  .equipcore-header .ec-mobile-support[data-open="true"] .ec-mobile-support__panel {
    transform: translateX(0) !important;
  }

  .equipcore-header .ec-mobile-support__head {
    display: flex !important;
    gap: 16px !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 22px 22px 18px !important;
    color: #fff !important;
    background: var(--ec-blue) !important;
  }

  .equipcore-header .ec-mobile-support__eyebrow {
    display: block !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }

  .equipcore-header .ec-mobile-support__head h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: 23px !important;
    line-height: 1.2 !important;
  }

  .equipcore-header .ec-mobile-support__close {
    display: grid !important;
    flex: 0 0 40px !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 4px !important;
  }

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

  .equipcore-header .ec-mobile-support__contact {
    padding: 22px !important;
    background: #f4f7fa !important;
    border-block-end: 1px solid #dfe7ef !important;
  }

  .equipcore-header .ec-mobile-support__contact p {
    margin: 0 0 12px !important;
    color: #6e7884 !important;
    font-size: 14px !important;
  }

  .equipcore-header .ec-mobile-support__contact a {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    width: fit-content !important;
    min-height: 36px !important;
    color: #172b45 !important;
    font-size: 16px !important;
    text-decoration: none !important;
  }

  .equipcore-header .ec-mobile-support__contact a:hover,
  .equipcore-header .ec-mobile-support__contact a:focus-visible {
    color: #075bbb !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  .equipcore-header .ec-mobile-support__contact a span,
  .equipcore-header .ec-mobile-support__contact a svg {
    width: 22px !important;
    height: 22px !important;
  }

  .equipcore-header .ec-mobile-support__contact .ec-mobile-support__whatsapp {
    color: #078c45 !important;
  }

  .equipcore-header .ec-mobile-support__links {
    display: grid !important;
    gap: 8px !important;
    padding: 18px 16px 28px !important;
  }

  .equipcore-header .ec-mobile-support__links a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    padding: 12px 16px !important;
    color: #172b45 !important;
    background: #fff !important;
    border: 1px solid #dbe4ed !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(3, 25, 52, 0.06) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .equipcore-header .ec-mobile-support__links a:hover,
  .equipcore-header .ec-mobile-support__links a:focus-visible {
    color: #075bbb !important;
    border-color: #8ab5df !important;
    background: #f6f9fc !important;
  }

  .equipcore-header .ec-mobile-support__links a svg {
    width: 18px !important;
    height: 18px !important;
  }
}

@media (max-width: 420px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 34px minmax(118px, 1fr) 104px !important;
    gap: 7px 5px !important;
    padding-inline: 12px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 32px) !important;
    gap: 4px !important;
    width: 104px !important;
    height: 34px !important;
  }

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

  .equipcore-header .ec-mobile-action {
    width: 32px !important;
    min-width: 32px !important;
  }

  .equipcore-header .ec-mobile-action__label {
    max-width: 100% !important;
    font-size: 9px !important;
  }

  .equipcore-header .ec-mobile-action--support {
    display: grid !important;
    width: 32px !important;
    min-width: 32px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo {
    width: auto !important;
    max-width: none !important;
    margin: 0 !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(116px, 36vw, 138px) !important;
    max-width: none !important;
  }

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

  .equipcore-header .ec-search__input {
    height: 38px !important;
  }

  .equipcore-header .ec-search__submit {
    width: 32px !important;
    height: 32px !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym:not([data-open="true"]) .ec-fym__trigger:not(:hover) {
    min-height: 36px !important;
    border-radius: 0 !important;
  }

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

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

  .equipcore-header .ec-mobile-trust .ec-trust__link {
    grid-template-columns: 21px minmax(0, 1fr) !important;
    gap: 4px !important;
  }

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

@media (max-width: 340px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 32px minmax(102px, 1fr) 94px !important;
    gap-inline: 4px !important;
    padding-inline: 9px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-menu {
    width: 34px !important;
    height: 34px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-template-columns: repeat(3, 30px) !important;
    gap: 2px !important;
    width: 94px !important;
    height: 32px !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 18px) !important;
    margin-inline: -9px !important;
  }

  .equipcore-header .ec-mobile-action {
    width: 30px !important;
    min-width: 30px !important;
  }

  .equipcore-header .ec-mobile-action--support {
    width: 30px !important;
    min-width: 30px !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(108px, 35vw, 122px) !important;
  }

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

@media (min-width: 1024px) {
  .equipcore-header .ec-mobile-support,
  .equipcore-header .ec-mobile-action--support {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .equipcore-header .ec-mobile-support,
  .equipcore-header .ec-mobile-support__panel,
  .equipcore-header .ec-action-link,
  .equipcore-header .ec-mobile-action,
  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-search__submit {
    transition: none !important;
  }
}

/* Header QA 2026-07-19: normalize states and match the compact three-row shell. */
@media (min-width: 1024px) {
  .equipcore-header .ec-fym__trigger:hover {
    color: #073767 !important;
    background: #f5f8fc !important;
    border-color: #d2e0ed !important;
    box-shadow: 0 4px 12px rgba(3, 46, 95, 0.1) !important;
  }

  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] {
    color: #073767 !important;
    background: #fff !important;
    border-color: #d2e0ed !important;
    outline: 0 !important;
    box-shadow: 0 4px 12px rgba(3, 46, 95, 0.1) !important;
  }

  .equipcore-header .ec-fym__trigger:focus:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__trigger:focus-visible {
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(143, 192, 239, 0.52) !important;
  }

  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:focus-visible,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(143, 192, 239, 0.52) !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    gap: 5px 6px !important;
    padding: 6px 12px 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-menu {
    width: 30px !important;
    height: 30px !important;
  }

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

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo,
  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link {
    height: 30px !important;
  }

  .equipcore-header .ec-top-bar__logo img {
    width: clamp(116px, 36vw, 138px) !important;
    height: 26px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    display: grid !important;
    grid-template-columns: repeat(3, 30px) !important;
    gap: 2px !important;
    align-items: center !important;
    width: 94px !important;
    height: 30px !important;
  }

  .equipcore-header .ec-mobile-action,
  .equipcore-header .ec-mobile-action--support {
    display: grid !important;
    place-items: center !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action__icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .equipcore-header .ec-top-bar__search,
  .equipcore-header .ec-search__field {
    height: 42px !important;
    min-height: 42px !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 24px) !important;
    height: 36px !important;
    margin-inline: -12px !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym:not([data-open="true"]) .ec-fym__trigger:not(:hover) {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding-inline: 18px !important;
    color: #073767 !important;
    background: #fff !important;
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-fym__trigger:hover {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding-inline: 18px !important;
    color: #073767 !important;
    background: #f8fafc !important;
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] {
    width: 100% !important;
    height: 36px !important;
    min-height: 36px !important;
    padding-inline: 18px !important;
    color: #073767 !important;
    background: #fff !important;
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    border-radius: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-fym__trigger:focus-visible {
    outline: 0 !important;
    box-shadow: inset 0 0 0 2px rgba(7, 91, 187, 0.42) !important;
  }

  .equipcore-header .ec-fym__trigger:focus:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__trigger .ec-fym__icon,
  .equipcore-header .ec-fym__trigger .ec-fym__caret,
  .equipcore-header .ec-fym__trigger .ec-fym__label,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger .ec-fym__icon,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger .ec-fym__caret,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger .ec-fym__label,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] .ec-fym__icon,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] .ec-fym__caret,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] .ec-fym__label {
    color: #075bbb !important;
    stroke: currentColor !important;
  }

  .equipcore-header .ec-fym__label {
    font-size: 13px !important;
    line-height: 1 !important;
  }

  .equipcore-header .ec-fym__icon,
  .equipcore-header .ec-fym__icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .equipcore-header .ec-fym__caret,
  .equipcore-header .ec-fym__caret svg {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 420px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 30px minmax(108px, 1fr) 94px !important;
    gap-inline: 4px !important;
    padding-inline: 10px !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 20px) !important;
    margin-inline: -10px !important;
  }
}

@media (max-width: 340px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 30px minmax(100px, 1fr) 88px !important;
    padding-inline: 8px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-template-columns: repeat(3, 28px) !important;
    width: 88px !important;
  }

  .equipcore-header .ec-mobile-action,
  .equipcore-header .ec-mobile-action--support {
    width: 28px !important;
    min-width: 28px !important;
  }

  .equipcore-header .ec-top-bar__logo img {
    width: clamp(106px, 35vw, 118px) !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 16px) !important;
    margin-inline: -8px !important;
  }
}

/* Keep the expanded fitment control visually stable after pointer and keyboard use. */
.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:hover,
.equipcore-header .ec-fym__trigger[aria-expanded="true"],
.equipcore-header .ec-fym__trigger[aria-expanded="true"]:hover {
  color: #073767 !important;
  background: #fff !important;
  border-color: #d2e0ed !important;
  transform: none !important;
}

.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:focus:not(:focus-visible),
.equipcore-header .ec-fym__trigger[aria-expanded="true"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

@media (min-width: 1024px) {
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:hover,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"],
  .equipcore-header .ec-fym__trigger[aria-expanded="true"]:hover {
    box-shadow: 0 4px 12px rgba(3, 46, 95, 0.1) !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:hover,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"],
  .equipcore-header .ec-fym__trigger[aria-expanded="true"]:hover {
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    box-shadow: none !important;
  }
}

/* Final QA consolidation: one compact scale and one interaction state model. */
.equipcore-header .ec-fym__trigger,
.equipcore-header .ec-fym__trigger:hover,
.equipcore-header .ec-fym__trigger:active,
.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
.equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:hover,
.equipcore-header .ec-fym__trigger[aria-expanded="true"],
.equipcore-header .ec-fym__trigger[aria-expanded="true"]:hover {
  color: #073767 !important;
  background: #fff !important;
  border-color: #d2e0ed !important;
  outline: 0 !important;
  transform: none !important;
}

.equipcore-header .ec-fym[data-open="true"] .ec-fym__caret {
  transform: rotate(180deg) !important;
}

.equipcore-header .ec-support-shell .ec-action-link--support,
.equipcore-header .ec-support-shell .ec-action-link--support:hover,
.equipcore-header .ec-support-shell .ec-action-link--support:focus-visible {
  color: #fff !important;
}

.equipcore-header .ec-support-shell .ec-action-link--support .ec-action-link__icon,
.equipcore-header .ec-support-shell .ec-action-link--support .ec-action-link__icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: currentColor !important;
}

.equipcore-header .ec-support-shell .ec-action-link--support svg [stroke]:not([stroke="none"]) {
  stroke: currentColor !important;
}

.equipcore-header .ec-support-shell .ec-action-link--support svg [fill]:not([fill="none"]) {
  fill: currentColor !important;
}

@media (min-width: 1024px) {
  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger:hover,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] {
    box-shadow: 0 2px 8px rgba(3, 46, 95, 0.08) !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 28px minmax(0, 1fr) 88px !important;
    grid-template-rows: 28px 38px 32px !important;
    gap: 4px 6px !important;
    padding: 5px 12px 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-menu {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }

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

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo,
  .equipcore-header .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar__logo .header__logo-link {
    height: 28px !important;
  }

  .equipcore-header .ec-top-bar__logo img {
    width: clamp(112px, 35vw, 132px) !important;
    height: 24px !important;
    object-fit: contain !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-template-columns: repeat(3, 28px) !important;
    gap: 2px !important;
    width: 88px !important;
    height: 28px !important;
  }

  .equipcore-header .ec-mobile-action,
  .equipcore-header .ec-mobile-action--support {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action__icon svg {
    width: 19px !important;
    height: 19px !important;
  }

  .equipcore-header .ec-top-bar__search,
  .equipcore-header .ec-search__field {
    height: 38px !important;
    min-height: 38px !important;
  }

  .equipcore-header .ec-search__field {
    border-radius: 20px !important;
  }

  .equipcore-header .ec-search__input,
  .equipcore-header .ec-search__input input {
    min-height: 36px !important;
    height: 36px !important;
  }

  .equipcore-header .ec-search__submit {
    width: 31px !important;
    min-width: 31px !important;
    height: 31px !important;
    min-height: 31px !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 24px) !important;
    height: 32px !important;
    margin-inline: -12px !important;
  }

  .equipcore-header .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger:hover,
  .equipcore-header .ec-fym__trigger:active,
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger,
  .equipcore-header .ec-fym__trigger[aria-expanded="true"] {
    width: 100% !important;
    height: 32px !important;
    min-height: 32px !important;
    padding-inline: 16px !important;
    color: #073767 !important;
    background: #fff !important;
    border: 0 !important;
    border-block: 1px solid #d8e3ee !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__trigger:focus:not(:focus-visible),
  .equipcore-header .ec-fym[data-open="true"] .ec-fym__trigger:focus:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__trigger:focus-visible {
    outline: 2px solid #75aee5 !important;
    outline-offset: -3px !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-fym__label {
    font-size: 12.5px !important;
    line-height: 1 !important;
  }

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

  .equipcore-header .ec-fym__caret,
  .equipcore-header .ec-fym__caret svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 420px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 28px minmax(104px, 1fr) 88px !important;
    padding-inline: 10px !important;
  }

  .equipcore-header .ec-fym {
    width: calc(100% + 20px) !important;
    margin-inline: -10px !important;
  }
}

@media (max-width: 340px) {
  .equipcore-header .ec-top-bar__inner {
    grid-template-columns: 26px minmax(96px, 1fr) 82px !important;
    padding-inline: 8px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-template-columns: repeat(3, 26px) !important;
    width: 82px !important;
  }

  .equipcore-header .ec-mobile-action,
  .equipcore-header .ec-mobile-action--support {
    width: 26px !important;
    min-width: 26px !important;
  }

  .equipcore-header .ec-top-bar__logo img {
    width: clamp(102px, 34vw, 114px) !important;
  }
}
