.ssshop-currency-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.ssshop-currency-switcher select,
.ssshop-currency-switcher button {
	min-height: 2.5rem;
	border: 1px solid currentColor;
	border-radius: 0.25rem;
	background: transparent;
	color: inherit;
	font: inherit;
}

.ssshop-currency-switcher select {
	max-width: 12rem;
	padding: 0.35rem 0.5rem;
}

.ssshop-currency-switcher button {
	padding: 0.35rem 0.65rem;
	cursor: pointer;
}

.ssshop-currency-header-toggle {
	width: auto;
	min-width: 64px;
	padding-inline: .7rem;
}

.ssshop-currency-header-toggle::after {
	content: '';
	width: 6px;
	height: 6px;
	margin-left: .1rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-1px) rotate(45deg);
	transition: transform var(--ss-transition-fast);
}

.ssshop-currency-header.is-open .ssshop-currency-header-toggle::after {
	transform: translateY(2px) rotate(225deg);
}

.ssshop-currency-header-symbol {
	display: none;
}

@media (max-width: 390px) {
	.ssshop-currency-header-toggle {
		min-width: 40px;
		min-height: 40px;
		padding-inline: .45rem;
	}

	.ssshop-currency-header-code {
		display: none;
	}

	.ssshop-currency-header-symbol {
		display: inline;
	}
}

.ssshop-currency-mobile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .45rem;
	width: min(100%, 24rem);
	padding: .3rem;
	border: 1px solid var(--ss-border-default);
	border-radius: var(--ss-radius-pill);
	background: var(--ss-bg-card);
}

.ssshop-currency-mobile-option {
	min-height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	border: 1px solid transparent;
	border-radius: var(--ss-radius-pill);
	color: var(--ss-text-secondary);
	font-size: var(--ss-font-size-sm);
	font-weight: var(--ss-font-weight-bold);
	text-decoration: none;
}

.ssshop-currency-mobile-option:hover,
.ssshop-currency-mobile-option:focus-visible,
.ssshop-currency-mobile-option.is-current {
	border-color: var(--ss-color-accent-border);
	background: var(--ss-action-primary);
	color: var(--ss-text-on-accent);
}

.ssshop-currency-mobile-symbol {
	font-size: 1rem;
}
