.ncoa-shopping-region {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	max-width: calc(100vw - 40px);
	pointer-events: none;
}

.ncoa-shopping-popover + .ncoa-shopping-popover {
	margin-top: 10px;
}

.ncoa-shopping-popover {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 340px;
	max-width: 100%;
	box-sizing: border-box;
	padding: 12px 14px 12px 12px;
	background: #fff;
	color: #1e1e1e;
	border-left: 4px solid #7f54b3;
	border-radius: 6px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
	font-size: 14px;
	line-height: 1.45;
	pointer-events: auto;
	opacity: 0;
	transform: translateX(-120%);
	transition: transform 0.35s ease, opacity 0.35s ease, height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
}

.ncoa-shopping-popover.is-visible {
	opacity: 1;
	transform: translateX(0);
}

/* Collapse a closing popover so the rest of the stack closes the gap. */
.ncoa-shopping-popover.is-leaving {
	height: 0 !important;
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 0;
	overflow: hidden;
}

.ncoa-shopping-image {
	flex: none;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	background: #f0f0f0;
}

.ncoa-shopping-message {
	flex: 1;
	margin: 0;
}

.ncoa-shopping-close {
	flex: none;
	align-self: flex-start;
	margin: -4px -4px 0 0;
	padding: 0 6px;
	background: none;
	border: 0;
	color: #757575;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.ncoa-shopping-close:hover,
.ncoa-shopping-close:focus {
	color: #1e1e1e;
}

@media (max-width: 480px) {
	.ncoa-shopping-region {
		left: 10px;
		right: 10px;
		bottom: 10px;
		max-width: none;
	}

	.ncoa-shopping-popover {
		width: 100%;
		padding: 8px;
		border-radius: 4px;
	}

	.ncoa-shopping-image {
		height: 40px;
		width: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ncoa-shopping-popover {
		transform: none;
		transition: opacity 0.2s linear, height 0.2s linear, margin 0.2s linear, padding 0.2s linear;
	}
}
