/*! Zel Global Hero Slider */

.zhs {
	--zhs-speed: 700ms;
	--zhs-ease: cubic-bezier(.22, .61, .36, 1);
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	color: #fff;
	-webkit-tap-highlight-color: transparent;
}

.zhs,
.zhs *,
.zhs *::before,
.zhs *::after {
	box-sizing: border-box;
}

/* Kenardan kenara: bulunduğu kutudan taşıp ekran genişliğine yayılır.
   --wd-scroll-w WoodMart'ın hesapladığı kaydırma çubuğu genişliğidir; JS gerekirse --zhs-vw / --zhs-shift ile düzeltir.
   Kutu taşınca tarayıcı soldan yazılan sayfada margin-right'ı, sağdan yazılan (Arapça) sayfada margin-left'i
   yok sayar; iki kenar da aynı sonucu verecek şekilde yazıldı. */
.zhs.zhs--stretch {
	width: var(--zhs-vw, calc(100vw - var(--wd-scroll-w, 0px)));
	max-width: none;
	margin-left: calc(50% - var(--zhs-vw, calc(100vw - var(--wd-scroll-w, 0px))) / 2 + var(--zhs-shift, 0px));
	margin-right: calc(50% - var(--zhs-vw, calc(100vw - var(--wd-scroll-w, 0px))) / 2 - var(--zhs-shift, 0px));
}

/* Yükseklik görselin oranından gelir (--zhs-ar widget çıktısında cihaz bazında yazılır). */
.zhs__viewport {
	position: relative;
	z-index: 0;
	width: 100%;
	aspect-ratio: var(--zhs-ar, 16 / 9);
	max-height: var(--zhs-maxh, none);
	overflow: hidden;
	background-color: var(--zhs-bg, #e9eef2);
	touch-action: pan-y pinch-zoom;
}

.zhs--fixed .zhs__viewport {
	aspect-ratio: auto;
	height: var(--zhs-h, 600px);
	max-height: none;
}

.zhs__track {
	display: flex;
	width: 100%;
	height: 100%;
	transform: translate3d(0, 0, 0);
	transition-property: transform;
	transition-duration: 0ms;
	transition-timing-function: var(--zhs-ease);
	will-change: transform;
}

.zhs__slide {
	position: relative;
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/* Solarak geçiş */
.zhs--fade .zhs__track {
	display: block;
	position: relative;
	transform: none !important;
	will-change: auto;
}

.zhs--fade .zhs__slide {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--zhs-speed) ease, visibility 0s linear var(--zhs-speed);
}

.zhs--fade .zhs__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--zhs-speed) ease, visibility 0s;
}

/* Görsel */
.zhs .zhs__media {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}

.zhs .zhs__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: var(--zhs-focus, 50% 50%);
	-webkit-user-drag: none;
	-webkit-user-select: none;
	user-select: none;
}

/* Tüm slayt bağlantısı */
.zhs .zhs__cover {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2;
	display: block;
	background: transparent;
}

.zhs .zhs__slide--linked .zhs__content {
	pointer-events: none;
}

.zhs .zhs__slide--linked .zhs__content a {
	pointer-events: auto;
}

/* İçerik: görselin üzerinde yüzde koordinatla konumlanır.
   left:X% ve translateX(-X%) birlikte, 0'da sol kenara, 50'de ortaya, 100'de sağ kenara hizalar; kutu taşmaz. */
.zhs .zhs__content {
	position: absolute;
	z-index: 3;
	top: var(--zhs-y, 50%);
	left: var(--zhs-x, 8%);
	width: max-content;
	max-width: min(var(--zhs-cw, 560px), 94%);
	transform: translate(calc(-1 * var(--zhs-x, 8%)), calc(-1 * var(--zhs-y, 50%)));
	text-align: left;
	color: inherit;
}

.zhs .zhs__title {
	margin: 0 0 14px;
	padding: 0;
	color: inherit;
	font-family: var(--wd-title-font, inherit);
	font-size: clamp(26px, 3.4vw, 52px);
	font-style: normal;
	font-weight: var(--wd-title-font-weight, 500);
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
}

.zhs .zhs__desc {
	margin: 0 0 22px;
	color: inherit;
	font-size: clamp(14px, 1.15vw, 17px);
	line-height: 1.55;
}

.zhs .zhs__content > :last-child {
	margin-bottom: 0;
}

/* Buton – WoodMart'ın "accented" buton ayarlarını (Zel yeşili, 35px köşe) kullanır; tema yoksa aynı değerler. */
.zhs .zhs__btn {
	--zhs-btn-bg: var(--btn-accented-bgcolor, #94c11f);
	--zhs-btn-bg-hover: var(--btn-accented-bgcolor-hover, #7abc00);
	--zhs-btn-color: var(--btn-accented-color, #fff);
	position: relative;
	z-index: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 42px;
	margin: 0;
	padding: 5px 20px;
	overflow: hidden;
	border: 0;
	border-radius: var(--btn-accented-brd-radius, 35px);
	background: var(--zhs-btn-bg);
	color: var(--zhs-btn-color);
	font-family: var(--wd-text-font, inherit);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: color .3s ease, box-shadow .3s ease;
	isolation: isolate;
}

.zhs .zhs__btn::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--zhs-btn-bg-hover);
	opacity: 0;
	transition: opacity .3s ease;
}

.zhs .zhs__btn:hover,
.zhs .zhs__btn:focus-visible {
	color: var(--zhs-btn-color-hover, var(--zhs-btn-color));
	text-decoration: none;
}

.zhs .zhs__btn:hover::before,
.zhs .zhs__btn:focus-visible::before {
	opacity: 1;
}

.zhs .zhs__btn--white {
	--zhs-btn-bg: #fff;
	--zhs-btn-bg-hover: #f2f2f2;
	--zhs-btn-color: #2b2b2b;
}

.zhs .zhs__btn--dark {
	--zhs-btn-bg: #2b2b2b;
	--zhs-btn-bg-hover: #111;
}

.zhs .zhs__btn--custom {
	--zhs-btn-bg: #94c11f;
	--zhs-btn-bg-hover: var(--zhs-btn-bg);
}

/* Oklar – WoodMart "style-1": zeminsiz ince ok, 50px tıklama alanı.
   all:unset temanın global button stillerini (padding, min-height, arka plan, büyük harf…) sıfırlar. */
.zhs .zhs__arrow {
	all: unset;
	position: absolute;
	top: 50%;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--zhs-arrow-size, 50px);
	height: var(--zhs-arrow-size, 50px);
	margin-top: calc(var(--zhs-arrow-size, 50px) / -2);
	padding: 0;
	border-radius: var(--zhs-arrow-radius, 0);
	background: var(--zhs-arrow-bg, transparent);
	color: var(--zhs-arrow-color, #fff);
	cursor: pointer;
	opacity: .85;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
	transition: color .25s ease, background-color .25s ease, opacity .25s ease;
}

.zhs .zhs__arrow--prev {
	left: var(--zhs-arrow-offset, 0px);
}

.zhs .zhs__arrow--next {
	right: var(--zhs-arrow-offset, 0px);
}

.zhs .zhs__arrow:hover {
	opacity: 1;
	background: var(--zhs-arrow-bg-hover, var(--zhs-arrow-bg, transparent));
	color: var(--zhs-arrow-color-hover, var(--zhs-arrow-color, #fff));
}

.zhs .zhs__arrow:focus-visible {
	opacity: 1;
	outline: 2px solid currentColor;
	outline-offset: -6px;
}

.zhs .zhs__arrow[disabled] {
	opacity: .35;
	cursor: default;
}

.zhs .zhs__arrow svg {
	display: block;
	width: var(--zhs-arrow-icon, 24px);
	height: var(--zhs-arrow-icon, 24px);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

/* Sayfalama – WoodMart "number-2": 01 —, aktif çizgi uzar.
   Stil (numara / nokta) ve konum (görselin üzerinde / altında) widget'ta cihaz bazında seçilir
   ve buradaki --zhs-* değişkenleriyle uygulanır; değişken yoksa masaüstü varsayılanı geçerlidir. */
.zhs .zhs__pagination {
	position: var(--zhs-pag-position, absolute);
	right: var(--zhs-pag-side, 15px);
	bottom: var(--zhs-pag-bottom-eff, var(--zhs-pag-bottom, 15px));
	left: var(--zhs-pag-side, 15px);
	z-index: 6;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px var(--zhs-pag-gap, var(--zhs-pag-gap-auto, 30px));
	margin: var(--zhs-pag-mt, 0px) 0 0;
	padding: 0;
	pointer-events: none;
}

.zhs .zhs__bullet {
	all: unset;
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	box-sizing: border-box;
	color: var(--zhs-pag-color, var(--zhs-pag-auto-color, #fff));
	font-family: var(--wd-text-font, inherit);
	font-size: var(--zhs-pag-size, 12px);
	font-weight: 600;
	line-height: 1;
	text-shadow: var(--zhs-pag-shadow, 0 1px 2px rgba(0, 0, 0, .25));
	cursor: pointer;
	pointer-events: auto;
	transition: color .25s ease;
}

/* Parmakla kolay basılsın diye görünmez büyük dokunma alanı */
.zhs .zhs__bullet::before {
	content: "";
	position: absolute;
	top: -10px;
	right: 0;
	bottom: -10px;
	left: 0;
}

.zhs .zhs__num {
	display: var(--zhs-num-display, block);
}

.zhs .zhs__line {
	position: relative;
	display: block;
	width: var(--zhs-line-w, 1.3em);
	height: var(--zhs-line-h, 2px);
	overflow: hidden;
	border-radius: var(--zhs-line-radius, 0);
	opacity: var(--zhs-line-opacity, 1);
	transition: width .25s ease, opacity .25s ease;
}

.zhs .zhs__line::before,
.zhs .zhs__fill {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: currentColor;
}

.zhs .zhs__fill {
	display: none;
	transform-origin: left center;
}

.zhs .zhs__bullet:hover .zhs__line {
	width: var(--zhs-line-w-hover, 2.5em);
	opacity: var(--zhs-line-opacity-hover, 1);
}

.zhs .zhs__bullet.is-active {
	color: var(--zhs-pag-color-active, var(--zhs-pag-color, var(--zhs-pag-auto-color, #fff)));
}

.zhs .zhs__bullet.is-active .zhs__line {
	width: var(--zhs-line-w-active, 3.2em);
	opacity: 1;
}

.zhs .zhs__bullet:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/* İlerleme çizgisi (opsiyonel) */
.zhs--progress.is-autoplay .zhs__bullet.is-active .zhs__line::before {
	opacity: .35;
}

.zhs--progress.is-autoplay .zhs__bullet.is-active .zhs__fill {
	display: block;
	animation: zhs-fill var(--zhs-delay, 6000ms) linear forwards;
}

.zhs--progress.is-paused .zhs__bullet.is-active .zhs__fill {
	animation-play-state: paused;
}

@keyframes zhs-fill {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

/* Sürükleme */
.zhs.is-dragging .zhs__viewport {
	cursor: grabbing;
	-webkit-user-select: none;
	user-select: none;
}

.zhs.is-dragging .zhs__slide a {
	pointer-events: none;
}

/* Bu ekran genişliğinde tek slayt kaldıysa (diğerlerinin bu cihaz için görseli yok) oklar ve bullet'lar gizlenir.
   is-single sınıfını JS, cihaz değiştikçe günceller. */
.zhs.zhs--single .zhs__arrow,
.zhs.zhs--single .zhs__pagination,
.zhs.is-single .zhs__arrow,
.zhs.is-single .zhs__pagination {
	display: none;
}

/* Elementor editöründe boş durum */
.zhs-empty {
	padding: 40px 20px;
	border: 2px dashed #c5ced6;
	color: #6d7882;
	font-size: 14px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.zhs .zhs__track,
	.zhs--fade .zhs__slide,
	.zhs .zhs__line,
	.zhs .zhs__btn,
	.zhs .zhs__btn::before {
		transition: none !important;
	}

	.zhs .zhs__fill {
		animation: none !important;
	}
}
