/* ========================================
   产品相关样式
   ======================================== */

/* v-cloak 指令 */
[v-cloak] {
    display: none;
}

/* ========================================
   产品卡片样式
   ======================================== */
#hot-products .icon-box,
#product-list .icon-box {
    display: flex;
    flex-direction: column;
    height: 400px;
    padding: 30px 20px;
    transition: all 0.3s ease;
}

/* 大屏第二行开始上边距 */
@media (min-width: 992px) {
    #hot-products .col-lg-4:nth-child(n+4),
    #product-list .col-lg-4:nth-child(n+4) {
        margin-top: 30px;
    }
}

/* 中屏第二行开始上边距 */
@media (min-width: 768px) and (max-width: 991px) {
    #hot-products .col-md-6:nth-child(n+3),
    #product-list .col-md-6:nth-child(n+3) {
        margin-top: 30px;
    }
}

#hot-products .icon-box:hover,
#product-list .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#hot-products .product-image,
#product-list .product-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

#hot-products .product-image img,
#product-list .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#hot-products .product-image .icon,
#product-list .product-image .icon {
    font-size: 64px;
    color: #ddd;
}

#hot-products .icon-box h4,
#product-list .icon-box h4 {
    margin-bottom: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

#hot-products .icon-box h4 a,
#product-list .icon-box h4 a {
    color: #2c4964;
    transition: 0.3s;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

#hot-products .icon-box h4 a:hover,
#product-list .icon-box h4 a:hover {
    color: #e43c5c;
}

#hot-products .icon-box p:last-child,
#product-list .icon-box p:last-child {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ========================================
   分类筛选样式
   ======================================== */
.category-filter {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c4964;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 8px;
    color: #e43c5c;
}

.filter-btn {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 8px 10px 0;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #e43c5c;
    color: #e43c5c;
}

.filter-btn.active {
    background: #e43c5c;
    border-color: #e43c5c;
    color: #fff;
}

/* ========================================
   无产品提示样式
   ======================================== */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-products i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
}

/* ========================================
   页面头部样式
   ======================================== */
.page-header {
    background: linear-gradient(135deg, #2c4964 0%, #1a2e3f 100%);
    padding: 140px 0 80px;
    margin-bottom: 40px;
}

.page-header h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    margin: 0;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0 0 20px 0;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.page-header .breadcrumb-item a:hover {
    color: #fff;
}

.page-header .breadcrumb-item.active {
    color: #fff;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
    content: ">";
}
