.tdfs-dropdown {
	position: absolute;
	z-index: 999999;
	box-sizing: border-box;
	max-width: calc(100vw - 24px);
	background: #fff;
	color: #1a1a1a;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(17, 17, 17, 0.14);
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
}

.tdfs-dropdown[hidden] {
	display: none !important;
}

.tdfs-dym,
.tdfs-empty,
.tdfs-viewall {
	padding: 10px 14px;
}

.tdfs-dym {
	background: #f7f4ef;
	color: #5c5346;
	font-size: 12px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.tdfs-dym-word {
	border: 0;
	background: none;
	padding: 0;
	color: #8a6a3b;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.tdfs-empty {
	color: #6b6b6b;
}

.tdfs-list {
	list-style: none;
	margin: 0;
	padding: 6px 0;
}

.tdfs-item {
	margin: 0;
}

.tdfs-link {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 14px;
	color: inherit;
	text-decoration: none;
}

.tdfs-item.is-active .tdfs-link,
.tdfs-item:hover .tdfs-link {
	background: #f4efe6;
}

.tdfs-thumb {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 8px;
	background: #efeae2;
	flex: 0 0 48px;
}

.tdfs-thumb-empty {
	display: inline-block;
}

.tdfs-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.tdfs-title {
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tdfs-title mark {
	background: #f3e0b5;
	color: inherit;
	padding: 0 1px;
}

.tdfs-price {
	font-size: 12px;
	color: #6a6258;
}

.tdfs-viewall {
	display: block;
	border-top: 1px solid rgba(17, 17, 17, 0.06);
	text-align: center;
	font-weight: 600;
	color: #1a1a1a;
	text-decoration: none;
	background: #faf8f5;
}

.tdfs-viewall:hover {
	background: #f4efe6;
}

.tdfs-correction {
	margin: 0 0 1.25em;
	padding: 0.75em 1em;
	background: #f7f4ef;
	border-left: 3px solid #c4a574;
	color: #3d372f;
}

.tdfs-correction-original {
	color: #6a6258;
	font-size: 0.92em;
}

.tdfs-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tdfs-widget {
	position: relative;
	overflow: visible;
	max-width: 1120px;
	margin: 0 auto;
	color: #1a1a1a;
}

.tdfs-widget-form {
	margin: 0;
}

.tdfs-widget-field {
	position: relative;
	display: block;
}

.tdfs-widget-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #8a8278;
	pointer-events: none;
}

.tdfs-widget-icon svg {
	display: block;
}

.tdfs-widget-input {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 11px 14px 11px 42px;
	border: 1px solid rgba(17, 17, 17, 0.14);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.4;
	background: #fff;
	color: inherit;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

.tdfs-widget-input::-webkit-search-decoration,
.tdfs-widget-input::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.tdfs-widget-input:focus {
	outline: none;
	border-color: rgba(17, 17, 17, 0.35);
}

.tdfs-widget-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 99999;
	box-sizing: border-box;
	max-height: min(70vh, 480px);
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(17, 17, 17, 0.14);
}

.tdfs-widget-dropdown[hidden] {
	display: none !important;
}

.tdfs-widget-status {
	margin: 0;
	padding: 10px 14px;
	font-size: 13px;
	color: #5c5346;
	border-bottom: 1px solid rgba(17, 17, 17, 0.06);
	background: #f7f4ef;
}

.tdfs-widget-status:empty {
	display: none;
}

.tdfs-widget-results:empty {
	display: none;
}

.tdfs-widget-empty {
	margin: 0;
	padding: 16px 14px;
	text-align: center;
	color: #6a6258;
}

.tdfs-product-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tdfs-product-row {
	margin: 0;
	background: #fff;
	border: 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 0;
	overflow: hidden;
}

.tdfs-product-row:last-child {
	border-bottom: 0;
}

.tdfs-product-row:hover {
	background: #faf8f5;
}

.tdfs-product-link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 6px 8px;
	color: inherit;
	text-decoration: none;
}

.tdfs-product-photo {
	display: block;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	max-width: 52px;
	max-height: 52px;
	background: #efeae2;
	overflow: hidden;
	border-radius: 6px;
}

.tdfs-product-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tdfs-product-details {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-width: 0;
	padding: 0;
}

.tdfs-product-name {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	word-break: break-word;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.3;
}

.tdfs-product-name mark {
	background: #f3e0b5;
	color: inherit;
	padding: 0 1px;
}

.tdfs-product-price {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: #6a6258;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
