/* Style général */
.cs-table {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.cs-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cs-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.cs-link {
    text-decoration: none;
    display: block;
    padding: 15px;
}

.cs-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.cs-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0 10px;
    color: #333;
}

.cs-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
    line-height: 1.4;
}

.cs-price {
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

/* Style des titres de catégories */
.cs-categorie-title {
    font-size: 28px;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e74c3c;
    color: #333;
}

.cs-categorie-title:first-of-type {
    margin-top: 0;
}

/* Pagination */
.cs-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.cs-page {
    display: inline-block;
    padding: 8px 14px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.cs-page:hover {
    background: #e74c3c;
    color: #fff;
}

.cs-page-active {
    background: #e74c3c;
    color: #fff;
}

.cs-prev, .cs-next {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .cs-table {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .cs-title {
        font-size: 16px;
    }
    
    .cs-price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .cs-table {
        grid-template-columns: 1fr;
    }
}