/**
 * 产品Tab切换增强样式
 * Enhanced Product Tab Styles
 */

/* 产品中心标题优化 */
.prcbox_323 .prctit {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.prcbox_323 .prctit:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0085cd, #00b4d8);
    border-radius: 2px;
}

/* Tab导航样式 - 保持简洁 */
.prcbox_323 .hd {
    text-align: center;
    margin-bottom: 30px;
}

.prcbox_323 .hd ul {
    display: inline-flex;
    gap: 10px;
}

.prcbox_323 .hd ul li {
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    background: #f5f5f5;
}

.prcbox_323 .hd ul li:hover {
    color: #0085cd;
    background: #e8f4f8;
}

.prcbox_323 .hd ul li.on {
    color: white;
    background: #0085cd;
}

/* Tab内容区域 */
.prcbox_323 .bd {
    min-height: 400px;
}

.prcbox_323 .bd ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prcbox_323 .bd li {
    width: calc(25% - 15px) !important;
    margin: 0 !important;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.prcbox_323 .bd li:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.prcbox_323 .bd li .ppic {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f9f9f9;
}

.prcbox_323 .bd li .ppic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.prcbox_323 .bd li:hover .ppic img {
    transform: scale(1.1);
}

/* 产品标题样式 */
.prcbox_323 .bd li .tit {
    padding: 15px;
    text-align: center;
    background: white;
    position: relative;
}

.prcbox_323 .bd li .tit span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    transition: color 0.3s;
}

.prcbox_323 .bd li:hover .tit span {
    color: #0085cd;
}

/* 移除查看详情按钮（保持简洁） */

/* 查看更多按钮 - 简洁样式 */
.prcbox_323 .pmore {
    text-align: center;
    margin-top: 40px;
}

.prcbox_323 .pmore a {
    display: inline-block;
    padding: 12px 35px;
    background: white;
    border: 2px solid #0085cd;
    color: #0085cd;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s;
}

.prcbox_323 .pmore a:hover {
    color: white;
    background: #0085cd;
    border-color: #0085cd;
}

/* 平板适配 */
@media (max-width: 1199px) {
    .prcbox_323 .bd li {
        width: calc(33.333% - 14px) !important;
    }
}

@media (max-width: 991px) {
    .prcbox_323 .hd ul li {
        padding: 10px 20px !important;
        font-size: 14px;
    }

    .prcbox_323 .bd li {
        width: calc(50% - 10px) !important;
    }
}

/* 移动端适配 */
@media (max-width: 767px) {
    .prcbox_323 .prctit {
        font-size: 24px;
    }

    .prcbox_323 .hd {
        margin-bottom: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .prcbox_323 .hd ul {
        display: flex;
        flex-wrap: nowrap;
        padding: 4px;
        border-radius: 25px;
        min-width: min-content;
    }

    .prcbox_323 .hd ul li {
        padding: 8px 16px !important;
        font-size: 13px;
        white-space: nowrap;
    }

    .prcbox_323 .bd {
        min-height: auto;
    }

    .prcbox_323 .bd ul {
        gap: 15px;
    }

    .prcbox_323 .bd li {
        width: calc(50% - 7.5px) !important;
    }

    .prcbox_323 .bd li .tit {
        padding: 12px 8px;
    }

    .prcbox_323 .bd li .tit span {
        font-size: 13px;
    }

    /* 移动端隐藏悬停按钮 */
    .prcbox_323 .bd li:after {
        display: none;
    }

    .prcbox_323 .pmore a {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .prcbox_323 .bd li {
        width: 100% !important;
    }
}

/* 加载动画 */
@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

.prcbox_323 .bd li.loading .ppic {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
