
/* 自定义样式优化 */
.yunu-curmbs {
    padding: 15px 20px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.yunu-curmbs a {
    color: #666;
    text-decoration: none;
}

.yunu-curmbs a:hover {
    text-decoration: underline;
    color: #258C44;
}

.product-detail-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 10px 28px;
}

.product-image-section {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.product-info-section {
    flex: 1;
    min-width: 300px;
}

.product-main-image {
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: #f9f9f9;*/
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 1px 1px 11px 1px rgba(0, 0, 0, 0.5);

}

.product-main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* 移除所有图片特效 */
    transition: none !important;
}

/* 图片下方内容区域 */
.image-below-content {
    padding: 5px;
    background: #f8f9fa;
    border-radius: 8px;
    /*border: 1px solid #e9ecef;*/
}

.company-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: #1a6dba;
    font-weight: bold;
    font-size: 16px;
}

.advantage-content .daitih4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #333;
    font-weight: 600;

}

.advantage-content p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* 产品亮点区域 */
.product-highlights {
    margin: 20px 0;
    padding: 3px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d9d9d9;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 8px;
    background: white;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.highlight-item:before {
    content: "✓";
    color: #000;
    margin-right: 8px;
    font-weight: bold;
}

/* 营销标签区域 */
.marketing-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    padding: 6px 12px;
    background: #fff9e6;
    border: 1px solid #ffd666;
    border-radius: 4px;
    font-size: 13px;
    color: #d48806;
    font-weight: 600;
}

.tag.highlight {
    background: #f6ffed;
    border-color: #b7eb8f;
    color: #52c41a;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.product-meta {
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    /*width: 100px;*/
    color: #666;
    font-weight: 600;
}

.meta-value {
    color: #333;
}

.stock-status {
    color: #fff;
    font-weight: 600;
    background-color: #28a745;
    letter-spacing: 1px;
    border-radius: 3px;
}

.action-area {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.hotline {
    text-align: center;
    margin-bottom: 19px;
    position: relative;
}


.hotline-number {
    display: inline-flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #e74c3c;
    padding: 8px 16px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hotline-number i {
    margin-right: 10px;
    color: #e74c3c;
    font-size: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #a10d0b;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: #555;
    color: white;
}

.btn-secondary:hover {
    background-color: #333;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db;
}

.btn-outline:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.prod-menu {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
    padding-left: 28px;
}

.prod-menu li {
    margin-right: 5px;
}

.prod-menu li a {
    display: block;
    padding: 12px 24px;
    background-color: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.prod-menu li.active a {
    background-color: white;
    color: #e74c3c;
    border-color: #dee2e6 #dee2e6 white;
}

.prod-con {
    padding: 12px 28px;
    background-color: white;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.yunu-infocontent-body {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .product-detail-wrapper {
        flex-direction: column;
    }
    
    .product-image-section {
        padding-right: 0;
        margin-bottom: 25px;
    }
    
    .highlights-grid, .company-advantages {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    .advantage-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* 修复产品详情内容和参数挤在一起 */
.prod-con {
    position: relative;
    min-height: 200px;
}

.prod-con .swiper-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.prod-con .swiper-slide {
    width: 100%;
    flex-shrink: 0;
    display: none; /* 默认隐藏所有slide */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prod-con .swiper-slide.active {
    display: block; /* 激活的slide显示 */
    opacity: 1;
}

/* 确保内容区域不溢出 */
.yunu-infocontent-body {
    line-height: 1.7;
    overflow: visible;
    max-height: none !important;
    padding: 15px 0;
}

/* 修复选项卡激活状态 */
.prod-menu li.active a {
    background-color: white;
    color: #e74c3c;
    border-color: #dee2e6 #dee2e6 white;
    font-weight: bold;
}

.prod-menu li a {
    cursor: pointer;
}

