.header__inline-nav--native-mega {
  position: static;
}

.native-mega-menu,
.native-mega-menu * {
  box-sizing: border-box;
}

.native-mega-menu a {
  color: inherit;
  text-decoration: none;
}

.native-mega-menu a:hover,
.native-mega-menu a:focus {
  color: var(--mega-menu-nav-active-color);
}

.native-mega-menu .mega-visually-hidden-focusable {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.native-mega-menu .mega-visually-hidden-focusable:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.native-mega-menu-pc.mega-menu-root-pc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--native-mega-nav-gap, 28px);
  width: 100%;
  min-height: 49px;
  color: var(--mega-menu-nav-color);
  background: var(--mega-menu-nav-bg-color);
  font-family: var(--mega-menu-nav-font-family), sans-serif;
  font-size: var(--mega-menu-nav-font-size);
  font-style: var(--mega-menu-nav-font-style);
  font-weight: var(--mega-menu-nav-font-weight);
}

.native-mega-pc-item {
  display: block;
  position: static;
  padding-right: 12px;
}

.native-mega-top-content {
  display: flex;
  align-items: center;
  min-height: 49px;
  line-height: 1.2;
}

.native-mega-top-link {
  display: inline-flex;
  align-items: center;
  min-height: 49px;
  color: var(--mega-menu-nav-color);
  font-family: var(--mega-menu-nav-font-family), sans-serif;
  font-size: var(--mega-menu-nav-font-size);
  font-weight: var(--mega-menu-nav-font-weight);
  text-transform: none;
  white-space: nowrap;
}

.native-mega-pc-item:hover .native-mega-top-link,
.native-mega-pc-item:focus-within .native-mega-top-link {
  color: var(--mega-menu-nav-active-color);
}

.native-mega-pc-panel .native-mega-panel-container {
  position: absolute;
  left: 0;
  z-index: 7;
  display: none;
  width: 100%;
  max-height: min(var(--mega-panel-max-height, 600px), 90vh);
  padding: 24px 18px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--mega-menu-sub-menu-bg-color);
  color: var(--mega-menu-sub-menu-color);
  font-family: var(--mega-menu-sub-menu-font-family), sans-serif;
  box-shadow: rgba(0, 0, 0, 0.1) 0 16px 16px -16px inset;
}

/* Columns are split into rows by column count (--native-mega-per-row is written
   by header-native-mega.js), so the panel never overflows sideways. */
.native-mega-pc-panel[aria-hidden="false"] .native-mega-panel-container,
.native-mega-pc-item:hover > .native-mega-pc-panel .native-mega-panel-container,
.native-mega-pc-item:focus-within > .native-mega-pc-panel .native-mega-panel-container {
  display: grid;
  grid-template-columns: repeat(var(--native-mega-per-row, 7), minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 24px;
  align-items: start;
}

.native-mega-column.mega-layout-auto {
  flex: 1 1 0%;
  min-width: 0;
}

.native-mega-link-column {
  padding-right: 18px;
}

.native-mega-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  line-height: 1.2;
}

.native-mega-item-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.native-mega-item-left[data-tab-type="image"] .native-mega-item-image {
  display: block;
  width: var(--native-mega-image-width);
  height: var(--native-mega-image-width);
  border-radius: var(--native-mega-image-radius);
  object-fit: cover;
}

.native-mega-info {
  min-width: 0;
}

.native-mega-sub-heading {
  padding: 6px 0;
  color: var(--mega-menu-sub-menu-color);
  font-size: var(--mega-menu-sub-menu-first-level-font-size);
  font-weight: var(--mega-menu-sub-menu-first-level-font-weight);
  text-transform: none;
}

.native-mega-sub-link {
  padding-top: 6px;
  padding-bottom: 6px;
  color: var(--mega-menu-sub-menu-color);
  font-size: var(--mega-menu-sub-menu-second-level-font-size);
  font-weight: var(--mega-menu-sub-menu-second-level-font-weight);
}

.native-mega-sub-link:hover,
.native-mega-sub-link:focus,
.native-mega-image-card:hover,
.native-mega-image-card:focus {
  color: var(--mega-menu-sub-menu-active-color);
}

.native-mega-sub-block {
  display: flex;
  flex-direction: column;
  gap: var(--native-mega-item-gap, 0px);
}

.native-mega-column--image_only .native-mega-item-left {
  gap: 0;
}

.native-mega-column--image_only .native-mega-sub-link,
.native-mega-column--image_only .native-mega-item-link {
  justify-content: flex-start;
}

.native-mega-column--image_link_list .native-mega-item-left,
.native-mega-column--image_only .native-mega-item-left {
  align-items: center;
}

.native-mega-image-column {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.native-mega-image-column > .native-mega-block,
.native-mega-image-column .native-mega-menu-item-wrap {
  width: 100%;
}

.native-mega-image-column .native-mega-menu-item-wrap {
  display: flex;
  justify-content: center;
}

.native-mega-image-card {
  display: block;
  width: min(300px, 100%);
  color: var(--mega-menu-sub-menu-color);
  text-align: center;
}

.native-mega-image-card__media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--native-mega-image-radius, 8px);
}

.native-mega-image-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--native-mega-image-radius, 8px);
  object-fit: cover;
}

.native-mega-image-card__title {
  display: block;
  margin-top: 8px;
  color: inherit;
  font-size: var(--mega-menu-sub-menu-second-level-font-size);
  font-weight: var(--mega-menu-sub-menu-second-level-font-weight);
  line-height: 1.3;
}

.native-mega-mobile-tools {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
  margin-bottom: 8px;
  padding: 0 var(--drawer-padding-inline);
  color: rgb(var(--color-header-text));
  background-color: rgb(var(--color-header-background));
  border-bottom: 1px solid rgb(var(--color-entry-line));
}

.native-mega-mobile-tools[hidden] {
  display: none !important;
}

.native-mega-mobile-tools__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.native-mega-mobile-tools__text--left {
  text-align: left;
}

.native-mega-mobile-tools__text--center {
  text-align: center;
}

.native-mega-mobile-tools__text--right {
  text-align: right;
}

.native-mega-collapse-all {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  padding: 8px;
  color: var(--mega-menu-nav-color, currentColor);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.native-mega-collapse-all:hover {
  color: var(--mega-menu-nav-active-color, currentColor);
  background-color: rgba(var(--color-text), 0.06);
}

.native-mega-collapse-all:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.native-mega-collapse-all__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.native-mega-mobile.mega-mo {
  width: 100%;
  margin-top: 15px;
  padding: 0;
  list-style: none;
  color: var(--mega-menu-nav-color);
  font-family: var(--mega-menu-nav-font-family), sans-serif;
  font-size: var(--mega-menu-nav-font-size);
  font-weight: var(--mega-menu-nav-font-weight);
}

.native-mega-mobile > .mega-menu-root {
  width: 100%;
}

.native-mega-mobile .mega-horizontal-mo {
  width: var(--mega-sub-width, 100%);
}

.native-mega-mobile .mega-fold-bg {
  background-color: var(--mega-fold-bg);
}

.native-mega-mobile .mega-fold-item {
  display: flex;
  align-items: stretch;
  width: 100%;
  color: var(--mega-menu-nav-color);
  cursor: pointer;
}

.native-mega-mobile .mega-fold-item[data-border="true"][data-mega-level="0"] {
  border-bottom: 1px solid var(--mega-fold-border);
}

.native-mega-mobile .mega-fold-bg > .mega-fold-item.mega-item-hover:hover,
.native-mega-mobile .mega-fold-bg > .mega-fold-item.mega-item-hover:active,
.native-mega-mobile .mega-fold-bg > .mega-fold-item.mega-item-hover:focus-within {
  background-color: var(--mega-sub-bg-alpha);
}

.native-mega-mobile-link {
  min-height: 60px;
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 10px 0 10px 10px;
  color: var(--mega-menu-nav-color);
  font-size: var(--mega-menu-nav-font-size);
  font-weight: var(--mega-menu-nav-font-weight);
  text-transform: none;
}

.native-mega-mobile-link--home {
  min-height: 37px;
  padding-top: 0;
  padding-bottom: 0;
}

.native-mega-mobile-heading {
  min-height: 35px;
  color: var(--mega-menu-sub-menu-color);
  font-size: var(--mega-menu-sub-menu-first-level-font-size);
  font-weight: var(--mega-menu-sub-menu-first-level-font-weight);
}

.native-mega-mobile-sublink {
  min-height: 34px;
  color: var(--mega-menu-sub-menu-color);
  font-size: var(--mega-menu-sub-menu-second-level-font-size);
  font-weight: var(--mega-menu-sub-menu-second-level-font-weight);
  text-transform: none;
}

.native-mega-mobile .native-mega-item-left[data-tab-type="image"] .native-mega-item-image {
  width: var(--native-mega-image-width);
  height: var(--native-mega-image-width);
  border-radius: var(--native-mega-image-radius);
}

.native-mega-mobile .native-mega-item-image {
  border-radius: 50% !important;
}

.native-mega-mobile
  .mega-horizontal-mo[data-mega-level="1"]
  > .mega-children-mo
  > .mega-fold-children {
  row-gap: var(--native-mega-mobile-item-gap, 0px);
}

.native-mega-fold-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  padding: 14px 14px 14px 20px;
  color: inherit;
  position: relative;
}

.native-mega-fold-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.native-mega-mobile .mega-children-mo {
  overflow: hidden;
  opacity: 1;
}

.native-mega-mobile .mega-children-mo.mega-hide {
  max-height: 0;
  pointer-events: none;
}

.native-mega-mobile .mega-fold-children {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  padding-left: 15px;
  background-color: var(--mega-fold-sub-bg);
}

/* Level-1 group headings ("BY DRESS CODE", "BY COLOR") no longer draw their
   own underline; the separator sits at the end of each group's link list. */
.native-mega-mobile .mega-horizontal-mo[data-mega-level="1"] > .mega-children-mo > .mega-fold-children {
  padding-left: 0;
  border-bottom: 1px solid var(--mega-fold-sub-border);
}

.native-mega-mobile .mega-horizontal-mo[data-mega-level="2"] > .mega-children-mo > .mega-fold-children {
  padding-left: 0;
}

[hidden].native-mega-menu {
  display: none !important;
}
