/* Homesheel Social Proof — product cards + single */
:root {
	--hssp-star: #1a1a1a;
	--hssp-accent: #e31c23;
	--hssp-price: #e31c23;
	--hssp-sold: #e6393f;
	--hssp-text: #1a1a1a;
	--hssp-title: #1a1a1a;
}

.hssp-badge {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 4px;
	margin: 6px 0 8px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--hssp-text);
	text-align: left;
}

.product-small .hssp-badge,
.product .hssp-badge--loop {
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

.hssp-badge--single {
	align-items: flex-start;
	font-size: 14px;
	margin: 8px 0 12px;
}

.hssp-sep {
	display: none;
}

.hssp-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.hssp-stars {
	display: inline-flex;
	align-items: center;
	gap: 1px;
	line-height: 1;
	vertical-align: middle;
}

.hssp-star {
	position: relative;
	display: inline-block;
	font-size: 13px;
	line-height: 1;
	width: 1em;
	height: 1em;
	font-family: "Segoe UI Symbol", "Apple Color Emoji", sans-serif;
}

.hssp-star__base {
	color: #d0d0d0;
}

.hssp-star.is-full .hssp-star__base {
	color: #1a1a1a !important;
}

.hssp-star.is-half .hssp-star__fill {
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: #1a1a1a !important;
	line-height: 1;
}

.hssp-rating__text {
	font-weight: 600;
	color: var(--hssp-text);
	font-size: 0.95em;
}

.hssp-reviews {
	font-weight: 500;
	color: var(--hssp-text);
	font-size: 0.95em;
}

.hssp-sold {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	color: var(--hssp-sold, #e6393f);
	font-weight: 500;
	white-space: nowrap;
}

.hssp-warranty {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 6px;
	color: var(--hssp-text);
	font-weight: 500;
	white-space: nowrap;
}

.hssp-sold__icon,
.hssp-warranty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: currentColor;
	line-height: 0;
}

.hssp-sold__icon svg,
.hssp-warranty__icon svg {
	display: block;
}

/* Force Flatsome product card title + price left */
.product-small .box-text,
.product-small .box-text.text-center,
.product-small .box-text.text-center .title-wrapper,
.product-small .box-text.text-center .price-wrapper,
.product-small .product-title,
.product-small .name.product-title,
.product-small .price,
.product-small .price-wrapper {
	text-align: left !important;
}

.product-small .box-text .hssp-badge {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

/* Title black; price red (brand) */
.product-small .product-title,
.product-small .name.product-title,
.product-small .product-title a {
	color: var(--hssp-title) !important;
	font-weight: 600;
	line-height: 1.35;
}

.product-small .price,
.product-small .price-wrapper,
.product-small .price-wrapper .price,
.product-small .box-text .price,
.product-small .box-text .price-wrapper,
.product-small .price .amount,
.product-small .price .woocommerce-Price-amount,
.product-small .price .woocommerce-Price-amount bdi,
.product-small .price ins,
.product-small .price ins .amount,
.product-small .price ins .woocommerce-Price-amount,
.product-small .price ins .woocommerce-Price-amount bdi,
.product-small .price > .amount,
.product-small .price > .woocommerce-Price-amount,
.product-small .price > span,
body .product-small .price .woocommerce-Price-amount.amount,
body.woocommerce .product-small .price {
	color: var(--hssp-price, #e31c23) !important;
	font-weight: 700;
}

.product-small .price del,
.product-small .price del .amount,
.product-small .price del .woocommerce-Price-amount,
.product-small .price del .woocommerce-Price-amount bdi {
	color: #b0b0b0 !important;
	font-weight: 500;
}

/* Soft product card hover */
.product-small.box,
.product-small .col-inner,
.products .product-small {
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-small.box {
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
}

.product-small.box:hover,
.products .product-small:hover .col-inner,
.row .product-small.box:hover {
	transform: translateY(-5px);
	box-shadow: 0 14px 32px rgba(26, 26, 26, 0.08);
}

.product-small .box-image,
.product-small .box-image .image-cover,
.product-small .box-image img {
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-small.box:hover .box-image img,
.product-small:hover .box-image img {
	transform: scale(1.035);
}

.product-small .box-text {
	transition: opacity 0.35s ease;
}

/* Keep Flatsome title/price rhythm tidy */
.product-small .title-wrapper + .hssp-badge,
.product-small .product-title + .hssp-badge {
	margin-top: 4px;
}

.product-small .hssp-badge + .price-wrapper,
.product-small .hssp-badge + .price {
	margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.product-small.box,
	.product-small .col-inner,
	.products .product-small,
	.product-small .box-image img {
		transition: none;
	}

	.product-small.box:hover,
	.products .product-small:hover .col-inner,
	.row .product-small.box:hover,
	.product-small.box:hover .box-image img,
	.product-small:hover .box-image img {
		transform: none;
	}
}

@media (max-width: 549px) {
	.hssp-badge--loop {
		font-size: 11px;
		gap: 3px;
	}

	.hssp-star {
		font-size: 12px;
	}

	.product-small.box:hover,
	.products .product-small:hover .col-inner {
		transform: translateY(-3px);
		box-shadow: 0 10px 22px rgba(26, 26, 26, 0.07);
	}
}
