/* --- 全局背景与 1366px 容器 --- */
html, body { background-color: #F6F6F6 !important; margin: 0; padding: 0; }
#content { display: flex; justify-content: center; width: 1366px; margin: 0 auto; background-color: #F6F6F6; padding-bottom: 40px; }
.main-content-right { flex: 1; width: 1112px; padding-left: 20px; background-color: #F6F6F6; }

/* --- 6 级分类侧边栏样式 --- */
.all-sort-list { position: relative; width: 234px; background: #fff; padding: 10px 0; border: 1px solid #e0e0e0; flex-shrink: 0; }
.all-sort-list .item { height: 45px; line-height: 45px; position: relative; }
.all-sort-list .item:hover { background: #f5f7fa; }
.all-sort-list .item > a { padding-left: 20px; color: #333; font-size: 14px; text-decoration: none; display: block; }
.all-sort-list .item i { position: absolute; right: 15px; color: #ccc; font-size: 12px; }
.all-sort-list .item-list { display: none; position: absolute; width: 220px; min-height: 450px; background: #fff; left: 234px; top: 0; z-index: 999; box-shadow: 4px 4px 15px rgba(0,0,0,0.08); border: 1px solid #e0e0e0; }
.all-sort-list .item:hover .item-list { display: block; }

.level-2, .level-3, .level-4, .level-5, .level-6 { list-style: none; padding: 5px 0; margin: 0; width: 220px; background: #fff; border-right: 1px solid #f0f0f0; min-height: 450px; position: absolute; top: -1px; left: 100%; box-shadow: 4px 4px 15px rgba(0,0,0,0.08); border: 1px solid #e0e0e0; display: none; }
.level-2 { display: block; position: static; box-shadow: none; border: none; }
.level-2-item, .level-3-item, .level-4-item, .level-5-item { position: relative; }
.level-2-item:hover > .level-3, .level-3-item:hover > .level-4, .level-4-item:hover > .level-5 { display: block; }
.level-2-item a { display: block; padding: 0 20px; height: 40px; line-height: 40px; color: #666; font-size: 13px; text-decoration: none; }
.level-2-item a:hover { color: #3933D5; background: #f9f9f9; }

/* --- Most Popular (横向排列) --- */
.most-popular-box {
    margin-top: 20px;
    background: linear-gradient(135deg, #3933D5 0%, #4842E4 100%);
    padding: 30px 25px;
    border-radius: 4px;
    color: #fff;
}
.most-popular-box .box-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-weight: bold; font-size: 18px; }
.most-popular-box .view-more-btn { color: #fff; border: 1px solid #fff; padding: 2px 12px; border-radius: 20px; font-size: 12px; text-decoration: none; }

.popular-list-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}
.popular-list-img li {
    flex: 1;
    max-width: 125px;
    background: #fff;
    border-radius: 4px;
    padding: 15px 5px;
    text-align: center;
    margin: 0 5px;
}
.popular-list-img .icon-card img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; }
.popular-list-img .icon-card span { display: block; color: #333; font-size: 11px; height: 28px; line-height: 14px; overflow: hidden; }

/* --- 三列块 ( Ready to ship / Low MOQ / OEM ) --- */
.three-column-section { display: flex; justify-content: space-between; margin-top: 20px; gap: 15px; }
.column-item { flex: 1; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); min-height: 180px; border: 1px solid #f0f0f0; }
.column-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.column-item h3 { font-size: 18px; color: #111; font-weight: bold; border-left: 4px solid #3933D5; padding-left: 12px; margin: 0; }
.column-item .see-all { font-size: 12px; color: #666; text-decoration: none; }
.column-item .sub-title { font-size: 12px; color: #999; margin-bottom: 20px; padding-left: 16px; }

.icon-cat-list { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
.icon-cat-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; gap: 10px; flex: 1; }
.cat-svg { width: 50px; height: 50px; background: #f0f4ff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #333; font-size: 12px; font-weight: bold; }
.icon-cat-item span { font-size: 12px; color: #666; text-align: center; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* --- B2B 商品列表样式 --- */
.b2b-goods-section { margin-top: 30px; }
.b2b-card-wrapper { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.b2b-card-wrapper .box-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.b2b-card-wrapper .box-hd h2 { margin: 0; font-size: 20px; color: #333; }
.b2b-card-wrapper .see-all { font-size: 13px; color: #999; text-decoration: none; }

.b2b-list {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    column-gap: 15px !important; /* 左右间距 */
    row-gap: 40px !important;    /* 核心修改：增加上下行之间的间距 */
    list-style: none;
    padding: 0;
    margin: 0;
}
.b2b-card-wrapper {
    background: #fff;
    padding: 25px 25px 40px 25px !important; /* 核心修改：将底部 padding 从 25 改为 40 */
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    height: auto !important; /* 确保高度自适应内容 */
}
.b2b-item { background: #fff; border: 1px solid #eee; padding: 12px; transition: all 0.3s; border-radius: 4px; }
.price-text { font-size: 18px; font-weight: bold; color: #333; margin-bottom: 5px; }
.moq-text { font-size: 11px; color: #999; margin: 5px 0; height: 14px; line-height: 14px; overflow: hidden; }
.inquire-now-btn { display: block; width: 100%; padding: 8px 0; text-align: center; border: 1.5px solid #3933D5; color: #3933D5; border-radius: 25px; font-size: 13px; font-weight: bold; margin-top: 10px; }

/* --- 核心修改：Recommended 区域样式 (严格对齐截图) --- */
.section-title { font-weight: bold; font-size: 20px; color: #000; margin: 0; }

.factory-cards-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}
.factory-card {
    flex: 1;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
}
.factory-info { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.f-logo-box {
    width: 48px; height: 48px;
    border-radius: 6px;
    background: #f1f1f1;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: #999;
    border: 1px solid #eee;
}
.f-text .f-name { display: block; font-size: 16px; font-weight: bold; color: #000; margin-bottom: 2px; }
.f-text .f-status { font-size: 12px; color: #999; }
.f-text .v-tag { color: #00a650; font-weight: bold; }

.f-thumbs { display: flex; justify-content: space-between; gap: 8px; }
.thumb-item {
    flex: 1;
    height: 95px;
    background: #e9e9e9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: bold;
    font-size: 18px;
}