/* Home featured products */

.plx-home-featured-products {
	background: var(--color-surface);
}

.plx-home-featured-products-wrap>.module-title,
.moduletable.plx-home-featured-products-wrap>.module-title {
	color: var(--color-primary);
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.35rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.02em;
	max-width: 44rem;
	margin: 0 auto clamp(2.25rem, 4vw, 3.5rem);
	text-align: center;
}

.plx-home-featured-products__module {
	width: 100%;
}

.plx-home-featured-products__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 1.6vw, 1.35rem);
}

.plx-home-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	padding: 0;
	border: 1px solid var(--color-surface-soft);
	border-radius: var(--bs-border-radius-xl);
	background: var(--color-white);
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
	overflow: hidden;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.plx-home-product-card:hover,
.plx-home-product-card:focus-within {
	transform: translateY(-3px);
	border-color: rgba(var(--color-primary-rgb), 0.16);
	box-shadow: 0 1.15rem 2.75rem rgba(var(--color-black-rgb), 0.13);
}

.plx-home-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	width: 100%;
	margin-bottom: 0.7rem;
	padding: 0.65rem;
	border-radius: var(--bs-border-radius-xl) var(--bs-border-radius-xl) 0 0;
	background: var(--color-surface-soft);
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
}

.plx-home-product-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	filter: brightness(1.02) contrast(1.02) saturate(1.02);
	transition: transform 0.2s ease;
}

.plx-home-product-card:hover .plx-home-product-card__media img,
.plx-home-product-card:focus-within .plx-home-product-card__media img {
	transform: scale(1.025);
}

.plx-home-product-card__favorite {
	position: absolute;
	top: 0.95rem;
	left: 0.95rem;
	z-index: 4;
}

.plx-home-product-card__favorite .vme-allbuttons-container,
.plx-home-product-card__favorite .vmessentials-form {
	margin: 0;
}

.plx-home-product-card__favorite .vme-list-inline {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plx-home-product-card__favorite .vme-list-inline>li {
	margin: 0;
	padding: 0;
}

.plx-home-product-card__favorite .vme-hide {
	display: none !important;
}

.plx-home-product-card__favorite .btn-vme-round:not(.vme-hide) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--color-primary);
	font-size: 1rem;
	line-height: 1;
	text-decoration: none;
	transition: color 0.18s ease, transform 0.18s ease;
}

.plx-home-product-card__favorite .btn-vme-round:not(.vme-hide):hover,
.plx-home-product-card__favorite .btn-vme-round:not(.vme-hide):focus {
	transform: translateY(-1px);
	color: var(--color-primary);
}

.plx-home-product-card__favorite .btn-item-added:not(.vme-hide) {
	color: var(--color-danger);
}

.plx-home-product-card__favorite .plx-wishlist-icon,
.plx-home-product-card__favorite .fa {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	line-height: 1;
}

.plx-home-product-card__favorite .vme-tooltip {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.plx-home-product-card__badge {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3.8rem;
	min-height: 3.25rem;
	padding: 0.55rem 0.75rem;
	border-bottom-left-radius: 1rem;
	background: var(--color-danger);
	color: var(--color-white);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
}

.plx-home-product-card__body {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	padding: 0.1rem 0.9rem 0.9rem;
}

.plx-home-product-card__title {
	margin: 0 0 0.45rem;
	color: var(--color-text-strong);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	text-align: left;
}

.plx-home-product-card__title a {
	display: -webkit-box;
	overflow: hidden;
	min-height: 2.6em;
	color: inherit;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.plx-home-product-card__title a:hover,
.plx-home-product-card__title a:focus {
	color: var(--color-primary);
}

.plx-home-product-card__rating {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 1.15rem;
	margin-bottom: 0.65rem;
	color: var(--color-rating-active);
	font-size: 0.78rem;
	line-height: 1;
	text-align: left;
}

.plx-home-product-card__rating .vm-ratingbox-container {
	display: inline-flex !important;
}

.plx-home-product-card__rating .vm-ratingbox-rated {
	color: var(--color-rating-active);
}

.plx-home-product-card__rating .vm-ratingbox-unrated {
	color: var(--color-rating-empty);
}

.plx-home-product-card__rating-value {
	color: var(--color-text-strong);
	font-size: 0.78rem;
	font-weight: 600;
}

.plx-home-product-card__desc {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 0.75rem;
	color: var(--color-text-muted);
	font-size: 0.84rem;
	line-height: 1.45;
	text-align: left;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.plx-home-product-card__price {
	display: flex;
	align-items: baseline;
	justify-content: flex-start !important;
	gap: 0.55rem;
	margin-top: auto;
	margin-bottom: 0.2rem;
	padding-right: 3.6rem;
	text-align: left;
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text-strong);
}

.plx-home-product-card__price .vm-price-value,
.plx-home-product-card__price .vm-prices-info {
	display: inline-flex;
	justify-content: flex-start;
	font-size: 1rem;
	line-height: 1.2;
}

.plx-home-product-card__price.vm-has-discount .PricesalesPrice {
	color: var(--color-danger);
}

.plx-home-product-card__price.vm-has-discount .PricebasePriceWithTax {
	color: var(--color-text-strong);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.plx-home-product-card__price.vm-has-discount .PricebasePriceWithTax::after {
	display: none;
}

.plx-home-product-card__saving {
	margin: 0;
	padding-right: 3.6rem;
	color: var(--color-success);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.25;
}

.plx-home-product-card__action {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0 15px 15px;
}

.plx-home-product-card__action .addtocart-area,
.plx-home-product-card__action .addtocart-area form,
.plx-home-product-card__action .addtocart-bar {
	width: 100%;
	margin: 0;
}

.plx-home-product-card__action .vm-customfields-wrap,
.plx-home-product-card__action .product-fields,
.plx-home-product-card__action .product-field {
	display: none !important;
}

.plx-home-product-card__action .addtocart-bar>.row {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
}

.plx-home-product-card__action .addtocart-bar>.row>* {
	padding-inline: 0;
}

.plx-home-product-card__action .addtocart-bar>.row>.col-auto {
	display: none !important;
}

.plx-home-product-card__action .vm-addtocart-button-col {
	flex: 0 0 auto;
	width: auto;
	min-width: 0;
	margin-left: 0;
}

.plx-home-product-card__action .quantity-box {
	display: none !important;
}

.plx-home-product-card__action .addtocart-button,
.plx-home-product-card__action .addtocart-button-disabled {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem;
	min-width: 2.85rem;
	height: 2.85rem;
	min-height: 2.85rem;
	padding: 0;
	border-radius: var(--bs-border-radius-sm);
	font-size: 0;
	line-height: 1;
	white-space: nowrap;
	overflow: hidden;
}

.plx-home-product-card__action .addtocart-button::before,
.plx-home-product-card__action .addtocart-button-disabled::before {
	content: "";
	display: block;
	width: 1.45rem;
	height: 1.45rem;
	background-image: url("../icons/cart.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: brightness(0) invert(1);
}

.plx-home-product-card__action .notify {
	width: 100%;
	min-height: 2.35rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: 0.85rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.plx-home-section__action {
	display: flex;
	justify-content: center;
	margin-top: clamp(1.5rem, 2vw, 2rem);
}

@media (max-width: 1199.98px) {
	.plx-home-featured-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.plx-home-featured-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.plx-home-featured-products__grid {
		grid-template-columns: 1fr;
	}

	.plx-home-featured-products-wrap>.module-title,
	.moduletable.plx-home-featured-products-wrap>.module-title {
		text-align: left;
	}

	.plx-home-product-card__price,
	.plx-home-product-card__saving {
		padding-right: 3.6rem;
	}

	.plx-home-product-card__action .addtocart-bar>.row {
		display: flex;
	}
}