/** -------------------- **/
/** -------------------- **/

/* Hide product excerpts on homepage product lists */
body.home [data-products] .product .entry-excerpt {display: none;}

/* Hide product excerpts on select product shortcode lists - add class to containing column block */
.no-product-excerpts .product .entry-excerpt {display: none;}


/* Key CTA button blocksy color overrides */
.wc-proceed-to-checkout a.checkout-button,
.woocommerce-mini-cart__buttons a.checkout,
button#place_order,
.woocommerce button.single_add_to_cart_button
 {
	background-color: var(--wp--preset--color--palette-color-2);
}
.wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-mini-cart__buttons a.checkout:hover
button#place_order:hover
.woocommerce button.single_add_to_cart_button:hover
{
	background-color: var(--wp--preset--color--palette-color-1);	
}


/* General blocksy product overrides */
.price .sale-price del {
/* makes sure strikethru price is shown before sale price */
    order: unset;
}
.price span.price-per-unit {
	font-size: 0.65em;
/*	padding-left: 0.25em; */
}

/** -------------------- **/
/* Blocksy header search - Desktop autosuggest thumbnail photos */
[data-device=desktop] .ct-search-item .ct-media-container img {
	object-fit: scale-down;
}
/** -------------------- **/
/* Blocksy header search - MOBILE autosuggest thumbnail photos */
[data-device=mobile] .ct-search-item .ct-media-container img {
	object-fit: scale-down;
}


/** -------------------- **/
/* Product single main photo & product archive thumbnail photos */
.woocommerce-product-gallery .ct-media-container img,
body.post-type-archive-product li.product .ct-media-container img {
	max-height: 640px;
    object-fit: scale-down;
/*    object-position: top;  */
}
/* Product single floating add-to-cart bar thumbnail */
.ct-floating-bar-content .ct-media-container img {
	object-fit: scale-down;
}
/* Product single floating add-to-cart bar pointer-events fix */
.ct-floating-bar {
	pointer-events: none; /* Allows clicks to pass through */
}
.ct-drawer-canvas[data-floating-bar=yes] .ct-floating-bar {
	pointer-events: all; /* Sets back to clickable when the bar is visible */
}

/* Checkout cart thumbnails */
.ct-checkout-cart-item .ct-media-container img,
.woocommerce-mini-cart-item .ct-media-container img {
	object-fit: scale-down;
}

/* Cart page thumbnails and containing td's */
tr.woocommerce-cart-form__cart-item.cart_item img {
	max-height: 100px;
	width: auto;
}
[class*=ct-woocommerce] .shop_table .cart_item td.product-thumbnail {
	width: 75px;
	text-align: center;
}
@media (max-width: 999.98px) {
	[class*=ct-woocommerce] .shop_table .cart_item td.product-thumbnail {
		width: 50px;
		text-align: center;
	}
}