/* Catalogue Mister Vanlife — reprend le rendu de l'ancienne boutique WooCommerce (GeneratePress). */

/* Fil d'Ariane */
.mv-fil {
	font-size: 0.92em;
	color: #767676;
	margin: 0 0 1em;
}
.mv-catalogue .mv-fil a {
	color: #767676;
	text-decoration: none;
}
.mv-catalogue .mv-fil a:hover {
	color: var(--contrast);
}

/* Barre au-dessus de la grille */
.mv-outils {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 2.5em;
}
.mv-compte {
	margin: 0;
	font-size: 13px;
}
.mv-description-terme {
	margin-bottom: 1.5em;
}

/* Grille de produits : 4 colonnes, 2 sur tablette, 1 sur mobile, 40 px d'écart */
.mv-grille {
	list-style: none;
	margin: 0 0 2.5em;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px;
}
@media (max-width: 1024px) {
	.mv-grille {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 768px) {
	.mv-grille {
		grid-template-columns: minmax(0, 1fr);
	}
}
.mv-carte {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.mv-carte-lien {
	display: block;
	width: 100%;
	color: var(--contrast);
	text-decoration: none;
}
.mv-carte-lien:hover {
	color: var(--contrast-2);
}
.mv-carte-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.mv-carte-titre {
	font-size: 1em;
	font-weight: 400;
	line-height: 1.3;
	margin: 1.4em 0 1.2em;
	color: inherit;
}
.mv-carte .mv-carte-bouton {
	margin-top: auto;
	padding: 10px 20px;
	line-height: 1.5;
	text-decoration: none;
}

/* Pagination */
.mv-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}
.mv-pagination li {
	margin: 0;
}
.mv-pagination a,
.mv-pagination span {
	display: inline-block;
	min-width: 2.4em;
	padding: 0.5em 0.8em;
	border: 1px solid #e8e8e8;
	text-align: center;
	color: var(--contrast);
	text-decoration: none;
	line-height: 1;
}
.mv-pagination .current {
	background: var(--contrast);
	border-color: var(--contrast);
	color: var(--base-3);
}

/* Fiche produit : image à gauche, résumé à droite */
.mv-fiche-haut {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 4%;
	align-items: start;
	margin-bottom: 3em;
}
@media (max-width: 768px) {
	.mv-fiche-haut {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.5em;
	}
}
.mv-fiche-image img {
	display: block;
	width: 100%;
	height: auto;
}
.mv-fiche-resume .product_title {
	margin-bottom: 0.6em;
}
.mv-fiche-resume > * + * {
	margin-top: 1.5em;
}
.mv-fiche-courte {
	color: var(--contrast);
}
.mv-fiche-meta {
	border-top: 1px solid #e8e8e8;
	padding-top: 1.5em;
	font-size: 13px;
}
.mv-fiche-meta a {
	color: var(--contrast);
	text-decoration: none;
}
.mv-fiche-description > h2:first-child {
	margin-bottom: 1em;
}
.mv-similaires {
	margin-top: 3em;
}
.mv-similaires > h2 {
	margin-bottom: 1.2em;
}
