/* 移动端产品介绍页面样式 */
.banner-wrap {
    position: relative;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* Banner切换背景图 - 使用与PC端相同的图片 */
.banner-img0 {
    background: url('../images/v20251030/common/wenxue_bg.png') no-repeat center;
    background-size: cover;
}

.banner-img1 {
    background: url('../images/v20251030/common/video_bg.png') no-repeat center;
    background-size: cover;
}

.banner-img2 {
    background: url('../images/v20251030/common/jingji_bg.png') no-repeat center;
    background-size: cover;
}

.banner-title {
    font-size: 0.64rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-shadow: 0 0.02rem 0.04rem rgba(0,0,0,0.5);
}

.products-wrap {
    background: rgba(255, 255, 255, 1);
}

.products-box {
    position: relative;
    margin: 0 auto;
    width: 6.7rem;
    background: rgba(255,255,255,1);
    border-radius: 0.16rem;
    opacity: 0.94;
    top: -1.8rem;
    margin-bottom: -1.2em;
    padding-bottom: 0.6rem;
    box-shadow: 0 0.08rem 0.32rem rgba(0,0,0,0.1);
}

.products-title-box {
    text-align: center;
    padding-top: 0.6rem;
    height: 1.8rem;
    margin-bottom: 0.6rem;
}

.products-title {
    font-size: 0.32rem;
    font-weight: 600;
    color: rgba(31,31,31,1);
    margin-bottom: 0.2rem;
}

.products-desc {
    font-size: 0.24rem;
    color: rgba(102,102,102,1);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.02rem;
}

/* 产品Tab样式 */
.products-tab-box {
    display: flex;
    justify-content: space-around;
    margin: 0 0.4rem 0.8rem;
    background: #f8f9fa;
    border-radius: 0.12rem;
    padding: 0.08rem;
    box-shadow: 0 0.02rem 0.08rem rgba(0,0,0,0.08);
}

.common-title-content {
    flex: 1;
    text-align: center;
    padding: 0.24rem 0.16rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.08rem;
    position: relative;
}

.common-title-content.active {
    background: #fff;
    box-shadow: 0 0.02rem 0.12rem rgba(0,0,0,0.15);
    transform: translateY(-0.02rem);
}

.common-content-title {
    font-size: 0.28rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.06rem;
    transition: color 0.3s ease;
}

.common-title-content.active .common-content-title {
    color: #0059F9;
}

.common-content-desc {
    font-size: 0.2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
    transition: color 0.3s ease;
}

.common-title-content.active .common-content-desc {
    color: #0059F9;
}

/* 产品内容容器 */
.products-content-list-box {
    position: relative;
    min-height: 4rem;
    margin: 0 0.4rem;
}

.products-content-list-container {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-content-list-container.show {
    display: block;
    opacity: 1;
}

.product-item {
    display: flex;
    align-items: flex-start;
    padding: 0.32rem;
    background: #fff;
    border-radius: 0.16rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 0.02rem 0.08rem rgba(0,0,0,0.05);
    margin-bottom: 0.24rem;
}

.product-item:hover {
    background: #fff;
    box-shadow: 0 0.08rem 0.24rem rgba(0, 0, 0, 0.12);
    transform: translateY(-0.04rem);
    border-color: #0059F9;
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.32rem;
    flex-shrink: 0;
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.12rem;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 0.32rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.16rem;
    line-height: 1.2;
}

.product-desc {
    font-size: 0.24rem;
    color: #666;
    line-height: 1.4;
    /* 限制显示最多2行 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.4em * 2); /* 2行的高度 */
}

/* 响应式调整 */
@media (min-width: 480px) {
    .products-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.24rem;
    }
    
    .product-item {
        flex-direction: column;
        text-align: center;
        padding: 0.32rem 0.24rem;
    }
    
    .product-icon {
        margin-right: 0;
        margin-bottom: 0.16rem;
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 针对艺人经纪单个产品的调整 */
.product-category:last-child .products-grid {
    justify-content: center;
}

.product-category:last-child .product-item {
    max-width: 100%;
}

@media (min-width: 480px) {
    .product-category:last-child .products-grid {
        grid-template-columns: 1fr;
        max-width: 50%;
        margin: 0 auto;
    }
}