/* Restore UHF header when custom elements never hydrate (saved local page). */
uhf-header:not(:defined) {
  display: block !important;
  height: auto !important;
}

uhf-brand:not(:defined),
uhf-contextual-nav:not(:defined),
uhf-contextual-nav-desktop:not(:defined),
uhf-actions:not(:defined),
uhf-global-nav:not(:defined),
uhf-global-nav-desktop:not(:defined),
uhf-search:not(:defined),
uhf-mecontrol:not(:defined),
uhf-cart:not(:defined),
uhf-dropdown:not(:defined),
uhf-dropdown-desktop:not(:defined),
uhf-overflow-menu:not(:defined),
uhf-icon:not(:defined),
uhf-dropdown-header:not(:defined),
uhf-dropdown-column:not(:defined),
uhf-dropdown-footer:not(:defined) {
  visibility: visible !important;
}

uhf-header {
  display: block;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
}

.uhf-header.uhf-breakpoint--desktop {
  overflow: visible;
}

uhf-promo-banner,
uhf-cookie-banner {
  display: none !important;
}

uhf-mecontrol {
  display: flex !important;
  align-items: center;
  gap: 4px;
  width: auto !important;
}

uhf-mecontrol > div > button {
  color: #262626 !important;
  border-color: #262626 !important;
}

.uhf-microsoft-logo img {
  display: block;
  width: 108px;
  height: auto;
}

/* Original MWF glyphs (Learn more / FAQ chevrons) use this icon font. */
@font-face {
  font-family: MWF-FLUENT-ICONS;
  src: url("MWFFluentIcons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

/* Segoe UI webfonts — local copies so text metrics match microsoft.com */
@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-semilight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Segoe UI";
  src: url("segoe-ui-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: SegoeUI;
  src: url("segoe-ui-light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: SegoeUI;
  src: url("segoe-ui-semilight.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: SegoeUI;
  src: url("segoe-ui-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: SegoeUI;
  src: url("segoe-ui-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: SegoeUI;
  src: url("segoe-ui-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html, body {
  font-family: "Segoe UI", SegoeUI, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

uhf-global-nav uhf-popout.uhf-dropdown-menu:not(.hidden) {
  display: block;
  visibility: visible;
}

#uhf-cart-count-iframe {
  display: none !important;
}
