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

/* 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: 800;
}

.cm-confirm {
  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-confirm: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:active {
  transform: translateY(1px);
}

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

@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);
  }
}

/* 登录弹窗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;
}


