/* =============================================================================
   FEMIK - Hover Attributs Archive v1.3.0
   ============================================================================= */

/* Contexte de positionnement — archives WC */
ul.products li.product {
	position: relative !important;
}

/* Contexte de positionnement — Loop Carousel / Loop Grid Elementor */
.e-loop-item,
.elementor-loop-container .elementor-post {
	position: relative !important;
}

/* Overlay — la position top/left/width est calculée par le JS sur l'<img> */
.femik-haa-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	padding: 8px 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
	z-index: 10;
}

/* Groupe (un attribut) */
.femik-haa-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	font-size: 0.78em;
	line-height: 1.3;
}

/* Label attribut */
.femik-haa-label {
	color: #cccccc;
	font-size: 0.9em;
	white-space: nowrap;
	margin-right: 2px;
}

.femik-haa-label::after {
	content: ' :';
}

/* Items */
.femik-haa-items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
}

/* Badge texte */
.femik-haa-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	padding: 1px 6px;
	border-radius: 3px;
	font-size: 0.88em;
	white-space: nowrap;
}

/* Swatch couleur */
.femik-haa-swatch {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
}

/* +N */
.femik-haa-more {
	display: inline-block;
	color: #aaaaaa;
	font-size: 0.82em;
	font-style: italic;
}

/* SKU sous le titre */
.femik-haa-sku {
	display: block;
	font-size: 0.75em;
	color: #888888;
	margin-top: 2px;
}