/**
 * Header canlı arama kutusu + büyüteç ikonu
 */

/* Büyüteç: daha büyük, koyu zeminde beyaz */
.aux-header .aux-search-icon.aux-overlay-search,
.aux-header .elementor-widget-aux_search_box .aux-search-icon {
	width: 40px !important;
	height: 40px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	font-size: 26px !important;
	line-height: 1;
	color: #283040 !important;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}

.aux-header .aux-search-icon.aux-overlay-search:hover {
	background: rgba(16, 24, 40, .06) !important;
	transform: scale(1.06);
}

body.zt-hero-ustunde .aux-header .aux-search-icon.aux-overlay-search,
body.zt-hero-ustunde .aux-header .elementor-widget-aux_search_box .aux-search-icon {
	color: #fff !important;
}

body.zt-hero-ustunde .aux-header .aux-search-icon.aux-overlay-search:hover {
	background: rgba(255, 255, 255, .12) !important;
}

/* Temanın tam ekran katmanı artık kullanılmıyor */
.aux-search-overlay,
.aux-fs-popup.aux-search-overlay {
	display: none !important;
}

/* ------------------------------------------------------------- kutu */

.zt-arama {
	position: fixed;
	z-index: 100000;
	width: 520px;
	max-width: calc(100vw - 24px);
	background: #fff;
	border: 1px solid #e6e8ec;
	border-radius: 16px;
	box-shadow: 0 22px 60px rgba(16, 24, 40, .22);
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .18s ease, transform .18s ease;
	font-family: Roboto, sans-serif;
	overflow: hidden;
}

.zt-arama.zt-acik {
	opacity: 1;
	transform: translateY(0);
}

/* İkona doğru küçük ok */
.zt-arama::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 20px;
	width: 14px;
	height: 14px;
	background: #fff;
	border-left: 1px solid #e6e8ec;
	border-top: 1px solid #e6e8ec;
	transform: rotate(45deg);
}

.zt-arama-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 12px 12px 16px;
	border-bottom: 1px solid #eef0f3;
}

.zt-arama-ikon {
	display: inline-flex;
	flex: none;
	width: 20px;
	height: 20px;
	color: #6b7280;
}

.zt-arama-ikon svg {
	width: 100%;
	height: 100%;
}

.zt-arama .zt-arama-girdi {
	flex: 1 1 auto;
	min-width: 0;
	height: 42px !important;
	margin: 0 !important;
	padding: 0 4px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: Roboto, sans-serif !important;
	font-size: 15px !important;
	color: #283040 !important;
	outline: none !important;
}

.zt-arama .zt-arama-girdi::placeholder {
	color: #9aa1ac;
}

.zt-arama .zt-arama-girdi::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.zt-arama .zt-arama-kapat {
	flex: none;
	width: 32px;
	height: 32px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: #f2f4f7 !important;
	font-size: 20px;
	line-height: 1;
	color: #6b7280 !important;
	cursor: pointer;
	transition: background .18s ease;
}

.zt-arama .zt-arama-kapat:hover {
	background: #e6e8ec !important;
	color: #283040 !important;
}

/* ------------------------------------------------------------ sonuçlar */

.zt-arama-sonuc {
	max-height: min(70vh, 520px);
	overflow-y: auto;
}

.zt-arama-sonuc:empty {
	display: none;
}

.zt-arama-liste {
	list-style: none;
	margin: 0;
	padding: 6px;
}

.zt-arama-liste li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.zt-arama-urun {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px 10px;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background .15s ease;
}

.zt-arama-urun:hover {
	background: #f5f7fa;
}

.zt-arama-urun img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 8px;
	border: 1px solid #eef0f3;
}

.zt-arama-bilgi {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.35;
}

.zt-arama-ad {
	font-size: 13.5px;
	font-weight: 600;
	color: #283040;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.zt-arama-kat {
	margin-top: 2px;
	font-size: 11.5px;
	color: #8d95a3;
}

.zt-arama-fiyat {
	font-size: 14px;
	font-weight: 700;
	color: #1d5b8a;
	white-space: nowrap;
}

.zt-arama-tumu {
	display: block;
	margin: 0 6px 6px;
	padding: 11px;
	border-radius: 10px;
	background: rgba(29, 91, 138, .08);
	text-align: center;
	font-size: 13.5px;
	font-weight: 700;
	color: #1d5b8a !important;
	text-decoration: none !important;
}

.zt-arama-tumu:hover {
	background: rgba(29, 91, 138, .14);
}

.zt-arama-bos {
	padding: 22px 16px;
	text-align: center;
	font-size: 13.5px;
	color: #6b7280;
}

@media screen and (max-width: 767px) {
	.zt-arama {
		border-radius: 14px;
	}
	.zt-arama-form {
		padding: 10px 10px 10px 14px;
	}
	.zt-arama-urun {
		grid-template-columns: 48px 1fr auto;
	}
	.zt-arama-urun img {
		width: 48px;
		height: 48px;
	}
}

/* Anasayfa (koyu hero) – tema ikonu soluk gri bırakıyordu */
body.zt-hero-ustunde .aux-header .aux-search-icon.aux-overlay-search,
body.zt-hero-ustunde .aux-header .aux-search-icon.aux-overlay-search::before,
body.zt-hero-ustunde .aux-header .elementor-widget-aux_search_box .aux-search-icon,
body.zt-hero-ustunde .aux-header .elementor-widget-aux_search_box .aux-search-icon::before {
	color: #fff !important;
	opacity: 1 !important;
	-webkit-text-fill-color: #fff;
}

.aux-header .aux-search-icon.aux-overlay-search::before,
.aux-header .elementor-widget-aux_search_box .aux-search-icon::before {
	color: inherit !important;
	opacity: 1 !important;
}
