/* Native Blocksy live search; presentation only, without replacing its results. */
#header [data-id="search-input"] .ct-search-results {
	top: calc(100% + 6px);
	inset-inline: 0;
	max-height: min(65dvh, 560px);
	padding: 6px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	border: 1px solid var(--theme-border-color);
	border-radius: var(--brand-radius-card, 12px);
	background: var(--theme-palette-color-8);
	box-shadow: 0 8px 24px color-mix(in srgb, var(--theme-headings-color) 7%, transparent);
}
:is(#header, #search-modal) .ct-search-results a.ct-search-item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 80px;
	padding: 12px;
	border: 0;
	border-radius: 4px;
	color: var(--theme-text-color);
	font-family: var(--theme-soc-body-font-family, var(--theme-font-family));
	font-size: var(--theme-soc-body-font-size, var(--theme-soc-body-font-size));
	font-weight: var(--theme-soc-body-font-weight, 400);
	line-height: 1.5;
	text-decoration: none;
	transition: background-color .15s ease;
}
:is(#header, #search-modal) .ct-search-results a.ct-search-item + a.ct-search-item {
	border-top: 1px solid color-mix(in srgb, var(--theme-border-color) 60%, transparent);
}
:is(#header, #search-modal) .ct-search-results a.ct-search-item:is(:hover, :focus-visible, [aria-selected="true"]) {
	background: var(--brand-soft);
}
:is(#header, #search-modal) .ct-search-results a:focus-visible {
	outline: 2px solid var(--theme-palette-color-1);
	outline-offset: -2px;
}
:is(#header, #search-modal) .ct-search-results .ct-search-item .ct-media-container {
	align-self: center;
	width: 56px;
	max-width: 56px;
	aspect-ratio: 1;
	border: 0;
	border-radius: var(--soc-radius-sm);
	background: var(--theme-palette-color-8);
}
:is(#header, #search-modal) .ct-search-results .ct-media-container img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
:is(#header, #search-modal) .ct-search-item > span:not(.ct-media-container) {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px 20px;
	min-width: 0;
	overflow-wrap: anywhere;
}
:is(#header, #search-modal) .ct-search-results .ct-search-item .product-search-meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	margin: 0;
	color: var(--theme-headings-color);
}
:is(#header, #search-modal) .ct-search-results .product-search-meta .price {
	font-size: var(--theme-soc-body-font-size, var(--theme-soc-body-font-size));
	font-weight: calc(var(--theme-soc-body-font-weight, 400) + 100);
	line-height: 1.4;
	white-space: nowrap;
}
:is(#header, #search-modal) .ct-search-results .product-search-meta .price del {
	color: var(--brand-muted);
	font-size: var(--soc-font-small);
	font-weight: 400;
}
:is(#header, #search-modal) .ct-search-results .product-search-meta .stock-status {
	font-size: var(--soc-font-small);
	font-weight: 400;
}
:is(#header, #search-modal) .ct-search-results .product-search-meta .stock-status::before {
	display: none;
}
:is(#header, #search-modal) .ct-search-results a.ct-search-more {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 48px;
	margin-top: 4px;
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid var(--theme-border-color);
	border-radius: 0;
	background: transparent;
	color: var(--theme-link-initial-color);
	font-size: var(--theme-button-font-size);
	font-weight: var(--theme-soc-body-font-weight, 400);
	line-height: var(--theme-button-line-height);
	text-decoration: none;
}
:is(#header, #search-modal) .ct-search-results a.ct-search-more:hover {
	background: var(--brand-tint);
	color: var(--theme-link-hover-color);
}
#search-modal .ct-search-form .ct-search-results {
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	max-height: calc(100dvh - 220px);
	margin-top: 12px;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}
#search-modal .ct-panel-content {
	display: block;
	padding: 72px 16px 24px;
}
#search-modal .ct-search-form {
	--theme-form-max-width: 750px;
	--theme-form-font-size: var(--theme-soc-body-font-size);
	--theme-form-field-height: 50px;
	--theme-form-text-initial-color: var(--theme-text-color);
	--theme-form-text-focus-color: var(--theme-text-color);
	--theme-icon-color: var(--theme-headings-color);
	box-sizing: border-box;
	padding: 16px;
	border: 1px solid var(--theme-border-color);
	border-radius: var(--brand-radius-panel, 20px);
	background: var(--theme-palette-color-8);
	color: var(--theme-text-color);
}
#search-modal .ct-search-form .ct-search-form-inner {
	--theme-form-field-border-focus-color: var(--theme-palette-color-1);
	--theme-form-field-focus-initial-color: var(--theme-border-color);
	margin-bottom: 0;
	padding: 0;
	border: 1px solid var(--theme-border-color);
	border-radius: var(--theme-form-field-border-radius, 999px);
	background: var(--brand-soft);
}
#search-modal .ct-search-form .ct-search-form-inner:focus-within {
	border-color: var(--theme-palette-color-1);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-palette-color-1) 12%, transparent);
}
#search-modal input[type="search"] {
	min-width: 0;
	padding-inline: 16px 8px;
	color: var(--theme-text-color);
	font-size: var(--theme-soc-body-font-size);
	border: 0;
	outline: 0;
	box-shadow: none;
}
#search-modal .ct-search-form .ct-search-form-inner button[type="submit"] {
	--theme-icon-color: var(--theme-text-color);
	--theme-icon-hover-color: var(--theme-palette-color-1);
	--theme-icon-size: 18px;
	inset-inline-end: 4px;
	align-self: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--theme-text-color);
}
#search-modal .ct-search-form .ct-search-form-inner button[type="submit"]:hover {
	background: var(--brand-tint);
}
#search-modal .ct-search-form .ct-search-form-inner button[type="submit"]:focus-visible {
	outline: 2px solid var(--theme-palette-color-1);
	outline-offset: -4px;
}
#search-modal input[type="search"]::placeholder {
	color: var(--brand-muted);
}
@media (max-width: 689.98px) {
	:is(#header, #search-modal) .ct-search-results a.ct-search-item {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 12px;
		padding: 12px 8px;
	}
	:is(#header, #search-modal) .ct-search-results .ct-search-item .ct-media-container {
		width: 56px;
		max-width: 56px;
	}
	:is(#header, #search-modal) .ct-search-item > span:not(.ct-media-container) {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	:is(#header, #search-modal) .ct-search-results .ct-search-item .product-search-meta {
		align-items: flex-start;
	}
}
