.products-section {
    padding: 0;
}
.products-section .container {
    padding: 0 !important;
    width: 100%;
}
.products-slider-wrapper {
    position: relative;
    padding: 0  ;

    width: 100%;
    overflow: hidden;
}
.slider-btn {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    background: #f6f6f7;
    color: #000;
    font-size: 25px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.slider-btn:hover {
    background: #f6f6f8;
}
.prev-btn { left: 0; }
.next-btn { right: 0; }
.products-grid {
    padding: 0 50px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 300px;
    transition: transform 0.3s ease;
}
.product-card {
    flex: 0 0 25%;
    background-color: var(--white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: var(--transition);
}
.product-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
.product-info {
    padding: 1rem;
}
.product-info h3 {
    font-size: 1.2rem;
    color:  #2d4a8a;
    margin-bottom: 0.5rem;
}
.product-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.product-btn-xq {
    width: 190px;
    max-width: 250px;
    height: 45px;
    background-color:#2ecc71;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}
.product-btn-xq:hover {
    background-color: #779ceb;
    color: var(--white) ;
    text-decoration: none;
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 100%;
    }
    .slider-btn {
        width: 40px;
        font-size: 25px;
    }
    .products-grid {
        padding: 0 40px;
    }
}




/* 拖拽交换样式优化 */
.product-card {
    cursor: grab;
    user-select: none;
    transition: transform 0.2s ease;
}
.product-card:active {
    cursor: grabbing;
}
.products-grid {
    cursor: grab;
}
.products-grid:active {
    cursor: grabbing;
}