.xygb-campaign {
	width: 100%;
	clear: both;
	margin: 14px 0 18px;
}

.xygb-title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
}

.xygb-timer {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin: 0 0 14px;
}

.xygb-timer-item {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 42px;
}

.xygb-timer-value {
	color: #c50000;
	font-size: 30px;
	font-weight: 600;
	line-height: 1.1;
}

.xygb-timer-label {
	margin-top: 3px;
	color: #6f7782;
	font-size: 12px;
	line-height: 1.2;
}

.xygb-joined-wrap {
	width: 100%;
	clear: both;
	margin: 8px 0;
}

.summary .xygb-joined-wrap,
.xygb-campaign .xygb-joined-wrap {
	margin-top: 16px;
	margin-bottom: 16px;
}

.xygb-joined-text {
	margin-bottom: 6px;
	color: #6f7782;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.summary .xygb-joined-text {
	font-size: 15px;
}

.xygb-joined-bar {
	width: 100%;
	height: 7px;
	overflow: hidden;
	background: #eee;
	border-radius: 999px;
}

.xygb-joined-bar span {
	display: block;
	height: 100%;
	background: #000;
	border-radius: 999px;
	transition: width .35s ease;
}

.xygb-loop-campaign {
	width: 100%;
	margin: 8px 0 4px;
	text-align: left;
}

.xygb-loop-title {
	margin-bottom: 4px;
	color: #6f7782;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
	text-transform: uppercase;
}

.xygb-loop-timer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin: 0 0 7px;
}

.xygb-loop-timer .xygb-timer-item {
	min-width: 0;
	padding: 3px 1px;
	background: #f4f4f4;
	border-radius: 3px;
}

.xygb-loop-timer .xygb-timer-value {
	font-size: 14px;
	font-weight: 700;
}

.xygb-loop-timer .xygb-timer-label {
	margin-top: 1px;
	font-size: 8px;
}

.xygb-loop-campaign .xygb-joined-wrap {
	margin: 5px 0 0;
}

.xygb-loop-campaign .xygb-joined-text {
	margin-bottom: 4px;
	font-size: 11px;
}

.xygb-loop-campaign .xygb-joined-bar {
	height: 5px;
}

.xygb-loop-closed-label {
	color: #c50000;
}

.xygb-group-buy-closed,
.xygb-group-buy-upcoming {
	position: relative;
}

.xygb-closed-overlay {
	position: absolute;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .62);
	backdrop-filter: blur(1px);
}

.xygb-closed-overlay span {
	padding: 8px 16px;
	color: #fff;
	background: rgba(0, 0, 0, .78);
	border-radius: 4px;
	font-size: 16px;
	font-weight: 700;
}

.xygb-state-closed .xygb-timer-value {
	color: #6f7782;
}

.single-product.xygb-client-closed form.cart .single_add_to_cart_button,
.single-product.xygb-client-closed .single_add_to_cart_button {
	pointer-events: none !important;
	opacity: .55 !important;
}

@media (max-width: 768px) {
	.xygb-timer {
		gap: 10px;
		justify-content: flex-start;
	}

	.xygb-timer-item {
		min-width: 38px;
	}

	.xygb-timer-value {
		font-size: 25px;
	}
}
