/* 雅诗兰黛风格移动端菜单 · iPhone 14 Pro */

.m-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.m-header.is-hero {
  background: transparent;
  border-bottom-color: transparent;
}

.m-header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #111;
  line-height: 1.15;
}

.m-header.is-hero .m-header-logo {
  color: #fff;
}

.m-header-logo .en {
  font-family: "Source Han Serif CN", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.m-header-logo .zh {
  margin-top: 2px;
  font-family: "Source Han Serif CN", "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  opacity: 0.9;
}

.m-navbtn {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
}

.m-navbtn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #111;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.m-header.is-hero .m-navbtn span {
  background: #fff;
}

.m-navbtn.is-open span {
  background: #111 !important;
}

.m-navbtn.is-open span:nth-child(1) {
  transform: translateY(8.25px) rotate(45deg);
}

.m-navbtn.is-open span:nth-child(2) {
  opacity: 0;
}

.m-navbtn.is-open span:nth-child(3) {
  transform: translateY(-8.25px) rotate(-45deg);
}

.m-header-lang {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.m-header.is-hero .m-header-lang {
  color: #fff;
}

.m-nav-mask {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.m-nav-mask.is-open {
  opacity: 1;
  visibility: visible;
}

.m-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: min(82vw, 320px);
  height: 100%;
  background: #fff;
  padding: 72px 0 36px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(-102%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.m-nav-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

.m-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-nav-list > li {
  border-bottom: 1px solid #ebebeb;
}

.m-nav-list > li > a,
.m-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  border: 0;
  background: #fff;
  color: #111;
  text-decoration: none;
  text-align: left;
  font-family: "Source Han Serif CN", "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-sizing: border-box;
}

.m-nav-chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #b0b0b0;
  border-bottom: 1.5px solid #b0b0b0;
  transform: rotate(-45deg);
  flex: 0 0 auto;
  margin-left: 12px;
  transition: transform 0.22s ease;
}

.m-nav-item.is-open .m-nav-chevron {
  transform: rotate(45deg);
}

.m-nav-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fafafa;
}

.m-nav-item.is-open .m-nav-sub {
  display: block;
}

.m-nav-sub a {
  display: block;
  padding: 14px 22px 14px 34px;
  border-top: 1px solid #efefef;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.m-nav-foot {
  margin-top: 28px;
  padding: 0 22px;
  font-size: 12px;
  line-height: 1.7;
  color: #999;
  letter-spacing: 0.04em;
}

body.m-nav-open {
  overflow: hidden;
}
