.wws-product-search {
			position: relative;
			width: 100%;
			z-index: 999999;
			isolation: isolate;
			--wws-search-red: #a21d21;
			--wws-search-red-hot: #f22626;
			--wws-search-text: #111111;
			--wws-search-muted: #666666;
			--wws-search-line: #e8e8e8;
		}

		.tdc-header-template .wws-product-search,
		.tdb_header_mega_menu .wws-product-search,
		.td-header-template-wrap .wws-product-search,
		.td_block_wrap:has(.wws-product-search),
		.wpb_wrapper:has(.wws-product-search) {
			position: relative;
			z-index: 999999 !important;
			overflow: visible !important;
		}

		.wws-product-search__form {
			display: flex;
			position: relative;
			z-index: 2;
			width: 100%;
			min-height: 44px;
			border: 1px solid #c9c9c9;
			border-radius: 999px;
			background: #fff;
			box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
			overflow: hidden;
			transition: border-color 180ms ease, box-shadow 180ms ease;
		}

		.wws-product-search:focus-within .wws-product-search__form {
			border-color: var(--wws-search-red);
			box-shadow: 0 6px 18px rgba(162, 29, 33, 0.16);
		}

		.wws-product-search__field {
			position: relative;
			display: flex;
			align-items: center;
			flex: 1 1 auto;
			min-width: 0;
		}

		.wws-product-search__icon {
			position: absolute;
			left: 15px;
			display: flex;
			color: #8a8a8a;
			pointer-events: none;
		}

		.wws-product-search__icon svg,
		.wws-product-search__clear svg {
			display: block;
			fill: currentColor;
		}

		.wws-product-search__input {
			flex: 1 1 auto;
			min-width: 0;
			height: 44px;
			padding: 0 44px 0 42px;
			border: 0;
			background: transparent;
			color: var(--wws-search-text);
			font-size: 14px;
			font-weight: 600;
			line-height: 1.2;
			outline: none;
			-webkit-appearance: none;
		}

		.wws-product-search__input::placeholder {
			color: var(--wws-search-muted);
			opacity: 1;
		}

		.wws-product-search__input::-webkit-search-cancel-button {
			-webkit-appearance: none;
		}

		.wws-product-search__clear {
			position: absolute;
			right: 8px;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			width: 30px;
			height: 30px;
			border: 0;
			border-radius: 999px;
			background: #f1f1f1;
			color: #555;
			cursor: pointer;
			transition: background-color 160ms ease, color 160ms ease;
		}

		.wws-product-search__clear:hover,
		.wws-product-search__clear:focus-visible {
			background: #ece0e1;
			color: var(--wws-search-red);
			outline: none;
		}

		.wws-product-search__button {
			flex: 0 0 auto;
			min-width: 94px;
			min-height: 44px;
			padding: 0 20px;
			border: 0;
			border-radius: 0 999px 999px 0;
			background: var(--wws-search-red);
			color: #fff;
			cursor: pointer;
			font-size: 13px;
			font-weight: 600;
			line-height: 1.2;
			white-space: nowrap;
			transition: background-color 180ms ease, opacity 180ms ease;
		}

		.wws-product-search__button:hover,
		.wws-product-search__button:focus-visible {
			background: var(--wws-search-red-hot);
			outline: none;
		}

		.wws-product-search__results {
			position: absolute;
			top: calc(100% + 8px);
			left: 0;
			right: 0;
			z-index: 999999;
			max-height: min(70vh, 520px);
			overflow: auto;
			padding: 8px;
			border: 1px solid var(--wws-search-line);
			border-radius: 16px;
			background: #fff;
			box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
			transform-origin: top center;
			animation: wwsSearchReveal 160ms ease-out;
		}

		.wws-product-search__panel-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			gap: 12px;
			padding: 8px 10px 10px;
			border-bottom: 1px solid #f0f0f0;
		}

		.wws-product-search__panel-title {
			color: var(--wws-search-text);
			font-size: 12px;
			font-weight: 800;
			letter-spacing: 0.02em;
			text-transform: uppercase;
		}

		.wws-product-search__panel-query {
			min-width: 0;
			color: var(--wws-search-muted);
			font-size: 12px;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}

		.wws-product-search__status,
		.wws-product-search__all {
			display: block;
			padding: 12px 10px;
			color: #333;
			font-size: 13px;
			text-align: center;
		}

		.wws-product-search__status {
			line-height: 1.45;
		}

		.wws-product-search__status strong {
			color: var(--wws-search-red);
		}

		.wws-product-search__list {
			display: grid;
			gap: 4px;
			padding: 8px 0 4px;
		}

		.wws-product-search__item {
			display: grid;
			grid-template-columns: 60px minmax(0, 1fr) auto;
			gap: 12px;
			align-items: center;
			padding: 9px;
			border-radius: 12px;
			color: var(--wws-search-text);
			text-decoration: none;
			transition: background-color 160ms ease, color 160ms ease;
		}

		.wws-product-search__item:hover,
		.wws-product-search__item.is-active,
		.wws-product-search__item:focus-visible {
			background: #f7f7f7;
			color: var(--wws-search-red);
			outline: none;
		}

		.wws-product-search__thumb {
			width: 60px;
			aspect-ratio: 1;
			border-radius: 10px;
			background: #f2f2f2;
			object-fit: cover;
		}

		.wws-product-search__body {
			min-width: 0;
		}

		.wws-product-search__title {
			display: -webkit-box;
			margin-bottom: 4px;
			font-size: 13px;
			font-weight: 700;
			line-height: 1.25;
			-webkit-line-clamp: 2;
			-webkit-box-orient: vertical;
			overflow: hidden;
		}

		.wws-product-search__price {
			display: block;
			color: #dd3333 !important;
			font-family: Oswald, Arial, sans-serif;
			font-size: 13px;
			line-height: 1.2;
		}

		.wws-product-search__price del {
			color: #888;
			font-size: 0.9em;
		}

		.wws-product-search__arrow {
			color: #b7b7b7;
			font-size: 18px;
			line-height: 1;
		}

		.wws-product-search__all {
			margin-top: 6px;
			border-top: 1px solid #f0f0f0;
			border-radius: 0 0 12px 12px;
			color: var(--wws-search-red);
			font-weight: 700;
			text-decoration: none;
		}

		.wws-product-search__all:hover,
		.wws-product-search__all:focus-visible {
			background: #fff6f6;
			color: var(--wws-search-red-hot);
			outline: none;
		}

		.wws-product-search.is-loading .wws-product-search__button {
			opacity: 0.78;
		}

		@keyframes wwsSearchReveal {
			from {
				opacity: 0;
				transform: translateY(6px);
			}
			to {
				opacity: 1;
				transform: translateY(0);
			}
		}

		@media (prefers-reduced-motion: reduce) {
			.wws-product-search__form,
			.wws-product-search__button,
			.wws-product-search__item,
			.wws-product-search__results {
				animation: none;
				transition: none;
			}
		}

		@media (max-width: 480px) {
			.wws-product-search__form {
				min-height: 46px;
			}

			.wws-product-search__input {
				height: 46px;
				font-size: 16px;
			}

			.wws-product-search__button {
				min-width: 82px;
				min-height: 46px;
				padding: 0 13px;
			}

			.wws-product-search__results {
				max-height: 68vh;
				padding: 8px;
			}

			.wws-product-search__item {
				grid-template-columns: 54px minmax(0, 1fr);
			}

			.wws-product-search__thumb {
				width: 54px;
			}

			.wws-product-search__arrow {
				display: none;
			}
		}
