/*
 * EquipCore header R5
 * Geometry and interaction states measured against industrial parts on 2026-07-21.
 * This layer intentionally wins over R2-R4 while retaining SHOPLINE-native
 * search, account, locale, cart, drawer and checkout routes.
 */

.equipcore-header .ec-source-glyph {
  display: block;
  color: currentColor;
  font-family: "EquipCore Icons" !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.equipcore-header .ec-source-glyph::before {
  display: block;
}

.equipcore-header .ec-source-glyph--support::before {
  content: "\e692";
}

.equipcore-header .ec-source-glyph--account::before {
  content: "\e886";
}

.equipcore-header .ec-source-glyph--cart::before {
  content: "\e613";
}

.equipcore-header .ec-source-glyph--model::before {
  content: "\e6d6";
}

.equipcore-header,
.equipcore-header * {
  box-sizing: border-box;
}

.equipcore-header .ec-header-library-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.equipcore-header .ec-top-bar,
.equipcore-header .ec-top-bar__inner {
  box-shadow: none !important;
}

.equipcore-header .ec-search__field {
  padding: 0 !important;
}

.equipcore-header .ec-search__submit {
  margin: 0 !important;
}

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

.equipcore-header .ec-cart-count.is-empty {
  display: none !important;
}

@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon > .ec-source-glyph--model {
    flex: 0 0 23.3px !important;
    width: 23.3px !important;
    min-width: 23.3px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon > .ec-source-glyph--model {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 16px !important;
  }

  .equipcore-header .ec-fym__panel {
    top: 100px !important;
    transform: translateX(-50%) !important;
  }

  .equipcore-header,
  .equipcore-header .ec-top-bar,
  .equipcore-header .ec-top-bar__inner {
    height: 78px !important;
    min-height: 78px !important;
  }

  .equipcore-header {
    height: 130px !important;
    min-height: 130px !important;
    overflow: visible !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner {
    width: min(1240px, calc(100% - 32px)) !important;
    max-width: 1240px !important;
    margin-inline: auto !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent) {
    width: 200px !important;
    min-width: 200px !important;
    height: 78px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo {
    flex: 0 0 200px !important;
    margin: 0 20px 0 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent) img {
    width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    max-height: 40px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger {
    width: 173px !important;
    min-width: 173px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger {
    gap: 4px !important;
    padding: 0 20px !important;
  }

  .equipcore-header .ec-fym__icon,
  .equipcore-header .ec-fym__icon img {
    width: 23px !important;
    height: 18px !important;
    flex: 0 0 23px !important;
  }

  .equipcore-header .ec-fym__icon img,
  .equipcore-header .ec-mobile-menu img,
  .equipcore-header .ec-mobile-action__icon img,
  .equipcore-header .ec-action-link__icon img,
  .equipcore-header .ec-search__submit img {
    filter: brightness(0) invert(1) !important;
  }

  .equipcore-header .ec-fym__label {
    flex: 0 0 auto !important;
    width: auto !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search {
    margin-right: 10px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__field,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__input {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__input {
    padding: 0 88px 0 16px !important;
    font-size: 16px !important;
    line-height: 40px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__submit {
    inset: 4px 4px auto auto !important;
    width: 66px !important;
    height: 32px !important;
    min-height: 32px !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-search__submit .ec-header-library-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-top-bar__locale {
    position: relative !important;
    flex: 0 0 121px !important;
    width: 121px !important;
    min-width: 121px !important;
    height: 78px !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .equipcore-header .ec-top-bar__locale .dropdown-menu__label {
    justify-content: flex-start !important;
    width: 121px !important;
    height: 78px !important;
    padding: 0 20px 0 24px !important;
    gap: 10px !important;
  }

  .equipcore-header .ec-us-flag-authentic {
    width: 27px !important;
    height: 18px !important;
    flex: 0 0 27px !important;
  }

  .equipcore-header .ec-top-bar__locale::after,
  .equipcore-header .ec-support-shell::after,
  .equipcore-header .ec-account-shell::after {
    content: "";
    position: absolute;
    top: 25px;
    right: 0;
    z-index: 4;
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.78);
    pointer-events: none;
  }

  .equipcore-header .ec-desktop-actions {
    flex: 0 0 178px !important;
    width: 178px !important;
    min-width: 178px !important;
    height: 78px !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell {
    position: relative !important;
    height: 78px !important;
    border: 0 !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-support-shell,
  .equipcore-header .ec-desktop-actions > .ec-account-shell {
    flex: 0 0 66px !important;
    width: 66px !important;
    min-width: 66px !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-cart-shell {
    flex: 0 0 46px !important;
    width: 46px !important;
    min-width: 46px !important;
  }

  .equipcore-header .ec-action-link,
  .equipcore-header .ec-action-link__icon {
    height: 78px !important;
  }

  .equipcore-header .ec-action-link__icon,
  .equipcore-header .ec-action-link__icon img,
  .equipcore-header .ec-cart-action .ec-action-link__icon,
  .equipcore-header .ec-cart-action .ec-action-link__icon img {
    width: 24px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-cart-action {
    transform: translateX(-3px) !important;
  }

  .equipcore-header .ec-cart-count {
    top: 18px !important;
    right: 0 !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    line-height: 16px !important;
  }

  .equipcore-header .ec-header-popover {
    top: 100% !important;
    padding: 0 !important;
    color: #333 !important;
    border: 1px solid #edf0f3 !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transform: none !important;
    transition: none !important;
  }

  .equipcore-header .ec-support-popover {
    right: 0 !important;
    display: block !important;
    width: 270px !important;
    height: 209px !important;
    overflow: hidden !important;
  }

  .equipcore-header .ec-support-popover__contact {
    padding: 10px 20px 8px !important;
    background: #f8f9fa !important;
    border-bottom: 1px solid #e8eaed !important;
  }

  .equipcore-header .ec-support-popover__hours {
    margin: 0 0 5px !important;
    color: #777 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .equipcore-header .ec-support-popover__contact a {
    min-height: 22px !important;
    color: #333 !important;
    font-size: 14px !important;
  }

  .equipcore-header .ec-support-popover__links {
    display: block !important;
    padding: 4px 0 !important;
  }

  .equipcore-header .ec-support-popover__links a {
    display: flex !important;
    align-items: center !important;
    min-height: 34px !important;
    padding: 6px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .equipcore-header .ec-support-popover__links a:hover,
  .equipcore-header .ec-support-popover__links a:focus-visible {
    color: var(--ec-blue) !important;
    background: #f4f7fb !important;
  }

  .equipcore-header .ec-account-popover {
    right: 0 !important;
    width: 314px !important;
    padding: 16px !important;
  }

  .equipcore-header .ec-account-popover:not(:has(.ec-account-popover__welcome)) {
    min-height: 122px !important;
  }

  .equipcore-header .ec-account-popover .ec-header-popover__primary,
  .equipcore-header .ec-account-popover .ec-header-popover__secondary {
    min-height: 43px !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
  }

  .equipcore-header .ec-account-popover .ec-header-popover__secondary {
    margin-top: 10px !important;
  }

  .equipcore-header .ec-account-popover__or {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    color: #999;
    font-size: 11px;
  }

  .equipcore-header .ec-account-popover__or::before,
  .equipcore-header .ec-account-popover__or::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: #e7e7e7;
  }

  .equipcore-header .ec-account-popover__or span {
    padding: 0 12px;
  }

  .equipcore-header .ec-account-popover__social {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .equipcore-header .ec-account-popover__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    color: #333 !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
  }

  .equipcore-header .ec-account-popover__social img {
    width: 20px;
    height: 20px;
  }

  .equipcore-header .ec-cart-popover {
    right: -20px !important;
    width: 391px !important;
    min-height: 188px !important;
  }

  .equipcore-header .ec-cart-popover__empty {
    min-height: 186px !important;
    padding: 24px 20px 18px !important;
  }

  .equipcore-header .ec-cart-popover__empty-icon {
    width: 78px !important;
    height: 64px !important;
    margin-bottom: 8px !important;
  }

  .equipcore-header .ec-cart-popover__empty strong {
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  .equipcore-header .ec-locale-popover {
    right: 0 !important;
    width: 314px !important;
    height: 260px !important;
    padding: 18px 16px 16px !important;
    overflow: hidden !important;
  }

  .equipcore-header .ec-locale-popover__intro {
    margin: 0 0 14px !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .equipcore-header .ec-locale-popover__field {
    min-height: 52px !important;
    margin-bottom: 8px !important;
    padding: 8px 12px !important;
    border-color: #e5e7eb !important;
    border-radius: 2px !important;
  }

  .equipcore-header .ec-locale-popover__country-value {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
  }

  .equipcore-header .ec-locale-popover__country-value select {
    width: 166px !important;
    min-width: 0 !important;
    height: 28px !important;
    padding: 0 24px 0 0 !important;
    color: #333 !important;
    font: inherit !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    background-color: transparent !important;
    border: 0 !important;
    outline-offset: 2px !important;
    cursor: pointer !important;
  }

  .equipcore-header .ec-locale-popover .ec-header-popover__primary {
    min-height: 40px !important;
    border-radius: 999px !important;
  }

  .equipcore-header .ec-bottom-bar {
    height: 52px !important;
    min-height: 52px !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  }

  .equipcore-header .ec-bottom-bar__inner {
    width: min(1240px, calc(100% - 32px)) !important;
    max-width: 1240px !important;
    height: 52px !important;
    gap: 0 !important;
  }

  .equipcore-header .ec-category-menu,
  .equipcore-header .ec-category-menu__trigger {
    flex: 0 0 94px !important;
    width: 94px !important;
    min-width: 94px !important;
    height: 52px !important;
  }

  .equipcore-header .ec-category-menu__trigger {
    padding: 0 10px 0 0 !important;
    gap: 4px !important;
  }

  .equipcore-header .ec-category-menu__grid,
  .equipcore-header .ec-category-menu__grid img {
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .equipcore-header .ec-category-menu__grid img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(75%) saturate(1857%) hue-rotate(194deg) brightness(91%) contrast(99%);
  }

  .equipcore-header .ec-category-menu__label,
  .equipcore-header .ec-header-local-nav a {
    color: var(--ec-blue-dark) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  .equipcore-header .ec-header-local-nav a {
    height: 52px !important;
    padding: 0 16px !important;
    background: transparent !important;
  }

  .equipcore-header .ec-bottom-bar > .ec-bottom-bar__inner > .ec-bottom-bar__nav,
  .equipcore-header .ec-bottom-bar > .ec-bottom-bar__inner > .ec-bottom-bar__nav > .ec-header-local-nav {
    height: 52px !important;
    gap: 0 !important;
  }

  .equipcore-header .ec-bottom-bar > .ec-bottom-bar__inner > .ec-bottom-bar__nav > .ec-header-local-nav > li,
  .equipcore-header .ec-bottom-bar > .ec-bottom-bar__inner > .ec-bottom-bar__nav > .ec-header-local-nav > li > a {
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-bottom-bar > .ec-bottom-bar__inner > .ec-bottom-bar__nav > .ec-header-local-nav > li > a[href] {
    color: var(--ec-blue-dark) !important;
  }

  .equipcore-header .ec-nav-member {
    gap: 3px !important;
  }

  .equipcore-header .ec-nav-member img {
    width: 15px !important;
    height: 15px !important;
  }

  .equipcore-header .ec-category-menu__trigger:hover,
  .equipcore-header .ec-category-menu__trigger:focus-visible,
  .equipcore-header .ec-category-menu[data-open="true"] .ec-category-menu__trigger,
  .equipcore-header .ec-header-local-nav a:hover,
  .equipcore-header .ec-header-local-nav a:focus-visible,
  .equipcore-header .ec-header-local-nav a[aria-current="page"] {
    color: var(--ec-blue-dark) !important;
    background: #edf3f8 !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-mobile-support {
    display: block !important;
  }

  .equipcore-header,
  .equipcore-header .ec-top-bar,
  .equipcore-header .ec-top-bar__inner {
    height: 138px !important;
    min-height: 138px !important;
  }

  .equipcore-header,
  .equipcore-header .ec-top-bar {
    padding: 0 !important;
    background: var(--ec-blue) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner {
    display: grid !important;
    grid-template-columns: 28px 158px minmax(0, 1fr) 108px !important;
    grid-template-rows: 50px 58px 30px !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 12px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-menu {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-mobile-menu img {
    width: 24px !important;
    height: 24px !important;
    filter: brightness(0) invert(1) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 158px !important;
    min-width: 0 !important;
    height: 50px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent),
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent) img {
    width: 158px !important;
    min-width: 0 !important;
    max-width: 158px !important;
    height: auto !important;
    max-height: 32px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    grid-column: 4 !important;
    grid-row: 1 !important;
    display: flex !important;
    justify-self: end !important;
    align-items: stretch !important;
    width: 108px !important;
    min-width: 108px !important;
    height: 50px !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action__icon img,
  .equipcore-header .ec-mobile-action--cart .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action--cart .ec-mobile-action__icon img {
    width: 24px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-mobile-action__icon img,
  .equipcore-header .ec-search__submit img {
    filter: brightness(0) invert(1) !important;
  }

  .equipcore-header .ec-mobile-action .ec-cart-count {
    top: 7px !important;
    right: -1px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    line-height: 16px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
    padding: 0 0 18px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__form,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__field,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__input {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__input {
    padding: 0 82px 0 16px !important;
    font-size: 16px !important;
    line-height: 40px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search .ec-search__submit {
    inset: 4px 4px auto auto !important;
    width: 66px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-search__submit .ec-header-library-icon {
    width: 24px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: block !important;
    width: calc(100% + 24px) !important;
    height: 30px !important;
    margin: 0 -12px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym:not([data-open="true"]) .ec-fym__trigger:not(:hover),
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    gap: 4px !important;
    color: var(--ec-blue) !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon img {
    width: 23px !important;
    height: 17px !important;
    flex: 0 0 23px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(75%) saturate(1857%) hue-rotate(194deg) brightness(91%) contrast(99%) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__label {
    display: block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    color: inherit !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .equipcore-header .ec-fym__panel {
    width: calc(100vw - 28px) !important;
    min-height: 308px !important;
    padding: 44px 16px 20px !important;
  }

  .equipcore-header .ec-fym__panel h2 {
    margin-bottom: 28px !important;
    font-size: 24px !important;
  }

  .equipcore-header .ec-fym__form {
    gap: 16px !important;
  }

  .equipcore-header .ec-fym__field {
    height: 56px !important;
  }

  .equipcore-header .ec-fym__search {
    height: 40px !important;
  }

  .equipcore-header .ec-fym__search:disabled {
    opacity: 1 !important;
  }

  .header-nav-drawer.open .header-nav-drawer__backdrop {
    background: rgba(2, 24, 54, 0.56) !important;
  }

  .header-nav-drawer__content,
  .header-nav-drawer.open .header-nav-drawer__content {
    width: min(80vw, 320px) !important;
    max-width: 320px !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    overflow: visible !important;
    padding: 0 !important;
    color: #333 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .header-nav-drawer__header {
    flex: 0 0 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    overflow: visible !important;
    color: #fff !important;
    background: var(--ec-blue, #075bbb) !important;
    border: 0 !important;
  }

  .header-nav-drawer__header-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
  }

  .header-nav-drawer__login {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 48px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .header-nav-drawer__login .header-nav-drawer__icon,
  .header-nav-drawer__login .header-nav-drawer__icon img {
    width: 24px !important;
    height: 24px !important;
  }

  .header-nav-drawer__login .header-nav-drawer__icon img {
    filter: brightness(0) invert(1) !important;
  }

  .header-nav-drawer__header-container > [data-role="header-nav-drawer-dismiss"] {
    position: fixed !important;
    top: 31px !important;
    left: calc(min(80vw, 320px) + 7px) !important;
    z-index: 100002 !important;
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
  }

  .header-nav-drawer__header-container > [data-role="header-nav-drawer-dismiss"] img {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1) !important;
  }

  .header-nav-drawer__menu.ec-friday-drawer-menu {
    display: block !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section {
    padding: 16px 20px 14px !important;
    border-bottom: 1px solid #ececec !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section h2 {
    margin: 0 0 12px !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 42px !important;
    padding: 8px 0 !important;
    color: #3f3f3f !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a {
    padding-left: 40px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a span {
    max-width: 205px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a img {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section a:hover,
  .ec-friday-drawer-menu .ec-drawer-section a:focus-visible {
    color: var(--ec-blue, #075bbb) !important;
    background: #f6f8fa !important;
    outline: 0 !important;
  }

  .header-nav-drawer__footer {
    display: none !important;
  }
}

.header-nav-drawer .ec-drawer-account-glyph {
  display: block;
  width: 24px;
  height: 24px;
  color: currentColor;
  font-family: "EquipCore Icons" !important;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header-nav-drawer .ec-drawer-account-glyph::before {
  content: "\eda2";
}

/*
 * Header interaction fidelity pass, 2026-07-21.
 * These rules deliberately sit last: older theme layers contain several
 * higher-specificity layout overrides that otherwise shrink the action hit
 * areas and detach the cart badge from its icon.
 */
.equipcore-header {
  --ec-header-active: #0a4d96;
  --ec-nav-hover: #ccdef0;
}

.equipcore-header .ec-fym__backdrop {
  background: rgba(0, 0, 0, 0.4) !important;
}

.equipcore-header .ec-fym__panel {
  box-shadow: none !important;
}

.equipcore-header .ec-fym__search:disabled {
  opacity: 1 !important;
}

.header-nav-drawer.open .header-nav-drawer__backdrop {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* industrial parts searchable machine selectors. */
.equipcore-header .ec-fym__panel,
.equipcore-header .ec-fym__form,
.equipcore-header .ec-fym__dropdown {
  overflow: visible !important;
}

.equipcore-header .ec-fym__dropdown {
  z-index: 1;
}

.equipcore-header .ec-fym__dropdown[data-dropdown-open="true"] {
  z-index: 30;
}

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

.equipcore-header .ec-fym__combo-trigger {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 18px 12px 5px 9px;
  color: #333;
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 4px;
  outline: 0;
  cursor: pointer;
}

.equipcore-header .ec-fym__combo-trigger:focus-visible {
  outline: 2px solid rgba(7, 91, 187, 0.72);
  outline-offset: -2px;
}

.equipcore-header .ec-fym__combo-trigger:disabled {
  color: #aaa;
  cursor: not-allowed;
}

.equipcore-header .ec-fym__combo-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.equipcore-header .ec-fym__combo-caret {
  display: grid;
  flex: 0 0 18px;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-bottom: 1px;
  transition: transform 160ms ease;
}

.equipcore-header .ec-fym__combo-caret img {
  width: 14px;
  height: 14px;
  transform: rotate(90deg);
}

.equipcore-header .ec-fym__dropdown[data-dropdown-open="true"] .ec-fym__combo-caret {
  transform: rotate(180deg);
}

.equipcore-header .ec-fym__options {
  position: absolute;
  top: calc(100% + 12px);
  left: -1px;
  z-index: 40;
  width: calc(100% + 2px);
  min-height: 123px;
  overflow: hidden;
  color: #333;
  background: #fff;
  border: 1px solid #e5e6e8;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.equipcore-header .ec-fym__options[hidden] {
  display: none !important;
}

.equipcore-header .ec-fym__filter {
  display: flex;
  align-items: center;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 12px;
  color: #777;
  background: #fff;
  border-bottom: 1px solid #e5e6e8;
}

.equipcore-header .ec-fym__filter img {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-right: 2px;
  opacity: 0.52;
}

.equipcore-header .ec-fym__filter input {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  height: 50px;
  padding: 0 4px;
  color: #333;
  font: inherit;
  font-size: 16px;
  line-height: 50px;
  background: transparent;
  border: 0;
  outline: 0;
}

.equipcore-header .ec-fym__filter input::placeholder {
  color: #8b8b8b;
  opacity: 1;
}

.equipcore-header .ec-fym__filter:focus-within {
  box-shadow: inset 0 0 0 2px rgba(7, 91, 187, 0.7);
}

.equipcore-header .ec-fym__option-list {
  max-height: 310px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #9b9b9b transparent;
}

.equipcore-header .ec-fym__option-list [data-ec-fym-option] {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 10px 12px;
  color: #333;
  font: inherit;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  background: #fff;
  border: 0;
  border-radius: 0;
  outline: 0;
  cursor: pointer;
}

.equipcore-header .ec-fym__option-list [data-ec-fym-option][hidden] {
  display: none !important;
}

.equipcore-header .ec-fym__option-list [data-ec-fym-option]:hover,
.equipcore-header .ec-fym__option-list [data-ec-fym-option]:focus-visible {
  color: #075bbb;
  background: #f4f7fb;
}

.equipcore-header .ec-fym__option-list [data-ec-fym-option]:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(7, 91, 187, 0.7);
}

.equipcore-header .ec-fym__option-list [data-ec-fym-option][aria-selected="true"] {
  color: #075bbb;
  font-weight: 600;
  background: #eef5fc;
}

@media (max-width: 1023px) {
  .equipcore-header .ec-fym__options {
    top: calc(100% + 10px);
  }

  .equipcore-header .ec-fym__option-list {
    max-height: 220px;
  }
}

/*
 * Search and mobile interaction closure, 2026-07-21.
 * industrial parts closes the panel when a query has no suggestions. When products
 * exist, the surface is a compact white list; it never shows a detached black
 * "Search for" card. SHOPLINE still owns the request, products and GET route.
 */
.equipcore-header .ec-search .header-action-bar__results {
  inset-block-start: calc(100% + 2px) !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  z-index: 1010 !important;
  width: 100% !important;
  max-height: min(610px, calc(100dvh - 92px)) !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  color: #333 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 26px !important;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1) !important;
  scrollbar-width: thin;
}

.equipcore-header .ec-search .header-action-bar__results-list {
  width: 100% !important;
  color: #333 !important;
}

.equipcore-header .ec-search .header-action-bar__results-loading {
  min-height: 64px !important;
  padding: 0 !important;
  color: var(--ec-blue, #075bbb) !important;
}

.equipcore-header .ec-search .predictive-search-section {
  width: 100% !important;
  color: #333 !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.equipcore-header .ec-search .predictive-search__header {
  min-height: 38px !important;
  padding: 12px 20px 8px !important;
  margin: 0 !important;
  color: #999 !important;
  border-block-end: 1px solid #e9e9e9 !important;
}

.equipcore-header .ec-search .predictive-search__title {
  height: auto !important;
  color: #999 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 18px !important;
}

.equipcore-header .ec-search .predictive-search__count {
  display: none !important;
}

.equipcore-header .ec-search .predictive-search__results {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.equipcore-header .ec-search .predictive-search__result-item {
  width: 100% !important;
  min-height: 112px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  border-block-end: 1px solid #e9e9e9 !important;
}

.equipcore-header .ec-search .predictive-search__result-item:last-child {
  border-block-end: 0 !important;
}

.equipcore-header .ec-search .predictive-search__result-item > a {
  display: block !important;
  min-height: 112px !important;
  padding: 14px 20px !important;
  color: #333 !important;
  text-decoration: none !important;
}

.equipcore-header .ec-search .predictive-search__result-item > a:hover {
  background: #f7f7f7 !important;
}

.equipcore-header .ec-search .predictive-search__result-item > a:focus-visible {
  background: #f7f7f7 !important;
  outline: 2px solid var(--ec-blue, #075bbb) !important;
  outline-offset: -2px !important;
}

.equipcore-header .ec-search .predictive-search__product {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
}

.equipcore-header .ec-search .predictive-search__product-image-wrap,
.equipcore-header .ec-search .predictive-search__product-image {
  display: block !important;
  flex: 0 0 80px !important;
  width: 80px !important;
  min-width: 80px !important;
  height: 80px !important;
  min-height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  overflow: hidden !important;
  object-fit: contain !important;
  object-position: center !important;
}

.equipcore-header .ec-search .predictive-search__product-content {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}

.equipcore-header .ec-search .predictive-search__product-title {
  display: block !important;
  margin: 0 !important;
  overflow: visible !important;
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.28 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  -webkit-line-clamp: unset !important;
}

.equipcore-header .ec-search .predictive-search__product-price {
  display: flex !important;
  gap: 8px !important;
  align-items: baseline !important;
  color: #333 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.equipcore-header .ec-search .predictive-search__product-save-price {
  color: #888 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.equipcore-header .ec-search .predictive-search__footer {
  display: none !important;
}

/* Source dropdowns retain a neutral field border when opened. */
.equipcore-header .ec-fym__field:focus-within {
  border-color: #d9d9d9 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.equipcore-header .ec-fym__select:focus {
  outline: 0 !important;
  box-shadow: none !important;
}

.equipcore-header .ec-fym__select:focus-visible {
  outline: 2px solid rgba(7, 91, 187, 0.72) !important;
  outline-offset: -2px !important;
}

@media (min-width: 1024px) {
  .equipcore-header .ec-search .header-action-bar__results {
    inset-inline-start: 8px !important;
    width: calc(100% - 16px) !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-search .header-action-bar__results {
    max-height: min(480px, calc(100dvh - 108px)) !important;
    border-radius: 24px !important;
  }

  .equipcore-header .ec-search .predictive-search__result-item,
  .equipcore-header .ec-search .predictive-search__result-item > a {
    min-height: 108px !important;
  }

  .equipcore-header .ec-search .predictive-search__product-image-wrap,
  .equipcore-header .ec-search .predictive-search__product-image {
    flex-basis: 72px !important;
    width: 72px !important;
    min-width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:hover,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:focus,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:active,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger[aria-expanded="true"],
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__trigger {
    color: var(--ec-blue, #075bbb) !important;
    background: #fff !important;
    border-color: transparent !important;
    outline: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__label,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__caret {
    color: var(--ec-blue, #075bbb) !important;
  }
}

@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__locale {
    margin: 0 1px 0 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__locale::after,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-support-shell::after,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-account-shell::after {
    right: -1px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions {
    flex: 0 0 180px !important;
    width: 180px !important;
    min-width: 180px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-support-shell,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-account-shell {
    margin: 0 1px 0 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-support-shell > .ec-action-link--support > .ec-action-link__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-support-shell > .ec-action-link--support > .ec-action-link__icon > img {
    position: relative !important;
    display: block !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-account-shell > .ec-action-link--account > .ec-action-link__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-account-shell > .ec-action-link--account > .ec-action-link__icon > img {
    position: relative !important;
    display: block !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-cart-shell > .ec-cart-action > .ec-action-link__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-cart-shell > .ec-cart-action > .ec-action-link__icon > img {
    position: relative !important;
    display: block !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions > .ec-header-action-shell > .ec-action-link > .ec-action-link__icon > .ec-source-glyph {
    display: block !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    font-size: 26px !important;
    line-height: 26px !important;
  }
}

@media (max-width: 1023px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon > .ec-source-glyph--model {
    flex: 0 0 23.3px !important;
    width: 23.3px !important;
    min-width: 23.3px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon > .ec-source-glyph--model {
    color: var(--ec-blue, #075bbb) !important;
    font-size: 16px !important;
    line-height: 16px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--support > .ec-mobile-action__icon,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--account > .ec-mobile-action__icon {
    position: relative !important;
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    place-items: center !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--support > .ec-mobile-action__icon > img {
    display: block !important;
    place-self: center !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: none !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--account > .ec-mobile-action__icon > img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    place-self: center !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: none !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: none !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--cart > .ec-mobile-action__icon {
    position: relative !important;
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    place-items: center !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action--cart > .ec-mobile-action__icon > img {
    display: block !important;
    place-self: center !important;
    width: 27px !important;
    min-width: 27px !important;
    max-width: none !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions > .ec-mobile-action > .ec-mobile-action__icon > .ec-source-glyph {
    display: block !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    font-size: 24px !important;
    line-height: 24px !important;
  }
}

@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger {
    transition: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:hover,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:focus-visible,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:active {
    color: #fff !important;
    background: var(--ec-orange, #ff7420) !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__icon {
    margin: 0 !important;
  }

  .equipcore-header .ec-top-bar__locale,
  .equipcore-header .ec-desktop-actions > .ec-header-action-shell,
  .equipcore-header .ec-desktop-actions > .ec-header-action-shell > .ec-action-link {
    transition: none !important;
  }

  .equipcore-header .ec-top-bar__locale:hover,
  .equipcore-header .ec-top-bar__locale:has(.dropdown-menu__trigger[type="checkbox"]:checked) {
    background: var(--ec-header-active) !important;
  }

  .equipcore-header .ec-top-bar__locale .dropdown-menu__label,
  .equipcore-header .ec-top-bar__locale:hover .dropdown-menu__label,
  .equipcore-header .ec-top-bar__locale:focus-within .dropdown-menu__label {
    background: transparent !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-desktop-actions {
    overflow: visible !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell {
    position: relative !important;
    height: 78px !important;
    min-height: 78px !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell > .ec-action-link,
  .equipcore-header .ec-top-bar .ec-action-link,
  .equipcore-header .ec-top-bar .ec-action-link.active,
  .equipcore-header .ec-top-bar .ec-action-link.current,
  .equipcore-header .ec-top-bar .ec-action-link.is-active,
  .equipcore-header .ec-top-bar .ec-action-link.router-link-active,
  .equipcore-header .ec-top-bar .ec-action-link[aria-current],
  .equipcore-header .ec-top-bar .ec-action-link[aria-current="page"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-cart-shell > .ec-cart-action {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell:hover > .ec-action-link,
  .equipcore-header .ec-desktop-actions > .ec-header-action-shell[data-open="true"] > .ec-action-link,
  .equipcore-header .ec-desktop-actions > .ec-header-action-shell > .ec-action-link[aria-expanded="true"] {
    color: #fff !important;
    background: var(--ec-header-active) !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell > .ec-action-link:focus-visible,
  .equipcore-header .ec-top-bar__locale .dropdown-menu__label:focus-within {
    outline: 2px solid #fff !important;
    outline-offset: -3px !important;
  }

  /* Pointer focus must not hold the locale panel open after the pointer leaves. */
  .equipcore-header .ec-top-bar__locale:not(:hover):focus-within:not(:has(.dropdown-menu__trigger[type="checkbox"]:checked)) > .ec-header-popover {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-action-link__icon,
  .equipcore-header .ec-action-link__icon img {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-action-link--support .ec-action-link__icon,
  .equipcore-header .ec-action-link--support .ec-action-link__icon img {
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
  }

  .equipcore-header .ec-action-link--account .ec-action-link__icon,
  .equipcore-header .ec-action-link--account .ec-action-link__icon img {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
  }

  .equipcore-header .ec-cart-action .ec-action-link__icon,
  .equipcore-header .ec-cart-action .ec-action-link__icon img {
    width: 30px !important;
    min-width: 30px !important;
    height: 27px !important;
  }

  .equipcore-header .ec-desktop-actions .ec-cart-count,
  .equipcore-header .ec-cart-action .ec-cart-count {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: grid !important;
    place-items: center !important;
    min-width: 16px !important;
    width: auto !important;
    height: 16px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    background: var(--ec-orange, #ff7420) !important;
    border-radius: 999px !important;
    transform: translate(50%, -20%) !important;
  }

  .equipcore-header .ec-desktop-actions .ec-cart-count.is-empty {
    display: none !important;
  }

  .equipcore-header .ec-header-popover {
    top: 100% !important;
    color: #333 !important;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transform: none !important;
    transition: none !important;
  }

  .equipcore-header .ec-cart-popover {
    right: -20px !important;
    width: 391px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: min(460px, calc(100vh - 96px)) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: opacity 150ms ease-in-out, visibility 150ms ease-in-out !important;
  }

  .equipcore-header .ec-cart-shell[data-cart-count="0"] .ec-cart-popover {
    height: 188px !important;
    min-height: 188px !important;
    padding: 0 !important;
  }

  .equipcore-header .ec-cart-shell:not([data-cart-count="0"]) .ec-cart-popover {
    padding: 18px 20px 20px !important;
  }

  .equipcore-header .ec-cart-popover__empty {
    display: none !important;
    width: 391px !important;
    height: 188px !important;
    min-height: 188px !important;
    padding: 0 !important;
    overflow: hidden !important;
    line-height: normal !important;
    text-align: center !important;
  }

  .equipcore-header .ec-cart-shell[data-cart-count="0"] .ec-cart-popover__empty {
    display: block !important;
  }

  .equipcore-header .ec-cart-shell[data-cart-count="0"] .ec-cart-popover__filled {
    display: none !important;
  }

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

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

  .equipcore-header .ec-cart-shell:not([data-cart-count="0"]) .ec-cart-popover__items {
    max-height: min(250px, calc(100vh - 250px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .equipcore-header .ec-desktop-actions > .ec-header-action-shell.ec-cart-shell[data-native-cart-open="true"] > .ec-header-popover.ec-cart-popover {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .equipcore-header .ec-cart-popover__empty-image {
    display: inline !important;
    width: 151px !important;
    min-width: 151px !important;
    max-width: 151px !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    margin: 20px auto 4px !important;
    object-fit: contain !important;
  }

  .equipcore-header .ec-cart-popover__empty strong {
    display: block !important;
    width: 100% !important;
    height: 18px !important;
    margin: 0 !important;
    color: #333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 18px !important;
  }

  .equipcore-header .ec-locale-popover {
    right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 314px !important;
    height: 260px !important;
    padding: 16px !important;
    overflow: hidden !important;
  }

  .equipcore-header .ec-locale-popover__intro {
    flex: 0 0 auto !important;
    min-height: 38px !important;
    margin: 0 0 12px !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .equipcore-header .ec-locale-popover__field {
    display: grid !important;
    grid-template-rows: 16px 24px !important;
    align-content: center !important;
    flex: 0 0 56px !important;
    width: 100% !important;
    height: 56px !important;
    min-height: 56px !important;
    margin: 0 0 12px !important;
    padding: 6px 12px !important;
    gap: 2px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 2px !important;
  }

  .equipcore-header .ec-locale-popover__field:focus-within {
    border-color: var(--ec-blue, #075bbb) !important;
    box-shadow: 0 0 0 1px var(--ec-blue, #075bbb) !important;
  }

  .equipcore-header .ec-locale-popover__field > span {
    color: #6d7787 !important;
    font-size: 12px !important;
    line-height: 16px !important;
    text-transform: none !important;
  }

  .equipcore-header .ec-locale-popover__field strong,
  .equipcore-header .ec-locale-popover__country-value {
    width: 100% !important;
    min-width: 0 !important;
    height: 24px !important;
    line-height: 24px !important;
  }

  .equipcore-header .ec-locale-popover__country-value {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .equipcore-header .ec-locale-popover__country-value select {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 24px !important;
    padding: 0 24px 0 0 !important;
    line-height: 24px !important;
  }

  .equipcore-header .ec-locale-popover .ec-header-popover__primary {
    flex: 0 0 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
  }

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

  .equipcore-header .ec-header-popover__secondary:hover,
  .equipcore-header .ec-header-popover__secondary:focus-visible {
    color: #fff !important;
    background: var(--ec-orange, #ff7420) !important;
    border-color: var(--ec-orange, #ff7420) !important;
  }

  .equipcore-header .ec-support-popover {
    right: 0 !important;
    width: 270px !important;
    height: 209px !important;
  }

  .equipcore-header .ec-support-popover__contact {
    display: grid !important;
    grid-template-rows: auto 22px 22px !important;
    align-content: center !important;
    height: 87px !important;
    min-height: 87px !important;
    padding: 8px 20px !important;
    gap: 4px !important;
  }

  .equipcore-header .ec-support-popover__hours {
    margin: 0 !important;
  }

  .equipcore-header .ec-support-popover__contact a {
    height: 22px !important;
    min-height: 22px !important;
  }

  .equipcore-header .ec-support-popover__links {
    height: 122px !important;
    min-height: 122px !important;
    padding: 8px 0 !important;
  }

  .equipcore-header .ec-support-popover__links a {
    height: 35px !important;
    min-height: 35px !important;
    padding: 0 20px !important;
  }

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

  .equipcore-header .ec-account-popover {
    right: 0 !important;
    width: 314px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .equipcore-header .ec-category-menu {
    flex: 0 0 94px !important;
    width: 94px !important;
    min-width: 94px !important;
    overflow: visible !important;
  }

  .equipcore-header .ec-category-menu__trigger {
    flex: 0 0 110px !important;
    width: 110px !important;
    min-width: 110px !important;
    height: 52px !important;
    margin-left: -16px !important;
    padding: 0 10px 0 16px !important;
    transition: none !important;
  }

  .equipcore-header .ec-header-local-nav a[aria-current="page"] {
    background: transparent !important;
  }

  .equipcore-header .ec-category-menu__trigger:hover,
  .equipcore-header .ec-category-menu__trigger:focus-visible,
  .equipcore-header .ec-category-menu__trigger[aria-expanded="true"],
  .equipcore-header .ec-category-menu[data-open="true"] .ec-category-menu__trigger,
  .equipcore-header .ec-header-local-nav a:hover,
  .equipcore-header .ec-header-local-nav a:focus-visible,
  .equipcore-header .ec-header-local-nav a[aria-current="page"]:hover,
  .equipcore-header .ec-header-local-nav a[aria-current="page"]:focus-visible {
    color: var(--ec-blue-dark) !important;
    background: var(--ec-nav-hover) !important;
    box-shadow: none !important;
    transition: none !important;
  }

  .equipcore-header .ec-category-menu__trigger:focus-visible,
  .equipcore-header .ec-header-local-nav a:focus-visible {
    outline: 2px solid rgba(7, 91, 187, 0.72) !important;
    outline-offset: -3px !important;
  }
}

/* Keep the desktop cart preview inside the viewport at compact desktop widths. */
@media (min-width: 1024px) and (max-width: 1280px) {
  .equipcore-header .ec-cart-popover {
    right: 2px !important;
  }
}

/* Final keyboard and responsive-state closure. */
.equipcore-header .ec-search__field:focus-within {
  outline: 0 !important;
  box-shadow: none !important;
}

.equipcore-header .ec-search__field:has(.ec-search__input:focus-visible) {
  box-shadow: inset 0 0 0 2px rgba(7, 91, 187, 0.72) !important;
}

.equipcore-header .ec-search__input:focus-visible {
  outline: 0 !important;
}

.equipcore-header .ec-fym__combo-trigger:focus-visible {
  outline: 2px solid rgba(7, 91, 187, 0.72) !important;
  outline-offset: -2px !important;
}

.equipcore-header .ec-fym__close:focus-visible {
  outline: 2px solid rgba(7, 91, 187, 0.72) !important;
  outline-offset: 2px !important;
}

.equipcore-header .ec-fym__search:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: -4px !important;
}

@media (max-width: 1023px) {
  .equipcore-header .ec-mobile-menu:hover {
    background: transparent !important;
  }

  .equipcore-header .ec-mobile-menu:focus-visible {
    background: transparent !important;
    border-radius: 0 !important;
    outline: 2px solid #fff !important;
    outline-offset: -3px !important;
    box-shadow: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    overflow: visible !important;
  }

  .header-nav-drawer__content,
  .header-nav-drawer.open .header-nav-drawer__content {
    height: 100dvh !important;
    min-height: 0 !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action:hover,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action:active,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action[aria-current],
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action[aria-expanded="true"] {
    display: grid !important;
    grid-template: none !important;
    grid-auto-flow: row !important;
    place-items: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .equipcore-header .ec-mobile-action::after,
  .equipcore-header .ec-mobile-action[aria-current]::after,
  .equipcore-header .ec-mobile-action.router-link-active::after {
    display: none !important;
    content: none !important;
  }

  .equipcore-header .ec-mobile-action:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: -3px !important;
  }

  .equipcore-header .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action--cart .ec-mobile-action__icon {
    position: relative !important;
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    place-items: center !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    line-height: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-mobile-action__icon img {
    display: block !important;
    margin: 0 !important;
    transform: none !important;
  }

  .equipcore-header .ec-mobile-action--support .ec-mobile-action__icon img {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
  }

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

  .equipcore-header .ec-mobile-action--cart .ec-mobile-action__icon,
  .equipcore-header .ec-mobile-action--cart .ec-mobile-action__icon img {
    width: 27px !important;
    min-width: 27px !important;
    height: 24px !important;
  }

  .equipcore-header .ec-mobile-action .ec-cart-count,
  .equipcore-header .ec-mobile-action--cart .ec-cart-count {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    display: grid !important;
    grid-column: auto !important;
    grid-row: auto !important;
    place-items: center !important;
    min-width: 16px !important;
    width: auto !important;
    height: 16px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 16px !important;
    background: var(--ec-orange, #ff7420) !important;
    border-radius: 999px !important;
    transform: translate(50%, -20%) !important;
  }

  .equipcore-header .ec-mobile-action .ec-cart-count.is-empty {
    display: none !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:hover,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:focus,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym .ec-fym__trigger:active,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym[data-open="true"] .ec-fym__trigger {
    color: var(--ec-blue) !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  }

  .equipcore-header .ec-search__field:focus-within,
  .equipcore-header .ec-search__input:focus {
    outline: 0 !important;
  }

  .equipcore-header .ec-search__input:focus::placeholder {
    color: #999 !important;
  }
}

@media (min-width: 960px) and (max-width: 1023px) {
  theme-header-nav-drawer[data-drawer-layout="desktop"] {
    display: none !important;
  }

  theme-header-nav-drawer[data-drawer-layout="mobile"].open {
    display: block !important;
  }
}

@media (max-width: 1023px) and (max-height: 600px) {
  .equipcore-header .ec-fym__dialog {
    place-items: start center !important;
    padding: 14px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .equipcore-header .ec-fym__panel {
    min-height: 308px !important;
    max-height: none !important;
    margin: auto 0 !important;
  }

  .equipcore-header .ec-fym__option-list {
    max-height: max(96px, min(180px, calc(100dvh - 320px))) !important;
  }
}

@media (max-width: 359px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner {
    grid-template-columns: 28px minmax(0, 142px) minmax(0, 1fr) 96px !important;
    padding-inline: 10px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-wrapper,
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent),
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__logo .header__logo-link:not(.transparent) img {
    width: min(142px, 100%) !important;
    max-width: 142px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions {
    width: 96px !important;
    min-width: 96px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-mobile-actions .ec-mobile-action {
    flex-basis: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
  }

  /* The mobile model strip remains edge-to-edge without exceeding the 10px compact gutter. */
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-fym {
    width: calc(100% + 20px) !important;
    margin-inline: -10px !important;
  }
}

@media (min-width: 1024px) {
  .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;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(2, 24, 54, 0.56) !important;
  }

  .header-nav-drawer__content,
  .header-nav-drawer.open .header-nav-drawer__content {
    z-index: 1 !important;
    width: 320px !important;
    max-width: 320px !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #333 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .header-nav-drawer__header {
    flex: 0 0 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #fff !important;
    background: #075bbb !important;
    border: 0 !important;
  }

  .header-nav-drawer__header-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 0 !important;
  }

  .header-nav-drawer__login {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    height: 48px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
  }

  .header-nav-drawer__login .header-nav-drawer__icon,
  .header-nav-drawer__login .header-nav-drawer__icon img {
    width: 24px !important;
    height: 24px !important;
  }

  .header-nav-drawer__login .header-nav-drawer__icon img {
    filter: brightness(0) invert(1) !important;
  }

  .header-nav-drawer__header-container > [data-role="header-nav-drawer-dismiss"] {
    position: fixed !important;
    top: 31px !important;
    left: 327px !important;
    z-index: 100002 !important;
    display: grid !important;
    place-items: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
  }

  .header-nav-drawer__header-container > [data-role="header-nav-drawer-dismiss"] img {
    width: 22px !important;
    height: 22px !important;
    filter: brightness(0) invert(1) !important;
  }

  .header-nav-drawer__menu.ec-friday-drawer-menu {
    display: block !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section {
    padding: 16px 20px 14px !important;
    border-bottom: 1px solid #ececec !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section h2 {
    margin: 0 0 12px !important;
    color: #333 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 42px !important;
    padding: 8px 0 !important;
    color: #3f3f3f !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a {
    padding-left: 40px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a span {
    max-width: 205px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section--category a img {
    flex: 0 0 20px !important;
    width: 20px !important;
    height: 20px !important;
  }

  .ec-friday-drawer-menu .ec-drawer-section a:hover,
  .ec-friday-drawer-menu .ec-drawer-section a:focus-visible {
    color: #075bbb !important;
    background: #f6f8fa !important;
    outline: 0 !important;
  }

  .header-nav-drawer__footer {
    display: none !important;
  }
}

/* Final native-drawer state override. */
.header-nav-drawer.open .header-nav-drawer__backdrop {
  background: rgba(0, 0, 0, 0.5) !important;
}

/* industrial parts category rows use a 36px product cutout, label and chevron. */
.ec-friday-drawer-menu .ec-drawer-section {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

/* industrial parts always reserves the native 15px drawer scrollbar gutter. */
.ec-friday-drawer-menu {
  scrollbar-gutter: stable !important;
}

.ec-friday-drawer-menu::-webkit-scrollbar {
  width: 15px !important;
}

.ec-friday-drawer-menu .ec-drawer-section h2 {
  margin-bottom: 8px !important;
  margin-right: 20px !important;
  margin-left: 20px !important;
}

/* Match industrial parts' 18px inter-section rhythm without stacking two paddings. */
.ec-friday-drawer-menu .ec-drawer-section--shop {
  padding-top: 19px !important;
  padding-bottom: 0 !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category {
  padding-top: 18px !important;
  padding-bottom: 0 !important;
}

.ec-friday-drawer-menu .ec-drawer-section--about {
  padding-top: 18px !important;
}

.ec-friday-drawer-menu .ec-drawer-section a {
  min-height: 44px !important;
  padding: 10px 20px !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) 16px !important;
  align-items: center !important;
  justify-content: initial !important;
  column-gap: 4px !important;
  min-height: 44px !important;
  padding: 4px 20px !important;
  line-height: 24px !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a > span {
  min-width: 0 !important;
  max-width: none !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a > .ec-drawer-category-thumb {
  display: block !important;
  grid-column: 1 !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a > .ec-drawer-category-chevron {
  display: block !important;
  grid-column: 3 !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a:hover {
  color: #333 !important;
  background: #f5f5f5 !important;
}

.ec-friday-drawer-menu .ec-drawer-section--category a:focus-visible {
  color: #333 !important;
  background: #f5f5f5 !important;
  outline: 2px solid var(--ec-blue, #075bbb) !important;
  outline-offset: -2px !important;
}

/* This must remain last so legacy mobile focus resets cannot restore orange. */
.equipcore-header .ec-search__input:focus-visible {
  border-radius: 999px !important;
  outline: 2px solid rgba(7, 91, 187, 0.72) !important;
  outline-offset: -3px !important;
  box-shadow: none !important;
}

/* Compact-desktop structure: three true 66px action sectors plus separators. */
@media (min-width: 1024px) {
  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-desktop-actions {
    flex: 0 0 200px !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
  }

  .equipcore-header .ec-desktop-actions > .ec-cart-shell {
    flex: 0 0 66px !important;
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
  }

  .equipcore-header .ec-top-bar > .ec-top-bar__inner > .ec-top-bar__search,
  .equipcore-header .ec-top-bar__search .ec-search,
  .equipcore-header .ec-top-bar__search .ec-search__form {
    min-width: 0 !important;
  }

  .equipcore-header .ec-cart-shell > .ec-cart-action {
    width: 66px !important;
    min-width: 66px !important;
    max-width: 66px !important;
    transform: none !important;
  }
}

/* Keep the native SHOPLINE cart row fluid inside narrow mobile drawers. */
@media (max-width: 420px) {
  .cart-drawer .cart-item__product {
    column-gap: 16px !important;
    min-width: 0 !important;
  }

  .cart-drawer .cart-item__picture {
    width: 72px !important;
  }

  .cart-drawer .cart-item__product-infos,
  .cart-drawer .cart-item__product-infos-text,
  .cart-drawer .cart-item__title,
  .cart-drawer .cart-item__amount {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .cart-drawer .cart-item__title {
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 359px) {
  .cart-drawer .cart-item__product {
    column-gap: 10px !important;
  }

  .cart-drawer .cart-item__picture {
    width: 60px !important;
  }
}
