/* LeaseMatrix Currency Switcher — compact bar: ▼ 港幣HKD    ▼ 平方呎 */

.lmcs-bar {
	--lmcs-color: #5c6570;
	--lmcs-active: #e91e8c;
	--lmcs-text: #333333;
	--lmcs-border: #e5e5e5;
	--lmcs-menu-bg: #ffffff;
	--lmcs-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	--lmcs-hover: #f7f7f7;

	display: inline-flex;
	align-items: center;
	gap: 28px;
	font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--lmcs-color);
	z-index: 10050;
}

.lmcs-switcher {
	position: relative;
	display: inline-block;
	z-index: 10050;
}

.lmcs-switcher__trigger {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	padding: 4px 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: inherit;
	color: var(--lmcs-color);
}

.lmcs-switcher__trigger:focus-visible {
	outline: 2px solid var(--lmcs-active);
	outline-offset: 2px;
}

.lmcs-switcher__label {
	white-space: nowrap;
}

.lmcs-switcher__caret {
	width: 0;
	height: 0;
	border-left: 4.5px solid transparent;
	border-right: 4.5px solid transparent;
	border-top: 5.5px solid currentColor;
	flex-shrink: 0;
}

.lmcs-switcher.is-open .lmcs-switcher__caret {
	transform: rotate(180deg);
}

.lmcs-switcher__menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 148px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--lmcs-menu-bg);
	border: 1px solid var(--lmcs-border);
	border-radius: 4px;
	box-shadow: var(--lmcs-shadow);
	z-index: 10051;
}

.lmcs-switcher__menu[hidden] {
	display: none !important;
}

.lmcs-switcher__option {
	appearance: none;
	width: 100%;
	border: 0;
	background: transparent;
	color: var(--lmcs-text);
	text-align: left;
	padding: 8px 16px;
	cursor: pointer;
	font: inherit;
	font-weight: 400;
	white-space: nowrap;
}

.lmcs-switcher__option:hover,
.lmcs-switcher__option:focus-visible {
	background: var(--lmcs-hover);
	outline: none;
}

.lmcs-switcher__option.is-active {
	color: var(--lmcs-active);
	font-weight: 600;
}

.lmcs-bar--auto {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 10060;
	background: #f4f6f8;
	padding: 8px 16px;
	border-radius: 6px;
}

.lmcs-bar--dark {
	--lmcs-color: #ffffff;
}

.lmcs-price,
.lmcs-area {
	white-space: nowrap;
}

/* 保留 Elementor 選單原有下拉箭頭 */
.elementor-nav-menu .lmcs-menu-label {
	display: inline;
}
