
        /* 库存和发货类型显示样式 */
        @media  screen and (max-width: 767px) {
            .home-card {
                position: relative;
            }
            /* 移动端库存和发货类型并排显示 */
            .mobile-stock-delivery-container {
                position: absolute;
                bottom: 8px;
                right: 8px;
                display: flex;
                gap: 4px;
            }
            .mobile-stock-delivery-container .badge {
                font-size: 10px;
                padding: 3px 6px;
            }
            .desktop-stock-delivery {
                display: none;
            }
        }
        @media  screen and (min-width: 768px) {
            /* 电脑端卡片高度缩短 */
            .home-card {
                padding: 20px 20px 10px 20px !important;
            }
            .flex {
                margin-top: 8px !important;
            }
            /* 保持商品名称高度一致，确保平齐 */
            .name {
                min-height: 42px !important;
            }
            /* 电脑端库存和发货类型显示 */
            .desktop-stock-delivery {
                text-align: center;
                margin-top: 6px;
            }
            .desktop-stock-delivery .badge {
                margin: 0 2px;
                font-size: 12px;
                padding: 4px 8px;
                font-weight: normal !important;
            }
            .mobile-stock-delivery-container {
                display: none;
            }
        }
    

    @media (max-width: 576px) {
        .subsite-action-btn {
            padding: 4px 6px;
            font-size: 12px;
        }
    }
    .subsite-dropdown-item {
        padding: 10px 14px;
        border-bottom: 1px solid #e9ecef;
    }
    .subsite-dropdown-item:last-child {
        border-bottom: none;
    }
    .logo-title {
        font-family: "Orbitron", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        font-weight: 600;
        font-size: 22px;
        letter-spacing: 1.2px;
        padding-left: 2px;
        text-transform: uppercase;
        color: #1e6bff;
        text-shadow: 0 1px 1px rgba(18, 38, 63, 0.18);
        position: relative;
        line-height: 1;
        -webkit-text-stroke: 0;
    }
    .logo-title::after {
        content: '';
        position: absolute;
        left: 2px;
        right: -6px;
        bottom: -6px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(30, 107, 255, 0.6), rgba(0, 196, 255, 0.45));
        transform: skewX(-12deg);
    }
    @media (max-width: 768px) {
        .logo-title {
            font-size: 19px;
            letter-spacing: 1px;
        }
        .logo-title::after {
            height: 4px;
            bottom: -4px;
        }
    }
    /* 移动端个人菜单抽屉 */
    .mobile-user-menu-btn {
        border: 1px solid #e0e0e0;
        background: #fff;
        border-radius: 8px;
        padding: 6px 10px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
    }
    .mobile-user-drawer {
        position: fixed;
        top: 0;
        right: -260px;
        width: 240px;
        height: 100%;
        background: #fff;
        box-shadow: -4px 0 16px rgba(0,0,0,0.12);
        transition: right 0.2s ease;
        z-index: 1050;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .mobile-user-drawer.open {
        right: 0;
    }
    .mobile-user-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        display: none;
        z-index: 1045;
    }
    .mobile-user-overlay.show {
        display: block;
    }
    .mobile-user-link {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 8px;
        color: #333;
        font-size: 14px;
    }
    .mobile-user-link:hover {
        background: #f5f7fb;
        text-decoration: none;
    }
    /* 移动端个人菜单抽屉 */
    .mobile-user-menu-btn {
        border: 1px solid #e5e8f0;
        background: linear-gradient(135deg, #ffffff 0%, #f6f8ff 100%);
        border-radius: 10px;
        padding: 6px 12px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        box-shadow: 0 6px 14px rgba(15, 44, 88, 0.12);
    }
    .mobile-order-btn {
        border: 1px solid #e5e8f0;
        background: #fff;
        border-radius: 10px;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #3a7bd5;
        box-shadow: 0 6px 14px rgba(15, 44, 88, 0.12);
        text-decoration: none;
    }
    .mobile-order-btn .mdi {
        font-size: 18px;
        line-height: 1;
    }
    .mobile-user-drawer {
        position: fixed;
        top: 0;
        right: -280px;
        width: 260px;
        height: 100%;
        background: linear-gradient(135deg, #f8fbff 0%, #f2f6ff 60%, #eef4ff 100%);
        box-shadow: -6px 0 20px rgba(16, 54, 108, 0.15);
        transition: right 0.2s ease;
        z-index: 1050;
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        border-left: 1px solid #e5ecf6;
    }
    .mobile-user-drawer.open {
        right: 0;
    }
    .mobile-user-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.35);
        display: none;
        z-index: 1045;
        backdrop-filter: blur(2px);
    }
    .mobile-user-overlay.show {
        display: block;
    }
    .mobile-user-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 11px 12px;
        border-radius: 10px;
        color: #233249;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.15s ease;
    }
    .mobile-user-link:hover {
        background: #e9f1ff;
        color: #1f6fe0;
        text-decoration: none;
    }
    .header-navbar {
        position: sticky;
        top: 0;
        z-index: 1060;
        background: #ffffff;
        box-shadow: 0 6px 16px rgba(15, 44, 88, 0.06);
    }
    @media (max-width: 768px) {
        body[data-layout=topnav] .content-page {
            padding-top: 0 !important;
            margin-top: 0 !important;
        }
        body[data-layout=topnav] .content {
            padding-top: 0 !important;
            margin-top: 0 !important;
        }
        .header-navbar {
            margin-top: 0 !important;
        }
    }
    .mobile-user-balance {
        background: #fff;
        border: 1px solid #e1e7f3;
        border-radius: 12px;
        padding: 12px;
        box-shadow: 0 6px 14px rgba(17, 61, 128, 0.08);
    }
    .mobile-user-balance .actions {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }
    .mobile-user-balance .actions a {
        flex: 1;
        text-align: center;
        padding: 7px 10px;
        border-radius: 8px;
        font-size: 13px;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
    }
    .mobile-user-balance .recharge {
        background: linear-gradient(135deg,#4a81d4,#5a91e4);
    }
    .mobile-user-balance .withdraw {
        background: linear-gradient(135deg,#6c757d,#5e6368);
    }
    /* 移动端底部悬浮入口 */
    .mobile-quickbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        background: #ffffff;
        border-top: 1px solid #e9edf3;
        border-radius: 0;
        box-shadow: 0 -6px 18px rgba(16, 24, 40, 0.08);
        padding: 8px 82px 6px 12px;
        display: none;
        gap: 10px;
        justify-content: flex-start;
        align-items: center;
        backdrop-filter: blur(6px);
    }
    .mobile-quickbar a {
        flex: 1;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        color: #3b3f46;
        text-decoration: none;
        padding: 6px 4px 4px 4px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transition: color 0.15s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        min-height: 52px;
    }
    .mobile-quickbar a:hover {
        color: #ff5000;
    }
    .mobile-quickbar .disabled {
        color: #a7b1be;
        background: transparent;
        box-shadow: none;
        cursor: default;
    }
    .mobile-quickbar .icon {
        font-size: 22px;
        line-height: 1;
        color: #3a7bd5;
    }
    .mobile-quickbar .label {
        font-size: 10px;
        line-height: 1;
        display: block;
    }
    .guest-action-btn {
        border: 1px solid #d7dde5;
        border-radius: 999px;
        padding: 7px 16px;
        font-weight: 600;
        background: #f7f9fc;
        color: #2f3c4f;
        box-shadow: 0 6px 12px rgba(24, 38, 64, 0.08);
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
    .guest-action-btn:hover {
        transform: translateY(-1px);
        background: #edf3ff;
        border-color: #c5d5f2;
        color: #1f4fa3;
        box-shadow: 0 10px 18px rgba(24, 38, 64, 0.14);
    }
    .guest-action-btn.btn-outline-success {
        background: #f7f9fc;
        color: #2f3c4f;
    }
    .guest-action-btn.btn-outline-primary {
        background: #f7f9fc;
        color: #2f3c4f;
    }
    .guest-action-btn.btn-outline-info {
        background: #f7f9fc;
        color: #2f3c4f;
    }
    .guest-action-btn.btn-outline-warning {
        background: #f7f9fc;
        color: #2f3c4f;
    }
    .guest-action-btn.guest-login-btn {
        background: linear-gradient(135deg, #3a7bd5 0%, #4f9cf7 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 10px 18px rgba(32, 70, 150, 0.2);
    }
    .guest-action-btn.guest-login-btn:hover {
        background: linear-gradient(135deg, #2f6fc9 0%, #3f8ff0 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 12px 22px rgba(32, 70, 150, 0.26);
    }
    .mobile-cart-btn {
        border: 0;
        border-radius: 999px;
        padding: 6px 12px;
        font-weight: 600;
        background: #fff5e8;
        color: #f08a24;
        box-shadow: 0 6px 14px rgba(20, 40, 80, 0.12);
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 11px;
    }
    .mobile-cart-float {
        position: fixed;
        left: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        z-index: 1041;
        width: 48px;
        height: 48px;
        padding: 0;
        justify-content: center;
        box-shadow: 0 10px 20px rgba(20, 40, 80, 0.18);
    }
    .mobile-cart-float .mdi {
        font-size: 22px;
        line-height: 1;
    }
    .mobile-login-btn {
        border: 0;
        border-radius: 999px;
        padding: 7px 16px;
        font-weight: 700;
        font-size: 13px;
        background: linear-gradient(135deg, #3a7bd5 0%, #4f9cf7 100%);
        color: #fff;
        box-shadow: 0 8px 16px rgba(32, 70, 150, 0.18);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 64px;
    }
    .mobile-login-btn:hover {
        color: #fff;
        text-decoration: none;
        filter: brightness(1.03);
    }
    .mobile-order-link {
        border: 1px solid #d6def0;
        border-radius: 999px;
        padding: 6px 14px;
        font-weight: 600;
        font-size: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
        color: #2f3c4f;
        box-shadow: 0 6px 12px rgba(24, 38, 64, 0.08);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 64px;
    }
    .mobile-order-link:hover {
        color: #1f4fa3;
        text-decoration: none;
        background: linear-gradient(135deg, #f5f8ff 0%, #e9f0ff 100%);
    }
    .mobile-cart-label {
        font-size: 10px;
        line-height: 1;
        color: #2b3a4f;
        font-weight: 600;
    }
    .header-cart-btn {
        border: 0;
        border-radius: 999px;
        padding: 7px 14px;
        font-weight: 700;
        background: linear-gradient(135deg, #fff4e8 0%, #ffe6cf 100%);
        color: #e47919;
        box-shadow: 0 8px 16px rgba(255, 143, 63, 0.18);
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: relative;
    }
    .cart-accent-btn {
        border: 0;
        background: linear-gradient(135deg, #fff4e8 0%, #ffe6cf 100%);
        color: #e47919 !important;
        box-shadow: 0 8px 16px rgba(255, 143, 63, 0.18);
    }
    .topnav-cta {
        border-radius: 999px !important;
        padding: 7px 16px !important;
        font-weight: 700 !important;
        box-shadow: 0 8px 18px rgba(32, 70, 150, 0.16);
        border: 0 !important;
    }
    .topnav-cta.btn-outline-primary {
        background: linear-gradient(135deg, #3a7bd5 0%, #4f9cf7 100%);
        color: #fff !important;
    }
    .topnav-cta.btn-outline-success {
        background: linear-gradient(135deg, #2fb673 0%, #47d189 100%);
        color: #fff !important;
    }
    .topnav-cta.btn-outline-info {
        background: linear-gradient(135deg, #2f80ed 0%, #4ca6ff 100%);
        color: #fff !important;
    }
    .subsite-action-btn {
        border-radius: 999px;
        padding: 6px 14px;
        font-weight: 600;
        border: 1px solid #d8e0f0;
        background: #f7f9fc;
        color: #2f3c4f !important;
        box-shadow: 0 6px 12px rgba(24, 38, 64, 0.08);
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    }
    .subsite-action-btn:hover {
        transform: translateY(-1px);
        background: #edf3ff;
        border-color: #c5d5f2;
        color: #1f4fa3 !important;
        box-shadow: 0 10px 18px rgba(24, 38, 64, 0.14);
    }
    .subsite-action-btn.btn-outline-info {
        background: #f7f9fc;
        color: #2f3c4f !important;
    }
    .subsite-action-btn.btn-outline-warning {
        background: #f7f9fc;
        color: #2f3c4f !important;
    }
    .subsite-action-btn.btn-outline-primary {
        background: #f7f9fc;
        color: #2f3c4f !important;
    }
    .subsite-action-btn.subsite-order-btn {
        background: linear-gradient(135deg, #3a7bd5 0%, #4f9cf7 100%);
        border-color: transparent;
        color: #fff !important;
        box-shadow: 0 10px 18px rgba(32, 70, 150, 0.2);
    }
    .subsite-action-btn.subsite-order-btn:hover {
        background: linear-gradient(135deg, #2f6fc9 0%, #3f8ff0 100%);
        border-color: transparent;
        color: #fff !important;
        box-shadow: 0 12px 22px rgba(32, 70, 150, 0.26);
    }
    .cart-count-badge {
        position: absolute;
        top: -8px;
        right: 50%;
        transform: translateX(50%);
        min-width: 18px;
        height: 18px;
        padding: 0 4px;
        border-radius: 999px;
        background: #ff4d4f;
        color: #fff;
        font-size: 11px;
        line-height: 18px;
        text-align: center;
        font-weight: 700;
    }
    @media (max-width: 768px) {
        .mobile-quickbar {
            display: flex;
        }
    }


/* PC端显示小卡片，移动端隐藏 */
@media (min-width: 769px) {
    .price-wholesale-card {
        display: flex !important;
    }
    .stock-badge {
        display: inline-flex !important;
    }
    .mobile-price-info {
        display: none !important;
    }
    .mobile-stock-display {
        display: none !important;
    }
}

/* 移动端隐藏小卡片，显示移动端布局 */
@media (max-width: 768px) {
    .price-wholesale-card {
        display: none !important;
    }
    .stock-badge {
        display: none !important;
    }
    .mobile-price-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 4px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }
    .mobile-stock-display {
        display: block !important;
        position: static !important;
    }
    .mobile-stock-display .badge {
        font-size: 12px !important;
        white-space: nowrap !important;
    }
    .desktop-stock-delivery {
        display: none !important;
    }
    .name-stock-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        flex: 1 !important;
        margin-top: 0 !important;
        min-width: 0 !important;
    }
    .home-img-wrap {
        flex: 0 0 68px;
        width: 68px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .mobile-stock-display {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
    }
    .mobile-stock-display .badge {
        width: 100%;
        text-align: center;
        font-size: 11px !important;
        background: linear-gradient(135deg, #f3f8ff 0%, #e5efff 100%) !important;
        border: 1px solid #c7d8f5 !important;
        color: #2b4a7f !important;
        box-shadow: 0 4px 10px rgba(40, 90, 170, 0.12);
        border-radius: 999px;
    }
    .flex {
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .mobile-wholesale-prices {
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
        align-items: flex-end !important;
    }
    .mobile-wholesale-prices .badge {
        font-size: 11px !important;
        white-space: nowrap !important;
    }
    .goods-right {
        display: none !important;
    }
    .goods-actions {
        display: none !important;
    }
    .goods-actions-mobile {
        display: flex !important;
        gap: 6px !important;
        margin-left: auto !important;
        align-items: center !important;
    }
    .goods-actions-mobile .btn {
        font-size: 12px !important;
        padding: 6px 12px !important;
        border-radius: 999px !important;
        border: 0 !important;
        box-shadow: 0 6px 16px rgba(30, 80, 160, 0.18);
        font-weight: 600;
    }
    .goods-actions-mobile .goods-add-icon {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        box-shadow: 0 6px 14px rgba(38, 96, 186, 0.2);
    }
    .goods-actions-mobile .btn-danger {
        background: linear-gradient(135deg, #ff6b6b 0%, #ff9466 100%) !important;
        color: #fff !important;
    }
    .goods-actions-mobile .btn-danger:active {
        transform: translateY(1px);
    }
    .goods-actions-mobile .btn-outline-primary {
        background: linear-gradient(135deg, #3a7bd5 0%, #60a5ff 100%) !important;
        color: #fff !important;
    }

    /* 移动端分类按钮调小 */
    .tab-link {
        font-size: 0.85rem !important;
        padding: 6px 10px !important;
        min-width: 60px !important;
    }
    .tab-title {
        font-size: 0.85rem !important;
    }
    .img-checkmark img {
        width: 20px !important;
    }
}

/* 分类导航按钮整体美化（PC + 移动端） */
.nav.nav-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    justify-content: flex-start !important;
    padding: 8px 10px !important;
}
.nav.nav-list .tab-link {
    position: relative !important;
    border-radius: 999px !important;
    padding: 6px 12px !important;
    background: #f4f7ff !important;
    border: 1px solid #dde6f7 !important;
    color: #2b4a7f !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 10px rgba(32, 70, 150, 0.08) !important;
}
.nav.nav-list .tab-link .tab-title {
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
}
.nav.nav-list .tab-link .img-checkmark {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    opacity: 0 !important;
    transform: scale(0.9) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}
.nav.nav-list .tab-link.active {
    background: linear-gradient(135deg, #2f6fd6 0%, #62a6ff 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(47, 111, 214, 0.28) !important;
}
.nav.nav-list .tab-link.active .img-checkmark {
    opacity: 1 !important;
    transform: scale(1) !important;
}
.nav.nav-list .tab-link:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px rgba(32, 70, 150, 0.18) !important;
}

@media (max-width: 768px) {
    .nav.nav-list {
        gap: 3px !important;
        padding: 6px 6px !important;
        justify-content: flex-start !important;
    }
    .nav.nav-list .tab-link {
        padding: 5px 10px !important;
    }
}

/* 确保home-card有relative定位，以便批发价能绝对定位 */
.home-card {
    position: relative;
}

/* PC端商品列表样式优化 */
@media (min-width: 769px) {
    /* 商品信息布局 */
    .flex {
        justify-content: flex-start !important;
        gap: 12px !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
    }

    /* 商品名称和库存容器 */
    .name-stock-container {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex: 1 1 auto !important;
        margin-top: 10px !important;
        min-width: 0 !important;
    }

    /* 商品名称样式 */
    .name {
        font-weight: 500;
        color: #333 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 400px !important;
        line-height: 1.4 !important;
        width: 100% !important;
        font-size: 15px !important;
    }

    /* 库存badge */
    .stock-badge {
        flex-shrink: 0 !important;
        font-size: 14px !important;
        padding: 2px 8px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        background: linear-gradient(135deg, #f0f6ff 0%, #e6f0ff 100%) !important;
        border-color: #cfe0ff !important;
        color: #2a5bd7 !important;
    }

    /* 隐藏PC端发货类型 */
    .desktop-stock-delivery {
        display: none !important;
    }

    /* 单价和批发价小卡片 */
    .price-wholesale-card {
        display: flex !important;
        align-items: center;
        align-self: center;
        gap: 2px;
        padding: 3px 8px;
        background: transparent;
        border: 0;
        border-radius: 5px;
        box-shadow: none;
        flex-shrink: 0;
        margin-top: -10px;
        margin-left: 0 !important;
        min-width: 140px;
        max-width: 140px;
        flex-direction: column;
        align-items: flex-end;
    }
    .price-item {
        width: 100%;
        justify-content: flex-end;
    }
    .price-label {
        font-size: 12px;
        color: #6f7f97;
        letter-spacing: 0.3px;
    }
    .price-value {
        font-size: 18px;
        font-weight: 700;
        color: #1f2a44;
    }
    .wholesale-divider {
        display: none;
    }
    .wholesale-items {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: flex-end;
    }
    .wholesale-item {
        font-size: 11px;
    }

    /* 单价项 */
    .price-item {
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .price-label {
        font-size: 15px;
        color: #6c757d;
        font-weight: normal;
    }

    .price-value {
        font-size: 18px;
        color: #d0021b;
        font-weight: normal;
    }

    /* 分隔线 */
    .wholesale-divider {
        width: 1px;
        height: 16px;
        background-color: #d0d7de;
        flex-shrink: 0;
    }

    /* 批发价项容器 */
    .wholesale-items {
        display: flex;
        gap: 5px;
        align-items: center;
    }

    /* 批发价单项 */
    .wholesale-item {
        font-size: 14px;
        color: #f39c12;
        background-color: transparent;
        padding: 2px 5px;
        border-radius: 3px;
        white-space: nowrap;
        font-weight: 500;
    }

    /* 分类区域样式 */
    .category-section {
        margin-bottom: 12px;
        border: 1px solid #e1e8f5;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 6px 18px rgba(24, 54, 120, 0.08);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .category-section:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(24, 54, 120, 0.12);
    }

    .category-header {
        background: linear-gradient(120deg, #dbe8ff 0%, #cfe2ff 55%, #edf4ff 100%);
        padding: 12px 16px;
        border-bottom: 1px solid rgba(44, 88, 160, 0.12);
        cursor: pointer;
        user-select: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        overflow: hidden;
    }

    .category-header::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
                    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.12), transparent 40%);
        opacity: 0.9;
        pointer-events: none;
    }

    .category-header:hover {
        filter: brightness(1.04);
    }

    .category-title {
        margin: 0;
        color: #2b4a7f;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    .category-toggle-icon {
        color: #2b4a7f;
        font-size: 14px;
        transition: transform 0.2s ease;
    }

    .category-toggle-icon.collapsed {
        transform: rotate(-90deg);
    }

    .category-section .hyper-wrapper {
        padding: 6px;
        gap: 6px;
        background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 40%);
    }

    .category-section .home-card {
        border: 1px solid #e8ecf1;
        min-height: auto;
        padding: 3px 10px;
        align-items: center !important;
        max-height: 58px !important;
    }

    /* PC端元素调整 - 保持字体大小，只减少间距 */
    .category-section .home-card .badge {
        font-size: 13px;
        padding: 0px 5px;
        line-height: 1.2;
    }

    .category-section .home-card .desktop-wholesale-prices .badge {
        font-size: 12px;
        padding: 0px 4px;
    }

    .category-section .home-card .price {
        line-height: 1.2;
    }

    .category-section .name-stock-container {
        display: inline-flex !important;
        align-items: baseline !important;
        gap: 8px !important;
        width: fit-content !important;
    }

    .category-section .stock-badge {
        line-height: 1.2 !important;
    }

    .category-section .home-card .home-img {
        max-width: 42px;
        max-height: 42px;
        width: 42px;
        height: 42px;
        object-fit: contain;
        align-self: center;
        margin-top: 0;
        margin-bottom: 0;
    }

    .category-section .home-card .name {
        font-size: 15px !important;
        line-height: 1.2;
        color: #333 !important;
    }

    .category-section .home-card .price {
        line-height: 1.2;
    }

    .goods-right {
        display: inline-flex !important;
        align-items: center !important;
        gap: 20px !important;
        margin-left: auto !important;
    }
    .goods-stock {
        min-width: 130px;
        display: flex;
        justify-content: flex-end;
    }
    .stock-badge {
        min-width: 96px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 24px;
        line-height: 24px !important;
        font-variant-numeric: tabular-nums;
    }
    .goods-actions {
        display: inline-flex !important;
        gap: 10px !important;
        margin-left: 0 !important;
        align-items: center !important;
        min-width: 180px;
        justify-content: flex-end;
    }
    .goods-actions-mobile {
        display: none !important;
    }
    .goods-actions .btn {
        font-size: 12px !important;
        padding: 6px 14px !important;
        border-radius: 999px;
        font-weight: 700;
        box-shadow: 0 8px 16px rgba(32, 70, 150, 0.12);
    }
    .goods-actions .btn-danger {
        background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
        border: 0;
    }
    .goods-actions .btn-outline-primary {
        background: linear-gradient(135deg, #3a7bd5 0%, #4f9cf7 100%);
        border: 0;
        color: #fff;
    }
}

    /* 移动端分类标题样式 */
    @media (max-width: 768px) {
    .category-section {
        margin-bottom: 10px;
        border: 1px solid #e1e8f5;
        border-radius: 10px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: 0 4px 14px rgba(24, 54, 120, 0.08);
    }

    .category-header {
        background: linear-gradient(120deg, #dbe8ff 0%, #cfe2ff 55%, #edf4ff 100%);
        padding: 10px 12px;
        border-bottom: 1px solid rgba(44, 88, 160, 0.12);
        cursor: pointer;
        user-select: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .category-title {
        margin: 0;
        color: #2b4a7f;
        font-size: 15px;
        font-weight: 600;
        letter-spacing: 0.4px;
        text-transform: uppercase;
    }

    .category-toggle-icon {
        color: #2b4a7f;
        font-size: 12px;
    }

    .category-section .hyper-wrapper {
        padding: 6px;
        background: #f8fbff;
    }

    .category-section .home-card .name {
        font-size: 13px !important;
    }

    .category-section .home-card .price {
        font-size: 13px !important;
    }

    /* 移动端所有商品名称统一13px */
    .name {
        font-size: 13px !important;
    }

    /* 移动端所有价格统一13px */
    .price {
        font-size: 13px !important;
    }
    .mobile-price-info .price b {
        font-weight: normal !important;
    }
}

/* 折叠内容通用样式 */
.category-content {
    max-height: 5000px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.category-content.collapsed {
    max-height: 0;
    opacity: 0;
    display: none;
}

    /* 公告图标已移除 */

    /* 公告内容文字美化 */
    .notice-content-text {
        color: #37474f !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
        letter-spacing: 0.2px;
        text-rendering: optimizeLegibility;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    }

    .notice-content-box {
        background: linear-gradient(120deg, #f5faff 0%, #ffffff 70%);
        border: 1px solid #d6e6fb;
        border-left: 6px solid #4f8cf5;
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(35, 92, 186, 0.12);
        position: relative;
        overflow: hidden;
    }

    .notice-content-box::after {
        content: '';
        position: absolute;
        right: -60px;
        top: -60px;
        width: 160px;
        height: 160px;
        background: radial-gradient(circle, rgba(79, 140, 245, 0.18), transparent 70%);
        pointer-events: none;
    }


    .search-input:focus {
        border-color: #42a5f5 !important;
        box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1) !important;
        outline: none !important;
    }
    .search-input:hover {
        border-color: #64b5f6 !important;
    }


    .cart-dialog {
        width: 97vw;
        max-width: 97vw;
    }
    @media (max-width: 767px) {
        .cart-dialog {
            width: 92vw;
            max-width: 92vw;
            margin: 8px auto;
        }
        .cart-modal .modal-content {
            max-height: 82vh;
        }
        .cart-modal .modal-body {
            max-height: calc(82vh - 130px);
            overflow-y: auto;
        }
    }
    @media (min-width: 768px) {
        .cart-dialog {
            width: 500px;
            max-width: 500px;
        }
    }
    .cart-modal .modal-content {
        border-radius: 14px;
        border: 1px solid #e6edf6;
        box-shadow: 0 18px 40px rgba(15, 41, 70, 0.18);
        overflow: hidden;
    }
    .cart-modal .modal-header {
        background: linear-gradient(90deg, #f3f7ff 0%, #ffffff 100%);
        border-bottom: 1px solid #edf2f7;
        padding: 14px 18px;
    }
    .cart-modal .modal-title {
        font-size: 16px;
        font-weight: 700;
        color: #1f2a44;
    }
    .cart-modal .modal-body {
        padding: 16px 18px 6px 18px;
        background: #fff;
    }
    .cart-scroll-hint {
        position: sticky;
        bottom: 0;
        text-align: center;
        font-size: 12px;
        color: #6f7f97;
        padding: 6px 0 2px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 60%);
        pointer-events: none;
        display: none;
    }
    .cart-modal .modal-footer {
        border-top: 1px solid #edf2f7;
        background: #f9fbff;
        padding: 12px 18px;
    }
    #cart-qty-name {
        color: #2a3d5a;
        background: #f2f6ff;
        border: 1px solid #e1e9f8;
        border-radius: 10px;
        padding: 8px 12px;
    }
    #cart-qty-name .cart-qty-price {
        margin-left: 6px;
        font-weight: 700;
        color: #e53935;
    }
    #cart-qty-name .cart-qty-stock {
        margin-left: 6px;
        font-size: 12px;
        color: #6b7280;
    }
    #cart-items .border {
        border-color: #e7edf5 !important;
        background: #fbfdff;
    }
    #cart-items img {
        border: 1px solid #e7edf5;
        background: #fff;
    }
    #cart-clear-btn {
        border-radius: 8px;
    }
    #cart-checkout-form .pay-grid {
        background: #f7f9fc;
        border-radius: 12px;
        padding: 10px;
        border: 1px solid #e5ecf6;
        justify-content: center;
    }
    #cart-checkout-form .pay-type {
        border-radius: 10px;
    }
    #cart-total-row {
        background: #f3f7ff;
        border: 1px solid #e3ecfb;
        border-radius: 12px;
        padding: 10px 12px;
    }
    #cart-total-row .total-label {
        font-size: 14px;
        color: #4b5d78;
        letter-spacing: 0.5px;
    }
    #cart-total-row .total-amount {
        font-size: 16px;
        color: #d0021b !important;
        font-weight: 700;
    }
    #cart-total-amount {
        color: #2f3c4f !important;
    }
    .cart-item-active {
        border-color: #5a91e4 !important;
        box-shadow: 0 6px 16px rgba(58, 122, 212, 0.18);
    }
    .cart-item-total {
        font-size: 12px;
        color: #2f3c4f;
        font-weight: 600;
    }
    @media (max-width: 576px) {
        .cart-item-image {
            display: none !important;
        }
        .cart-item-title {
            font-size: 13px !important;
        }
        .cart-item-qty .form-control {
            width: 64px !important;
        }
        .cart-item-meta,
        .cart-item-total,
        #cart-total-row .total-label,
        #cart-total-row .total-amount {
            font-size: 12px !important;
        }
        #cart-modal .modal-title {
            font-size: 14px !important;
        }
        #cart-modal .btn {
            font-size: 12px !important;
            padding: 6px 10px !important;
        }
        #cart-modal .form-control {
            font-size: 12px !important;
            padding: 6px 10px !important;
        }
    }
