/* ============================================================
   Shopify 风格 Header — usamodwatch.com
   精确匹配参考站页头：透明浮层 → 滚动后白底 + 滑入动画
   v2 — CSS custom properties for shared colors
   ============================================================ */

:root {
    --sh-nav-text: #171717;
    --sh-nav-bg: #fff;
    --sh-nav-accent: #c48b4b;
    --sh-nav-border: #e5e5e5;
    --sh-nav-muted: #999;
    --sh-nav-light-border: #eee;
    --sh-nav-dropdown-text: #333;
}

/* ============================================================
   0. 全局重置
   ============================================================ */
.whb-header,
.whb-main-header,
.whb-general-header,
.whb-header-bottom {
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.whb-header .wd-nav > li > a,
.whb-header .wd-tools-icon,
.whb-header .wd-tools-text {
    transition: color 0.3s ease;
}

.whb-header .wd-logo img,
.whb-header .site-logo img {
    transition: filter 0.3s ease, max-height 0.3s ease;
}

/* ============================================================
   0a. Header 透明浮层 + 单行布局（覆盖 Hero 上方）
   ============================================================ */
@media (min-width: 1025px) {
    /* ===== 全站：单行布局: Logo(左) | Nav(中) | Icons(右) ===== */
    .whb-header .whb-main-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        max-width: 1900px;
        margin: 0 auto;
        padding: 0 clamp(1rem, 4vw, 2.25rem);
        min-height: 72px;
    }
    .whb-header .whb-general-header { display: contents !important; }
    .whb-header .whb-general-header .container { display: contents !important; max-width: none !important; padding: 0 !important; }
    .whb-header .whb-general-header .whb-flex-row { display: contents !important; }
    .whb-header .whb-general-header .whb-col-left   { display: none !important; }
    .whb-header .whb-general-header .whb-col-center { order: 0; flex: 0 0 auto; }
    .whb-header .whb-header-bottom                  { order: 1; flex: 1 1 auto; }
    .whb-header .whb-general-header .whb-col-right  { order: 2; flex: 0 0 auto; }
    .whb-header .whb-header-bottom {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .whb-header .whb-header-bottom .container { max-width: none !important; padding: 0 !important; width: 100%; }
    .whb-header .whb-header-bottom .whb-flex-row { display: flex !important; justify-content: center !important; }
    .whb-header .whb-header-bottom .whb-col-center { flex: none !important; }

    /* ===== 所有页面：白底 Header 下拉箭头 ===== */
    .whb-header .wd-nav > li.menu-item-has-children > a::after,
    .whb-header .wd-nav > li.wd-has-children > a::after {
        color: rgba(51, 51, 51, 0.5) !important;
    }
    /* 首页透明浮层：白色箭头 */
    body.home .whb-header:not(.sh-header-scrolled) .wd-nav > li.menu-item-has-children > a::after,
    body.home .whb-header:not(.sh-header-scrolled) .wd-nav > li.wd-has-children > a::after {
        color: rgba(255, 255, 255, 0.5) !important;
    }

    /* Sticky Header 箭头 */
    .whb-sticky-header .wd-nav > li.menu-item-has-children > a::after,
    .whb-sticky-header .wd-nav > li.wd-has-children > a::after {
        color: rgba(51, 51, 51, 0.5) !important;
    }

    /* ===== 默认（非首页）：白底 + 深色文字 + 底部细线分隔 ===== */
    .whb-header {
        position: relative !important;
        background: #fff !important;
        border-bottom: 1px solid #e5e5e5;
    }
    .whb-header .wd-nav > li > a,
    .whb-header .wd-tools-icon,
    .whb-header .wd-tools-text {
        color: #171717 !important;
    }
    .whb-header .wd-nav > li > a .nav-link-text::after {
        background: #171717;
    }
    .whb-header .wd-logo img,
    .whb-header .site-logo img {
        filter: none;
    }

    /* ===== 首页覆盖：透明浮层 + 白色文字 + 反色 Logo（叠在 Hero 上） ===== */
    body.home .whb-header {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 20;
        background: transparent !important;
        border-bottom: none;
        box-shadow: none !important;
    }
    body.home .whb-header .wd-nav > li > a,
    body.home .whb-header .wd-tools-icon,
    body.home .whb-header .wd-tools-text,
    body.home .whb-header .wd-header-cart .wd-cart-number {
        color: #fff !important;
    }
    body.home .whb-header .wd-nav > li > a .nav-link-text::after {
        background: #fff;
    }
    body.home .whb-header .wd-logo img,
    body.home .whb-header .site-logo img {
        filter: brightness(0) invert(1);
    }

    /* ===== Sticky Header（全站统一：白底 + 深色 + 单行布局） ===== */
    /* Woodmart 的 Sticky Clone DOM（via JS template rendering）:
       .whb-sticky-header.whb-clone.whb-main-header  (position: fixed, 但没有 left/right → width:auto!!)
         > .whb-row.whb-general-header.whb-flex-flex-middle  (JS: data['cloneClass'] = .whb-general-header 的 class)
           > .container  (Woodmart 默认容器宽度 ~1222px)
             > .whb-flex-row.whb-general-header-inner
               > .whb-col-left (Logo) + .whb-col-center (Nav) + .whb-col-right (Icons) */

    .whb-sticky-header {
        animation: sh-stickySlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: #fff !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
    }
    @keyframes sh-stickySlideIn {
        from { transform: translateY(-100%); }
        to   { transform: translateY(0); }
    }

    /* .whb-row 上建立单行布局 + 居中（代替 container 控制宽度） */
    .whb-sticky-header > .whb-row {
        display: flex !important;
        align-items: center !important;
        max-width: 1900px !important;
        margin: 0 auto !important;
        padding: 0 clamp(1rem, 4vw, 2.25rem) !important;
        min-height: 72px;
        border: none !important;
    }

    /* Container 打平：不再限制宽度（由 .whb-row 的 max-width 接管） */
    .whb-sticky-header .container {
        max-width: none !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Flex-row：撑满、无边框/间距 */
    .whb-sticky-header .whb-flex-row {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 三列分配 */
    .whb-sticky-header .whb-col-left { flex: 0 0 auto; }
    .whb-sticky-header .whb-col-center { flex: 1 1 auto; }
    .whb-sticky-header .whb-col-right { flex: 0 0 auto; }

    /* 深色文字 */
    .whb-sticky-header .wd-nav > li > a,
    .whb-sticky-header .wd-tools-icon,
    .whb-sticky-header .wd-tools-text {
        color: #171717 !important;
    }
    .whb-sticky-header .wd-nav > li > a .nav-link-text::after { background: #171717; }

    /* Logo 缩小 */
    .whb-sticky-header .wd-logo img,
    .whb-sticky-header .site-logo img {
        filter: none;
        max-height: 55px !important;
    }

    /* Nav 居中 */
    .whb-sticky-header .wd-header-main-nav {
        text-align: center;
    }
}

/* ============================================================
   2. 主导航文字
   ============================================================ */
.wd-header-main-nav .wd-nav > li > a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-transform: uppercase;
    padding: 8px 0;
    color: inherit;
    transition: color 0.2s ease;
}

/* 悬停下划线（从左到右动效） */
.wd-header-main-nav .wd-nav > li > a .nav-link-text {
    position: relative;
}
.wd-header-main-nav .wd-nav > li > a .nav-link-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
}
.wd-header-main-nav .wd-nav > li > a:hover .nav-link-text::after,
.wd-header-main-nav .wd-nav > li.current-menu-item > a .nav-link-text::after,
.wd-header-main-nav .wd-nav > li.current-menu-ancestor > a .nav-link-text::after {
    transform: scaleX(1);
}

/* 当前页激活 */
.wd-header-main-nav .wd-nav > li.current-menu-item > a,
.wd-header-main-nav .wd-nav > li.current-menu-ancestor > a {
    color: inherit;
    font-weight: 700;
}

/* ============================================================
   3. 搜索/账户/购物车 图标
   ============================================================ */
.wd-header-search .wd-tools-icon,
.wd-header-my-account .wd-tools-icon,
.wd-header-cart .wd-tools-icon {
    font-size: 20px;
    color: inherit;
}
.wd-header-cart .wd-cart-number {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    background: #171717;
    color: #fff;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
}

/* ============================================================
   4. Header 整体高度 & Logo 大小
   ============================================================ */
@media (min-width: 1025px) {
    .whb-general-header,
    .whb-header-bottom {
        height: auto !important;
        min-height: 0 !important;
    }
    /* Logo */
    .wd-logo img,
    .site-logo img {
        max-height: 55px;
        width: auto;
    }
}
@media (max-width: 1024px) {
    .wd-logo img,
    .site-logo img {
        max-height: 55px;
        width: auto;
    }
}

/* ============================================================
   5. 反色模式 (light header) — 浅色背景用深色文字
   ============================================================ */
.whb-color-light .wd-header-main-nav .wd-nav > li > a {
    color: #fff;
}
.whb-color-dark .wd-header-main-nav .wd-nav > li > a {
    color: #171717;
}

/* ============================================================
   6. WATCHES 下拉容器 — Mega Menu
   ============================================================ */
.wd-dropdown-menu.wd-design-full-width {
    --mm-brand: #c48b4b;
    --mm-brand-rgb: 196,139,75;
    --mm-text: #333;
    --mm-muted: #999;
    --mm-bg: #fff;
    --mm-border: #eee;
    --mm-radius: 6px;
    --mm-shadow: 0 20px 60px rgba(0,0,0,0.12);
    --mm-transition: 0.2s cubic-bezier(0.25,0.46,0.45,0.94);
    --wd-dropdown-padding: 0;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: var(--mm-shadow);
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--mm-border);
}
.wd-dropdown-menu.wd-design-full-width .container.wd-entry-content {
    max-width: 100%;
    padding: 0;
}

/* ============================================================
   7. Mega Menu 内部布局
   ============================================================ */
.usamod-mega-menu {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 48px;
}
.usamod-mega-left {
    flex: 0 0 260px;
    padding-right: 48px;
    border-right: 1px solid var(--mm-border);
}
.usamod-mega-right {
    flex: 1;
    padding-left: 48px;
    min-width: 0;
}
.usamod-mega-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--mm-muted);
    margin: 0 0 16px;
    padding: 0;
}
.usamod-mega-link-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.usamod-mega-link-list a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--mm-text);
    text-decoration: none;
    transform: translateX(0);
    transition: color var(--mm-transition), transform var(--mm-transition);
}
.usamod-mega-link-list a:hover {
    color: var(--mm-brand);
    transform: translateX(4px);
}
.usamod-mega-cta {
    display: block;
    margin-top: 24px;
    border-radius: var(--mm-radius);
    overflow: hidden;
    text-decoration: none;
}
.usamod-mega-cta img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--mm-radius);
    transition: transform 0.3s ease;
}
.usamod-mega-cta:hover img { transform: scale(1.04); }
.usamod-mega-cta span {
    display: block;
    padding: 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--mm-text);
    text-align: center;
    transition: color var(--mm-transition);
}
.usamod-mega-cta:hover span { color: var(--mm-brand); }

/* Tab 切换 */
.usamod-mega-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--mm-border);
    margin-bottom: 28px;
}
.usamod-mega-tab {
    position: relative;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--mm-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.25s ease;
    letter-spacing: 0.3px;
}
.usamod-mega-tab::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--mm-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.usamod-mega-tab:hover { color: var(--mm-text); }
.usamod-mega-tab:hover::after { transform: scaleX(0.4); }
.usamod-mega-tab.is-active { color: var(--mm-text); }
.usamod-mega-tab.is-active::after { transform: scaleX(1); }
.usamod-mega-panel { display: none; }
.usamod-mega-panel.is-active { display: block; }

/* 图片网格 */
.usamod-mega-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px 16px;
}
.usamod-mega-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--mm-text);
    padding: 8px 4px;
    border-radius: 8px;
    transition: transform var(--mm-transition);
}
.usamod-mega-item:hover { transform: translateY(-3px); }
.usamod-mega-img-wrap { display: block; margin-bottom: 10px; }
.usamod-mega-item img {
    display: block;
    width: 88px; height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5f5;
    border: 2px solid transparent;
    transition: border-color var(--mm-transition), box-shadow var(--mm-transition), transform var(--mm-transition);
}
.usamod-mega-item:hover img {
    border-color: var(--mm-brand);
    box-shadow: 0 0 0 4px rgba(var(--mm-brand-rgb), 0.12);
    transform: scale(1.05);
}
.usamod-mega-item-label {
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    line-height: 1.35;
    color: var(--mm-text);
    transition: color var(--mm-transition);
}
.usamod-mega-item:hover .usamod-mega-item-label { color: var(--mm-brand); }

/* ============================================================
   8. 反色强制覆盖
   ============================================================ */
.color-scheme-light .usamod-mega-menu,
[class*="color-scheme-light"] .usamod-mega-menu {
    --mm-text: #333; --mm-muted: #999; --mm-bg: #fff; --mm-border: #eee;
}
.color-scheme-light .usamod-mega-tab { color: var(--mm-muted) !important; }
.color-scheme-light .usamod-mega-tab:hover,
.color-scheme-light .usamod-mega-tab.is-active { color: var(--mm-text) !important; }
.color-scheme-light .usamod-mega-heading { color: var(--mm-muted) !important; }
.color-scheme-light .usamod-mega-link-list a { color: var(--mm-text) !important; }
.color-scheme-light .usamod-mega-link-list a:hover { color: var(--mm-brand) !important; }
.color-scheme-light .usamod-mega-cta span { color: var(--mm-text) !important; }
.color-scheme-light .usamod-mega-cta:hover span { color: var(--mm-brand) !important; }
.color-scheme-light .usamod-mega-item { color: var(--mm-text) !important; }
.color-scheme-light .usamod-mega-item-label { color: var(--mm-text) !important; }
.color-scheme-light .usamod-mega-item:hover .usamod-mega-item-label { color: var(--mm-brand) !important; }

/* ============================================================
   9. SUPPORT / ABOUT 小下拉
   ============================================================ */
/* 桌面端安全网 — 确保移动端子菜单/箭头不会泄露到桌面 */
@media (min-width: 1025px) {
    .mobile-watches-submenu,
    .mobile-watches-opener {
        display: none !important;
    }
}
.wd-dropdown-menu.wd-design-default {
    padding: 8px 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    border: none;
    border-radius: 6px;
}
.wd-dropdown-menu.wd-design-default .wd-sub-menu {
    list-style: none;
    margin: 0; padding: 0;
}
.wd-dropdown-menu.wd-design-default .wd-sub-menu a {
    display: block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.wd-dropdown-menu.wd-design-default .wd-sub-menu a:hover {
    color: #c48b4b;
    background: transparent;
}

/* ============================================================
   10. 动画
   ============================================================ */
@keyframes usamod-fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.wd-event-hover:hover .usamod-mega-grid .usamod-mega-item,
.wd-event-click.wd-opened .usamod-mega-grid .usamod-mega-item {
    animation: usamod-fadeIn 0.35s cubic-bezier(0.25,0.46,0.45,0.94) forwards;
}
.usamod-mega-grid .usamod-mega-item:nth-child(1)  { animation-delay: 0.02s; }
.usamod-mega-grid .usamod-mega-item:nth-child(2)  { animation-delay: 0.04s; }
.usamod-mega-grid .usamod-mega-item:nth-child(3)  { animation-delay: 0.06s; }
.usamod-mega-grid .usamod-mega-item:nth-child(4)  { animation-delay: 0.08s; }
.usamod-mega-grid .usamod-mega-item:nth-child(5)  { animation-delay: 0.10s; }
.usamod-mega-grid .usamod-mega-item:nth-child(6)  { animation-delay: 0.12s; }
.usamod-mega-grid .usamod-mega-item:nth-child(7)  { animation-delay: 0.14s; }
.usamod-mega-grid .usamod-mega-item:nth-child(8)  { animation-delay: 0.16s; }
.usamod-mega-grid .usamod-mega-item:nth-child(9)  { animation-delay: 0.18s; }
.usamod-mega-grid .usamod-mega-item:nth-child(10) { animation-delay: 0.20s; }
.usamod-mega-grid .usamod-mega-item:nth-child(11) { animation-delay: 0.22s; }
.usamod-mega-grid .usamod-mega-item:nth-child(12) { animation-delay: 0.24s; }
.usamod-mega-grid .usamod-mega-item:nth-child(13) { animation-delay: 0.26s; }
.usamod-mega-grid .usamod-mega-item:nth-child(14) { animation-delay: 0.28s; }
.usamod-mega-grid .usamod-mega-item:nth-child(15) { animation-delay: 0.30s; }
.usamod-mega-grid .usamod-mega-item:nth-child(16) { animation-delay: 0.32s; }
.usamod-mega-grid .usamod-mega-item:nth-child(17) { animation-delay: 0.34s; }
.usamod-mega-grid .usamod-mega-item:nth-child(18) { animation-delay: 0.36s; }

/* ============================================================
   11. 响应式 — 保留 Woodmart 原生移动端布局
   ============================================================ */
@media (max-width: 1200px) {
    .usamod-mega-menu { padding: 32px 28px; }
    .usamod-mega-left { flex: 0 0 220px; padding-right: 36px; }
    .usamod-mega-right { padding-left: 36px; }
    .usamod-mega-grid { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
    .usamod-mega-item img { width: 72px; height: 72px; }
}

@media (max-width: 1024px) {
    /* 非首页：白底 + 深色图标/文字，确保可见 */
    body:not(.home) .whb-header {
        background: #fff !important;
        border-bottom: 1px solid #e5e5e5;
        padding: 0 16px !important;
    }
    body:not(.home) .whb-header .wd-tools-icon,
    body:not(.home) .whb-header .wd-tools-text {
        color: #171717 !important;
    }
    body:not(.home) .whb-header .wd-logo img,
    body:not(.home) .whb-header .site-logo img {
        filter: none;
    }

    /* 移动端抽屉菜单：仅保留导航链接，隐藏其他元素（MENU/CATEGORIES标签、搜索框、侧边栏等） */
    .mobile-nav .wd-sidebar,
    .mobile-nav .widget-area,
    .mobile-nav .wd-widget,
    .mobile-nav .searchform,
    .mobile-nav .wd-search-results,
    .mobile-nav .wd-nav-tabs-wrapper,
    .mobile-nav .wd-nav-tabs,
    .mobile-nav .wd-nav-mob-tab,
    .mobile-nav .wd-tab-content,
    .mobile-nav .wd-heading,
    /* 隐藏 Mega Menu 网格布局，显示移动端专用普通子菜单 */
    .mobile-nav .usamod-mega-menu,
    .mobile-nav .usamod-mega-left,
    .mobile-nav .usamod-mega-right,
    .mobile-nav .usamod-mega-grid,
    .mobile-nav .usamod-mega-item,
    .mobile-nav .usamod-mega-tabs,
    .mobile-nav .usamod-mega-tab,
    .mobile-nav .usamod-mega-panel,
    .mobile-nav .usamod-mega-cta {
        display: none !important;
    }
    /* WATCHES 移动端：隐藏 PC Mega Menu 的 .wd-dropdown-menu，只显示移动端子菜单 */
    .wd-nav-mobile > .menu-item-design-full-width > .wd-dropdown-menu.wd-design-full-width {
        display: none !important;
    }
    /* WATCHES 移动端子菜单 — ul.wd-sub-menu，由 Woodmart JS 控制显示/隐藏 */
    .mobile-watches-submenu {
        position: static !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
    }
    /* WATCHES 移动端箭头 */
    .mobile-watches-opener {
        display: inline-flex !important;
    }
    /* 移动端显示普通子菜单列表 */
    .mobile-nav .mobile-watches-submenu {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 0 0 20px !important;
    }
    .mobile-nav .mobile-watches-submenu li {
        padding: 9px 0 !important;
        border: none !important;
    }
    .mobile-nav .mobile-watches-submenu a {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #171717 !important;
        text-decoration: none !important;
    }
    /* 移动端抽屉菜单内容边距 */
    .mobile-nav .wd-nav-mobile {
        padding: 0 16px !important;
    }
    /* 移动端抽屉菜单整体边距（反色时菜单不贴边） */
    .mobile-nav,
    .mobile-nav > div,
    .mobile-nav .wd-scroll-content,
    .mobile-nav .wd-side-hidden,
    .mobile-nav .wd-sidebar {
        padding: 0 16px !important;
    }

    /* 移动端页头显示搜索图标（购物车左边） */
    .wd-header-search {
        display: flex !important;
        align-items: center !important;
    }
    .wd-header-search .wd-tools-icon {
        font-size: 20px !important;
    }

    /* 移动端 Sticky Header（滚动后出现的固定页头） */
    .whb-sticky-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        background: #fff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        padding: 0 16px !important;
        animation: sh-stickySlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .whb-sticky-header .wd-tools-icon,
    .whb-sticky-header .wd-tools-text {
        color: #171717 !important;
    }
    .whb-sticky-header .wd-logo img,
    .whb-sticky-header .site-logo img {
        filter: none !important;
        max-height: 55px !important;
    }

    /* ===== 首页：透明浮层覆盖 Hero ===== */
    /* 强制覆盖 Woodmart 移动端 header 样式 */
    body.home .whb-header,
    body.home .whb-header .whb-main-header,
    body.home .whb-header .whb-general-header,
    body.home .whb-header .whb-header-bottom {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 20 !important;
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 16px !important;
    }
    /* 首页图标/文字白色 */
    body.home .whb-header .wd-tools-icon,
    body.home .whb-header .wd-tools-text,
    body.home .whb-header .wd-header-mobile-nav .wd-tools-icon,
    body.home .whb-header .wd-header-mobile-nav .wd-tools-text,
    body.home .whb-header .whb-main-header .wd-tools-icon,
    body.home .whb-header .whb-main-header .wd-tools-text {
        color: #fff !important;
    }
    body.home .whb-header .wd-logo img,
    body.home .whb-header .site-logo img,
    body.home .whb-header .whb-main-header .wd-logo img,
    body.home .whb-header .whb-main-header .site-logo img {
        filter: brightness(0) invert(1) !important;
    }

    /* 滚动后变白底 */
    body.home .whb-header.sh-header-scrolled,
    body.home .whb-header.sh-header-scrolled .whb-main-header,
    body.home .whb-header.sh-header-scrolled .whb-general-header,
    body.home .whb-header.sh-header-scrolled .whb-header-bottom {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: #fff !important;
        border-bottom: 1px solid #e5e5e5 !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08) !important;
        padding: 0 16px !important;
        animation: sh-stickySlideIn 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    body.home .whb-header.sh-header-scrolled .wd-tools-icon,
    body.home .whb-header.sh-header-scrolled .wd-tools-text,
    body.home .whb-header.sh-header-scrolled .whb-main-header .wd-tools-icon,
    body.home .whb-header.sh-header-scrolled .whb-main-header .wd-tools-text {
        color: #171717 !important;
    }
    body.home .whb-header.sh-header-scrolled .wd-nav > li > a,
    body.home .whb-header.sh-header-scrolled .wd-nav > li > a .nav-link-text,
    body.home .whb-header.sh-header-scrolled .wd-header-cart .wd-cart-number {
        color: #171717 !important;
    }
    body.home .whb-header.sh-header-scrolled .wd-nav > li > a .nav-link-text::after {
        background: #171717;
    }
    body.home .whb-header.sh-header-scrolled .wd-logo img,
    body.home .whb-header.sh-header-scrolled .site-logo img,
    body.home .whb-header.sh-header-scrolled .whb-main-header .wd-logo img,
    body.home .whb-header.sh-header-scrolled .whb-main-header .site-logo img {
        filter: none !important;
    }
}
