/* 首页容器 */
.indexWrapper {
    width: 100%;
    overflow: hidden;
}

/* Banner轮播区域样式在base.css中定义，这里只保留移动端特殊样式 */

/* 1200px媒体查询中的productLineWrapper样式在base.css中定义 */

@media screen and (max-width: 991px) {
    .indexWrapper .productLineWrapper {
        margin: 60px 0
    }
}

@media screen and (max-width: 768px) {
    .indexWrapper .bannerWrapper {
        height: 50vh;
        min-height: 400px;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper {
        height: 100%;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper .swiper-slide {
        position: relative;
        overflow: hidden;
        height: 100%;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper .swiper-slide .bg {
        min-height: 100%;
        height: 100%;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper .swiper-slide .textContent .textbox {
        flex-direction: column;
        align-items: center;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper .swiper-slide .textContent .textbox .button {
        margin-left: 0;
        margin-top: 30px;
    }

    .indexWrapper .bannerWrapper .swiper-wrapper .swiper-slide .textContent .textbox .button a {
        width: 120px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }

    .indexWrapper .productLineWrapper .title .txt h1 {
        line-height: 26px;
        font-size: 26px
    }

    .indexWrapper .productLineWrapper .title .txt p {
        margin-top: 10px
    }

    .indexWrapper .productLineWrapper .title .button {
        position: relative;
        right: auto;
        bottom: auto;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        width: 100%;
    }

    .indexWrapper .productLineWrapper .title .button p {
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin: 0 8px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
        touch-action: manipulation;
        z-index: 1;
        position: relative;
    }

    /* 确保移动端产品一行显示两个 */
    .indexWrapper .productLineWrapper .productLine .swiper-slide {
        width: calc((100% - 12px) / 2) !important;
        margin-right: 12px !important;
    }

    .indexWrapper .productLineWrapper .productLine .swiper-slide:last-child {
        margin-right: 0 !important;
    }
}

/* 产品线展示区域样式在base.css中定义，这里只保留移动端特殊样式 */

/* 首页新季上新产品遮罩效果 - 与lookbook保持一致 */
.indexWrapper .productLineWrapper .productLine .swiper-slide .pic {
    position: relative;
    overflow: hidden;
    display: block;
}

.indexWrapper .productLineWrapper .productLine .swiper-slide .pic img {
    display: block;
    width: 100%;
    transition: transform 0.3s ease;
}

.indexWrapper .productLineWrapper .productLine .swiper-slide .pic:hover img {
    transform: scale(1.05);
}

.indexWrapper .productLineWrapper .productLine .swiper-slide .pic .mask {
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s linear;
    z-index: 1;
    pointer-events: none;
}

.indexWrapper .productLineWrapper .productLine .swiper-slide .pic:hover .mask {
    opacity: 1;
}

.indexWrapper .productLineWrapper .productLine .swiper-slide .pic .mask i {
    font-size: 14px;
    color: #fff;
    padding: 8px 16px;
    border-radius: 2px;
    border: 1px solid #fff;
    white-space: nowrap;
    font-style: normal;
    font-weight: normal;
    line-height: 1.5;
}

/* 关于我们和店铺链接区域样式已在base.css中定义，此处删除重复样式 */

/* 响应式设计样式在base.css中定义，这里只保留必要的特殊样式 */

/* ============================================
   品牌资讯区域样式 - 与"新季上新"保持一致
   ============================================ */

.brandNewsWrapper {
    width: 100%;
    margin: 130px 0;
}

.brandNewsWrapper .title {
    margin-bottom: 48px;
    position: relative;
}

.brandNewsWrapper .title .txt {
    text-align: center;
    color: #666;
}

.brandNewsWrapper .title .txt h1 {
    line-height: 46px;
    font-size: 46px;
}

.brandNewsTabs {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    gap: 0;
}

.brandNewsTab {
    display: inline-block;
    padding: 12px 40px;
    font-size: 16px;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    margin: 0 10px;
    margin-bottom: -21px;
}

.brandNewsTab:hover {
    color: #333;
}

.brandNewsTab.active {
    color: #333;
    border-bottom-color: #bdbdbd;
    font-weight: 500;
}

.brandNewsContainer {
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

.brandNewsSwiperWrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brandNewsCards {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

.brandNewsCard {
    flex: 0 0 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
}

.brandNewsCardImg {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
    margin-bottom: 20px;
}

.brandNewsCardImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.brandNewsCard:hover .brandNewsCardImg img {
    transform: scale(1.05);
}

.brandNewsCardContent {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brandNewsCardDate {
    font-size: 14px;
    color: #999;
    margin-bottom: 12px;
}

.brandNewsCardTitle {
    font-size: 18px;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: normal;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 54px;
}

.brandNewsCardDesc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.brandNewsPagination {
    position: relative;
    margin-top: 40px;
    text-align: center;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.brandNewsPagination .swiper-pagination-bullet,
.brandNewsPaginationBullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    margin: 0 4px !important;
}

.brandNewsPagination .swiper-pagination-bullet:hover,
.brandNewsPaginationBullet:hover {
    opacity: 0.8;
}

.brandNewsPagination .swiper-pagination-bullet-active,
.brandNewsPaginationBulletActive {
    background-color: #9c27b0;
    opacity: 1;
    width: 8px;
    height: 8px;
}

.brandNewsEmpty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}

/* 响应式设计 - 与"新季上新"保持一致 */
@media screen and (max-width: 1200px) {
    .brandNewsWrapper {
        margin: 100px 0;
    }
    
    .brandNewsWrapper .title {
        margin-bottom: 30px;
    }
    
    .brandNewsWrapper .title .txt h1 {
        line-height: 32px;
        font-size: 32px;
    }
    
    .brandNewsContainer {
        padding: 0 24px;
    }
    
    .brandNewsTabs {
        margin-bottom: 30px;
        padding-bottom: 16px;
    }
    
    .brandNewsTab {
        margin-bottom: -17px;
    }
    
    .brandNewsCards {
        gap: 20px;
    }
    
    .brandNewsCard {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
    }
}

@media screen and (max-width: 991px) {
    .brandNewsWrapper {
        margin: 60px 0;
    }
    
    .brandNewsContainer {
        padding: 0 24px;
    }
    
    .brandNewsTabs {
        margin-bottom: 30px;
        padding-bottom: 16px;
    }
    
    .brandNewsTab {
        padding: 10px 30px;
        font-size: 15px;
        margin-bottom: -17px;
    }
    
    .brandNewsCards {
        gap: 15px;
    }
    
    .brandNewsCard {
        flex: 0 0 calc((100% - 30px) / 3);
        max-width: calc((100% - 30px) / 3);
    }
    
    .brandNewsCardTitle {
        font-size: 16px;
        min-height: 48px;
    }
    
    .brandNewsCardDesc {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .brandNewsWrapper .title .txt h1 {
        line-height: 26px;
        font-size: 26px;
    }
    
    .brandNewsContainer {
        padding: 0 24px;
    }
    
    .brandNewsTabs {
        margin-bottom: 30px;
        padding-bottom: 12px;
    }
    
    .brandNewsTab {
        padding: 8px 20px;
        font-size: 14px;
        margin: 0 5px;
        margin-bottom: -13px;
    }
    
    .brandNewsCards {
        flex-direction: column;
        gap: 20px;
    }
    
    .brandNewsCard {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .brandNewsCardImg {
        padding-bottom: 60%;
    }
    
    .brandNewsCardTitle {
        font-size: 16px;
        min-height: auto;
    }
    
    .brandNewsPagination {
        margin-top: 30px;
    }
}