/* ============================================
Product heading — shop/category loop
============================================ */

/* Hide the original loop title below the image */
.woocommerce ul.products li.product .astra-shop-summary-wrap > .ast-loop-product__link {
	display: none;
}

/* Heading = own grid row above image + icons */
.woocommerce ul.products li.product > a.product-heading {
	grid-area: heading;
	display: block;
	padding-bottom: 0.75rem;
	text-align: left;
	text-decoration: none;
	color: inherit;
}

.woocommerce ul.products li.product .product-heading__brand,
.woocommerce ul.products li.product .product-heading__name {
	margin: 0;
	font-family: inherit;
	font-style: normal;
	color: inherit;
}

/* Brand: one line, gap below */
.woocommerce ul.products li.product .product-heading__brand {
	margin-bottom: 0.2rem;
	min-height: 1.3em; /* keeps the layout stable if the brand is empty */
	font-size: 0.68rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Name: up to 2 lines, space always reserved so all images start at the same height */
.woocommerce ul.products li.product .product-heading__name {
	min-height: 2.4em;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.2;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ---------- Product heading: single page ---------- */

.product-heading__brand--single {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8em;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}