/*
 * Header: ust bilgi seridi, logo, ana menu ve morph eden acilir panel.
 *
 * Duzen referansi tuin.co.uk, menu hareketi revenuecat.com. Acilir menuler
 * ayri ayri kutular degil; TEK bir kutu var ve menu ogeleri arasinda
 * gezerken o kutu yeni icerigin olcusune dogru buyuyup kucultuluyor,
 * icerik de gidis yonune gore capraz geciyor.
 *
 * Renk degiskenleri style.css icindeki :root blogundan gelir.
 */

/* ---------- Ust bilgi seridi ---------- */
.k-topbar {
	background: var(--forest);
	color: rgba(255, 255, 255, .92);
	font-size: 13px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.k-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding-top: 9px;
	padding-bottom: 9px;
}

.k-topbar__note { font-weight: 600; }
.k-topbar__dot { margin: 0 5px; opacity: .55; }
.k-topbar__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }

.k-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	text-decoration: none;
	transition: color .2s ease;
}

.k-topbar__item:hover { color: var(--leaf); }

/* ---------- Header govdesi ---------- */

/* Yapiskan header capa hedeflerinin (#katalog, #harita) ustunu ortmesin. */
html { scroll-padding-top: 88px; }

.k-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #fff;
	color: var(--text);
	border-bottom: 1px solid var(--line);
}

/*
 * Sekiz menu ogesi, logo ve harekete cagri butonu 1180px'lik icerik
 * genisligine ancak siginca olculer sikilastirildi. Yine de sigmadigi
 * genisliklerde mobil menuye geciliyor (asagidaki 1179.98px esigi);
 * onceki 1024px esigi arada bir bant birakiyor ve buton menunun
 * uzerine biniyordu.
 */
.k-header__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 12px;
	padding-bottom: 12px;
}

/* ---------- Logo ---------- */
.k-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	flex: none;
	text-decoration: none;
	color: var(--text);
}

.k-logo__img { max-height: 52px; width: auto; }

/*
 * Logo gorseli varsa yazi gizlenir: marka gorseli "KOCIST / ORMAN URUNLERI"
 * yazisini zaten icinde tasiyor, ikisi yan yana cift gorunurdu.
 */
.k-logo__img ~ .k-logo__text-wrap { display: none; }

.k-logo__mark {
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--leaf), var(--forest));
}

.k-logo__text-wrap { display: flex; flex-direction: column; gap: 2px; }
.k-logo__text { font-size: 22px; font-weight: 800; letter-spacing: .04em; line-height: 1; color: var(--forest); }
.k-logo__sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* ---------- Ana menu ---------- */
/*
 * Menu logonun hemen yanindan baslar; kalan bosluk saga birakilir.
 * Harekete cagri butonu kaldirildiktan sonra menuyu ortalamak solda
 * genis bir bosluk biraktigi icin ortalamadan vazgecildi.
 */
.k-nav {
	position: relative;
	margin-right: auto;
	margin-left: 10px;
	min-width: 0;
}

.k-nav__list {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.k-nav__item { position: relative; display: flex; align-items: center; }

/*
 * Kayan gosterge. Konum ve genislik JS tarafindan yazilir (assets/js/nav.js),
 * bu yuzden transform yalnizca yatay otelemeye ayrildi; dikey hizalama
 * top + sabit yukseklik ile yapiliyor.
 *
 * Yay egrisi: cubic-bezier son degeri 1 degerini astigi icin gosterge hedefin
 * bir tik otesine gidip geri oturuyor. Duz bir gecis hissini kiran sey bu.
 */
.k-nav__indicator {
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 38px;
	margin-top: -19px;
	border-radius: 999px;
	background: var(--leaf-soft);
	box-shadow: inset 0 -2px 0 var(--leaf);
	opacity: 0;
	pointer-events: none;
	transition:
		transform .46s cubic-bezier(.34, 1.45, .64, 1),
		width     .46s cubic-bezier(.34, 1.45, .64, 1),
		opacity   .22s ease;
}

.k-nav__indicator.is-visible { opacity: 1; }

.k-nav__link {
	position: relative;
	z-index: 1;
	display: inline-block;
	padding: 9px 9px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .01em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--text);
	border-radius: 999px;
	transition: color .24s ease;
}

.k-nav__link:hover,
.k-nav__link:focus-visible,
.k-nav__link.is-current { color: var(--forest); }

/* Acilir menu oku */
.k-nav__caret {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 28px;
	margin-left: -7px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--muted);
	cursor: pointer;
}

.k-nav__chevron { transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.k-nav__item.is-open .k-nav__chevron { transform: rotate(180deg); }
.k-nav__item.is-open .k-nav__caret { color: var(--forest); }

/* ---------- Morph eden acilir panel (masaustu) ---------- */
.k-dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 40;
	padding-top: 10px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(var(--k-dd-x, 0px)) translateY(-6px);
	transition:
		transform  .42s cubic-bezier(.22, 1, .36, 1),
		opacity    .2s ease,
		visibility .2s;
}

.k-nav.is-open .k-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(var(--k-dd-x, 0px)) translateY(0);
}

/* Boyutu degisen kutu. Panolarin olculeri JS ile buraya yazilir. */
.k-dropdown__shell {
	position: relative;
	overflow: hidden;
	width: var(--k-dd-w, 240px);
	height: var(--k-dd-h, 0px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 24px 50px rgba(23, 84, 47, .16);
	transition:
		width  .42s cubic-bezier(.22, 1, .36, 1),
		height .42s cubic-bezier(.22, 1, .36, 1);
}

/* Ilk acilista kutu 0 genislikten buyumesin diye gecis tek kare kapatilir. */
.k-dropdown.is-instant .k-dropdown__shell,
.k-dropdown.is-instant { transition: none; }

/*
 * Panolar ust uste durur. Gorunmeyen pano display:none DEGIL visibility:hidden
 * ile saklanir; boylece olculebilir kalir (offsetWidth/offsetHeight calisir).
 */
.k-dropdown__pane {
	position: absolute;
	top: 0;
	left: 0;
	width: max-content;
	min-width: 220px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(var(--k-pane-x, 0px));
	transition:
		opacity    .24s ease,
		transform  .34s cubic-bezier(.22, 1, .36, 1),
		visibility .34s;
}

.k-dropdown__pane.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/*
 * Sutunlar. --cols ve --rows sablonda oge sayisindan hesaplanir
 * (kocist_menu_columns). grid-auto-flow: column ile okuma sirasi sutun sutun
 * asagi iner; Hirdavat'in 24 ogesi 3 sutuna 8'er satir olarak dagilir.
 */
.k-dropdown__list {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(var(--rows, 1), auto);
	gap: 0 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Alt ogeler sirayla belirir; --i degeri sablonda satir sirasindan gelir. */
.k-dropdown__item {
	opacity: 0;
	transform: translateY(-5px);
	transition: opacity .22s ease, transform .22s ease;
}

.k-dropdown__pane.is-active .k-dropdown__item {
	opacity: 1;
	transform: none;
	transition-delay: calc(var(--i, 0) * 32ms);
}

.k-dropdown__link {
	display: block;
	padding: 9px 12px;
	border-radius: 9px;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	color: var(--text);
	transition: background .18s ease, color .18s ease, padding-left .18s ease;
}

.k-dropdown__link:hover,
.k-dropdown__link:focus-visible {
	background: var(--leaf-soft);
	color: var(--forest);
	padding-left: 16px;
}

/* Su an acik olan kategori: yaprak rengi cizgiyle isaretli. */
.k-dropdown__link.is-current {
	color: var(--forest);
	font-weight: 700;
	box-shadow: inset 3px 0 0 var(--leaf);
}

/*
 * Urun grubu panosunun basi: grubun tamamina giden tek baglanti. Listeden
 * ince bir cizgiyle ayrilir; genisligi listeyi izler, panoyu buyutmez.
 */
.k-dropdown__head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 8px;
	padding: 11px 12px 13px;
	border-bottom: 1px solid var(--line);
	border-radius: 9px 9px 0 0;
	color: var(--forest);
	text-decoration: none;
	transition: background .18s ease;
}

.k-dropdown__head-title { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.k-dropdown__head-meta { font-size: 13px; color: var(--muted); }

.k-dropdown__head-arrow {
	margin-left: auto;
	align-self: center;
	color: var(--leaf-dark);
	transition: transform .18s ease;
}

.k-dropdown__head:hover,
.k-dropdown__head:focus-visible { background: var(--leaf-soft); }
.k-dropdown__head:hover .k-dropdown__head-arrow,
.k-dropdown__head:focus-visible .k-dropdown__head-arrow { transform: translateX(3px); }

/* Mobil akordiyondaki karsiligi. */
.k-dropdown__link--all { font-weight: 700; color: var(--forest); }

/* ---------- Arama ve teklif sepeti dugmeleri (inc/search.php, inc/basket.php) ---------- */
.k-tools {
	display: flex;
	flex: none;
	align-items: center;
	gap: 6px;
}

.k-tool {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--forest);
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease;
}

.k-tool:hover,
.k-tool.is-open,
.k-tool.is-current { border-color: var(--leaf); background: var(--leaf-soft); }

.k-tool:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* Sepetteki urun cesidi; betik cerezden yazar (bos sepette gizli). */
.k-tool__count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--forest);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	line-height: 16px;
	text-align: center;
}

.k-tool__count[hidden] { display: none; }

/* Arama kutusu: ust menunun altinda acilir; betik yoksa buyutec arama sayfasina gider. */
.k-search {
	border-top: 1px solid var(--line);
	background: var(--paper-2);
	padding: 12px 0;
}

.k-searchform {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.k-searchform__icon {
	position: absolute;
	top: 50%;
	left: 15px;
	color: var(--muted);
	transform: translateY(-50%);
	pointer-events: none;
}

.k-searchform__input {
	flex: 1;
	min-width: 0;
	height: 46px;
	padding: 0 16px 0 42px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--text);
	font-family: inherit;
	font-size: 15.5px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.k-searchform__input::placeholder { color: #8a978f; }

.k-searchform__input:focus {
	outline: none;
	border-color: var(--leaf);
	box-shadow: 0 0 0 4px rgba(122, 182, 72, .16);
}

.k-searchform__btn {
	flex: none;
	height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: var(--forest);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .04em;
	cursor: pointer;
	transition: background-color .2s ease;
}

.k-searchform__btn:hover { background: var(--leaf-dark); }
.k-searchform__btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* Cekmecedeki arama kutusu yalnizca dar ekranda. */
.k-nav__search { display: none; }

/* ---------- Adet secici ---------- */
/*
 * Urun sayfasi ve sepet satiri (teklif.css'ten tasindi) ile ust menudeki
 * canli aramanin onizlemesi ortak kullanir; her sayfada yuklensin diye burada.
 */
.k-qty {
	display: inline-flex;
	align-items: stretch;
	height: 46px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
}

.k-qty:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(122, 182, 72, .16); }

.k-qty__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--forest);
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background .18s ease;
}

.k-qty__btn[hidden] { display: none; }
.k-qty__btn:hover:not(:disabled) { background: var(--leaf-soft); }
.k-qty__btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: -3px; }
.k-qty__btn:disabled { color: #b4bdb7; cursor: default; }

.k-qty__input {
	width: 64px;
	min-width: 0;
	padding: 0 4px;
	border: 0;
	background: none;
	color: var(--text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.k-qty__input::-webkit-outer-spin-button,
.k-qty__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.k-qty__input:focus { outline: none; }

/* Betik yoksa artir/azalt dugmesi yok: kutu tek basina biraz genis. */
.k-qty:not(:has(.k-qty__btn:not([hidden]))) .k-qty__input { width: 88px; }

/* ---------- Canli arama ---------- */
/*
 * Eklenti: assets/live-search.js; tema: inc/search.php. Liste formun altinda
 * acilir ve sayfanin ustune biner (yer kaydirmaz). Genis ekranda (>= 1024px)
 * sagda etkin urunun onizlemesi; dar ekranda yalnizca liste. Telefon
 * cekmecesinde liste akista: cekmece kendi icinde kayar.
 */
.k-ls {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 40;
}

.k-ls[hidden] { display: none; }

.k-ls__panel {
	position: relative;
	display: flex;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 48px -20px rgba(15, 61, 33, .35), 0 2px 6px rgba(15, 61, 33, .08);
	color: var(--text);
	text-align: left;
}

/* Cevap gecikirse ustte ince yesil serit. */
.k-ls.is-loading .k-ls__panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--leaf), transparent) no-repeat;
	background-size: 40% 100%;
	animation: k-ls-load 1s linear infinite;
}

@keyframes k-ls-load {
	from { background-position: -60% 0; }
	to { background-position: 160% 0; }
}

.k-ls__col {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.k-ls__list { padding: 6px; }

.k-ls__list[hidden],
.k-ls__state[hidden],
.k-ls__all[hidden] { display: none; }

.k-ls__opt {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 8px 14px 8px 8px;
	border-radius: 12px;
	color: inherit;
	text-decoration: none;
}

.k-ls__opt.is-active { background: var(--leaf-soft); }
.k-ls__opt.is-active .k-ls__title { color: var(--forest); }

.k-ls__thumb {
	display: block;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--paper-2);
}

.k-ls__thumb img { width: 100%; height: 100%; object-fit: cover; }

.k-ls__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.k-ls__title { font-size: 15px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.k-ls__code { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.k-ls__hit { font-weight: 800; color: var(--forest); }

.k-ls__price { font-size: 15px; font-weight: 800; letter-spacing: -.01em; color: var(--forest); text-align: right; white-space: nowrap; }

.k-ls__price.is-quote,
.k-ls__pprice.is-quote { font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--muted); }

.k-ls__note { font-size: 12px; font-weight: 600; color: var(--muted); }

/* "Tüm sonuçlar" liste kaysa da altta gorunur. */
.k-ls__all {
	position: sticky;
	bottom: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: auto;
	padding: 10px 16px;
	border-top: 1px solid var(--line);
	background: #fff;
	color: var(--forest);
	font-size: 13.5px;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none;
	text-transform: uppercase;
}

.k-ls__all:hover { background: var(--leaf-soft); }
.k-ls__all:focus-visible { outline: 3px solid var(--leaf); outline-offset: -3px; }

/* "Aranıyor…" ve sonuc yok (arama sayfasindaki gibi iletisim ve WhatsApp). */
.k-ls__state { padding: 18px 20px; font-size: 14.5px; color: var(--muted); }
.k-ls__empty { display: block; font-size: 15.5px; font-weight: 700; color: var(--text); }
.k-ls__emptytext { display: block; margin-top: 6px; line-height: 1.5; }
.k-ls__links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 8px; }
.k-ls__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--forest); text-underline-offset: 3px; }

/* Gorseli olmayan urun: kamera rozetli acik zemin. */
.k-ls__ph {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235e9433' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5A1.5 1.5 0 0 1 5.5 7h2.2l1.5-2.2h5.6L16.3 7h2.2A1.5 1.5 0 0 1 20 8.5v9A1.5 1.5 0 0 1 18.5 19h-13A1.5 1.5 0 0 1 4 17.5z'/%3E%3Ccircle cx='12' cy='12.8' r='3.3'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* Onizleme: yalnizca genis ekranda. */
.k-ls__preview { display: none; }

@media (min-width: 1024px) {
	.k-ls__preview:not([hidden]) {
		display: flex;
		flex: 0 0 360px;
		flex-direction: column;
		min-width: 0;
		overflow-y: auto;
		border-left: 1px solid var(--line);
		background: var(--paper-2);
	}
}

.k-ls__media { display: block; flex: none; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: #fff; }
.k-ls__media img { width: 100%; height: 100%; object-fit: contain; }

.k-ls__media .k-ls__ph {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 16%;
	background-position: center 38%;
	background-size: 38px;
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
}

.k-ls__pbody { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }

.k-ls__ptitle {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text);
	text-decoration: none;
}

a.k-ls__ptitle:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.k-ls__pcode { font-size: 13px; color: var(--muted); }
.k-ls__pprice { font-size: 18px; font-weight: 800; color: var(--forest); }

.k-ls__ptext {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin: 0;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--muted);
}

.k-ls__add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.k-ls__add .k-qty__btn { width: 40px; }
.k-ls__add .k-qty__input { width: 44px; }
.k-ls__addbtn { flex: 1 1 150px; padding: 0 12px; font-size: 13.5px; letter-spacing: .02em; white-space: nowrap; }
.k-ls__addbtn.is-added { background: var(--leaf-dark); }
.k-ls__go { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; line-height: 46px; text-decoration: none; }

.k-ls__status:empty { display: none; }
.k-ls__status { margin: 4px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.k-ls__status.is-ok { border: 1px solid rgba(122, 182, 72, .45); background: rgba(122, 182, 72, .14); color: var(--forest); }
.k-ls__status.is-err { border: 1px solid #f3b8b2; background: #fdecea; color: #8c1d18; }
.k-ls__cart { font-weight: 800; color: var(--forest); text-underline-offset: 3px; }

/* Telefon cekmecesi: liste akista; kutu ve dugme ayni satirda kalir. */
.k-searchform--drawer { flex-wrap: wrap; }
.k-searchform--drawer .k-searchform__icon { top: 23px; }
.k-searchform--drawer .k-ls { position: static; flex: 0 0 100%; margin-top: 2px; }
.k-searchform--drawer .k-ls__panel { box-shadow: none; }

@media (max-width: 640px) {
	.k-ls__opt { grid-template-columns: 48px minmax(0, 1fr); gap: 2px 12px; padding-right: 10px; }
	.k-ls__thumb { grid-row: span 2; width: 48px; height: 48px; }
	.k-ls__price { grid-column: 2; text-align: left; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.k-ls.is-loading .k-ls__panel::before { animation: none; background: var(--leaf); opacity: .5; }
}

/* ---------- Mobil menu dugmesi ---------- */
.k-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0 9px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
}

.k-burger__bar {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: var(--forest);
	transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.k-header.is-nav-open .k-burger__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.k-header.is-nav-open .k-burger__bar:nth-child(3) { opacity: 0; }
.k-header.is-nav-open .k-burger__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Klavyeyle gelen ziyaretci icin "Icerige gec" baglantisi odakta gorunur. */
.k-skip:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 16px;
	clip: auto;
	overflow: visible;
	white-space: normal;
	background: #17542f;
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
}

/*
 * Dar ekranda akordiyon. Alt menu isaretlemesi iki kez basilir: masaustu icin
 * ortak panodaki kopya, dar ekran icin ogenin altindaki kopya. Her an yalnizca
 * biri goruntulenir. Ortak kutuyu mobilde akisin icine sokmaya calismak yerine
 * secilen bilincli takas: biraz fazladan isaretleme, cok daha basit davranis.
 */
.k-nav__accordion { display: none; }

@media (max-width: 1179.98px) {
	.k-header__inner { flex-wrap: wrap; gap: 12px; }
	.k-burger { display: flex; margin-left: auto; order: 2; }

	.k-nav {
		order: 4;
		width: 100%;
		margin: 0;
		padding-bottom: 6px;
		display: none;
	}

	.k-header.is-nav-open .k-nav { display: block; }

	/* Arama ve sepet dugmeleri hamburgerin solunda. */
	.k-header__inner--tools .k-tools { order: 2; margin-left: auto; }
	.k-header__inner--tools .k-burger { order: 3; margin-left: 0; }

	.k-nav__search { display: block; padding: 4px 0 14px; }

	.k-nav__indicator,
	.k-dropdown { display: none; }

	.k-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.k-nav__item { flex-wrap: wrap; border-top: 1px solid var(--line); }
	.k-nav__link { flex: 1; padding: 13px 2px; }
	.k-nav__caret { width: 40px; height: 44px; margin-left: 0; }

	/*
	 * Yukseklik animasyonu icin 0fr -> 1fr grid hilesi: icerigin yuksekligini
	 * onceden bilmeye gerek birakmaz.
	 */
	.k-nav__accordion {
		display: grid;
		width: 100%;
		grid-template-rows: 0fr;
		transition: grid-template-rows .32s cubic-bezier(.22, 1, .36, 1);
	}

	.k-nav__item.is-open > .k-nav__accordion { grid-template-rows: 1fr; }

	/* Dar ekranda sutun yok: tek kolon, normal akis. */
	.k-nav__accordion > .k-dropdown__list {
		display: block;
		overflow: hidden;
		padding-left: 12px;
	}

	/*
	 * Masaustu panosundaki sirali belirme (.k-dropdown__item opacity 0 ->
	 * .is-active panoda 1) akordiyonda yok; orada gizleme/acma yukseklik
	 * animasyonuyla yapiliyor. Ogeler her zaman gorunur.
	 */
	.k-nav__accordion .k-dropdown__item {
		opacity: 1;
		transform: none;
	}

	/*
	 * Menu acikken sayfa kilitli (html.k-nav-locked, nav.js). Header yapiskan
	 * oldugu icin uzun menu ekrandan tasarsa kendi icinde kayar; ust kenar
	 * --k-nav-top ile acilis anindaki konumdan olculur.
	 */
	.k-header.is-nav-open .k-nav {
		max-height: calc(100vh - var(--k-nav-top, 120px));
		max-height: calc(100dvh - var(--k-nav-top, 120px));
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	html.k-nav-locked,
	html.k-nav-locked body { overflow: hidden; }
}

/* Telefonda ust serit tek satir: yalnizca telefon ve e-posta kalir. */
@media (max-width: 640px) {
	.k-topbar__meta:first-child { display: none; }
}

/* Dar telefonda arama butonu kisalir, kutu genis kalsin. */
@media (max-width: 420px) {
	.k-header__inner { gap: 8px; }
	.k-tools { gap: 4px; }
	.k-searchform__btn { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.k-nav__indicator,
	.k-dropdown,
	.k-dropdown__shell,
	.k-dropdown__pane,
	.k-dropdown__item,
	.k-dropdown__link,
	.k-nav__accordion,
	.k-nav__chevron,
	.k-burger__bar,
	.k-tool,
	.k-searchform__input,
	.k-searchform__btn {
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
}
