.navigation .flag-box .left img {
  width: 198px !important;
  height: 33px !important;
  object-fit: fill;
}

.navigation .menu li[data-wanhui-hidden],
.navigation .menu li[data-wanhui-legacy-hidden] {
  display: none !important;
}

.navigation .search-model {
  display: none !important;
}

.navigation .right-box .wanhui-auth-user-name,
.navigation .right-box .wanhui-language-toggle {
  color: #fff !important;
}

.website-shell-header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: block;
  width: 100%;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border: 0;
  background: #313131;
  color: #f5f5f7;
}

.website-shell-header .website-shell-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1000px, calc(100% - 24px));
  height: 58px;
  min-height: 58px;
  margin: 0 auto;
}

.website-shell-header .website-shell-brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 58px;
}

.website-shell-header .website-shell-brand img {
  display: block;
  width: 198px;
  height: 33px;
  object-fit: fill;
}

.website-shell-header .website-shell-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: auto;
  height: 62px;
  transform: translate(-62%, -50%);
}

.website-shell-header .website-shell-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 62px;
  padding: 20px 40px 18px;
  color: #f5f5f7;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
}

.website-shell-header .website-shell-nav a:hover {
  color: #00c4ff;
}

.website-shell-header .website-shell-nav a.active {
  color: #fff;
}

.website-shell-header .website-shell-nav a.active::after {
  display: none;
}

.website-shell-header .website-shell-separator {
  flex: 0 0 6px;
  width: 6px;
  margin: 0;
  color: #a0a0a0;
  font-size: 8px;
  line-height: 1;
  text-align: center;
}

.website-shell-header .website-shell-account,
.website-shell-header .detail-auth-host {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 180px;
  height: 58px;
  min-height: 58px;
  margin-left: auto;
}

.website-shell-header .website-shell-account > button:not(.wanhui-language-toggle),
.website-shell-header .website-shell-account .wanhui-auth-signout,
.website-shell-header .detail-auth-host > button:not(.wanhui-language-toggle),
.website-shell-header .detail-auth-host .wanhui-auth-signout {
  padding: 7px 8px;
  border: 0;
  background: transparent;
  color: #f5f5f7;
  cursor: pointer;
}

.website-shell-header .website-shell-account .wanhui-auth-user,
.website-shell-header .detail-auth-host .wanhui-auth-user {
  height: 58px;
}

@media screen and (min-width: 1200px) and (max-width: 1499px) {
  .website-shell-header .website-shell-header-inner {
    width: min(1100px, calc(100% - 24px));
  }
}

@media screen and (min-width: 1101px) and (max-width: 1499px) {
  html.wanhui-lang-en .navigation .menu > li > a {
    padding-right: 18px;
    padding-left: 18px;
    letter-spacing: 0;
  }
}

@media screen and (min-width: 1500px) and (max-width: 1799px) {
  .website-shell-header .website-shell-header-inner {
    width: min(1400px, calc(100% - 32px));
  }
}

@media screen and (min-width: 1800px) {
  .website-shell-header .website-shell-header-inner {
    width: min(1720px, calc(100% - 32px));
  }
}

@media screen and (min-width: 1200px) and (max-width: 1499px) {
  .navigation .menu {
    position: relative;
    z-index: 10;
  }

  .navigation .right-box {
    position: relative;
    z-index: 1;
  }

  .navigation .right-box .search {
    flex: 0 0 172px;
    width: 172px;
  }

  .navigation .right-box .search-box {
    width: 160px;
  }
}

.affix-contact,
.affix-phone,
.affix-recharge,
.affix-feedback {
  display: none !important;
}

.wanhui-banner-container {
  height: auto !important;
  aspect-ratio: 1920 / 750;
  min-height: 230px;
  overflow: hidden !important;
  background: #e9e9e9;
}

.wanhui-banner-container .swiper-wrapper.wanhui-banner-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}

.wanhui-banner-slide {
  position: absolute !important;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.wanhui-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.wanhui-banner-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.wanhui-banner-pagination {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wanhui-banner-pagination button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.wanhui-banner-pagination button.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.24);
}

.wanhui-language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 30px;
  margin: 14px 0 14px 10px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 15px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wanhui-language-toggle:hover,
.wanhui-language-toggle:focus-visible {
  border-color: #b88732;
  background: rgba(184, 135, 50, 0.18);
  color: #fff;
  outline: none;
}

.wanhui-auth-user {
  position: relative;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  height: 58px;
  white-space: nowrap;
}

.wanhui-auth-user-name {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 20px 0 8px !important;
  max-width: 112px;
  overflow: hidden;
  color: #fff !important;
  line-height: 40px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wanhui-auth-user-name::after {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 1px solid rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
  content: "";
  transform: rotate(45deg);
}

.wanhui-auth-user button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.wanhui-auth-user .wanhui-auth-signout {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  z-index: 50;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 42px;
  padding: 0 16px !important;
  border: 1px solid #ececec !important;
  border-radius: 4px;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: #c43d36 !important;
  font-size: 14px;
  line-height: 42px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.wanhui-auth-user:hover .wanhui-auth-signout,
.wanhui-auth-user:focus-within .wanhui-auth-signout,
.wanhui-auth-user.is-open .wanhui-auth-signout {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.wanhui-auth-user .wanhui-auth-signout:hover,
.wanhui-auth-user .wanhui-auth-signout:focus-visible {
  background: #fff6f5 !important;
  color: #b72f29 !important;
  outline: none;
}

.wanhui-auth-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 18, 18, 0.5);
}

.wanhui-auth-modal {
  position: relative;
  width: min(430px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px 34px 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.22);
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.wanhui-auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8b8b8b;
  font-size: 24px;
  line-height: 30px;
  cursor: pointer;
}

.wanhui-auth-close:hover {
  color: #222;
}

.wanhui-auth-brand {
  margin-bottom: 8px;
  color: #b88732;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0;
}

.wanhui-auth-title {
  margin: 0 0 22px;
  color: #222;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.35;
}

.wanhui-auth-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ececec;
}

.wanhui-auth-tab {
  position: relative;
  padding: 0 0 11px;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 15px;
  cursor: pointer;
}

.wanhui-auth-tab.is-active {
  color: #222;
  font-weight: 600;
}

.wanhui-auth-tab.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: #b88732;
  content: "";
}

.wanhui-auth-mode {
  display: flex;
  gap: 18px;
  margin: -4px 0 16px;
}

.wanhui-auth-mode button,
.wanhui-auth-forgot {
  padding: 0;
  border: 0;
  background: transparent;
  color: #9a6c1d;
  font-size: 13px;
  cursor: pointer;
}

.wanhui-auth-mode button.is-active {
  color: #222;
  font-weight: 600;
}

.wanhui-auth-field {
  display: block;
  margin-bottom: 14px;
}

.wanhui-auth-field > span {
  display: block;
  margin-bottom: 7px;
  color: #555;
  font-size: 13px;
}

.wanhui-auth-field input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  color: #222;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wanhui-auth-field input:focus {
  border-color: #b88732;
  box-shadow: 0 0 0 3px rgba(184, 135, 50, 0.12);
}

.wanhui-auth-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.wanhui-auth-code-button {
  height: 44px;
  padding: 0 8px;
  border: 1px solid #b88732;
  border-radius: 4px;
  background: #fff;
  color: #9a6c1d;
  font-size: 13px;
  cursor: pointer;
}

.wanhui-auth-code-button:disabled {
  border-color: #ddd;
  color: #aaa;
  cursor: not-allowed;
}

.wanhui-auth-submit {
  width: 100%;
  height: 44px;
  margin-top: 5px;
  border: 0;
  border-radius: 4px;
  background: #b88732;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.wanhui-auth-submit:hover {
  background: #a67628;
}

.wanhui-auth-submit:disabled {
  background: #d6bd8d;
  cursor: wait;
}

.wanhui-auth-forgot {
  display: block;
  margin: 16px auto 0;
}

.wanhui-auth-status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #c0392b;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.wanhui-auth-status.is-success {
  color: #3d7f58;
}

.site-header .wanhui-language-toggle {
  margin-left: auto;
}

.wanhui-icp-filing {
  display: inline-block;
  margin-left: 8px;
}

.wanhui-icp-link {
  color: inherit !important;
  text-decoration: none;
}

.wanhui-icp-link:hover {
  text-decoration: underline;
}

.website-favorite-card {
  position: relative !important;
}

.website-favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(30, 33, 32, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #555;
  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.website-favorite-button:hover {
  border-color: #b88732;
  color: #b88732;
  transform: translateY(-1px);
}

.website-favorite-button.is-favorited {
  border-color: #b88732;
  color: #b88732;
}

.website-favorite-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.website-card-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
}

.website-toast {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 10020;
  min-width: 120px;
  padding: 10px 18px;
  border-radius: 4px;
  background: rgba(24, 26, 25, 0.92);
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.website-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media screen and (max-width: 1199px) {
  .navigation .flag-box .left img {
    width: 170px !important;
  }
}

@media screen and (max-width: 1100px) {
  .website-shell-header.site-header {
    position: relative;
    height: 106px;
  }

  .website-shell-header .website-shell-header-inner {
    display: block;
    width: calc(100% - 24px);
    height: 106px;
  }

  .website-shell-header .website-shell-brand {
    position: absolute;
    top: 0;
    left: 0;
    height: 58px;
  }

  .website-shell-header .website-shell-account,
  .website-shell-header .detail-auth-host {
    position: absolute;
    top: 0;
    right: 0;
    height: 58px;
    margin-left: 0;
  }

  .website-shell-header .website-shell-brand img {
    width: 170px;
    height: 29px;
  }

  .website-shell-header .website-shell-nav {
    position: absolute;
    top: 58px;
    right: 0;
    left: 0;
    width: 100%;
    height: 48px;
    overflow-x: auto;
    transform: none;
  }

  .website-shell-header .website-shell-nav a {
    flex: 1 0 72px;
    height: 48px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 48px;
    letter-spacing: 0;
  }

  .website-shell-header .website-shell-separator {
    display: none;
  }
}

@media screen and (max-width: 680px) {
  .navigation .flag-box .left img {
    width: 145px !important;
    height: 27px !important;
  }

  .website-shell-header .website-shell-brand img {
    width: 145px;
    height: 27px;
  }

  .wanhui-banner-container {
    min-height: 150px;
  }

  .wanhui-auth-backdrop {
    align-items: flex-start;
    padding: 12px;
  }

  .wanhui-auth-modal {
    max-height: calc(100vh - 24px);
    padding: 30px 22px 24px;
  }

  .wanhui-icp-filing {
    display: block;
    margin: 6px 0 0;
  }
}

#wanhui-google-translate {
  position: fixed !important;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.goog-te-banner-frame.skiptranslate,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-gadget {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

.wanhui-mobile-nav {
  display: none;
}

@media screen and (max-width: 680px) {
  html,
  body {
    overflow-x: hidden;
  }

  /* 全局布局外壳在桌面端固定 rem 宽度（.content/.screen/.screen2 为 10rem=1000px），
     移动端必须收窄到屏宽，否则内部元素按 1000px 解析导致横向溢出 */
  #app,
  .content,
  .screen,
  .screen2 {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  .content,
  .screen,
  .screen2 {
    overflow-x: hidden;
  }

  body.wanhui-mobile-nav-ready {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .wanhui-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10040;
    display: flex !important;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
    height: calc(76px + env(safe-area-inset-bottom));
    padding: 8px 0 env(safe-area-inset-bottom);
    box-sizing: border-box;
    background: #313131;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.12);
    transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
  }

  body.wanhui-keyboard-open .wanhui-mobile-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    visibility: hidden;
  }

  .wanhui-mobile-nav-item {
    display: flex;
    flex: 1 1 20%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 68px;
    padding: 0 3px;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .wanhui-mobile-nav-item.is-active {
    color: #1296db;
  }

  .wanhui-mobile-nav-icon {
    display: block;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    margin-bottom: 3px;
    background-color: currentColor;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
  }

  .wanhui-mobile-nav-icon.icon-home {
    -webkit-mask-image: url("/images/icons/mobile-home.svg");
    mask-image: url("/images/icons/mobile-home.svg");
  }

  .wanhui-mobile-nav-icon.icon-product {
    -webkit-mask-image: url("/images/icons/mobile-product.svg");
    mask-image: url("/images/icons/mobile-product.svg");
  }

  .wanhui-mobile-nav-icon.icon-case {
    -webkit-mask-image: url("/images/icons/mobile-case.svg");
    mask-image: url("/images/icons/mobile-case.svg");
  }

  .wanhui-mobile-nav-icon.icon-favorite {
    -webkit-mask-image: url("/images/icons/mobile-favorite.svg");
    mask-image: url("/images/icons/mobile-favorite.svg");
  }

  .wanhui-mobile-nav-icon.icon-plan {
    -webkit-mask-image: url("/images/icons/mobile-plan.svg");
    mask-image: url("/images/icons/mobile-plan.svg");
  }

  .wanhui-mobile-nav-label {
    display: block;
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
  }

  .navigation {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    margin: 0 !important;
  }

  .navigation .center,
  .navigation .menu,
  .navigation .right-box .search {
    display: none !important;
  }

  .navigation .flag-box {
    flex: 0 0 auto;
  }

  .navigation .flag-box .left {
    height: 31px !important;
    margin: auto 0 !important;
  }

  .navigation .right-box {
    flex: 0 0 auto;
    min-width: 0 !important;
  }

  .website-shell-header.site-header {
    position: relative !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  .website-shell-header .website-shell-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    width: calc(100% - 24px);
    height: 58px !important;
    min-height: 58px !important;
  }

  .website-shell-header .website-shell-nav {
    display: none !important;
  }

  .website-shell-header .website-shell-account,
  .website-shell-header .detail-auth-host {
    position: static;
    min-width: 0;
    height: 58px;
    min-height: 58px;
  }

  .website-shell-header .website-shell-brand img {
    width: 145px;
    height: 27px;
  }

  .website-shell-header .website-shell-brand {
    position: static !important;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    overflow: hidden;
  }

  .website-shell-header .website-shell-brand img {
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
  }

  .website-shell-header .website-shell-account,
  .website-shell-header .detail-auth-host {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: max-content;
    max-width: 100%;
    margin-left: 0;
    white-space: nowrap;
  }

  .website-shell-header .website-shell-account > button:not(.wanhui-language-toggle),
  .website-shell-header .detail-auth-host > button:not(.wanhui-language-toggle) {
    padding-right: 5px;
    padding-left: 5px;
  }

  .website-shell-header .wanhui-language-toggle {
    flex: 0 0 auto;
    margin-left: 6px;
  }

  .website-page-main,
  .detail-shell {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }

  .site-footer,
  .website-page-footer {
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}
