/* Tur kartı resim slider — liste + anasayfa */
.tour-card-gallery {
	position: relative;
	overflow: hidden;
	touch-action: pan-y;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.tour-card-gallery.is-dragging {
	cursor: grabbing;
}

.tour-card-gallery img,
.tour-card-gallery a {
	-webkit-user-drag: none;
	user-drag: none;
}

.tour-card-gallery__swipe {
	position: absolute;
	inset: 0;
	z-index: 5;
	touch-action: pan-y;
	cursor: grab;
}

.tour-card-gallery.is-dragging .tour-card-gallery__swipe {
	cursor: grabbing;
}

.tour-card-gallery__frames {
	position: absolute;
	inset: 0;
	z-index: 3;
	overflow: hidden;
	border-radius: inherit;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease;
}

.tour-card-gallery.is-gallery-live .tour-card-gallery__frames {
	opacity: 1;
}

.tour-card-gallery__frame {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-color: #eef2f6;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.04) translateX(0);
	will-change: transform, opacity;
	transition:
		opacity .52s cubic-bezier(0.22, 1, 0.36, 1),
		transform .52s cubic-bezier(0.22, 1, 0.36, 1);
}

.tour-card-gallery__frame.is-active {
	opacity: 1;
	transform: scale(1) translateX(0);
	z-index: 2;
}

.tour-card-gallery.is-slide-next .tour-card-gallery__frame.is-entering {
	opacity: 0;
	transform: scale(1.04) translateX(3.5%);
	z-index: 3;
}

.tour-card-gallery.is-slide-next.is-animating .tour-card-gallery__frame.is-entering {
	opacity: 1;
	transform: scale(1) translateX(0);
}

.tour-card-gallery.is-slide-next.is-animating .tour-card-gallery__frame.is-leaving {
	opacity: 0;
	transform: scale(1.02) translateX(-3%);
}

.tour-card-gallery.is-slide-prev .tour-card-gallery__frame.is-entering {
	opacity: 0;
	transform: scale(1.04) translateX(-3.5%);
	z-index: 3;
}

.tour-card-gallery.is-slide-prev.is-animating .tour-card-gallery__frame.is-entering {
	opacity: 1;
	transform: scale(1) translateX(0);
}

.tour-card-gallery.is-slide-prev.is-animating .tour-card-gallery__frame.is-leaving {
	opacity: 0;
	transform: scale(1.02) translateX(3%);
}

.tour-card-gallery.is-gallery-live .tour-card-gallery__link img,
.tour-card-gallery.is-gallery-live .tour-card-gallery__link .lazyload {
	opacity: 0 !important;
	visibility: hidden !important;
}

.tour-card-gallery__link {
	position: relative;
	z-index: 2;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.tour-card-gallery.is-animating .tour-card-gallery__nav,
.tour-card-gallery.is-animating .tour-card-gallery__dots {
	pointer-events: none;
}

.tour-card-gallery__nav {
	display: none !important;
}

.tour-card-gallery__dots {
	position: absolute;
	left: 50%;
	bottom: 12px;
	transform: translateX(-50%);
	z-index: 6;
	display: none;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, .42);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.tour-card-gallery.is-ready .tour-card-gallery__dots {
	display: flex;
}

.tour-card-gallery__dots button {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition:
		width .32s cubic-bezier(0.22, 1, 0.36, 1),
		background .25s ease;
}

.tour-card-gallery__dots button.is-active {
	background: #fff;
	width: 18px;
}

.tour-card-gallery.is-loading::after {
	content: '';
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 5;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, .35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tcg-spin .6s linear infinite;
}

@keyframes tcg-spin {
	to { transform: rotate(360deg); }
}

.eko-tour-card-image.tour-card-gallery,
.ts-card-image.tour-card-gallery {
	position: relative;
}

.eko-tour-card-image.tour-card-gallery .favori-icon,
.ts-card-image.tour-card-gallery .favori-icon,
.ts-card-image.tour-card-gallery .ts-kontenjan-wrap,
.ts-card-image.tour-card-gallery .vize,
.ts-card-image.tour-card-gallery .turliste_vize {
	z-index: 8;
}

@media (prefers-reduced-motion: reduce) {
	.tour-card-gallery__frame,
	.tour-card-gallery__frames,
	.tour-card-gallery__dots button,
	.tour-card-gallery__nav {
		transition-duration: .15s !important;
	}

	.tour-card-gallery__frame {
		transform: none !important;
	}
}
