/* All Products catalog */

.app-page .app-section .cat-lead,
.app-page .app-section .cat-count,
.app-page .app-section .cat-empty,
.app-page .app-section .cat-card p {
	text-align: left;
	text-justify: auto;
	hyphens: none;
}

.app-page .app-section .cat-lead {
	margin: 12px auto 0;
	max-width: 40em;
	font-size: 15px;
	line-height: 1.65;
	color: var(--esteem-text-muted, #6b7280);
}

.app-page .app-section .cat-count {
	margin: 0;
	font-size: 13px;
}

.app-page .app-section .cat-card p {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.6;
}

.app-page .app-section .cat-empty {
	margin: 28px 0 0;
	font-size: 15px;
	text-align: center;
}

.cat-search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 720px;
	margin: 0 auto 22px;
}

.cat-search input[type="search"] {
	flex: 1 1 240px;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid var(--esteem-border, #e8ecf0);
	background: var(--esteem-bg-elevated, #fff);
	color: var(--esteem-heading, #111827);
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 16px;
}

.cat-search button[type="submit"] {
	min-height: 52px;
	padding: 12px 22px;
	border: 0;
	background: #0e76bb;
	color: #fff;
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.cat-search button[type="submit"]:hover,
.cat-search button[type="submit"]:focus {
	background: #0a5f96;
}

.cat-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 28px;
}

.cat-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cat-chip {
	padding: 7px 14px;
	border: 1px solid var(--esteem-border, #e8ecf0);
	background: var(--esteem-bg-elevated, #fff);
	color: var(--esteem-heading, #111827);
	font-family: 'Montserrat', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.cat-chip:hover,
.cat-chip:focus {
	border-color: #cfe4f3;
	color: #0e76bb;
	outline: none;
}

.cat-chip.is-active {
	background: #0e76bb;
	border-color: #0e76bb;
	color: #fff;
}

.cat-count {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--esteem-text-muted, #6b7280);
}

.cat-markets {
	margin: 0 0 48px;
}

.cat-markets.is-hidden,
.cat-card.is-hidden {
	display: none;
}

.cat-list-head {
	margin-bottom: 20px;
}

.cat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.cat-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 22px 22px 20px;
	background: var(--esteem-bg-elevated, #fff);
	border: 1px solid var(--esteem-border, #e8ecf0);
	border-top: 3px solid #0e76bb;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cat-card:hover,
.cat-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(14, 118, 187, .1);
	border-color: #cfe4f3;
	color: inherit;
	text-decoration: none;
	outline: none;
}

.cat-card:focus-visible {
	outline: 2px solid #0e76bb;
	outline-offset: 2px;
}

.cat-card-tag {
	display: block;
	margin: 0 0 8px;
	color: var(--esteem-link, #0e76bb);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.cat-card h3 {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	text-transform: none !important;
	color: var(--esteem-heading, #111827) !important;
	margin: 0 0 8px;
	line-height: 1.35;
}

.cat-card p {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--esteem-text, #4b5563);
	flex: 1;
}

.cat-card .app-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
}

.cat-card .app-card-cta .app-icon {
	margin: 0;
}

.cat-card .app-card-cta svg {
	width: 14px;
	height: 14px;
	transition: transform .2s ease;
}

.cat-card:hover .app-card-cta svg,
.cat-card:focus-within .app-card-cta svg {
	transform: translateX(3px);
}

.cat-empty {
	margin: 28px 0 0;
	text-align: center;
	font-size: 15px;
	color: var(--esteem-text, #4b5563);
}

.cat-empty a {
	color: #0e76bb;
}

@media (max-width: 991.98px) {
	.cat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.cat-search input[type="search"],
	.cat-search button[type="submit"] {
		min-height: 48px;
		width: 100%;
	}

	.cat-grid {
		grid-template-columns: 1fr;
	}

	.cat-card {
		padding: 18px 16px 16px;
	}
}

html[data-theme="dark"] .cat-search input[type="search"],
html[data-theme="dark"] .cat-chip,
html[data-theme="dark"] .cat-card {
	background: var(--esteem-bg-elevated, #1a232e);
	border-color: var(--esteem-border, #2c3642);
	color: var(--esteem-text, #d7e0e8);
	box-shadow: none;
}

html[data-theme="dark"] .cat-card h3 {
	color: var(--esteem-heading, #f3f6f9) !important;
}

html[data-theme="dark"] .cat-card p,
html[data-theme="dark"] .cat-lead,
html[data-theme="dark"] .cat-count,
html[data-theme="dark"] .cat-empty {
	color: var(--esteem-text, #d7e0e8);
}

html[data-theme="dark"] .cat-card-tag,
html[data-theme="dark"] .cat-empty a {
	color: var(--esteem-link, #6cbcf0);
}

html[data-theme="dark"] .cat-chip.is-active {
	background: #0e76bb;
	border-color: #0e76bb;
	color: #fff;
}

html[data-theme="dark"] .cat-card:hover,
html[data-theme="dark"] .cat-card:focus {
	border-color: var(--esteem-accent, #3e9ad4);
	box-shadow: none;
}
