/**
 * Argon模板 - PC端自适应样式
 * 适用于屏幕宽度 >= 768px 的设备
 * 使用Bootstrap 4断点系统：md:768px, lg:992px, xl:1200px
 * 
 * 功能包括：
 * 1. PC端顶部导航栏
 * 2. 内容区域布局
 * 3. 首页分类网格
 * 4. 购买页面双栏布局
 * 5. 各页面PC端适配
 */

/* ========================================
   1. PC端顶部导航栏
   ======================================== */

/* PC端导航栏容器 */
@media (min-width: 768px) {
    .pc-top-navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 64px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
        z-index: 1050;
        display: flex;
        align-items: center;
        padding: 0 20px;
    }
    
    .pc-navbar-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Logo区域 */
    .pc-navbar-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        color: white;
    }
    
    .pc-navbar-brand .brand-icon {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
    }
    
    .pc-navbar-brand .brand-text {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    /* 导航链接 */
    .pc-navbar-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .pc-nav-item {
        position: relative;
    }
    
    .pc-nav-link {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .pc-nav-link:hover {
        color: white;
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-1px);
    }
    
    .pc-nav-link.active {
        color: white;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .pc-nav-link i {
        font-size: 16px;
    }
    
    /* 导航栏右侧操作区 */
    .pc-navbar-actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .pc-cart-btn {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        color: white;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }
    
    .pc-cart-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white;
        transform: scale(1.02);
    }
    
    .pc-cart-btn .cart-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        background: #f5365c;
        border-radius: 9px;
        font-size: 11px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pc-login-btn {
        padding: 8px 20px;
        background: white;
        color: #667eea;
        border-radius: 20px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .pc-login-btn:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    /* 为页面添加顶部间距 */
    .template-page {
        padding-top: 64px;
    }
    
    /* 隐藏移动端头部 */
    .mobile-header,
    .template-header,
    .buy-header,
    .cart-page-header {
        display: none !important;
    }
}

/* ========================================
   2. 内容区域布局
   ======================================== */

@media (min-width: 768px) {
    /* 主容器 - 覆盖移动端的max-width限制 */
    .container-fluid.px-0 {
        max-width: 1200px !important;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* 内容区域 - 使用更高优先级覆盖移动端 */
    body.template-page .container {
        max-width: 1200px !important;
    }
    
    .container.py-3,
    .container.py-4 {
        max-width: 1200px !important;
        padding: 24px 16px;
    }
    
    /* 页面内容包装器 */
    .template-page > .container-fluid {
        padding-top: 20px;
    }
    
    /* 统一的内边距 */
    .buy-page,
    .cart-container,
    .query-form-container {
        padding: 0;
    }
}

/* ========================================
   3. 首页分类网格
   ======================================== */

@media (min-width: 768px) {
    /* 首页分类网格容器 - 只对首页生效，不影响其他页面 */
    .template-page:not(.query-page):not(.faq-page):not(.site-page) .container.py-3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* 分类项目网格布局 */
    .category-item-mobile {
        opacity: 1 !important;
        animation: none !important;
    }
    
    /* 分类卡片样式调整 */
    .category-item-mobile .card {
        margin-bottom: 0;
        transition: all 0.3s ease;
    }
    
    .category-item-mobile .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }
    
    /* 分类图片 */
    .category-img-wrapper {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .category-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
    }
    
    /* 空状态居中 */
    .empty-state-mobile {
        grid-column: 1 / -1;
        padding: 60px 20px;
    }
}

/* 992px以上显示3列 */
@media (min-width: 992px) {
    .template-page:not(.query-page):not(.faq-page):not(.site-page) .container.py-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 1200px以上显示4列 */
@media (min-width: 1200px) {
    .template-page:not(.query-page):not(.faq-page):not(.site-page) .container.py-3 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   4. 购买页面双栏布局
   ======================================== */

@media (min-width: 768px) {
    .buy-page {
        display: block;
    }
    
    .buy-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 24px;
    }
    
    .buy-content > .row {
        display: flex;
        gap: 24px;
    }
    
    /* 左侧商品选择区 */
    .buy-content .col-lg-7 {
        flex: 0 0 58%;
        max-width: 58%;
    }
    
    /* 右侧订单信息区 */
    .buy-content .col-lg-5 {
        flex: 0 0 calc(42% - 24px);
        max-width: calc(42% - 24px);
    }
    
    /* 表单样式 */
    .buy-form {
        background: white;
        border-radius: 16px;
        padding: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
    
    /* 商品简介框 */
    .goods-description-container {
        margin-top: 24px;
    }
    
    .notice-wrapper {
        margin-bottom: 16px;
    }
    
    .notice-box {
        background: white;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }
    
    /* 购买按钮区域 */
    .buy-buttons {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid #e8ecf1;
    }
    
    .buy-buttons .btn-row {
        display: flex;
        gap: 12px;
    }
    
    .buy-buttons .btn {
        flex: 1;
        padding: 14px 24px;
        font-size: 15px;
        font-weight: 600;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .buy-content > .row {
        gap: 32px;
    }
    
    .buy-content .col-lg-7 {
        flex: 0 0 55%;
        max-width: 55%;
    }
    
    .buy-content .col-lg-5 {
        flex: 0 0 calc(45% - 32px);
        max-width: calc(45% - 32px);
    }
    
    .buy-form {
        padding: 32px;
    }
}

/* ========================================
   5. 购物车页面PC端全新设计 - 卡片列表布局
   ======================================== */

@media (min-width: 768px) {
    /* 购物车页面整体布局 */
    .cart-page {
        background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 100%);
        min-height: 100vh;
        padding-top: 64px !important;
    }
    
    /* 隐藏移动端头部 */
    .cart-page .template-header,
    .cart-page .cart-page-header {
        display: none !important;
    }
    
    /* 主容器 */
    .cart-page .container-fluid {
        max-width: 1000px !important;
        margin: 0 auto;
        padding: 0 32px !important;
    }
    
    /* 购物车容器 */
    .cart-container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* 购物车标题区域 - PC端自定义 */
    .cart-page .container-fluid::before {
        content: '我的购物车';
        display: block;
        font-size: 28px;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 24px;
        padding-top: 40px;
    }
    
    /* 购物车列表 - 卡片列表样式 */
    .cart-items-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
        border: none;
    }
    
    /* 购物车项目 - 卡片样式 */
    .cart-item {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        margin-bottom: 0;
    }
    
    .cart-item:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }
    
    /* 复选框样式 */
    .cart-item-checkbox {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 30px;
        flex-shrink: 0;
    }
    
    .cart-item-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
        cursor: pointer;
        accent-color: #667eea;
        border-radius: 6px;
    }
    
    .cart-item-checkbox label {
        display: none;
    }
    
    /* 商品内容容器 */
    .cart-item-content {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        flex: 1;
    }
    
    /* 商品图片 */
    .cart-item-image {
        width: 100px;
        height: 100px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        flex-shrink: 0;
        background: #f7f8fc;
    }
    
    .cart-item-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* 商品信息 */
    .cart-item-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        min-width: 0;
    }
    
    .item-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
    }
    
    .item-title {
        font-size: 17px;
        font-weight: 600;
        color: #2d3748;
        margin: 0;
        line-height: 1.4;
        flex: 1;
    }
    
    .item-price {
        font-size: 20px;
        font-weight: 700;
        color: #667eea;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .item-details {
        font-size: 14px;
        color: #718096;
        background: #f7f8fc;
        padding: 8px 14px;
        border-radius: 10px;
        display: inline-block;
        align-self: flex-start;
    }
    
    .input-value {
        display: inline-block;
        max-width: 400px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    /* 操作区域 */
    .item-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid #f0f2f5;
    }
    
    .item-quantity-display {
        display: flex;
        align-items: center;
    }
    
    .quantity-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        height: 36px;
        padding: 0 16px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 14px;
        font-weight: 600;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    
    /* 删除按钮 */
    .item-actions {
        display: flex;
        align-items: center;
    }
    
    .action-btn {
        width: 42px;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #fef2f2;
        color: #ef4444;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .action-btn:hover {
        background: #ef4444;
        color: white;
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    }
    
    /* 空购物车 */
    .empty-cart {
        padding: 100px 40px;
        text-align: center;
        background: white;
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    }
    
    .empty-cart .empty-icon {
        font-size: 100px;
        color: #cbd5e0;
        margin-bottom: 24px;
        background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
        width: 140px;
        height: 140px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px;
    }
    
    .empty-cart .empty-icon i {
        color: #a0aec0;
    }
    
    .empty-cart .empty-text h4 {
        font-size: 22px;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 8px;
    }
    
    .empty-cart .empty-text p {
        font-size: 15px;
        color: #718096;
        margin-bottom: 28px;
    }
    
    .empty-cart .btn-primary {
        padding: 14px 36px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 14px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
        transition: all 0.3s ease;
    }
    
    .empty-cart .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    }
    
    /* 结算栏 */
    .cart-footer {
        position: sticky;
        bottom: 0;
        background: white;
        border-radius: 24px;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
        padding: 28px 32px;
        margin-top: 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    .cart-summary {
        display: flex;
        align-items: center;
        gap: 32px;
    }
    
    .summary-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .summary-label {
        font-size: 15px;
        color: #718096;
    }
    
    .summary-value {
        font-size: 28px;
        font-weight: 800;
        color: #667eea;
    }
    
    .cart-actions {
        display: flex;
        gap: 16px;
    }
    
    .cart-actions .btn {
        min-width: 160px;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 14px;
        transition: all 0.3s ease;
    }
    
    .cart-actions .btn-secondary {
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        color: #4a5568;
    }
    
    .cart-actions .btn-secondary:hover {
        background: #e8ecf1;
        border-color: #cbd5e0;
        transform: translateY(-2px);
    }
    
    .cart-actions .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    }
    
    .cart-actions .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    }
    
    /* 消息提示 */
    .cart-alert {
        position: fixed;
        top: 100px;
        right: 32px;
        z-index: 1000;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .cart-page .container-fluid {
        max-width: 1000px !important;
        padding: 0 48px !important;
    }
    
    .cart-item {
        padding: 28px 32px;
    }
    
    .cart-item-image {
        width: 110px;
        height: 110px;
    }
    
    .item-title {
        font-size: 18px;
    }
    
    .item-price {
        font-size: 22px;
    }
    
    .cart-footer {
        padding: 32px 40px;
    }
}

/* ========================================
   6. 分类页面适配
   ======================================== */

@media (min-width: 768px) {
    .sub-category-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .sub-category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1200px) {
    .sub-category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 768px) {
    
    .sub-category-item {
        padding: 24px 16px;
        border-radius: 16px;
        transition: all 0.3s ease;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .sub-category-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }
    
    .sub-category-name {
        font-size: 15px;
        font-weight: 600;
    }
    
    /* 空状态 */
    .empty-sub-category {
        grid-column: 1 / -1;
        padding: 60px 20px;
    }
}

/* ========================================
   7. FAQ页面适配 - 已废弃，使用Section 16的新样式
   ======================================== */

/* ========================================
   8. 查单页面PC端全新设计
   ======================================== */

@media (min-width: 768px) {
    /* 查单页面整体布局 */
    .query-page {
        background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 100%);
        min-height: 100vh;
        padding-top: 80px !important;
    }
    
    /* 隐藏移动端头部 */
    .query-page .template-header {
        display: none !important;
    }
    
    /* 主容器 - 左右分栏布局 */
    .query-page .container {
        max-width: 1200px !important;
        margin: 0 auto;
        padding: 40px 32px !important;
        display: grid !important;
        grid-template-columns: 420px 1fr;
        gap: 32px;
        align-items: start;
    }
    
    /* 左侧 - 查询表单区域 */
    .query-form-container {
        position: sticky;
        top: 100px;
        max-width: 420px;
        margin: 0;
        border-radius: 24px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        background: white;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    /* 表单头部 - 渐变背景 */
    .query-form-header {
        padding: 32px 28px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        position: relative;
        overflow: hidden;
    }
    
    .query-form-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    }
    
    .query-icon {
        width: 64px;
        height: 64px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .query-title h5 {
        font-size: 22px;
        font-weight: 700;
        color: white;
        margin-bottom: 6px;
    }
    
    .query-title p {
        font-size: 14px;
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
    }
    
    /* 表单主体 */
    .query-form-body {
        padding: 28px;
        background: white;
    }
    
    /* 查询类型选择器 */
    .query-type-selector {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .type-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #4a5568;
    }
    
    .type-label i {
        color: #667eea;
    }
    
    .type-options {
        display: flex;
        gap: 12px;
    }
    
    .type-option {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 16px;
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        border-radius: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
        font-weight: 500;
        color: #4a5568;
    }
    
    .type-option:hover {
        background: #f0f4ff;
        border-color: #667eea;
    }
    
    .type-option.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: transparent;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
    }
    
    /* 查询输入框组 */
    .query-input-group {
        margin-bottom: 24px;
    }
    
    .input-wrapper {
        display: flex;
        align-items: center;
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        border-radius: 16px;
        padding: 4px;
        transition: all 0.3s ease;
    }
    
    .input-wrapper:focus-within {
        border-color: #667eea;
        background: white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }
    
    .input-icon {
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 12px;
        color: white;
        font-size: 18px;
    }
    
    .query-input {
        flex: 1;
        border: none;
        background: transparent;
        padding: 14px 16px;
        font-size: 15px;
        color: #2d3748;
        outline: none;
    }
    
    .query-input::placeholder {
        color: #a0aec0;
    }
    
    .input-clear {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #e8ecf1;
        border-radius: 50%;
        cursor: pointer;
        margin-right: 8px;
        transition: all 0.2s ease;
    }
    
    .input-clear:hover {
        background: #cbd5e0;
    }
    
    /* 查询提示 */
    .query-tips {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 16px;
        background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
        border-radius: 12px;
        margin-top: 16px;
        font-size: 13px;
        color: #92400e;
        border: 1px solid rgba(251, 191, 36, 0.3);
    }
    
    .query-tips i {
        color: #f59e0b;
        margin-top: 2px;
    }
    
    /* 查询按钮 */
    .btn-query-submit {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 32px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        border-radius: 16px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    }
    
    .btn-query-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    }
    
    .btn-query-submit:active {
        transform: translateY(-1px);
    }
    
    /* 快捷帮助 */
    .quick-help {
        display: flex;
        gap: 12px;
        margin-top: 20px;
    }
    
    .help-item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 16px;
        background: #f7f8fc;
        border-radius: 12px;
        font-size: 14px;
        color: #4a5568;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
    }
    
    .help-item:hover {
        background: #667eea;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    }
    
    /* 右侧 - 结果和帮助区域 */
    #result2.query-results {
        grid-column: 2;
        max-width: none;
        margin: 0;
        background: white;
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    .results-header {
        padding: 24px 28px;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        display: flex;
        align-items: center;
        gap: 16px;
    }
    
    .results-icon {
        width: 52px;
        height: 52px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        color: white;
    }
    
    .results-info h6 {
        font-size: 18px;
        font-weight: 700;
        color: white;
        margin-bottom: 4px;
    }
    
    .results-info p {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
        margin: 0;
    }
    
    /* 查询结果表格 */
    .table-responsive {
        padding: 0;
    }
    
    .query-table {
        width: 100%;
        margin: 0;
        border-collapse: collapse;
    }
    
    .query-table thead th {
        padding: 18px 20px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #4a5568;
        background: #f7f8fc;
        border-bottom: 2px solid #e8ecf1;
        text-align: left;
    }
    
    .query-table tbody td {
        padding: 16px 20px;
        font-size: 14px;
        color: #2d3748;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }
    
    .query-table tbody tr {
        transition: all 0.2s ease;
    }
    
    .query-table tbody tr:hover {
        background: #f7f8fc;
    }
    
    .query-table tbody tr:last-child td {
        border-bottom: none;
    }
    
    /* 空状态 */
    .results-empty {
        padding: 60px 30px;
        text-align: center;
    }
    
    .results-empty .empty-icon {
        font-size: 64px;
        color: #cbd5e0;
        margin-bottom: 20px;
    }
    
    .results-empty .empty-text {
        font-size: 18px;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 8px;
    }
    
    .results-empty .empty-tip {
        font-size: 14px;
        color: #a0aec0;
    }
    
    /* 温馨提示 - 右侧底部 */
    .query-notice {
        grid-column: 2;
        margin: 0;
        margin-top: 24px;
    }
    
    .query-notice .notice-card {
        background: white;
        border: none;
        border-radius: 20px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }
    
    .query-notice .notice-header {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        padding: 18px 24px;
        font-size: 15px;
        font-weight: 600;
    }
    
    .query-notice .notice-content {
        padding: 20px 24px;
        font-size: 14px;
        line-height: 1.7;
        color: #4a5568;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .query-page .container {
        grid-template-columns: 460px 1fr;
        gap: 40px;
    }
    
    .query-form-container {
        max-width: 460px;
    }
    
    .query-form-header {
        padding: 36px 32px;
    }
    
    .query-form-body {
        padding: 32px;
    }
}

/* ========================================
   9. 加盟页面PC端全新设计
   ======================================== */

@media (min-width: 768px) {
    /* 加盟页面整体布局 */
    .site-page {
        background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
        min-height: 100vh;
        padding-top: 64px !important;
    }
    
    /* 隐藏移动端头部 */
    .site-page .template-header {
        display: none !important;
    }
    
    /* 主容器 */
    .site-page .container-fluid {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    /* 加盟页面主容器 */
    .site-page .join-us-mobile {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 32px 80px;
    }
    
    /* =============== 顶部横幅区域 =============== */
    .slogan-card {
        position: relative;
        padding: 60px 48px;
        border-radius: 0;
        margin: 0 -32px 40px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
        overflow: hidden;
    }
    
    .slogan-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }
    
    .slogan-card::after {
        content: '';
        position: absolute;
        bottom: -50%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
        border-radius: 50%;
    }
    
    .slogan-card h3 {
        position: relative;
        font-size: 36px;
        font-weight: 800;
        color: white;
        margin-bottom: 16px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .slogan-card p {
        position: relative;
        font-size: 18px;
        color: rgba(255, 255, 255, 0.9);
        margin: 0;
        font-weight: 500;
    }
    
    /* =============== 快速功能入口 =============== */
    .site-page .quick-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        margin-bottom: 48px;
    }
    
    .quick-action-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
        background: white;
        border-radius: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    .quick-action-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    }
    
    .quick-action-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        color: white;
        margin-bottom: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .quick-action-title {
        font-size: 16px;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 6px;
    }
    
    .quick-action-desc {
        font-size: 13px;
        color: #718096;
    }
    
    /* =============== 版本选择标签 =============== */
    .version-tabs {
        display: flex;
        justify-content: center;
        max-width: 400px;
        margin: 0 auto 40px;
        padding: 6px;
        background: #f0f4f8;
        border-radius: 16px;
    }
    
    .version-tab {
        flex: 1;
        padding: 14px 32px;
        font-size: 15px;
        font-weight: 600;
        color: #4a5568;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .version-tab.active {
        background: white;
        color: #667eea;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .version-tab:hover:not(.active) {
        color: #667eea;
    }
    
    /* =============== 版本内容区域 =============== */
    .site-page .version-content {
        display: none;
        gap: 32px;
        max-width: 100%;
        margin-bottom: 48px;
        animation: fadeIn 0.4s ease;
        justify-content: center;
    }
    
    .site-page .version-content.active {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(380px, 480px));
        justify-items: center;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .version-mobile-card {
        position: relative;
        padding: 40px 32px;
        background: white;
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 2px solid transparent;
        transition: all 0.4s ease;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .version-mobile-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }
    
    .version-mobile-card.featured {
        border-color: #f59e0b;
        background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
        box-shadow: 0 15px 50px rgba(245, 158, 11, 0.15);
    }
    
    .version-mobile-card.featured::before {
        content: '推荐';
        position: absolute;
        top: 20px;
        right: 20px;
        padding: 6px 16px;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
        font-size: 12px;
        font-weight: 700;
        border-radius: 20px;
    }
    
    .version-mobile-card h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 24px;
        text-align: center;
    }
    
    /* 版本价格 */
    .version-price-mobile {
        text-align: center;
        margin-bottom: 28px;
    }
    
    .price-wrapper {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        padding: 24px 48px;
        background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
        border-radius: 20px;
    }
    
    .version-mobile-card.featured .price-wrapper {
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    }
    
    .price-number {
        font-size: 56px;
        font-weight: 800;
        color: #2d3748;
        line-height: 1;
    }
    
    .version-mobile-card.featured .price-number {
        color: #d97706;
    }
    
    .price-period {
        font-size: 14px;
        color: #718096;
        margin-top: 8px;
    }
    
    .price-tag {
        display: inline-block;
        padding: 8px 20px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 13px;
        font-weight: 600;
        border-radius: 20px;
        margin-top: 16px;
    }
    
    /* 版本功能列表 */
    .version-features-mobile {
        flex: 1;
        list-style: none;
        padding: 0;
        margin: 0 0 28px;
    }
    
    .version-features-mobile li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 0;
        font-size: 15px;
        color: #4a5568;
        border-bottom: 1px solid #f0f2f5;
    }
    
    .version-features-mobile li:last-child {
        border-bottom: none;
    }
    
    .version-features-mobile li i {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        font-size: 12px;
        border-radius: 50%;
    }
    
    /* 版本操作按钮 */
    .version-cta {
        margin-top: auto;
    }
    
    .version-cta .btn {
        width: 100%;
        padding: 18px 32px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 16px;
        transition: all 0.3s ease;
    }
    
    .version-cta .btn-primary {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        border: none;
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
    }
    
    .version-cta .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(245, 158, 11, 0.45);
    }
    
    .version-cta .btn-outline-primary {
        border: 2px solid #667eea;
        color: #667eea;
        background: transparent;
    }
    
    .version-cta .btn-outline-primary:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-color: transparent;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    }
    
    /* =============== 核心优势区域 =============== */
    .site-page .benefits-compact {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        margin-bottom: 48px;
        padding: 0;
    }
    
    .site-page .benefits-compact h5 {
        grid-column: 1 / -1;
        font-size: 24px;
        font-weight: 700;
        color: #2d3748;
        text-align: center;
        margin-bottom: 32px;
    }
    
    .benefit-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        background: white;
        border-radius: 24px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.4s ease;
        margin-bottom: 0;
    }
    
    .benefit-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }
    
    .benefit-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 30px;
        color: white;
        margin-bottom: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
    
    .benefit-content h5 {
        font-size: 18px;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 12px;
    }
    
    .benefit-content p {
        font-size: 14px;
        color: #718096;
        line-height: 1.7;
        margin: 0;
    }
    
    /* =============== 常见问题区域 =============== */
    .faq-compact {
        max-width: 900px;
        margin: 0 auto 48px;
    }
    
    .faq-compact > h5 {
        font-size: 24px;
        font-weight: 700;
        color: #2d3748;
        text-align: center;
        margin-bottom: 32px;
    }
    
    .faq-compact-item {
        background: white;
        border-radius: 16px;
        margin-bottom: 16px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .faq-compact-item:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }
    
    .faq-compact-question {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px;
        background: transparent;
        border: none;
        font-size: 16px;
        font-weight: 600;
        color: #2d3748;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
    }
    
    .faq-compact-question:hover {
        background: #f7f8fc;
    }
    
    .faq-compact-answer {
        padding: 0 24px 20px;
        font-size: 15px;
        color: #4a5568;
        line-height: 1.8;
        background: #fafbfc;
        border-top: 1px solid #f0f2f5;
    }
    
    .faq-compact-answer.show {
        display: block;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .site-page .join-us-mobile {
        padding: 0 48px 100px;
    }
    
    .slogan-card {
        padding: 80px 64px;
        margin: 0 -48px 48px;
    }
    
    .slogan-card h3 {
        font-size: 42px;
    }
    
    .slogan-card p {
        font-size: 20px;
    }
    
    .site-page .quick-actions {
        gap: 24px;
    }
    
    .quick-action-card {
        padding: 32px 24px;
    }
    
    .quick-action-icon {
        width: 72px;
        height: 72px;
        font-size: 30px;
    }
    
    .site-page .version-content.active {
        gap: 40px;
        grid-template-columns: repeat(auto-fit, minmax(420px, 520px));
    }
    
    .version-mobile-card {
        padding: 48px 40px;
        max-width: 520px;
    }
    
    .price-number {
        font-size: 64px;
    }
    
    .site-page .benefits-compact {
        gap: 28px;
    }
}

/* ========================================
   10. 底部导航PC端隐藏
   ======================================== */

@media (min-width: 768px) {
    /* 隐藏移动端底部导航 */
    .template-bottom-nav {
        display: none !important;
    }
    
    /* 添加页面底部内边距 */
    .template-page {
        padding-bottom: 40px;
    }
}

/* ========================================
   11. 通用PC端样式调整
   ======================================== */

@media (min-width: 768px) {
    /* 字体大小调整 */
    body {
        font-size: 15px;
    }
    
    /* 卡片圆角统一 */
    .card,
    .shadow-sm {
        border-radius: 16px;
    }
    
    /* 按钮圆角 */
    .btn {
        border-radius: 10px;
        padding: 10px 20px;
    }
    
    .btn-sm {
        padding: 8px 16px;
    }
    
    .btn-lg {
        padding: 14px 28px;
    }
    
    /* 圆角按钮 */
    .rounded-pill {
        border-radius: 25px !important;
    }
    
    /* 表单元素 */
    .form-control,
    .form-select {
        border-radius: 10px;
        padding: 12px 16px;
    }
    
    /* 徽章 */
    .badge {
        padding: 6px 12px;
        border-radius: 8px;
    }
    
    .badge-pill {
        border-radius: 12px;
    }
}

/* ========================================
   12. 响应式优化 - 大屏幕
   ======================================== */

@media (min-width: 1200px) {
    /* 内容区域最大宽度 */
    .container-fluid.px-0 {
        max-width: 1200px;
    }
    
    /* 购买页面优化 */
    .buy-content {
        padding: 32px;
    }
    
    /* 分类网格间距 */
    .container.py-3 {
        gap: 20px;
    }
}

/* ========================================
   13. PC端专用导航栏HTML（通过CSS伪元素）
   ======================================== */

@media (min-width: 768px) {
    /* 在页面顶部添加导航栏占位 */
    .template-page::before {
        content: '';
        display: block;
        height: 64px;
    }
}

/* ========================================
   14. 滚动条美化
   ======================================== */

@media (min-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    }
}

/* ========================================
   15. 动画优化
   ======================================== */

@media (min-width: 768px) {
    /* 减少动画，提升性能 */
    .category-item-mobile,
    .sub-category-item,
    .faq-item {
        animation: none !important;
        opacity: 1 !important;
    }
    
    /* 悬停效果增强 */
    .card:hover,
    .notice-box:hover,
    .faq-card:hover {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ========================================
   16. 帮助中心页面PC端全新设计 - 单栏布局
   ======================================== */

@media (min-width: 768px) {
    /* FAQ页面整体布局 */
    .faq-page {
        background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
        min-height: 100vh;
        padding-top: 64px !important;
    }
    
    /* 隐藏移动端头部 */
    .faq-page .template-header {
        display: none !important;
    }
    
    /* 主容器 - 单栏居中布局 */
    .faq-page .container.py-3 {
        display: block !important;
        max-width: 900px !important;
        margin: 0 auto !important;
        padding: 40px 24px !important;
    }
    
    /* =============== 页面标题区域 =============== */
    .faq-page .template-header-unified {
        display: flex !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        padding: 60px 0 40px !important;
        margin-bottom: 0 !important;
        border-radius: 0 !important;
        position: relative;
        overflow: hidden;
    }
    
    .faq-page .template-header-unified::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.5;
    }
    
    .faq-page .template-header-unified .container {
        position: relative;
        z-index: 1;
        text-align: center;
    }
    
    .faq-page .header-title h2,
    .faq-page .header-title h4 {
        font-size: 32px !important;
        font-weight: 800 !important;
        color: white !important;
        margin-bottom: 8px !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .faq-page .header-subtitle {
        font-size: 16px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin: 0 !important;
    }
    
    /* =============== 紫色提示卡片 =============== */
    .faq-notice-card {
        display: none !important;
    }
    
    /* =============== 搜索框 - 居中显示 =============== */
    .faq-search-box {
        max-width: 600px !important;
        margin: 0 auto 32px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }
    
    .faq-search-box .input-group {
        border-radius: 16px !important;
        border: none !important;
        overflow: hidden;
        background: white !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
    }
    
    .faq-search-box .input-group:focus-within {
        box-shadow: 0 8px 40px rgba(102, 126, 234, 0.2) !important;
        transform: translateY(-2px);
    }
    
    .faq-search-box .input-group-text {
        padding: 16px 20px !important;
        background: transparent !important;
        border: none !important;
    }
    
    .faq-search-box .input-group-text i {
        color: #667eea !important;
        font-size: 18px !important;
    }
    
    .faq-search-box .form-control {
        padding: 16px 0 !important;
        font-size: 16px !important;
        background: transparent !important;
        border: none !important;
        color: #2d3748 !important;
    }
    
    .faq-search-box .form-control::placeholder {
        color: #a0aec0 !important;
    }
    
    .faq-search-box .btn-link {
        padding: 16px 20px !important;
        background: transparent !important;
        border: none !important;
    }
    
    .faq-search-box .btn-link i {
        color: #a0aec0 !important;
        transition: color 0.2s ease !important;
    }
    
    .faq-search-box .btn-link:hover i {
        color: #667eea !important;
    }
    
    /* =============== 标签区域 - 居中排列 =============== */
    .faq-tags {
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 32px !important;
        padding: 0 !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    
    .faq-tags::before {
        display: none !important;
    }
    
    .tags-scroll {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
        overflow-x: visible !important;
        padding-bottom: 0 !important;
    }
    
    .tag-btn {
        padding: 10px 24px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border-radius: 25px !important;
        transition: all 0.3s ease !important;
        border: 2px solid #e8ecf1 !important;
        background: white !important;
        color: #4a5568 !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }
    
    .tag-btn:hover:not(.active) {
        border-color: #667eea !important;
        color: #667eea !important;
        background: #f8faff !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15) !important;
    }
    
    .tag-btn.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-color: transparent !important;
        color: white !important;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35) !important;
    }
    
    /* =============== FAQ列表 =============== */
    .faq-accordion {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .faq-item {
        margin-bottom: 16px !important;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .faq-item.priority-item {
        order: -1;
    }
    
    .faq-card {
        border-radius: 20px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
        overflow: hidden !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        background: white !important;
    }
    
    .faq-card:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
        transform: translateY(-4px) !important;
    }
    
    .faq-header {
        padding: 24px 28px !important;
        background: white !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .faq-header:hover {
        background: #f8fafc !important;
    }
    
    .faq-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 14px !important;
        font-size: 18px !important;
        margin-right: 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    
    .faq-question {
        flex: 1 !important;
    }
    
    .faq-question h5 {
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
        color: #2d3748 !important;
        margin: 0 !important;
    }
    
    .faq-arrow {
        font-size: 14px !important;
        margin-left: 16px !important;
        transition: transform 0.3s ease !important;
        color: #a0aec0 !important;
    }
    
    .faq-item.active .faq-arrow {
        transform: rotate(180deg) !important;
    }
    
    .faq-body {
        padding: 0 28px 24px !important;
        border-top: 1px solid #f0f2f5 !important;
        background: #fafbfc !important;
    }
    
    .faq-answer {
        padding-top: 20px !important;
        font-size: 15px !important;
        line-height: 1.8 !important;
        color: #4a5568 !important;
    }
    
    .faq-answer p {
        margin-bottom: 12px !important;
    }
    
    .faq-answer p:last-child {
        margin-bottom: 0 !important;
    }
    
    .priority-badge {
        margin-top: 16px !important;
    }
    
    .priority-badge .badge {
        padding: 8px 16px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }
    
    /* 空状态 */
    .faq-empty-state {
        background: white !important;
        border-radius: 20px !important;
        padding: 60px 40px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    }
    
    .faq-empty-state .empty-icon {
        font-size: 64px !important;
        color: #cbd5e0 !important;
        margin-bottom: 20px !important;
    }
    
    .faq-empty-state .empty-title {
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #4a5568 !important;
        margin-bottom: 8px !important;
    }
    
    .faq-empty-state .empty-subtitle {
        font-size: 15px !important;
        color: #a0aec0 !important;
    }
    
    .faq-empty-state .btn {
        margin: 8px !important;
        padding: 12px 24px !important;
        border-radius: 12px !important;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .faq-page .container.py-3 {
        max-width: 900px !important;
        padding: 48px 32px !important;
    }
    
    .faq-search-box {
        max-width: 600px !important;
    }
    
    .faq-header {
        padding: 28px 32px !important;
    }
    
    .faq-icon {
        width: 52px !important;
        height: 52px !important;
        font-size: 20px !important;
    }
    
    .faq-question h5 {
        font-size: 17px !important;
    }
    
    .faq-body {
        padding: 0 32px 28px !important;
    }
    
    .faq-answer {
        font-size: 16px !important;
    }
}

/* ========================================
   19. 购买页面PC端全新设计
   ======================================== */

@media (min-width: 768px) {
    /* 购买页面整体布局 */
    .buy-page {
        background: linear-gradient(180deg, #f0f4f8 0%, #e8ecf1 100%);
        min-height: 100vh;
        padding-top: 80px !important;
    }
    
    /* 隐藏移动端头部 */
    .buy-page .buy-header {
        display: none !important;
    }
    
    /* 主容器 - 左右分栏布局 */
    .buy-page .buy-content {
        max-width: 1200px !important;
        margin: 0 auto;
        padding: 40px 32px !important;
    }
    
    .buy-page .buy-content > .row {
        display: grid !important;
        grid-template-columns: 1fr 380px;
        gap: 32px;
        align-items: start;
        margin: 0 !important;
    }
    
    /* =============== 左侧表单区域 =============== */
    .buy-page .col-lg-7 {
        grid-column: 1;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }
    
    /* 分类信息横幅 */
    .buy-page .category-box {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 28px 32px;
        background: white;
        border-radius: 24px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        margin-bottom: 32px;
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    .buy-page .category-icon {
        width: 72px;
        height: 72px;
        border-radius: 18px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
    
    .buy-page .category-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .buy-page .category-icon .cat-icon {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 28px;
    }
    
    .buy-page .category-info h2 {
        font-size: 22px;
        font-weight: 700;
        color: #2d3748;
        margin-bottom: 6px;
    }
    
    .buy-page .category-info p {
        font-size: 14px;
        color: #718096;
        margin: 0;
    }
    
    /* 购物车按钮 */
    .buy-page .cart-btn {
        position: relative;
        width: 52px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border-radius: 16px;
        color: white;
        font-size: 20px;
        text-decoration: none;
        margin-left: auto;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
        transition: all 0.3s ease;
    }
    
    .buy-page .cart-btn:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
        color: white;
    }
    
    .buy-page .cart-btn .cart-count {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        background: #f5365c;
        border-radius: 11px;
        font-size: 12px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        box-shadow: 0 2px 8px rgba(245, 54, 92, 0.4);
    }
    
    /* 购买表单卡片 */
    .buy-page .buy-form {
        background: white;
        border-radius: 24px;
        padding: 36px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    /* 表单项样式 */
    .buy-page .form-item {
        margin-bottom: 28px;
    }
    
    .buy-page .form-item-blue,
    .buy-page .form-item-green,
    .buy-page .form-item-orange,
    .buy-page .form-item-purple {
        margin-bottom: 28px;
    }
    
    /* 表单标签 */
    .buy-page .form-label,
    .buy-page .form-label-blue,
    .buy-page .form-label-green,
    .buy-page .form-label-orange,
    .buy-page .form-label-purple {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 15px;
        font-weight: 600;
        color: #4a5568;
        margin-bottom: 12px;
        padding-left: 0;
    }
    
    .buy-page .form-label-blue i,
    .buy-page .form-label-green i,
    .buy-page .form-label-orange i,
    .buy-page .form-label-purple i {
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 14px;
    }
    
    .buy-page .form-label-blue i {
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        color: white;
    }
    
    .buy-page .form-label-green i {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
    }
    
    .buy-page .form-label-orange i {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        color: white;
    }
    
    .buy-page .form-label-purple i {
        background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
        color: white;
    }
    
    /* 选择框样式 */
    .buy-page .form-select,
    .buy-page .form-select-blue {
        width: 100%;
        padding: 16px 20px;
        padding-right: 48px;
        font-size: 15px;
        font-weight: 500;
        color: #2d3748;
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        border-radius: 16px;
        min-height: 58px;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        background-size: 20px;
    }
    
    .buy-page .form-select:focus,
    .buy-page .form-select-blue:focus {
        border-color: #667eea;
        background-color: white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        outline: none;
    }
    
    .buy-page .form-select:hover,
    .buy-page .form-select-blue:hover {
        border-color: #667eea;
    }
    
    /* 输入框样式 */
    .buy-page .form-input,
    .buy-page .form-input-green,
    .buy-page .form-input-orange {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
        font-weight: 500;
        color: #2d3748;
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        border-radius: 16px;
        min-height: 58px;
        transition: all 0.3s ease;
    }
    
    .buy-page .form-input:focus,
    .buy-page .form-input-green:focus,
    .buy-page .form-input-orange:focus {
        border-color: #667eea;
        background-color: white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        outline: none;
    }
    
    /* 数量选择器 */
    .buy-page .quantity-box,
    .buy-page .quantity-box-purple {
        display: flex;
        align-items: center;
        height: 58px;
        background: #f7f8fc;
        border: 2px solid #e8ecf1;
        border-radius: 16px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .buy-page .quantity-box:focus-within,
    .buy-page .quantity-box-purple:focus-within {
        border-color: #667eea;
        background-color: white;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }
    
    .buy-page .qty-btn,
    .buy-page .qty-btn-purple {
        width: 58px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .buy-page .qty-btn:hover,
    .buy-page .qty-btn-purple:hover {
        background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    }
    
    .buy-page .qty-btn:active,
    .buy-page .qty-btn-purple:active {
        transform: scale(0.95);
    }
    
    .buy-page .qty-input,
    .buy-page .qty-input-purple {
        flex: 1;
        height: 100%;
        text-align: center;
        font-size: 18px;
        font-weight: 600;
        color: #2d3748;
        border: none;
        background: transparent;
        padding: 0 16px;
    }
    
    .buy-page .qty-input:focus,
    .buy-page .qty-input-purple:focus {
        outline: none;
    }
    
    /* 动态输入字段 */
    .buy-page #inputsname .input-group {
        display: flex;
        align-items: stretch;
        margin-bottom: 16px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        border: 2px solid #e8ecf1;
        transition: all 0.3s ease;
    }
    
    .buy-page #inputsname .input-group:focus-within {
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }
    
    .buy-page #inputsname .input-group-addon {
        display: flex;
        align-items: center;
        padding: 14px 20px;
        min-width: 110px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-size: 14px;
        font-weight: 600;
        border: none;
    }
    
    .buy-page #inputsname .form-control {
        flex: 1;
        padding: 14px 20px;
        font-size: 15px;
        color: #2d3748;
        border: none;
        background: #f7f8fc;
    }
    
    .buy-page #inputsname .form-control:focus {
        background: white;
        outline: none;
    }
    
    /* 购买按钮区域 */
    .buy-page .buy-buttons {
        margin-top: 36px;
        padding-top: 28px;
        border-top: 1px solid #e8ecf1;
    }
    
    .buy-page .btn-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .buy-page .btn-cart,
    .buy-page .btn-cart-red {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 24px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 16px;
        border: 2px solid #667eea;
        background: transparent;
        color: #667eea;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .buy-page .btn-cart:hover,
    .buy-page .btn-cart-red:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border-color: transparent;
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
    }
    
    .buy-page .btn-buy {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 24px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 16px;
        border: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.35);
    }
    
    .buy-page .btn-buy:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.45);
    }
    
    .buy-page .btn-buy:active {
        transform: translateY(-1px);
    }
    
    .buy-page .btn-block {
        grid-column: 1 / -1;
    }
    
    /* =============== 右侧信息区域 =============== */
    .buy-page .col-lg-5 {
        grid-column: 2;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 !important;
    }
    
    /* 商品简介容器 */
    .buy-page .goods-description-container {
        display: block !important;
        position: sticky;
        top: 100px;
    }
    
    /* 商品简介卡片 */
    .buy-page .notice-wrapper:first-child .notice-box {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.8);
        margin-bottom: 24px;
    }
    
    .buy-page .notice-wrapper:first-child .notice-header {
        padding: 24px 28px;
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
        display: flex;
        align-items: center;
        gap: 14px;
    }
    
    .buy-page .notice-wrapper:first-child .notice-header::before {
        content: '\f05a';
        font-family: 'FontAwesome';
        font-size: 20px;
        color: white;
    }
    
    .buy-page .notice-wrapper:first-child .notice-title {
        font-size: 17px;
        font-weight: 700;
        color: white;
        margin: 0;
    }
    
    .buy-page .notice-wrapper:first-child .desc-body {
        padding: 24px 28px;
        font-size: 14px;
        line-height: 1.8;
        color: #4a5568;
        max-height: 200px;
        overflow-y: auto;
    }
    
    .buy-page .notice-wrapper:first-child .desc-footer {
        display: none;
    }
    
    /* 注意事项卡片 */
    .buy-page .notice-wrapper:last-child .notice-box {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.8);
    }
    
    .buy-page .notice-wrapper:last-child .notice-header {
        padding: 24px 28px;
        background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
        display: flex;
        align-items: center;
        gap: 14px;
    }
    
    .buy-page .notice-wrapper:last-child .notice-header::before {
        content: '\f071';
        font-family: 'FontAwesome';
        font-size: 20px;
        color: white;
    }
    
    .buy-page .notice-wrapper:last-child .notice-title {
        font-size: 17px;
        font-weight: 700;
        color: white;
        margin: 0;
    }
    
    .buy-page .notice-wrapper:last-child .notice-body {
        padding: 24px 28px;
    }
    
    .buy-page .notice-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .buy-page .notice-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0;
        font-size: 14px;
        line-height: 1.6;
        color: #4a5568;
        border-bottom: 1px solid #f0f2f5;
    }
    
    .buy-page .notice-item:last-child {
        border-bottom: none;
    }
    
    .buy-page .notice-item::before {
        content: '\f00c';
        font-family: 'FontAwesome';
        font-size: 12px;
        color: #10b981;
        margin-top: 3px;
        flex-shrink: 0;
    }
    
    .buy-page .notice-item.important {
        color: #c53030;
        font-weight: 500;
    }
    
    .buy-page .notice-item.important::before {
        content: '\f06a';
        color: #f5365c;
    }
    
    .buy-page .notice-footer {
        display: none;
    }
    
    /* 价格和库存网格 */
    .buy-page .form-item .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 0;
    }
    
    .buy-page .form-item .row > div {
        padding: 0;
    }
}

/* 大屏幕优化 */
@media (min-width: 992px) {
    .buy-page .buy-content {
        padding: 48px 48px !important;
    }
    
    .buy-page .buy-content > .row {
        grid-template-columns: 1fr 420px;
        gap: 40px;
    }
    
    .buy-page .buy-form {
        padding: 44px;
    }
    
    .buy-page .category-box {
        padding: 32px 40px;
    }
    
    .buy-page .category-icon {
        width: 80px;
        height: 80px;
    }
    
    .buy-page .category-info h2 {
        font-size: 24px;
    }
}

/* ========================================
   20. 页面容器统一居中
   ======================================== */

@media (min-width: 768px) {
    /* 确保所有页面内容居中 */
    .query-page > .container,
    .site-page > .container,
    .faq-page > .container,
    .buy-page > .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    /* 页面包装器 */
    .query-page,
    .site-page,
    .faq-page {
        display: block;
    }
    
    /* 内容区域最大宽度限制 */
    .query-form-container,
    .query-results,
    .faq-notice-card,
    .faq-search-box,
    .faq-tags,
    .faq-accordion,
    .join-us-mobile,
    .action-sticky {
        margin-left: auto;
        margin-right: auto;
    }
}