/* Home page showcase (inc/home/theme.php, docs/home/spec.md).
 * Colours: the faceted catalog's tokens, as the catalog tiles. */

.home_showcase {
	margin: 8px 0 56px;
}

/* Section heading row: title left, «Смотреть все» right (also used by «Магазин»). */
.ihr-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
}

.ihr-title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	line-height: 1.25;
}

.ihr-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
}

.ihr-more {
	padding: 10px 18px;
	border: 1px solid var(--igf-line, #e3e6ee);
	background: #fff;
	color: var(--igf-ink, #191919);
}

.ihr-more:hover,
.ihr-more:focus-visible {
	border-color: var(--igf-accent, #2ea2cc);
	color: var(--igf-accent-dark, #2e8cb0);
	text-decoration: none;
}

/* «Магазин» tiles, straight under the H1. */
.igt--shop {
	margin: 22px 0 48px;
}

.igt-tiles--7 {
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.igt--shop .igt-tile {
	min-height: 132px;
}

.igt--shop .igt-label {
	font-size: 13px;
}

/* Product rows. */
.igf--home .ihr {
	margin: 0 0 48px;
}

.igf--home .ihr-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media only screen and (max-width: 992px) {
	.ihr-title {
		font-size: 22px;
	}

	.ihr-more {
		padding: 8px 14px;
		font-size: 13px;
	}

	.igf--home .ihr-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.igt--shop .igt-tiles {
		display: flex;
	}
}
