.sy_ver-carousel {
    background-color: #f0f1f2;
    min-height: 100vh;
    position: relative;
}
.sy_ver-carousel::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f1f2;
    z-index: -1;
}
.sy_ver-carousel > * {
    position: relative;
    z-index: 1;
}
.carousel-container {
    max-width: 1600px;
    width: 92%;
    margin: 0 auto;
    padding: 40px 0;
}
.carousel-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-left: 10px;
    color: #333;
}
.carousel-wrapper {
    position: relative;
    margin-bottom: 60px;
    padding: 20px 0;
    border-radius: 4px;
}
.carousel-track-container {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
    width: fit-content;
}
.carousel-slide-item {
    flex-shrink: 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}
.carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.3s, transform 0.3s;
}
.carousel-nav-btn:hover {
    background: rgba(0,0,0,0.6);
    transform: translateY(-50%) scale(1.1);
}
.carousel-nav-prev {
    left: 0;
}
.carousel-nav-next {
    right: 0;
}
.carousel-progress-container {
    width: 100%;
    height: 2px;
    background: #ddd;
    margin-top: 15px;
    position: relative;
}
.carousel-progress-bar {
    height: 100%;
    background: #b90410;
    width: 0%;
    transition: width 0.3s ease;
}
.carousel-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.carousel-dot.active {
    background: #333;
    transform: scale(1.2);
}

/* Section 1 - 产品分类 */
#section-1 .carousel-wrapper {
    background: transparent;
    padding: 0 60px !important;
}
#section-1 .carousel-track-container {
    padding: 10px 0;
}
#section-1 .carousel-track {
    gap: 10px;
}
#section-1 .carousel-slide-item {
    background: transparent;
    text-align: center;
    transition: transform 0.3s ease;
    width: calc(16.666% - 8.33px) !important;
    flex: 0 0 calc(16.666% - 8.33px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    flex-shrink: 0;
}
#section-1 .carousel-slide-item:hover {
    transform: translateY(-3px);
}
#section-1 img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
#section-1 .carousel-slide-item:hover img {
    transform: scale(1.05);
}
#section-1 .carousel-item-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    padding: 0 5px;
}

/* Section 2 - 热销产品 */
#section-2 .carousel-wrapper {
    background: transparent;
    padding: 0 60px !important;
}
#section-2 .carousel-track-container {
    padding: 10px 0;
}
#section-2 .carousel-track {
    gap: 15px;
}
#section-2 .carousel-slide-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: transparent;
    width: calc(33.333% - 10px) !important;
    flex: 0 0 calc(33.333% - 10px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    flex-shrink: 0;
}
#section-2 .carousel-slide-item:hover {
    transform: translateY(-5px);
}
#section-2 .carousel-product-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}
#section-2 .carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#section-2 .carousel-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
}
#section-2 .carousel-overlay {
    text-align: left;
}
#section-2 .carousel-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
#section-2 .carousel-more-btn {
    align-self: flex-end;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
#section-2 .carousel-more-btn:hover {
    background: white;
    color: #b90410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Section 4 - 视频轮播 */
#section-4 .carousel-wrapper {
    background: transparent;
    padding: 0 60px !important;
}
#section-4 .carousel-track-container {
    padding: 10px 0;
}
#section-4 .carousel-track {
    gap: 15px;
}
#section-4 .carousel-slide-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    width: calc(33.333% - 10px) !important;
    flex: 0 0 calc(33.333% - 10px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    aspect-ratio: 16/9;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #1a1a1a;
}
#section-4 .carousel-slide-item:hover {
    transform: translateY(-5px);
}
#section-4 .carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
#section-4 .carousel-slide-item:hover .carousel-slide-img {
    transform: scale(1.05);
}
#section-4 .carousel-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    background: rgba(0,0,0,0.7);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    z-index: 3;
}
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
    border: 2px solid rgba(255,255,255,0.2);
}
#section-4 .carousel-slide-item:hover .video-play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(215, 3, 18, 0.85);
}

/* Section 3 - 焦点文章 */
#section-3 .carousel-wrapper {
    background: transparent;
    padding: 0 60px !important;
}
#section-3 .carousel-track-container {
    padding: 10px 0;
}
#section-3 .carousel-track {
    gap: 15px;
}
#section-3 .carousel-slide-item {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    width: calc(33.333% - 10px) !important;
    flex: 0 0 calc(33.333% - 10px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    flex-shrink: 0;
}
#section-3 .carousel-slide-item:hover {
    transform: translateY(-5px);
}
#section-3 .carousel-slide-item:hover .carousel-slide-img {
    transform: scale(1.05);
}
#section-3 .carousel-content-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}
#section-3 .carousel-slide-img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    object-fit: cover;
}
#section-3 .carousel-content-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    text-align: center;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.9) 0%, 
        rgba(0,0,0,0.7) 50%, 
        rgba(0,0,0,0.3) 80%, 
        transparent 100%);
    color: white;
}
#section-3 .carousel-title-date {
    margin-bottom: 20px;
}
#section-3 .carousel-item-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
#section-3 .carousel-item-date {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 300;
}
#section-3 .carousel-center-btn {
    position: relative;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
#section-3 .carousel-center-btn:hover {
    background: white;
    color: #d70312;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}
.video-modal-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-overlay.active .video-modal-container {
    transform: scale(1);
}
.video-player-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
#video-modal-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}
.video-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.video-close-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg) scale(1.1);
}
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #d70312;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 1;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== 手机端 768px及以下 ===== */
@media (max-width: 768px) {
    .carousel-container {
        width: 100%;
        padding: 30px 0;
    }
    .carousel-section-title {
        font-size: 20px;
        padding-left: 5px;
    }
    .carousel-wrapper {
        margin-bottom: 40px;
        padding: 15px 0;
    }
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    /* Section 1 - 产品分类（修复居中） */
    #section-1 .carousel-track-container {
        overflow: hidden;
        width: 100%;
        padding: 10px 0;
    }
    #section-1 .carousel-track {
        gap: 12px;
        margin: 0;
    }
    #section-1 .carousel-slide-item {
        width: calc(50% - 6px) !important;
        flex: 0 0 calc(50% - 6px) !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    #section-1 img {
        height: 90px;
        display: block;
        visibility: visible;
        opacity: 1;
        margin-bottom: 8px;
    }
    #section-1 .carousel-item-title {
        font-size: 13px;
        display: block;
        text-align: center;
        padding: 0 2px;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    /* Section 2 - 热销产品（修复小半截） */
    #section-2 .carousel-wrapper {
        padding: 0 36px !important;
    }
    #section-2 .carousel-track-container {
        overflow: hidden;
        width: 100%;
        padding: 10px 0;
    }
    #section-2 .carousel-track {
        gap: 12px;
        margin: 0;
    }
    #section-2 .carousel-slide-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        aspect-ratio: 3/4;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }
    #section-2 .carousel-slide-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        visibility: visible;
    }
    #section-2 .carousel-content-wrapper {
        padding: 15px;
        display: flex;
    }
    #section-2 .carousel-overlay h3 {
        font-size: 18px;
        display: block;
    }
    #section-2 .carousel-more-btn {
        padding: 6px 15px;
        font-size: 10px;
        display: inline-block;
    }
    
    /* Section 4 - 视频轮播（修复小半截） */
    #section-4 .carousel-wrapper {
        padding: 0 36px !important;
    }
    #section-4 .carousel-track-container {
        overflow: hidden;
        width: 100%;
        padding: 10px 0;
    }
    #section-4 .carousel-track {
        gap: 12px;
        margin: 0;
    }
    #section-4 .carousel-slide-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        aspect-ratio: 16/9;
        display: block;
        background: #1a1a1a;
        margin: 0 !important;
        padding: 0 !important;
    }
    #section-4 .carousel-slide-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        visibility: visible;
    }
    #section-4 .carousel-overlay {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 14px;
        display: block;
    }
    #section-4 .video-play-overlay {
        display: flex;
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    #section-4 .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
        background: rgba(0,0,0,0.4);
        display: flex;
    }
    #section-4 .carousel-nav-prev {
        left: 5px !important;
    }
    #section-4 .carousel-nav-next {
        right: 5px !important;
    }
    
    /* Section 3 - 焦点文章（修复小半截） */
    #section-3 .carousel-wrapper {
        padding: 0 36px !important;
    }
    #section-3 .carousel-track-container {
        overflow: hidden;
        width: 100%;
        padding: 10px 0;
    }
    #section-3 .carousel-track {
        gap: 12px;
        margin: 0;
    }
    #section-3 .carousel-slide-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        aspect-ratio: 1/1;
        display: block;
        margin: 0 !important;
        padding: 0 !important;
    }
    #section-3 .carousel-slide-img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        visibility: visible;
    }
    #section-3 .carousel-content-wrapper {
        padding: 20px 15px;
        display: block;
    }
    #section-3 .carousel-item-title {
        font-size: 1.1rem;
        display: block;
    }
    #section-3 .carousel-item-date {
        display: block;
    }
    #section-3 .carousel-center-btn {
        display: inline-block;
    }
    
    .video-modal-container {
        width: 95%;
        aspect-ratio: 16/10;
        border-radius: 8px;
    }
    .video-close-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
        top: 10px;
        right: 10px;
    }
}

/* ===== iPad ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    #section-1 .carousel-slide-item {
        width: calc(25% - 7.5px) !important;
        flex: 0 0 calc(25% - 7.5px) !important;
    }
    #section-2 .carousel-slide-item,
    #section-3 .carousel-slide-item,
    #section-4 .carousel-slide-item {
        width: calc(50% - 7.5px) !important;
        flex: 0 0 calc(50% - 7.5px) !important;
    }
    #section-2 .carousel-overlay h3 {
        font-size: 20px;
    }
    #section-4 .carousel-overlay {
        font-size: 16px;
    }
}

/* ===== 安卓老款手机 360px-400px 专用修复 ===== */
@media (min-width: 360px) and (max-width: 400px) {
    /* Section 1 - 修复显示不完整和偏右问题 */
    #section-1 .carousel-wrapper {
        padding: 0 32px !important;
    }
    #section-1 .carousel-track {
        gap: 10px !important;
        margin: 0;
    }
    #section-1 .carousel-slide-item {
        width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    #section-1 img {
        height: 75px;
    }
    #section-1 .carousel-item-title {
        font-size: 11px;
    }
    
    /* Section 2/3/4 - 确保正常显示 */
    #section-2 .carousel-wrapper,
    #section-3 .carousel-wrapper,
    #section-4 .carousel-wrapper {
        padding: 0 32px !important;
    }
    #section-2 .carousel-slide-item,
    #section-3 .carousel-slide-item,
    #section-4 .carousel-slide-item {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* ===== 超小屏手机 320px 以下 ===== */
@media (max-width: 359px) {
    #section-1 .carousel-wrapper {
        padding: 0 28px !important;
    }
    #section-1 .carousel-track {
        gap: 8px !important;
    }
    #section-1 .carousel-slide-item {
        width: calc(50% - 4px) !important;
        flex: 0 0 calc(50% - 4px) !important;
    }
    #section-1 img {
        height: 65px;
    }
    #section-1 .carousel-item-title {
        font-size: 10px;
    }
    
    #section-2 .carousel-wrapper,
    #section-3 .carousel-wrapper,
    #section-4 .carousel-wrapper {
        padding: 0 28px !important;
    }
}

/* Hide video elements */
#section-4 video,
#section-4 .video-protection-layer,
#section-4 .lazy-video,
#section-4 .video-playing-indicator {
    display: none !important;
}

/* Hide download button */
#video-modal-player::-internal-media-controls-download-button,
#video-modal-player::-webkit-media-controls-download-button {
    display: none !important;
}

/* ===== 大桌面显示器 1920x1080 ===== */
@media (min-width: 1920px) {
    #section-1 .carousel-slide-item {
        width: calc(16.666% - 18.33px) !important;
        flex: 0 0 calc(16.666% - 18.33px) !important;
    }
    }
}
