/* Currency Switcher Pro — front-end selector.
   Deliberately low-specificity and theme-neutral so it inherits your styles. */

.csp-switcher {
	display: inline-block;
	font-size: 0.95em;
	line-height: 1.4;
}

/* Dropdown */
.csp-switcher__select {
	padding: 0.35em 1.8em 0.35em 0.6em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	max-width: 100%;
}

/* Buttons / list */
.csp-switcher__items {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.4em;
	flex-wrap: wrap;
}
.csp-switcher__items--list {
	flex-direction: column;
}
.csp-switcher__link {
	display: inline-block;
	padding: 0.3em 0.7em;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.csp-switcher__link:hover {
	border-color: rgba(0, 0, 0, 0.4);
}
.csp-switcher__item.is-active .csp-switcher__link {
	background: currentColor;
	border-color: currentColor;
}
.csp-switcher__item.is-active .csp-switcher__link {
	color: #fff;
	background: #2c3338;
	border-color: #2c3338;
}

/* Sticky floating variant */
.csp-switcher--sticky {
	position: fixed;
	z-index: 9998;
	padding: 0.4em;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.csp-switcher--bottom-right { right: 16px; bottom: 16px; }
.csp-switcher--bottom-left  { left: 16px;  bottom: 16px; }
.csp-switcher--top-right    { right: 16px; top: 16px; }
.csp-switcher--top-left     { left: 16px;  top: 16px; }
