/**
 * Mobil üst arama — AJAX sonuç / öneri paneli
 * stylesheet.css ve livesearch.css mobil kurallarını ezer.
 */

.search-area,
.search-area #search,
.search-area .input-group {
	overflow: visible !important;
}

/* Placeholder input’tan küçük kalsın: 16px iOS zoom’u tetiklemez, uzun metin de kesilmez */
.search-area #search-input,
.search-area #search .input-lg {
	padding-right: 52px !important;
	line-height: 1.25 !important;
}
.search-area #search-input::placeholder,
.search-area #search .input-lg::placeholder,
.search-area #search-input::-webkit-input-placeholder,
.search-area #search .input-lg::-webkit-input-placeholder {
	font-size: 12px !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em;
	opacity: 1;
}
.search-area #search-input::-moz-placeholder,
.search-area #search .input-lg::-moz-placeholder {
	font-size: 12px !important;
	line-height: 1.25 !important;
	opacity: 1;
}

#backgroundPopupSearch {
	z-index: 10000000 !important;
}

#search.active {
	z-index: 10000002 !important;
	position: relative;
}

#search.active #livesearch_search_results,
.search-area #search.active #livesearch_search_results {
	display: flex !important;
	flex-direction: column !important;
	position: fixed !important;
	top: 108px;
	left: 0;
	right: 0;
	bottom: 56px;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: 0 -2px 16px rgba(20, 40, 80, 0.12);
	background: #fff !important;
	z-index: 10000003 !important;
	overflow: hidden !important;
	color: #1b1b1b;
}

.livesearch-panel-head {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 8px 10px 4px;
	background: #fff;
	border-bottom: 1px solid #eef1f5;
}

.livesearch-panel-body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	touch-action: pan-y;
	padding: 8px 10px 12px;
}

.livesearch-panel-foot {
	flex: 0 0 auto;
	background: #fafbfc;
	border-top: 1px solid #eef1f5;
}

.livesearch-panel-foot:empty {
	display: none;
}

#kapat_ac {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	left: auto !important;
	width: 32px;
	height: 32px;
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
	border: 0;
	background-color: transparent;
}

#livesearch_search_results_ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#search #livesearch_search_results span,
#search #livesearch_search_results #fiyat {
	display: inline !important;
}

#livesearch_search_results li {
	display: flex !important;
	flex-direction: row;
	align-items: center;
	height: auto !important;
	min-height: 72px;
	padding: 8px 4px !important;
	gap: 8px;
}

#livesearch_search_results .desc {
	width: auto !important;
	flex: 1 1 auto;
	min-width: 0;
	font-size: 12px;
	line-height: 1.35;
	color: #5c6570;
}

#livesearch_search_results .ls-thumb {
	flex: 0 0 52px;
}

#livesearch_search_results img#shadow {
	width: 50px;
	height: 50px;
	object-fit: contain;
	margin: 0;
}

#livesearch_search_results .ls-meta {
	flex: 0 0 auto;
	text-align: right;
}

#livesearch_search_results #fiyat,
#livesearch_search_results .ls-price {
	display: block !important;
	position: static !important;
	top: auto !important;
	right: auto !important;
	font-size: 13px;
	padding: 0;
}

#more_response {
	padding: 10px;
	text-align: center;
}

#more_response a {
	display: block;
	padding: 10px;
	font-weight: 700;
	color: #1455a9 !important;
}

body.livesearch-open,
html.livesearch-open {
	overflow: hidden !important;
}

html.mm-wrapper.livesearch-open .mm-page,
html.mm-wrapper.livesearch-open .mm-slideout,
body.livesearch-open .mm-page,
body.livesearch-open .mm-slideout {
	overflow: visible !important;
	transform: none !important;
}

body.livesearch-open #mobile-header {
	z-index: 10000001;
}

@media (max-width: 380px) {
	#search #livesearch_search_results span {
		display: inline !important;
	}

	#livesearch_search_results .desc span {
		display: none !important;
	}

	#search span#fiyat {
		display: block !important;
	}
}
