/* Стили для превью продуктов */
.featured-products {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f1f1;
}

.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-preview-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #3498db;
}

.product-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.product-preview-card img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.product-preview-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-preview-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.preview-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.preview-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.all-products-link {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .products-preview {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-preview-card {
        padding: 1rem;
    }
}
