/* Sytech Region Sales — front */
.ygr-currency-code {
	font-size: .78em;
	font-weight: 500;
	letter-spacing: .02em;
	opacity: .75;
	white-space: nowrap;
}

/* 页头国家 + 币种选择器（沿用主题 .btn_lang 样式） */
header .btn_lang .lang_current .ygr-cur {
	font-size: 12px;
	line-height: 18px;
	padding: 0 6px;
	border: 1px solid currentColor;
	border-radius: 4px;
	opacity: .85;
	white-space: nowrap;
}
header .btn_lang .ygr-dropdown {
	min-width: 280px;
	padding: 0 0 8px;
}
header .btn_lang .ygr-search {
	position: sticky;
	top: 0;
	z-index: 1;
	padding: 10px 12px 6px;
	background-color: #1B2335;
}
header .btn_lang .ygr-search-input {
	width: 100%;
	height: 34px;
	padding: 0 10px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 6px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
	font-size: 14px;
	outline: none;
	box-sizing: border-box;
}
header .btn_lang .ygr-search-input:focus {
	border-color: var(--primary, #c9a46b);
}
header .btn_lang .ygr-lock-note,
header .btn_lang .ygr-empty {
	margin: 2px 16px 6px;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(255, 255, 255, .55);
}
header .btn_lang .ygr-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
header .btn_lang .lang_item a .ygr-name {
	flex: 1;
}
header .btn_lang .lang_item a .ygr-code {
	font-size: 12px;
	opacity: .7;
}
header .btn_lang .lang_item.ygr-locked a {
	cursor: default;
}
header .btn_lang .lang_item.ygr-locked a:hover {
	background-color: transparent;
	color: rgba(255, 255, 255, .8);
}
header .btn_lang .ygr-lock-flash {
	color: var(--primary, #c9a46b);
}

/* 购物车：跨地区 / 币种冲突商品 */
.ygr-cart-invalid {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 4px;
	background: #fbeaea;
	color: #b32d2e;
	font-size: 12px;
	line-height: 1.6;
}
.ygr-cart-item-invalid {
	opacity: .75;
}

/* 没有国旗图标的地区：显示国家代码圆标 */
header .btn_lang .ygr-flag-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex-shrink: 0;
	background-color: rgba(255, 255, 255, .14);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
}
header .btn_lang .lang_item a .ygr-flag-text {
	width: 20px;
	height: 20px;
}

/* 结账：特殊地区只有一个国家时不会套 Select2，按主题 select2 输入框补齐 */
.woocommerce form.checkout p.form-row.ygr-country-locked .woocommerce-input-wrapper {
	display: block;
}
.woocommerce form.checkout p.form-row.ygr-country-locked select.country_to_state--single {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	margin: 0;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	padding: 1.7rem 1.5rem;
	background-color: transparent;
	color: var(--text);
	font-family: inherit;
	font-size: 1.6rem;
	font-weight: 400;
	line-height: normal;
	pointer-events: none;
}
.woocommerce form.checkout p.form-row.ygr-country-locked span.description {
	display: block;
	clear: both;
	margin: 0.6rem 0 0;
	color: #8b8b8b;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.4;
}
@media screen and (max-width: 786px) {
	.woocommerce form.checkout p.form-row.ygr-country-locked select.country_to_state--single {
		font-size: 14px;
		padding: 1.5rem 1.2rem;
	}
}
