:root {
  --fh-orange: #ff6600;
  --fh-orange-strong: #ff5a00;
  --fh-orange-soft: #fff4ec;
  --fh-bg: #f8f8f8;
  --fh-surface: #ffffff;
  --fh-text: #323232;
  --fh-muted: #999999;
  --fh-line: #eeeeee;
  --fh-blue: #2aa7df;
  --fh-danger: #e5484d;
  --fh-shadow: 0 10px 30px rgba(31, 35, 41, 0.14);
}

html {
  background: var(--fh-bg);
  -webkit-text-size-adjust: 100%;
}

body.fh-theme {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--fh-bg) !important;
  color: var(--fh-text) !important;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: calc(55px + env(safe-area-inset-bottom));
}

body.fh-theme *,
body.fh-theme *::before,
body.fh-theme *::after {
  box-sizing: border-box;
}

body.fh-theme a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

body.fh-theme button,
body.fh-theme input,
body.fh-theme select,
body.fh-theme textarea {
  font: inherit;
}

body.fh-theme button,
body.fh-theme a,
body.fh-theme [role="button"] {
  -webkit-tap-highlight-color: rgba(255, 102, 0, 0.12);
}

body.fh-theme :focus-visible {
  outline: 3px solid rgba(255, 102, 0, 0.38);
  outline-offset: 2px;
}

body.fh-theme > .h5-1yyg-v1,
body.fh-theme > .container,
body.fh-theme .fh-page,
body.fh-theme #content.h5-1yyg-v1 {
  width: 100%;
  max-width: 640px;
  min-width: 320px;
  min-height: calc(100dvh - 58px);
  margin: 0 auto;
  background: var(--fh-bg);
}

body.fh-theme .piaowx,
body.fh-theme .smailnav,
body.fh-theme #top_div,
body.fh-theme #btnGotoTop3 {
  display: none !important;
}

body.fh-theme header,
body.fh-theme .header,
body.fh-theme .g-header {
  max-width: 640px;
  margin-inline: auto;
}

body.fh-theme .g-header,
body.fh-theme header.header {
  min-height: 48px;
  border-bottom: 1px solid var(--fh-line);
  background: rgba(255, 255, 255, 0.98);
  color: var(--fh-text);
}

/* Shared card and form treatment across account, order, checkout and message pages. */
body.fh-theme .registerCon,
body.fh-theme .m-round,
body.fh-theme .g-pay-lst,
body.fh-theme .m-user-info,
body.fh-theme .user-list,
body.fh-theme .goodsCon,
body.fh-theme .m-list,
body.fh-theme .articles,
body.fh-theme .link,
body.fh-theme .g-Cart-list,
body.fh-theme .g-pay-ment {
  border-color: var(--fh-line) !important;
  background: var(--fh-surface) !important;
}

body.fh-theme input[type="text"],
body.fh-theme input[type="tel"],
body.fh-theme input[type="password"],
body.fh-theme input[type="number"],
body.fh-theme select,
body.fh-theme textarea {
  min-height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: #fff;
  color: var(--fh-text);
  font-size: 16px;
}

body.fh-theme input::placeholder,
body.fh-theme textarea::placeholder {
  color: #b2b2b2;
}

body.fh-theme .orgBtn,
body.fh-theme .orangeBtn,
body.fh-theme .layui-btn-danger,
body.fh-theme .w_account,
body.fh-theme .buyBtn,
body.fh-theme .nextBtn,
body.fh-theme input[type="submit"] {
  min-height: 44px;
  border: 1px solid var(--fh-orange) !important;
  border-radius: 22px !important;
  background: var(--fh-orange) !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 180ms ease, opacity 180ms ease;
}

body.fh-theme .orgBtn:active,
body.fh-theme .orangeBtn:active,
body.fh-theme .layui-btn-danger:active,
body.fh-theme .w_account:active,
body.fh-theme .buyBtn:active {
  background: var(--fh-orange-strong) !important;
  opacity: 0.88;
}

body.fh-theme .gray9,
body.fh-theme .gray,
body.fh-theme .z-pay-grayC {
  color: var(--fh-muted) !important;
}

body.fh-theme .orange,
body.fh-theme .z-sel,
body.fh-theme .cur,
body.fh-theme .current {
  color: var(--fh-orange) !important;
}

/* Homepage */
.fh-home {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
}

.fh-home__banner {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 640 / 343;
  object-fit: cover;
  background: #b41512;
}

.fh-quick {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 7px 4px 6px;
  background: #fff;
  border-bottom: 6px solid var(--fh-bg);
}

.fh-quick__item {
  min-width: 0;
  min-height: 67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 6px;
  color: #555;
  font-size: 13px;
  text-align: center;
}

.fh-quick__item img {
  width: clamp(40px, 10vw, 62px);
  height: clamp(40px, 10vw, 62px);
  max-width: 62px;
  max-height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.fh-products-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 48px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--fh-line);
  backdrop-filter: blur(8px);
}

.fh-products-nav button,
.fh-products-nav a {
  position: relative;
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 14px;
  cursor: pointer;
}

.fh-products-nav button.is-active {
  color: var(--fh-orange);
}

.fh-products-nav button.is-active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--fh-orange);
}

.fh-products-nav img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.fh-category-panel {
  display: none;
  position: sticky;
  top: 48px;
  z-index: 29;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid var(--fh-line);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.fh-category-panel.is-open {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.fh-category-panel a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid var(--fh-line);
  border-radius: 5px;
  background: #fff;
  color: #666;
  text-align: center;
}

.fh-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.fh-product-card {
  min-width: 0;
  padding: 12px 9px 10px;
  border-right: 1px solid #f3f3f3;
  border-bottom: 1px solid #f3f3f3;
  background: #fff;
}

.fh-product-card:nth-child(2n) {
  border-right: 0;
}

.fh-product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}

.fh-product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fh-product-card__title {
  height: 21px;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-product-card__price {
  margin: 2px 0 7px;
  color: #999;
  font-size: 13px;
}

.fh-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #ededed;
}

.fh-progress__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--fh-orange);
}

.fh-progress-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 3px 0 10px;
  color: #888;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.fh-progress-meta span:first-child {
  color: var(--fh-orange);
  text-align: left;
}

.fh-progress-meta span:nth-child(2) {
  text-align: center;
}

.fh-progress-meta span:last-child {
  color: var(--fh-blue);
  text-align: right;
}

.fh-product-card__actions {
  display: grid;
  grid-template-columns: 112.5px 30px;
  align-items: center;
  gap: 14px;
  padding-left: 11.5px;
}

.fh-product-card__buy {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fh-orange);
  border-radius: 18px;
  color: var(--fh-orange);
  font-size: 14px;
}

.fh-product-card__cart {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--fh-orange);
  cursor: pointer;
}

.fh-product-card__cart s {
  display: block;
  width: 22px;
  height: 22px;
  margin: 4px 0 0 1px;
  background: url("../../images/mobile/setIcon.png") -58px -29px / 80px no-repeat;
}

.fh-products-status {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fh-bg);
  color: #aaa;
  font-size: 13px;
}

/* Target-style user center */
.fh-user-page {
  width: 100%;
  max-width: 640px;
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  background: var(--fh-bg);
}

.fh-user-hero {
  position: relative;
  height: 198px;
  padding: 34px 20px 18px;
  color: #fff;
  background: #69b5df url("../../images/fuhui/user-bg.jpg") center center / cover no-repeat;
  box-sizing: border-box;
}

.fh-user-hero__profile {
  display: flex;
  align-items: center;
  max-width: calc(100% - 20px);
  color: #fff;
}

.fh-user-hero__avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin-right: 12px;
  border: 2px solid var(--fh-orange);
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.fh-user-hero__details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  line-height: 1.2;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.fh-user-hero__details strong {
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fh-user-hero__recharge {
  position: absolute;
  right: 20px;
  bottom: 46px;
  min-width: 78px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 9px;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
}

.fh-user-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.fh-user-menu > a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 38px;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  color: #555;
  font-size: 16px;
  box-sizing: border-box;
}

.fh-user-menu > a:nth-child(2n) {
  border-right: 0;
}

.fh-user-menu img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.fh-user-service {
  width: 100%;
  min-height: 50px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 15px;
  text-align: center;
}

/* Password-only login */
.fh-auth {
  min-height: calc(100dvh - 58px);
  padding: 26px 20px 80px;
  background: #fff;
}

.fh-auth__title {
  margin: 0 0 30px;
  color: var(--fh-text);
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

.fh-auth__field {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--fh-line);
}

.fh-auth__field label {
  color: #555;
  font-size: 15px;
}

.fh-auth__field input {
  width: 100%;
  min-height: 52px !important;
  padding: 0 42px 0 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
}

.fh-auth__password {
  position: relative;
}

.fh-auth__toggle {
  position: absolute;
  right: 0;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  background: transparent url("../../images/mobile/eye-off-white.png") center / 22px no-repeat;
  filter: invert(55%);
  cursor: pointer;
}

.fh-auth__submit {
  width: 100%;
  margin-top: 26px;
  font-size: 17px !important;
}

.fh-auth__links {
  display: flex;
  justify-content: space-between;
  padding: 16px 2px;
  color: #777;
}

.fh-auth__agreement {
  margin-top: 22px;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.fh-auth__agreement a {
  color: var(--fh-orange);
}

/* Contact page and universal support modal. */
.fh-support-page {
  min-height: calc(100dvh - 58px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 20px;
}

.fh-support-page__card {
  width: min(100%, 420px);
  padding: 28px 24px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.fh-support-page__card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
}

.fh-support-page__card h1 {
  margin: 14px 0 6px;
  font-size: 20px;
  font-weight: 500;
}

.fh-support-page__card p {
  margin: 0 0 20px;
  color: #888;
}

.fh-support-page__card button {
  width: 100%;
}

.fh-support-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.52);
}

.fh-support-modal.is-open {
  display: flex;
}

.fh-support-modal__dialog {
  position: relative;
  width: min(100%, 340px);
  padding: 28px 24px 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--fh-shadow);
  text-align: center;
  animation: fh-modal-in 180ms ease-out;
}

.fh-support-modal__icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
}

.fh-support-modal__dialog h2 {
  margin: 12px 0 6px;
  font-size: 18px;
  font-weight: 500;
}

.fh-support-modal__qq {
  margin: 0 0 20px;
  color: var(--fh-orange);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.fh-support-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fh-support-modal__actions button {
  min-height: 44px;
  border-radius: 22px;
  cursor: pointer;
}

.fh-support-modal__copy {
  border: 1px solid var(--fh-orange);
  background: var(--fh-orange);
  color: #fff;
}

.fh-support-modal__close {
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
}

.fh-support-modal__hint {
  min-height: 20px;
  margin: 10px 0 0;
  color: #888;
  font-size: 12px;
}

/* Fixed target-style bottom navigation. */
body.fh-theme .footerdi {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0 !important;
  z-index: 100;
  width: 100% !important;
  height: calc(55px + env(safe-area-inset-bottom)) !important;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 0;
  background: #f7f7f7 !important;
  box-shadow: 0 0 0.5rem rgba(155, 143, 143, 0.6);
}

body.fh-theme .footerdi > ul {
  width: 100% !important;
  height: 55px;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.fh-theme .footerdi > ul > li {
  width: auto !important;
  height: 55px !important;
  float: none !important;
}

body.fh-theme .footerdi > ul > li > a {
  width: 100% !important;
  height: 48px !important;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 5px 0 3px !important;
  color: #666 !important;
  font-size: 14px !important;
  line-height: 16px !important;
  text-align: center;
  box-sizing: border-box;
}

body.fh-theme .footerdi > ul > li > a > span {
  display: block;
  white-space: nowrap;
}

body.fh-theme .footerdi > ul > li > a.cur {
  color: var(--fh-orange) !important;
}

body.fh-theme .footerdi i.fh-nav-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: block;
  margin: 0 auto !important;
  background-image: url("../../images/fuhui/footer-icon.png") !important;
  background-repeat: no-repeat !important;
  background-size: 265% !important;
  flex: 0 0 28px;
}

body.fh-theme .footerdi i.fh-nav-icon.fh-nav-home {
  background-image: url("../../images/fuhui/shou.png") !important;
  background-position: 0 0 !important;
  background-size: 100% 100% !important;
  filter: grayscale(1);
  border-radius: 100%;
}
body.fh-theme .fh-nav-goods { background-position: -3px -32px !important; }
body.fh-theme .fh-nav-lottery { background-position: -3px -65px !important; }
body.fh-theme .fh-nav-cart { background-position: -3px -102px !important; }
body.fh-theme .fh-nav-user { background-position: 0 -134px !important; }
body.fh-theme a.cur .fh-nav-home { filter: none; }
body.fh-theme a.cur .fh-nav-goods { background-position: -42px -32px !important; }
body.fh-theme a.cur .fh-nav-lottery { background-position: -43px -65px !important; }
body.fh-theme a.cur .fh-nav-cart { background-position: -44px -102px !important; }
body.fh-theme a.cur .fh-nav-user { background-position: -46px -134px !important; }

.fh-cart-badge {
  position: absolute;
  top: -3px;
  right: -8px;
  min-width: 17px;
  height: 17px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 10px;
  background: var(--fh-orange);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  line-height: 17px;
}

.fh-cart-badge.has-count {
  display: flex;
}

/* The reference footer has no quantity bubble in its default state. */
body.fh-theme .fh-cart-badge,
body.fh-theme .fh-cart-badge.has-count {
  display: none !important;
}

/* Item page: mirror the source page's compact, full-width mobile composition. */
body.fh-theme .fh-item-page.goodsCon.pCon {
  padding-bottom: 20px !important;
  background: #f4f4f4 !important;
}

body.fh-theme .fh-item-page .pNav {
  height: 35px !important;
  overflow: hidden !important;
  background: #e4e4e4 !important;
  box-shadow: 0 1px 2px #b8b8b8 !important;
  line-height: 36px !important;
}

body.fh-theme .fh-item-page .pNav .loading {
  display: none !important;
}

body.fh-theme .fh-item-page .pNav > ul.slides { display: none !important; }

body.fh-theme .fh-item-page .fh-static-periods {
  display: flex !important;
  width: 100% !important;
  height: 35px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.fh-theme .fh-item-page .fh-static-periods li {
  flex: 0 0 120px;
  height: 39px;
  margin: 0;
  list-style: none;
  text-align: center;
}

body.fh-theme .fh-item-page .fh-static-periods a {
  display: block;
  padding: 0 20px;
  color: #666;
  font-size: 16px;
  line-height: 36px;
  white-space: nowrap;
}

body.fh-theme .fh-item-page .fh-static-periods .cur a { color: #f60 !important; }

body.fh-theme .fh-item-page .pNav ul.slides li {
  height: 39px !important;
  background: #f4f4f4 !important;
  border-bottom: 3px solid #f4f4f4 !important;
  font-size: 14px !important;
  line-height: 36px !important;
}

body.fh-theme .fh-item-page .pNav ul.slides li.cur {
  font-size: 16px !important;
}

body.fh-theme .fh-item-page .pNav ul.slides li a {
  padding: 0 26px !important;
  color: #666 !important;
}

body.fh-theme .fh-item-page .pNav ul.slides li.cur a,
body.fh-theme .fh-item-page .pNav ul.slides li a.cur {
  color: #f60 !important;
}

body.fh-theme .fh-item-page .pPic {
  min-height: 203px !important;
  margin: 0 !important;
  border-top: 1px solid #e7e7e7 !important;
  background: #f4f4f4 !important;
  box-shadow: 0 -1px 1px #dbdbdb inset !important;
}

body.fh-theme .fh-item-page .pPic2,
body.fh-theme .fh-item-page .pImg {
  width: 100% !important;
  height: 200px !important;
}

body.fh-theme .fh-item-page .pPic2 {
  margin: 2px auto 3px !important;
  overflow: hidden !important;
}

body.fh-theme .fh-item-page .pImg .loading {
  min-height: 200px !important;
  padding-top: 12px !important;
  color: #333 !important;
}

body.fh-theme .fh-item-page .pImg > ul.slides { display: none !important; }

body.fh-theme .fh-item-page .pImg::after {
  display: block;
  height: 200px;
  content: "正在加载";
  background: #f4f4f4;
  color: #333;
  font: 12px/20px Arial, "Microsoft YaHei", sans-serif;
  text-align: center;
}

body.fh-theme .fh-item-page .pImg li,
body.fh-theme .fh-item-page .pImg li img {
  height: 200px !important;
}

body.fh-theme .fh-item-page .pImg li img {
  width: 200px !important;
  margin: 0 5px !important;
  object-fit: contain !important;
}

body.fh-theme .fh-item-page .pDetails {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.fh-theme .fh-item-page .pInfo {
  width: 100% !important;
  min-height: 193px;
  margin-top: -3px !important;
  padding: 15px 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 1px #dbdbdb !important;
}

body.fh-theme .fh-item-page .pInfo-title {
  color: #666 !important;
  font-size: 16px !important;
  line-height: 20px !important;
  font-weight: normal !important;
}

body.fh-theme .fh-item-page .pInfo-title span {
  color: inherit !important;
  font-size: inherit !important;
}

body.fh-theme .fh-item-page .pInfo-price {
  margin: 8px 0 10px !important;
  color: #333 !important;
  font-size: 12px !important;
  line-height: 16px !important;
}

body.fh-theme .fh-item-page .flow-wrapper,
body.fh-theme .fh-item-page .Progress-bar {
  height: 44px;
  overflow: visible !important;
}

body.fh-theme .fh-item-page .Progress-bar .u-progress,
body.fh-theme .fh-item-page .Progress-bar .u-progress span {
  height: 8px !important;
  border-radius: 10px !important;
}

body.fh-theme .fh-item-page .Progress-bar .u-progress {
  margin: 0 !important;
  background: #e7e7e7 !important;
}

body.fh-theme .fh-item-page .Progress-bar .pgbar {
  background: #f60 !important;
}

body.fh-theme .fh-item-page .Progress-bar .Pro-bar-li {
  margin: 0 !important;
  padding: 0 !important;
}

body.fh-theme .fh-item-page .Progress-bar .Pro-bar-li li {
  color: #aeadad !important;
  font-family: SimSun, Arial, sans-serif !important;
}

body.fh-theme .fh-item-page .Progress-bar .Pro-bar-li li em {
  height: 25px !important;
  padding: 3px 0 0 !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  font-style: normal !important;
}

body.fh-theme .fh-item-page .Progress-bar .Pro-bar-li .P-bar01 em { color: #f60 !important; }
body.fh-theme .fh-item-page .Progress-bar .Pro-bar-li .P-bar03 em { color: #2af !important; }

body.fh-theme .fh-item-page .pBtn {
  display: table !important;
  width: 100% !important;
  height: 35px !important;
  margin-top: 10px !important;
  text-align: center !important;
}

body.fh-theme .fh-item-page .pBtn a {
  display: inline-block !important;
  width: 38% !important;
  height: 33px !important;
  min-height: 0 !important;
  margin: 0 2px 0 0 !important;
  padding: 0 !important;
  border-radius: 3px !important;
  box-sizing: content-box !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 33px !important;
}

body.fh-theme .fh-item-page .pBtn .buyBtn { background: #f60 !important; border: 1px solid #f60 !important; }
body.fh-theme .fh-item-page .pBtn .addBtn { background: #ffb320 !important; border: 1px solid #fda700 !important; }
body.fh-theme .fh-item-page .pBtn .collectBtn { width: 20% !important; background: #2af !important; border: 1px solid #2af !important; }

body.fh-theme .fh-item-page .treasure_rule {
  margin-top: 10px !important;
  padding: 0 10px !important;
  background: #fff !important;
  box-shadow: 0 0 3px #dbdbdb !important;
}

body.fh-theme .fh-item-page .treasure_rule .rule {
  padding: 15px 0 !important;
}

body.fh-theme .fh-item-page .rule_hd {
  color: #333 !important;
  font-size: 14px !important;
  line-height: 14px !important;
}

body.fh-theme .fh-item-page .rule_hd .lnk {
  float: right;
  color: #3985ff !important;
  font-size: 12px !important;
}

body.fh-theme .fh-item-page .steps {
  height: 77px;
  margin: 10px 0 0 !important;
  overflow: hidden !important;
}

body.fh-theme .fh-item-page .steps_item {
  position: relative;
  float: left;
  width: 33.33%;
  color: #333 !important;
  font-size: 12px !important;
  text-align: center;
}

body.fh-theme .fh-item-page .steps_item .icon {
  display: block;
  width: 55px;
  height: 55px;
  margin: 0 auto;
  border-radius: 25px;
  background: url("../../images/fuhui/detail-steps-sprite.png") no-repeat 0 0 / cover !important;
}

body.fh-theme .fh-item-page .steps_item:nth-child(2) .icon { background-position: -59px 0 !important; }
body.fh-theme .fh-item-page .steps_item:nth-child(3) .icon { background-position: -118px 0 !important; }

body.fh-theme .fh-item-page .steps_item::after {
  position: absolute;
  top: 25px;
  right: -3px;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  transform: rotate(45deg);
}

body.fh-theme .fh-item-page .steps_item:last-child::after { display: none; }
body.fh-theme .fh-item-page .steps_item p { margin: 10px 0 0 !important; line-height: 12px !important; }

body.fh-theme .fh-item-page .joinAndGet {
  width: 100% !important;
  margin: 0 !important;
  padding-top: 5px !important;
}

body.fh-theme .fh-item-page .joinAndGet dl a {
  display: block !important;
  height: 45px !important;
  margin: 10px 8px 0 !important;
  padding: 0 13px !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 5px !important;
  background: #fff !important;
  box-shadow: 1px 1px 1px #e7e7e7 !important;
  color: #666 !important;
  font-size: 16px !important;
  line-height: 45px !important;
}

body.fh-theme .fh-item-page .joinAndGet dl a .z-arrow {
  position: relative;
  top: 15px;
  border-width: 2px 2px 0 0;
}

@keyframes fh-modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 641px) {
  body.fh-theme .fh-home,
  body.fh-theme > .h5-1yyg-v1,
  body.fh-theme > .container,
  body.fh-theme .fh-page,
  body.fh-theme #content.h5-1yyg-v1 {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.025);
  }
}

@media (max-width: 374px) {
  .fh-quick__item {
    font-size: 12px;
  }

  .fh-products-nav button,
  .fh-products-nav a {
    font-size: 12px;
  }

  .fh-product-card {
    padding-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fh-theme *,
  body.fh-theme *::before,
  body.fh-theme *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
