/* Loop/archive and home shortcode product card styles. */
.post-type-archive-product .woocommerce ul.products li.product,
.tax-product_cat .woocommerce ul.products li.product,
.tax-product_tag .woocommerce ul.products li.product,
.post-type-archive-product.woocommerce-page ul.products li.product,
.tax-product_cat.woocommerce-page ul.products li.product,
.tax-product_tag.woocommerce-page ul.products li.product,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product {
	position: relative;
	border: 1px solid #eeeeee;
	background: #ffffff;
	padding: 0 0 4px;
}

body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product {
	display: flex;
	flex-direction: column;
}

.post-type-archive-product .woocommerce ul.products li.product .inside-wc-product-image,
.tax-product_cat .woocommerce ul.products li.product .inside-wc-product-image,
.tax-product_tag .woocommerce ul.products li.product .inside-wc-product-image,
.post-type-archive-product.woocommerce-page ul.products li.product .inside-wc-product-image,
.tax-product_cat.woocommerce-page ul.products li.product .inside-wc-product-image,
.tax-product_tag.woocommerce-page ul.products li.product .inside-wc-product-image,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .inside-wc-product-image {
	display: block;
	width: 100%;
}

.post-type-archive-product .woocommerce ul.products li.product .inside-wc-product-image img,
.tax-product_cat .woocommerce ul.products li.product .inside-wc-product-image img,
.tax-product_tag .woocommerce ul.products li.product .inside-wc-product-image img,
.post-type-archive-product.woocommerce-page ul.products li.product .inside-wc-product-image img,
.tax-product_cat.woocommerce-page ul.products li.product .inside-wc-product-image img,
.tax-product_tag.woocommerce-page ul.products li.product .inside-wc-product-image img,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .inside-wc-product-image img {
	width: auto;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
}

.post-type-archive-product .woocommerce ul.products li.product .loop-onsale,
.tax-product_cat .woocommerce ul.products li.product .loop-onsale,
.tax-product_tag .woocommerce ul.products li.product .loop-onsale,
.post-type-archive-product.woocommerce-page ul.products li.product .loop-onsale,
.tax-product_cat.woocommerce-page ul.products li.product .loop-onsale,
.tax-product_tag.woocommerce-page ul.products li.product .loop-onsale,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .loop-onsale,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .onsale {
	position: absolute;
	top: 8px;
	right: -12px;
	left: auto;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 90px;
	min-height: 24px;
	padding: 0 12px;
	border-radius: 0;
	background: #707070;
	color: #ffffff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
}

.post-type-archive-product .woocommerce ul.products li.product .loop-onsale::after,
.tax-product_cat .woocommerce ul.products li.product .loop-onsale::after,
.tax-product_tag .woocommerce ul.products li.product .loop-onsale::after,
.post-type-archive-product.woocommerce-page ul.products li.product .loop-onsale::after,
.tax-product_cat.woocommerce-page ul.products li.product .loop-onsale::after,
.tax-product_tag.woocommerce-page ul.products li.product .loop-onsale::after,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .loop-onsale::after,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .onsale::after {
	content: "";
	position: absolute;
	top: -4px;
	right: 2px;
	width: 0;
	height: 0;
	border-top: 0 solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 14px solid #424242;
	border-left: 6px solid #424242;
	background: transparent;
	transform: rotate(-158deg);
	z-index: -1;
	pointer-events: none;
}

body.home #tve_flt ul.products li.product .loop-onsale,
body.home #tve_flt ul.products li.product .onsale {
	right: -12px;
}

@media (max-width: 1024px) {
	.post-type-archive-product .woocommerce ul.products li.product .loop-onsale,
	.tax-product_cat .woocommerce ul.products li.product .loop-onsale,
	.tax-product_tag .woocommerce ul.products li.product .loop-onsale,
	.post-type-archive-product.woocommerce-page ul.products li.product .loop-onsale,
	.tax-product_cat.woocommerce-page ul.products li.product .loop-onsale,
	.tax-product_tag.woocommerce-page ul.products li.product .loop-onsale,
	body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .loop-onsale,
	body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .onsale,
	body.home #tve_flt ul.products li.product .loop-onsale,
	body.home #tve_flt ul.products li.product .onsale {
		right: -4px;
	}
}

body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product h2,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product h3 {
	min-height: 2.6em;
	line-height: 1.3;
}

body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .dealarious-check-deal,
body.home .thrv_wrapper.tve_wp_shortcode .woocommerce ul.products li.product .button {
	margin-top: auto;
}

.woocommerce ul.products li.product .dealarious-check-deal,
.woocommerce-page ul.products li.product .dealarious-check-deal,
.add-to-cart-panel .dealarious-check-deal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	line-height: 1;
}

.woocommerce ul.products li.product .dealarious-check-deal .ds-check-deal-icon,
.woocommerce-page ul.products li.product .dealarious-check-deal .ds-check-deal-icon,
.add-to-cart-panel .dealarious-check-deal .ds-check-deal-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.woocommerce ul.products li.product .dealarious-check-deal .ds-check-deal-icon svg,
.woocommerce-page ul.products li.product .dealarious-check-deal .ds-check-deal-icon svg,
.add-to-cart-panel .dealarious-check-deal .ds-check-deal-icon svg {
	display: block;
}
