/* =======================================================
 * 买烟网 统一样式表 v1.0
 * 整合自: MU-plugins + Additional CSS + Customizer
 * 生成时间: 2026-05-15
 * 注意: 修改样式只需编辑此文件，无需翻查其他位置
 * ======================================================= */

/* === CSS 变量系统（统一色板，后续渐进替换） === */
:root {
    --bg-page: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-surface: #1e1e1e;
    --bg-input: #2a2a2a;
    --bg-elevated: #333;
    --gold: #c9a96e;
    --gold-hover: #d4b87a;
    --gold-glow: rgba(201,169,110,0.3);
    --text-primary: #e0e0e0;
    --text-heading: #f0f0f0;
    --text-secondary: #aaaaaa;
    --text-muted: #999;
    --border-primary: #444;
    --border-light: #555;
    --border-dark: #333;
    --danger: #e53e3e;
    --wechat-green: #07C160;
}

/* === 深色主题全局修复 (原 wc-dark-theme-fixes.php) === */
/* ===== V07/V12: WooCommerce 按钮金色实底（全局覆盖） ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce ul.products li.product .button,
.single_add_to_cart_button,
button.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.wc-proceed-to-checkout .checkout-button,
.woocommerce a.added_to_cart,
.return-to-shop a.button {
    background: var(--gold) !important;
    color: var(--bg-card) !important;
    border: none !important;
    font-weight: 700;
    border-radius: 5px;
    transition: all .3s;
    text-shadow: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce ul.products li.product .button:hover,
.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover,
.wc-proceed-to-checkout .checkout-button:hover,
.return-to-shop a.button:hover {
    background: var(--gold-hover) !important;
    color: var(--bg-card) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* ===== V05: 商品卡品牌/分类元标签 ===== */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .astra-shop-summary-wrap .ast-woo-product-category a,
.ast-woo-product-category {
    color: var(--text-secondary) !important;
    font-size: 13px;
}

/* ===== V06: CNY 参考价改为金色 ===== */
.wc-cny-ref,
.wc-cny-reference,
.wc-cny-ref-price,
[class*="cny"] {
    color: var(--gold) !important;
}

/* ===== V09/V17: 面包屑提亮 ===== */
.woocommerce .woocommerce-breadcrumb,
.ast-breadcrumbs-wrapper,
.ast-breadcrumbs-wrapper a,
nav.woocommerce-breadcrumb,
nav.woocommerce-breadcrumb a,
.trail-items li,
.trail-items li a {
    color: var(--text-secondary) !important;
    font-size: 13px;
}
.woocommerce .woocommerce-breadcrumb a:hover,
nav.woocommerce-breadcrumb a:hover,
.trail-items li a:hover {
    color: var(--gold) !important;
}

/* ===== V10: 详情页 Tab 非活跃态 ===== */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--text-secondary) !important;
    font-weight: 500;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--gold) !important;
    font-weight: 600;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom-color: var(--border-primary);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border-color: transparent !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 2px solid var(--gold) !important;
}
.woocommerce div.product .woocommerce-tabs .panel {
    background: transparent !important;
}

/* ===== V11: 数量输入框 ===== */
.woocommerce .quantity .qty,
.woocommerce div.product form.cart .quantity input,
input.qty {
    border: 1px solid #666 !important;
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
    border-radius: 4px;
}

/* ===== V14: 排序下拉框 ===== */
.woocommerce .woocommerce-ordering select.orderby,
.woocommerce-ordering select {
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border: 1px solid #666 !important;
    border-radius: 4px;
    padding: 8px 12px;
}

/* ===== V15: 侧边栏分类链接 ===== */
.widget_product_categories a,
.wc-block-product-categories-list-item a,
.widget_product_categories li a,
.woocommerce .widget_layered_nav ul li a,
.yith-wcan-list li a {
    color: var(--gold) !important;
    transition: color .2s;
}
.widget_product_categories a:hover,
.wc-block-product-categories-list-item a:hover {
    color: var(--gold-hover) !important;
}
.widget_product_categories .count,
.wc-block-product-categories-list-item .wc-block-product-categories-list-item__count {
    color: var(--text-muted) !important;
}

/* ===== V16: 侧边栏标签筛选复选框标签 ===== */
.yith-wcan-list label,
.yith-wcan-list .filter-item label,
.widget_layered_nav ul li,
.widget_layered_nav ul li a {
    color: #cccccc !important;
}

/* ===== V18: 结果计数 ===== */
.woocommerce-result-count {
    color: #b0b0b0 !important;
}

/* ===== V25: 移动端按钮增高 ===== */
@media (max-width: 768px) {
    .woocommerce ul.products li.product .button,
    .woocommerce a.button,
    .woocommerce button.button,
    .single_add_to_cart_button {
        min-height: 44px;
        font-size: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== 额外: 商品详情页分类/标签元数据 ===== */
.woocommerce div.product .product_meta,
.woocommerce div.product .product_meta > span {
    color: var(--text-secondary) !important;
}
.woocommerce div.product .product_meta a {
    color: var(--gold) !important;
}

/* ===== 额外: WooCommerce 通知/消息框 ===== */
.woocommerce-message,
.woocommerce-info {
    background: var(--bg-input) !important;
    border-top-color: var(--gold);
    color: var(--text-primary) !important;
}
.woocommerce-error {
    background: var(--bg-input) !important;
    border-top-color: var(--danger);
    color: var(--text-primary) !important;
}
.woocommerce-message a,
.woocommerce-info a {
    color: var(--gold) !important;
}

/* ===== 额外: 购物车/结账表单 ===== */
.woocommerce table.shop_table {
    border-color: var(--border-primary) !important;
}
.woocommerce table.shop_table th {
    color: var(--text-heading) !important;
    border-color: var(--border-primary) !important;
}
.woocommerce table.shop_table td {
    border-color: var(--bg-elevated) !important;
    color: var(--text-primary) !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table th {
    color: var(--text-primary) !important;
}

/* ===== 额外: 优惠券输入框 ===== */
.woocommerce #coupon_code,
#ast-coupon-code {
    background: var(--bg-input) !important;
    border: 1px solid #666 !important;
    color: var(--text-primary) !important;
}

/* ===== 额外: 价格颜色加白 ===== */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #ffffff !important;
    font-weight: 700;
}


/* ===================================================== */
/* ===== P2 批次: 补充页面深色适配 (2026-05-08) ======= */
/* ===================================================== */

/* ===== P2-1: 空购物车页面 ===== */
.woocommerce-cart .cart-empty {
    color: var(--text-primary) !important;
    font-size: 1.1em;
    padding: 2em;
    text-align: center;
}
.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: 1.5em;
}
.woocommerce-cart .return-to-shop a.button {
    font-size: 16px;
    padding: 12px 30px;
}
.woocommerce-cart .cart-empty + .return-to-shop {
    border-top: 1px solid var(--bg-elevated) !important;
    padding-top: 1.5em;
}

/* ===== P2-2: 搜索结果页深色适配 ===== */
.search-results .entry-title,
.search-results .entry-title a {
    color: var(--text-primary) !important;
}
.search-results .entry-title a:hover {
    color: var(--gold) !important;
}
.search-results .entry-summary,
.search-results .entry-content p {
    color: #cccccc !important;
}
.search-results .entry-meta,
.search-results .entry-meta a {
    color: var(--text-muted) !important;
}
.woocommerce-products-header__title.page-title {
    color: var(--text-heading) !important;
}
.woocommerce .woocommerce-info.wc-no-matching-products,
.woocommerce-page .woocommerce-info {
    color: var(--text-primary) !important;
    background: var(--bg-input) !important;
    border-top-color: var(--gold);
}
.no-results .page-content p,
.search-no-results .page-content p {
    color: #cccccc !important;
}
.search-form .search-field {
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light) !important;
}
.search-form .search-field::placeholder {
    color: #888 !important;
}

/* ===== P2-5: 我的账户 / 登录页深色适配 ===== */
.woocommerce-account .woocommerce h2,
.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 {
    color: var(--text-heading) !important;
}
.woocommerce-account .woocommerce-form-login .form-row label,
.woocommerce-account .woocommerce-form-register .form-row label,
.woocommerce-form-login label,
.woocommerce-form-register label {
    color: var(--text-primary) !important;
}
.woocommerce-account .woocommerce-form-login input[type="text"],
.woocommerce-account .woocommerce-form-login input[type="password"],
.woocommerce-account .woocommerce-form-login input[type="email"],
.woocommerce-account .woocommerce-form-register input[type="text"],
.woocommerce-account .woocommerce-form-register input[type="password"],
.woocommerce-account .woocommerce-form-register input[type="email"],
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="password"] {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
}
.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
    border-color: var(--gold) !important;
}
.woocommerce-LostPassword a,
.woocommerce-LostPassword a:visited {
    color: var(--gold) !important;
}
.woocommerce-LostPassword a:hover {
    color: var(--gold-hover) !important;
}
.woocommerce-form__label-for-checkbox span,
.woocommerce-form-login__rememberme span {
    color: #cccccc !important;
}
/* 已登录 - 侧边栏导航 */
.woocommerce-MyAccount-navigation ul li a {
    color: #cccccc !important;
    border-bottom: 1px solid var(--bg-elevated) !important;
    padding: 10px 15px;
    display: block;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--gold) !important;
    background: rgba(201,169,110,0.08) !important;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    color: var(--gold) !important;
    font-weight: 600;
    border-left: 3px solid var(--gold) !important;
}
.woocommerce-MyAccount-content p,
.woocommerce-MyAccount-content {
    color: var(--text-primary) !important;
}
.woocommerce-MyAccount-content a {
    color: var(--gold) !important;
}
.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    color: var(--text-heading) !important;
}
/* 订单表格 */
.woocommerce-orders-table th,
.woocommerce-orders-table td {
    color: var(--text-primary) !important;
    border-color: var(--border-primary) !important;
}
.woocommerce-orders-table .woocommerce-button {
    font-size: 13px;
}

/* ===== P2-6: 404 页面深色适配 ===== */
.error-404 .page-title {
    color: var(--text-heading) !important;
    font-size: 6rem;
    font-weight: 800;
    opacity: 0.15;
    margin-bottom: 0;
}
.error-404 .page-sub-title,
.error-404 h2 {
    color: var(--text-primary) !important;
    font-size: 1.5rem;
}
.error-404 p {
    color: #cccccc !important;
}
.error-404 .search-form .search-field {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
}
.error-404 .search-form .search-submit {
    background: var(--gold) !important;
    color: var(--bg-card) !important;
    border: none !important;
}
.error-404 .search-form .search-submit:hover {
    background: var(--gold-hover) !important;
}

/* ===== P2 补充: 结账页表单完善 ===== */
.woocommerce-checkout .form-row label {
    color: var(--text-primary) !important;
}
.woocommerce-checkout .form-row label .required {
    color: #e74c3c !important;
}
.woocommerce-checkout select,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout textarea {
    background: var(--bg-input) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-primary) !important;
}
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--gold) !important;
}
.select2-container--default .select2-selection--single {
    background: var(--bg-input) !important;
    border-color: var(--border-light) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
}
.select2-container--default .select2-results__option {
    background: var(--bg-input) !important;
    color: var(--text-primary) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--gold) !important;
    color: var(--bg-card) !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-light) !important;
}
.select2-dropdown {
    background: var(--bg-input) !important;
    border-color: var(--border-light) !important;
}
/* 结账隐私声明文字 */
.woocommerce-privacy-policy-text p,
.woocommerce-terms-and-conditions-wrapper p {
    color: var(--text-secondary) !important;
    font-size: 13px;
}
.woocommerce-privacy-policy-text a,
.woocommerce-terms-and-conditions-wrapper a {
    color: var(--gold) !important;
}
/* 支付方式区域 */
.woocommerce-checkout-payment {
    background: #222 !important;
    border-radius: 6px;
}
.wc_payment_methods li {
    border-bottom: 1px solid var(--bg-elevated) !important;
}
.wc_payment_method label {
    color: var(--text-primary) !important;
}
.payment_box {
    background: var(--bg-surface) !important;
    color: #cccccc !important;
}
.payment_box::before {
    border-bottom-color: var(--bg-surface);
}

/* ===== P2 补充: 分页改进 ===== */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    color: #cccccc !important;
    background: var(--bg-input) !important;
    border-color: var(--border-primary) !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--bg-elevated) !important;
    color: var(--gold) !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gold) !important;
    color: var(--bg-card) !important;
    border-color: var(--gold) !important;
    font-weight: 700;
}
/* ===== FOOTER CREDIT: WRAP + CENTER FIX (Task 1) ===== */
.ast-small-footer,
.site-below-footer-wrap {
    overflow: visible;
}
.ast-small-footer .ast-container,
.site-below-footer-wrap .ast-builder-grid-row-container,
.site-below-footer-wrap .ast-builder-grid-row {
    max-width: 100%;
    text-align: center;
}
.ast-small-footer .ast-small-footer-section-1,
.ast-footer-copyright,
.ast-small-footer-section,
.site-below-footer-wrap .ast-builder-html-element {
    text-align: center;
    max-width: 100%;
    padding: 15px 24px;
    line-height: 2;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-muted) !important;
    font-size: 13px;
}
.ast-small-footer a,
.ast-footer-copyright a,
.site-below-footer-wrap a {
    color: #b0b0b0 !important;
    white-space: nowrap;
    text-decoration: none;
}
.ast-small-footer a:hover,
.ast-footer-copyright a:hover,
.site-below-footer-wrap a:hover {
    color: var(--gold) !important;
}

/* === 前端翻译样式 (原 cn-frontend-translation.php) === */
/* ===== 侧边栏容器 ===== */
    .widget_product_categories {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 24px;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
    }
    .widget_product_categories .widget-title,
    .widget_product_categories h2 {
        background: #1a1a2e;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
        padding: 13px 16px;
        letter-spacing: 0.5px;
    }

    /* ===== 分类列表 ===== */
    .widget_product_categories ul.product-categories {
        list-style: none;
        margin: 0;
        padding: 6px 0;
    }

    /* ===== 每一行 <li>：用 flex 布局，子项折行 ===== */
    .widget_product_categories ul.product-categories li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #f2f2f2;
        position: relative;
    }
    .widget_product_categories ul.product-categories li:last-child {
        border-bottom: none;
    }

    /* ===== <a> 占满左侧空间 ===== */
    .widget_product_categories ul.product-categories li > a {
        flex: 1 1 auto;
        display: block;
        padding: 10px 8px 10px 16px;
        color: #222;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: color 0.18s;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .widget_product_categories ul.product-categories li > a:hover {
        color: #c8943a;
    }

    /* ===== 数量徽章：flex 收缩，紧贴右侧 ===== */
    .widget_product_categories ul.product-categories li > .count {
        flex: 0 0 auto;
        background: #efefef;
        color: #777;
        font-size: 11px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 20px;
        margin-right: 12px;
        margin-left: 4px;
        line-height: 20px;
        min-width: 28px;
        text-align: center;
        white-space: nowrap;
    }

    /* ===== 激活/父级分类高亮 ===== */
    .widget_product_categories ul.product-categories li.current-cat > a,
    .widget_product_categories ul.product-categories li.current-cat-parent > a {
        color: #c8943a;
    }
    .widget_product_categories ul.product-categories li.current-cat > .count,
    .widget_product_categories ul.product-categories li.current-cat-parent > .count {
        background: #c8943a;
        color: #fff;
    }

    /* ===== 子分类 ul.children：占满整行 ===== */
    .widget_product_categories ul.product-categories ul.children {
        flex: 0 0 100%;
        list-style: none;
        margin: 0;
        padding: 2px 0 6px 0;
        background: #fafafa;
        border-top: 1px solid #f2f2f2;
    }
    /* 子分类的 li 同样 flex 对齐 */
    .widget_product_categories ul.product-categories ul.children li {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #f5f5f5;
    }
    .widget_product_categories ul.product-categories ul.children li:last-child {
        border-bottom: none;
    }
    .widget_product_categories ul.product-categories ul.children li > a {
        flex: 1 1 auto;
        display: block;
        padding: 7px 6px 7px 28px;
        color: var(--border-light);
        font-size: 13px;
        font-weight: 400;
        text-decoration: none;
        transition: color 0.18s;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 60px);
    }
    .widget_product_categories ul.product-categories ul.children li > a:hover {
        color: #c8943a;
    }
    .widget_product_categories ul.product-categories ul.children li > .count {
        flex: 0 0 auto;
        background: #eaeaea;
        color: #888;
        font-size: 10px;
        font-weight: 600;
        padding: 1px 6px;
        border-radius: 12px;
        margin-right: 12px;
        margin-left: 4px;
        min-width: 22px;
        text-align: center;
        white-space: nowrap;
    }
    .widget_product_categories ul.product-categories ul.children li.current-cat > a {
        color: #c8943a;
        font-weight: 600;
    }
    .widget_product_categories ul.product-categories ul.children li.current-cat > .count {
        background: #c8943a;
        color: #fff;
    }
    /* 覆盖 Astra 默认的子分类箭头（只保留我们自己的缩进） */
    .woocommerce ul.product-categories > li ul li:before { display: none; }
    .woocommerce ul.product-categories > li ul li a { margin-left: 0; }

    /* ===== 桌面端侧边栏宽度 ===== */
    @media (min-width: 922px) {
        .ast-right-sidebar .secondary { min-width: 240px; max-width: 260px; }
    }

    /* ===== 移动端：折叠面板 ===== */
    @media (max-width: 921px) {
        /* 隐藏原始侧边栏位置 */
        .ast-right-sidebar .secondary,
        .ast-left-sidebar .secondary { display: none !important; }

        /* 固定在顶部（面包屑下方）的折叠按钮 */
        #zf-cat-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #1a1a2e;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 9px 16px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            margin: 0 0 16px 0;
            width: 100%;
            justify-content: space-between;
        }
        #zf-cat-toggle .arrow {
            transition: transform 0.25s;
            font-size: 11px;
        }
        #zf-cat-toggle.open .arrow { transform: rotate(180deg); }

        /* 折叠面板容器 */
        #zf-cat-panel {
            display: none;
            background: #fff;
            border: 1px solid #e5e5e5;
            border-radius: 8px;
            margin-bottom: 16px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,.08);
        }
        #zf-cat-panel.open { display: block; }

        /* 克隆的分类列表在面板中 */
        #zf-cat-panel ul.product-categories {
            list-style: none;
            margin: 0;
            padding: 4px 0;
        }
        #zf-cat-panel ul.product-categories li {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            border-bottom: 1px solid #f2f2f2;
        }
        #zf-cat-panel ul.product-categories li:last-child { border-bottom: none; }
        #zf-cat-panel ul.product-categories li > a {
            flex: 1 1 auto;
            padding: 11px 8px 11px 16px;
            color: #222;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
        }
        #zf-cat-panel ul.product-categories li.current-cat > a { color: #c8943a; }
        #zf-cat-panel ul.product-categories li > .count {
            flex: 0 0 auto;
            background: #efefef;
            color: #777;
            font-size: 11px;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 20px;
            margin-right: 12px;
            min-width: 26px;
            text-align: center;
        }
        #zf-cat-panel ul.product-categories li.current-cat > .count {
            background: #c8943a; color: #fff;
        }
        #zf-cat-panel ul.product-categories ul.children {
            flex: 0 0 100%;
            list-style: none;
            margin: 0;
            padding: 2px 0 4px 0;
            background: #fafafa;
            border-top: 1px solid #f2f2f2;
        }
        #zf-cat-panel ul.product-categories ul.children li {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            border-bottom: 1px solid #f5f5f5;
        }
        #zf-cat-panel ul.product-categories ul.children li:last-child { border-bottom: none; }
        #zf-cat-panel ul.product-categories ul.children li > a {
            flex: 1 1 auto;
            padding: 9px 6px 9px 28px;
            color: var(--border-light);
            font-size: 13px;
            text-decoration: none;
        }
        #zf-cat-panel ul.product-categories ul.children li.current-cat > a { color: #c8943a; }
        #zf-cat-panel ul.product-categories ul.children li > .count {
            flex: 0 0 auto;
            background: #eaeaea;
            color: #888;
            font-size: 10px;
            padding: 1px 6px;
            border-radius: 12px;
            margin-right: 12px;
            min-width: 22px;
            text-align: center;
        }
    }
    @media (min-width: 922px) {
        #zf-cat-toggle, #zf-cat-panel { display: none !important; }
    }

/* === Header 双行布局 (原 wc-header-two-row.php) === */
/* ===== ABOVE ROW ===== */
.ast-above-header {
    background: var(--bg-surface) !important;
    border-bottom: 1px solid var(--bg-elevated) !important;
}
.ast-above-header .site-header-above-section-center,
.ast-above-header .site-header-above-section-left-center,
.ast-above-header .site-header-above-section-right-center {
    display: none;
}
.ast-above-header .ast-builder-grid-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 0;
}
.ast-above-header .site-header-above-section-left {
    flex: 0 0 auto;
    min-width: 0;
}
.ast-above-header .site-header-above-section-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* ===== SEARCH CONTAINER ===== */
#hdr-search-inject {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    min-width: 0;
    order: 0;
}

/* ===== FIBOSEARCH: HEADER BAR OVERRIDES ===== */
#hdr-search-inject .dgwt-wcas-search-wrapp {
    width: 100%;
    max-width: 480px;
    margin: 0;
}
#hdr-search-inject .dgwt-wcas-sf-wrapp {
    border: 2px solid var(--gold);
    border-radius: 6px;
    background: var(--bg-input);
    height: 40px;
    display: flex;
    align-items: center;
}
#hdr-search-inject .dgwt-wcas-search-input {
    background: transparent;
    color: var(--text-primary);
    border: none;
    height: 36px;
    font-size: 14px;
    box-shadow: none;
    outline: none;
}
#hdr-search-inject .dgwt-wcas-search-input::placeholder {
    color: #888;
    font-size: 13px;
}
#hdr-search-inject .dgwt-wcas-search-input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}
#hdr-search-inject .dgwt-wcas-ico-magnifier,
#hdr-search-inject .dgwt-wcas-ico-magnifier svg,
#hdr-search-inject .dgwt-wcas-ico-magnifier path {
    fill: var(--gold);
}
#hdr-search-inject .dgwt-wcas-close,
#hdr-search-inject .dgwt-wcas-close svg,
#hdr-search-inject .dgwt-wcas-close path {
    fill: #888;
}
#hdr-search-inject .dgwt-wcas-preloader {
    background: transparent;
}
#hdr-search-inject .dgwt-wcas-search-submit {
    display: none;
}

/* ===== FIBOSEARCH: AUTOCOMPLETE DROPDOWN (DARK) ===== */
.dgwt-wcas-suggestions-wrapp,
.dgwt-wcas-details-wrapp {
    background: var(--bg-input);
    border: 1px solid var(--border-primary);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.dgwt-wcas-suggestion {
    border-bottom: 1px solid var(--bg-elevated);
}
.dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestion-selected {
    background: rgba(201,169,110,.1);
}
.dgwt-wcas-st,
.dgwt-wcas-suggestion .dgwt-wcas-st {
    color: var(--text-primary);
}
.dgwt-wcas-sd {
    color: var(--text-muted);
}
.dgwt-wcas-sp,
.dgwt-wcas-suggestion .dgwt-wcas-sp {
    color: var(--gold);
}
.dgwt-wcas-suggestion .dgwt-wcas-st em,
.dgwt-wcas-suggestion .dgwt-wcas-st mark {
    color: var(--gold);
    font-style: normal;
    background: transparent;
}
.dgwt-wcas-details-wrapp .dgwt-wcas-details-inner {
    background: var(--bg-input);
}
.dgwt-wcas-details-wrapp .product-title {
    color: var(--text-primary);
}
.dgwt-wcas-details-wrapp .product-price {
    color: var(--gold);
}
.dgwt-wcas-details-wrapp .product-desc {
    color: var(--text-muted);
}
.dgwt-wcas-suggestion-headline {
    color: #888;
    border-bottom: 1px solid var(--bg-elevated);
    background: #242424;
}
.dgwt-wcas-suggestion-more .dgwt-wcas-st {
    color: var(--gold);
}
.dgwt-wcas-suggestion-nores .dgwt-wcas-st {
    color: var(--text-muted);
}
/* Thumbnail border */
.dgwt-wcas-suggestion .dgwt-wcas-si {
    border-color: var(--border-primary);
}

/* ===== FALLBACK: BASIC SEARCH (no FiboSearch) ===== */
.hdr-search {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 480px;
    border: 2px solid var(--gold);
    border-radius: 6px;
    overflow: hidden;
    height: 40px;
    background: var(--bg-input);
}
.hdr-search-input {
    flex: 1 1 auto;
    min-width: 80px;
    background: var(--bg-input);
    border: none;
    color: var(--text-primary);
    padding: 0 14px;
    font-size: 14px;
    height: 100%;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}
.hdr-search-input::placeholder { color: #888; font-size: 13px; }
.hdr-search-input:focus { border: none; box-shadow: none; outline: none; }
.hdr-search-btn {
    flex: 0 0 auto;
    background: var(--gold);
    border: none;
    color: var(--bg-card);
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    height: 100%;
    white-space: nowrap;
    transition: background 0.2s;
}
.hdr-search-btn:hover { background: var(--gold-hover); }

/* ===== LOGO ===== */
.ast-above-header .site-branding .site-title {
    font-size: 18px;
    line-height: 1.3;
    color: var(--gold);
}

/* ===== ACCOUNT LINK ===== */
.hdr-account {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gold);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}
.hdr-account:hover { color: #e0c98a !important; }
.hdr-account:hover::before { background-color: #e0c98a !important; }
.hdr-account::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-color: var(--gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* ===== PRIMARY ROW: MENU ===== */
.ast-primary-header {
    background: #111 !important;
    border-bottom: 1px solid var(--bg-elevated) !important;
}
.ast-primary-header-bar { padding: 0 !important; }
.ast-primary-header .ast-builder-grid-row { justify-content: center !important; }
.ast-primary-header .main-header-menu { justify-content: center !important; }
.ast-primary-header .main-header-menu > .menu-item > a {
    padding: 13px 22px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: all 0.2s;
}
.ast-primary-header .main-header-menu > .menu-item > a:hover {
    color: var(--gold) !important;
    background: rgba(201,169,110,0.08) !important;
}
.ast-primary-header .main-header-menu > .menu-item.current-menu-item > a,
.ast-primary-header .main-header-menu > .menu-item.current_page_item > a {
    color: var(--gold) !important;
    border-bottom: 2px solid var(--gold) !important;
}


/* ===== CART ICON SIZE REDUCTION ===== */
.ast-site-header-content .ast-header-woo-cart .ast-cart-menu-wrap .count,
.ast-site-header-content .ast-woo-header-cart-info-wrap {
    font-size: 11px;
}
.ast-header-woo-cart .ast-cart-menu-wrap {
    padding: 0;
}
.ast-woo-header-cart-info-wrap .ast-woo-header-cart-total {
    font-size: 0;
}

/* ===== MOBILE SEARCH ICON (Astra search component, replaced by FiboSearch) ===== */
.ast-search-menu-icon .search-field { display: none; }
.ast-search-menu-icon .search-form { background: transparent !important; border: 0 !important; padding: 0 !important; }
.ast-search-menu-icon .astra-search-icon,
.ast-search-menu-icon .ast-icon { color: var(--gold) !important; }
.ast-search-menu-icon svg,
.ast-search-menu-icon .ast-icon svg { stroke: var(--gold) !important; fill: none !important; width: 24px !important; height: 24px !important; stroke-width: 2.5 !important; }
.ast-search-menu-icon:hover svg { stroke: #e0c98a !important; }

/* ===== MOBILE ===== */
@media (max-width: 921px) {
    #hdr-search-inject { display: none !important; }
    .hdr-account { width: 28px !important; height: 28px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
    .hdr-account span { display: none !important; }
    .hdr-account::before { width: 24px !important; height: 24px !important; flex-shrink: 0 !important; }
    .ast-above-header .site-branding .site-title { font-size: 16px !important; }
}

/* === 移动端粘性导航 (原 mobile-sticky-nav.php) === */
/* ========================================
   TASK-MOBILE-NAV-20260507
   移动端 Sticky 底部导航
   ======================================== */

/* 仅移动端显示（Astra 断点 921px） */
@media (min-width: 922px) {
    .msn-bar { display: none !important; }
}

@media (max-width: 921px) {

    /* ── 导航条 ── */
    .msn-bar {
        position: fixed;
        bottom: 0; left: 0; right: 0;
        z-index: 999990;
        display: flex;
        justify-content: space-around;
        align-items: stretch;
        height: 56px;
        /* safe-area 加高（iPhone X+ 底部横条） */
        height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(17, 17, 17, 0.96);
        border-top: 1px solid var(--gold-glow);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.4);
    }

    /* ── 每个 Tab ── */
    .msn-bar a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        min-width: 0;
        text-decoration: none;
        color: #b0b0b0;
        font-size: 11px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.02em;
        transition: color 0.2s ease;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        padding: 6px 0 2px;
    }

    .msn-bar a:hover,
    .msn-bar a:focus {
        color: var(--gold);
        text-decoration: none;
    }

    .msn-bar a.msn-active {
        color: var(--gold);
    }

    /* 激活指示器小圆点 */
    .msn-bar a.msn-active::before {
        content: '';
        position: absolute;
        top: 2px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px; height: 4px;
        border-radius: 50%;
        background: var(--gold);
    }

    /* ── SVG 图标 ── */
    .msn-bar svg {
        width: 22px; height: 22px;
        margin-bottom: 4px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

    .msn-bar .msn-label {
        display: block;
        font-size: 11px;
        white-space: nowrap;
    }

    /* ── 购物车数量徽章 ── */
    .msn-badge {
        position: absolute;
        top: 2px;
        right: calc(50% - 20px);
        min-width: 16px;
        height: 16px;
        border-radius: 9px;
        background: #e74c3c;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        line-height: 1;
        pointer-events: none;
    }
    .msn-badge:empty,
    .msn-badge[data-count="0"] {
        display: none;
    }

    /* ── 防止页面底部内容被遮挡 ── */
    body.msn-has-bar {
        padding-bottom: 60px;
    }
    /* safe-area 额外空间 */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        body.msn-has-bar {
            padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
        }
    }

    /* ── Astra 移动端 header 不受影响 ── */
    .ast-mobile-header-wrap {
        z-index: 999991;
    }

    /* ── 滚动隐藏/显示 ── */
    .msn-bar.msn-hidden {
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    .msn-bar.msn-visible {
        transform: translateY(0);
        transition: transform 0.3s ease;
    }
}

/* === 智能分类筛选 (原 wc-smart-category-filter.php) === */
.wc-smart-cat-filter {
        margin-bottom: 20px;
    }
    .wc-scf-title {
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 12px 0;
        padding-bottom: 8px;
        border-bottom: 2px solid #e63946;
    }
    .wc-scf-back {
        display: inline-block;
        margin-bottom: 10px;
        color: #e63946;
        text-decoration: none;
        font-size: 13px;
    }
    .wc-scf-back:hover {
        text-decoration: underline;
    }
    .wc-scf-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .wc-scf-item {
        margin: 0;
        padding: 0;
    }
    .wc-scf-item a {
        display: block;
        padding: 8px 12px;
        color: var(--bg-elevated);
        text-decoration: none;
        border-radius: 4px;
        transition: all 0.15s ease;
        font-size: 14px;
    }
    .wc-scf-item a:hover {
        background: #f5f5f5;
        color: #e63946;
    }
    .wc-scf-item.wc-scf-active a {
        background: #e63946;
        color: #fff;
        font-weight: 600;
    }
    .wc-scf-item.wc-scf-active a .wc-scf-count {
        color: rgba(255,255,255,0.8);
    }
    .wc-scf-count {
        color: var(--text-muted);
        font-size: 12px;
        margin-left: 4px;
    }
    .wc-scf-all {
        display: block;
        margin-top: 12px;
        padding: 8px 12px;
        color: #e63946;
        text-decoration: none;
        font-size: 13px;
        text-align: center;
        border: 1px solid #e63946;
        border-radius: 4px;
    }
    .wc-scf-all:hover {
        background: #e63946;
        color: #fff;
    }

/* === 粘性侧边栏 (原 wc-sticky-sidebar.php) === */
/* 桌面端：侧边栏粘性定位 */
        @media (min-width: 922px) {
            .ast-woo-shop-archive .widget-area .sidebar-main,
            .ast-separate-container .widget-area .sidebar-main {
                position: -webkit-sticky;
                position: sticky;
                top: 100px; /* 公告栏 ~45px + 导航栏 ~55px */
                max-height: calc(100vh - 120px);
                overflow-y: auto;
                /* 美化滚动条 */
                scrollbar-width: thin;
                scrollbar-color: #ccc transparent;
            }
            .ast-woo-shop-archive .widget-area .sidebar-main::-webkit-scrollbar {
                width: 4px;
            }
            .ast-woo-shop-archive .widget-area .sidebar-main::-webkit-scrollbar-thumb {
                background: #ccc;
                border-radius: 2px;
            }
            .ast-woo-shop-archive .widget-area .sidebar-main::-webkit-scrollbar-track {
                background: transparent;
            }
        }
        /* 移动端：不启用粘性 */
        @media (max-width: 921px) {
            .ast-woo-shop-archive .widget-area .sidebar-main {
                position: static;
                max-height: none;
                overflow-y: visible;
            }
        }

/* === 微信浮窗 (原 wc-wechat-float.php) === */
/* WeChat Float Button */
    .wc-wechat-float {
        position: fixed;
        bottom: 80px;
        right: 20px;
        z-index: 9999;
        font-family: -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    }
    .wc-wechat-btn {
        width: 56px;
        height: 56px;
        background: var(--wechat-green);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(7,193,96,0.4);
        transition: transform 0.2s, box-shadow 0.2s;
        border: none;
        outline: none;
        padding: 0;
    }
    .wc-wechat-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(7,193,96,0.5);
    }
    .wc-wechat-btn svg {
        width: 30px;
        height: 30px;
        fill: white;
    }
    .wc-wechat-popup {
        position: absolute;
        bottom: 70px;
        right: 0;
        width: 260px;
        background: white;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.25);
        padding: 20px;
        text-align: center;
        display: none;
        animation: wc-fade-in 0.25s ease;
    }
    .wc-wechat-popup.active {
        display: block;
    }
    .wc-wechat-popup::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 22px;
        width: 16px;
        height: 16px;
        background: white;
        transform: rotate(45deg);
        box-shadow: 4px 4px 8px rgba(0,0,0,0.08);
    }
    @keyframes wc-fade-in {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .wc-wechat-close {
        position: absolute;
        top: 8px;
        right: 12px;
        font-size: 18px;
        color: var(--text-muted);
        cursor: pointer;
        background: none;
        border: none;
        line-height: 1;
        padding: 4px;
    }
    .wc-wechat-close:hover {
        color: var(--bg-elevated);
    }
    .wc-wechat-qr {
        width: 180px;
        height: 180px;
        border-radius: 8px;
        margin: 0 auto 10px;
        display: block;
    }
    .wc-wechat-id {
        font-size: 14px;
        color: var(--bg-elevated);
        margin-bottom: 4px;
    }
    .wc-wechat-id strong {
        color: var(--wechat-green);
    }
    .wc-wechat-hint {
        font-size: 12px;
        color: var(--text-muted);
    }
    /* Mobile adjustments */
    @media (max-width: 768px) {
        .wc-wechat-btn {
            width: 48px;
            height: 48px;
        }
        .wc-wechat-btn svg {
            width: 26px;
            height: 26px;
        }
        .wc-wechat-popup {
            right: -10px;
            width: 240px;
        }
        .wc-wechat-qr {
            width: 160px;
            height: 160px;
        }
        .wc-wechat-float {
            bottom: 70px;
            right: 16px;
        }
    }

/* === 库存显示 (原 wc-stock-display.php) === */
.stock.low-stock-urgent { color: var(--danger) !important; font-weight: bold; font-size: 15px; }
    .stock.in-stock { color: #38a169; font-weight: 600; }
    .stock.out-of-stock { color: #b0b0b0; }
    .stock-display { line-height: 1.4; }

/* === 移动端 Header 修复 (原 wc-mobile-header-fix.php) === */
@media (max-width: 921px) {
        .ast-site-title-wrap .site-title {
            font-size: 16px;
            line-height: 1.3;
        }
        .site-description {
            display: none;
        }
    }
    @media (max-width: 544px) {
        .ast-site-title-wrap .site-title {
            font-size: 14px;
        }
    }

/* === 隐藏首页标题 (原 wc-hide-homepage-title.php) === */
.entry-title { display: none !important; }

/* === Additional CSS (原 Customizer 额外CSS) === */

/* ===== 商品筛选侧栏金色主题 v2 ===== */
/* 大标题 商品筛选 */
.ast-woo-sidebar-widget .widget-title,
.ast-filter-wrap .widget-title,
#text-1 .widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold) !important;
}

/* 商品分类小标题 */
.wc-scf-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* 顶级分类链接 */
.wc-scf-item a {
    color: #eeeeee;
    font-size: 15px;
    font-weight: 600;
}
.wc-scf-item a:hover {
    color: #e6c88c;
    background: rgba(201,169,110,.1);
}

/* 数量 */
.wc-scf-count {
    color: var(--gold);
}

/* 当前选中分类 */
.wc-scf-item.wc-scf-active a {
    background: #e63946;
    color: #fff;
}
.wc-scf-item.wc-scf-active a .wc-scf-count {
    color: rgba(255,255,255,.8);
}

/* 查看全部商品 */
.wc-scf-all {
    color: var(--gold);
    border-color: var(--gold);
}
.wc-scf-all:hover {
    background: var(--gold);
    color: var(--bg-card);
}


/* ===== 缺货商品视觉区分 v1.0 ===== */

/* #1 缺货按钮灰化 */
.woocommerce ul.products li.product.outofstock .button:not(.add_to_cart_button),
.woocommerce ul.products li.product.outofstock a.button {
    background-color: #c0c0c0 !important;
    color: #666 !important;
    border-color: #aaa !important;
    cursor: default;
}
.woocommerce ul.products li.product.outofstock .button:hover:not(.add_to_cart_button),
.woocommerce ul.products li.product.outofstock a.button:hover {
    background-color: #b0b0b0 !important;
    color: var(--border-light) !important;
}

/* #2 缺货商品卡片整体降调 */
.woocommerce ul.products li.product.outofstock {
    opacity: 0.72;
    transition: opacity 0.2s;
}
.woocommerce ul.products li.product.outofstock:hover {
    opacity: 0.88;
}
.woocommerce ul.products li.product.outofstock img {
    filter: grayscale(20%);
}
/* ===== END 缺货商品视觉区分 ===== */

/* ===== Fix: OOS卡片不重复显示暂时缺货文字 v1.0 ===== */
.woocommerce ul.products li.product.outofstock .stock-display.stock-out {
    display: none;
}
/* ===== END Fix ===== */

/* ===== Fix A: 商品卡按钮底部对齐 v1.0 2026-05-14 ===== */
/* 让文字区变成 flex 列容器 */
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* 按钮自动沉底 */
.woocommerce ul.products li.product .astra-shop-summary-wrap > a.button {
    margin-top: auto;
}
/* ===== END Fix A ===== */


/* ===== Fix C: 标题高度统一 ===== */
.woocommerce-loop-product__title {
    min-height: 2.6em;
}

/* ===== Fix B: summary-wrap 最小高度 ===== */
.astra-shop-summary-wrap {
    min-height: 170px;
}

/* ===== Fix: 删除按钮底部 screen-reader-text 占位白框 ===== */
/* 根因：Astra 仅覆写 top:0，缺少 WP 默认的 position/clip 隐藏样式 */
/* 修复：将 screen-reader-text 还原为绝对定位并移出视图，不影响 flex 布局 */
.astra-shop-summary-wrap > span.screen-reader-text {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
/* ===== 主导航区整理 2026-05-19 ===== */
/* 桌面端导航（保持原样） */

/* 移动端弹窗导航菜单 - 全部金色 */
@media (max-width: 921px) {
  .ast-mobile-popup-inner .main-header-menu > .menu-item > a,
  .ast-mobile-popup-inner .menu-item a {
    color: #c9a96e !important;
  }
}

/* ===== 主导航区整理 2026-05-19 ===== */
/* 移动端弹窗导航菜单 - 全部金色 */
@media (max-width: 921px) {
  .ast-mobile-popup-inner .main-header-menu > .menu-item > a,
  .ast-mobile-popup-inner .menu-item a {
    color: #c9a96e !important;
  }
}
