/* 新增推荐板块基础样式，可根据实际需求调整 */
.detail-layout {
    display: flex;
    gap: 20px;
}
.sidebar {
    width: 300px;
    margin-top: 1.6%;
    flex-shrink: 0;
}
.main-content {
    flex: 1;
}
.recommend-section {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.recommend-title {
    font-size: 18px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}
.recommend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* 产品项样式 - 新增图片展示布局 */
.product-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /*padding: 10px 0;*/
    border-bottom: 1px dashed #eee;
    margin-top: 5%;
}
.product-item:last-child {
    border-bottom: none;
}
.product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}
.product-name {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.product-name:hover {
    color: #007bff;
    text-decoration: underline;
}
/* 文章项样式 - 新增时间展示 */
.article-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.article-item:last-child {
    border-bottom: none;
}
.article-link {
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}
.article-link:hover {
    color: #007bff;
    text-decoration: underline;
}
.article-time {
    font-size: 12px;
    color: #999;
}
.more-link {
    margin-top: 10px;
    text-align: right;
}
.more-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}
.more-link a:hover {
    text-decoration: underline;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .detail-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        margin-top: 1.6%;
    }
}
.product-item img, .taobao-item img{

    width: 100%;
    height: 70%;
}
.detail-page img{
    width: 100%;
}

.hot-product-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    width: 100%; /* 名称占满宽度，居中显示 */
}
.product-item a{
    display: flow;
}


