.produits-galerie-filtres {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 0 auto 30px;
	width: 100%;
	justify-content: start;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding: 0 10px 15px;
	font-family: "Barlow", sans-serif;
}

body button.produits-galerie-filtre {
	background-color: #fff;
	color: #000;
	background: none;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 8px 15px;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	white-space: nowrap;
	flex: 0 0 auto;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body button.produits-galerie-filtre:hover,
body button.produits-galerie-filtre:focus-visible,
body button.produits-galerie-filtre.current {
	background-color: #000;
	color: #fff;
	border: 1px solid transparent;
}

/* Masonry en colonnes JS (voir diruy-extra-produit-galerie.js) : évite de recalculer les cartes déjà affichées */
.produits-galerie-grille {
	display: flex;
	align-items: flex-start;
	gap: var(--produits-galerie-ecart, 20px);
	transition: opacity 0.2s ease;
}

.produits-galerie-grille.loading {
	opacity: 0.4;
	pointer-events: none;
}

.produits-galerie-colonne {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-width: 0;
	gap: var(--produits-galerie-ecart, 20px);
}

.produits-galerie-card {
	width: 100%;
	cursor: pointer;
}

.produits-galerie-card figure {
	margin: 0;
	overflow: hidden;
	border-radius: 0;
}

.produits-galerie-card img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}

.produits-galerie-card:hover img {
	transform: scale(1.04);
}

.produits-galerie-plus {
	margin-top: 20px;
	text-align: center;
}

.produits-galerie-plus-btn {
	background: none;
	border: 1px solid currentColor;
	border-radius: 30px;
	padding: 12px 28px;
	cursor: pointer;
	font: inherit;
	line-height: 1.2;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.produits-galerie-plus-btn:hover {
	background-color: #000;
	color: #fff;
}

.produits-galerie-plus-btn[hidden] {
	display: none;
}

.produits-galerie-plus-btn[disabled] {
	opacity: 0.5;
	cursor: default;
}


