/* Products Page Specific Styles */

/* Main Content */
.main {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
    padding: 20px 0;
}

/* 调整容器宽度以更好地利用屏幕空间 */
.main .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Filters Section */
.filters-section {
    background-color: rgba(26, 26, 26, 0.8);
    border-radius: 0 0 12px 12px;
    padding: 30px 40px;
    margin-bottom: 30px;
    margin-top: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
}

/* 📱 移动端收纳式筛选 - 桌面端默认隐藏 */
.mobile-filters-toggle {
    display: none;
}

.mobile-filters-content {
    display: block;
}

/* 桌面端：确保筛选内容始终显示 */
@media (min-width: 769px) {
    .mobile-filters-content {
        display: block !important;
        max-height: none !important;
        padding: 0 !important;
    }
    
    .mobile-filters-toggle {
        display: none !important;
    }
}

.products-count {
    margin-bottom: 20px;
}

.products-count span {
    color: #888888;
    font-size: 14px;
    font-weight: 500;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.category-btn {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-btn:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

.category-btn.active {
    background-color: #ff8c00;
    color: #000000;
    border-color: #ff8c00;
}

.category-btn.more {
    background-color: #333333;
    border-color: #555555;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-btn.more:hover {
    background-color: #444444;
}

/* Search Section */
.search-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.search-bar {
    position: relative;
    width: 600px;
    max-width: 100%;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888888;
    font-size: 16px;
}

.search-bar input {
    width: 100%;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 18px 15px 18px 45px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    min-height: 50px;
    box-sizing: border-box;
}

.search-bar input:focus {
    outline: none;
    border-color: #ff8c00;
    background-color: #2a2a2a;
}

.search-bar input::placeholder {
    color: #888888;
}

/* Brand Filters */
.brand-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.brand-tag {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brand-tag:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.brand-tag.active {
    background-color: #ff8c00;
    color: #000000;
    border-color: #ff8c00;
}

/* "所有品牌"按钮特殊样式 - 类似分类按钮 */
.brand-tag.brand-tag-all {
    background-color: #2a2a2a;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-tag.brand-tag-all.active {
    background-color: #ff8c00;
    color: #000000;
    border-color: #ff8c00;
    font-weight: 600;
}

/* Filters Button */
.filters-btn {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.filters-btn:hover {
    background-color: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0;
    transition: all 0.3s ease;
    align-items: stretch;
}

/* Product Card */
.product-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    min-width: 240px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

/* 移动端：移除产品卡片的最小宽度限制 */
@media (max-width: 768px) {
    .product-card {
        min-width: 0;
        min-height: auto;
    }
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.3);
}

/* Source Tag */
.source-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.02);
    opacity: 0.9;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.size-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

/* Product Info */
.product-info {
    padding: 20px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    min-height: 180px;
}

.product-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff8c00;
    margin-bottom: 15px;
    flex-shrink: 0;
}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    margin-left: -20px;
    flex-shrink: 0;
    width: calc(100% + 20px);
    min-height: 60px;
    padding: 5px 2px;
    box-sizing: border-box;
    overflow: hidden; /* 确保按钮不会溢出 */
}

/* 价格和代理显示行 */
.price-agent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 8px;
}

.cn-fans-logo {
    font-size: 9px;
    color: #ff8c00;
    font-weight: 500;
    flex-shrink: 0;
    background: rgba(255, 140, 0, 0.08);
    padding: 2px 5px;
    border-radius: 3px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(255, 140, 0, 0.1);
    min-width: 45px;
    justify-content: center;
    margin: 0;
}


.cn-fans-logo:hover {
    background: rgba(255, 140, 0, 0.25);
    border-color: rgba(255, 140, 0, 0.6);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.action-btn {
    background: linear-gradient(135deg, #ff8c00, #ff9500);
    color: #000000;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 90px;
    height: 45px;
    box-sizing: border-box;
    /* 强制固定尺寸，不受缩放影响 */
    max-width: 90px;
    min-width: 90px;
    max-height: 45px;
    min-height: 45px;
    flex-shrink: 1; /* 允许按钮在空间不足时缩小 */
    /* 防止变形 */
    transform: scale(1);
    -webkit-transform: scale(1);
    transform-origin: center;
    -webkit-transform-origin: center;
    /* 防止字体缩放 */
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover {
    background: linear-gradient(135deg, #ff9500, #ffa500);
    transform: translateY(-2px) scale(1);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.action-btn:hover::before {
    left: 100%;
}

.buy-btn {
    background: linear-gradient(135deg, #ff8c00, #ff9500);
    color: #000000;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 12px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #ff9500, #ffa500);
}

.qc-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    padding: 10px 12px;
}

.qc-btn:hover {
    background: linear-gradient(135deg, #45a049, #66bb6a);
    transform: translateY(-2px) scale(1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Responsive Design - 智能响应式布局 */
/* 超大屏幕 - 6列 */
@media (min-width: 1800px) {
    .products-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px;
    }
}

/* 超超大屏幕 - 7列 */
@media (min-width: 2000px) {
    .products-grid {
        grid-template-columns: repeat(7, 1fr);
        gap: 28px;
    }
}

/* 大屏幕 - 5列 */
@media (min-width: 1400px) and (max-width: 1799px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

/* 中等大屏幕 - 4列 */
@media (min-width: 1200px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* 中等屏幕 - 3列 */
@media (min-width: 900px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

/* 小屏幕 - 2列 */
@media (min-width: 600px) and (max-width: 899px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* 超小屏幕 - 2列（手机端一排显示两个产品） */
@media (max-width: 599px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 优化产品卡片在2列布局中的显示 */
    .product-card {
        min-width: 0;
        max-width: 100%;
        overflow: hidden; /* 确保内容不会溢出 */
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-info {
        padding: 12px 10px 12px 10px; /* 减少底部padding给按钮更多空间 */
        min-height: 130px;
    }
    
    .product-title {
        font-size: 11px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .product-price {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .product-actions {
        gap: 3px;
        min-height: 32px;
        padding: 5px 8px; /* 增加左右padding给按钮更多空间 */
        margin-left: -10px;
        width: calc(100% + 10px);
    }
    
    .action-btn {
        padding: 4px 6px;
        font-size: 9px;
        width: 48px;
        max-width: 48px;
        min-width: 48px;
        height: 26px;
        max-height: 26px;
        min-height: 26px;
        flex-shrink: 1; /* 允许按钮缩小 */
    }
    
    .cn-fans-logo {
        font-size: 9px;
        padding: 2px 4px;
        min-width: 40px;
    }
}

@media (max-width: 768px) {
    .filters-section {
        padding: 20px;
    }
    
    .category-filters {
        gap: 8px;
    }
    
    .category-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    /* 移动端按钮调整 - 缩小按钮避免被遮挡 */
    .action-btn {
        padding: 5px 8px;
        font-size: 10px;
        width: 60px;
        max-width: 60px;
        min-width: 60px;
        height: 30px;
        max-height: 30px;
        min-height: 30px;
        flex-shrink: 1; /* 允许按钮缩小 */
    }
    
    .cn-fans-logo {
        font-size: 10px;
        padding: 3px 6px;
        min-width: 50px;
    }
    
    .product-actions {
        gap: 4px;
        min-height: 36px;
        padding: 5px 10px; /* 增加左右padding */
        margin-left: -10px;
        width: calc(100% + 10px);
    }
    
    .search-section {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .search-bar {
        min-width: auto;
    }
    
    .brand-filters {
        min-width: auto;
        justify-content: flex-start;
    }
    
    .filters-btn {
        align-self: flex-start;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 15px 15px 20px 15px;
        min-height: 160px;
    }
    
    .product-title {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 20px;
    }
    
    .action-btn {
        padding: 8px 14px;
        font-size: 12px;
        width: 70px;
        max-width: 70px;
        min-width: 70px;
        height: 36px;
        max-height: 36px;
        min-height: 36px;
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@media (max-width: 480px) {
    .filters-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .category-filters {
        gap: 6px;
    }
    
    .category-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-height: 36px;
        touch-action: manipulation;
    }
    
    .brand-filters {
        gap: 6px;
    }
    
    .brand-tag {
        padding: 4px 8px;
        font-size: 11px;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        touch-action: manipulation;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 12px 12px 18px 12px;
        min-height: 140px;
    }
    
    .product-title {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .action-btn {
        padding: 6px 12px;
        font-size: 11px;
        width: 60px;
        max-width: 60px;
        min-width: 60px;
        height: 32px;
        max-height: 32px;
        min-height: 32px;
        transform: scale(1);
        -webkit-transform: scale(1);
        touch-action: manipulation;
    }
    
    /* 📱 移动端产品页面专项优化 */
    
    /* 优化搜索栏 */
    .search-bar input {
        padding: 14px 15px 14px 45px;
        font-size: 15px;
        min-height: 48px;
    }
    
    /* 优化筛选按钮 */
    .filters-btn {
        padding: 12px 18px;
        font-size: 14px;
        min-height: 44px;
        touch-action: manipulation;
    }
    
    /* 优化产品卡片间距 */
    .products-grid {
        gap: 15px;
        padding: 0 5px;
    }
    
    /* 优化产品卡片 */
    .product-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    
    .product-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* 改善产品信息显示 */
    .product-info {
        gap: 10px;
    }
    
    /* 优化按钮组 */
    .product-actions {
        gap: 8px;
        padding: 8px 0;
    }
    
    /* 优化价格显示 */
    .product-price {
        font-weight: 700;
        line-height: 1.2;
    }
}

/* 移动端产品页面额外优化 - 768px以下 */
@media (max-width: 768px) {
    /* 优化主容器 */
    .main {
        padding: 15px 0;
    }
    
    /* 优化筛选区域 */
    .filters-section {
        border-radius: 0;
        margin: 0;
        border-left: none;
        border-right: none;
        padding: 15px;
    }
    
    /* 📱 移动端收纳式筛选按钮 - 显示 */
    .mobile-filters-toggle {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 140, 0, 0.15);
        border: 1px solid rgba(255, 140, 0, 0.3);
        border-radius: 8px;
        padding: 12px 16px;
        margin-bottom: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-filters-toggle:hover,
    .mobile-filters-toggle:active {
        background: rgba(255, 140, 0, 0.25);
        border-color: rgba(255, 140, 0, 0.5);
    }
    
    .mobile-filters-title {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #ff8c00;
        font-size: 15px;
        font-weight: 600;
    }
    
    .mobile-filters-title i {
        font-size: 16px;
    }
    
    .mobile-filters-icon {
        color: #ff8c00;
        font-size: 14px;
        transition: transform 0.3s ease;
    }
    
    .mobile-filters-toggle.expanded .mobile-filters-icon {
        transform: rotate(180deg);
    }
    
    /* 📱 移动端筛选内容 - 默认折叠 */
    .mobile-filters-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0;
        margin-top: 0;
    }
    
    .mobile-filters-content.expanded {
        max-height: 2000px;
        padding-top: 15px;
        margin-top: 0;
    }
    
    /* 改善搜索体验 */
    .search-section {
        margin-bottom: 12px;
    }
    
    .search-bar {
        width: 100%;
    }
    
    /* 优化分类和品牌筛选 */
    .category-filters,
    .brand-filters {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 5px;
        margin-bottom: 12px;
    }
    
    .category-filters::-webkit-scrollbar,
    .brand-filters::-webkit-scrollbar {
        display: none;
    }
    
    .category-btn,
    .brand-tag {
        flex-shrink: 0;
    }
    
    /* 📱 移动端产品网格 - 确保一排显示2个产品 */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 10px 5px;
    }
    
    /* 改善产品卡片触摸反馈 */
    .product-card {
        -webkit-tap-highlight-color: rgba(255, 140, 0, 0.2);
        min-width: 0;
        max-width: 100%;
    }
    
    /* 优化加载状态 */
    .product-card.loading {
        pointer-events: none;
    }
}

/* Filters Panel */
.filters-panel {
    display: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 450px;
    height: 100vh;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1500;
}

.filters-panel.show {
    display: block;
    transform: translateX(0);
}

.filters-panel-content {
    background-color: transparent;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    border-radius: 0;
}

.filters-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
}

.filters-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filters-panel-title i {
    color: #ff8c00;
    font-size: 18px;
}

.filters-panel-title h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.filters-panel-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reset-all-btn {
    background: none;
    border: none;
    color: #888888;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.reset-all-btn:hover {
    color: #ffffff;
}

.filters-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.filters-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.filters-panel-body {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tab {
    background: none;
    border: none;
    color: #888888;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    position: relative;
}

.filter-tab:hover {
    color: #ffffff;
}

.filter-tab.active {
    color: #ff8c00;
    border-bottom-color: #ff8c00;
}

.filter-tab i {
    font-size: 16px;
}

.filter-content {
    min-height: 300px;
}

.filter-section {
    display: none;
}

.filter-section.active {
    display: block;
}

.filter-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-section-header i {
    color: #ff8c00;
    font-size: 16px;
}

.filter-section-header h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.filter-option-card {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.filter-option-card:hover {
    background-color: #3a3a3a;
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-option-card.active {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #000000;
}

.filter-option-card i {
    font-size: 24px;
    color: #888888;
}

.filter-option-card.active i {
    color: #000000;
}

.filter-option-card span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.filter-option-card.active span {
    color: #000000;
}

.checkmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.count {
    background-color: rgba(255, 255, 255, 0.1);
    color: #888888;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.filter-option-card.active .count {
    background-color: rgba(0, 0, 0, 0.2);
    color: #000000;
}

/* Price Filter */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 15px;
}

.price-inputs input {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 15px;
    color: #ffffff;
    font-size: 14px;
    width: 120px;
}

.price-inputs input:focus {
    outline: none;
    border-color: #ff8c00;
}

.price-inputs span {
    color: #888888;
    font-size: 16px;
}

.price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.price-preset {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 16px;
    color: #ffffff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-preset:hover {
    background-color: #3a3a3a;
    border-color: rgba(255, 255, 255, 0.3);
}

.price-preset.active {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #000000;
}

/* Brands Filter */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.brand-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.brand-option:hover {
    background-color: #3a3a3a;
    border-color: rgba(255, 255, 255, 0.3);
}

.brand-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff8c00;
}

.brand-option label {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
}

.brand-option input[type="checkbox"]:checked + label {
    color: #ff8c00;
}

/* Loading Animation */
.product-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.product-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Filter Active States */
.category-btn.active,
.brand-tag.active {
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.3);
}

/* Smooth Transitions */
.product-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Filters Panel Mobile */
@media (max-width: 480px) {
    .filters-panel {
        width: 100%;
        right: 0;
    }
    
    .filters-panel-header {
        padding: 20px 25px;
    }
    
    .filters-panel-body {
        padding: 25px;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .price-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .price-inputs input {
        width: 100%;
    }
    
    .price-presets {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 收藏横幅样式 - 全新设计 */
.bookmark-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffa726 100%);
    color: #fff;
    padding: 20px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
    border-bottom: none;
    overflow: hidden;
    margin-top: 60px;
    margin-bottom: 0;
    border-radius: 12px 12px 0 0;
}

.bookmark-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

.bookmark-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.bookmark-icon {
    font-size: 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    padding: 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.bookmark-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: calc(100% - 200px);
}

.bookmark-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 120px;
}

.bookmark-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bookmark-action-btn {
    background: linear-gradient(45deg, #fff, #f5f5f5);
    color: #ff6b6b;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.bookmark-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.2), transparent);
    transition: left 0.6s;
}

.bookmark-action-btn:hover::before {
    left: 100%;
}

.bookmark-action-btn:hover {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.bookmark-action-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.bookmark-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.bookmark-close:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ff6b6b;
    transform: scale(1.15) rotate(90deg);
    border-color: #fff;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .bookmark-content {
        padding: 0 16px;
        gap: 16px;
    }
    
    .bookmark-title {
        font-size: 18px;
    }
    
    .bookmark-subtitle {
        font-size: 14px;
    }
    
    .bookmark-action-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .bookmark-banner {
        padding: 16px 0;
    }
    
    .bookmark-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 0 16px;
    }
    
    .bookmark-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        padding: 13px;
    }
    
    .bookmark-title {
        font-size: 18px;
    }
    
    .bookmark-subtitle {
        font-size: 14px;
    }
    
    .bookmark-action-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .bookmark-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bookmark-banner {
        padding: 12px 0;
    }
    
    .bookmark-content {
        padding: 0 12px;
        gap: 12px;
    }
    
    .bookmark-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        padding: 12px;
    }
    
    .bookmark-title {
        font-size: 16px;
    }
    
    .bookmark-subtitle {
        font-size: 13px;
    }
    
    .bookmark-action-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    /* 移动端调整回到顶部按钮位置 */
    .back-to-top {
        bottom: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 18px;
    }
    
    .back-to-top span {
        font-size: 9px;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #ff8c00, #ff9500);
    color: #000;
    border: none;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(45deg, #ff9500, #ffa500);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6);
}

.back-to-top i {
    font-size: 20px;
}

.back-to-top span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

/* QC详情页面样式 - 模态框版本 */
.qc-details {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 🎭 半透明遮罩层 */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 🎨 模态框内容容器 */
.qc-details::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 🌈 动态渐变背景 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.qc-back-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    /* ❌ 圆形关闭按钮 */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.qc-back-btn span {
    display: none; /* 隐藏"Back"文字 */
}

.qc-back-btn i {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.qc-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.qc-back-btn:hover i {
    transform: rotate(90deg);
}

.qc-back-btn:active {
    transform: scale(0.95);
}

.qc-content {
    position: relative;
    display: flex;
    /* 🎨 模态框容器样式 */
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 50%, rgba(240, 147, 251, 0.95) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    border-radius: 30px;
    max-width: 1200px;
    max-height: 90vh;
    width: 100%;
    margin: auto;
    padding: 40px;
    gap: 30px;
    overflow-y: auto;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 🎨 自定义滚动条 */
.qc-content::-webkit-scrollbar {
    width: 10px;
}

.qc-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.qc-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.qc-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.qc-left {
    flex: 0 0 400px;
    /* 💎 玻璃拟态容器 */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.5s ease 0.1s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.qc-right {
    flex: 1;
    min-width: 0;
    animation: slideInRight 0.5s ease 0.15s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.qc-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* 📱 移动端：产品信息显示在图片下面 */
.qc-product-info-mobile {
    display: none; /* 桌面端默认隐藏 */
    margin-bottom: 20px;
    padding: 15px 0;
}

.qc-product-info-mobile h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.qc-pricing-mobile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qc-pricing-mobile .price-main {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.qc-pricing-mobile .price-secondary {
    font-size: 18px;
    color: #cccccc;
}

.qc-pricing-mobile .price-usd {
    font-size: 16px;
    color: #aaaaaa;
}

.qc-main-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.qc-main-image:hover img {
    transform: scale(1.05);
}

.qc-agents {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.agent-btn {
    /* 🎨 彩色渐变按钮 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
    min-width: 120px;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.agent-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.agent-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.agent-btn:hover::before {
    left: 100%;
}

.agent-btn:active {
    transform: translateY(-1px);
}

.qc-tags {
    margin-bottom: 25px;
}

.tag {
    /* 🏷️ 动态标签 */
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(245, 87, 108, 0.6);
    }
}

.qc-right h1 {
    /* ✨ 渐变标题 */
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -1px;
}

.qc-pricing {
    /* 💰 价格卡片 */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.price-main {
    font-size: 2.5rem;
    color: white;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-secondary {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 600;
}

.price-usd {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.qc-info-box {
    /* 📋 信息卡片 */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 14px;
}

.info-value {
    color: white;
    font-weight: 700;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

.qc-photos-section {
    /* 📸 照片区域容器 */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.qc-photos-section h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.qc-photos-section h3::before {
    content: '📸';
    font-size: 1.8rem;
}

.qc-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    max-width: 100%;
}

.qc-photos-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.qc-photos-grid img:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
    z-index: 10;
    position: relative;
}

.qc-copy-url {
    margin-top: 25px;
}

.copy-btn {
    /* 🔗 复制按钮 */
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    box-shadow: 0 8px 30px rgba(245, 87, 108, 0.4);
    position: relative;
    overflow: hidden;
}

.copy-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 87, 108, 0.6);
}

.copy-btn:hover::before {
    width: 300px;
    height: 300px;
}

.copy-btn:active {
    transform: translateY(-1px);
}

/* 📱 响应式设计 - 大屏幕 */
@media (max-width: 1200px) {
    .qc-content {
        max-width: 1000px;
        padding: 35px;
        gap: 25px;
    }
    
    .qc-left {
        flex: 0 0 350px;
    }
    
    .qc-main-image img {
        height: 330px;
    }
    
    .qc-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .qc-photos-grid img {
        height: 100px;
    }
}

/* 📱 响应式设计 - 平板 */
@media (max-width: 992px) {
    .qc-details {
        padding: 15px;
    }
    
    .qc-content {
        max-width: 800px;
        padding: 30px;
        gap: 20px;
    }
    
    .qc-left {
        flex: 0 0 300px;
    }
    
    .qc-main-image img {
        height: 280px;
    }
    
    .qc-right h1 {
        font-size: 2rem;
    }
    
    .price-main {
        font-size: 2rem;
    }
    
    .qc-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
    }
    
    .qc-photos-grid img {
        height: 90px;
    }
}

/* 📱 响应式设计 - 手机 */
@media (max-width: 768px) {
    .qc-details {
        padding: 10px;
        align-items: flex-start;
    }
    
    .qc-content {
        flex-direction: column;
        max-width: 100%;
        max-height: 95vh;
        padding: 50px 20px 20px;
        gap: 20px;
        border-radius: 20px;
        margin-top: 10px;
    }
    
    .qc-back-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .qc-left {
        flex: 1;
        width: 100%;
        max-width: none;
        padding: 20px;
    }
    
    .qc-right {
        padding: 0;
        width: 100%;
    }
    
    .qc-main-image img {
        height: 300px;
    }
    
    .qc-right h1 {
        font-size: 1.8rem;
    }
    
    .price-main {
        font-size: 1.8rem;
    }
    
    .qc-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .qc-photos-grid img {
        height: 80px;
        border-radius: 12px;
    }
    
    .agent-btn {
        min-width: 100px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* 📱 移动端：代理按钮一排显示两个 */
    .qc-agents {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .agent-btn {
        flex: 0 0 calc(50% - 5px); /* 一排两个，减去gap的一半 */
        width: calc(50% - 5px);
        max-width: calc(50% - 5px);
        min-width: auto;
    }
    
    /* 📱 移动端：显示产品信息在图片下面 */
    .qc-product-info-mobile {
        display: block !important;
    }
    
    /* 📱 移动端：隐藏价格信息（节省空间） */
    .qc-product-info-mobile .qc-pricing-mobile {
        display: none !important;
    }
    
    /* 📱 移动端：隐藏右侧的产品信息（桌面端保留） */
    .qc-right h1:first-child,
    .qc-right .qc-pricing {
        display: none;
    }
}

/* 📱 响应式设计 - 小手机 */
@media (max-width: 480px) {
    .qc-details {
        padding: 5px;
    }
    
    .qc-content {
        padding: 45px 15px 15px;
        border-radius: 18px;
    }
    
    .qc-back-btn {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .qc-left {
        padding: 18px;
        border-radius: 20px;
    }
    
    .qc-main-image img {
        height: 250px;
    }
    
    .qc-right h1 {
        font-size: 1.5rem;
    }
    
    .price-main {
        font-size: 1.5rem;
    }
    
    .qc-pricing,
    .qc-info-box,
    .qc-photos-section {
        padding: 18px;
        border-radius: 16px;
    }
    
    .qc-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    
    .qc-photos-grid img {
        height: 70px;
        border-radius: 10px;
    }
    
    /* 📱 超小屏幕：隐藏价格信息（节省空间） */
    .qc-product-info-mobile .qc-pricing-mobile {
        display: none !important;
    }
    
    /* 📱 超小屏幕：代理按钮一排显示两个 */
    .qc-agents {
        gap: 8px;
    }
    
    .agent-btn {
        flex: 0 0 calc(50% - 4px); /* 一排两个，减去gap的一半 */
        width: calc(50% - 4px);
        max-width: calc(50% - 4px);
        min-width: auto;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .copy-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* 📱 响应式设计 - 超小手机 */
@media (max-width: 360px) {
    .qc-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }
    
    .qc-photos-grid img {
        height: 70px;
        border-radius: 10px;
    }
}


