.header {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 100;
}

@media screen and (min-width: 992px) {
  .header {
    border-bottom: 1px solid #e5e5e5;
    overflow: visible;
  }
}

@media screen and (max-width: 991px) {
  .sticky-header {
    /* margin-top: 21px; */
    position: sticky!important;
    top: 0!important;
    z-index: 111;
    height: 116px;
    margin-bottom: 35px;
  }
  .header {
    padding-top: 15px;
  }
}

/* nav */
.navUserContainer {
  background-color: white;
  align-items: center;
}

.navUserContainer .actionContainer {
  color: #000;
  padding: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}

.navUserContainer .actionContainer img {
  height: 22px;
  display: inline-block;
}

.navUserContainer .actionContainer:hover {
  color: #757575; /* $color-hover 模拟为 #757575 */
}

.navUserContainer .left {
  color: red; /* $color-red 模拟为 red */
  font-size: 12px;
  font-family: "Roboto-Regular";
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  font-style: normal;
  text-decoration-line: underline;
}

.navUserContainer .list .listItem {
  display: block;
  position: relative;
}

.navUserContainer .list .listItem .navUserAction {
  display: inline-block;
  color: #000;
  padding: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}

.navUserContainer .list .listItem .navUserAction img {
  height: 22px;
}

.navUserContainer .list .listItem .navUserAction:hover {
  color: #757575;
}

.navUserContainer .list .navUserItem {
  font-family: ui-sans-serif !important;
  font-size: 12px;
  color: #010101;
}

@media (min-width: 551px) {
  .navUserContainer .list .navUserItem {
    float: left;
  }
}

.navUserContainer .headerLogo {
  padding-left: 45%;
}

.navUserContainer .headerLogo a {
  color: #333;
  display: inline-block;
  padding: 0.78571rem 0;
  position: relative;
  text-decoration: none;
  width: 60%;
  z-index: 20;
  min-width: 136px;
}

.navUserContainer .logo {
  margin: auto;
  max-height: 2.35714rem;
  height: 30px;
}

.navUserContainer img {
  display: inline-block;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

/* ===================== Media Queries ===================== */

/* 移动端 max-width: 767px */
@media (max-width: 767px) {
  .navUserContainer {
    flex-direction: column;
    padding: 0 10px;
  }

  .navUserContainer .navUserSection {
    display: none;
  }

  .navUserContainer .navUserSectionM {
    display: flex;
    width: 100%;
  }

  .navUserContainer .navUserSectionM .navUserItemCart {
    display: block;
    position: relative;
  }

  .navUserContainer .navUserSectionM .navUserItem {
    font-family: ui-sans-serif !important;
    font-size: 12px;
    color: #010101;
  }

  .navUserContainer .navUserSectionM .action {
    color: #000;
    padding: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
  }

  .navUserContainer .navUserSectionM .action img {
    height: 22px;
    margin: 3px 0 0;
  }

  .navUserContainer .navUserSectionM .action .cartQuantity {
    background: #747474;
    border: 1px solid #747474;
    border-radius: 50%;
    min-width: 19px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
    color: #fff;
    text-align: center;
    height: 19px;
    line-height: 18px;
  }
}

/* 平板端 768px - 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .navUserContainer {
    height: 32px;
  }

  .navUserContainer .navUserSection {
    display: none;
  }

  .navUserContainer .navUserSectionM {
    display: flex;
    width: 100%;
  }

  .navUserContainer .navUserSectionM .navUserItemCart {
    display: block;
    position: relative;
  }

  .navUserContainer .navUserSectionM .navUserItem {
    font-family: ui-sans-serif !important;
    font-size: 12px;
    color: #010101;
  }

  .navUserContainer .navUserSectionM .action {
    color: #000;
    padding: 6px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
  }

  .navUserContainer .navUserSectionM .action img {
    height: 22px;
    margin: 3px 0 0;
  }

  .navUserContainer .navUserSectionM .action .cartQuantity {
    background: #747474;
    border: 1px solid #747474;
    border-radius: 50%;
    min-width: 19px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
    color: #fff;
    text-align: center;
    height: 19px;
    line-height: 18px;
  }
}

/* PC端 ≥ 992px */
@media (min-width: 992px) {
  .navUserContainer {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    z-index: 50;
    background: #ededed;
  }

  .navUserContainer .navUserSection {
    max-width: 1800px;
    padding-inline: var(--page-padding);
    margin: auto;
  }

  .navUserContainer .listItem img {
    width: 19px;
    margin: -3px 6px 0 0;
  }

  .navUserContainer .listItem img span {
    display: inline-block;
  }

  .navUserContainer .cartQuantity::before {
    content: "(";
  }

  .navUserContainer .cartQuantity::after {
    content: ")";
  }

  .navUserContainer .navUserSectionM {
    display: none;
  }
}

/* ===================== End Media Queries ===================== */


:root {
  --header-height: 66px;
  --header-padding: 60px;
  --logo-max-width: 160px;
  --logo-min-width: 200px;
  --logo-link-min-width: 136px;
  --logo-img-height: 30px;
  --logo-img-max-height: 2.35714rem;
  --color-white: #fff;
  --color-black: #000;
  --color-gray: #333;
}

img {
  display: inline-block;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.navStoreContainerWarp .navStoreContainer {
  position: relative;
  margin: 0 auto;
}


.headerLogo,
.headerLogoCenter {
  position: absolute;
  left: 60px;
  right: auto;
  margin: auto;
  max-width: var(--logo-max-width);
  min-width: var(--logo-min-width);
}

.headerLogo a {
  color: var(--color-gray);
  display: inline-block;
  padding: 0.78571rem 0;
  position: relative;
  text-decoration: none;
  width: 60%;
  z-index: 20;
  min-width: var(--logo-link-min-width);
}

.headerLogoImageContainer {
  position: relative;
  max-height: 80px;
  height: 100%;
}

.headerLogoImage {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: var(--logo-img-height);
  max-height: var(--logo-img-max-height);
}

.navStoreSearchContainer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  height: 100%;
}

 /* 搜索框 開始 */
.searchBarContainer {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  display: flex;
  position: relative;
  z-index: 1000;
}

.searchBarContainer .searchButton {
  height: 40px;
  color: white;
  cursor: pointer;
}

.searchBarContainer .searchButton input {
  width: 100%;
  height: 100%;
  border-radius: 0px 4px 4px 0px;
  pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .searchBarContainer .searchButton {
    width: 300px;
  }
}

@media (min-width: 1025px) {
  .searchBarContainer .searchButton {
    width: 360px;
  }
}

.searchBarContainer .iconButton {
  background-color: #fff;
  border-radius: 4px 0px 0px 4px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 11px;
}

.searchBarContainer.isM {
  justify-content: flex-start;
  margin-bottom: 8px;
}

.searchBarContainer.isM .searchButton {
  flex: 1;
  width: auto;
}

/* 搜索框 結束 */

/* Fixed mode styles for PC */
.searchBarContainer.isPC.isFixed .searchButton {
  width: calc(260px - 40px);
  height: 34px;
}

.searchBarContainer.isPC.isFixed .iconButton {
  width: 34px;
  height: 34px;
}

/* Desktop styles */
@media screen and (min-width: 992px) {
  .navStoreContainerWarp {
    background-color: var(--color-black);
  }

  .navStoreContainerWarp > .navStoreContainer {
    max-width: 1800px;
    padding-inline: var(--page-padding);
  }

  .navStoreContainer {
    display: flex;
    align-items: center;
    margin: auto;
    height: var(--header-height);
    justify-content: space-between;
    flex: 1;
  }

  .navStoreContainer .headerLogo {
    left: 0;
    right: 0;
    height: 100%;
  }

  .navStoreContainer .headerLogo > a {
    background: none;
    border-bottom: none;
    display: inline;
    padding: 0;
    height: 100%;
  }

  .navStoreContainer > .navStoreContainer {
    display: flex;
    align-items: center;
    margin: auto;
    height: var(--header-height);
    padding-top: 0;
  }
}

/* Tablet-specific logo adjustment */
@media screen and (min-width: 992px) and (max-width: 1261px) {
  .headerLogoImage {
    max-height: none;
    height: 22px;
  }
}

/* Hide navStoreContainerWarp on tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .navStoreContainerWarp {
    display: none;
  }
}



/* 目錄樣式 */
.custom-navigation-ul {
  list-style: none;
  margin: 0;
}

@media screen and (max-width: 800px) {
  .custom-navigation-ul {
    background: #f0f0f0; /* 替代 $color-menuGray */
    margin: 0;
    width: 80%;
    list-style: none;
    font-size: 12px;
  }

  .custom-navigation-ul .navigation-main-li a span {
    display: block;
    padding: 11px 10px 12px;
    border-bottom: 1px solid #fff; /* $color-white */
    font-size: 14px;
    font-weight: 600;
    color: #000; /* $color-black */
    letter-spacing: 1px;
  }

  .custom-navigation-ul .navigation-main-li a span:after {
    content: '';
    width: 10px;
    height: 10px;
    margin-top: 6px;
    display: inline-block;
    float: right;
  }

  .custom-navigation-ul .navigation-main-li.is-open {
    border-bottom: 2px solid;
  }

  .custom-navigation-ul .navigation-main-li.is-open span {
    background: #000;
    color: #fff;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown {
    display: block;
    background: #fff; /* $color-menuWhiteBase */
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown li a {
    border-bottom: 1px solid #ccc; /* $color-greyMedium */
    padding: 11px 17px 12px 30px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .has-submenu {
    display: block;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .has-submenu a:after {
    content: '';
    width: 10px;
    height: 10px;
    display: inline-block;
    float: right;
    margin-top: 6px;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .submenu-open .has-submenu a {
    background: #d4af37; /* $color-menuGold */
    border-color: #d4af37;
    color: #fff;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .submenu-open li {
    display: block;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .submenu-open li a {
    border-bottom: 1px solid #ccc;
    text-transform: capitalize;
    background: #fff;
  }

  .custom-navigation-ul .navigation-main-li.is-open .custom-navigation-dropdown .submenu-open li a:after {
    content: unset;
  }

  .custom-navigation-ul .custom-navigation-dropdown {
    display: none;
  }

  .custom-navigation-ul .custom-navigation-dropdown ul {
    list-style: none;
    margin: 0;
  }

  .custom-navigation-ul .custom-navigation-dropdown li {
    display: none;
  }

  .custom-navigation-ul .custom-navigation-dropdown a {
    text-decoration: none;
    display: block;
    padding: 10px;
  }
}

@media screen and (min-width: 801px) {
  .custom-navigation-ul {
    display: flex;
    justify-content: space-between;
    text-align: center;
  }

  .custom-navigation-ul li.navigation-main-li {
    padding: 4px;
    color: #000;
    font-size: 13px;
    font-weight: 300;
    /* line-height: 18px; */
    text-decoration: none;
    text-transform: uppercase;
    font-family: "NeutrafaceText-Book";
    position: relative;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
  }

  .custom-navigation-ul li.navigation-main-li a {
    text-decoration: none;
    letter-spacing: normal;
    width: 100%;
    display: block;
  }

  .custom-navigation-ul li.navigation-main-li .cursor-pointer {
    /* color: #797979; */
  }

  .custom-navigation-ul li.navigation-main-li a span {
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 300;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown {
    display: none;
    border-bottom: none;
    z-index: 1;
    position: absolute;
    background-color: #f0f0f0; /* $color-menuGray */
    padding: 0.78571rem;
    top: 100%;
    left: 0;
    text-align: left;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-row {
    display: flex;
    gap: 20px;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column {
    width: 240px;
    padding-right: 48px;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul {
    list-style: none;
    list-style-image: url(data:0);
    margin: 15px 0 0;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul li {
    margin-bottom: 6px;
    font-weight: 500;
    padding: 0;
    line-height: 20px;
    text-transform: capitalize;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    font-family: Proxima Nova, "proxima-nova", "Helvetica Neue", Helvetica, sans-serif;
    font-size: 12px;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul li a {
    color: #797979;
    width: 100%;
    display: block;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul li:first-child a {
    color: #000;
    font-weight: 600;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul:first-child,
  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column ul.no-margin {
    margin: 0;
  }

  .custom-navigation-ul li.navigation-main-li .custom-navigation-dropdown .navigation-column:first-child {
    border: none;
    padding-left: 10px;
  }

  .custom-navigation-ul li.navigation-main-li:hover {
    border-bottom-color: #000;
  }

  .custom-navigation-ul li.navigation-main-li:hover .custom-navigation-dropdown {
    display: flex;
  }

  .custom-navigation-ul li.navigation-main-li:nth-last-child(-n+5) .custom-navigation-dropdown {
    left: auto;
    right: 0;
  }
}

@media screen and (min-width: 801px) and (max-width: 914px) {
  .custom-navigation-ul li.navigation-main-li {
    padding: 6.5px 1px;
  }
}

.mobile-navigation-banner {
  display: none;
  background: #000;
}

@media screen and (max-width: 800px) {
  .mobile-navigation-banner {
    display: block;
  }

  .mobile-navigation-banner a img {
    width: 50%;
    display: block;
    margin: auto;
  }
}

/* 平板尺寸 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .custom-navigation-ul {
    display: none;
  }
}


@media (max-width: 767px) {
  .navUserContainer,
  .navStoreContainerWarp,
  .menuitem-container {
    display: none;
  }
  .custom-navigation-ul {
    display: none;
  }
}