.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.products-subtitle {
    color: #666;
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
}

.product-card {
    background: white;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.product-slider-container {
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-slide.active {
    opacity: 1;
    z-index: 1;
}

.product-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slider-nav.prev {
    left: 12px;
}

.slider-nav.next {
    right: 12px;
}

.slider-nav i {
    font-size: 18px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(167, 167, 167, 0.8);
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.2));

    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    width: 24px;
    border-radius: 10px;
    background: #c0392b;
    border-color: #a72e20;
}

.product-info {
    padding: 12px;
    background: white;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-name a {
    color: #2c3e50;
    text-decoration: none;
}

.product-name a:hover {
    color: #c0392b;
}

.product-caption {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-caption p {
    margin: 0;
}

.product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ee4d2d;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.product-button:hover {
    background: #d73211;
}

.product-button i {
    font-size: 12px;
}

.no-products {
    text-align: center;
    padding: 60px;
    color: #666;
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .products-container {
        padding: 20px 10px;
    }
    
    .products-header {
        padding: 0 16px;
    }
    
    .products-title {
        font-size: 1.5rem;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 0.85rem;
    }
    
    .product-caption {
        font-size: 0.7rem;
    }
    
    .slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .slider-nav i {
        font-size: 16px;
    }
    
    .slider-nav.prev {
        left: 8px;
    }
    
    .slider-nav.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
}