.wts-header-search-item {
	display: flex;
	align-items: center;
}

.icon_wrapper .cartIcon {
	position: relative;
}

.icon_wrapper .cartIcon .cart-count {
	pointer-events: none;
}

.icon_wrapper li.wts-header-search-item {
	margin-right: 0;
}

.wts-header-search-trigger .cart-count {
	display: none !important;
}

.wts-header-search-trigger {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	width: 24px;
}

.wts-header-search-trigger img,
.wts-header-search-trigger svg {
	display: block;
	height: 24px;
	max-height: 24px;
	object-fit: contain;
	width: 24px;
}

.wts-header-search-trigger i {
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

.wts-header-search-trigger:hover img,
.wts-header-search-trigger:focus img {
	filter: brightness(0) saturate(100%) invert(61%) sepia(0%) saturate(0%) hue-rotate(203deg) brightness(98%) contrast(92%);
}

.wts-header-search-trigger:focus-visible,
.wts-header-search-close:focus-visible,
.wts-header-search-result:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

body.wts-header-search-open {
	overflow: hidden;
}

.wts-header-search-modal[hidden] {
	display: none;
}

.wts-header-search-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.wts-header-search-overlay {
	background: rgba(0, 0, 0, 0.72);
	inset: 0;
	position: absolute;
}

.wts-header-search-dialog {
	background: #fff;
	color: #000;
	max-height: min(760px, calc(100vh - 48px));
	max-width: 860px;
	overflow: auto;
	padding: 32px;
	position: relative;
	width: min(100%, 860px);
}

.wts-header-search-head {
	align-items: center;
	border-bottom: 1px solid #d8d8d8;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 24px;
	padding-bottom: 18px;
}

.wts-header-search-head h2 {
	color: #000;
	font-family: inherit;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.1;
	margin: 0;
}

.wts-header-search-close {
	align-items: center;
	background: #000;
	border: 1px solid #000;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-size: 30px;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 44px;
}

.wts-header-search-field {
	align-items: center;
	border: 1px solid #d8d8d8;
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	padding: 0 16px;
}

.wts-header-search-field:focus-within {
	border: 2px solid #000;
	outline: none;
	padding-left: 15px;
	padding-right: 15px;
}

.wts-header-search-field-icon {
	align-items: center;
	display: inline-block;
	flex: 0 0 20px;
	height: 20px;
	opacity: 0.75;
	width: 20px;
}

.wts-header-search-field-icon::before {
	color: #000;
	content: "\f002";
	display: block;
	font-family: "Font Awesome 6 Free";
	font-size: 16px;
	font-weight: 900;
	line-height: 20px;
	text-align: center;
}

.wts-header-search-field input {
	background: #fff;
	border: 0;
	color: #000;
	flex: 1 1 auto;
	font: inherit;
	min-height: 56px;
	min-width: 0;
	outline: none;
	padding: 0;
	width: 100%;
}

.wts-header-search-status,
.wts-header-search-error {
	color: #000;
	font-size: 15px;
	margin-bottom: 16px;
}

.wts-header-search-error {
	border: 1px solid #000;
	padding: 12px 14px;
}

.wts-header-search-results {
	display: grid;
	gap: 0;
}

.wts-header-search-results.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.wts-header-search-result {
	align-items: center;
	border-top: 1px solid #d8d8d8;
	color: #000;
	display: grid;
	gap: 18px;
	grid-template-columns: 86px minmax(0, 1fr);
	padding: 16px 0;
	text-decoration: none;
}

.wts-header-search-result:hover {
	color: #000;
	text-decoration: underline;
}

.wts-header-search-thumb {
	align-items: center;
	background: #f7f7f7;
	display: flex;
	height: 86px;
	justify-content: center;
	width: 86px;
}

.wts-header-search-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wts-header-search-info {
	display: grid;
	gap: 8px;
	min-width: 0;
}

.wts-header-search-info strong {
	color: #000;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.25;
}

.wts-header-search-price {
	color: #000;
	font-size: 15px;
}

.wts-header-search-price del {
	opacity: 0.6;
}

@media (max-width: 991px) {
	.wts-header-search-dialog {
		padding: 24px;
	}
}

@media (max-width: 767px) {
	.wts-header-search-modal {
		align-items: stretch;
		padding: 12px;
	}

	.wts-header-search-dialog {
		max-height: calc(100vh - 24px);
		padding: 20px;
		width: 100%;
	}

	.wts-header-search-head {
		margin-bottom: 18px;
	}

	.wts-header-search-close {
		height: 42px;
		width: 42px;
	}

	.wts-header-search-result {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
	}

	.wts-header-search-thumb {
		height: 72px;
		width: 72px;
	}
}
