/* Header v6 - Etstur inspired, system-color aligned */
:root {
	--mh-ink: var(--tema-ink);
	--mh-muted: var(--tema-muted);
	--mh-line: var(--tema-border);
	--mh-blue: var(--ana-renk);
	--mh-orange: var(--ikincil-renk);
	--mh-soft: var(--tema-soft-strong);
}

.top-bar { display: none !important; }
html,
body {
	margin: 0 !important;
	padding: 0 !important;
	overflow-x: clip;
}

#main-wrapper{
	margin-top:0 !important;
	padding-top:0 !important;
}

#main-wrapper > .top-bar{
	display:none !important;
	height:0 !important;
	min-height:0 !important;
	margin:0 !important;
	padding:0 !important;
	border:0 !important;
	overflow:hidden !important;
}

@supports not (overflow-x: clip) {
	html,
	body { overflow-x: hidden; }
}

.modern-header {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	height: 70px !important;
	margin:0 !important;
	padding:0 !important;
	background: #fff !important;
	border-bottom: 1px solid var(--mh-line) !important;
	box-shadow: 0 4px 18px rgba(7, 27, 77, .06) !important;
}

.modern-header + .clearfix{
	display:none !important;
	height:0 !important;
	min-height:0 !important;
	margin:0 !important;
	padding:0 !important;
	clear:none !important;
}

.modern-header + .clearfix + *,
.modern-header + *{
	margin-top:0 !important;
}

.modern-header:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--mh-blue), var(--mh-orange));
}

.header-container {
	position: relative;
	max-width: 1760px !important;
	height: 70px !important;
	margin: 0 auto !important;
	padding: 0 72px !important;
	display: grid !important;
	grid-template-columns: 218px minmax(0, 1fr) 360px;
	align-items: center !important;
	gap: 28px !important;
	overflow: visible !important;
}

.header-logo { display: flex !important; align-items: center !important; min-width: 0; }
.header-logo a { display: inline-flex; align-items: center; }
.header-logo img { max-height: 36px !important; max-width: 205px; object-fit: contain; }

.header-nav {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 0;
}

.header-nav > ul {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 25px !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

.header-nav > ul > li { position: relative !important; flex: 0 0 auto; }
.header-nav > ul > li > a {
	position: relative;
	display: inline-flex !important;
	align-items: center !important;
	gap: 7px;
	height: 70px;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--mh-ink) !important;
	font-size: 15.5px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: 0 !important;
	white-space: nowrap;
	text-decoration: none !important;
}

.header-nav > ul > li > a:after {
	content: "" !important;
	position: absolute !important;
	left: 0;
	right: 0;
	bottom: 14px !important;
	width: 0 !important;
	height: 2px !important;
	margin: auto;
	background: var(--mh-orange) !important;
	transition: width .18s ease !important;
}
.header-nav > ul > li > a:hover,
.header-nav > ul > li.active > a { color: var(--mh-blue) !important; }
.header-nav > ul > li > a:hover:after,
.header-nav > ul > li.active > a:after { width: 100% !important; }
.header-nav > ul > li > a[href="#"]:before,
.header-nav > ul > li:has(.dropdown-menu) > a:before {
	content: "";
	order: 2;
	width: 7px;
	height: 7px;
	margin-left: 3px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.header-nav .dropdown-menu,
.dropdown-menu {
	position: absolute !important;
	top: calc(100% - 4px) !important;
	left: 50% !important;
	min-width: 238px !important;
	padding: 10px !important;
	margin: 0 !important;
	border: 1px solid #e7edf6 !important;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: 0 18px 40px rgba(7, 27, 77, .13) !important;
	display: block !important;
	opacity: 0 !important;
	visibility: hidden !important;
	transform: translate(-50%, 8px) !important;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
	z-index: 1005 !important;
}
.header-nav > ul > li:hover .dropdown-menu,
.header-nav > ul > li.dropdown-open .dropdown-menu { opacity: 1 !important; visibility: visible !important; transform: translate(-50%, 0) !important; }
.dropdown-menu:before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; background: #fff; border-left: 1px solid #e7edf6; border-top: 1px solid #e7edf6; transform: translateX(-50%) rotate(45deg); }
.dropdown-menu li { list-style: none !important; }
.dropdown-menu li a { display: flex !important; align-items: center; min-height: 38px; padding: 9px 11px !important; border-radius: 7px !important; color: var(--mh-ink) !important; font-size: 14px !important; font-weight: 500 !important; line-height: 1.25 !important; text-decoration: none !important; }
.dropdown-menu li a:hover { padding-left: 11px !important; background: #f4f8ff !important; color: var(--mh-blue) !important; }

.header-actions {
	position: relative;
	justify-self: end;
	align-self: stretch;
	width: 360px;
	height: 70px;
}

.header-actions:before {
	content: "";
	position: absolute;
	top: 0;
	right: -54px;
	width: 410px;
	height: 37px;
	background: var(--ikincil-renk);
	border: 0;
	border-bottom-left-radius: 34px;
	border-bottom-right-radius: 34px;
	z-index: 0;
}

.header-account-strip {
	position: absolute;
	top: 0;
	right: -4px;
	z-index: 1;
	height: 37px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.header-utility-row {
	position: absolute;
	top: 43px;
	right: 0;
	height: 22px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	z-index: 1;
}

.header-account-link,
.header-utility-link {
	position: relative;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	line-height: 1 !important;
	white-space: nowrap;
	text-decoration: none !important;
	transform: none !important;
}

.header-account-link {
	height: 31px !important;
	padding: 0 11px !important;
	border-radius: 999px !important;
	color: #fff !important;
	background: transparent !important;
	border: 0 !important;
	font-size: 13px !important;
	font-weight: 650 !important;
	box-shadow: none !important;
}

.header-utility-link {
	height: 22px !important;
	padding: 0 !important;
	color: var(--mh-muted) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

.header-action-contact:after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.header-account-link i,
.header-utility-link i {
	font-size: 15px !important;
	margin-right: 7px;
	color: currentColor !important;
}

.header-account-link:hover,
.header-utility-link:hover { color: var(--mh-blue) !important; }

.header-account-link:hover {
	background: rgba(255,255,255,.14) !important;
	border-color: transparent !important;
	color: #fff !important;
}

.header-account-link:hover i {
	color: #fff !important;
}

.header-action-favorites:hover {
	background: rgba(255,255,255,.14) !important;
	border-color: transparent !important;
	color: #fff !important;
}

.header-favori-badge {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 17px !important;
	height: 17px;
	padding: 0 !important;
	border: 2px solid #fff;
	border-radius: 999px !important;
	background: var(--ana-renk) !important;
	color: #fff !important;
	font-size: 10px !important;
	line-height: 13px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(7,27,77,.16);
}

.mobile-menu-toggle { display: none; width: 38px !important; height: 38px !important; align-items: center !important; justify-content: center !important; gap: 4px !important; padding: 0 !important; border: 1px solid #dbe5f2 !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; }
.mobile-menu-toggle span { width: 18px !important; height: 2px !important; background: var(--mh-ink) !important; }
.heart.wtsol { z-index: 999 !important; }

@media (max-width: 1480px) {
	.header-container { padding: 0 38px !important; grid-template-columns: 205px minmax(0, 1fr) 330px; gap: 20px !important; }
	.header-nav > ul { gap: 17px !important; }
	.header-nav > ul > li > a { font-size: 14.5px !important; }
	.header-actions { width: 330px; }
	.header-actions:before { right: -28px; width: 356px; }
	.header-account-strip { right: 0; gap: 14px; }
	.header-utility-row { gap: 14px; }
}
@media (max-width: 1240px) {
	.header-container { grid-template-columns: 185px minmax(0, 1fr) 126px; }
	.header-nav > ul { gap: 12px !important; }
	.header-nav > ul > li > a { font-size: 14px !important; }
	.header-actions { width: 126px; }
	.header-actions:before { right: -18px; width: 144px; }
	.header-account-strip { right: 0; gap: 8px; }
	.header-utility-row { gap: 8px; }
	.header-account-link span,
	.header-utility-link span,
	.header-action-contact { display: none !important; }
	.header-account-link,
	.header-utility-link { width: 34px !important; }
}
@media (max-width: 992px) {
	.modern-header { height: 62px !important; }
	.header-container { display: flex !important; height: 62px !important; padding: 0 18px !important; justify-content: space-between !important; }
	.header-logo img { max-height: 34px !important; max-width: 170px; }
	.header-actions { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 8px !important; width: auto; height: auto; align-self: center; }
	.header-actions:before,
	.header-account-strip { display: none !important; }
	.header-utility-row { position: static; height: auto; gap: 8px; }
	.header-utility-link,
	.mobile-menu-toggle { width: 38px !important; height: 38px !important; border: 1px solid #dbe5f2 !important; border-radius: 999px !important; background: #fff !important; padding: 0 !important; }
	.header-utility-link span { display: none !important; }
	.mobile-menu-toggle { display: flex !important; }
	.header-nav { position: fixed !important; top: 62px !important; left: auto !important; right: -100% !important; width: min(380px, calc(100vw - 20px)) !important; height: calc(100vh - 74px) !important; margin: 10px 10px 0 0; padding: 12px !important; border: 1px solid #e5ecf5 !important; border-radius: 14px !important; background: #fff !important; box-shadow: 0 24px 70px rgba(7, 27, 77, .2) !important; transition: right .22s ease !important; overflow-y: auto !important; }
	.header-nav.active { right: 0 !important; left: auto !important; }
	.header-nav > ul { width: 100% !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; }
	.header-nav > ul > li { width: 100% !important; }
	.header-nav > ul > li > a { width: 100%; height: 44px; justify-content: space-between; padding: 0 13px !important; border-radius: 9px !important; background: #f7faff !important; }
	.header-nav > ul > li > a:after { display: none !important; }
	.header-nav .dropdown-menu,
	.dropdown-menu { position: static !important; min-width: 0 !important; width: 100% !important; margin: 6px 0 2px !important; padding: 6px !important; border-radius: 10px !important; box-shadow: none !important; background: #fbfdff !important; transform: none !important; }
	.dropdown-menu:before { display: none; }
}
@media (max-width: 576px) {
	.header-container { padding: 0 12px !important; }
	.header-logo img { max-width: 138px; }
	.header-action-phone { display: none !important; }
}
