.ndlh-product-brand-directory {
	position: relative;
}

.ndlh-brand-filters {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2.5rem;
	margin: 0 0 2rem;
	position: relative;
	z-index: 20;
}

.ndlh-brand-filter {
	position: relative;
}

.ndlh-brand-filter.is-open {
	z-index: 2;
}

.ndlh-brand-filter__trigger {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: #111;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	gap: 1.25rem;
	letter-spacing: 0.01em;
	padding: 0.4rem 0;
	text-transform: uppercase;
}

.ndlh-brand-filter__trigger:hover,
.ndlh-brand-filter__trigger:focus {
	color: #555;
}

.ndlh-brand-filter__trigger.has-selection {
	color: #8a4b08;
}

.ndlh-brand-filter__chevron {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	display: inline-block;
	height: 0.45rem;
	margin-top: -0.25rem;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	width: 0.45rem;
}

.ndlh-brand-filter.is-open .ndlh-brand-filter__chevron {
	margin-top: 0.25rem;
	transform: rotate(225deg);
}

.ndlh-brand-filter__menu {
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 0.35rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	box-sizing: border-box;
	left: -0.65rem;
	min-width: 14rem;
	padding: 0.45rem 0;
	position: absolute;
	top: calc(100% + 0.45rem);
}

.ndlh-brand-filter__menu[hidden] {
	display: none;
}

.ndlh-brand-filter__option {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: #333;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: 0.9rem;
	gap: 0.25rem;
	justify-content: space-between;
	line-height: 1.3;
	padding: 0.45rem 0.65rem;
	text-align: left;
	width: 100%;
}

.ndlh-brand-filter__option:hover,
.ndlh-brand-filter__option:focus,
.ndlh-brand-filter__option.is-selected {
	background: #f4f4f4;
}

.ndlh-brand-filter__option.is-selected {
	font-weight: 600;
}

.ndlh-brand-filter__option:disabled {
	background: transparent;
	color: #aaa;
	cursor: not-allowed;
}

.ndlh-brand-filter__count {
	color: #9a9a9a;
}

.ndlh-brand-filters__reset {
	appearance: none;
	background: transparent;
	border: 0;
	color: #555;
	cursor: pointer;
	font: inherit;
	font-size: 0.8rem;
	padding: 0.5rem 0;
	text-decoration: underline;
}

.ndlh-brand-filters__reset[hidden],
.ndlh-product-brand[hidden],
.ndlh-product-brands__empty[hidden] {
	display: none !important;
}

.ndlh-product-brands__empty {
	background: #f4f4f4;
	border-radius: 0.5rem;
	padding: 1rem;
	text-align: center;
}

.ndlh-product-brands {
	align-items: stretch;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
}

.ndlh-product-brands__notice {
	background: #fff8e5;
	border-left: 4px solid #dba617;
	box-sizing: border-box;
	color: #1d2327;
	margin: 1rem 0;
	padding: 0.875rem 1rem;
	width: 100%;
}

.ndlh-product-brand {
	background: #f4f4f4;
	border: 1px solid #ececec;
	border-radius: 1.75rem;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.ndlh-product-brand__image {
	align-items: center;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	height: 9.25rem;
	justify-content: center;
	overflow: hidden;
	padding: 1.25rem;
}

.ndlh-product-brand__image img {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.ndlh-product-brand__logo-link {
	display: block;
	text-decoration: none;
}

.ndlh-product-brand__logo-link:focus-visible {
	outline: 3px solid #ff6634;
	outline-offset: -3px;
}

.ndlh-product-brand__content {
	align-items: stretch;
	background: #133357;
	box-sizing: border-box;
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0.875rem 0.625rem 0.75rem;
	text-align: center;
}

.ndlh-product-brand__title {
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.625rem;
}

.ndlh-product-brands--logos .ndlh-product-brand__title {
	margin: 0;
}

.ndlh-product-brand__title a {
	color: inherit;
	text-decoration: none;
}

.ndlh-product-brand__title a:hover,
.ndlh-product-brand__title a:focus {
	text-decoration: underline;
}

.ndlh-product-brand__description {
	color: #ffffff;
	font-size: 0.875rem;
	line-height: 1.4;
}

.ndlh-product-brand__description > :first-child {
	margin-top: 0;
}

.ndlh-product-brand__description > :last-child {
	margin-bottom: 0;
}

.ndlh-product-brand__website {
	margin-top: auto;
	padding-top: 1rem;
}

.ndlh-product-brand__divider {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	height: 0;
	margin: 0 0 0.75rem;
	width: 100%;
}

.ndlh-product-brand__button {
	background: #ff6634;
	border: 1px solid #ff6634;
	border-radius: 0.4rem;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
	color: #ffffff;
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1.25;
	padding: 0.2rem 0.4rem;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ndlh-product-brand__button:hover,
.ndlh-product-brand__button:focus {
	background: #ff6634;
	border-color: #ff6634;
	color: #ffffff;
	opacity: 0.86;
	text-decoration: none;
}

@media (min-width: 48rem) {
	.ndlh-product-brands--columns-2,
	.ndlh-product-brands--columns-3,
	.ndlh-product-brands--columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64rem) {
	.ndlh-product-brands--columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ndlh-product-brands--columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 47.99rem) {
	.ndlh-brand-filters {
		display: grid;
		gap: 0.5rem;
		grid-template-columns: 1fr;
	}

	.ndlh-brand-filter,
	.ndlh-brand-filter__trigger {
		width: 100%;
	}

	.ndlh-brand-filter__trigger {
		justify-content: space-between;
	}

	.ndlh-brand-filter__menu {
		left: 0;
		right: 0;
		width: 100%;
	}
}
