.hmc-currency-switcher {
	position: relative;
	display: inline-block;
	font: inherit;
}

.hmc-currency-disclosure {
	position: relative;
}

.hmc-currency-disclosure__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 38px;
	padding: 7px 0;
	color: inherit;
	font: inherit;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.hmc-currency-disclosure__toggle::-webkit-details-marker {
	display: none;
}

.hmc-currency-disclosure__toggle svg {
	width: 12px;
	height: 8px;
	flex: 0 0 auto;
	transition: transform 180ms ease;
}

.hmc-currency-disclosure[open] .hmc-currency-disclosure__toggle svg {
	transform: rotate(180deg);
}

.hmc-currency-disclosure__list {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 1px);
	right: 0;
	width: max-content;
	min-width: max(100%, 260px);
	max-width: min(90vw, 440px);
	max-height: min(70vh, 520px);
	margin: 0;
	padding: 12px 0;
	overflow-x: hidden;
	overflow-y: auto;
	border: 1px solid #e5e5e5;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	list-style: none;
	transform-origin: top center;
	transition: all .8s cubic-bezier(.3, 1.1, .4, 1.1);
}

.hmc-currency-disclosure[open] .hmc-currency-disclosure__list {
	animation: hmc-currency-list-in .8s cubic-bezier(.3, 1.1, .4, 1.1) both;
}

@keyframes hmc-currency-list-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hmc-currency-disclosure__list li {
	margin: 0;
	padding: 0;
}

.hmc-currency-disclosure__option {
	display: block;
	width: 100%;
	padding: 11px 20px;
	border: 0;
	background: transparent;
	color: #263342;
	font: inherit;
	line-height: 1.35;
	text-align: left;
	white-space: nowrap;
	cursor: pointer;
}

.hmc-currency-disclosure__option:hover,
.hmc-currency-disclosure__option:focus-visible,
.hmc-currency-disclosure__option.is-selected {
	background: #f3f4f5;
	outline: none;
}

@media (max-width: 767px) {
	.hmc-currency-disclosure__list {
		right: auto;
		left: 0;
		max-width: 88vw;
	}
}
