/* ── Popup container ── */
#gs-sales-pop {
	position: fixed;
	bottom: -120px;
	left: 0;
	right: 0;
	z-index: 999999;
	display: flex;
	justify-content: center;
	pointer-events: none;
	transition: bottom 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
}
#gs-sales-pop.visible {
	bottom: 16px;
	pointer-events: auto;
}

/* ── Inner card ── */
.gspop-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.18);
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px 10px 10px;
	max-width: 340px;
	width: calc(100vw - 32px);
	position: relative;
}

/* ── Product image ── */
.gspop-img {
	width: 54px;
	height: 54px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	background: #f0f0f0;
}

/* ── Text block ── */
.gspop-body {
	flex: 1;
	min-width: 0;
}
.gspop-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: #888;
	margin-bottom: 2px;
}
.gspop-product {
	font-size: 13px;
	font-weight: 700;
	color: #111;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.gspop-customer {
	font-size: 12px;
	color: #444;
	margin-top: 2px;
}
.gspop-customer strong {
	color: #111;
}
.gspop-time {
	font-size: 11px;
	color: #aaa;
	margin-top: 3px;
}

/* ── Close button ── */
.gspop-close {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: none;
	font-size: 16px;
	color: #bbb;
	cursor: pointer;
	line-height: 1;
	padding: 0;
}
.gspop-close:hover {
	color: #555;
}

/* ── Progress bar ── */
.gspop-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 3px;
	width: 100%;
	background: #f0f0f0;
	border-radius: 0 0 12px 12px;
	overflow: hidden;
}
.gspop-progress-bar {
	height: 100%;
	width: 100%;
	background: #222;
	transform-origin: left;
	transform: scaleX(1);
	transition: transform linear;
}
