/* Cart toast notification (shown when a product is added to the cart) */
.pidutelk-cart-toast {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.7rem 1.1rem 0.7rem 0.8rem;
	background: #111111;
	color: #ffffff;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	font-size: 0.95rem;
	line-height: 1.3;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.pidutelk-cart-toast--visible {
	opacity: 1;
	transform: translateY(0);
}

.pidutelk-cart-toast__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.pidutelk-cart-toast__check svg circle {
	fill: none;
	stroke: #22c55e;
	stroke-width: 2;
	stroke-dasharray: 63;
	stroke-dashoffset: 63;
	animation: pidutelk-cart-toast-circle 0.5s ease-out 0.1s forwards;
}

.pidutelk-cart-toast__check svg path {
	fill: none;
	stroke: #22c55e;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 16;
	stroke-dashoffset: 16;
	animation: pidutelk-cart-toast-check 0.35s ease-out 0.45s forwards;
}

@keyframes pidutelk-cart-toast-circle {
	to { stroke-dashoffset: 0; }
}

@keyframes pidutelk-cart-toast-check {
	to { stroke-dashoffset: 0; }
}

@media (max-width: 480px) {
	.pidutelk-cart-toast {
		right: 1rem;
		left: 1rem;
		bottom: 1rem;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pidutelk-cart-toast {
		transition: opacity 0.2s ease;
		transform: none;
	}

	.pidutelk-cart-toast__check svg circle,
	.pidutelk-cart-toast__check svg path {
		animation: none;
		stroke-dashoffset: 0;
	}
}
