.home-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
}

.home-header__utility {
  display: none;
}

.home-header__utility-inner,
.home-header__channels,
.home-header__social {
  display: flex;
  align-items: center;
  gap: clamp(.45rem, 2vw, 1.5rem);
}

.home-header__utility-inner {
  min-height: 36px;
  justify-content: space-between;
  padding-block: .4rem;
}

.home-header__channels {
  flex-wrap: wrap;
}

.home-header__utility a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #e1ecff;
  font-size: .76rem;
  line-height: 1.25;
  white-space: nowrap;
}

.home-header__utility a:hover {
  color: #fff;
  text-decoration: underline;
}

.home-nav > .container {
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) * .5);
}

.home-nav {
  padding: .85rem 0;
  border-bottom: 1px solid var(--everstar-border);
}

.home-nav__brand img {
  display: block;
  width: min(clamp(9.1875rem, 15vw, 13.5rem), calc(60vw - 3rem));
  height: auto;
}

.home-nav__links {
  gap: .2rem;
}

.home-nav .home-nav__links > .nav-item > .nav-link {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .5rem .75rem;
  border-radius: .45rem;
  color: var(--everstar-ink);
  font-size: .92rem;
  font-weight: 700;
}

.home-nav .home-nav__links > .nav-item > .nav-link {
  border-radius: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
}

.home-nav .home-nav__links > .nav-item > .nav-link:hover,
.home-nav .home-nav__links > .nav-item > .nav-link.show {
  background: transparent;
  color: var(--everstar-blue);
}

.home-nav .home-nav__links > .nav-item > .nav-link[aria-current="page"],
.home-nav .home-nav__links > .nav-item > .nav-link.is-active {
  border-bottom-color: var(--everstar-blue);
  background: transparent;
  color: var(--everstar-blue);
}

.home-nav__actions {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.home-nav__calculator,
.home-nav__contact {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .85rem;
  border-radius: .45rem;
  font-size: .875rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-nav__calculator {
  color: var(--everstar-blue-hover);
}

.home-nav__calculator:hover {
  background: var(--everstar-blue-pale);
}

.home-nav__contact {
  background: var(--everstar-blue);
  color: #fff;
}

.home-nav__contact:hover {
  background: var(--everstar-blue-hover);
  color: #fff;
}

.home-nav .home-nav__toggle {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #c7d8f1;
  border-radius: .45rem;
  color: var(--everstar-ink);
  font-size: 1.4rem;
  line-height: 1;
}

.home-header :is(a, button):focus-visible {
  outline: 2px solid var(--everstar-blue);
  outline-offset: 3px;
}

.home-header__utility a:focus-visible {
  outline-color: var(--everstar-blue-light);
}

.home-nav .dropdown-mega .dropdown-menu {
  padding: .75rem;
  border: 1px solid var(--everstar-border);
  border-radius: .75rem;
}

.home-nav .mega-content .container-fluid {
  padding: 0;
}

.home-nav .mega-content .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
}

.home-nav .mega-content .row > div {
  width: auto;
  padding: .55rem !important;
  border: 0 !important;
  border-radius: .5rem;
  background: #f5f8fe;
  text-align: center;
}

.home-nav .mega-content .row > div:hover {
  background: #e7f0ff;
}

.home-nav .mega-content img {
  display: block;
  width: auto;
  max-width: min(100%, 85px);
  height: 54px;
  margin-inline: auto;
  object-fit: contain;
}

.home-nav .mega-content h6 {
  float: none !important;
  margin: .45rem 0 0 !important;
  color: var(--everstar-ink);
  font-size: .85rem;
  font-weight: 700;
  white-space: normal;
}

.home-nav .mega-content .dropdown-item {
  padding: 0;
  border: 0;
  background: transparent;
}

@media (min-width: 1200px) {
  .home-nav.navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex: 1;
    justify-content: flex-end;
    gap: clamp(.75rem, 2vw, 2rem);
  }

  .home-nav .nav-item.dropdown-mega .dropdown-menu {
    top: calc(100% + 3px);
    margin-top: 0;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: 1120px;
    margin-inline: auto;
  }

  .home-nav .mega-content .row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .home-nav__links {
    padding-top: .75rem;
  }

  .home-nav .home-nav__links > .nav-item > .nav-link {
    width: 100% !important;
  }

  .home-nav__actions {
    flex-wrap: wrap;
    padding-top: .75rem;
    border-top: 1px solid var(--everstar-border);
  }
}

.home-nav .mega-content .row > div:has(a[aria-current="location"]) {
  box-shadow: inset 0 -3px 0 var(--everstar-blue);
}

.home-nav .dropdown-menu a[aria-current="location"] h6 {
  color: var(--everstar-blue);
  text-decoration: none;
}
.home-nav button.nav-link {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  text-align: left;
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .home-nav .home-nav__links > .nav-item > button.dropdown-toggle {
    cursor: default;
  }
}
.home-nav__utility-menu .dropdown-menu { min-width: 225px; padding: .45rem; border: 1px solid var(--everstar-border); border-radius: .6rem; }
.home-nav__utility-menu .dropdown-item { display: flex; align-items: center; gap: .6rem; padding: .65rem .75rem; border-radius: .35rem; font-size: .9rem; color: var(--everstar-ink); }
.home-nav__utility-menu .dropdown-item i { color: var(--everstar-blue); }
.home-nav__utility-menu .dropdown-item:hover, .home-nav__utility-menu .dropdown-item:focus { background: var(--everstar-blue-pale); color: var(--everstar-blue); }
@media (min-width: 1200px) {
  .home-nav .home-nav__utility-menu .dropdown-menu {
    top: calc(100% + 3px);
    margin-top: 0;
  }
}
@media (min-width: 1200px) {
  .home-nav .home-nav__utility-menu { position: static; }
  .home-nav .home-nav__utility-menu .dropdown-menu {
    top: calc(100% + 3px);
    left: var(--utility-menu-left, auto);
    right: auto;
    margin-top: 0;
  }
}
/* Keep dropdown arrows close to their navigation labels. */
.home-nav .home-nav__links > .nav-item > .dropdown-toggle { gap: .15rem; }
.home-nav .home-nav__links > .nav-item > .dropdown-toggle::after { margin-left: .1rem; }
.es-header-search{position:relative;margin-left:16px;margin-right:auto}.es-header-search__toggle{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#0057fe;font-size:19px}.es-header-search__toggle:hover,.es-header-search__toggle[aria-expanded="true"]{background:#edf3ff}.es-header-search__panel{position:absolute;top:calc(100% + 24px);left:0;width:min(420px,calc(100vw - 32px));padding:20px;background:#fff;border:1px solid #d7e3f7;border-radius:12px;box-shadow:0 15px 40px #081d3b26;z-index:1050}.es-header-search__panel[hidden]{display:none}.es-header-search__panel label{display:block;font-size:18px;font-weight:700;margin-bottom:10px;color:#15263f}.es-header-search .es-header-search__panel input[type="search"]{display:block;width:100%;padding:12px 14px;border:1px solid #bdcdea;border-radius:8px;font-size:16px;background:#fff;color:#15263f;outline-offset:3px}.es-header-search__panel p{font-size:13px;color:#526783;margin:10px 0}.es-header-search__panel ul{list-style:none;padding:0;margin:0;max-height:320px;overflow:auto}.es-header-search__panel li+li{border-top:1px solid #e5ecf7}.es-header-search__panel li a{display:block;padding:12px 6px;color:#15263f}.es-header-search__panel li a:hover{background:#f2f6ff}.es-header-search__panel strong{display:block;font-size:14px}.es-header-search__panel small{display:block;font-size:12px;color:#526783;margin-top:4px}.es-search-selected td{box-shadow:inset 0 0 0 100px #dceaff!important}@media(max-width:1199px){.es-header-search__panel{position:fixed;top:auto;left:16px;margin-top:16px}.es-header-search{margin-right:auto}.home-nav__brand{margin-right:0}}

.home-nav__actions .es-header-search{margin:0 8px 0 0}.es-header-search__toggle{color:#111}.es-header-search__toggle:hover,.es-header-search__toggle[aria-expanded="true"]{background:#f2f2f2;color:#111}.home-nav__actions .es-header-search__panel{left:auto;right:0}@media(max-width:1199px){.home-nav__actions .es-header-search__panel{left:16px;right:auto}}

.es-header-search__panel{width:min(320px,calc(100vw - 32px));padding:12px}.es-header-search .es-header-search__panel input[type="search"]{padding:9px 11px;font-size:14px;border-radius:6px}.es-header-search__panel p:empty{display:none}.es-header-search__panel li a{padding:10px 4px}

@media(max-width:1199px){.home-nav>.container>.es-header-search{margin:0 10px 0 auto}.home-nav>.container>.es-header-search .es-header-search__panel{position:fixed;left:16px;right:auto;top:auto;margin-top:16px}}

.es-header-search__panel{padding:6px;border-radius:9px}.es-header-search .es-header-search__panel input[type=search]{padding:8px 10px}


.home-nav__cart{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px;margin-left:8px;color:#111;font-size:23px;border-radius:50%;text-decoration:none}.home-nav__cart:hover{background:#f2f2f2;color:#111}.home-nav__cart:focus-visible{outline:2px solid #0057fe;outline-offset:3px}


.es-header-search__entry{display:flex;align-items:center}.es-header-search__entry input[type="search"]{display:block;width:100%;min-width:0;border:0;border-bottom:1px solid #b9c4d2;border-radius:0;padding:8px 2px;background:transparent;font-size:13px;color:#15263f;outline:none}.es-header-search__entry input[type="search"]:focus{border-bottom-color:#0057fe}.es-header-search__entry .es-header-search__toggle{width:30px;height:36px;flex:0 0 30px;border-radius:0;background:transparent;font-size:18px}@media(min-width:1200px){.home-nav .es-header-search{margin:0 16px 0 0;flex:0 1 155px;min-width:120px}.es-header-search__entry{gap:4px}.es-header-search__entry input::placeholder{font-size:12px}.home-nav .es-header-search__panel{left:0;right:auto}}@media(max-width:1199px){.es-header-search__entry .es-header-search__toggle{width:38px;height:38px;border-radius:50%;font-size:19px}}

@media(min-width:1200px){
 .home-nav .es-header-search{flex:0 0 155px;min-width:155px}
 .es-header-search__entry{width:30px;margin-left:auto;gap:0;transition:width .3s ease,gap .3s ease}
 .es-header-search__entry input[type="search"]{flex:1 1 0;width:0;min-width:0;padding-left:0;padding-right:0;opacity:0;pointer-events:none;transition:opacity .2s ease .08s}
 .es-header-search:hover .es-header-search__entry,.es-header-search:focus-within .es-header-search__entry{width:155px;gap:4px}
 .es-header-search:hover .es-header-search__entry input[type="search"],.es-header-search:focus-within .es-header-search__entry input[type="search"]{opacity:1;pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){.es-header-search__entry,.es-header-search__entry input[type="search"]{transition:none}}

.home-nav__action-icon{display:block;width:25px;height:25px;flex-shrink:0}.es-header-search__toggle,.home-nav__cart{color:#08192e}.es-header-search__toggle:hover,.es-header-search:hover .es-header-search__toggle,.es-header-search__toggle[aria-expanded=true],.home-nav__cart:hover{color:#0057fe}.home-nav__cart{width:42px;height:42px}.home-nav__cart:hover{background:#edf3ff}.es-header-search__entry .es-header-search__toggle{color:#08192e}.es-header-search:hover .es-header-search__entry .es-header-search__toggle,.es-header-search:focus-within .es-header-search__entry .es-header-search__toggle{color:#0057fe}

.home-nav__cart{width:44px;height:44px;margin-left:10px;border:1px solid #d8e5ff;border-radius:10px;background:#f0f5ff;color:#0057fe;transition:background .18s ease,border-color .18s ease}.home-nav__cart .home-nav__action-icon{width:26px;height:26px;stroke-width:2}.home-nav__cart:hover{background:#e3edff;border-color:#94b6ff;color:#0047d1}@media(prefers-reduced-motion:reduce){.home-nav__cart{transition:none}}

@media(min-width:1200px){
 .es-header-search__entry{height:44px;align-items:center}
 .es-header-search__entry input[type="search"]{box-sizing:border-box;height:44px;border-bottom:2px solid var(--everstar-blue,#0057fe);padding-top:8px;padding-bottom:8px}
}

/* Grouped product navigation: scoped so application and utility menus stay unchanged. */
.home-nav .home-products-menu > .es-products-menu {
  padding: 20px;
  border-color: #dce6f5;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(9, 30, 65, .14) !important;
}
.es-products-menu__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 22px;
}
.es-products-menu__group { min-width: 0; padding: 0; }
.es-products-menu__group + .es-products-menu__group { border-left: 1px solid #e8eef7; padding-left: 22px; }
.home-nav .es-products-menu__heading {
  margin: 0 0 12px;
  padding-left: 10px;
  color: #62738d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.es-products-menu__items { display: grid; gap: 6px; }
.es-products-menu__items--cob { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-nav .es-product-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #173356;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.home-nav .es-products-menu__items--cob .es-product-link,
.home-nav .es-products-menu__items--specialty .es-product-link { min-height: 90px; }
.es-product-link__image { display: grid; place-items: center; width: 44px; height: 44px; }
.home-nav .es-product-link__image img { display: block; width: 44px; height: 44px; object-fit: contain; }
.es-product-link__label { font-size: 14px; font-weight: 650; line-height: 1.35; }
.es-product-link__arrow { color: var(--everstar-blue); opacity: .5; transition: transform .18s ease, opacity .18s ease; }
.home-nav .es-product-link:hover,
.home-nav .es-product-link:focus-visible { background: #edf4ff; border-color: #e1ebff; color: var(--everstar-blue); }
.home-nav .es-product-link:is(:hover, :focus-visible) .es-product-link__arrow { opacity: 1; transform: translateX(2px); }
.home-nav .es-product-link:focus-visible { outline: 2px solid var(--everstar-blue); outline-offset: 2px; }
.home-nav .es-product-link[aria-current="location"] { background: #edf4ff; color: var(--everstar-blue); box-shadow: inset 0 -2px 0 var(--everstar-blue); }
.home-nav .es-product-link[aria-current="location"] .es-product-link__arrow { opacity: 1; }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .es-products-menu__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
  .es-products-menu__group + .es-products-menu__group { padding-left: 14px; }
  .es-products-menu__items--cob { grid-template-columns: minmax(0, 1fr); }
  .home-nav .es-products-menu__items--cob .es-product-link,
  .home-nav .es-products-menu__items--specialty .es-product-link { min-height: 58px; }
}
@media (max-width: 767.98px) {
  .home-nav .home-products-menu > .es-products-menu { padding: 14px; max-height: 65vh; max-height: 65dvh; overflow-y: auto; }
  .es-products-menu__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .es-products-menu__group + .es-products-menu__group { border-left: 0; border-top: 1px solid #e8eef7; padding: 14px 0 0; }
  .home-nav .es-products-menu__heading { margin-bottom: 8px; padding-left: 4px; }
  .es-products-menu__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .home-nav .es-product-link { grid-template-columns: 34px minmax(0, 1fr); min-height: 62px; padding: 6px; gap: 8px; }
  .home-nav .es-products-menu__items--cob .es-product-link,
  .home-nav .es-products-menu__items--specialty .es-product-link { min-height: 62px; }
  .es-product-link__image, .home-nav .es-product-link__image img { width: 34px; height: 38px; }
  .es-product-link__label { min-width: 0; font-size: 12px; line-height: 1.35; white-space: normal; word-break: normal; overflow-wrap: normal; }
  .es-product-link__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-nav .es-product-link, .es-product-link__arrow { transition: none; }
}

/* Separate pale COB cards, with white space between each item. */
.es-products-menu__items--cob { gap: 10px; }
.home-nav .es-products-menu__items--cob .es-product-link { background: #f5f8fe; }
.home-nav .es-products-menu__items--cob .es-product-link:is(:hover, :focus-visible),
.home-nav .es-products-menu__items--cob .es-product-link[aria-current="location"] { background: #e7f0ff; }
