/* ==========================================================================
   VIRAL PACK (v3.0.8) — product share buttons, share discount box,
   spin-the-wheel discount popup.
   ========================================================================== */

/* ---------- Product share row (single product pages) ---------- */
.bm-share {
	margin-top: 18px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--bm-muted, #64748b);
}

.bm-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.bm-share-btn:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }
.bm-share-wa { background: #25d366; }
.bm-share-fb { background: #1877f2; }
.bm-share-x { background: #111111; }
.bm-share-tg { background: #229ed9; }
.bm-share-copy { background: #fff; color: #0f2a51; border-color: #cbd5e1; }
.bm-share-copy:hover { color: #0f2a51; border-color: #0f2a51; }

/* ---------- Share & Get 5% Off box ---------- */
.bm-share-offer {
	margin-top: 14px;
	padding: 16px 18px;
	border: 2px dashed #25d366;
	border-radius: 14px;
	background: #f0fdf4;
}

.bm-share-offer strong {
	display: block;
	font-size: 15.5px;
	color: #0f2a51;
	margin-bottom: 4px;
}

.bm-share-offer p {
	margin: 0;
	font-size: 13.5px;
	color: #475569;
	line-height: 1.5;
}

.bm-share-code {
	margin-top: 10px;
	font-size: 14px;
	color: #0f2a51;
}

.bm-share-code[hidden] { display: none; }

.bm-share-code code {
	display: inline-block;
	padding: 6px 12px;
	margin-left: 4px;
	background: #0f2a51;
	color: #fff;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
}

/* ---------- Spin-the-wheel popup ---------- */
.bm-wheel-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(15, 42, 81, 0.72);
}

.bm-wheel-overlay[hidden] { display: none; }

.bm-wheel-popup {
	position: relative;
	width: 100%;
	max-width: 380px;
	max-height: 92vh;
	overflow-y: auto;
	padding: 26px 22px 22px;
	background: #fff;
	border-radius: 20px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(2, 6, 23, 0.35);
}

.bm-wheel-close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #f1f5f9;
	color: #0f2a51;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.bm-wheel-close:hover { background: #e2e8f0; }

.bm-wheel-title {
	margin: 0 0 4px;
	font-size: 24px;
	font-weight: 700;
	color: #0f2a51;
}

.bm-wheel-sub {
	margin: 0 0 16px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}

.bm-wheel-wrap {
	position: relative;
	width: 280px;
	height: 280px;
	margin: 0 auto;
}

.bm-wheel-pointer {
	position: absolute;
	top: -6px;
	left: 50%;
	z-index: 3;
	width: 0;
	height: 0;
	margin-left: -11px;
	border-left: 11px solid transparent;
	border-right: 11px solid transparent;
	border-top: 20px solid #f55a74;
	filter: drop-shadow(0 2px 2px rgba(2, 6, 23, 0.25));
}

.bm-wheel {
	position: relative;
	width: 280px;
	height: 280px;
	border-radius: 50%;
	border: 6px solid #fff;
	box-shadow: 0 10px 30px rgba(15, 42, 81, 0.25), inset 0 0 0 2px rgba(15, 42, 81, 0.12);
	overflow: hidden;
	background: conic-gradient(
		from 0deg,
		#0f2a51 0deg 60deg,
		#35c7df 60deg 120deg,
		#f55a74 120deg 180deg,
		#0f2a51 180deg 240deg,
		#35c7df 240deg 300deg,
		#94a3b8 300deg 360deg
	);
	transition: transform 4.2s cubic-bezier(0.12, 0.8, 0.08, 1);
}

.bm-wheel-label {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: rotate(var(--bm-rot, 0deg));
}

.bm-wheel-label span {
	position: absolute;
	display: block;
	width: 76px;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-shadow: 0 1px 3px rgba(2, 6, 23, 0.5);
	transform: translate(-50%, -118px) rotate(calc(var(--bm-rot, 0deg) * -1));
}

.bm-wheel-spin {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 68px;
	height: 68px;
	margin: -34px 0 0 -34px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: #0f2a51;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(2, 6, 23, 0.3);
}

.bm-wheel-spin:hover:not(:disabled) { background: #0a3380; }
.bm-wheel-spin:disabled { opacity: 0.55; cursor: default; }

.bm-wheel-result { margin-top: 18px; }
.bm-wheel-result[hidden] { display: none; }

.bm-wheel-won {
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 700;
	color: #0f2a51;
}

.bm-wheel-code {
	font-size: 14px;
	color: #0f2a51;
	margin-bottom: 12px;
}

.bm-wheel-code code {
	display: inline-block;
	padding: 7px 14px;
	margin-left: 4px;
	background: #0f2a51;
	color: #fff;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
}

.bm-wheel-claim,
.bm-wheel-spin-again,
.bm-wheel-close-btn {
	display: inline-block;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	font-size: 14.5px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
}

.bm-wheel-claim { background: #25d366; color: #fff; }
.bm-wheel-claim:hover { color: #fff; text-decoration: none; }
.bm-wheel-spin-again { background: #0f2a51; color: #fff; }
.bm-wheel-close-btn { background: #f1f5f9; color: #0f2a51; }

.bm-wheel-note {
	margin: 10px 0 0;
	font-size: 13px;
	color: #64748b;
}

.bm-wheel-try {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: #0f2a51;
}

@media (max-width: 480px) {
	.bm-wheel-wrap { width: 240px; height: 240px; }
	.bm-wheel { width: 240px; height: 240px; }
	.bm-wheel-label span {
		width: 64px;
		font-size: 12px;
		transform: translate(-50%, -100px) rotate(calc(var(--bm-rot, 0deg) * -1));
	}
	.bm-wheel-title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
	.bm-wheel { transition: none; }
	.bm-share-btn:hover { transform: none; }
}
