/* <------- PRODUCT -------> */
.product {
	width: 100%;
	border: 1px solid #e6e9f0;
	border-radius: 4px;
}
.product:hover .product__slide > img {
	transform: scale(102%);
}
.product__card {
	position: relative;
	padding: 16px;
}
.product__link {
	flex-direction: column;
}
.product__favorites {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 2;
	border-radius: 50%;
}
.product__slider {
	width: 100%;
}
.product__slides {
	aspect-ratio: 1 / 1;
}
.product__slide {
	overflow: hidden;
	position: relative;
}
.product__slide > img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 250ms ease-out;
}
.product__zones {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	z-index: 3;
}
.product__zone {
	flex: 1;
	height: 100%;
}
.product__pagination {
	width: 100%;
	position: absolute;
	bottom: 10px !important;
	left: 0;
	right: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
.product__pagination > span {
	margin: 0 !important;
	width: 12px;
	height: 2px;
	border-radius: 9999px;
	background-color: #252525;
	opacity: 0.1;
	transition: opacity 200ms linear;
}
.product__pagination > span.swiper-pagination-bullet-active {
	opacity: 1;
}
.product__badges {
	display: flex;
	flex-direction: column;
	gap: 3px;
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
}
.product__badge {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 25px;
	padding: 0 8px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 4px;
}
.product__badge.badge-new,
.product__badge.badge-hit,
.product__badge.badge-recommended {
	color: #ffffff;
}
.product__badge.badge-new {
	background-color: #32cb41;
}
.product__badge.badge-hit {
	background-color: #ff7455;
}
.product__badge.badge-recommended {
	background-color: #a56ffd;
}
.product__badge.badge-sale {
	background-color: #ffeca8;
}
.product__badge.badge-timer {
	gap: 5px;
	background-color: #ffe5e3;
}
.product__badge.badge-timer > i {
	font-size: 16px;
	color: #ff4f64;
}
.product__details {
	padding-top: 20px;
}
.product__price {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
	line-height: 1;
}
.product__price-current {
	font-weight: 700;
}
.product__price-sale {
	font-size: 14px;
	text-decoration: line-through;
	color: #949cad;
}
.product__name {
	height: 45px;
	overflow: hidden;
	font-size: 15px;
	line-height: 1.5;
	word-wrap: break-word;
}
.product__sku {
	display: block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
	margin-top: 10px;
	color: #949cad;
}
.product__stock {
	display: flex;
	background-color: #db001a;
	color: #fff;
}
.product__cart {
	gap: 5px;
}
.product__stock,
.product__cart,
.product__cart-loader {
	width: 100%;
	align-items: center;
	justify-content: center;
	margin-top: 20px;
	font-size: 14px;
	font-weight: 500;
	height: 40px;
	padding: 0 20px;
	border-radius: 4px;
}
.product__cart:not(.hidden),
.product__cart-loader:not(.hidden) {
	display: flex;
}
.product__cart-loader > svg {
	width: 20px;
	height: 20px;
}
@media (max-width: 1200px) {
	.product__name {
		font-size: 14px;
	}
}
@media (max-width: 800px) {
	.product__zones {
		display: none;
	}
}
@media (max-width: 400px) {
	.product {
		border: none;
	}
	.product__card {
		padding: 0;
	}
	.product__details {
		padding: 15px 10px 0;
	}
	.product__name {
		height: 42px;
	}
	.product__favorites {
		width: 30px;
		height: 30px;
		top: 8px;
		right: 8px;
	}
	.yith-wcwl-icon {
		width: 18px !important;
		height: 18px !important;
	}
	.product__stock,
	.product__cart,
	.product__cart-loader {
		width: calc(100% - 20px);
		margin: 10px 10px 0;
	}
}

/* <------- CATEGORY -------> */
.category {
	width: 100%;
}
.category:hover .category__card > img {
	transform: scale(102%);
}
.category__card {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 20px;
	justify-content: flex-start;
	align-items: flex-end;
	overflow: hidden;
	border-radius: inherit;
}
.category__overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	border-radius: inherit;
	background: #ffffff;
	background: -webkit-linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(0, 0, 0, 0.6) 100%
	);
	background: -moz-linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(0, 0, 0, 0.6) 100%
	);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(0, 0, 0, 0.6) 100%
	);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFFFFF", endColorstr="#000000", GradientType=0);
}
.category__card > img {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: -1;
	border-radius: inherit;
	object-fit: cover;
	object-position: center;
	transition: transform 250ms ease-out;
}
.category__heading {
	position: relative;
	z-index: 1;
	font-weight: 500;
	line-height: 1.5;
	color: #fff;
}

/* <------- POST -------> */
.post {
	width: 100%;
}
.post:hover .post__thumbnail > img {
	transform: scale(102%);
}
.post__link {
	width: 100%;
	height: 100%;
	flex-direction: column;
}
.post__thumbnail {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	overflow: hidden;
}
.post__thumbnail > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: inherit;
	transition: transform 250ms ease-out;
}
.post__heading {
	padding-top: 20px;
	font-weight: 700;
	line-height: 1.5;
}
@media (max-width: 800px) {
	.post__heading {
		font-size: 15px;
	}
}
