/**
* Theme Name: Machic Child
* Description: This is a child theme of Machic, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: machic
* Version: 1.5.7
*/

/* PC Parts: product names in product grids use two lines at most, so every card has the same height. */
.products .product .product-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.8em;
}

/* PC Parts: cards in the same row stretch to the tallest one (e.g. when one shows "Only 1 left in stock"). */
.products-module .products {
	align-items: stretch;
}
.products-module .products > .product > .product-wrapper,
.products-module .products > .product .product-content {
	height: 100%;
}

/* PC Parts: category names in the homepage category strip follow the light/dark text colour. */
.module-category-list h3.category-name a {
	color: inherit;
}

/* PC Parts: the theme shows prices right-to-left (for "new price, old price" on sales), which
   turned price ranges into "157 – 150". Ranges and normal prices read left-to-right. */
.product-price .price:not(:has(del)) {
	flex-direction: row;
}
