/* ==========================================================================
   Simple Product Slider for Elementor - product card (shared by slider and gallery)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */
.ecps-card {
	height: 100%;
	overflow: hidden;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
}
.ecps-image-wrap {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.ecps-image-wrap img,
.ecps-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ecps-card-content {
	--ecps-content-gap: 9px;
	padding: 12px;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--ecps-content-gap);
}
.ecps-title {
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
}
.ecps-title a { color: inherit; text-decoration: none; }
.ecps-price { font-weight: 600; }
.ecps-price del { opacity: .6; font-weight: 400; margin-right: 5px; }
.ecps-price ins { text-decoration: none; }
.ecps-rating .star-rating { margin: 0; float: none; }
.ecps-button {
	display: inline-block;
	margin-top: auto;
	padding: 9px 14px;
	border-radius: 4px;
	background: #222;
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 1.3;
}
.ecps-button:hover { opacity: .86; color: #fff; }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.ecps-badge {
	position: absolute;
	z-index: 2;
	top: 10px;
	padding: 6px 10px;
	border-radius: 0;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.ecps-sale-badge { left: 10px; background: #d63638; }
.ecps-new-badge { right: 10px; background: #ff5a36; }

/* Editor notice when there are no products. */
.ecps-empty { padding: 12px; border: 1px dashed #ccc; }
