/* FlyOra Destinations — styles for the JS-rendered finder UI (search, region chips,
   country rail, visa pills), content-swap states and the process timeline.
   Everything else on the page is styled in Elementor (fy-* and dz-* global classes). */

.elementor .dz-finder,
.elementor .elementor-element-68721f4b {
	scroll-margin-top: 90px;
}

/* ---------- Search ---------- */
.dz-search-box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 56px;
	padding: 0 12px 0 50px;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--fy-border, #E4E6EF);
	border-radius: 999px;
	box-shadow: 0 1px 2px rgba(24, 26, 51, .04), 0 10px 24px -16px rgba(24, 26, 51, .2);
	transition: border-color .25s ease, box-shadow .25s ease;
	cursor: text;
}
.dz-search-box:focus-within {
	border-color: var(--fy-orange, #F15A22);
	box-shadow: 0 0 0 4px rgba(241, 90, 34, .12), 0 10px 24px -16px rgba(24, 26, 51, .2);
}
.dz-search-box > svg {
	position: absolute;
	left: 19px;
	width: 20px;
	height: 20px;
	color: var(--fy-blue, #2C2B7C);
}
.dz-search-box input {
	all: unset;
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--fy-ink, #181A33);
}
.dz-search-box input::placeholder {
	color: var(--fy-muted, #80849C);
	opacity: 1;
}
.dz-search-box input::-webkit-search-cancel-button {
	display: none;
}
.dz-search-clear {
	all: unset;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--fy-blue, #2C2B7C);
	background: var(--fy-bg, #F6F7FB);
	cursor: pointer;
}
.dz-search-clear[hidden] {
	display: none;
}
.dz-search-clear svg {
	width: 14px;
	height: 14px;
}

/* ---------- Region chips ---------- */
.dz-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}
.dz-chip {
	all: unset;
	box-sizing: border-box;
	padding: 11px 18px;
	border: 1px solid var(--fy-border, #E4E6EF);
	border-radius: 999px;
	background: #fff;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	color: var(--fy-blue, #2C2B7C);
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease, transform .35s var(--fx-spring);
}
.dz-chip:hover {
	border-color: rgba(44, 43, 124, .45);
	transform: translateY(-2px);
}
.dz-chip.is-active {
	background: var(--fy-orange, #F15A22);
	border-color: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 10px 20px -12px rgba(241, 90, 34, .85);
}

/* ---------- Country rail ---------- */
.dz-rail-wrap {
	position: relative;
}
.dz-rail-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 4px;
	padding: 10px 4px 24px;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000, #000);
	mask-image: linear-gradient(90deg, #000, #000);
}
.dz-rail-track::-webkit-scrollbar {
	display: none;
}
.dz-rail-wrap.can-next .dz-rail-track {
	-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
	mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.dz-rail-wrap.can-prev .dz-rail-track {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%);
	mask-image: linear-gradient(90deg, transparent, #000 12%);
}
.dz-rail-wrap.can-prev.can-next .dz-rail-track {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.dz-card {
	all: unset;
	box-sizing: border-box;
	position: relative;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 190px;
	padding: 8px 8px 18px;
	border: 1.5px solid var(--fy-border, #E4E6EF);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(24, 26, 51, .04), 0 8px 24px -14px rgba(24, 26, 51, .22);
	scroll-snap-align: start;
	cursor: pointer;
	transition: transform .5s var(--fx-ease), border-color .3s ease, box-shadow .5s var(--fx-ease), background-color .3s ease;
}
.dz-card[hidden] {
	display: none;
}
.dz-card:hover {
	transform: translate3d(0, -5px, 0);
	box-shadow: 0 2px 4px rgba(24, 26, 51, .04), 0 26px 44px -20px rgba(44, 43, 124, .35);
}
.dz-card-media {
	position: relative;
	display: block;
	height: 132px;
	margin-bottom: 12px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--fy-blue-soft, #EEEEF8);
}
.dz-card-media > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--fx-ease);
}
.dz-card:hover .dz-card-media > img {
	transform: scale(1.08);
}
.dz-card-flag {
	position: absolute;
	left: 10px;
	bottom: 10px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #fff;
	box-shadow: 0 6px 14px -6px rgba(24, 26, 51, .5);
	background: #fff;
}
.dz-card-flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dz-card-name {
	padding: 0 8px;
	font-family: var(--fy-font-heading), sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--fy-blue, #2C2B7C);
}
.dz-card-region {
	padding: 0 8px;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--fy-muted, #80849C);
}
.dz-card-check {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 8px 16px -8px rgba(241, 90, 34, .9);
	transform: scale(0);
	transition: transform .45s var(--fx-spring);
}
.dz-card-check svg {
	width: 15px;
	height: 15px;
}
.dz-card.is-active {
	border-color: var(--fy-orange, #F15A22);
	background: var(--fy-orange-soft, #FEF1EB);
	box-shadow: 0 18px 34px -20px rgba(241, 90, 34, .75);
}
.dz-card.is-active .dz-card-check {
	transform: scale(1);
}
.dz-card.is-active .dz-card-name {
	color: var(--fy-orange-dark, #D8491A);
}

.dz-rail-nav {
	all: unset;
	position: absolute;
	top: 76px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	color: var(--fy-blue, #2C2B7C);
	border: 1px solid var(--fy-border, #E4E6EF);
	box-shadow: 0 16px 30px -14px rgba(29, 28, 90, .45);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%) scale(.85);
	transition: opacity .3s ease, transform .4s var(--fx-spring), background-color .25s ease, color .25s ease;
}
.dz-rail-nav svg {
	width: 20px;
	height: 20px;
}
.dz-rail-nav:hover {
	background: var(--fy-orange, #F15A22);
	border-color: var(--fy-orange, #F15A22);
	color: #fff;
}
.dz-prev {
	left: -20px;
}
.dz-next {
	right: -20px;
}
.dz-rail-wrap.can-prev .dz-prev,
.dz-rail-wrap.can-next .dz-next {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(-50%) scale(1);
}

.dz-rail-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 0 4px;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--fy-muted, #80849C);
}
.dz-hint {
	display: none;
	color: var(--fy-orange, #F15A22);
}
.dz-empty {
	margin-top: 8px;
	padding: 22px 24px;
	border: 1px dashed rgba(241, 90, 34, .45);
	border-radius: 18px;
	background: var(--fy-orange-soft, #FEF1EB);
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--fy-text, #4B4F68);
}
.dz-empty[hidden] {
	display: none;
}
.dz-empty strong {
	color: var(--fy-blue, #2C2B7C);
}
.dz-empty a {
	color: var(--fy-orange-dark, #D8491A);
	font-weight: 700;
	text-decoration: none;
}

/* ---------- Visa type pills ---------- */
.dz-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.dz-pill {
	all: unset;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 22px 8px 8px;
	border: 1.5px solid var(--fy-border, #E4E6EF);
	border-radius: 999px;
	background: #fff;
	font-family: var(--fy-font-body), sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: var(--fy-blue, #2C2B7C);
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 6px 16px -12px rgba(24, 26, 51, .25);
	transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, transform .4s var(--fx-spring);
}
.dz-pill-ico {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--fy-bg, #F6F7FB);
	color: var(--fy-blue, #2C2B7C);
	transition: background-color .3s ease, color .3s ease;
}
.dz-pill-ico svg {
	width: 20px;
	height: 20px;
}
.dz-pill:hover {
	border-color: rgba(44, 43, 124, .4);
	transform: translateY(-2px);
}
.dz-pill.is-active {
	border-color: var(--fy-orange, #F15A22);
	background: var(--fy-orange-soft, #FEF1EB);
	color: var(--fy-orange-dark, #D8491A);
	box-shadow: 0 14px 26px -16px rgba(241, 90, 34, .8);
}
.dz-pill.is-active .dz-pill-ico {
	background: var(--fy-orange, #F15A22);
	color: #fff;
}

.dz-chip:focus-visible,
.dz-card:focus-visible,
.dz-pill:focus-visible,
.dz-rail-nav:focus-visible,
.dz-search-clear:focus-visible {
	outline: 3px solid rgba(241, 90, 34, .45);
	outline-offset: 3px;
}

/* ---------- "To be confirmed" placeholders ---------- */
.elementor .dz-tbc.dz-tbc {
	display: inline-block;
	align-self: flex-start;
	width: auto;
	padding: 6px 10px;
	border: 1px dashed rgba(241, 90, 34, .5);
	border-radius: 8px;
	background: var(--fy-orange-soft, #FEF1EB);
	font-family: var(--fy-font-body), sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--fy-orange-dark, #D8491A);
	white-space: nowrap;
}
.elementor .dz-ov-value.dz-tbc.dz-tbc {
	flex: 0 0 auto;
	align-self: center;
	margin-left: auto;
}
.elementor .dz-glance-value.dz-tbc.dz-tbc {
	align-self: center;
	border-color: rgba(255, 154, 112, .5);
	background: rgba(241, 90, 34, .14);
	color: #FFB08F;
}

/* ---------- Content swap ---------- */
.elementor .dz-swap,
.elementor .dz-swap-visa {
	transition: opacity .45s var(--fx-ease), transform .55s var(--fx-ease);
}
.elementor .dz-swap.dz-out,
.elementor .dz-swap-visa.dz-out {
	opacity: 0;
	transform: translate3d(0, 14px, 0);
	transition-duration: .22s;
}

/* Visa overview rows: let long values wrap nicely */
.elementor .dz-ov-value {
	min-width: 0;
}

/* Accordions (documents + FAQ) */
.elementor .dz-acc-item {
	transition: border-color .3s ease, box-shadow .4s var(--fx-ease);
}
.elementor .dz-acc-item:hover {
	border-color: rgba(44, 43, 124, .28);
}
.elementor .dz-acc-item[open] {
	border-color: rgba(241, 90, 34, .55);
	box-shadow: 0 22px 40px -26px rgba(241, 90, 34, .55);
}
.elementor .dz-acc-head {
	list-style: none;
}
.elementor .dz-acc-head::-webkit-details-marker {
	display: none;
}
.elementor .dz-acc-icon {
	transition: background-color .3s ease, transform .45s var(--fx-ease);
}
.elementor .dz-acc-item[open] .dz-acc-icon {
	background-color: var(--fy-orange, #F15A22);
}
.elementor .dz-acc-item[open] .dz-acc-chev {
	color: #fff;
}
.elementor .dz-acc-item[open] > .dz-acc-body {
	animation: dzAccIn .45s var(--fx-ease);
}
@keyframes dzAccIn {
	from { opacity: 0; transform: translate3d(0, -6px, 0); }
	to { opacity: 1; transform: none; }
}
.elementor .dz-acc-body > .dz-doc-row:first-child {
	border-top-style: solid;
}

/* Fit cards: icon lifts on hover */
.elementor .dz-fit-card .dz-check {
	transition: transform .5s var(--fx-spring), background-color .3s ease, color .3s ease;
}
.elementor .dz-fit-card:hover .dz-check {
	transform: rotate(-8deg) scale(1.08);
	background-color: var(--fy-orange, #F15A22);
	color: #fff;
}

/* ---------- Process timeline ---------- */
.dz-tl-line {
	position: absolute;
	z-index: 1;
	left: var(--x1, 0);
	top: var(--y1, 0);
	width: var(--len, 0);
	height: 4px;
	transform: translateY(-2px);
	pointer-events: none;
	background-image: radial-gradient(circle, rgba(241, 90, 34, .32) 1.3px, transparent 1.8px);
	background-size: 12px 4px;
	background-repeat: repeat-x;
}
.dz-tl-fill {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(var(--p, 0) * 100%);
	height: 100%;
	background-image: radial-gradient(circle, #F15A22 1.5px, transparent 2px);
	background-size: 12px 4px;
	background-repeat: repeat-x;
}
.dz-tl-plane {
	position: absolute;
	left: calc(var(--p, 0) * 100%);
	top: 50%;
	width: 30px;
	height: 22px;
	margin: -11px 0 0 -6px;
	color: #F15A22;
	filter: drop-shadow(0 4px 6px rgba(241, 90, 34, .35));
}
.dz-tl-plane svg {
	display: block;
	width: 100%;
	height: 100%;
}
.dz-timeline.is-vertical .dz-tl-line {
	width: 4px;
	height: var(--len, 0);
	transform: translateX(-2px);
	background-size: 4px 12px;
	background-repeat: repeat-y;
}
.dz-timeline.is-vertical .dz-tl-fill {
	width: 100%;
	height: calc(var(--p, 0) * 100%);
	background-size: 4px 12px;
	background-repeat: repeat-y;
}
.dz-timeline.is-vertical .dz-tl-plane {
	left: 50%;
	top: calc(var(--p, 0) * 100%);
	margin: -6px 0 0 -15px;
	transform: rotate(90deg);
}
.elementor .dz-step-num {
	border-color: rgba(241, 90, 34, .35);
}
.elementor .dz-step.is-on .dz-step-num {
	border-color: var(--fy-orange, #F15A22);
	background-color: var(--fy-orange, #F15A22);
	color: #fff;
	box-shadow: 0 12px 24px -12px rgba(241, 90, 34, .9);
}
.elementor .dz-step .dz-step-title,
.elementor .dz-step .dz-step-text {
	transition: opacity .5s ease;
}
.dz-timeline:not(.is-vertical) .dz-step:not(.is-on) .dz-step-text {
	opacity: .6;
}

@media (max-width: 1024px) {
	.elementor .dz-timeline .dz-step-num {
		position: absolute;
		left: -84px;
		top: -8px;
		margin: 0;
	}
	.dz-chips {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
		margin: 0 -28px;
		padding: 2px 28px 8px;
	}
	.dz-chips::-webkit-scrollbar {
		display: none;
	}
	.dz-chip {
		flex: 0 0 auto;
	}
	.dz-rail-nav {
		display: none;
	}
}

@media (hover: none), (max-width: 1024px) {
	.dz-hint {
		display: inline;
	}
}

@media (max-width: 767px) {
	.elementor .dz-timeline .dz-step-num {
		left: -72px;
		width: 50px;
		height: 50px;
		min-width: 50px;
		line-height: 46px;
		font-size: 16px;
	}
	.dz-search-box {
		height: 52px;
	}
	.dz-chips {
		margin: 0 -18px;
		padding: 2px 18px 8px;
	}
	.dz-rail-track {
		gap: 12px;
		margin: 0 -18px;
		padding: 8px 18px 20px;
		scroll-padding-inline: 18px;
	}
	.dz-rail-wrap.can-next .dz-rail-track,
	.dz-rail-wrap.can-prev .dz-rail-track,
	.dz-rail-wrap.can-prev.can-next .dz-rail-track {
		-webkit-mask-image: none;
		mask-image: none;
	}
	.dz-card {
		width: 152px;
		border-radius: 20px;
		padding-bottom: 14px;
	}
	.dz-card-media {
		height: 104px;
		border-radius: 14px;
		margin-bottom: 10px;
	}
	.dz-card-name {
		font-size: 16px;
	}
	.dz-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		margin: 0 -18px;
		padding: 4px 18px 12px;
	}
	.dz-pills::-webkit-scrollbar {
		display: none;
	}
	.dz-pill {
		flex: 0 0 auto;
		scroll-snap-align: start;
		font-size: 14px;
	}
	.elementor .dz-tbc.dz-tbc {
		white-space: normal;
	}
	.elementor .dz-ov-value.dz-tbc.dz-tbc {
		align-self: flex-start;
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor .dz-swap,
	.elementor .dz-swap-visa,
	.dz-card,
	.dz-card-media > img,
	.dz-pill,
	.dz-chip {
		transition: none !important;
	}
	.dz-tl-plane {
		display: none;
	}
}

/* ---------- Elementor editor hints (the script does not run inside the editor) ---------- */
body.elementor-editor-active .dz-search:empty::before,
body.elementor-editor-active .dz-filters:empty::before,
body.elementor-editor-active .dz-rail:empty::before,
body.elementor-editor-active .dz-visa-tabs:empty::before {
	display: block;
	padding: 18px 20px;
	border: 1px dashed rgba(241, 90, 34, .5);
	border-radius: 16px;
	background: var(--fy-orange-soft, #FEF1EB);
	font: 600 13px/1.5 var(--fy-font-body), sans-serif;
	color: var(--fy-orange-dark, #D8491A);
	text-align: center;
}
body.elementor-editor-active .dz-search:empty::before { content: "Search field \2014 rendered on the live page"; }
body.elementor-editor-active .dz-filters:empty::before { content: "Region filters \2014 rendered on the live page"; }
body.elementor-editor-active .dz-rail:empty::before { content: "Country selector \2014 rendered on the live page from Dashboard \2192  Destinations"; }
body.elementor-editor-active .dz-visa-tabs:empty::before { content: "Visa type tabs \2014 rendered on the live page from Dashboard \2192  Destinations"; }
