.products-slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
}
.products-slider {
    display: flex;
    transition: transform 0.3s ease;
    margin-bottom: 15px;
    will-change: transform;
}
.product-item {
    flex: 0 0 100%; /* 모바일에서 항상 100% 너비 */
    padding: 10px;
    box-sizing: border-box;
    user-select: none;
}
/* 태블릿 및 데스크탑 뷰 */
@media (min-width: 481px) {
    .product-item {
        flex: 0 0 50%; /* 태블릿은 50% */
    }
}
@media (min-width: 769px) {
    .product-item {
        flex: 0 0 33.333%; /* 데스크탑은 33.333% */
    }
}
.product-item-inner {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    height:90%;
    transition: transform 0.3s;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

a:hover {text-decoration:none !important;}
.product-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 10px;
    pointer-events: none;
}
.product-item h3 {
    text-align: center;
    margin-top: 0;
    font-size: 16px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: keep-all;
    max-height: 40px;
}
.product-item p {
    margin: 5px 0;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex-grow: 1;
}
.product-item .go_price {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #ff0000;
    margin-top: 10px;
    white-space: nowrap;
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 10;
    font-size: 16px;
    border: 1px solid #eee;
}
.slider-prev {
    left: 5px;
}
.slider-next {
    right: 5px;
}
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.slider-dot {
    width: 8px;
    height: 8px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-dot.active {
    background: #666;
    transform: scale(1.2);
}