/**
 * Product card titles on listings: one line + ellipsis.
 * Shop, category archives, homepage carousels.
 * Single product page: only for product cards (e.g. recently viewed), not the main H1 title.
 */

body:not(.single-product) .elementor-widget-the7-wc-products-carousel .product-title,
body:not(.single-product) .elementor-widget-the7-wc-products .product-title,
body.woocommerce:not(.single-product) ul.products .product-title,
body.woocommerce:not(.single-product) ul.products .woocommerce-loop-product__title {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

body:not(.single-product) .elementor-widget-the7-wc-products-carousel .product-title {
	margin-top: 15px;
}

body:not(.single-product) .elementor-widget-the7-wc-products-carousel .product-title a,
body:not(.single-product) .elementor-widget-the7-wc-products .product-title a,
body.woocommerce:not(.single-product) ul.products .product-title a,
body.woocommerce:not(.single-product) ul.products .woocommerce-loop-product__title a {
	display: block;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Single product: truncate only titles inside product cards (recently viewed/related/etc). */
.single-product .elementor-widget-the7-wc-products-carousel .product-title,
.single-product .elementor-widget-the7-wc-products .product-title {
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.single-product .elementor-widget-the7-wc-products-carousel .product-title a,
.single-product .elementor-widget-the7-wc-products .product-title a {
	display: block;
	max-width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
