/**
 * Product / series cards on category archives (mobile).
 * Full titles (no ellipsis); cards stretch to equal row height via CSS grid.
 */

@media (max-width: 992px) {
	/* Stretch product cards that include category chips (Product Loop). */
	body.woocommerce.archive:not(.single-product) .elementor-posts--skin-template .elementor-grid-item:has(.cat-container) {
		align-self: stretch;
	}

	body.woocommerce.archive:not(.single-product) .elementor-posts--skin-template .elementor-grid-item:has(.cat-container) > .elementor-element,
	body.woocommerce.archive:not(.single-product) .elementor-posts--skin-template .elementor-grid-item:has(.cat-container) .elementor-post__card,
	body.woocommerce.archive:not(.single-product) .elementor-posts--skin-template .elementor-grid-item:has(.cat-container) .elementor-element-549da4a {
		height: 100%;
	}

	/*
	 * Dual title block (HE + EN).
	 * Elementor sets --flex-wrap: wrap on this container; with column direction that
	 * wraps the English title into a second column (clipped by .elementor-post__card).
	 * Titles must wrap fully — no line-clamp / ellipsis.
	 */
	body.woocommerce.archive:not(.single-product) .elementor-6953 .elementor-element-bd67511,
	body.woocommerce.archive:not(.single-product) .elementor-12244 .elementor-element-bd67511 {
		flex-wrap: nowrap;
	}

	body.woocommerce.archive:not(.single-product) .elementor-6953 .elementor-element-725fc43 .elementor-heading-title,
	body.woocommerce.archive:not(.single-product) .elementor-6953 .elementor-element-6e8a075 .elementor-heading-title,
	body.woocommerce.archive:not(.single-product) .elementor-12244 .elementor-element-725fc43 .elementor-heading-title,
	body.woocommerce.archive:not(.single-product) .elementor-12244 .elementor-element-6e8a075 .elementor-heading-title {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
		white-space: normal;
	}

	/* Reserve one chip-row height even when a product has 0 categories. */
	body.woocommerce.archive:not(.single-product) .elementor-posts--skin-template .elementor-grid-item .cat-container {
		min-height: 33px;
	}

	/* Series / subcategory card titles — full text, stretch cards in the row. */
	body.woocommerce.archive:not(.single-product) .elementor-element-a39d73a .elementor-grid-item {
		align-self: stretch;
	}

	body.woocommerce.archive:not(.single-product) .elementor-element-a39d73a .elementor-grid-item > .elementor-element {
		height: 100%;
	}

	body.woocommerce.archive:not(.single-product) .elementor-element-a39d73a .elementor-element-63e922c .elementor-heading-title {
		display: block;
		-webkit-line-clamp: unset;
		overflow: visible;
		white-space: normal;
	}
}