/* ==========================================================================
   INERGIX – product card component
   Shared by the homepage grids/carousels and the whole WooCommerce store
   (shop, 61 category archives, product "Vous aimerez aussi"). shop.css only
   adds store-scoped measurements on top of this base.
   ========================================================================== */

/* Product card ----------------------------------------------------------- */
.ix-card {
	display: flex;
	flex-direction: column;
	min-height: 384.34px;
	border: 1px solid var(--ix-border);
	border-radius: var(--ix-radius);
	background: #fff;
	line-height: 22.4px;
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ix-card:hover {
	border-color: rgba(0, 0, 0, 0.18);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.ix-card-media {
	position: relative;
	border-radius: 19px 19px 0 0;
}

.ix-card-img {
	display: block;
	border-radius: 19px 19px 0 0;
	overflow: hidden;
	background: #fff;
}

.ix-card-img img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	transition: transform 0.35s ease;
}

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

.ix-card-label {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 12px;
	background: var(--ix-dark);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 14.4px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.ix-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 15px;
}

.ix-card-cat {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	line-height: 22.4px;
	color: var(--ix-muted-strong);
	white-space: normal;
	overflow-wrap: anywhere;
}

.ix-card-cat a:hover {
	color: var(--ix-primary-ink);
}

.ix-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	min-height: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 22.4px;
	color: var(--ix-text);
}

.ix-card-title a:hover {
	color: var(--ix-primary-ink);
}

.ix-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding: 15px;
	border-top: 1px solid transparent;
}

.ix-card-price {
	max-width: 100%;
	font-size: 16px;
	font-weight: 600;
	line-height: 22.4px;
	color: var(--ix-primary-ink);
	white-space: normal;
}

.ix-card-price .amount {
	color: inherit;
	white-space: nowrap;
}

.ix-card-price del {
	color: var(--ix-muted-strong);
	font-weight: 400;
	font-size: 14px;
	margin-right: 4px;
	text-decoration: line-through;
}

.ix-card-price ins {
	text-decoration: none;
	color: inherit;
}

@media (max-width: 768px) {
	.ix-card {
		min-height: 0;
	}
}
