/* ==========================================================================
   Site header (template-parts/header/site-header.php)
   Desktop ≥ 1025px: inline nav + mega menu. ≤ 1024px: off-canvas drawer.
   ========================================================================== */

.ms-header {
  --ms-navy: #00324c;
  --ms-blue: #1e9fd9;
  --ms-blue-dark: #1782b5;
  --ms-accent: #1ea5c8;
  --ms-ink: #0f172a;
  --ms-text: #1f2937;
  --ms-muted: #64748b;
  --ms-line: #e7ecf2;
  --ms-tint: #f0f8fd;
  --ms-topbar-h: 36px;
  --ms-bar-h: 80px;
  --ms-admin-bar: 0px;
  --ms-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  position: sticky;
  top: calc(var(--ms-admin-bar) - var(--ms-topbar-h));
  z-index: 9999;
  background: #fff;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

.admin-bar .ms-header {
  --ms-admin-bar: 32px;
}
@media (max-width: 782px) {
  .admin-bar .ms-header {
    --ms-admin-bar: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar .ms-header {
    --ms-admin-bar: 0px;
  }
}

.ms-header *,
.ms-header *::before,
.ms-header *::after {
  box-sizing: border-box;
}

/* Resets wrapped in :where() so they never outrank component rules. */
.ms-header :where(a) {
  text-decoration: none;
}
.ms-header :where(ul) {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ms-header :where(p) {
  margin: 0;
}
.ms-header :where(button) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.ms-header :focus-visible {
  outline: 2px solid var(--ms-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.ms-header .screen-reader-text,
.skip-link.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  background: #fff;
  color: var(--ms-ink, #0f172a);
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
#ms-main:focus {
  outline: none;
}

.ms-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Badges --------------------------------------------------------------- */

.ms-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e5f7ec;
  color: #15803d;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
}
.ms-badge--dark {
  background: rgba(46, 204, 113, 0.16);
  color: #4ade80;
}

/* Top bar ------------------------------------------------------------------ */

.ms-topbar {
  height: var(--ms-topbar-h);
  background: var(--ms-navy);
  color: #fff;
  font-size: 12.5px;
}
.ms-topbar__inner,
.ms-topbar__left,
.ms-topbar__right,
.ms-topbar__products {
  display: flex;
  align-items: center;
  height: 100%;
}
.ms-topbar__inner {
  justify-content: space-between;
  gap: 16px;
}
.ms-topbar__left {
  gap: 22px;
}
.ms-topbar__right {
  gap: 18px;
}

.ms-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 500;
  transition: color 0.2s;
}
.ms-topbar a:hover {
  color: #9fd8f3;
}

.ms-topbar__products {
  gap: 22px;
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.ms-topbar__products i {
  color: var(--ms-icon-color, #fff);
  font-size: 14px;
  transition: transform 0.2s;
}
.ms-topbar__products a:hover {
  color: #fff;
}
.ms-topbar__products a:hover i {
  transform: scale(1.12);
}
.ms-topbar__products .ms-badge {
  margin-left: -2px;
}

.ms-topbar__mobile-link {
  display: none !important;
}

.ms-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.ms-socials a {
  display: inline-grid !important;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 14px;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.ms-topbar__socials {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
/* style.css forces .fa-youtube:before to white; follow the link colour instead. */
.ms-socials .fa-youtube::before {
  color: inherit !important;
}
.ms-topbar__socials a {
  color: rgba(255, 255, 255, 0.88);
}
.ms-topbar__socials a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Main bar ----------------------------------------------------------------- */

.ms-bar {
  position: relative; /* anchors the full-width mega panel */
  background: #fff;
  border-bottom: 1px solid var(--ms-line);
  transition: box-shadow 0.25s;
}
.ms-header.is-scrolled .ms-bar {
  border-bottom-color: transparent;
  box-shadow: 0 6px 24px -10px rgba(15, 23, 42, 0.22);
}
.ms-bar__inner {
  display: flex;
  align-items: center;
  height: var(--ms-bar-h);
  gap: 24px;
}

.ms-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.ms-logo__img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 240px;
  object-fit: contain;
}
.ms-logo__text {
  font-size: 20px;
  font-weight: 700;
  color: var(--ms-ink);
}

.ms-burger,
.ms-drawer__head,
.ms-drawer__foot {
  display: none;
}

/* Buttons ------------------------------------------------------------------ */

.ms-btn,
.ms-nav__item.is-button > .ms-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 1.5px solid var(--ms-blue);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.ms-btn--primary,
.ms-nav__item.menu-highlighted > .ms-nav__link {
  background: var(--ms-blue);
  color: #fff;
}
.ms-btn--primary:hover,
.ms-nav__item.menu-highlighted > .ms-nav__link:hover {
  background: var(--ms-blue-dark);
  border-color: var(--ms-blue-dark);
  color: #fff;
}
.ms-nav__item.menu-highlighted-outline > .ms-nav__link {
  background: #fff;
  color: var(--ms-blue);
}
.ms-nav__item.menu-highlighted-outline > .ms-nav__link:hover {
  background: var(--ms-tint);
  color: var(--ms-blue-dark);
}

/* Icon on a top-level menu link (Icon field), e.g. Shop Here. */
.ms-nav__link > i {
  margin-right: 7px;
  color: inherit; /* follows the link colour, including hover/current */
  font-size: 0.95em;
}

/* Sub-menu links (mega + dropdown) ----------------------------------------- */

.ms-sublink {
  display: block;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  transition: background-color 0.15s;
}
.ms-sublink:hover,
.is-current > .ms-sublink {
  background: var(--ms-tint);
}
.ms-sublink__title {
  display: block;
  color: var(--ms-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.ms-sublink:hover .ms-sublink__title,
.is-current > .ms-sublink .ms-sublink__title {
  color: var(--ms-blue-dark);
}
.ms-sublink__desc {
  display: block;
  margin-top: 2px;
  color: var(--ms-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

/* Mega panel ---------------------------------------------------------------
   Category heading > flagship (semibold + one-line description) > feature. */

.ms-mega__links .ms-sublink {
  padding: 7px 10px;
  border-radius: 8px;
}
.ms-mega__links .ms-sublink__title {
  color: #1e293b;
  font-size: 14px;
  font-weight: 400;
}
.ms-mega__links .is-featured > .ms-sublink {
  padding: 8px 10px;
}
.ms-mega__links .is-featured > .ms-sublink .ms-sublink__title {
  color: var(--ms-ink);
  font-weight: 600;
}
.ms-mega__links .ms-sublink__desc {
  margin-top: 1px;
  font-size: 12.5px;
  line-height: 1.4;
}
.ms-mega__links .ms-sublink:hover,
.ms-mega__links .is-current > .ms-sublink {
  background: #eaf5fc;
}
.ms-mega__links .ms-sublink:hover .ms-sublink__title,
.ms-mega__links .is-current > .ms-sublink .ms-sublink__title {
  color: var(--ms-ink);
}

.ms-mega__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ms-line);
}
.ms-mega__heading {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 12px;
  color: var(--ms-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.ms-mega__heading i {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef6fc;
  color: var(--ms-blue-dark);
  font-size: 14px;
}
a.ms-mega__heading:hover {
  color: var(--ms-blue-dark);
}

.ms-mega__group-toggle {
  display: none;
}

.ms-mega__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.ms-mega__footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}
.ms-mega__footer-link {
  color: var(--ms-ink);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.ms-mega__footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ms-mega__footer-link i {
  color: var(--ms-blue-dark);
  font-size: 14px;
}
.ms-mega__footer-link:hover {
  color: var(--ms-blue-dark);
}
.ms-mega__footer-link.is-primary {
  color: var(--ms-blue-dark);
}
.ms-mega__footer-link.is-primary::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.2s;
}
.ms-mega__footer-link.is-primary:hover::after {
  transform: translateX(3px);
}
.ms-mega__note {
  color: var(--ms-muted);
  font-size: 13.5px;
}
.ms-mega__note a {
  color: var(--ms-blue-dark);
  font-weight: 500;
  /* A global stylesheet forces text-decoration: none !important on links. */
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.ms-mega__note a:hover {
  color: var(--ms-blue);
}

.ms-mega__promo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px;
  border: 1px solid #e1edf6;
  border-radius: 14px;
  background: #f6fafd;
}
.ms-mega__promo-badge {
  margin-bottom: 12px;
  color: var(--ms-blue-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ms-mega__promo-title {
  margin-bottom: 10px;
  color: var(--ms-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}
.ms-mega__promo-text {
  margin-bottom: 20px;
  color: var(--ms-muted);
  font-size: 14px;
  line-height: 1.6;
}
.ms-btn.ms-mega__promo-cta {
  max-width: 100%;
  height: 42px;
  padding: 0 24px;
  border-color: var(--ms-blue-dark);
  background: #fff;
  color: var(--ms-blue-dark);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.ms-btn.ms-mega__promo-cta:hover {
  background: var(--ms-blue-dark);
  color: #fff;
}
.ms-mega__promo-cta span {
  transition: transform 0.2s;
}
.ms-mega__promo-cta:hover span {
  transform: translateX(3px);
}

/* ==========================================================================
   Desktop
   ========================================================================== */

@media (min-width: 1025px) {
  .ms-drawer {
    display: flex;
    flex: 1;
    align-self: stretch;
    min-width: 0;
  }
  .ms-nav {
    display: flex;
    flex: 1;
  }

  .ms-nav__list {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 4px;
  }
  /* Center the regular links in the space left over by logo and buttons. */
  .ms-nav__list > .ms-nav__item:first-child {
    margin-left: auto;
  }
  .ms-nav__item:not(.is-button) + .ms-nav__item.is-button {
    margin-left: auto;
  }
  .ms-nav__item.is-button + .ms-nav__item.is-button {
    margin-left: 10px;
  }

  .ms-nav .ms-nav__item.hide-web {
    display: none !important;
  }

  .ms-nav__item {
    display: flex;
    align-items: center;
    align-self: stretch; /* full bar height so hover reaches the panel */
  }
  .ms-nav__item.is-button {
    align-self: center;
  }

  .ms-nav__item:not(.is-button) > .ms-nav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--ms-text);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
  }
  .ms-nav__item.has-children:not(.is-button) > .ms-nav__link {
    padding-right: 4px;
  }
  .ms-nav__item:not(.is-button) > .ms-nav__link:hover,
  .ms-nav__item.is-current:not(.is-button) > .ms-nav__link,
  .ms-nav__item.is-open > .ms-nav__link {
    color: var(--ms-blue);
  }

  .ms-nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    border-radius: 6px;
    color: var(--ms-text);
  }
  .ms-nav__toggle:hover,
  .ms-nav__item.is-open > .ms-nav__toggle {
    color: var(--ms-blue);
  }
  .ms-chevron {
    transition: transform 0.2s;
  }
  .ms-nav__item.is-open > .ms-nav__toggle .ms-chevron {
    transform: rotate(180deg);
  }

  /* Panels: hidden until .is-open (JS) or :hover (no-JS fallback). */
  .ms-mega,
  .ms-dropdown {
    position: absolute;
    top: 100%;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition:
      opacity 0.18s var(--ms-ease),
      transform 0.18s var(--ms-ease),
      visibility 0s linear 0.18s;
  }
  .ms-nav__item.is-open > .ms-mega,
  .ms-nav__item.is-open > .ms-dropdown,
  .ms-header:not(.ms-js) .ms-nav__item.has-children:hover > .ms-mega,
  .ms-header:not(.ms-js) .ms-nav__item.has-children:hover > .ms-dropdown,
  .ms-header:not(.ms-js) .ms-nav__item.has-children:focus-within > .ms-mega,
  .ms-header:not(.ms-js)
    .ms-nav__item.has-children:focus-within
    > .ms-dropdown {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .ms-mega {
    top: calc(100% + -12px);
    left: 0;
    right: 0;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ms-line);
    border-radius: 14px;
    box-shadow: 0 24px 48px -24px rgba(15, 23, 42, 0.22);
  }
  /* Invisible bridge over the 8px gap so hover isn't lost on the way down. */
  .ms-mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 10px;
  }
  .ms-mega__inner {
    max-height: calc(100vh - var(--ms-bar-h) - 40px);
    overflow-y: auto;
    border-radius: inherit;
  }
  /* Three stacked category columns + promo card column. */
  .ms-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 28px;
    padding: 24px 28px 20px;
  }
  .ms-mega__grid.has-promo {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.95fr);
  }
  .ms-mega__col {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
  }
  .ms-mega__footer {
    padding: 14px 28px;
    border-top: 1px solid var(--ms-line);
    border-radius: 0 0 14px 14px;
    background: #fafbfc;
  }

  .ms-nav__item.has-children:not(.has-mega) {
    position: relative;
  }
  .ms-dropdown {
    left: 0;
    min-width: 260px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid var(--ms-line);
    border-radius: 12px;
    box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.25);
  }
  .ms-dropdown__list.is-nested {
    padding-left: 12px;
  }

  .ms-backdrop {
    display: none !important;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .ms-topbar__products {
    display: none;
  }
  .ms-nav__item:not(.is-button) > .ms-nav__link {
    padding: 8px 8px;
    font-size: 14.5px;
  }
  .ms-nav__item.is-button > .ms-nav__link,
  .ms-btn {
    padding: 0 16px;
    font-size: 13px;
  }
  .ms-mega__grid {
    gap: 0 20px;
    padding: 20px 22px 18px;
  }
  .ms-mega__grid.has-promo {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 210px;
  }
  .ms-mega__promo {
    padding: 20px 18px;
  }
  .ms-btn.ms-mega__promo-cta {
    width: 100%;
    padding: 0 12px;
    font-size: 13px;
  }
  .ms-mega__footer {
    padding: 12px 22px;
  }
}

/* ==========================================================================
   Tablet & mobile: off-canvas drawer
   ========================================================================== */

@media (max-width: 1024px) {
  .ms-header {
    --ms-bar-h: 68px;
    --ms-topbar-h: 38px;
  }

  .ms-topbar__products {
    display: none;
  }
  .ms-topbar__mobile-link {
    display: inline-flex !important;
  }

  .ms-logo__img {
    height: 42px;
    max-width: 190px;
  }

  .ms-burger {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: -8px;
    border-radius: 8px;
    color: var(--ms-ink);
  }
  .ms-burger__lines {
    display: grid;
    gap: 5px;
    width: 22px;
  }
  .ms-burger__lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .ms-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    width: min(400px, 90vw);
    background: #fff;
    box-shadow: -16px 0 40px -12px rgba(15, 23, 42, 0.3);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 0.3s var(--ms-ease),
      visibility 0s linear 0.3s;
  }
  .ms-drawer.is-open {
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .admin-bar .ms-drawer {
    top: var(--ms-admin-bar);
  }

  .ms-drawer__head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 12px 0 20px;
    background: #fff;
    border-bottom: 1px solid var(--ms-line);
  }
  .ms-drawer__head .ms-logo__img {
    height: 38px;
  }
  .ms-drawer__close {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--ms-ink);
  }
  .ms-drawer__close:hover {
    background: var(--ms-tint);
  }

  .ms-nav {
    flex: 1;
    padding: 8px 20px 0;
  }

  .ms-nav__list {
    display: flex;
    flex-direction: column;
  }
  .ms-nav__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--ms-line);
  }
  .ms-nav .ms-nav__item.hide-web {
    display: flex !important;
  }
  .ms-nav .ms-nav__item.hide-mobile {
    display: none !important;
  }

  .ms-nav__item:not(.is-button) > .ms-nav__link {
    flex: 1;
    padding: 14px 0;
    color: var(--ms-ink);
    font-size: 16px;
    font-weight: 500;
  }
  .ms-nav__item.is-current:not(.is-button) > .ms-nav__link {
    color: var(--ms-blue);
  }

  .ms-nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    border-radius: 8px;
    color: var(--ms-text);
  }
  .ms-nav__toggle .ms-chevron {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
  }
  .ms-nav__item.is-open > .ms-nav__toggle .ms-chevron {
    transform: rotate(180deg);
  }

  .ms-mega,
  .ms-dropdown {
    display: none;
    flex-basis: 100%;
    padding: 4px 0 16px;
  }
  .ms-nav__item.is-open > .ms-mega,
  .ms-nav__item.is-open > .ms-dropdown {
    display: block;
  }

  /* Categories become an accordion inside the drawer. */
  .ms-mega__group {
    border-bottom: 1px solid var(--ms-line);
  }
  .ms-mega__head {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .ms-mega__heading {
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
  }
  .ms-header.ms-js p.ms-mega__heading {
    cursor: pointer;
  }
  .ms-mega__heading i {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .ms-mega__group-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-right: -10px;
    border-radius: 8px;
    color: var(--ms-text);
  }
  .ms-mega__group-toggle .ms-chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
  }
  .ms-mega__group.is-open .ms-mega__group-toggle .ms-chevron {
    transform: rotate(180deg);
  }
  .ms-header.ms-js .ms-mega__group:not(.is-open) > .ms-mega__links {
    display: none;
  }
  .ms-mega__links {
    padding: 0 0 10px 38px;
  }

  .ms-sublink {
    padding: 8px 10px;
    margin: 0 -10px;
  }
  .ms-sublink__desc {
    display: none;
  }
  .ms-mega__links .is-featured > .ms-sublink .ms-sublink__title {
    font-size: 14.5px;
    font-weight: 500;
  }
  .ms-mega__promo {
    margin-top: 16px;
    padding: 20px 18px;
  }
  .ms-mega__promo-title {
    font-size: 17px;
  }
  .ms-mega__footer,
  .ms-mega__footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .ms-mega__footer {
    padding-top: 12px;
  }
  .ms-mega__note {
    padding: 6px 0;
  }
  .ms-mega__promo-cta {
    width: 100%;
  }
  .ms-mega__footer-link {
    padding: 6px 0;
  }

  .ms-nav__item.is-button {
    border-bottom: 0;
    padding-top: 10px;
  }
  .ms-nav__item:not(.is-button) + .ms-nav__item.is-button {
    padding-top: 20px;
  }
  .ms-nav__item.is-button > .ms-nav__link {
    width: 100%;
    height: 48px;
  }

  .ms-drawer__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 18px 20px 24px;
    border-top: 1px solid var(--ms-line);
    background: #f8fafc;
  }
  .ms-drawer__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ms-ink);
    font-size: 14px;
    font-weight: 600;
  }
  .ms-drawer__phone i {
    color: var(--ms-blue);
  }
  .ms-drawer__socials a {
    color: var(--ms-text);
  }
  .ms-drawer__socials a:hover {
    color: var(--ms-blue);
    background: var(--ms-tint);
  }

  .ms-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .ms-backdrop.is-visible {
    opacity: 1;
  }

  body.ms-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .ms-topbar {
    font-size: 12px;
  }
  .ms-topbar__socials {
    display: none;
  }
  .ms-topbar__right {
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ms-header *,
  .ms-header *::before,
  .ms-header *::after {
    transition-duration: 0s !important;
  }
}
