.dresscode-search {
	position: relative;
	width: 100%;
	max-width: 690px;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	box-sizing: border-box;
}

.dresscode-search *,
.dresscode-search *::before,
.dresscode-search *::after {
	box-sizing: border-box;
}

.dresscode-search__input-wrap {
	display: flex;
	align-items: center;
	height: 40px;
	border-radius: 6px;
	background-color: #F0F0F0;
	padding: 0 16px;
}

.dresscode-search__icon {
	flex: 0 0 auto;
	display: inline-block;
	width: 34px;
	height: 24px;
	background-image: var(--dresscode-search-icon);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 24px 24px;
}

.dresscode-search input.dresscode-search__input,
.dresscode-search input[type='search'].dresscode-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	color: #000 !important;
	line-height: 22px !important;
	letter-spacing: normal;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.dresscode-search input.dresscode-search__input:focus,
.dresscode-search input.dresscode-search__input:focus-visible,
.dresscode-search input.dresscode-search__input:hover,
.dresscode-search input.dresscode-search__input:active {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	background-color: transparent !important;
}

.dresscode-search__input::placeholder {
	color: #000;
	opacity: 1;
}

.dresscode-search__input::-webkit-search-cancel-button,
.dresscode-search__input::-webkit-search-decoration,
.dresscode-search__input::-webkit-search-results-button,
.dresscode-search__input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.dresscode-search__dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
	z-index: 1000;
	max-height: 480px;
	overflow-y: auto;
	border-top: 1px solid #ececec;
}

.dresscode-search__dropdown[hidden] {
	display: none;
}

.dresscode-search__results {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dresscode-search__item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #f4f4f4;
}

.dresscode-search__item:last-child {
	border-bottom: none;
}

.dresscode-search__item-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease;
}

.dresscode-search__item-link:hover,
.dresscode-search__item-link:focus-visible,
.dresscode-search__item[data-active='true'] .dresscode-search__item-link {
	background-color: #f5f5f5;
	outline: none;
}

.dresscode-search__item-thumb {
	width: 56px;
	height: 56px;
	object-fit: cover;
	flex: 0 0 auto;
	background: #f5f5f5;
	display: block;
}

.dresscode-search__item-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.dresscode-search__item-title {
	font-size: 13px;
	font-weight: 500;
	color: #000;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 1.3;
}

.dresscode-search__item-price {
	font-size: 12px;
	color: #444;
	line-height: 1.3;
}

.dresscode-search__item-price del {
	opacity: 0.5;
	margin-right: 4px;
}

.dresscode-search__item-price ins {
	background: transparent;
	text-decoration: none;
	font-weight: 600;
}

.dresscode-search__empty {
	padding: 20px 16px;
	text-align: center;
	color: #666;
	font-size: 13px;
	list-style: none;
}

.dresscode-search__footer {
	border-top: 1px solid #ececec;
	padding: 12px 16px;
	text-align: center;
}

.dresscode-search__footer[hidden] {
	display: none;
}

.dresscode-search__view-all {
	font-size: 12px;
	font-weight: 600;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.dresscode-search__view-all:hover {
	text-decoration: underline;
}

@media (max-width: 768px) {
	.dresscode-search {
		max-width: 100%;
	}
}
