:root {
	--overlay-g-top: rgba(0, 0, 0, 0.1);
	--overlay-g-bottom: rgba(0, 0, 0, 0.25);
	--overlay-gradients: linear-gradient(
			0deg,
			var(--overlay-g-top) 0%,
			var(--overlay-g-top) 100%
	),
	linear-gradient(
			180deg,
			rgba(0, 0, 0, 0.00) 56.82%,
			var(--overlay-g-bottom) 100%
	);

	--color-on-hover: #FDAD00;

}

/*
--------------------------------------
Items
--------------------------------------
*/

/*Style uniquement appliqué si swiper est inactif parce que grid n'est pas compatible avec swiper*/
.posts-items__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: calc(10px + (20 - 10) * ((100vw - 320px) / (1920 - 320)));
	max-width: 100%;
}

/*
--------------------------------------
Item
--------------------------------------
*/

.post-item__link {
	position: relative;
	overflow: hidden;
}

.post-item {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	font-family: var(--e-global-typography-primary-font-family);
	background: #fff;
}



/*overlay*/

.post-item__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
	background-image: var(--overlay-gradients);
	transition: opacity 0.3s ease-in-out;
}

/*image*/

.post-item__image {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 110%;
}

.post-item__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: all 0.75s ease-in-out;
}

.post-item:hover img {
	transform: scale(1.025);
}

/*price*/

.post-item__price {
	position: absolute;
	z-index: 1;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 42px;
	padding: 8px;
	background: #fff;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;;
}

.post-item__link:hover .post-item__price {
	background: var(--color-on-hover);
	color: #fff;
}

.post-item__price span {
	color: var(--e-global-color-text);
	font-size: 20px;
	font-weight: 500;
	line-height: 100%;
}

/*content*/

.post-item__content {
	position: absolute;
	z-index: 1;
	bottom: 0;
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: calc(18px + (28 - 18) * ((100vw - 320px) / (1920 - 320)));
}

.single-product .post-item__content {
	padding: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
}

/*name*/

.post-items .post-item__title {
	font-size: calc(24px + (32 - 24) * ((100vw - 320px) / (1920 - 320)));
	font-weight: 400;
	color: #FFF;
	line-height: 100%;
	padding-bottom: 5px;
}

/*btn*/

.post-item__btn {
	display: flex;
}

.post-item__btn .post-item__btn--text {
	display: inline-flex;
	line-height: 1;
	color: #fff;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.post-item__link:hover .post-item__btn .post-item__btn--text {
	color: var(--color-on-hover);
}

.post-item__btn .post-item__btn--text:focus,
.post-item__btn .post-item__btn--text:hover {
	color: #000;
}

.post-item__btn--text-on-hover {
	display: none;
}

.post-item__link:hover .post-item__btn--text-on-hover {
	display: flex;
}

.post-item__link:hover .post-item__btn--text-visible {
	display: none;
}

/*
--------------------------------------
Content on hover
--------------------------------------
*/

.post-item__content--on-hover {
	font-family: var(--e-global-typography-secondary-font-family);
	background: rgba(0, 0, 0, 0);
	color: #fff;
	padding: calc(10px + (28 - 10) * ((100vw - 320px) / (1920 - 320)));
}

.single-product .post-item__content--on-hover {
	padding: 20px;
}

.post-item__content--on-hover .post-item__content--on-hover-inner {
	padding-top: 1rem;
}

.single-product .post-item__content--on-hover .post-item__content--on-hover-inner {
	padding-top: 0;
}

.post-item__content--on-hover .post-item__content--on-hover-features-text {
	margin-bottom: 1em;
	display: inline-flex;
	align-items: center;
	color: var(--color-on-hover);
	gap: 5px;
}

.post-item__content--on-hover-features-list {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.post-item__content--on-hover .post-item__content--on-hover-features-text {
	color: var(--color-on-hover);
}

.post-item__content--on-hover .post-item__feature-text {
	display: inline-block;
	font-size: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
	border-radius: 4px;
	border: 0.5px solid #fff;
	line-height: 1;
	padding: 4px 10px;
}

.post-item__content--on-hover .post-item__excerpt {
	font-size: 14px;
	line-height: 1.15em;
	margin-top: calc(10px + (28 - 10) * ((100vw - 320px) / (1920 - 320)));
}

.single-product .post-item__content--on-hover .post-item__excerpt {
	margin-top: 15px;
}

/*
--------------------------------------
Swiper
--------------------------------------
*/

.post-items.swiper .swiper-slide {
	height: auto;
}

.post-items.swiper .swiper-wrapper {
	padding-bottom: 4em;
}

.post-items.swiper .swiper-scrollbar {
	background: #fff;
}

.post-items.swiper .swiper-scrollbar-drag {
	background: var(--e-global-color-secondary);
}