#search.pro-search {
	display: block;
	position: relative;
	z-index: 1030;
}

#search.pro-search .pro-search-input-group {
	border-collapse: separate;
	display: flex;
	align-items: stretch;
	position: relative;
	width: 100%;
	box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
	transition: box-shadow 0.16s ease;
}

#search.pro-search .pro-search-input-group:focus-within {
	box-shadow: 0 16px 38px rgba(16, 24, 40, 0.14), 0 0 0 3px rgba(28, 145, 178, 0.12);
}

#search.pro-search .pro-search-mobile-close {
	display: none;
}

#search.pro-search .pro-search-input-group .form-control {
	background: #fff;
	border: 1px solid #cdd6df;
	border-radius: 0;
	border-right: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	color: #111827;
	flex: 1 1 auto;
	font-weight: 500;
	min-width: 0;
	width: 1%;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

#search.pro-search .pro-search-input-group .form-control:focus {
	background: #fff;
	border-color: #1c91b2;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	outline: 0;
}

#search.pro-search .pro-search-input-group .form-control::placeholder {
	color: #8b95a1;
	font-weight: 400;
}

#search.pro-search .pro-search-input-group .input-group-btn {
	display: flex;
	flex: 0 0 72px;
	width: auto;
}

#search.pro-search .pro-search-input-group .btn {
	background: linear-gradient(180deg, #f7f9fb 0%, #e8edf2 100%);
	border: 1px solid #cdd6df;
	border-left: 0;
	border-radius: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
	color: #263238;
	width: 100%;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

#search.pro-search .pro-search-icon {
	align-items: center;
	display: flex;
	justify-content: center;
	line-height: 1;
}

#search.pro-search .pro-search-icon svg {
	display: block;
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.2;
	width: 18px;
}

#search.pro-search .pro-search-input-group .btn:hover,
#search.pro-search .pro-search-input-group .btn:focus {
	background: #111827;
	border-color: #111827;
	color: #fff;
	outline: 0;
}

#search.pro-search .pro-search-input-group:focus-within .btn {
	border-color: #1c91b2;
}

#search.pro-search.pro-search-size-normal .pro-search-input-group .form-control {
	font-size: 14px;
	height: 42px;
	line-height: 20px;
	padding: 0 14px;
}

#search.pro-search.pro-search-size-normal .pro-search-input-group .btn {
	font-size: 15px;
	height: 42px;
	line-height: 20px;
	padding: 8px 22px;
}

#search.pro-search.pro-search-size-large .pro-search-input-group .input-group-btn {
	flex-basis: 86px;
}

#search.pro-search.pro-search-size-large .pro-search-input-group .form-control {
	font-size: 15px;
	height: 52px;
	line-height: 20px;
	padding: 0 16px;
}

#search.pro-search.pro-search-size-large .pro-search-input-group .btn {
	font-size: 16px;
	height: 52px;
	line-height: 20px;
	padding: 10px 30px;
}

#search.pro-search.pro-search-open {
	z-index: 3000;
}

#search.pro-search .pro-search-dropdown {
	background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
	border: 1px solid #cdd6df;
	border-radius: 0;
	border-top: 3px solid #1c91b2;
	box-shadow: 0 32px 80px rgba(16, 24, 40, 0.24), 0 8px 20px rgba(16, 24, 40, 0.1);
	display: none;
	left: 0;
	margin-top: 8px;
	max-height: 590px;
	min-width: 0;
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	right: 86px;
	top: 100%;
	width: auto;
	z-index: 3000;
}

#search.pro-search.pro-search-open .pro-search-dropdown {
	animation: proSearchDrop 0.16s ease-out;
}

header .col-sm-5 {
	position: relative;
	z-index: 3000;
}

header .col-sm-5:has(#search.pro-search-open) {
	z-index: 3000;
}

@media (min-width: 768px) {
	#search.pro-search .pro-search-dropdown {
		left: 50%;
		max-width: calc(100vw - 32px);
		right: auto;
		transform: translateX(-50%);
		width: 760px;
	}
}

.pro-search-open .pro-search-dropdown {
	display: block;
}

.pro-search-section {
	border-bottom: 1px solid #e4e9ef;
	padding: 9px 0;
}

.pro-search-section:last-child {
	border-bottom: 0;
}

.pro-search-title {
	color: #5f6b7a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
	padding: 3px 14px 7px;
	text-transform: uppercase;
}

.pro-search-body {
	padding: 0 10px;
}

.pro-search-section-categories .pro-search-body,
.pro-search-section-products .pro-search-body {
	gap: 3px 7px;
}

#search.pro-search.pro-search-categories-2 .pro-search-section-categories .pro-search-body,
#search.pro-search.pro-search-products-2 .pro-search-section-products .pro-search-body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pro-search-item {
	align-items: center;
	background: #fff;
	border: 1px solid transparent;
	border-left: 3px solid transparent;
	border-radius: 0;
	color: #263238;
	display: flex;
	gap: 8px;
	min-width: 0;
	padding: 8px 9px;
	text-decoration: none;
	transition: background-color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.pro-search-item:hover,
.pro-search-item.active {
	background: #f2f8fb;
	border-color: #d8e5ec;
	border-left-color: #1c91b2;
	box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
	color: #0b6f93;
	text-decoration: none;
	transform: translateY(-1px);
}

.pro-search-redirect,
.pro-search-banner {
	background: #f8fafc;
}

.pro-search-redirect > .fa,
.pro-search-banner > .fa {
	color: #0b6f93;
	flex: 0 0 18px;
	text-align: center;
}

.pro-search-product img {
	background: #f4f7fa;
	border: 1px solid #dde5ed;
	border-radius: 0;
	flex: 0 0 46px;
	height: 46px;
	object-fit: contain;
	width: 46px;
}

.pro-search-main {
	background: transparent !important;
	display: block;
	flex: 1 1 0;
	min-width: 0;
	width: auto;
}

.pro-search-name {
	background: transparent !important;
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pro-search-meta {
	background: transparent !important;
	color: #697586;
	display: block;
	font-size: 11px;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pro-search-price {
	background: transparent !important;
	color: #006d8f;
	display: flex;
	flex: 0 0 82px;
	flex-direction: column;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	margin-left: 8px;
	text-align: right;
	white-space: nowrap;
}

.pro-search-price.is-special {
	color: #d13c3c;
}

.pro-search-price-old {
	color: #8a95a3;
	font-size: 10px;
	font-weight: 500;
	text-decoration: line-through;
}

.pro-search-price-current {
	display: block;
}

.pro-search-count {
	background: #eef3f7 !important;
	border-radius: 0;
	color: #475467;
	display: inline-block;
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	margin-left: auto;
	min-width: 22px;
	padding: 2px 6px;
	text-align: center;
	width: auto !important;
}

.pro-search-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	padding: 0 0 4px;
}

.pro-search-chip {
	background: #f6f8fa;
	border: 1px solid #dce5ed;
	border-radius: 0;
	color: #344054;
	display: inline-block;
	font-size: 11px;
	line-height: 1.25;
	padding: 4px 8px;
	text-decoration: none;
}

.pro-search-chip:hover,
.pro-search-chip.active {
	background: #e8f5f9;
	border-color: #b8ddea;
	color: #0b6f93;
	text-decoration: none;
}

.pro-search-footer {
	background: #f4f7fa;
	border-top: 1px solid #e6ebf0;
	color: #0b6f93;
	display: block;
	font-weight: 700;
	padding: 8px 12px;
	text-align: center;
}

.pro-search-note {
	background: #f6fbfd;
	border-bottom: 1px solid #e6eef3;
	color: #537083;
	font-size: 11px;
	font-weight: 600;
	padding: 7px 12px;
}

.pro-search-note .fa {
	color: #0b6f93;
	margin-right: 5px;
}

.pro-search-empty,
.pro-search-loading {
	align-items: center;
	color: #667085;
	display: flex;
	gap: 8px;
	justify-content: center;
	padding: 12px;
	text-align: center;
}

.pro-search-spinner {
	animation: proSearchSpin 0.75s linear infinite;
	display: inline-flex;
	flex: 0 0 20px;
	height: 20px;
	width: 20px;
}

.pro-search-spinner svg {
	display: block;
	height: 20px;
	width: 20px;
}

.pro-search-spinner circle {
	fill: none;
	stroke-linecap: round;
	stroke-width: 2.4;
}

.pro-search-spinner-track {
	stroke: #d9e7ee;
}

.pro-search-spinner-line {
	stroke: #0b6f93;
	stroke-dasharray: 28 72;
	stroke-dashoffset: 0;
}

.pro-search-loading.pro-search-loading-skeleton {
	display: block;
	padding: 10px 12px;
}

.pro-search-loading.pro-search-loading-skeleton > span {
	animation: proSearchShimmer 1.1s ease-in-out infinite;
	background: linear-gradient(90deg, #eef3f7 0%, #f8fbfd 48%, #eef3f7 100%);
	background-size: 220% 100%;
	border-radius: 0;
	display: block;
	height: 32px;
	margin-bottom: 7px;
}

.pro-search-loading.pro-search-loading-skeleton > span:nth-child(2) {
	animation-delay: 0.08s;
	width: 88%;
}

.pro-search-loading.pro-search-loading-skeleton > span:nth-child(3) {
	animation-delay: 0.16s;
	margin-bottom: 0;
	width: 72%;
}

#search.pro-search.pro-search-compact .pro-search-section-categories .pro-search-body,
#search.pro-search.pro-search-compact .pro-search-section-products .pro-search-body,
#search.pro-search.pro-search-compact.pro-search-categories-2 .pro-search-section-categories .pro-search-body,
#search.pro-search.pro-search-compact.pro-search-products-2 .pro-search-section-products .pro-search-body {
	display: block;
}

#search.pro-search.pro-search-compact .pro-search-item {
	padding: 6px 8px;
}

#search.pro-search.pro-search-compact .pro-search-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: normal;
}

#search.pro-search.pro-search-compact .pro-search-meta {
	white-space: nowrap;
}

#search.pro-search.pro-search-compact .pro-search-price {
	flex-basis: 68px;
	font-size: 11px;
	margin-left: 6px;
}

#search.pro-search.pro-search-compact .pro-search-count {
	border-radius: 0;
	min-width: 22px;
	padding: 1px 6px;
}

#search.pro-search.pro-search-compact .pro-search-chip {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@keyframes proSearchSpin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes proSearchDrop {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0);
	}
}

@keyframes proSearchShimmer {
	0% {
		background-position: 120% 0;
	}

	100% {
		background-position: -120% 0;
	}
}

@media (max-width: 767px) {
	header .col-sm-5 {
		z-index: 3000;
	}

	#search.pro-search {
		margin: 10px 0;
	}

	/* Mobile search is a real full-screen panel for every theme.  The
	 * previous implementation only enabled this for Revolution/OCT and left
	 * the wildcard/default theme with a small legacy field and a loose `×`
	 * button under it. */
	body.pro-search-mobile-search-open {
		overflow: hidden;
	}

	#search.pro-search.pro-search-mobile-open {
		align-items: stretch;
		background: #fff;
		bottom: 0;
		display: flex !important;
		flex-direction: column;
		left: 0;
		margin: 0 !important;
		max-width: none;
		min-height: 100vh;
		min-height: 100dvh;
		overflow: hidden;
		padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		top: 0;
		width: 100%;
		z-index: 100000;
	}

	#search.pro-search.pro-search-mobile-open .pro-search-input-group {
		flex: 0 0 auto;
		margin-right: 48px;
		width: auto;
	}

	#search.pro-search.pro-search-mobile-open .pro-search-mobile-close {
		align-items: center;
		background: #f3f5f7;
		border: 0;
		border-radius: 0;
		color: #31373d;
		display: inline-flex;
		font-size: 22px;
		font-weight: 300;
		height: 40px;
		justify-content: center;
		line-height: 1;
		padding: 0;
		position: absolute;
		right: 12px;
		top: 12px;
		width: 40px;
		z-index: 2;
	}

	#search.pro-search.pro-search-mobile-open .pro-search-mobile-close:hover,
	#search.pro-search.pro-search-mobile-open .pro-search-mobile-close:focus {
		background: #e7ebee;
		color: #111827;
		outline: 0;
	}

	#search.pro-search.pro-search-mobile-open .pro-search-dropdown {
		background: #fff;
		border: 0;
		border-top: 1px solid #edf0f2;
		border-radius: 0;
		box-shadow: none;
		flex: 1 1 auto;
		left: auto;
		margin: 12px -12px 0;
		max-height: none;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		position: static;
		right: auto;
		transform: none;
		width: auto;
		padding-bottom: calc(84px + env(safe-area-inset-bottom));
	}

	#search.pro-search.pro-search-mobile-open .pro-search-dropdown::-webkit-scrollbar {
		width: 4px;
	}

	#search.pro-search.pro-search-mobile-open .pro-search-dropdown::-webkit-scrollbar-thumb {
		background: #202428;
		border: 1px solid transparent;
		background-clip: content-box;
	}

	#search.pro-search.pro-search-size-large .pro-search-input-group .form-control,
	#search.pro-search.pro-search-size-large .pro-search-input-group .btn {
		height: 48px;
	}

	#search.pro-search.pro-search-size-normal .pro-search-input-group .form-control,
	#search.pro-search.pro-search-size-normal .pro-search-input-group .btn {
		height: 40px;
	}

	#search.pro-search .pro-search-input-group .form-control {
		border-right: 1px solid #cdd6df;
		flex: 1 1 100%;
		padding-right: 58px;
		width: 100%;
	}

	#search.pro-search .pro-search-input-group .form-control:focus {
		border-color: #1c91b2;
	}

	#search.pro-search .pro-search-input-group .input-group-btn {
		bottom: 0;
		display: block;
		flex: 0 0 auto;
		position: absolute;
		right: 0;
		top: 0;
		width: 56px;
		z-index: 2;
	}

	#search.pro-search.pro-search-size-large .pro-search-input-group .btn {
		padding: 0;
	}

	#search.pro-search .pro-search-input-group .btn {
		background: transparent;
		border: 0;
		box-shadow: none;
		color: #111827;
		height: 100%;
	}

	#search.pro-search .pro-search-input-group .btn:hover,
	#search.pro-search .pro-search-input-group .btn:focus,
	#search.pro-search .pro-search-input-group:focus-within .btn {
		background: transparent;
		border-color: transparent;
		color: #0b6f93;
	}

	#search.pro-search .pro-search-dropdown {
		left: 0;
		max-height: 68vh;
		max-width: none;
		right: 0;
		transform: none;
		width: 100%;
	}

	#search.pro-search.pro-search-open .pro-search-dropdown {
		animation: proSearchDropMobile 0.16s ease-out;
	}

	.pro-search-section-categories .pro-search-body,
	.pro-search-section-products .pro-search-body,
	#search.pro-search.pro-search-categories-2 .pro-search-section-categories .pro-search-body,
	#search.pro-search.pro-search-products-2 .pro-search-section-products .pro-search-body {
		display: block;
	}

	.pro-search-price {
		display: none;
	}
}

@keyframes proSearchDropMobile {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
