.products {
    padding: 60px 20px;
    background: #f5f5f5;
}

.container {
    max-width: 1300px;
    margin: auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background: white;
    padding: 20px;
}

.image-slider {
    position: relative;
    height: 260px;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 80%;
    opacity: 0;
    transition: 0.3s;
}

.slide.active {
    opacity: 1;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: white;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.product-title {
    margin-top: 20px;
    font-size: 22px;
}

.spec {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

@media(max-width:1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}