/* NPLCH storefront skin for FiboSearch. */
/* Flatsome's integration adds -40vh on the third character. Reserve space from opening instead. */
.dgwt-wcas-theme-flatsome .dgwt-wcas-search-wrapp.dgwt-wcas-flatsome-up {
	margin-top: 0 !important;
}
.dgwt-wcas-theme-flatsome #search-lightbox .dgwt-wcas-search-wrapp {
	transition: none !important;
}
.dgwt-wcas-theme-flatsome .mfp-container:has(#search-lightbox .dgwt-wcas-search-wrapp) {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: clamp(68px, 12vh, 120px);
}
.dgwt-wcas-theme-flatsome .mfp-container:has(#search-lightbox .dgwt-wcas-search-wrapp)::before { display: none; }
.dgwt-wcas-theme-flatsome .mfp-content:has(#search-lightbox .dgwt-wcas-search-wrapp) {
	width: min(100%, 600px);
	margin: 0 auto;
	transform: none !important;
	transition: none !important;
}
.dgwt-wcas-theme-flatsome .mfp-wrap:has(#search-lightbox .dgwt-wcas-search-wrapp) {
	background: rgb(0 0 0 / 45%);
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-search-wrapp {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-sf-wrapp {
	padding: 0 !important;
	border: 1px solid #111 !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: none !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-input {
	height: 58px !important;
	padding: 0 64px 0 20px !important;
	border: 0 !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #050505 !important;
	font-family: "Unbounded", var(--font-main), sans-serif !important;
	font-size: 16px !important;
	font-style: normal !important;
	font-weight: 500 !important;
	letter-spacing: -.02em !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-input::placeholder {
	color: rgba(5, 5, 5, .48) !important;
	font-style: normal !important;
	opacity: 1 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-submit {
	top: 5px !important;
	right: 5px !important;
	width: 48px !important;
	height: 48px !important;
	min-height: 48px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #050505 !important;
	box-shadow: none !important;
	color: #fff !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-submit:hover,
.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-submit:focus-visible {
	background: #2a2a2a !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestions-wrapp {
	max-height: min(600px, calc(100dvh - 220px)) !important;
	margin-top: 10px !important;
	overflow: hidden auto !important;
	border: 1px solid rgba(5, 5, 5, .14) !important;
	border-radius: 16px !important;
	background: #fff !important;
	box-shadow: 0 22px 60px rgba(0, 0, 0, .14) !important;
	color: #050505 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion {
	border-bottom: 1px solid rgba(5, 5, 5, .07) !important;
	background: #fff !important;
	color: #050505 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected,
.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion:hover {
	background: #f5f5f5 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-headline {
	min-height: 38px !important;
	padding: 15px 16px 8px !important;
	border: 0 !important;
	background: #fff !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-headline .dgwt-wcas-st {
	margin: 0 !important;
	color: rgba(5, 5, 5, .52) !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .12em !important;
	text-transform: uppercase !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product {
	min-height: 78px !important;
	padding: 10px 16px !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product .dgwt-wcas-si {
	width: 56px !important;
	height: 56px !important;
	margin-right: 14px !important;
	border: 0 !important;
	background: #f7f7f7 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product .dgwt-wcas-si img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product .dgwt-wcas-st-title {
	color: #050505 !important;
	font-family: "Unbounded", var(--font-main), sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product .dgwt-wcas-sp {
	color: #050505 !important;
	font-size: 13px !important;
	font-weight: 700 !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-tax {
	padding: 9px 16px !important;
	min-height: 44px;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-st-breadcrumbs {
	color: rgba(5, 5, 5, .46) !important;
	font-size: 11px !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-more {
	min-height: 48px !important;
	padding: 0 16px !important;
	border: 0 !important;
	background: #050505 !important;
	color: #fff !important;
	text-align: center !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-more:hover,
.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-more.dgwt-wcas-suggestion-selected {
	background: #2a2a2a !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-more .dgwt-wcas-st-more,
.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-more .dgwt-wcas-st-more-total {
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	letter-spacing: .10em !important;
	text-transform: uppercase !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-nores {
	padding: 28px 20px !important;
	color: #050505 !important;
	font-size: 14px !important;
	line-height: 1.5 !important;
	text-align: center !important;
}

@media (max-width: 768px) {
	.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-sf-wrapp,
	.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-input,
	.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestions-wrapp {
		border-radius: 14px !important;
	}

	.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-input {
		height: 54px !important;
		padding-left: 16px !important;
		font-size: 16px !important;
	}

	.dgwt-wcas-theme-flatsome .dgwt-wcas-style-flat .dgwt-wcas-search-submit {
		top: 5px !important;
		right: 5px !important;
		width: 44px !important;
		height: 44px !important;
		min-height: 44px !important;
		border-radius: 10px !important;
	}

	.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product {
		min-height: 72px !important;
		padding: 8px 12px !important;
	}

	.dgwt-wcas-theme-flatsome .dgwt-wcas-suggestion-product .dgwt-wcas-si {
		width: 52px !important;
		height: 52px !important;
		margin-right: 10px !important;
	}
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-search-submit::before {
	display: none !important;
}

/* The drawer has its own narrow column; never size its form from the viewport. */
.dgwt-wcas-theme-flatsome .nav-sidebar .header-search-form,
.dgwt-wcas-theme-flatsome .nav-sidebar .header-search-form-wrapper {
	min-width: 0 !important;
	max-width: 100%;
}
.dgwt-wcas-theme-flatsome .nav-sidebar .dgwt-wcas-search-input {
	height: 46px !important;
	padding: 0 46px 0 12px !important;
	font-size: 16px !important;
	font-family: var(--font-main), sans-serif !important;
	letter-spacing: normal !important;
}
.dgwt-wcas-theme-flatsome .nav-sidebar .dgwt-wcas-search-input,
.dgwt-wcas-theme-flatsome .nav-sidebar .dgwt-wcas-sf-wrapp { border-radius: 10px !important; }
.dgwt-wcas-theme-flatsome .nav-sidebar .dgwt-wcas-search-submit {
	width: 38px !important;
	height: 38px !important;
	min-height: 38px !important;
	top: 4px !important;
	right: 4px !important;
	border-radius: 8px !important;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-sf-wrapp:focus-within {
	box-shadow: 0 0 0 1px #111 !important;
}

/* Override the plugin's absolute, edge-to-edge mobile sheet, including iOS rules. */
html.dgwt-wcas-overlay-mobile-on,
.dgwt-wcas-overlay-mobile-on body.dgwt-wcas-theme-flatsome {
	min-width: 0 !important;
}
.dgwt-wcas-theme-flatsome .dgwt-wcas-overlay-mobile {
	position: fixed !important;
	top: 0 !important;
	bottom: auto !important;
	height: var(--nplch-search-height, 100dvh) !important;
	min-height: 0 !important;
	padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	background: rgb(0 0 0 / 45%) !important;
	overflow: hidden;
	overscroll-behavior: contain;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	grid-template-rows: 44px auto minmax(0, auto) auto;
	gap: 12px 8px;
	width: 100%;
	max-width: 600px;
	height: auto;
	max-height: 100%;
	margin: 0 auto;
	padding: 12px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 36px rgb(0 0 0 / 12%);
	overflow: hidden;
	outline: none;
}

.dgwt-wcas-theme-flatsome .nplch-search-title {
	grid-area: 1 / 1;
	align-self: center;
	margin: 0;
	padding-left: 4px;
	color: #111;
	font: 600 18px/1.3 "Unbounded", sans-serif;
	letter-spacing: -.04em;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar button.dgwt-wcas-om-return {
	grid-area: 1 / 2;
	width: 44px;
	height: 44px;
	min-height: 44px;
	border-radius: 50% !important;
	background: #f3f3f3;
	color: #111;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-om-return svg { display: none; }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-return::before,
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-return::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 13px;
	width: 18px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
}
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-return::after { transform: rotate(-45deg); }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-return:focus-visible { outline: 2px solid #111; outline-offset: -3px; }

.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-search-wrapp {
	grid-area: 2 / 1 / 3 / -1;
	margin: 0;
	float: none;
}

.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-sf-wrapp { border-radius: 12px !important; }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar input[type="search"].dgwt-wcas-search-input {
	height: 52px !important;
	padding: 0 44px 0 14px !important;
	border-radius: 12px !important;
	font-family: var(--font-main), sans-serif !important;
	font-size: 16px !important;
	letter-spacing: normal !important;
}

.dgwt-wcas-overlay-mobile-on .dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-suggestions-wrapp {
	grid-area: 3 / 1 / 4 / -1;
	position: relative !important;
	top: auto !important;
	left: auto !important;
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: min(600px, max(0px, calc(var(--nplch-search-height, 100dvh) - 172px - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))))) !important;
	margin: 0 !important;
	border: 0 !important;
	border-top: 1px solid #eee !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.dgwt-wcas-theme-flatsome .nplch-search-hint {
	grid-area: 4 / 1 / 5 / -1;
	margin: 0;
	padding: 0 4px 4px;
	font: 13px/1.5 var(--font-main), sans-serif;
	color: #6a6a6a;
}
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar:has(.dgwt-wcas-suggestion) .nplch-search-hint { display: none; }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-suggestion-more {
	position: sticky;
	bottom: 0;
	z-index: 1;
	border-radius: 10px;
}
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-si { flex-shrink: 0; }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-content-wrapp { min-width: 0; padding-left: 0; }
.dgwt-wcas-theme-flatsome .dgwt-wcas-om-bar .dgwt-wcas-st-title { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
	.dgwt-wcas-theme-flatsome .dgwt-wcas-overlay-mobile * { scroll-behavior: auto !important; transition: none !important; }
}
