/* Shared by the Linh Đoàn storefront and its isolated admin previews. */
.nd-ld-currency-skin .nd-factory-currency {
	align-items: center;
	background: transparent;
	border: 0;
	box-shadow: none;
	display: inline-flex;
	flex: 0 0 auto;
	font-family: inherit;
	gap: 6px;
	line-height: 1;
	margin: 0;
	padding: 0;
	position: relative;
}

.nd-ld-currency-skin .nd-factory-currency::after {
	border-bottom: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	color: var(--nd-ld-text, #171717);
	content: "";
	height: 5px;
	pointer-events: none;
	position: absolute;
	right: 14px;
	top: calc(50% - 4px);
	transform: rotate(45deg);
	width: 5px;
}

.nd-ld-currency-skin > .nd-factory-currency {
	background: var(--nd-ld-background, #fff);
	border: 1px solid var(--nd-ld-border, #e6e3df);
	border-radius: var(--nd-ld-radius, 20px);
	position: fixed;
}

.nd-ld-currency-skin .nd-factory-currency .nd-factory-currency__select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--nd-ld-radius, 20px);
	box-shadow: none;
	box-sizing: border-box;
	color: var(--nd-ld-text, #171717);
	cursor: pointer;
	display: block;
	font-family: inherit;
	font-size: var(--nd-ld-font, 13px);
	font-weight: 500;
	letter-spacing: .06em;
	line-height: 1.25;
	margin: 0;
	max-width: 100%;
	min-height: 44px;
	min-width: 78px;
	padding: 10px 30px 10px 12px;
	text-transform: uppercase;
}

.nd-ld-currency-skin.nd-ld-style-outline .nd-factory-currency__select,
.nd-ld-currency-skin .nd-ld-currency-row .nd-factory-currency__select {
	background-color: var(--nd-ld-background, #fff);
	border-color: var(--nd-ld-border, #e6e3df);
}

.nd-ld-currency-skin .nd-factory-currency__select:hover {
	border-color: var(--nd-ld-border, #e6e3df);
}

.nd-ld-currency-skin .nd-factory-currency__select:focus-visible {
	/* Theme removes outlines; a box-shadow keeps keyboard focus visible. */
	box-shadow: 0 0 0 2px var(--nd-ld-accent, #981c18);
}

.nd-ld-currency-skin .nd-factory-currency__select option {
	background: var(--nd-ld-background, #fff);
	color: var(--nd-ld-text, #171717);
}

.nd-ld-currency-skin .nd-factory-currency__label {
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.nd-ld-currency-skin.nd-ld-label-visible .nd-factory-currency__label {
	clip-path: none;
	color: var(--nd-ld-text, #171717);
	font-size: var(--nd-ld-font, 13px);
	font-weight: 400;
	height: auto;
	position: static;
	width: auto;
}

.nd-ld-currency-skin .nd-ld-currency-row {
	align-items: center;
	border-bottom: 1px solid var(--nd-ld-border, #e6e3df);
	box-sizing: border-box;
	color: var(--nd-ld-text, #171717);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	min-height: 68px;
	padding: 12px 0;
	width: 100%;
}

.nd-ld-currency-skin .nd-ld-currency-row > strong {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.nd-ld-currency-skin .nd-ld-currency-row .nd-factory-currency__select {
	/* 16px avoids iOS zoom when interacting with the native mobile select. */
	font-size: 16px;
	min-width: 98px;
}

.nd-ld-currency-skin .nd-ld-currency-row .nd-factory-currency__label {
	clip-path: inset(50%);
	height: 1px;
	position: absolute;
	width: 1px;
}

.nd-ld-currency-skin .nd-ld-currency-row #woocommerce-multi-currency-1 {
	margin: 0;
	padding: 0;
	width: auto;
}
