/* Živé upozornenia pre WooCommerce */
.zu-holder {
	position: fixed;
	bottom: 20px;
	z-index: 99990;
	width: 340px;
	max-width: calc(100vw - 24px);
	pointer-events: none;
}
.zu-holder.zu-bottom-left { left: 20px; }
.zu-holder.zu-bottom-right { right: 20px; }

.zu-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	box-sizing: border-box;
	padding: 12px 34px 12px 12px;
	background: var(--zu-bg, #fff);
	color: var(--zu-text, #1d2327);
	border-radius: var(--zu-radius, 12px);
	box-shadow: var(--zu-shadow, 0 6px 24px rgba(0, 0, 0, .16));
	border: 1px solid rgba(0, 0, 0, .06);
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none !important;
	pointer-events: auto;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .35s ease, transform .35s ease;
}
.zu-card.zu-show { opacity: 1; transform: none; }
a.zu-card:hover { color: var(--zu-text, #1d2327); }

.zu-img {
	flex: 0 0 56px;
	width: 56px !important;
	height: 56px !important;
	object-fit: cover;
	border-radius: calc(var(--zu-radius, 12px) * .6);
	margin: 0 !important;
}

.zu-icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--zu-accent, #e8a200);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}
.zu-icon::before { content: "i"; }
.zu-icon-order::before { content: "✓"; }
.zu-icon-review::before,
.zu-icon-heureka::before { content: "★"; }
.zu-icon-stock::before { content: "!"; }
.zu-icon-coupon::before { content: "%"; }
.zu-icon-visitors { background: transparent; position: relative; }
.zu-icon-visitors::before {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #1fa34a;
	box-shadow: 0 0 0 0 rgba(31, 163, 74, .5);
	animation: zu-pulse 1.8s infinite;
}
@keyframes zu-pulse {
	0% { box-shadow: 0 0 0 0 rgba(31, 163, 74, .5); }
	70% { box-shadow: 0 0 0 12px rgba(31, 163, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(31, 163, 74, 0); }
}

.zu-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zu-title { font-size: 12.5px; opacity: .85; }
.zu-type-visitors .zu-title,
.zu-type-stock .zu-title,
.zu-type-coupon .zu-title,
.zu-type-custom .zu-title { font-size: 13.5px; opacity: 1; font-weight: 600; }
.zu-main {
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.zu-text { font-style: italic; }
.zu-meta { font-size: 11.5px; opacity: .65; }
.zu-type-coupon .zu-meta { color: var(--zu-accent, #e8a200); opacity: 1; font-weight: 600; }

.zu-stars { letter-spacing: 1px; font-size: 13px; line-height: 1; }
.zu-star { color: rgba(0, 0, 0, .18); }
.zu-star.zu-on { color: var(--zu-accent, #e8a200); }

.zu-close {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	padding: 0 !important;
	margin: 0;
	border: 0 !important;
	background: transparent !important;
	color: inherit !important;
	opacity: .45;
	font-size: 18px;
	line-height: 26px;
	cursor: pointer;
	box-shadow: none !important;
}
.zu-close:hover { opacity: .9; }

@media (max-width: 640px) {
	.zu-holder,
	.zu-holder.zu-bottom-left,
	.zu-holder.zu-bottom-right {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}
	.zu-img { flex-basis: 44px; width: 44px !important; height: 44px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.zu-card { transition: opacity .2s; transform: none; }
	.zu-icon-visitors::before { animation: none; }
}
