/* Home carousel cards — measured from the reference (265px item). */
body.hv-home .hv-products-section li.product.hv-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 12px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(0, 102, 204, .15);
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 102, 204, .08);
	font-family: 'Lato', sans-serif;
	color: #334155;
	text-align: left;
	transition: transform .22s, box-shadow .22s;
}

body.hv-home .hv-products-section li.product.hv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 102, 204, .16);
}

.hv-card-thumb {
	position: relative;
	overflow: hidden;
}

.hv-card-img {
	display: block;
}

.hv-card-img img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 12.8px;
	aspect-ratio: 300 / 225;
	object-fit: cover;
	transition: transform .35s;
}

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

.hv-card-quick {
	position: absolute;
	top: 5px;
	right: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 33px;
	color: #fff;
	background: #0066cc;
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, background .2s;
}

li.hv-card:hover .hv-card-quick {
	opacity: 1;
	visibility: visible;
}

.hv-card-quick:hover {
	background: #0052a3;
	color: #fff;
}

.hv-card-tip {
	position: absolute;
	right: 0;
	top: 100%;
	margin-top: 6px;
	padding: 4px 8px;
	font-size: 12px;
	line-height: 1.3;
	white-space: nowrap;
	color: #fff;
	background: #1e293b;
	border-radius: 4px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.hv-card-quick:hover .hv-card-tip {
	opacity: 1;
}

.hv-card-meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	margin: 0 0 4px;
}

.hv-card-cat {
	font-size: 13.6px;
	line-height: 1.3;
	font-weight: 400;
	color: #334155;
}

body.hv-home .hv-card-rating .star-rating {
	position: relative;
	display: block;
	width: 5.4em;
	height: 1em;
	overflow: hidden;
	font-family: star, serif;
	font-size: 12.8px;
	line-height: 1;
	letter-spacing: 2px;
	color: #0066cc;
}

body.hv-home .hv-card-rating .star-rating::before {
	content: "sssss";
	position: absolute;
	top: 0;
	left: 0;
	color: rgba(0, 102, 204, .3);
}

body.hv-home .hv-card-rating .star-rating span {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	padding-top: 1.5em;
}

body.hv-home .hv-card-rating .star-rating span::before {
	content: "SSSSS";
	position: absolute;
	top: 0;
	left: 0;
	color: #0066cc;
}

body.hv-home .hv-card-title-link,
body.hv-home .hv-card-title-link:hover,
body.hv-home .hv-card-title {
	text-decoration: none;
}

body.hv-home .hv-card-title {
	margin: 0 0 8px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	color: #1e293b;
	transition: color .2s;
}

li.hv-card:hover .hv-card-title {
	color: #0066cc;
}

.hv-card-price {
	display: block;
	margin: 0 0 7.2px;
	font-size: 14.4px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: #334155;
}

.hv-card-btn {
	display: block;
	width: fit-content;
	margin: 12px auto 0;
	padding: 15px 30px;
	font-size: 16px;
	font-weight: 500;
	line-height: 16px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #0066cc;
	border-radius: 4px;
	transition: background .2s, transform .18s, box-shadow .18s;
}

.hv-card-btn:hover {
	color: #fff;
	background: #0052a3;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 102, 204, .3);
}
