/* Homepage */

ul.products li .product-wrap > a.woocommerce-loop-product__link img {
	border-radius: 10px 10px 0px 0px;
	overflow: hidden;
}

ul.products li .product-wrap {
	box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
	border-radius: 10px;
	transition: 0.4s;
	background: var(--white);
}

ul.products li:hover .product-wrap {
	box-shadow: 0px 0px 20px rgba(0,0,0,0.15);
}

ul.products li .product-wrap .product-content {
	padding: 20px;
}

.woocommerce ul.products li.product a img {
	margin-bottom: 0;
}

ul.products li .product-wrap .category {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	letter-spacing: 1.2px;
	line-height: 1;
	margin-bottom: 5px;
}

ul.products li .product-wrap .category span.color {
	width: 14px;
	height: 14px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 8px;
	border-radius: 50px;
	margin-top: -2px;
}

.woocommerce ul.products li.product .product-wrap .price {
	font-weight: bold;
	color: var(--c2);
	font-size: 20px;
	margin-top: 20px;
	display: flex;
	align-items: flex-end;
	margin-bottom: 0px;
}

.woocommerce ul.products li.product .product-wrap .price del {
	order: 1;
	font-size: 16px;
	margin-left: 10px;
}

.woocommerce ul.products li.product .product-wrap .price ins {
	text-decoration: none;
}

.woocommerce ul.products li.product .product-wrap .price-kg span {
	font-weight: bold;
}

.woocommerce ul.products li.product .product-wrap .price-kg span {
	font-weight: bold;
}

.woocommerce ul.products li.product .product-wrap .price-kg p {
	font-weight: 500;
	color: var(--text);
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 10px;
}

.woocommerce ul.products li.product .button {
	border-radius: 50px;
	background-color: #fff;
	border: 2px solid var(--c1);
	color: var(--text);
	font-size: 14px;
	transition: 0.4s;
}

.woocommerce ul.products li.product .button:hover {
	background-color: var(--c1);
	color: var(--white);
}

.woocommerce ul.products li.product a.added_to_cart {
	display: none;
}

.woocommerce ul.products li.product span.onsale {
	background-color: #359163;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.15);
	color: var(--white);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	min-width: 50px;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.link-card.light-card h3 a,
.link-card.light-card .button-card:not(:hover){
	color: var(--text) !important;
}

.link-card.light-card h3 a {
	font-weight: bold;
	font-size: 18px;
}

.pattern-prodotti:after {
	content: '';
	width: 350px;
	height: 350px;
	position: absolute;
	top: 70%;
	left: -100px;
	background: url(https://www.fratellipierozzi.mom/wp-content/themes/pierozzi/icons/archive/archive-ramo-grano.png.webp);
	background-size: contain;
	background-position: center bottom;
	background-repeat: no-repeat;
	z-index: -1;
}

.pattern-prodotti:before {
	content: '';
	width: 500px;
	height: 500px;
	position: absolute;
	top: 40%;
	right: 0px;
	background: url(https://www.fratellipierozzi.mom/wp-content/themes/pierozzi/icons/archive/archive-farina.jpg.webp);
	background-size: contain;
	background-position: center bottom;
	background-repeat: no-repeat;
	z-index: -1;
	transform: rotate(-90deg);
}

.woocommerce ul.products li.product h3 {
	min-height: 55px;
}

@media screen and (max-width:1024px) {
	.elementor-products-grid ul.products.elementor-grid {
		display: flex;	
	}
	
	.home .owl-carousel .owl-stage {
		padding-left: 0 !important;
		padding-top: 30px;
		padding-bottom: 20px;
	}
	
	.related.products .owl-carousel .owl-stage {
		padding-left: 0 !important;
		padding-top: 20px;
		padding-bottom: 20px;
	}
}