.all-sort-list {
    position: relative;
    float: left;
    width: 228px;
    border-top: none;
    background: #f8f9fa;
    min-height: 300px;
    max-height: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.all-sort-list .item {
    height: auto;
    min-height: 55px;
    border-top: 1px solid #e9ecef;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

/* 纯CSS hover显示二级分类 */
.all-sort-list .item:hover .item-list {
    display: block !important;
}

.all-sort-list .item:hover {
    background: #e3f2fd;
}

.all-sort-list .item.bo {
    border-top: none;
}

.all-sort-list .item h3 {
    height: auto;
    line-height: 55px;
    font-size: 15px;
    font-weight: normal;
    width: 199px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.all-sort-list .item span {
    padding: 0px 5px;
    color: #1baeae;
    font-family: "\5B8B\4F53";
}

.all-sort-list .item a {
    color: #1baeae;
    text-decoration: none;
}

.all-sort-list .item a:hover {
    font-weight: bold;
    color: #1baeae;
}

.all-sort-list .item-list {
    display: none;
    position: absolute;
    width: 600px;
    min-height: 300px;
    max-height: 500px;
    overflow-y: auto;
    background: #FFF;
    left: 228px;
    bottom: 0;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
    z-index: 1001;
    border-radius: 0 8px 8px 0;
    padding: 0;
}

.item-list .subitem {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 0 20px;
}

.item-list .subitem dl {
    flex: 0 0 auto;
    min-width: 100px;
    margin-bottom: 0;
    margin-right: 20px;
    position: relative;
}

/* 二级分类悬停效果 */
.item-list .subitem dl.second-level:hover dt {
    color: #e4393c;
}

.item-list .subitem dl.second-level:hover dt a {
    color: #e4393c;
}

/* 三级分类默认隐藏 */
.item-list .subitem dd.third-level {
    display: none;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #f0f0f0;
}

/* 悬停二级分类时显示三级分类 */
.item-list .subitem dl.second-level:hover dd.third-level {
    display: block;
}

.item-list .subitem .fore1 {
    border-top: none;
}

.item-list .subitem dt {
    width: 100%;
    line-height: 24px;
    text-align: left;
    padding: 0 0 6px 0;
    font-weight: 600;
    color: #1baeae;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 6px;
}

.item-list .subitem dt a {
    color: #1baeae;
    text-decoration: underline;
}

.item-list .subitem dd {
    width: 100%;
    padding: 0;
    overflow: hidden;
}

/* 三级分类标签样式 */
.item-list .subitem dd.third-level em {
    display: inline-block;
    margin: 0 6px 6px 0;
}
    float: left;
    height: auto;
    line-height: 22px;
    padding: 0 8px;
    margin: 3px;
    border-left: none;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 12px;
}

.item-list .subitem dd em a, .item-list .cat-right dd a {
    color: #555;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.item-list .subitem dd em a:hover, .item-list .cat-right dd a:hover {
    color: #1baeae;
    background: #e3f2fd;
    text-decoration: none;
    border-radius: 4px;
}

#content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

#content #banner {
    width: 1226px;
    flex-shrink: 0;
    height: 447px;
}

#content #banner #cate_menu {
    width: 234px;
    height: 100%;
    background-color: #0c0c13;
    box-sizing: border-box;
    position: relative;
}

#content #banner #cate_menu > ul {
    position: relative;
    padding: 20px 0;
}

#content #banner #cate_menu > ul:hover li:last-of-type {
    display: block;
}

#content #banner #cate_menu > ul > li {
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0 30px;
    font-size: 14px;
}

#content #banner #cate_menu > ul > li:last-of-type {
    display: none;
    padding: 0;
    width: 800px;
    height: 461px;
    z-index: 2;
    position: absolute;
    left: 100%;
    top: 0;
}

#content #banner #cate_menu > ul > li:hover {
    background-color: #1baeae;
}

#content #banner #cate_menu > ul > li a {
    color: #fff;
    margin-left: 10px;
}

#content #banner #cate_menu > ul > li .pop {
    box-shadow: 2px 3px 5px #ccc;
    width: 800px;
    height: 461px;
    background-color: #fff;
    padding: 20px 0 0 20px;
    font-size: 12px;
    box-sizing: border-box;
}

#content #banner #cate_menu > ul > li .pop > li {
    margin-bottom: 10px;
    white-space: nowrap;
}

#content #banner #cate_menu > ul > li .pop > li .title {
    float: left;
    width: 70px;
    height: 20px;
    line-height: 20px;
    font-weight: bold;
}

#content #banner #cate_menu > ul > li .pop > li .title .iconfont {
    font-size: 12px;
}

#content #banner #cate_menu > ul > li .pop > li .list {
    float: left;
    max-width: 700px;
}

#content #banner #cate_menu > ul > li .pop > li .list li {
    float: left;
    margin-top: 2px;
    margin-bottom: 5px;
}

#content #banner #cate_menu > ul > li .pop > li .list li a {
    display: block;
    height: 16px;
    margin-left: 0;
    line-height: 16px;
    white-space: nowrap;
    padding: 0 10px;
    text-align: center;
    color: #666;
    border-left: 1px solid #e0e0e0;
}

#content #banner #cate_menu > ul > li .pop > li .list li a:hover {
    color: #1baeae;
}

#content #banner .swiper-container {
    width: 998px;
    height: 100%;
}

#content #banner .swiper-container .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
}

#content #sub_banner {
    display: block;
    width: 1226px;
    flex-shrink: 0;
    min-height: 380px;
    margin-top: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    padding: 0;
}

#content #sub_banner > h2 {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

/* 热销商品横向滚动容器 */
.hot-goods-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 15px 0;
}

.hot-goods-track {
    display: flex;
    gap: 15px;
    animation: scrollHot 35s linear infinite;
    width: max-content;
}

.hot-goods-track:hover {
    animation-play-state: paused;
}

@keyframes scrollHot {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hot-goods-item {
    width: 234px;
    height: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.hot-goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hot-goods-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.hot-goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.hot-goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hot-goods-item:hover .hot-goods-image img {
    transform: scale(1.05);
}

.hot-goods-info {
    padding: 10px 12px;
}

.hot-goods-name {
    font-size: 13px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-goods-price {
    margin: 0 0 6px 0;
    color: #ff4400;
    font-size: 18px;
    font-weight: bold;
}

.hot-goods-price .price-symbol {
    font-size: 12px;
}

.hot-goods-shop {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.hot-goods-shop i {
    font-size: 12px;
}

/* 热销商品轮播样式 */
#content #sub_banner .goods-swiper {
    width: 100%;
    overflow: hidden;
    padding: 0 40px; /* 为导航按钮留出空间 */
}

#content #sub_banner .goods-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

#content #sub_banner .goods-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

#content #sub_banner .goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

#content #sub_banner .goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

#content #sub_banner .goods-card:hover .goods-image img {
    transform: scale(1.05);
}

#content #sub_banner .goods-info {
    padding: 12px;
}

#content #sub_banner .goods-name {
    font-size: 14px;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#content #sub_banner .goods-price {
    margin: 0 0 8px 0;
    color: #ff6600;
    font-size: 18px;
    font-weight: bold;
}

#content #sub_banner .goods-price .price-symbol {
    font-size: 14px;
}

#content #sub_banner .shop-info {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

#content #sub_banner .shop-info i {
    font-size: 12px;
}

#content #sub_banner .selector {
    width: 234px;
    height: 100%;
}

#content #sub_banner .selector .sidebar {
    float: left;
    display: block;
    width: 78px;
    height: 85px;
}

#content #sub_banner .selector .sidebar img {
    opacity: 0.8;
}

#content #sub_banner .selector .sidebar img:hover {
    opacity: 1;
}

#content #sub_banner .hot-image {
    width: 295px;
    height: 295px;
}

#content #sub_banner .hot-image a {
    display: block;
    width: 100%;
    height: 100%;
}

#content #sub_banner .hot-image a img {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

#content #sub_banner .hot-image a img:hover {
    opacity: 1;
}

#content #flash {
    width: 1226px;
    flex-shrink: 0;
    height: auto;
    min-height: 340px;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
    padding: 0;
}

#content #flash > h2 {
    height: 58px;
    line-height: 58px;
}

/* 新品轮播器样式 */
#content #flash .swiper-container {
    width: 100%;
    padding-bottom: 20px;
}

#content #flash .swiper-wrapper {
    display: flex;
}

#content #flash .swiper-slide {
    width: 234px;
    height: 352px;
    background-color: #fafafa;
    border-top: 1px solid #ffa500;
    flex-shrink: 0;
}

#content #flash .swiper-slide:nth-child(1) {
    border-color: #ffa500;
}

#content #flash .swiper-slide:nth-child(2) {
    border-color: #008000;
}

#content #flash .swiper-slide:nth-child(3) {
    border-color: #00f;
}

#content #flash .swiper-slide:nth-child(4) {
    border-color: #f00;
}

#content #flash .swiper-slide:nth-child(5) {
    border-color: #008080;
}

#content #flash .swiper-slide a {
    display: block;
    font-size: 14px;
    text-align: center;
}

#content #flash .swiper-slide a img {
    width: 160px;
    height: 160px;
    opacity: 0.8;
    margin: 37px;
}

#content #flash .swiper-slide a .discount {
    font-size: 12px;
    color: #b0b0b0;
    margin: 15px 0;
}

#content #flash .swiper-slide a .item_price {
    color: #1baeae;
}

#content #flash .swiper-slide a:hover img {
    opacity: 1;
}

#content #flash .swiper-button-prev,
#content #flash .swiper-button-next {
    color: #999;
}

#content #flash .swiper-button-prev {
    left: -10px;
}

#content #flash .swiper-button-next {
    right: -10px;
}

/* 新品轮播器样式 */
#content #flash .swiper-container {
    width: 100%;
    padding-bottom: 20px;
    overflow: hidden;
}

#content #flash .swiper-wrapper {
    display: flex;
}

#content #flash .swiper-slide {
    width: 234px;
    height: 352px;
    background-color: #fafafa;
    border-top: 1px solid #ffa500;
    flex-shrink: 0;
}

#content #flash .swiper-slide a {
    display: block;
    font-size: 14px;
    text-align: center;
}

#content #flash .swiper-slide a img {
    width: 160px;
    height: 160px;
    opacity: 0.8;
    margin: 37px;
}

#content #flash .swiper-slide a .discount {
    font-size: 12px;
    color: #b0b0b0;
    margin: 15px 0;
}

#content #flash .swiper-slide a .item_price {
    color: #1baeae;
}

#content #flash .swiper-slide a:hover img {
    opacity: 1;
}

#content #flash .swiper-button-prev,
#content #flash .swiper-button-next {
    color: #999;
}

#content #flash ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 40px;
    box-sizing: border-box;
}

#content #flash ul li {
    width: 234px;
    height: 352px;
    background-color: #fafafa;
    border-top: 1px solid #ffa500;
    margin-bottom: 15px;
}

#content #flash ul li:nth-child(2) {
    border-color: #008000;
}

#content #flash ul li:nth-child(3) {
    border-color: #00f;
}

#content #flash ul li:nth-child(4) {
    border-color: #f00;
}

#content #flash ul li:nth-child(5) {
    border-color: #008080;
}

#content #flash ul li a {
    display: block;
    font-size: 14px;
    text-align: center;
}

#content #flash ul li a img {
    width: 160px;
    height: 160px;
    opacity: 0.8;
    margin: 37px;
}

#content #flash ul li a .discount {
    font-size: 12px;
    color: #b0b0b0;
    margin: 15px 0;
}

#content #flash ul li a .item_price {
    color: #1baeae;
}

#content #flash ul li a:hover img {
    opacity: 1;
}

#content #flash .time {
    background-color: #f1eded;
}

#content #flash .time .name {
    margin-top: 53px;
    font-size: 21px;
    color: #ef3a3b;
}

#content #flash .time img {
    width: 34px;
    height: 53px;
}

#content #flash .time .text {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.54);
}

#content #flash .time .flashTime {
    margin: 28px 33px 0;
    color: #fff;
    font-size: 24px;
    line-height: 46px;
    display: flex;
    justify-content: center;
}

#content #flash .time .flashTime .box {
    width: 46px;
    height: 46px;
    background-color: #605751;
}

#content #flash .time .flashTime .dosh {
    height: 46px;
    font-size: 28px;
    color: #605751;
}

/* 推荐区域 - 横向逐个滚动 */
#content #recommend {
    width: 1226px;
    position: relative;
    flex-shrink: 0;
    height: auto;
    min-height: 400px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    padding: 0;
}

#content #recommend > h2 {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

/* 推荐商品横向滚动容器 */
.recommend-goods-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 20px 0;
}

.recommend-goods-track {
    display: flex;
    gap: 15px;
    animation: scrollRecommend 35s linear infinite;
    width: max-content;
}

.recommend-goods-track:hover {
    animation-play-state: paused;
}

@keyframes scrollRecommend {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.recommend-goods-item {
    width: 234px;
    height: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.recommend-goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.recommend-goods-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.recommend-goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.recommend-goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recommend-goods-item:hover .recommend-goods-image img {
    transform: scale(1.05);
}

.recommend-goods-info {
    padding: 10px 12px;
}

.goods-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    background: #4caf50;
    margin-bottom: 6px;
}

.goods-tag.hot {
    background: #f44336;
}

.goods-tag.discount {
    background: #ff9800;
}

.recommend-goods-name {
    font-size: 13px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-goods-price {
    margin: 0 0 6px 0;
    color: #ff4400;
    font-size: 18px;
    font-weight: bold;
}

.recommend-goods-price .price-symbol {
    font-size: 12px;
}

.recommend-goods-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ===== 新：新品上线 - 横向逐个滚动覆盖 ===== */
#content #flash {
    padding: 0 !important;
}

#content #flash > h2 {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

.new-goods-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 20px 0;
}

.new-goods-track {
    display: flex;
    gap: 15px;
    animation: scrollNewGoods 35s linear infinite;
    width: max-content;
    pointer-events: none; /* 防止动画导致的点击偏移 */
}

.new-goods-track:hover {
    animation-play-state: paused;
}

@keyframes scrollNewGoods {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.new-goods-item {
    width: 234px;
    height: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    border-top: 3px solid #1baeae;
    pointer-events: auto; /* 恢复商品卡片的点击事件 */
}

.new-goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.new-goods-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.new-goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.new-goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.new-goods-item:hover .new-goods-image img {
    transform: scale(1.05);
}

.new-goods-info {
    padding: 10px 12px;
}

.new-goods-name {
    font-size: 13px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.new-goods-desc {
    font-size: 12px;
    color: #999;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 17px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.new-goods-price {
    margin: 0;
    color: #ff4400;
    font-size: 18px;
    font-weight: bold;
}

.new-goods-price .price-symbol {
    font-size: 12px;
}

/* 查看更多链接 - 通用样式 */
.more-link {
    position: absolute;
    top: 18px;
    right: 30px;
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
    z-index: 10;
}

.more-link:hover {
    color: #1baeae;
}

/* 热销区域 - 相对定位 */
#content #sub_banner {
    position: relative;
    overflow: hidden;
}

/* 新品区域 - 相对定位 */
#content #flash {
    position: relative;
}

/* 推荐区域 - 已有相对定位，保持不变 */

#content #recommend ul {
    display: flex;
    height: 614px;
    justify-content: space-between;
    align-content: space-between;
    flex-wrap: wrap;
}

#content #recommend ul li {
    width: 234px;
    height: 314px;
    background-color: #fff;
    margin-bottom: 20px;
    margin-left: 4px;
    margin-right: 6px;
}

#content #recommend ul li:nth-child(1) .hot-image,
#content #recommend ul li:nth-child(6) .hot-image {
    width: 100%;
    height: 100%;
    margin: 0;
}

#content #recommend ul li:hover {
    box-shadow: 0px 0px 30px #ccc;
}

#content #recommend ul li:hover .comment {
    transform: translateY(0);
}

#content #recommend ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    text-align: center;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#content #recommend ul li a .info {
    width: 104px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    color: #fff;
    font-size: 10px;
}

#content #recommend ul li a .new {
    background-color: #83c44e;
}

#content #recommend ul li a .discount {
    background-color: #f00;
}

#content #recommend ul li a > p {
    height: 25px;
    line-height: 25px;
    font-size: 14px;
}

#content #recommend ul li a .item_price {
    color: #1baeae;
}

#content #recommend ul li a .counter {
    height: 15px;
    line-height: 15px;
    color: #aaa;
    font-size: 12px;
}

#content #recommend ul li a img {
    width: 160px;
    height: 160px;
    margin: 10px 0 20px;
}

#content #recommend ul li a .comment {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(101%);
    transition: transform 0.4s;
    box-sizing: border-box;
    height: 70px;
    padding: 10px 0 0 30px;
    background-color: #1baeae;
    color: #fff;
    text-align: left;
}

#content #recommend ul li a .comment p {
    font-size: 12px;
    margin-top: 5px;
}

/* 移动端汉堡菜单按钮 */
.hamburger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    padding: 10px;
}

/* 移动端分类图标区域 */
.mobile-category-icons {
    display: none;
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.category-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0 10px;
    -webkit-overflow-scrolling: touch;
}

.category-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.category-icon-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin: 0 15px;
    min-width: 70px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f7fa 0%, #f3e5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 20px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.icon-text {
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

/* 移动端底部导航栏 */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-bottom-nav .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #999;
    font-size: 12px;
    padding: 8px 0;
    flex: 1;
}

.mobile-bottom-nav .bottom-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.mobile-bottom-nav .bottom-nav-item.active {
    color: #1baeae;
}

/* 移动端侧边菜单 */
.mobile-side-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.menu-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    background: #fff;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1baeae;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.mobile-version {
    height: auto !important;
    min-height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* PC端footer保留,移动端隐藏 */
.desktop-only-footer {
    display: block;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 隐藏顶部登录注册条 */
    header .header-top,
    header .top-bar {
        display: none !important;
    }
    
    /* 隐藏PC端导航链接 */
    #nav .list {
        display: none !important;
    }
    
    /* 显示汉堡菜单 */
    .hamburger-menu {
        display: block;
    }
    
    /* 隐藏PC端分类侧边栏 */
    .all-sort-list:not(.mobile-version) {
        display: none !important;
    }
    
    /* 显示移动端分类图标 */
    .mobile-category-icons {
        display: block;
        overflow: hidden;
    }
    
    /* 分类图标横向滚动 */
    .category-scroll-wrapper {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .category-scroll-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* 搜索框调整 */
    #nav .banner_x {
        padding: 10px;
    }
    
    #nav .fr {
        width: 100%;
        margin-top: 10px;
    }
    
    #nav .search {
        width: 100%;
        margin: 0;
    }
    
    #nav .text {
        width: 100%;
    }
    
    #nav .button {
        width: 100%;
        margin-top: 10px;
    }
    
    /* 轮播图全宽 */
    #content #banner {
        width: 100% !important;
        height: auto !important;
        padding: 0;
        margin: 0;
    }
    
    #content #banner .swiper-container {
        width: 100% !important;
        height: 200px !important;
    }
    
    /* 热销区域 */
    #content #sub_banner {
        width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        height: auto !important;
    }
    
    #content #sub_banner .more-link {
        top: 10px !important;
        right: 15px !important;
        font-size: 12px !important;
    }
    
    #content #sub_banner .hot-image {
        width: calc(50% - 5px) !important;
        max-width: calc(50% - 5px) !important;
        min-width: calc(50% - 5px) !important;
        height: auto !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* 新品区域 - 使用columns瀑布流 */
    #content #flash {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        height: auto !important;
    }
    
    #content #flash .more-link {
        top: 15px !important;
        right: 15px !important;
        font-size: 12px !important;
    }
    
    #content #flash ul {
        column-count: 2 !important;
        column-gap: 10px !important;
    }
    
    #content #flash ul li {
        width: 100% !important;
        max-width: 100% !important;
        break-inside: avoid !important;
        margin: 0 0 10px 0 !important;
        display: inline-block !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 推荐区域 - 使用columns瀑布流 */
    #content #recommend {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 10px 70px !important;
        box-sizing: border-box !important;
        height: auto !important;
    }
    
    #content #recommend .more-link {
        top: 10px !important;
        right: 15px !important;
        font-size: 12px !important;
    }
    
    #content #recommend ul {
        column-count: 2 !important;
        column-gap: 10px !important;
        height: auto !important;
    }
    
    #content #recommend ul li {
        width: 100% !important;
        max-width: 100% !important;
        break-inside: avoid !important;
        margin: 0 0 10px 0 !important;
        display: inline-block !important;
        min-height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 显示底部导航 */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    /* 隐藏PC端footer */
    .desktop-only-footer {
        display: none;
    }
}

/* ===== 多行网格布局样式 ===== */
/* 新品上线：2 行 5 列 */
.goods-grid-2x5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    padding: 0 40px;
    width: 100%;
}

/* 为你推荐：5 行 5 列 */
.goods-grid-5x5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
    padding: 0 40px;
    width: 100%;
}

/* 缩小版商品卡片 */
.goods-card-small {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.goods-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.goods-image-small {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.goods-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.goods-card-small:hover .goods-image-small img {
    transform: scale(1.05);
}

.goods-info-small {
    padding: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.goods-name-small {
    font-size: 12px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.goods-price-small {
    margin: 0 0 4px 0;
    color: #ff6600;
    font-size: 14px;
    font-weight: bold;
}

.goods-price-small .price-symbol {
    font-size: 11px;
}

.shop-info-small {
    font-size: 10px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: auto;
}

.shop-info-small i {
    font-size: 10px;
}

/* 多行轮播器样式调整 */
.goods-swiper-multi {
    width: 100%;
    overflow: hidden;
}

.goods-swiper-multi .swiper-wrapper {
    align-items: stretch;
}

.goods-swiper-multi .swiper-slide {
    height: auto !important;
}

/* 服务优势条 */
.service-bar {
    width: 1226px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    background: transparent;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.service-item:not(:last-child) {
    border-right: 1px solid #f0f0f0;
    padding-right: 20px;
    margin-right: 20px;
}

.service-icon {
    flex-shrink: 0;
}

.service-text h4 {
    margin: 0 0 3px 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.service-text p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .service-bar {
        width: 95%;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .service-item {
        border-right: none !important;
        padding-right: 0 !important;
        margin-right: 0 !important;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
    
    .service-item:last-child {
        border-bottom: none;
    }
}
/* 平板端适配 */
@media (max-width: 1225px) and (min-width: 769px) {
    /* 修改banner容器为自适应宽度 */
    #content #banner {
        width: 100%;
        max-width: 1226px;
        height: auto;
        min-height: 300px;
    }

    /* 隐藏左侧分类菜单 */
    #content #banner .all-sort-list {
        display: none;
    }

    /* 轮播图占满宽度 */
    #content #banner .swiper-container {
        width: 100%;
        height: 300px;
    }

    /* 商品区域自适应 */
    #content #sub_banner,
    #content #flash,
    #content #recommend {
        width: 100%;
        max-width: 1226px;
    }

    .goods-swiper .swiper-slide {
        padding: 0 10px;
    }

    .goods-swiper-multi .swiper-slide {
        padding: 0 10px;
    }

    .goods-grid-2x5,
    .goods-grid-5x5 {
        padding: 0 5px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ===== 新：热销推荐 - 横向逐个滚动覆盖 ===== */
#content #sub_banner {
    min-height: 380px !important;
}

#content #sub_banner > h2 {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

.hot-goods-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 15px 0;
}

.hot-goods-track {
    display: flex;
    gap: 15px;
    animation: scrollHot 35s linear infinite;
    width: max-content;
}

.hot-goods-track:hover {
    animation-play-state: paused;
}

@keyframes scrollHot {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hot-goods-item {
    width: 234px;
    height: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.hot-goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.hot-goods-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.hot-goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.hot-goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hot-goods-item:hover .hot-goods-image img {
    transform: scale(1.05);
}

.hot-goods-info {
    padding: 10px 12px;
}

.hot-goods-name {
    font-size: 13px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-goods-price {
    margin: 0 0 6px 0;
    color: #ff4400;
    font-size: 18px;
    font-weight: bold;
}

.hot-goods-price .price-symbol {
    font-size: 12px;
}

.hot-goods-shop {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.hot-goods-shop i {
    font-size: 12px;
}

/* ===== 新：推荐区域 - 横向逐个滚动覆盖 ===== */
#content #recommend {
    padding: 0 !important;
}

#content #recommend > h2 {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0 20px;
}

.recommend-goods-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0 0 20px 0;
}

.recommend-goods-track {
    display: flex;
    gap: 15px;
    animation: scrollRecommend 35s linear infinite;
    width: max-content;
}

.recommend-goods-track:hover {
    animation-play-state: paused;
}

@keyframes scrollRecommend {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.recommend-goods-item {
    width: 234px;
    height: 310px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.recommend-goods-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.recommend-goods-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.recommend-goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.recommend-goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.recommend-goods-item:hover .recommend-goods-image img {
    transform: scale(1.05);
}

.recommend-goods-info {
    padding: 10px 12px;
}

.goods-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    background: #4caf50;
    margin-bottom: 6px;
}

.goods-tag.hot {
    background: #f44336;
}

.goods-tag.discount {
    background: #ff9800;
}

.recommend-goods-name {
    font-size: 13px;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.recommend-goods-price {
    margin: 0 0 6px 0;
    color: #ff4400;
    font-size: 18px;
    font-weight: bold;
}

.recommend-goods-price .price-symbol {
    font-size: 12px;
}

.recommend-goods-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}
