/* VM Smart Search PRO — isolated styles */
.vmss {
	--vmss-ink: #172033;
	--vmss-muted: #6b7280;
	--vmss-line: #e6eaf0;
	--vmss-accent: #e35b2f;
	--vmss-accent-dark: #c94721;
	--vmss-radius: 16px;
	position: relative;
	z-index: 30;
	max-width: 100%;
	font-family: inherit;
	color: var(--vmss-ink);
}
.vmss * { box-sizing: border-box; }
.vmss__form {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 0 16px 0 19px;
	background: #fff;
	border: 1px solid #dfe4ec;
	border-radius: 15px;
	box-shadow: 0 5px 18px rgba(21, 34, 54, .07), 0 1px 3px rgba(21, 34, 54, .04);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.vmss:focus-within .vmss__form {
	border-color: rgba(227, 91, 47, .75);
	box-shadow: 0 0 0 4px rgba(227, 91, 47, .10), 0 10px 28px rgba(21, 34, 54, .10);
}
.vmss__search-icon { display: inline-flex; flex: 0 0 22px; color: #7b8494; }
.vmss__search-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.vmss__input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 58px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: var(--vmss-ink) !important;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
}
.vmss__input::placeholder { color: #8b93a1; opacity: 1; }
.vmss__input::-webkit-search-cancel-button { display: none; }
.vmss__clear, .vmss__spinner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: #f2f4f7;
	color: #6b7280;
}
.vmss__clear { cursor: pointer; padding: 6px; }
.vmss__clear:hover { background: #e9edf2; color: var(--vmss-ink); }
.vmss__clear svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vmss__spinner { display: none; border: 2px solid #e8ebf0; border-top-color: var(--vmss-accent); background: transparent; animation: vmss-spin .7s linear infinite; }
.vmss.is-loading .vmss__spinner { display: inline-flex; }
@keyframes vmss-spin { to { transform: rotate(360deg); } }
.vmss__dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	right: 0;
	max-height: min(72vh, 610px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e4e8ef;
	border-radius: var(--vmss-radius);
	box-shadow: 0 22px 65px rgba(18, 29, 47, .18), 0 4px 14px rgba(18, 29, 47, .06);
	animation: vmss-drop-in .16s ease-out;
}
.vmss__dropdown[hidden] { display: none !important; }
@keyframes vmss-drop-in { from { opacity: 0; transform: translateY(-5px) scale(.995); } to { opacity: 1; transform: translateY(0) scale(1); } }
.vmss__results-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 18px 12px;
	border-bottom: 1px solid #eef0f4;
	color: #8a92a1;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
}
.vmss__count { font-size: 11px; letter-spacing: 0; font-weight: 700; color: #8a92a1; }
.vmss__results { overflow-y: auto; overscroll-behavior: contain; padding: 5px 8px; }
.vmss__item {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	padding: 11px 10px;
	border-radius: 11px;
	color: inherit;
	text-decoration: none !important;
	transition: background .16s ease, transform .16s ease;
}
.vmss__item + .vmss__item { margin-top: 2px; }
.vmss__item:hover, .vmss__item:focus, .vmss__item.is-active {
	background: #f7f8fa;
	outline: none;
}
.vmss__item:hover { transform: translateX(2px); }
.vmss__thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 78px;
	width: 78px;
	height: 66px;
	overflow: hidden;
	border: 1px solid #edf0f4;
	border-radius: 9px;
	background: linear-gradient(135deg, #f7f8fa, #eef1f5);
}
.vmss__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vmss__thumb--empty { color: #a3aab6; }
.vmss__thumb--empty svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.vmss__item-copy { min-width: 0; flex: 1; }
.vmss__title {
	display: block;
	margin: 0 0 5px;
	color: #1a2436;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
.vmss__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--vmss-muted); font-size: 11px; line-height: 1.35; }
.vmss__badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 7px;
	border-radius: 5px;
	background: #fff0e9;
	color: #bd4928;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .035em;
	text-transform: uppercase;
}
.vmss__badge--africa { background: #eaf4ed; color: #267247; }
.vmss__arrow { flex: 0 0 auto; margin-left: auto; color: #9aa2af; font-size: 21px; transition: transform .16s ease, color .16s ease; }
.vmss__item:hover .vmss__arrow, .vmss__item.is-active .vmss__arrow { color: var(--vmss-accent); transform: translateX(3px); }
.vmss__status { padding: 15px 18px; color: #737c8b; font-size: 13px; text-align: center; }
.vmss__status:empty { display: none; }
.vmss__empty { padding: 26px 18px 28px; text-align: center; }
.vmss__empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 10px; border-radius: 13px; background: #f4f5f7; color: #8c95a4; }
.vmss__empty-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.vmss__empty-title { margin: 0 0 5px; color: #273246; font-size: 14px; font-weight: 750; }
.vmss__empty-text { margin: 0; color: #7b8493; font-size: 12px; }
@media (max-width: 600px) {
	.vmss__form { min-height: 54px; padding: 0 12px 0 14px; gap: 9px; border-radius: 12px; }
	.vmss__input { height: 52px; font-size: 15px; }
	.vmss__dropdown { top: calc(100% + 7px); max-height: 68vh; border-radius: 13px; }
	.vmss__results-head { padding: 13px 14px 10px; }
	.vmss__results { padding: 4px 5px; }
	.vmss__item { gap: 10px; padding: 9px 7px; }
	.vmss__thumb { flex-basis: 65px; width: 65px; height: 58px; }
	.vmss__title { font-size: 13px; }
	.vmss__meta { font-size: 10px; }
	.vmss__arrow { font-size: 18px; }
}
