.container.hot-products {
    display: flex;
    gap: 20px;          /* 左右间距 */
    max-width: 1140px;  /* 固定总宽度 */
    margin: 0 auto;     /* 居中 */
}

.container.hot-products .main-content {
    flex: 0 0 70%;      /* 左侧 70% */
}


/* ==========================================
   Hot Products 样式
   ========================================== */

/* 产品区块 */
.hot-products .block {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* 标题 */
.hot-products h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}


/* 产品网格 */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 单个产品卡片 */
.product-card {
    flex: 1 1 calc(50% - 20px); /* 两列布局，可根据需求改三列 */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.product-link {
    display: flex;
    gap: 15px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.product-link .thumb {
    flex: 0 0 150px;
    max-width: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.product-link .thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    flex: 1 1 0;
}

.product-info h4 {
    font-size: 18px;
    margin: 0 0 8px 0;
    color: #333;
}

.product-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 8px 0;
}

/* Post Meta */
.product-post-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.product-post-meta span {
    display: flex;
    align-items: center;
}

.product-post-meta i {
    margin-right: 5px;
    color: #E64A19;
}

/* 显示更多 / 收起按钮 */
.article-toggle {
    margin-top: 15px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.article-toggle .btn {
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
}

.show-more-btn {
    background: #E64A19;
    color: white;
}

.show-more-btn:hover {
    background: #c43f16;
}

.collapse-btn {
    background: #607d8b;
    color: white;
}

.collapse-btn:hover {
    background: #455a64;
}

.hidden-article {
    display: none !important;
}

/* 无文章提示 */
.no-posts {
    font-size: 14px;
    color: #999;
    text-align: center;
    padding: 15px 0;
    border: 1px dashed #ccc;
    border-radius: 5px;
}

/* ==========================================
   响应式布局
   ========================================== */
@media (max-width: 992px) {
    .container.hot-products {
        flex-direction: column;
    }

    .container.hot-products .main-content {
        flex: 1;
    }

    .product-card {
        flex: 1 1 100%;
    }

    .product-link {
        flex-direction: column;
    }

    .product-link .thumb {
        max-width: 100%;
        flex: 1 0 100%;
    }
}

@media (max-width: 768px) {
    .hot-products h2 {
        font-size: 20px;
    }

    .product-info h4 {
        font-size: 16px;
    }

    .product-info p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-post-meta {
        font-size: 11px;
    }

    .product-info h4 {
        font-size: 15px;
    }
}
