/*
 * Instant search dropdown — Flatsome Blaze brand styling.
 *
 * When we reuse Flatsome's own `.live-search-results` container, Flatsome's
 * white background and link colors would win, so the panel + row backgrounds and
 * text colors are forced here (two-class selectors + !important) to guarantee the
 * dark treatment regardless of theme CSS load order. The storefront is
 * unconditionally dark; there is no light-mode variant.
 */

.zed-search__host {
	position: relative;
}

.zed-search__panel,
.live-search-results.zed-search__panel {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	max-height: 72vh;
	overflow-y: auto;
	text-align: left;
	background: var(--ink2, #161616) !important;
	color: var(--bone, #f1f1f2) !important;
	border: 1px solid var(--line, #282828) !important;
	border-radius: var(--radius, 2px);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
	padding: 0 !important;
}

.zed-search__panel .zed-search__hit {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px !important;
	margin: 0 !important;
	text-decoration: none !important;
	background: transparent !important;
	color: var(--bone, #f1f1f2) !important;
	border: 0;
	border-bottom: 1px solid var(--line, #282828) !important;
}

.zed-search__panel .zed-search__hit:last-of-type {
	border-bottom: 0 !important;
}

.zed-search__panel .zed-search__hit:hover,
.zed-search__panel .zed-search__hit:focus {
	background: var(--panel, #0f0f0f) !important;
}

.zed-search__hit img,
.zed-search__noimg {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	object-fit: contain;
	background: #ffffff;
	border: 1px solid var(--line, #282828);
	border-radius: var(--radius, 2px);
}

.zed-search__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.zed-search__title {
	font-family: var(--cond, 'Barlow Condensed', system-ui, sans-serif);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--bone, #f1f1f2) !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zed-search__hit:hover .zed-search__title,
.zed-search__hit:focus .zed-search__title {
	color: var(--blaze, #ff5b16) !important;
}

.zed-search__meta {
	font-family: var(--body, 'Barlow', system-ui, sans-serif);
	font-size: 0.8rem;
	color: var(--gray, #8a8a8a) !important;
	margin-top: 2px;
}

.zed-search__price {
	color: var(--caut, #f5c518) !important;
	font-weight: 700;
}

.zed-search__oos {
	color: var(--gray, #8a8a8a) !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.zed-search__empty {
	padding: 20px 14px;
	font-family: var(--body, 'Barlow', system-ui, sans-serif);
	font-size: 0.9rem;
	color: var(--gray, #8a8a8a) !important;
	text-align: center;
}

.zed-search__panel .zed-search__all {
	display: block;
	padding: 13px !important;
	text-align: center;
	text-decoration: none !important;
	font-family: var(--sten, 'Black Ops One', sans-serif);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: var(--ink, #0b0b0b) !important;
	background: var(--blaze, #ff5b16) !important;
	border-bottom: 0 !important;
	position: sticky;
	bottom: 0;
}

.zed-search__panel .zed-search__all:hover,
.zed-search__panel .zed-search__all:focus {
	filter: brightness(1.08);
}
