/* Currency switcher — header (.site-header__actions) + footer + mobile (.site-nav-panel) */

.mblc-currency-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.mblc-currency-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
	color: inherit;
	transition: color 0.2s;
}

.mblc-currency-switcher__chevron {
	flex-shrink: 0;
	transition: transform 0.2s;
}

.mblc-currency-switcher.is-open .mblc-currency-switcher__chevron {
	transform: rotate(180deg);
}

.mblc-currency-switcher__menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 120;
	min-width: 88px;
	margin: 0;
	padding: 4px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mblc-currency-switcher__menu[hidden] {
	display: none;
}

.mblc-currency-switcher__option {
	display: block;
	width: 100%;
	margin: 0;
	padding: 8px 14px;
	border: none;
	background: none;
	text-align: left;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	color: #0f1012;
	transition: background 0.15s, color 0.15s;
}

.mblc-currency-switcher__option:hover,
.mblc-currency-switcher__option:focus-visible {
	background: #f5f5f5;
	outline: none;
}

.mblc-currency-switcher__option.is-active {
	color: #c8102e;
	cursor: default;
}

/* Header — match .site-header__nav menu typography */
.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__toggle {
	color: var(--vale-blk, #0e0e0e);
	font-family: var(--vale-font-b, inherit);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__toggle:hover {
	color: var(--vale-red, #c8102e);
}

.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__menu {
	border-color: var(--vale-blk, #0e0e0e);
	border-radius: 0;
}

.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__option {
	font-family: var(--vale-font-b, inherit);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vale-blk, #0e0e0e);
}

.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__option:hover,
.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__option:focus-visible {
	background: var(--vale-off, #f7f7f7);
	color: var(--vale-blk, #0e0e0e);
}

.site-header__actions .mblc-currency-switcher--header .mblc-currency-switcher__option.is-active {
	color: var(--vale-red, #c8102e);
}

/* Mobile: hide header switcher (burger menu only) */
@media (max-width: 1015px) {
	.site-header__actions .mblc-currency-switcher--header {
		display: none !important;
	}
}

/* Footer — label + pills on dark background */
.mblc-currency-switcher--footer {
	margin-top: 12px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mblc-currency-switcher--footer .mblc-currency-switcher__label {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.mblc-currency-switcher--footer .mblc-currency-switcher__toggle {
	display: none;
}

.mblc-currency-switcher--footer .mblc-currency-switcher__menu {
	position: static;
	display: flex !important;
	flex-wrap: wrap;
	gap: 7px;
	min-width: 0;
	padding: 0;
	border: none;
	box-shadow: none;
	background: transparent;
}

.mblc-currency-switcher--footer .mblc-currency-switcher__menu[hidden] {
	display: flex !important;
}

.mblc-currency-switcher--footer li {
	display: inline;
}

.mblc-currency-switcher--footer .mblc-currency-switcher__option {
	display: inline-block;
	width: auto;
	min-width: 0;
	padding: 4px 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 2px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.25;
	color: rgba(255, 255, 255, 0.85);
}

.mblc-currency-switcher--footer .mblc-currency-switcher__option:hover,
.mblc-currency-switcher--footer .mblc-currency-switcher__option:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.mblc-currency-switcher--footer .mblc-currency-switcher__option.is-active {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.mblc-currency-switcher.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

/* Mobile drawer — label + pills (light) */
.site-nav-panel__currency {
	width: 100%;
	flex: 1 1 100%;
	margin-bottom: 4px;
}

.site-nav-panel .site-nav-panel__currency {
	flex: 1 1 100%;
}

.mblc-currency-switcher--mobile {
	margin-top: 0;
	width: 100%;
	flex-direction: column;
	gap: 8px;
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__label {
	margin: 0;
	color: var(--vale-gray, #888);
	font-family: var(--vale-font-b, inherit);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__toggle {
	display: none;
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__menu {
	position: static;
	display: flex !important;
	flex-wrap: wrap;
	gap: 7px;
	min-width: 0;
	padding: 0;
	border: none;
	box-shadow: none;
	background: transparent;
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__menu[hidden] {
	display: flex !important;
}

.mblc-currency-switcher--mobile li {
	display: inline;
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__option {
	display: inline-block;
	width: auto;
	min-width: 0;
	padding: 4px 10px;
	border: 1px solid var(--vale-brd, #e2e2e2);
	border-radius: 2px;
	font-family: var(--vale-font-b, inherit);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	line-height: 1.25;
	text-transform: uppercase;
	color: var(--vale-blk, #0e0e0e);
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__option:hover,
.mblc-currency-switcher--mobile .mblc-currency-switcher__option:focus-visible {
	background: var(--vale-off, #f7f7f7);
}

.mblc-currency-switcher--mobile .mblc-currency-switcher__option.is-active {
	border-color: var(--vale-red, #c8102e);
	color: var(--vale-red, #c8102e);
}
