Catalogue de produits

/* ===== Product Catalog v3: GP Minimal Design ===== */
.cat-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.cat-header { padding: 50px 0 24px; }
.cat-header h1 { font-size: 28px; font-weight: 800; color: #222; margin: 0 0 8px 0; }
.cat-header p { font-size: 15px; color: #555; margin: 0 0 4px 0; line-height: 1.6; max-width: 780px; }
.cat-header .cat-count { font-size: 13px; color: #999; }

/* Layout */
.cat-body { display: flex; gap: 32px; padding-bottom: 60px; }

/* Sidebar */
.cat-sidebar { width: 260px; flex-shrink: 0; }
.cat-sidebar-widget { border: 1px solid #e5e5e5; margin-bottom: 16px; }
.cat-sidebar-widget h5 {
background: #FEAF06; color: #fff; font-size: 12px; font-weight: 700;
text-transform: uppercase; letter-spacing: 0.06em; padding: 10px 14px; margin: 0;
}
.cat-sidebar-widget-body { padding: 12px; }

/* Search */
.cat-search-row { display: flex; gap: 0; }
.cat-search-row input { flex: 1; border: 1px solid #ddd; border-right: none; }
.cat-search-input {
width: 100%; padding: 8px 10px; font-size: 13px; border: 1px solid #ddd; box-sizing: border-box;
}
.cat-search-btn {
background: #0A1F3F; color: #fff; font-size: 13px; font-weight: 600;
text-transform: uppercase; padding: 8px 14px; border: none; cursor: pointer;
}

/* Category tree */
.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree > li { border-bottom: 1px solid #e5e5e5; }
.cat-tree > li:last-child { border-bottom: none; }
.cat-tree a { text-decoration: none; display: flex; justify-content: space-between; align-items: center; }
.cat-tree-cat {
font-size: 13px; font-weight: 700; color: #CC3366; padding: 8px 14px;
}
.cat-tree-cat:hover { background: #F8F9FA; }
.cat-tree-sub { list-style: none; margin: 0; padding: 0; background: #F8F9FA; }
.cat-tree-sub a {
font-size: 12px; color: #555; font-weight: 600; padding: 6px 14px 6px 24px;
}
.cat-tree-sub a:hover { color: #CC3366; }
.cat-tree-sub-sub { list-style: none; margin: 0; padding: 0; background: #fff; }
.cat-tree-sub-sub a {
font-size: 11px; color: #888; font-weight: 400; padding: 4px 14px 4px 34px;
}
.cat-tree-sub-sub a:hover { color: #CC3366; }
.cat-tree .count { font-size: 11px; color: #999; font-weight: 400; min-width: 28px; text-align: right; }

/* Filter bar */
.cat-main { flex: 1; min-width: 0; }
.cat-filter { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.cat-filter-btns { display: flex; gap: 0; flex-wrap: wrap; }
.cat-filter-btn {
font-size: 13px; font-weight: 600; padding: 8px 18px; border: 1px solid #ddd;
background: #fff; color: #555; cursor: pointer; text-decoration: none; display: inline-block;
}
.cat-filter-btn.active, .cat-filter-btn:hover { background: #FEAF06; color: #0A1F3F; border-color: #FEAF06; }
.cat-sort { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; }
.cat-sort select { border: 1px solid #ddd; padding: 8px 10px; font-size: 13px; background: #fff; color: #444; }

/* Product grid */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-product { background: #fff; border: 1px solid #e5e5e5; transition: border-color 0.2s; overflow: hidden; }
.cat-product:hover { border-color: #999; }
.cat-product a { text-decoration: none; color: inherit; display: block; }
.cat-product-swatch {
width: 100%; aspect-ratio: 1; overflow: hidden; background: #F8F9FA;
display: flex; align-items: center; justify-content: center;
}
.cat-product-swatch img {
width: 100%; height: 100%; object-fit: cover; display: block;
}
.cat-swatch-fallback {
display: block; width: 100%; height: 100%;
}
.cat-product-body { padding: 14px; }
.cat-product-body h3 {
font-size: 14px; font-weight: 700; color: #222; margin: 0 0 4px 0;
line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-product-ci {
display: inline-block; background: #F8F9FA; color: #666; font-size: 11px;
font-weight: 600; padding: 2px 8px; margin-bottom: 6px;
}
.cat-product-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cat-product-tag {
font-size: 10px; background: #E8F0FE; color: #1A56DB; padding: 2px 7px;
white-space: nowrap;
}

/* Pagination */
.cat-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; flex-wrap: wrap; }
.cat-pagination .page-numbers {
font-size: 13px; font-weight: 600; padding: 8px 14px; border: 1px solid #ddd;
background: #fff; color: #555; text-decoration: none; min-width: 38px; text-align: center;
}
.cat-pagination .page-numbers.current {
background: #0A1F3F; color: #fff; border-color: #0A1F3F;
}
.cat-pagination .page-numbers:hover:not(.current) { border-color: #999; }

/* Responsive */
@media (max-width: 1024px) {
.cat-grid { grid-template-columns: repeat(2, 1fr); }
.cat-sidebar { display: none; }
}
@media (max-width: 640px) {
.cat-grid { grid-template-columns: 1fr; }
}

/* Empty state */
.cat-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #999; font-size: 15px; }