﻿/* KoreanDemands SmartMegaMenu */

@keyframes kd-megamenu-slide-left {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes kd-megamenu-slide-right {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

@keyframes kd-megamenu-fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mm-outer-wrapper {
  position: relative;
}

.header-nav-bar .mobile-menu-trigger {
  display: none !important;
}

/* List-view menus in header: trigger acts as top nav label; items live in hover panel */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center {
    justify-content: flex-start;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .megamenu-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--active-color);
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
    width: auto;
    transition: color 0.2s ease;
  }

  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e97c";
    font-size: 14px;
    color: var(--active-color);
    transition: color 0.2s ease;
  }

  .header-nav-center .mm-outer-wrapper.list-view:hover .megamenu-trigger,
  .header-nav-center .mm-outer-wrapper.list-view:focus-within .megamenu-trigger {
    color: var(--theme-color);
  }

  .header-nav-center .mm-outer-wrapper.list-view:hover .megamenu-trigger::before,
  .header-nav-center .mm-outer-wrapper.list-view:focus-within .megamenu-trigger::before {
    color: var(--theme-color);
  }

  .header-nav-center .mm-outer-wrapper.list-view:hover .megamenu-trigger::after,
  .header-nav-center .mm-outer-wrapper.list-view:focus-within .megamenu-trigger::after {
    color: var(--theme-color);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\ea14";
    font-size: 14px;
    color: var(--active-color);
    transition: color 0.2s ease;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger {
    color: var(--active-color);
    gap: 6px;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .megamenu-trigger::after {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e98b";
    font-size: 16px;
    color: var(--active-color);
    margin-left: 4px;
    flex-shrink: 0;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar {
    display: none;
    position: absolute;
    top: 100%;
    z-index: 20;
    box-sizing: border-box;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-navbar {
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    max-width: 100vw;
    padding: 30px 0;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-navbar {
    left: auto;
    right: 0;
    top: 100%;
    width: max-content;
    min-width: 200px;
    max-width: none;
    margin-left: 0;
    padding: 8px 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    display: block;
    text-align: left;
  }

  .header-nav-bar .mm-outer-wrapper.list-view:hover .mm-navbar,
  .header-nav-bar .mm-outer-wrapper.list-view:focus-within .mm-navbar {
    display: block;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mobile-menu-head {
    display: none !important;
  }

  .header-nav-bar .mm-outer-wrapper.list-view > .mm-navbar {
    pointer-events: none;
  }

  .header-nav-bar .mm-outer-wrapper.list-view:hover > .mm-navbar,
  .header-nav-bar .mm-outer-wrapper.list-view:focus-within > .mm-navbar {
    pointer-events: auto;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a::before,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a::after {
    content: none;
    display: none;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li.has-children > a::after {
    content: none;
    display: none;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li {
    display: block;
    padding: 0;
    margin: 0;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a {
    display: block;
    padding: 10px 18px;
    text-align: left;
    text-decoration: none;
    color: var(--active-color);
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a .category-name {
    color: inherit;
    font-weight: inherit;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:hover,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:focus-visible {
    background-color: var(--light-grey-2);
    color: var(--theme-color);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist-toggle {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li {
    position: static;
    display: block;
    padding: 0 12px 20px;
    box-sizing: border-box;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li:not(:last-child) {
    border-right: 1px solid var(--light-grey);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a {
    display: block;
    width: auto;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--active-color);
    padding: 0 0 12px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--light-grey);
    text-transform: none;
    white-space: normal;
    text-decoration: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a .category-name {
    display: inline;
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:focus-visible .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist-toggle {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a {
    display: inline;
    width: auto;
    flex: 0 1 auto;
    align-self: flex-start;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--active-color);
    padding: 0;
    margin: 0;
    border: none;
    text-transform: none;
    text-decoration: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a .category-name {
    display: inline;
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a:focus-visible .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a .category-container,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a .ribbon-container {
    display: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    pointer-events: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--medium-grey-2);
    font-size: 0;
    line-height: 1;
    cursor: default;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist-toggle::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e98d";
    font-size: 16px;
    color: var(--active-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.see-all,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] {
    margin-top: 8px;
    padding-top: 4px;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.see-all > a .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] > a .category-name {
    color: var(--theme-color);
    font-weight: 600;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.see-all > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.see-all > a:focus-visible .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] > a:focus-visible .category-name {
    color: var(--theme-color);
  }
}

@media (max-width: 1024px) {
  .header-nav-bar .mm-outer-wrapper.list-view .megamenu-trigger {
    display: none !important;
  }
}

.mm-outer-wrapper .ribbon-container {
  padding: 4px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  margin-inline: 5px;
}

/* Shared top-level link layout */
.mm-outer-wrapper .nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--active-color);
  text-decoration: none;
  white-space: nowrap;
}

.mm-outer-wrapper .nav-menu > li > a .category-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

.mm-outer-wrapper .nav-menu > li > a .image-container {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.mm-outer-wrapper .nav-menu > li.promotion > a .category-name {
  color: var(--theme-color);
}

/* CSS icon font: K-Beauty Categories trigger + mobile drawer row only */
.header-nav-center .mm-outer-wrapper .nav-menu > li.k-beauty-categories:not(:has(.image-container)) > a::before {
  font-family: "icomoon";
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\e97c";
  font-size: 14px;
  color: var(--active-color);
}

.header-nav-center .mm-outer-wrapper .nav-menu > li.k-beauty-categories > a .category-name {
  color: var(--active-color);
}

@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: none;
    box-shadow: none;
    grid-template-columns: none;
    animation: none;
    left: auto;
    top: auto;
    z-index: auto;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > .sublist .parent-back-link {
    display: none;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > .sublist > li > a .category-container,
  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > .sublist > li > a .ribbon-container {
    display: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > .sublist > li.has-children:not(.is-expanded) > .sublist {
    display: none !important;
  }
}

/* CSS icon font: Support mobile drawer rows */
@media (max-width: 1024px) {
  .header-nav-right .mm-outer-wrapper .nav-menu > li > a:not(:has(.image-container))::before,
  .mm-outer-wrapper .nav-menu > li.support-menu:not(:has(.image-container)) > a::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\ea14";
    font-size: 14px;
    color: var(--active-color);
  }
}

/* Desktop */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view {
    position: static;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view {
    position: relative;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-navbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view > .mm-navbar {
    pointer-events: auto;
  }

  .header-nav-bar .mm-outer-wrapper.mm-navbar--merged {
    display: none !important;
  }

  .header-nav-bar .mm-outer-wrapper:not(.list-view) .mm-navbar,
  .header-nav-bar .mm-outer-wrapper.grid-view .mm-navbar {
    display: block;
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    transform: none;
    background: transparent;
    flex-direction: row;
  }

  .header-nav-bar .mm-outer-wrapper .mobile-menu-head {
    display: none !important;
  }

  .mm-outer-wrapper.grid-view .mobile-menu-head {
    display: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li,
  .header-nav-bar .mm-outer-wrapper.grid-view .nav-menu > li {
    position: static;
    display: flex;
    align-items: center;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > a,
  .header-nav-bar .mm-outer-wrapper.grid-view .nav-menu > li > a {
    min-height: 40px;
    padding: 0;
    text-transform: none;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--active-color);
  }

  .mm-outer-wrapper.grid-view .nav-menu > li.promotion > a .category-name {
    color: var(--theme-color);
  }

  .mm-outer-wrapper.grid-view .nav-menu > li.has-children > a::after {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e906";
    font-size: 8px;
    color: currentColor;
  }

  .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li.has-children:not(:has(.image-container)) > a::after {
    color: var(--theme-color);
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li.has-children > a::after {
    display: none;
  }

  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > a::before {
    content: none !important;
    display: none !important;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li .sublist-toggle,
  .header-nav-bar .mm-outer-wrapper.list-view .mm-navbar .nav-menu > li > .sublist-toggle {
    display: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist {
    display: none;
    position: absolute;
    left: 50%;
    right: auto;
    top: 100%;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    padding: 30px max(24px, calc((100vw - var(--container-xl-2)) / 2));
    list-style: none;
    background: var(--white);
    border-top: 1px solid var(--light-grey);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    z-index: 20;
    animation: kd-megamenu-fade-up 0.25s ease;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    box-sizing: border-box;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li:hover > .sublist,
  .mm-outer-wrapper.grid-view .nav-menu > li:focus-within > .sublist {
    display: grid;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li {
    break-inside: avoid;
    padding: 0 0 20px;
    border-right: 1px solid var(--light-grey);
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li:last-child {
    border-right: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist .parent-back-link {
    display: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li > a {
    display: block;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--active-color);
    padding: 0 0 12px;
    margin: 0 0 8px;
    border-bottom: 1px solid var(--light-grey);
    text-transform: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li > a .category-container,
  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li > a .ribbon-container {
    display: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist .sublist {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist .sublist > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--active-color);
    padding: 4px 0;
    text-transform: none;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist .sublist > li > a::after {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e906";
    font-size: 10px;
    color: var(--medium-grey-2);
    flex: 0 0 auto;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li.see-all > a,
  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li[class*="see-all"] > a {
    color: var(--theme-color);
    font-weight: 600;
    border-bottom: none;
    margin-top: 8px;
    padding-top: 8px;
  }

  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li.see-all > a::after,
  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist > li[class*="see-all"] > a::after {
    color: var(--theme-color);
  }

  .megamenu-right .mm-outer-wrapper.grid-view .nav-menu {
    gap: 10px;
  }

  .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    gap: 0;
  }

  .megamenu-right .mm-outer-wrapper.grid-view .nav-menu > li > .sublist {
    left: auto;
    right: 0;
    width: 280px;
    margin-left: 0;
    max-width: 280px;
    grid-template-columns: 1fr;
    padding: 16px 20px;
  }
}

@media (min-width: 1200px) {
  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1367px) {
  .mm-outer-wrapper.grid-view .nav-menu > li > .sublist {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 1024px) {
  .mm-outer-wrapper .mm-navbar .mm-flyout-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .mm-outer-wrapper .mm-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 285px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  body.megamenu-open .mm-outer-wrapper .mm-navbar.is-drawer-open {
    transform: translateX(0);
  }

  .mm-outer-wrapper .mm-navbar:not(.mm-navbar--primary) {
    display: none;
  }

  body.megamenu-open .mm-outer-wrapper .mm-navbar.mm-navbar--merged {
    display: none;
  }

  .mm-outer-wrapper .mobile-menu-head {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 45px;
    padding: 0 0 0 14px;
    border-bottom: 1px solid var(--medium-grey-2);
    background: var(--white);
    flex: 0 0 auto;
  }

  .mm-outer-wrapper .mm-navbar--primary .mobile-menu-head,
  body.megamenu-open .mm-outer-wrapper .mm-navbar--primary .mobile-menu-head {
    display: flex;
  }

  .mm-outer-wrapper .mm-navbar--primary .mobile-menu-head.is-submenu-active .mobile-menu-head-brand,
  .mm-outer-wrapper .mm-navbar--primary .mobile-menu-head.is-submenu-active .mobile-menu-close {
    display: none;
  }

  .mm-outer-wrapper .mobile-menu-head-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
  }

  .mm-outer-wrapper .mobile-menu-head-brand .logo,
  .mm-outer-wrapper .mobile-menu-head-brand a {
    display: block;
    max-width: 150px;
  }

  .mm-outer-wrapper .mobile-menu-head-brand img {
    display: block;
    max-height: 35px;
    width: auto;
  }

  .mm-outer-wrapper .go-back {
    display: none;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    width: 44px;
    min-width: 44px;
    padding: 0;
    cursor: pointer;
    color: var(--active-color);
    flex-shrink: 0;
  }

  .mm-outer-wrapper .mobile-menu-head.is-submenu-active .go-back {
    display: inline-flex;
  }

  .mm-outer-wrapper .current-menu-title {
    display: none;
    flex: 1 1 auto;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--active-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mm-outer-wrapper .mobile-menu-head.is-submenu-active .current-menu-title {
    display: block;
  }

  .mm-outer-wrapper .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    width: 44px;
    min-width: 44px;
    padding: 0;
    cursor: pointer;
    line-height: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  .mm-outer-wrapper .mm-navbar--primary {
    position: fixed;
  }

  .mm-outer-wrapper .mm-navbar--primary .mm-flyout-inner,
  .mm-outer-wrapper .mm-navbar--primary > .nav-menu {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
  }

  .mm-outer-wrapper .mm-navbar--primary.mm-nav-drill-active .mm-flyout-inner {
    display: none !important;
  }

  .mm-outer-wrapper .mm-navbar--primary.mm-nav-drill-active > .nav-menu {
    display: none !important;
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel {
    position: absolute;
    top: 45px;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 10;
    pointer-events: auto;
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel.is-active {
    transform: translateX(0);
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel.is-sliding-out {
    animation: kd-megamenu-slide-right 0.3s ease forwards;
  }

  /* Docked drill-down panels: mirror .nav-menu mobile row layout (outside .nav-menu) */
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--medium-grey-2);
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li.parent-back-link {
    display: none;
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li > a {
    flex: 1 1 auto;
    min-height: 50px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--active-color);
    white-space: normal;
    text-decoration: none;
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li > a .category-container,
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li > a .ribbon-container {
    display: none;
  }

  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li.see-all > a,
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li[class*="see-all"] > a {
    color: var(--theme-color);
    font-weight: 600;
  }

  .mm-outer-wrapper .mm-navbar--primary .has-children > .sublist:not(.mm-mobile-panel) {
    display: none;
  }

  .mm-outer-wrapper .mobile-menu-close .mobile-menu-close-icon {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 1;
  }

  .mm-outer-wrapper .mobile-menu-close .mobile-menu-close-icon::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\eac6";
    font-size: 16px;
    color: var(--active-color);
  }

  .mm-outer-wrapper .go-back .go-back-icon {
    display: block;
    width: 16px;
    height: 16px;
    line-height: 1;
  }

  .mm-outer-wrapper .go-back .go-back-icon::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e98c";
    font-size: 16px;
    color: var(--active-color);
  }

  .mm-outer-wrapper .nav-menu > li:not(.has-children) > .sublist-toggle,
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li:not(.has-children) > .sublist-toggle {
    display: none !important;
  }

  .mm-outer-wrapper .nav-menu .sublist-toggle,
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel > li > .sublist-toggle,
  .mm-outer-wrapper .mobile-mm-navbar .right-arrow.sublist-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    padding: 0;
    margin: 0;
    float: none;
    cursor: pointer;
    border: none;
    background: transparent;
    flex: 0 0 auto;
    box-sizing: border-box;
  }

  .mm-outer-wrapper .nav-menu .sublist-toggle::before,
  .mm-outer-wrapper .mm-navbar--primary > .sublist.mm-mobile-panel .sublist-toggle::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e98d";
    font-size: 16px;
    color: var(--active-color);
  }

  .mm-outer-wrapper .nav-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    flex: 1 1 auto;
  }

  .mm-outer-wrapper .nav-menu > li,
  .mm-outer-wrapper .nav-menu .sublist > li {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--medium-grey-2);
  }

  .mm-outer-wrapper .nav-menu > li > a {
    flex: 1 1 auto;
    min-height: 50px;
    padding: 0 15px;
    white-space: normal;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--active-color);
  }

  .mm-outer-wrapper .nav-menu > li.promotion > a .category-name {
    color: var(--theme-color);
  }

  .mm-outer-wrapper .nav-menu > li > .sublist .parent-back-link {
    display: none;
  }

  .mm-outer-wrapper .nav-menu .sublist > li > a {
    flex: 1 1 auto;
    min-height: 50px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--active-color);
    white-space: normal;
  }

  .mm-outer-wrapper .nav-menu .sublist > li.see-all > a,
  .mm-outer-wrapper .nav-menu .sublist > li[class*="see-all"] > a {
    color: var(--theme-color);
    font-weight: 600;
  }

  .mm-outer-wrapper.list-view .megamenu-trigger {
    display: none;
  }
}

/* K-Beauty desktop flyout — final cascade overrides */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    gap: 0 !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li {
    padding: 0 12px 20px !important;
    box-sizing: border-box;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children:not(.is-expanded) > .sublist {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Desktop list-view panels: hidden until hover; top bar shows trigger only */
@media (min-width: 1025px) {
  .header-nav-bar .mm-outer-wrapper.list-view > .mm-navbar {
    display: none !important;
    position: absolute !important;
  }

  .header-nav-bar .mm-outer-wrapper.list-view:hover > .mm-navbar,
  .header-nav-bar .mm-outer-wrapper.list-view:focus-within > .mm-navbar {
    display: block !important;
  }
}

/* K-Beauty flyout sub-items: text-only links, hover on label, right chevron when nested */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.parent-back-link {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a {
    display: inline;
    width: fit-content;
    max-width: fit-content;
    flex: 0 0 auto;
    align-self: flex-start;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--active-color);
    padding: 0;
    margin: 0;
    border: none;
    text-transform: none;
    text-decoration: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a::after {
    content: none !important;
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a .category-name {
    display: inline;
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > a:focus-visible .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    pointer-events: none;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    font-size: 0;
    line-height: 1;
    cursor: default;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist-toggle::before {
    font-family: "icomoon";
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e98d";
    font-size: 16px;
    color: var(--active-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li:not(.has-children) > .sublist-toggle,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li > .sublist-toggle {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.see-all,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.view-all-link,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li[class*="see-all"] {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children {
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > a {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    align-self: center;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children:hover > a .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children:focus-within > a .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children:hover > .sublist-toggle::before,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children:focus-within > .sublist-toggle::before {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded {
    align-items: flex-start;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded > .sublist {
    display: block !important;
    flex: none;
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist {
    max-height: none;
    overflow: visible;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-navbar.mm-flyout-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist {
    flex: 0 0 100%;
    width: 100%;
    margin: 4px 0 0;
    padding: 0 0 4px 12px;
    list-style: none;
    border: none;
    background: transparent;
    box-shadow: none;
    position: static;
    visibility: visible;
    opacity: 1;
    animation: none;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li.parent-back-link {
    display: none !important;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li {
    display: block;
    padding: 3px 0;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li > a {
    display: inline;
    width: fit-content;
    max-width: fit-content;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--active-color);
    padding: 0;
    cursor: pointer;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li > a .category-name {
    color: var(--active-color);
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li > a:focus-visible .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li.view-all-link,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li.see-all,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li[class*="see-all"] {
    display: block;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li.view-all-link > a .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li.see-all > a .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li[class*="see-all"] > a .category-name {
    color: var(--theme-color);
    font-weight: 600;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded > a .category-name {
    color: var(--theme-color);
    font-weight: 600;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded > .sublist-toggle::before {
    content: "\e98b";
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist > li > .sublist-toggle {
    display: none !important;
  }
}

/* K-Beauty flyout panel scroll — final overrides (scroll on flyout panel only) */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist.mm-column-scroll,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children > .sublist,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > .sublist > li.has-children.is-expanded > .sublist {
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
    min-height: 0;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.list-view > .mm-navbar.mm-flyout-scroll {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Desktop top bar — hover on all nav labels */
@media (min-width: 1025px) {
  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:hover,
  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible {
    color: var(--theme-color);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:hover,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:hover .megamenu-trigger,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:focus-within .megamenu-trigger {
    color: var(--theme-color);
  }

  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:hover::before,
  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible::before {
    color: var(--theme-color);
  }

  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:hover::after,
  .header-nav-center .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible::after,
  .header-nav-center .mm-outer-wrapper.list-view:hover .megamenu-trigger::after,
  .header-nav-center .mm-outer-wrapper.list-view:focus-within .megamenu-trigger::after {
    color: var(--theme-color);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:hover::before,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible::before,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:hover .megamenu-trigger::before,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:focus-within .megamenu-trigger::before {
    color: var(--theme-color);
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:hover .megamenu-trigger::after,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view:focus-within .megamenu-trigger::after,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:hover::after,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger:focus-visible::after {
    color: var(--theme-color);
  }

  .header-nav-bar .mm-outer-wrapper.list-view .megamenu-trigger::after {
    transition: color 0.2s ease;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .megamenu-trigger {
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li > a .category-name {
    transition: color 0.2s ease;
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li > a:focus-visible .category-name {
    color: var(--theme-color);
  }

  .header-nav-bar .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li.promotion > a:hover .category-name,
  .header-nav-bar .header-nav-center .mm-outer-wrapper.grid-view .nav-menu > li.promotion > a:focus-visible .category-name {
    color: var(--active-color);
  }
}

/* Support dropdown — final cascade overrides */
@media (min-width: 1025px) {
  .header-nav-bar .header-nav-right {
    position: relative;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-navbar {
    left: auto !important;
    right: 0 !important;
    top: 100% !important;
    margin-top: -1px !important;
    width: max-content !important;
    min-width: 200px;
    pointer-events: auto !important;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-navbar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu {
    text-align: left !important;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a {
    display: block !important;
    padding: 10px 18px !important;
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: var(--active-color) !important;
    text-align: left !important;
    white-space: nowrap;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a .category-name {
    color: inherit !important;
    font-weight: inherit !important;
  }

  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:hover,
  .header-nav-bar .megamenu-right .mm-outer-wrapper.list-view .mm-flyout-inner .nav-menu > li > a:focus-visible {
    background-color: var(--light-grey-2) !important;
    color: var(--theme-color) !important;
  }
}
