/**
 * Desktop sticky (≥768): masaüstü header gizle, mobil header bar göster.
 * Gerçek mobil (<768) etkilenmez.
 */
@media (min-width: 768px) {
	/* Enjekte mobil bar — varsayılan gizli (.mobile-menu {display:none} temada) */
	#masthead .tmd-desktop-sticky-mobile-bar {
		display: none !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead > *:not(.tmd-desktop-sticky-mobile-bar) {
		display: none !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead {
		background: #fff;
		padding: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
		height: auto !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already {
		/* Spacer = yalnızca mobil bar; eski uzun header yüksekliği kalmasın */
		min-height: 0 !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		box-sizing: border-box;
		padding: 6px 16px;
		min-height: 0;
		line-height: 1.2;
		background: #fff;
		position: relative;
		z-index: 2;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .logo-wrapper .logo_sticky {
		display: inline-block !important;
		max-height: 32px;
		width: auto;
		height: auto;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .nasa-icon svg,
	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .mini-icon-mobile svg {
		width: 22px;
		height: 22px;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .mini-icon-mobile,
	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .nasa-mobile-icons-wrap {
		display: flex;
		align-items: center;
		gap: 10px;
		flex: 0 0 auto;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .logo-wrapper {
		flex: 1 1 auto;
		text-align: center;
		min-width: 0;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .logo-wrapper .header_logo:not(.logo_sticky):not(.logo_mobile) {
		display: none !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .logo-wrapper .logo_mobile {
		display: none !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .header-icons {
		display: flex;
		align-items: center;
		gap: 12px;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .header-icons > li {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	/* Wishlist sidebar da overlay üstünde */
	body.tmd-sticky-show-mobile-header #nasa-wishlist-sidebar,
	body.tmd-sticky-show-mobile-header #nasa-wishlist-sidebar.nasa-active,
	body.tmd-sticky-show-mobile-header #nasa-compare-sidebar,
	body.tmd-sticky-show-mobile-header #nasa-compare-sidebar.nasa-active {
		z-index: 10060 !important;
	}

	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar .nasa-icon,
	body.tmd-sticky-show-mobile-header .sticky-wrapper.fixed-already #masthead .tmd-desktop-sticky-mobile-bar a {
		color: inherit;
		text-decoration: none;
	}

	/*
	 * Tema: @media (min-width:768px) { #nasa-menu-sidebar-content { display:none } }
	 * Sticky mobil header’da hamburger açılabilsin.
	 */
	body.tmd-sticky-show-mobile-header #nasa-menu-sidebar-content,
	body.tmd-sticky-show-mobile-header #nasa-menu-sidebar-content.all-screen {
		display: block !important;
	}

	body.tmd-sticky-show-mobile-header #nasa-menu-sidebar-content:not(.nasa-active) {
		/* kapalıyken panel ekran dışında kalsın (tema transform) */
		pointer-events: none;
	}

	body.tmd-sticky-show-mobile-header #nasa-menu-sidebar-content.nasa-active {
		pointer-events: auto;
		z-index: 10060 !important;
	}

	/* Sepet / wishlist panelleri overlay üstünde kalsın (tema ~9998, black-window yükseltmeyelim) */
	body.tmd-sticky-show-mobile-header #cart-sidebar,
	body.tmd-sticky-show-mobile-header #cart-sidebar.nasa-active,
	body.tmd-sticky-show-mobile-header .nasa-static-sidebar.nasa-active {
		z-index: 10060 !important;
	}

	/* Mobil arama paneli — desktop’ta tema display:none / hidden-tag */
	body.tmd-sticky-show-mobile-header .warpper-mobile-search.show-in-desk,
	body.tmd-sticky-show-mobile-header .warpper-mobile-search.nasa-active {
		display: block !important;
	}

	body.tmd-sticky-show-mobile-header .warpper-mobile-search.nasa-active {
		visibility: visible !important;
		opacity: 1 !important;
		transform: translateY(0) !important;
		top: 0 !important;
		z-index: 10070 !important;
		pointer-events: auto;
	}
}
