.phorte-search-chips {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: min(100%, 920px);
	max-width: 920px;
	margin-inline: auto;
	overflow: hidden;
	font-family: inherit;
}

.phorte-search-chips__list,
.phorte-search-chips .suggestions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 1 1 auto;
	flex-wrap: nowrap;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
}

.phorte-search-chips .chip {
	display: inline-flex;
	flex: 0 0 auto;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	min-width: 110px;
	max-width: 180px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: #fff;
	color: var(--ph-ink, #181818);
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.phorte-search-chips--dark {
	color: #fff;
}

.phorte-search-chips--dark .chip {
	border-color: rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .10);
	color: #fff;
}

.phorte-search-chips--dark .chip:hover,
.phorte-search-chips--dark .chip:focus-visible {
	border-color: rgba(255, 255, 255, .5);
	background: rgba(255, 255, 255, .18);
}

.phorte-search-chips--light .chip {
	border-color: var(--ph-border, #e1e4e8);
	background: #fff;
}

.phorte-search-chips--light .chip:hover,
.phorte-search-chips--light .chip:focus-visible {
	border-color: var(--ph-red, #f23d43);
	color: var(--ph-red, #f23d43);
}

.phorte-search-chips .chip:hover {
	transform: translateY(-1px);
}

.phorte-search-chips .chip:focus-visible {
	outline: 2px solid var(--ph-red, #f23d43);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.phorte-search-chips {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.phorte-search-chips__list,
	.phorte-search-chips .suggestions {
		justify-content: flex-start;
		flex-wrap: nowrap;
		width: 100%;
		padding-bottom: 4px;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scrollbar-width: thin;
	}

	.phorte-search-chips .chip {
		flex: 0 0 auto;
	}
}
