/* ========================================
   图标样式 - 每种图标独立设置，避免污染
   ======================================== */

/* 1. PC端头部搜索图标（放大镜）- 黑色 */
.fm-header-v2 .hv2-search-iconbtn svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 1 !important;
}

.fm-header-v2 .hv2-search-ico svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 1 !important;
}

.fm-header-v2 .cpt-search .btw svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 1 !important;
}

/* 2. 移动端头部搜索图标（放大镜）- 黑色 */
#site_header .cpt-search .btw svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 1 !important;
}

#site_header .m-search-btn svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 1 !important;
}

/* 3. 移动端底部Tab栏选中状态 - 黄色 */
#mobile_tabbar .mb-tab.is-active {
  background: transparent !important;
}

#mobile_tabbar .mb-tab.is-active svg {
  stroke: #ffc800 !important;
}

#mobile_tabbar .mb-tab.is-active em {
  color: #ffc800 !important;
}

.cm-primary-bg {
  background:
    linear-gradient(276deg, rgba(255, 88, 11, 0.22) 9.94%, rgba(var(--fm-brand-yellow-rgb, 255, 200, 0), 0) 47.03%, rgba(255, 88, 11, 0.22) 92%),
    var(--fm-brand-yellow, #ffc800);
  color: #000000;
  border: none;
}

.cm-primary-bg:hover {
  background:
    linear-gradient(276deg, rgba(255, 88, 11, 0.3) 9.94%, rgba(var(--fm-brand-yellow-rgb, 255, 200, 0), 0) 47.03%, rgba(255, 88, 11, 0.3) 92%),
    #f59e0b;
}

.cm-confirm {
  width: 100%;
  display: flex;
  height: 54px;
  padding: 13px 40px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  border-radius: 73px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.cm-confirm {
  background: #FFCB2E !important;
  color: #000000 !important;
  border: none;
}



.cm-confirm:active {
  transform: translateY(1px);
}

.cm-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#ck3_root .cm-confirm {
  font-weight: 600 !important;
}

@media (max-width: 900px) {

  body.page-account-home.page-account-edit.page-email-edit #page_main,
  body.page-account-home.page-account-edit.page-email-edit .account-page,
  body.page-account-home.page-account-edit.page-email-edit .account-shell {
    background: linear-gradient(180deg, #f7f5ea 0, #f8f8f8 120px, #fff 360px) !important;
    min-height: 100vh;
  }

  body.page-account-home.page-account-edit.page-email-edit .account-shell {
    padding: 0 !important;
  }
}

.fm-header-v2 {
  z-index: 999 !important;
}

@media (min-width: 769px) {
  .fm-header-v2 .hv2-user-meta {
    border: none;
  }

  .fm-header-v2 .hv2-cart {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(17, 24, 39, .86);
    text-decoration: none;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    transition: transform 120ms ease, box-shadow 140ms ease, background 140ms ease;
  }

  .fm-header-v2 .hv2-cart:hover {
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .20);
    transform: translateY(-1px);
  }

  .fm-header-v2 .hv2-cart .material-icons {
    font-size: 21px;
    line-height: 1;
  }

  .fm-header-v2 .hv2-cart__badge {
    position: absolute;
    right: -5px;
    top: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(239, 68, 68, .25);
  }
  .order-detail-header-btn {
    font-weight: 600 !important;
  }
}

/* 登录弹窗logo图标尺寸调整 */
.am2-modal .fmml-brand img,
.am2-modal .fmml-brand svg {
  max-width: 48px !important;
  max-height: 48px !important;
  width: 48px !important;
  height: 48px !important;
}

/* 在线客服浮动按钮样式 - 右下角圆形按钮 */
button[style*="position: fixed"],
a[style*="position: fixed"],
div[style*="position: fixed"] {
  background: #FFCB2E;
  color: #000000 !important;
  border: none !important;
}

/* 登录弹窗输入框提示字体不加粗 */
.am2-modal input::placeholder,
.am2-modal textarea::placeholder,
.am2-modal input::-webkit-input-placeholder,
.am2-modal textarea::-webkit-input-placeholder,
.am2-modal input::-moz-placeholder,
.am2-modal textarea::-moz-placeholder,
.am2-modal input:-ms-input-placeholder,
.am2-modal textarea:-ms-input-placeholder,
.am2-modal input::-ms-input-placeholder,
.am2-modal textarea::-ms-input-placeholder,
#fmml input::placeholder,
#fmml textarea::placeholder,
#fmml input::-webkit-input-placeholder,
#fmml textarea::-webkit-input-placeholder,
#fmml input::-moz-placeholder,
#fmml textarea::-moz-placeholder,
#fmml input:-ms-input-placeholder,
#fmml textarea:-ms-input-placeholder,
#fmml input::-ms-input-placeholder,
#fmml textarea::-ms-input-placeholder {
  font-weight: 400 !important;
}

/* 输入框使用系统字体，不加粗 - 使用更高特异性选择器覆盖全局规则 */
input:not(.material-icons):not(.material-icons-outlined):not(.material-icons-round):not(.material-icons-sharp):not(.material-icons-two-tone):not(.fm-toast__icon),
textarea:not(.material-icons):not(.material-icons-outlined):not(.material-icons-round):not(.material-icons-sharp):not(.material-icons-two-tone):not(.fm-toast__icon),
input:not(.material-icons):not(.material-icons-outlined):not(.material-icons-round):not(.material-icons-sharp):not(.material-icons-two-tone):not(.fm-toast__icon)::placeholder,
textarea:not(.material-icons):not(.material-icons-outlined):not(.material-icons-round):not(.material-icons-sharp):not(.material-icons-two-tone):not(.fm-toast__icon)::placeholder,
.am2-modal input,
.am2-modal textarea,
.am2-modal input::placeholder,
.am2-modal textarea::placeholder,
#fmml input,
#fmml textarea,
#fmml input::placeholder,
#fmml textarea::placeholder,
.fmml-input input,
.fmml-textarea textarea,
.fmml-input input::placeholder,
.fmml-textarea textarea::placeholder {
  --fm-font: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;
}

#login_modal.am2 .am2-primary {
  background: #FFCB2E !important;
  color: #000000 !important;
  border: none !important;
  font-weight: 600 !important;
}

.fm-header-v2 .hv2-user-item {
  font-weight: 400 !important;
}

.ucx-signout {
  font-weight: 600 !important;
}

.ucx-redeem-btn {
  font-weight: 600 !important;
}

.ucx-recent-name {
  font-weight: 600 !important;
}

.ucx-coupon-save {
  font-weight: 600 !important;
}

#home_banner_v2.hmb3 .hmb3-badge,
#home_banner_v3.hmb3 .hmb3-badge {
  font-weight: 600 !important;
}

.uc3-msgbox-wrap[data-v-862da7ca] {
  flex: 1;
  position: relative;
  overflow: hidden
}

.uc3-msgbox[data-v-862da7ca] {
  overflow-anchor: none;
  height: 100%;
  position: relative
}

.uc3-msgbox[data-v-862da7ca] * {
  overflow-anchor: none !important
}

.uc3-loading[data-v-862da7ca] {
  z-index: 9999;
  pointer-events: none;
  background-color: #f8fafc;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 0;
  overflow: hidden
}

.uc3-loading-text[data-v-862da7ca] {
  background: linear-gradient(90deg, #87cefa, #c7a6ff, #87cefa) 0 0/200% 100%;
  color: #0000;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 18px;
  font-weight: 600
}

.uc3-loading-dots[data-v-862da7ca] {
  vertical-align: bottom;
  align-items: flex-end;
  gap: 4px;
  margin-left: 2px;
  display: inline-flex
}

.uc3-loading-dot[data-v-862da7ca] {
  background: linear-gradient(90deg, #87cefa, #c7a6ff);
  border-radius: 50%;
  width: 4px;
  height: 4px;
  animation: 1.4s ease-in-out infinite loading-dot-862da7ca
}

.uc3-loading-dot[data-v-862da7ca]:nth-child(2) {
  animation-delay: .2s
}

.uc3-loading-dot[data-v-862da7ca]:nth-child(3) {
  animation-delay: .4s
}

@keyframes loading-gradient-862da7ca {
  0% {
    background-position: 0%
  }

  to {
    background-position: 200%
  }
}

@keyframes loading-dot-862da7ca {

  0%,
  80%,
  to {
    opacity: .5;
    transform: translateY(0)
  }

  40% {
    opacity: 1;
    transform: translateY(-8px)
  }
}

.uc3-topbar__close[data-v-862da7ca] {
  color: #666;
  cursor: pointer;
  background: 0 0;
  border: none;
  padding: 4px 8px;
  font-size: 20px;
  line-height: 1
}

.uc3-topbar__close[data-v-862da7ca]:hover {
  color: #333
}

#uc3_root .uc3-img {
  object-fit: contain !important;
  width: auto !important;
  max-width: 98px !important;
  height: auto !important;
  max-height: 98px !important
}

@media (width>=769px) {
  #uc3_root {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important
  }

  #uc3_root .uc3-panel {
    z-index: 100;
    box-sizing: border-box !important;
    background-color: #b5b5b5 !important;
    width: 520px !important;
    max-width: 520px !important;
    height: 730px !important;
    max-height: 730px !important
  }

  #uc3_root .uc3-sendbtn {
    color: #000 !important;
    box-shadow: none !important;
    background: #ffcb2e !important;
    border-color: #ffcb2e !important
  }

  #uc3_root .uc3-sendbtn:hover {
    filter: brightness(.95);
    background: #ffcb2e !important
  }

  #uc3_root .uc3-sendbtn svg {
    color: #000 !important
  }

  #uc3_root .uc3-oc-actions .uc3-oc-btn {
    color: #000 !important;
    background: #ffcb2e !important;
    border-color: #ffcb2e !important
  }

  #uc3_root .uc3-oc-actions .uc3-oc-btn:hover {
    filter: brightness(.95);
    background: #ffcb2e !important
  }

  #uc3_root .uc3-oc-actions .uc3-oc-btn.is-confirmed {
    color: #666 !important;
    background: #f1f1f1 !important
  }

  #uc3_root .uc3-topbar {
    z-index: 3 !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background: #ffffffb8 !important;
    border-bottom: 1px solid #ffffff75 !important;
    flex: 0 0 72px !important;
    justify-content: space-between !important;
    align-items: center !important;
    min-height: 72px !important;
    padding: 0 20px !important;
    display: flex !important;
    position: relative !important
  }

  #uc3_root .uc3-topbar__logo {
    object-fit: contain !important;
    flex: none !important;
    width: 42px !important;
    height: 42px !important;
    display: block !important
  }

  #uc3_root .uc3-topbar__left {
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    display: flex !important
  }

  #uc3_root .uc3-topbar__title {
    color: #111827eb !important;
    letter-spacing: .1px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    display: block !important
  }

  #uc3_root .uc3-topbar__sub {
    color: #1118277a !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    display: block !important;
    overflow: hidden !important
  }

  #uc3_root .uc3-topbar__close {
    color: #1118279e !important;
    cursor: pointer !important;
    background: #0000000f !important;
    border: none !important;
    border-radius: 50% !important;
    flex: none !important;
    justify-content: center !important;
    align-items: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    display: flex !important
  }

  #uc3_root .uc3-topbar__close:hover {
    color: #111827e0 !important;
    background: #0000001f !important
  }

  #uc3_root .uc3-inputbar {
    align-items: center !important
  }
}

#home_items.iv2 .iv2-more {
  font-weight: 600 !important;
}

.orders-subtitle {
  font-size: 13px !important;
}

.order-flow-title {
  font-weight: 600 !important;
}

.order-detail-title {
  font-weight: 600 !important;
}

.order-item-name {
  font-weight: 600 !important;
}

.order-item-sub-title {
  font-weight: 600 !important;
}

.order-info-title {
  font-weight: 600 !important;
}
.order-status-badge {
  font-weight: 600 !important;
}
.order-account-safe {
  font-weight: 600 !important;
}

.order-op-btn--pay{
  background: #ffcb2e !important;
  color: #6f5200!important;
}