.filter-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.filter-modal-container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(99, 102, 241, 0.05));
}

.filter-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #6366f1, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-modal-close {
    background: rgba(59, 130, 246, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.filter-modal-close:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: rotate(90deg);
}

.filter-modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.filter-modal-section {
    margin-bottom: 1.5rem;
}

.filter-modal-section:last-child {
    margin-bottom: 0;
}

.filter-modal-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-modal-price-display {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
}

.price-range-text {
    text-align: center;
    color: #475569;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
}

.filter-modal-title i {
    font-size: 0.9rem;
    color: #3b82f6;
}

.filter-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-modal-tab {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    z-index: 1;
}

.filter-modal-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.filter-modal-tab:hover {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    color: #3b82f6;
}

.filter-modal-tab.active {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.filter-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: rgba(248, 250, 252, 0.5);
}

.filter-modal-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-modal-btn-reset {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 1px solid rgba(100, 116, 139, 0.2);
}

.filter-modal-btn-reset:hover {
    background: rgba(100, 116, 139, 0.2);
    transform: translateY(-2px);
}

.filter-modal-btn-apply {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-modal-btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

@media (max-width: 768px) {
    .filter-modal-container {
        max-height: 95vh;
        border-radius: 20px 20px 0 0;
        margin-top: auto;
    }

    .filter-modal-header,
    .filter-modal-body,
    .filter-modal-footer {
        padding: 1rem 1.5rem;
    }

    .filter-modal-header h2 {
        font-size: 1.2rem;
    }

    .filter-modal-tabs {
        gap: 0.4rem;
    }

    .filter-modal-tab {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .filter-modal-price-display {
        padding: 0.8rem;
    }

    .price-range-info {
        font-size: 0.85rem;
    }

    .price-value {
        font-size: 1rem;
    }

    .price-range-text {
        font-size: 0.85rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* 更多产品按钮样式 */
.more-products-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.more-products-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.more-products-btn i {
    font-size: 1rem;
}

/* 产品价格样式 */
.product-price {
    margin: 1rem 0;
    text-align: center;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-unit {
    font-size: 1rem;
    color: #64748b;
    margin-left: 0.25rem;
}

/* 快速选择产品弹框样式 */
.quick-select-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem 0;
}

.quick-select-product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.quick-select-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.quick-select-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
}

.quick-select-product-card:hover::before {
    transform: scaleX(1);
}

.quick-select-product-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #3b82f6;
}

.quick-select-product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.quick-select-product-description {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quick-select-product-price {
    margin: 1rem 0;
    text-align: center;
}

.quick-price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-price-unit {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.quick-select-product-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.quick-select-product-features li {
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quick-select-product-features li i {
    color: #10b981;
    font-size: 0.75rem;
}

.quick-select-product-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-select-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.filter-modal-btn-more {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
    border: 2px solid rgba(100, 116, 139, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-modal-btn-more:hover {
    background: rgba(100, 116, 139, 0.2);
    color: #475569;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .quick-select-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-select-products-grid {
        grid-template-columns: 1fr;
    }

    .quick-select-product-card {
        padding: 1.25rem;
    }
}

