/* Zecero Currency – przełącznik walut (v1.0.0)
   Pastylka w stylu paska nagłówka zecero.com (.zh-topbar): h 26px, złota obwódka, radius 999px. */

.zc-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 12.5px;
	line-height: 1;
	font-weight: 500;
	letter-spacing: .02em;
	vertical-align: middle;
}

.zc-sw-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 26px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid rgba(184, 148, 90, .40);
	border-radius: 999px;
	background: transparent;
	color: var(--zh-gold-light, #f1d597);
	font: inherit;
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .2s, background .2s;
	-webkit-appearance: none;
	appearance: none;
}

.zc-sw-btn:hover,
.zc-sw-btn:focus-visible,
.zc-switcher.is-open .zc-sw-btn {
	border-color: var(--zh-gold, #b8945a);
	background: rgba(184, 148, 90, .12);
	outline: none;
}

.zc-sw-sym {
	font-weight: 600;
}

.zc-sw-caret {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .2s;
}

.zc-switcher.is-open .zc-sw-caret {
	transform: rotate(180deg);
}

.zc-sw-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	z-index: 9999;
	min-width: 190px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--zh-black, #0d0d0d);
	border: 1px solid rgba(184, 148, 90, .40);
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .15s, transform .15s, visibility .15s;
	text-align: left;
}

.zc-switcher.is-open .zc-sw-list {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.zc-sw-item {
	margin: 0;
	padding: 0;
}

.zc-sw-item a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 12.5px;
	line-height: 1.2;
	white-space: nowrap;
}

.zc-sw-item a:hover,
.zc-sw-item a:focus-visible {
	background: rgba(184, 148, 90, .16);
	color: #fff;
	outline: none;
}

.zc-sw-item.is-active a {
	color: var(--zh-gold-light, #f1d597);
}

.zc-sw-item .zc-sw-sym {
	width: 20px;
	text-align: center;
}

.zc-sw-item .zc-sw-name {
	margin-left: auto;
	padding-left: 12px;
	opacity: .6;
	font-size: 11.5px;
	font-weight: 400;
}

/* Pływająca pastylka – gdy nie ma paska nagłówka */
.zc-switcher.zc-floating {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 9998;
}

.zc-switcher.zc-floating .zc-sw-btn {
	height: 34px;
	padding: 0 14px;
	font-size: 13px;
	background: var(--zh-black, #0d0d0d);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.zc-switcher.zc-floating .zc-sw-list {
	top: auto;
	bottom: calc(100% + 6px);
	right: auto;
	left: 0;
	transform: translateY(4px);
}

.zc-switcher.zc-floating.is-open .zc-sw-list {
	transform: none;
}

/* Jasne tło (shortcode w treści) */
.zc-switcher.zc-style-light .zc-sw-btn {
	color: var(--zh-black, #0d0d0d);
	border-color: rgba(13, 13, 13, .25);
}

.zc-switcher.zc-style-light .zc-sw-btn:hover,
.zc-switcher.zc-style-light.is-open .zc-sw-btn {
	border-color: var(--zh-gold, #b8945a);
	background: rgba(184, 148, 90, .10);
}

.zc-switcher.zc-style-light .zc-sw-list {
	background: #fff;
	border-color: rgba(13, 13, 13, .15);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.zc-switcher.zc-style-light .zc-sw-item a {
	color: var(--zh-black, #0d0d0d);
}

.zc-switcher.zc-style-light .zc-sw-item a:hover {
	background: rgba(184, 148, 90, .14);
	color: var(--zh-black, #0d0d0d);
}

.zc-switcher.zc-style-light .zc-sw-item.is-active a {
	color: var(--zh-gold, #b8945a);
}

.zc-switcher.zc-inline {
	margin: 0 4px;
}

/* Przeliczona kwota w treści */
.zc-price {
	white-space: nowrap;
}

@media (max-width: 720px) {
	.zc-switcher .zc-sw-btn {
		padding: 0 10px;
	}
	.zc-sw-item .zc-sw-name {
		display: none;
	}
}
