#top-div {
    width: 1200px;
    height: 310px;
    margin: 10px auto;
}

/* 左侧一级分类栏 */
#category-list {
    width: 190px;
    height: 310px;
    float: left;
    border-radius: 10px;
    margin-right: 10px;
    background-color: #d3efe3;
    flex: 1;
    position: relative;
}

/* 一级分类项 */
#category-list .cat-item {
    padding: 2px 15px;
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

#category-list .cat-item:hover {
    background-color: #ffffff;
}

#category-list .cat-item a {
    text-decoration: none;
    color: inherit;
    padding: 2px 30px;
}

/* 悬浮面板（默认隐藏） */
.sub-panel {
    position: absolute;
    top: 0;
    left: 100%;
    width: 800px;
    height: 310px;
    background-color: #fff;
    border: 2px solid #da1600;
    border-radius: 10px;
    padding: 15px 20px;
    display: none;
    z-index: 10;
}

/* 鼠标悬浮一级分类时显示对应面板 */
#category-list .cat-item:hover .sub-panel {
    display: block;
}

/* 二级分类行 */
.sub-row {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.sub-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 二级分类标题 */
.sub-title {
    width: 120px;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

/* 三级分类标签组 */
.sub-tags {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 15px;
}

.sub-tags a {
    text-decoration: none;
    color: #666;
    font-size: 13px;
}

.sub-tags a:hover {
    cursor: pointer;
    color: #ff6600 !important;
}

/* 顶部热卖频道 */
.hot-channel {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.hot-channel a {
    text-decoration: none;
    color: #ff6600;
    font-size: 14px;
    margin-right: 15px;
}

#banner-swiper {
    width: 500px;
    height: 150px;
    float: left;
    border-radius: 10px;
}

#new-div{
    width: 490px;
    height: 150px;
    float: left;
    margin-left: 10px;
    background-color: #f7f7f7;
    border-radius: 10px;
}

#new-div>span{
    position: absolute;
    font-weight: bold;
    background-color: #d3efe3;
    border-radius: 5px;
}

#new-div div{
    width: 150px;
    height: 150px;
    margin-left: 10px;
    float: left;
}

#new-div img{
    width: 130px;
    height: 130px;
    margin: 10px;
    border-radius: 5px;
}

#hot-div{
    width: 1000px;
    height: 150px;
    float: left;
    margin-top: 10px;
    background-color: #f7f7f7;
    border-radius: 10px;
}

#hot-div>span{
    position: absolute;
    font-weight: bold;
    background-color: #d3efe3;
    border-radius: 5px;
}

#hot-div div{
    width: 150px;
    height: 150px;
    margin-left: 15px;
    float: left;
}

#hot-div img{
    width: 130px;
    height: 130px;
    margin: 10px;
    border-radius: 5px;
}