

.container-new {
    margin: 0 auto;
    background-color: #fff;
}

.section-row {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    margin-right: 10px;
}
.section-new {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    background: linear-gradient(to bottom, #ffeeda, rgb(254, 249, 243));

}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
}

.section-title {
    display: flex;
    align-items: center;
}

.hot-tag {
}

.seckill-tag {
}

.more-link {
    color: black;
    font-size: 14px;
    text-decoration: none;
}

.more-link::after {
    content: ">";
    margin-left: 2px;
}

.products {
    display: flex;
    padding: 5px;
    gap: 15px;
    overflow-x: auto;
}

.product-card {
    width: 100%;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 5px;
    text-align: center;
    background: #fff;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.product-image {
    width: 40%;
    height: 3.5rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.product-name {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-spec {
    text-align: left;
    font-size: 12px;
    color: #666;
    
}

.product-price {
    text-align: left;
    color: #ff3b30;
    font-size: 14px;
    font-weight: bold;
}

/* 响应式调整 */
/*
@media (max-width: 600px) {
    .product-card {
        flex: 0 0 70px;
    }

    .product-name {
        font-size: 14px;
    }
}*/

.recommendation-section {
    width: 100%;
    background-color: #fff;
    padding: 5px;
}

.section-header-brand {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.navigation-controls {
    display: flex;
    gap: 10px;
}

.nav-btn {
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #c9c9c9;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.nav-btn:hover {
    background-color: #ff3b30;
    color: white;
}

.brands-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding-left: 5px;
    background: linear-gradient(to bottom, #fff7ec, rgb(254, 231, 217));
}

.brands-scroll {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 5px 0;
}

.brand-card {
    flex: 0 0 4rem;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}


.brand-image {
    width: 100%;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 14px;
}


/* 推荐区域 */
.recommend-section-mid {
    background-color: white;
    overflow: hidden;
}

.section-header-mid {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem;
}

.section-title-mid {
    display: flex;
}

.title-tab-mid {
    padding: 5px 15px;
    font-size: 12px;
    color: #666;
    border-radius: 15px;
    margin-right: 10px;
    cursor: pointer;
}

.title-tab-mid.active {
    background-color: #ff3b30;
    color: white;
}

.more-link-mid {
    color: #999;
    font-size: 14px;
    text-decoration: none;
}

/* 商品列表 */
.products-grid-mid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background-color: #f2f2f2;
    padding: 10px;
}

.product-card-mid {
    background-color: white;
    padding: 3px;
    display: flex;
    border-radius: 5%;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.product-image-mid {
    width: 100%;
    height: 8rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 12px;
}

.product-name-mid {
    font-size: 12px;
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-spec-mid {
    font-size: 8px;
    color: #999;
    text-align: center;
    margin-bottom: 8px;
}

.product-price-mid {
    color: #ff3b30;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}
.product-right {
    height: 3.5rem;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-price-mid-by {
    background-image: url("/images/index/price.png");
    background-size: 100% 100%;
    height:2.5rem;
    color:#ff3b30;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 5px;
}
.product-price-by-text{
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.lazyload{
    width: 100%;
    height: 100%;
}
