.csshop-search {
	clear: both;
	margin: 0 0 28px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid #e7e2dc;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(31, 28, 24, 0.07);
}

.csshop-search__form {
	position: relative;
	margin: 0;
}

.csshop-search__label {
	display: block;
	margin: 0 0 8px;
	color: #2c2722;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.csshop-search__field {
	position: relative;
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.csshop-search__input {
	width: 100%;
	min-height: 48px;
	padding: 0 46px 0 16px;
	color: #211f1d;
	background: #faf9f7;
	border: 1px solid #d8d0c7;
	border-radius: 6px;
	font-size: 16px;
	line-height: 48px;
}

.csshop-search__input:focus {
	border-color: #9a6a43;
	background: #ffffff;
	outline: 2px solid rgba(154, 106, 67, 0.18);
	outline-offset: 2px;
}

.csshop-search__submit {
	flex: 0 0 auto;
	min-height: 48px;
	padding: 0 22px;
	color: #ffffff;
	background: #2c2722;
	border: 0;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.csshop-search__submit:hover,
.csshop-search__submit:focus {
	background: #9a6a43;
}

.csshop-search__clear {
	position: absolute;
	top: 50%;
	right: 104px;
	width: 30px;
	height: 30px;
	padding: 0;
	transform: translateY(-50%);
	color: #6f675f;
	background: transparent;
	border: 0;
	border-radius: 50%;
	font-size: 24px;
	line-height: 28px;
	cursor: pointer;
}

.csshop-search__clear:hover,
.csshop-search__clear:focus {
	color: #2c2722;
	background: #eee9e3;
}

.csshop-search__results {
	position: absolute;
	z-index: 50;
	top: calc(100% + 8px);
	right: 0;
	left: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #ddd6cd;
	border-radius: 8px;
	box-shadow: 0 18px 40px rgba(31, 28, 24, 0.16);
}

.csshop-search__item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	color: #2c2722;
	text-decoration: none;
	border-bottom: 1px solid #f0ece8;
}

.csshop-search__item:last-child {
	border-bottom: 0;
}

.csshop-search__item:hover,
.csshop-search__item:focus {
	background: #faf6f0;
	color: #2c2722;
	text-decoration: none;
}

.csshop-search__image {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	object-fit: cover;
	border-radius: 6px;
	background: #f1eee9;
}

.csshop-search__meta {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.csshop-search__title {
	overflow: hidden;
	color: #2c2722;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.csshop-search__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #6f675f;
	font-size: 13px;
	line-height: 1.3;
}

.csshop-search__price {
	color: #8a5630;
	font-weight: 700;
}

.csshop-search__status {
	padding: 14px 16px;
	color: #6f675f;
	font-size: 14px;
	line-height: 1.35;
}

@media (max-width: 640px) {
	.csshop-search {
		margin-bottom: 22px;
		padding: 14px;
	}

	.csshop-search__field {
		display: grid;
	}

	.csshop-search__submit {
		width: 100%;
	}

	.csshop-search__clear {
		right: 10px;
		top: 24px;
	}
}
