/* 标签页样式优化 */
.tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
    position: relative;
}

.tabs-header .tab {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tabs-header .tab:hover {
    color: #333;
    background-color: #f9f9f9;
}

.tabs-header .tab.active {
    color: #4CAF50;
    font-weight: 600;
}

.tabs-header .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #4CAF50;
}

/* 标签内容面板样式 */
.tab-panel {
    display: none;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 商品描述内容样式 */
.product-description-content {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.product-description-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.product-description-content h3 {
    font-size: 20px;
    margin: 30px 0 15px;
    color: #444;
    font-weight: 600;
}

.product-description-content p {
    margin-bottom: 20px;
}

/* 图文特性展示样式 */
.product-image-feature {
    display: flex;
    align-items: center;
    margin: 40px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.product-image-feature.reverse {
    flex-direction: row-reverse;
}

.product-image-feature img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-image-feature .feature-text {
    flex: 1;
    padding: 0 30px;
}

.product-image-feature .feature-text h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
}

.product-image-feature .feature-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0;
}

/* 套装内容列表样式 */
.package-contents {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 30px;
}

.package-contents li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #555;
}

.package-contents li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* 口味列表样式 */
.flavor-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.flavor-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.flavor-item:hover {
    transform: translateY(-5px);
}

.flavor-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.flavor-info h4 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
}

.flavor-info p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .product-image-feature,
    .product-image-feature.reverse {
        flex-direction: column;
        padding: 20px;
    }
    
    .product-image-feature img {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .product-image-feature .feature-text {
        padding: 0;
    }
    
    .flavor-list {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}