/* HONCW Core – smart directory search ([honcw_smart_search]), scoped to .honcw-ss. 0.5.0 */
.honcw-ss {
	--ss-plum: #381641;
	--ss-plum-deep: #230A2A;
	--ss-rose-text: #B0305A;
	--ss-lilac: #E0C5E0;
	--ss-ink-muted: #5E4A63;
	--ss-hover: #F6EEF3;
	--ss-radius: 24px;
	position: relative;
	width: 100%;
	max-width: 640px;
	font-family: inherit;
	color: var(--ss-plum-deep);
}
.honcw-ss *, .honcw-ss *::before, .honcw-ss *::after { box-sizing: border-box; }

.honcw-ss__sr {
	position: absolute !important;
	width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.honcw-ss__form { margin: 0; }

.honcw-ss__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border-radius: 999px;
	padding: 6px 6px 6px 20px;
	box-shadow: 0 6px 24px rgba(56, 22, 65, 0.12);
}

.honcw-ss__what {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
	min-width: 0;
}
.honcw-ss__where {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 6px;
	flex: 0 1 auto;
	min-width: 0;
}
.honcw-ss__icon { flex: 0 0 auto; color: var(--ss-plum); }
.honcw-ss__divider { width: 1px; height: 28px; background: var(--ss-lilac); flex: 0 0 auto; }

.honcw-ss .honcw-ss__input,
.honcw-ss .honcw-ss__select {
	border: 0 !important;
	outline: none;
	background: transparent !important;
	box-shadow: none !important;
	padding: 10px 0 !important;
	margin: 0;
	min-height: 44px;
	font: inherit;
	font-size: 16px; /* 16px stops iOS zoom */
	color: var(--ss-plum-deep);
	border-radius: 0;
}
.honcw-ss .honcw-ss__input { width: 100%; min-width: 0; }
.honcw-ss .honcw-ss__input::placeholder { color: #6B5870; opacity: 1; }
.honcw-ss .honcw-ss__select {
	font-weight: 600;
	color: var(--ss-plum);
	cursor: pointer;
	max-width: 190px;
	padding-right: 4px !important;
}
.honcw-ss__select--dir { max-width: 110px; }

.honcw-ss .honcw-ss__go {
	flex: 0 0 auto;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ss-plum);
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s ease;
}
.honcw-ss .honcw-ss__go:hover { background: var(--ss-plum-deep); }

.honcw-ss__bar:focus-within { box-shadow: 0 6px 24px rgba(56, 22, 65, 0.12), 0 0 0 2px var(--ss-plum); }
.honcw-ss .honcw-ss__go:focus-visible,
.honcw-ss__chip:focus-visible { outline: 3px solid var(--ss-plum); outline-offset: 2px; }

/* Suggestions */
.honcw-ss__list {
	position: absolute;
	top: calc(100% + 14px);
	left: -20px;
	width: calc(100% + 20px);
	min-width: 320px;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: #fff;
	border-radius: var(--ss-radius);
	box-shadow: 0 18px 48px rgba(35, 10, 42, 0.22);
	z-index: 60;
	text-align: left;
}
.honcw-ss__list[hidden] { display: none; }

.honcw-ss__group {
	margin: 8px 12px 2px;
	padding: 0;
	font-family: "Josefin Sans", inherit;
	font-weight: 700;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ss-rose-text);
	list-style: none;
}
.honcw-ss__group.is-muted { color: var(--ss-ink-muted); }

.honcw-ss__opt {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	padding: 8px 12px;
	margin: 0;
	border-radius: 14px;
	font-size: 16px;
	line-height: 1.3;
	color: var(--ss-plum-deep);
	cursor: pointer;
	list-style: none;
}
.honcw-ss__opt.is-active { background: var(--ss-hover); }
.honcw-ss__opt.is-free { font-weight: 700; color: var(--ss-plum); }
.honcw-ss__opt.is-first-free { margin-top: 6px; border-top: 1px solid #EFE3EC; border-radius: 0 0 14px 14px; }
.honcw-ss__opt.is-first-free.is-active { border-radius: 14px; }
.honcw-ss__opt-label { flex: 1 1 auto; min-width: 0; }

.honcw-ss__opt-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	background: var(--ss-plum);
	-webkit-mask: var(--ss-icon) center / contain no-repeat;
	mask: var(--ss-icon) center / contain no-repeat;
}
.honcw-ss__opt-icon--venue { --ss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-5 7 5v11M10 21v-5h4v5'/%3E%3C/svg%3E"); }
.honcw-ss__opt-icon--vendor { --ss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.5 5.5L20 9.3l-4 4 1 5.7-5-2.8-5 2.8 1-5.7-4-4 5.5-.8z'/%3E%3C/svg%3E"); }
.honcw-ss__opt-icon--area { --ss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.honcw-ss__opt-icon--search { --ss-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }

.honcw-ss__tag {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--ss-plum);
	border-radius: 999px;
	padding: 3px 10px;
	white-space: nowrap;
}
.honcw-ss__tag.is-venues { background: #F2E4F2; }
.honcw-ss__tag.is-vendors { background: #FBE3EC; }
.honcw-ss__tag.is-area { background: #EAF0EA; }

/* Chips */
.honcw-ss__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
}
.honcw-ss__chips-label { font-weight: 700; font-size: 14px; color: var(--ss-plum); margin-right: 4px; }
.honcw-ss .honcw-ss__chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--ss-lilac);
	border-radius: 999px;
	background: #fff;
	color: var(--ss-plum);
	font-weight: 600;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.honcw-ss .honcw-ss__chip:hover { background: var(--ss-plum); border-color: var(--ss-plum); color: #fff; }

/* Phones and narrow columns: stack the fields */
@media (max-width: 640px) {
	.honcw-ss__bar {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		background: transparent;
		box-shadow: none;
		padding: 0;
		border-radius: 0;
	}
	.honcw-ss__bar:focus-within { box-shadow: none; }
	.honcw-ss__what, .honcw-ss__where {
		background: #fff;
		border-radius: 999px;
		padding: 4px 18px;
		box-shadow: 0 4px 16px rgba(56, 22, 65, 0.10);
	}
	.honcw-ss__what:focus-within, .honcw-ss__where:focus-within { box-shadow: 0 4px 16px rgba(56, 22, 65, 0.10), 0 0 0 2px var(--ss-plum); }
	.honcw-ss .honcw-ss__select { max-width: none; width: 100%; }
	.honcw-ss__divider { display: none; }
	.honcw-ss .honcw-ss__go { width: 100%; }
	.honcw-ss__list { top: calc(100% + 8px); left: 0; width: 100%; min-width: 0; max-height: 60vh; }
	.honcw-ss__chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.honcw-ss .honcw-ss__chip { min-height: 44px; white-space: nowrap; }
	.honcw-ss__chips-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.honcw-ss * { transition: none !important; }
}
