.k4-fx {
	position: relative;
	z-index: 100050;
	font-family: Outfit, "DM Sans", system-ui, sans-serif;
	flex: 0 0 auto;
	align-self: center;
}

.k4-fx__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 12px 0 6px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
	color: #111;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.k4-fx__btn:hover,
.k4-fx.is-open .k4-fx__btn {
	border-color: #fc4827;
	box-shadow: 0 10px 28px rgba(252, 72, 39, 0.16);
}

.k4-fx__flag {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #eee;
	flex: 0 0 auto;
	line-height: 0;
}

.k4-fx__flag svg,
.k4-fx__option-flag svg {
	width: 100%;
	height: 100%;
	display: block;
}

.k4-fx__btn-code {
	color: #111;
}

.k4-fx__caret {
	width: 10px !important;
	height: 10px !important;
	max-width: 10px !important;
	max-height: 10px !important;
	color: #111;
	fill: currentColor;
	opacity: 0.7;
	flex: 0 0 10px !important;
	overflow: visible;
	transition: transform 0.2s ease;
}

.k4-fx.is-open .k4-fx__caret {
	transform: rotate(180deg);
}

.k4-fx__panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(300px, calc(100vw - 24px));
	padding: 10px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(16px);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.k4-fx.is-open .k4-fx__panel {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.k4-fx__label {
	padding: 8px 10px 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.k4-fx__option {
	display: grid;
	grid-template-columns: 36px 1fr auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 10px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	text-align: left;
	cursor: pointer;
	color: #111;
}

.k4-fx__option:hover {
	background: #f7f7f7;
}

.k4-fx__option.is-active {
	background: #fff3ef;
}

.k4-fx__option-flag {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #eee;
	flex: 0 0 auto;
	line-height: 0;
}

.k4-fx__option-code {
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.k4-fx__option-meta {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #6b6b6b;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.k4-fx__check {
	width: 18px;
	height: 18px;
	opacity: 0;
	color: #fc4827;
}

.k4-fx__option.is-active .k4-fx__check {
	opacity: 1;
}

.k4-fx-notice {
	position: fixed;
	z-index: 100060;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%) translateY(12px);
	display: none;
	align-items: center;
	gap: 14px;
	width: min(520px, calc(100vw - 24px));
	padding: 14px 16px;
	border-radius: 16px;
	background: #111;
	color: #fff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
	opacity: 0;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.k4-fx-notice.is-visible {
	display: flex;
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.k4-fx-notice p {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	flex: 1;
}

.k4-fx-notice strong {
	color: #fc4827;
}

.k4-fx-notice__open,
.k4-fx-notice__close {
	border: 0;
	cursor: pointer;
	background: transparent;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.k4-fx-notice__open {
	background: #fc4827;
	border-radius: 999px;
	padding: 8px 12px;
	white-space: nowrap;
}

.yay-currency-single-page-switcher,
.yay-currency-form-switcher,
select.yay-currency-switcher,
.yay-currency-widget {
	display: none !important;
}

.woocommerce-Price-amount {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
	transition: opacity 0.18s ease;
}

.woocommerce-Price-amount.is-updating {
	opacity: 0.35;
}

@media (max-width: 1024px) {
	.k4-nav-root .k4-fx__btn,
	.k4-header-icons .k4-fx__btn {
		width: 38px;
		min-width: 38px;
		min-height: 38px;
		padding: 0;
		justify-content: center;
		gap: 0;
	}

	.k4-nav-root .k4-fx__btn-code,
	.k4-nav-root .k4-fx__caret,
	.k4-header-icons .k4-fx__btn-code,
	.k4-header-icons .k4-fx__caret,
	.k4-top-header .k4-fx__btn-code,
	.k4-top-header .k4-fx__caret {
		display: none;
	}

	.k4-fx__flag {
		width: 28px;
		height: 28px;
	}

	.k4-fx-sheet-backdrop {
		position: fixed;
		inset: 0;
		border: 0;
		padding: 0;
		margin: 0;
		background: rgba(10, 10, 10, 0.45);
		z-index: 100070;
		cursor: pointer;
	}

	.k4-fx-sheet-backdrop[hidden] {
		display: none !important;
	}

	.k4-fx__panel.is-sheet {
		position: fixed !important;
		left: 12px !important;
		right: 12px !important;
		bottom: 16px !important;
		top: auto !important;
		width: auto !important;
		max-width: none !important;
		max-height: min(72vh, 520px);
		overflow: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 100080 !important;
		opacity: 1 !important;
		visibility: visible !important;
		pointer-events: auto !important;
		transform: none !important;
		padding: 14px 12px 18px;
	}

	body.k4-fx-sheet-open {
		overflow: hidden;
	}

	.k4-fx-notice {
		flex-wrap: wrap;
		bottom: 12px;
	}
}

.elementor-459 .k4-fx,
.elementor-location-header .k4-fx,
.kitify-site-wrapper .k4-fx {
	display: flex;
	align-items: center;
	align-self: center;
	margin-inline: 6px;
}

.elementor-location-header .k4-fx__btn,
.k4-header-icons .k4-fx__btn,
.k4-top-header .k4-fx__btn {
	background: #fff !important;
	border-color: rgba(17, 17, 17, 0.12) !important;
	color: #111 !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.elementor-location-header .k4-fx__btn-code,
.k4-header-icons .k4-fx__btn-code,
.k4-top-header .k4-fx__btn-code,
.elementor-location-header .k4-fx__caret,
.k4-header-icons .k4-fx__caret,
.k4-top-header .k4-fx__caret {
	color: #111 !important;
	fill: currentColor !important;
}

.elementor-location-header .k4-fx__flag,
.k4-header-icons .k4-fx__flag,
.k4-top-header .k4-fx__flag {
	background: #f4f4f4;
	color: #111;
}

.k4-header-icons .k4-fx {
	margin-right: 4px;
}

@media (max-width: 767px) {
	.elementor-location-header .k4-fx__btn-code,
	.elementor-location-header .k4-fx__caret {
		display: none;
	}

	.elementor-location-header .k4-fx__btn {
		width: 36px;
		min-height: 36px;
		padding: 0;
		justify-content: center;
	}
}
