/* Havin Nerkh — storefront. Inherits the theme font; adapts to light and dark themes. */
.hvn-equiv { display: block; font-size: .78em; opacity: .7; font-weight: 400; margin-top: 2px; }
.hvn-amount bdi { unicode-bidi: isolate; }

.hvn-box-wrap:empty { display: none; }
.hvn-box {
	margin: 10px 0 16px;
	padding: 4px 14px;
	border-radius: 12px;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	background: color-mix(in srgb, currentColor 4%, transparent);
	font-size: .88em;
	max-width: 420px;
	animation: hvnFade .25s ease;
}
.hvn-box-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed color-mix(in srgb, currentColor 14%, transparent); }
.hvn-box-row:last-child { border-bottom: 0; }
.hvn-box-row span { opacity: .7; }
.hvn-box-row b { font-weight: 700; }
@keyframes hvnFade { from { opacity: 0; } to { opacity: 1; } }

.hvn-switcher { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; direction: rtl; }
.hvn-sw-btn {
	display: inline-flex; align-items: center; gap: 6px;
	min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px;
	background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer;
	transition: background .2s, color .2s, transform .15s;
}
.hvn-sw-sym { font-weight: 800; }
.hvn-sw-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.hvn-sw-btn.is-active { background: linear-gradient(135deg, #ffb23e, #f07b1e); color: #1a1206; }
.hvn-sw-btn:focus-visible { outline: 2px solid #f07b1e; outline-offset: 2px; }
.hvn-switcher-inline { border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }

.hvn-switcher-floating {
	position: fixed; bottom: 18px; z-index: 9990;
	background: rgba(17, 23, 33, .88); color: #e9eef5;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .1);
	box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .55);
}
.hvn-switcher-floating.is-left { left: 18px; }
.hvn-switcher-floating.is-right { right: 18px; }
@media (max-width: 600px) {
	.hvn-switcher-floating { bottom: 12px; }
	.hvn-switcher-floating.is-left { left: 12px; }
	.hvn-switcher-floating.is-right { right: 12px; }
	.hvn-sw-lbl { display: none; }
	.hvn-sw-btn { min-width: 40px; min-height: 40px; justify-content: center; padding: 0 10px; }
}

.hvn-checkout-note {
	margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; font-size: .9em;
	background: rgba(255, 178, 62, .12); border: 1px solid rgba(255, 178, 62, .35);
}
@media (prefers-reduced-motion: reduce) { .hvn-box, .hvn-sw-btn { animation: none; transition: none; } }
