/* 筛选器样式 */
.pro-filter .pro-filter-item h3 {
line-height: 30px;
    text-align: center;
    background: #FF4400;
    font-size: 16px;
    color: #fff;
    height: 100%;
    border-radius: 10px;
    min-width: 200px;
}
.pro-filter .pro-filter-item ul li {
    float: left;
    margin-left: 10px;
}

.pro-filter .pro-filter-item ul li a {
    padding: 5px 10px;
    border-radius: 10px;
    display: block;
}
.pro-filter .pro-filter-item ul li a.active {
    background-color: #FF4400;
    color: #fff !important;
}


.filter-actions {
    flex: 1 1 100%;
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

#reset-filters {
    padding: 8px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

#reset-filters:hover {
    background: #218838;
}

/* 加载动画 */
.spinner-border {
    width: 3rem;
    height: 3rem;
    margin: 20px auto;
    display: block;
    color: #0073aa;
}

/* 分页样式 */
.pagination-wrapper {
    width: 100%;
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #000;
    border-radius: 4px;
    text-decoration: none;
}

.page-numbers a:hover {
    color: #FF4400;
}

.page-numbers .current {
    background: #FF4400;
    color: #fff;
    border-color: #FF4400;
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .pro-filter {
        flex-direction: column;
        gap: 15px;
    }
    
    .pro-filter-item {
        flex: 1 1 100%;
    }
    
    .product-list ul.row li {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .product-list ul.row li {
        width: 100%;
    }
}

/* 新增：平滑滚动样式 */
html {
    scroll-behavior: smooth;
}

/* 新增：产品列表容器滚动定位 */
.product-list {
    scroll-margin-top: 20px;
}

/* 新增：确保产品列表有明确高度 */
#product-list-container {
    min-height: 200px;
}

/* 新增：选中筛选器计数样式 */
.selected-count {
    display: inline-block;
    margin-left: 10px;
    background: #0073aa;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
}

/* 加载动画样式（产品列表内） */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    width: 100%;
    border-radius: 8px;
}

.loading-container .text-center {
    padding: 40px;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 产品列表容器样式 */
.product-list {
    scroll-margin-top: 20px;
}

/* 确保产品列表有明确的定位 */
#product-list-container {
    min-height: 200px;
    transition: all 0.3s ease;
}

/* 加载动画旋转效果 */
.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .loading-container {
        min-height: 200px;
    }
    
    .loading-container .text-center {
        padding: 20px;
    }
}
