
/** -------------------- **/
/* Product cards */

/* Product Card overrides */
ul.products .ct-media-container img {
	object-fit: var(--object-fit, contain);
	margin-top: 8px;
}
ul.products .ct-woo-card-actions {
	display: flex;
	flex-flow: column wrap;
}

[data-products=type-2] .ct-woo-card-actions .price {
	font-size: 17px;
	line-height: 1.15em;
	column-gap: 2px!important;
}
.ct-woo-card-actions .price .woocommerce-Price-currencySymbol {
/* makes price dollar sign smaller */
	font-size: .65em;
	vertical-align: top;
	position: relative;
	top: -0.1em;
	right: 1px;
}
[data-products=type-2] .ct-woo-card-actions .price:not(:only-child):after {display:none;}
li.product .sale-price ins {
	color: var(--theme-palette-color-2);
}

ul.products a.button.add_to_cart_button,
ul.products a.added_to_cart,
ul.products a.button.link_to_product_button,
ul.products a.button.product_type_bundle {
	margin: 0 9px 8px;
	min-height: 40px;	
}
ul.products a.button.add_to_cart_button,
ul.products a.button.link_to_product_button,
ul.products a.button.product_type_bundle {
	line-height: 1.25em;
	text-wrap: balance; /* line wrapped case to cart text breaks evenly */
	color: #fff;
	width: -webkit-fill-available;
	width: -moz-available;
	background-color: var(--theme-palette-color-3);
}
ul.products a.button.add_to_cart_button.ajax_add_to_cart,
ul.products a.button.link_to_product_button,
ul.products a.button.product_type_bundle {
	background-color: var(--theme-palette-color-1);
}
ul.products a.button.add_to_cart_button:hover,
ul.products a.button.link_to_product_button:hover,
ul.products a.button.product_type_bundle:hover {
	background-color: var(--theme-palette-color-2);
}
@media (max-width: 689px) { /* hide excerpts on mobile */
	[data-products] .entry-excerpt {display: none!important;}
}

/* Product grid overrides */
@media (min-width: 1000px) { /* to center when less than 6 */
	body:not(.archive) [data-products].columns-6 {
		--shop-columns: repeat(auto-fit, minmax(128px, 15%));
		justify-content: center;
	}
	body:not(.archive) [data-products].columns-4 {
		--shop-columns: repeat(auto-fit, minmax(150px, 22%));
		justify-content: center;
	}
}
/* hide card excperts on blog posts */
body.single-post div.woocommerce [data-products].products .entry-excerpt {display: none;}

/* manually hide card excperts in shortcode output with added no-excpert class */
div.woocommerce.no-excerpt [data-products].products .entry-excerpt {display: none;}

/* Custom Badges */
div.product-card-badges {
	position: absolute;
	z-index: 1;
	top: 10px;
	left: 10px;
}
.product-card-swe-badge {margin-bottom: 5px;}
.product-card-swe-badge img {
	display: block;
	max-width: 22px;
	width: 100%;
}
.onsale, .out-of-stock-badge, [class*=ct-woo-badge-] {
/* override stock badge absolute position */
}
span.product-card-swe-badge {
	display: block;
	text-align: left;
}
span.product-card-swe-badge.twelveship-badge {}
span.product-card-caseonly-badge {}
span.product-card-rapidship-badge {}
span.product-card-instoreonly-badge {}

div.product-card-packsize {
	font-weight: 700;
	font-family: var(--theme-font-family-brand);
	text-transform: uppercase;
	margin-top: -5px;
}

/* Bundled Product cards */
[data-products=type-2] .ct-woo-card-actions .from {
	padding-right: 4px;
	font-size: 75%;
	color: #666;
}

/* Bulk Price Deals archive cards */
body.term-bulk-price-deals.woocommerce-archive [data-products=type-2] .ct-woo-card-actions .price {
	padding-bottom: 0;
}
body.term-bulk-price-deals.woocommerce-archive [data-products=type-2] .ct-woo-card-actions .price.swe-bulk-price {
	padding-top: 0;
	padding-bottom: 7px;
    margin-top: -.33rem;
}
body.term-bulk-price-deals.woocommerce-archive [data-products=type-2] .ct-woo-card-actions .price.swe-bulk-price > .woocommerce-Price-amount.amount {
	display: inline-flex;
	flex-wrap: wrap;
	column-gap: 5px;
	justify-content: center;
	align-items: center;
}
body.term-bulk-price-deals.woocommerce-archive [data-products=type-2] .ct-woo-card-actions>* {
	min-height: 2.25rem;
	flex: 1 0 auto;
}
body.term-bulk-price-deals.woocommerce-archive .swe-bulk-deal-label {
	font-size: 75%;
	color: #666;
}
body.term-bulk-price-deals.woocommerce-archive .price.swe-bulk-price bdi {
	color: var(--theme-palette-color-2);	
	border-bottom: 2px solid var(--theme-palette-color-2);
}

/* Small bottle product card image size trick */
ul.products .product_small-bottle.product [class*=ct-media-container] {
	align-items: flex-end;
}
ul.products .product_small-bottle.product .ct-media-container img {
	height: 83%;
}