/* ---- Grille (≤4 produits) ---- */
.ps-grid {
	display: grid;
	grid-template-columns: repeat(var(--ps-cols, 4), 1fr);
	gap: var(--ps-gap, 24px);
}

@media (max-width: 1024px) {
	.ps-grid {
		grid-template-columns: repeat(var(--ps-cols-tablet, 2), 1fr);
	}
}

@media (max-width: 600px) {
	.ps-grid {
		grid-template-columns: repeat(var(--ps-cols-mobile, 1), 1fr);
	}
}

/* ---- Slider ---- */
.ps-slider {
	position: relative;
	padding-bottom: 10px;
}

.ps-slider .swiper-slide {
	height: auto;
	display: flex;
}

.ps-slider .swiper-button-prev,
.ps-slider .swiper-button-next {
	color: #111111;
	background: #ffffff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.ps-slider .swiper-button-prev::after,
.ps-slider .swiper-button-next::after {
	font-size: 16px;
}

.ps-slider .swiper-pagination-bullet-active {
	background: #111111;
}

/* ---- Carte produit ---- */
.ps-card,
.ps-card__link {
	display: flex;
	flex-direction: column;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

/* Carte blanche = uniquement l'image + le badge */
.ps-card__surface {
	position: relative;
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ps-card__link:hover .ps-card__surface {
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.ps-card__badges {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ps-badge {
	font-family: "Tusker Grotesk", sans-serif;
	display: inline-block;
	padding: 6px 12px 5px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3%;
	text-transform: uppercase;
	border-radius: 0;
}

.ps-badge--new {
	background: #111111;
}

.ps-badge--limited {
	background: #e33629;
}

.ps-badge--default {
	background: #444444;
}

/* ---- Image wrap : conteneur des 2 images superposées ---- */
.ps-card__image-wrap {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
	padding: 24px;
}

.ps-card__image {
	max-width: 100% !important;
	height: 320px !important;
	object-fit: contain;
	transition: opacity 0.4s ease;
}

/* Image 1 (produit détouré) : au-dessus, visible par défaut */
.ps-card__image--primary {
	position: relative;
	z-index: 2;
	opacity: 1;
}

/* Image 2 (photo portée) : en dessous, cover plein cadre, cachée par défaut */
.ps-card__image--hover {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover;
	z-index: 1;
	opacity: 0;
}

/* Au survol : fade out de l'image 1, fade in de l'image 2 */
.ps-card__link:hover .ps-card__image--primary {
	opacity: 0;
}

.ps-card__link:hover .ps-card__image--hover {
	opacity: 1;
}

.ps-card__no-image {
	width: 100%;
	min-height: 200px;
	background: #f2f2f2;
}

.ps-card__body {
	padding: 16px 4px 0;
	background: transparent;
}

.ps-card__title {
	padding: 0 0 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	color: #ffffff;
}

.ps-card__categorie {
	margin: 0 0 10px;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 3%;
	text-transform: uppercase;
	color: #a8a8a8;
	font-family: "Tusker Grotesk", sans-serif;
}

.absolute-titre {
	position: relative;
}
.absolute-titre .elementor-widget-image {
	position: absolute;
	width: 100%;
	left: 0;
	z-index: 1;
	top: 50%;
	transform: translateY(-50%);
}

.ps-card__prix {
	padding: 10px 0 0 !important;
	font-size: 18px;
	font-weight: 500;
	color: #ffffff;
	font-family: "Tusker Grotesk", sans-serif;
}

.ps-empty {
	text-align: center;
	padding: 40px 0;
	opacity: 0.6;
}
