/* FD Black Friday & Cyber Monday Promo Popup */
body.fd-bfcm-modal-open {
	overflow: hidden;
}

.fd-bfcm-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(3, 10, 22, 0.82);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 16px;
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	box-sizing: border-box;
	color: #ffffff;
}

body.admin-bar .fd-bfcm-overlay {
	padding-top: 38px;
}

.fd-bfcm-overlay.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.fd-bfcm-overlay *,
.fd-bfcm-overlay *::before,
.fd-bfcm-overlay *::after {
	box-sizing: border-box;
}

.fd-bfcm-modal {
	position: relative;
	width: 100%;
	max-width: 860px;
	overflow: hidden;
	border-radius: 18px;
	background:
		linear-gradient(125deg, rgba(4, 14, 32, 0.42) 0%, rgba(4, 14, 32, 0.68) 48%, rgba(4, 14, 32, 0.78) 100%),
		url('../images/popup-bg.jpg') center center / cover no-repeat,
		#061428;
	border: 1.5px solid rgba(56, 189, 248, 0.58);
	box-shadow: 0 26px 70px rgba(0, 0, 0, 0.74), 0 0 38px rgba(0, 115, 230, 0.32);
	color: #ffffff;
	padding: 16px 26px 14px;
	transform: translateY(14px) scale(0.97);
	transition: transform 0.25s ease;
}

.fd-bfcm-overlay.is-open .fd-bfcm-modal {
	transform: translateY(0) scale(1);
}

.fd-bfcm-glow-rays,
.fd-bfcm-wave {
	display: none;
}

.fd-bfcm-modal button.fd-bfcm-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 6;
	width: 34px;
	height: 34px;
	min-width: 34px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.8);
	background: rgba(8, 24, 48, 0.9);
	color: #ffffff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	margin: 0;
	text-transform: none;
	box-shadow: none;
	transition: background 0.2s ease, transform 0.2s ease;
}

.fd-bfcm-modal button.fd-bfcm-close:hover {
	background: #0073e6;
	border-color: #38bdf8;
	transform: scale(1.06);
}

.fd-bfcm-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(210px, 31%) 1fr;
	gap: 26px;
	align-items: center;
}

/* Left Column: Big Hanging Tag + Tilted Phone */
.fd-bfcm-left {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-left: 4px;
}

.fd-bfcm-tag-stage {
	position: relative;
	z-index: 3;
	margin-left: 46px;
	margin-top: -12px;
}

.fd-bfcm-shard {
	position: absolute;
	background: linear-gradient(135deg, #38bdf8, #0073e6);
	opacity: 0.82;
	pointer-events: none;
}

.fd-bfcm-shard-1 {
	width: 18px;
	height: 18px;
	top: 26px;
	left: -30px;
	clip-path: polygon(0 0, 100% 45%, 35% 100%);
}

.fd-bfcm-shard-2 {
	width: 14px;
	height: 14px;
	top: 22px;
	right: -24px;
	clip-path: polygon(100% 0, 65% 100%, 0 40%);
}

.fd-bfcm-shard-3 {
	width: 10px;
	height: 10px;
	top: 52px;
	right: -34px;
	clip-path: polygon(50% 0, 100% 100%, 0 70%);
}

.fd-bfcm-tag-wrap {
	position: relative;
	transform: rotate(-10deg);
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 28px rgba(0, 145, 255, 0.55));
}

.fd-bfcm-cord {
	position: absolute;
	top: -38px;
	left: 50%;
	transform: translateX(-50%) rotate(10deg);
	width: 4px;
	height: 46px;
	background: linear-gradient(180deg, #fde047, #ca8a04);
	border-radius: 3px;
	z-index: 3;
}

.fd-bfcm-ring {
	position: absolute;
	top: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 3px solid #eab308;
	background: #0a1d37;
	z-index: 4;
}

.fd-bfcm-tag {
	width: auto;
	display: inline-block;
	padding: 26px 20px 20px;
	background: linear-gradient(155deg, #2d333e 0%, #151821 65%, #0f1219 100%);
	clip-path: polygon(22% 0%, 78% 0%, 100% 22%, 100% 94%, 94% 100%, 6% 100%, 0% 94%, 0% 22%);
	text-align: center;
	position: relative;
}

.fd-bfcm-eyelet {
	display: block;
	height: 4px;
}

.fd-bfcm-tag-pct {
	font-size: 56px;
	font-weight: 900;
	font-style: italic;
	line-height: 0.9;
	letter-spacing: -2px;
	color: #ffffff;
	text-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
}

.fd-bfcm-tag-off {
	font-size: 36px;
	font-weight: 900;
	font-style: italic;
	line-height: 0.98;
	color: #1da1f2;
	letter-spacing: 0.5px;
	margin-top: 2px;
	text-shadow: 0 2px 14px rgba(29, 161, 242, 0.5);
}

.fd-bfcm-tag-swoosh {
	width: 98px;
	height: 7px;
	margin: 3px auto 0;
	border-top: 3px solid #1da1f2;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	opacity: 0.9;
}

.fd-bfcm-phone-wrap {
	position: relative;
	z-index: 4;
	width: 100%;
	margin-top: -16px;
	margin-left: -4px;
}

.fd-bfcm-custom-phone-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
}

.fd-bfcm-phone {
	width: 204px;
	background: linear-gradient(145deg, #273449, #090e1a);
	border-radius: 28px;
	padding: 7px;
	border: 2px solid #64748b;
	box-shadow: -10px 24px 48px rgba(0, 0, 0, 0.78), 0 0 22px rgba(56, 189, 248, 0.25);
}

.fd-bfcm-phone-notch {
	width: 66px;
	height: 8px;
	background: #020617;
	border-radius: 999px;
	margin: 0 auto 6px;
}

.fd-bfcm-phone-screen {
	background: #091830;
	border-radius: 20px;
	padding: 9px;
	border: 1px solid rgba(56, 189, 248, 0.22);
}

.fd-bfcm-app-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 10px;
	font-weight: 700;
	color: #ffffff;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fd-bfcm-app-title {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.fd-bfcm-app-proj {
	padding: 6px 0 5px;
	display: flex;
	flex-direction: column;
}

.fd-bfcm-app-proj strong {
	font-size: 10.5px;
	color: #ffffff;
	line-height: 1.2;
}

.fd-bfcm-app-proj span {
	font-size: 8.5px;
	color: #94a3b8;
}

.fd-bfcm-app-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	margin-bottom: 8px;
}

.fd-bfcm-thumb {
	position: relative;
	height: 42px;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	align-items: flex-end;
}

.fd-bfcm-thumb-floor {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 6px, transparent 6px 12px);
}

.fd-bfcm-thumb-lbl {
	position: relative;
	z-index: 1;
	width: 100%;
	font-size: 6.5px;
	font-weight: 600;
	color: #ffffff;
	background: rgba(5, 13, 28, 0.74);
	padding: 1.5px 3px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fd-bfcm-app-btn {
	background: linear-gradient(90deg, #0073e6, #0ea5e9);
	color: #ffffff;
	font-size: 9.5px;
	font-weight: 700;
	text-align: center;
	padding: 6px;
	border-radius: 7px;
}

/* Right Column */
.fd-bfcm-right {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fd-bfcm-brand {
	margin-bottom: 4px;
}

.fd-bfcm-custom-logo {
	height: 60px;
	max-height: 60px;
	max-width: 100%;
	width: auto;
	display: block;
}

.fd-bfcm-logo-svg {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.fd-bfcm-logo-circle {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #0d5ea6;
	border: 2.5px solid #ffffff;
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 900;
	letter-spacing: 0.4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 2px #0d5ea6;
}

.fd-bfcm-logo-text {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0.8px;
	color: #ffffff;
	line-height: 1;
}

.fd-bfcm-logo-text sup {
	font-size: 10px;
	font-weight: 600;
	margin-left: 2px;
}

.fd-bfcm-modal h2.fd-bfcm-headline {
	margin: 0 0 5px !important;
	padding: 0 !important;
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
	font-size: 27px !important;
	font-weight: 800 !important;
	line-height: 1.14 !important;
	color: #ffffff !important;
	text-transform: none !important;
	letter-spacing: -0.3px !important;
}

.fd-bfcm-headline-top {
	display: block;
	color: #ffffff !important;
}

.fd-bfcm-headline-accent {
	display: block;
	color: #1fa8ff !important;
	font-style: italic;
	text-shadow: 0 0 18px rgba(31, 168, 255, 0.35);
}

.fd-bfcm-headline-arc {
	width: 210px;
	height: 6px;
	border-top: 2.5px solid #0ea5e9;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	opacity: 0.75;
	margin-bottom: 7px;
}

.fd-bfcm-features {
	list-style: none !important;
	margin: 0 0 8px !important;
	padding: 0 !important;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px 12px;
	text-align: left;
}

.fd-bfcm-features li {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 12px;
	line-height: 1.28;
	color: #f1f5f9 !important;
	font-weight: 500;
	margin: 0 !important;
	padding: 0 !important;
}

.fd-bfcm-check {
	flex-shrink: 0;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: #0ea5e9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.fd-bfcm-pricing-box {
	width: 100%;
	background: rgba(6, 22, 46, 0.88);
	border: 1.5px solid rgba(56, 189, 248, 0.65);
	box-shadow: 0 0 20px rgba(0, 145, 255, 0.28);
	border-radius: 13px;
	padding: 8px 14px;
	margin-bottom: 8px;
}

.fd-bfcm-product-name {
	font-size: 14.5px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 5px;
}

.fd-bfcm-price-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.fd-bfcm-price-old {
	position: relative;
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
	padding: 0 4px;
	line-height: 1;
}

.fd-bfcm-price-old::after {
	content: "";
	position: absolute;
	left: -3px;
	right: -3px;
	top: 52%;
	height: 3.5px;
	background: #ef4444;
	transform: rotate(-10deg);
	border-radius: 2px;
}

.fd-bfcm-price-sep {
	width: 1.5px;
	height: 36px;
	background: rgba(255, 255, 255, 0.32);
}

.fd-bfcm-price-new {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	background: linear-gradient(135deg, #0ea5e9, #0073e6);
	color: #ffffff;
	padding: 7px 16px;
	border-radius: 11px;
	box-shadow: 0 6px 18px rgba(0, 115, 230, 0.45);
}

.fd-bfcm-price-new strong {
	font-size: 36px;
	font-weight: 900;
	line-height: 1;
}

.fd-bfcm-price-new span {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	text-align: left;
	max-width: 72px;
}

.fd-bfcm-renewal {
	font-size: 12.5px;
	color: #cbd5e1;
}

.fd-bfcm-coupon-wrap {
	margin-bottom: 7px;
}

.fd-bfcm-modal button.fd-bfcm-coupon-box {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 15px;
	background: rgba(8, 25, 50, 0.9);
	border: 1.5px dashed rgba(255, 255, 255, 0.65);
	border-radius: 11px;
	color: #ffffff !important;
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
	text-transform: none !important;
	box-shadow: none;
	margin: 0;
	transition: border-color 0.2s ease, transform 0.15s ease;
}

.fd-bfcm-modal button.fd-bfcm-coupon-box:hover {
	border-color: #facc15;
	background: rgba(12, 34, 68, 0.95);
	transform: translateY(-1px);
}

.fd-bfcm-coupon-label {
	font-size: 13.5px;
	font-weight: 600;
	color: #f1f5f9;
}

.fd-bfcm-coupon-pill {
	background: #facc15;
	color: #0a1d37;
	font-size: 14.5px;
	font-weight: 900;
	letter-spacing: 0.8px;
	padding: 4px 12px;
	border-radius: 7px;
}

.fd-bfcm-copy-icon {
	display: inline-flex;
	color: #cbd5e1;
}

.fd-bfcm-copied-msg {
	display: none;
	font-size: 12.5px;
	font-weight: 700;
	color: #4ade80;
}

.fd-bfcm-coupon-box.is-copied .fd-bfcm-copy-icon {
	display: none;
}

.fd-bfcm-coupon-box.is-copied .fd-bfcm-copied-msg {
	display: inline;
}

.fd-bfcm-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 12px;
	color: #e2e8f0;
	margin-bottom: 8px;
}

.fd-bfcm-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.fd-bfcm-meta-sep {
	color: rgba(255, 255, 255, 0.35);
}

.fd-bfcm-view {
	display: none;
	width: 100%;
	flex-direction: column;
	align-items: center;
}

.fd-bfcm-view.is-active {
	display: flex;
}

.fd-bfcm-note-box {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-align: left;
	padding: 8px 12px;
	border-radius: 11px;
	background: rgba(14, 165, 233, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.45);
	color: #e2e8f0;
	font-size: 12px;
	line-height: 1.38;
	margin-bottom: 8px;
}

.fd-bfcm-note-box strong {
	color: #ffffff;
	font-weight: 700;
}

.fd-bfcm-note-icon {
	flex-shrink: 0;
	margin-top: 2px;
	display: inline-flex;
}

.fd-bfcm-modal button.fd-bfcm-steps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 22px;
	border-radius: 999px;
	background: linear-gradient(90deg, #0073e6 0%, #0ea5e9 100%);
	border: none;
	color: #ffffff !important;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	text-transform: none !important;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(0, 115, 230, 0.45);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.fd-bfcm-modal button.fd-bfcm-steps-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 26px rgba(14, 165, 233, 0.55);
}

/* Step-by-Step Guide View */
.fd-bfcm-modal h3.fd-bfcm-steps-title {
	margin: 0 0 3px !important;
	padding: 0 !important;
	font-family: inherit !important;
	font-size: 21px !important;
	font-weight: 800 !important;
	color: #ffffff !important;
	text-transform: none !important;
}

.fd-bfcm-steps-sub {
	margin: 0 0 11px;
	font-size: 12.5px;
	color: #93c5fd;
}

.fd-bfcm-step-cards {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin-bottom: 12px;
	text-align: left;
}

.fd-bfcm-step-card {
	background: rgba(6, 22, 46, 0.86);
	border: 1px solid rgba(56, 189, 248, 0.38);
	border-radius: 12px;
	padding: 10px 14px;
}

.fd-bfcm-step-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.fd-bfcm-step-card-head strong {
	font-size: 13.5px;
	color: #ffffff;
}

.fd-bfcm-step-badge {
	font-size: 10.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(14, 165, 233, 0.22);
	color: #38bdf8;
	border: 1px solid rgba(56, 189, 248, 0.45);
}

.fd-bfcm-step-badge.is-new {
	background: rgba(250, 204, 21, 0.16);
	color: #fde047;
	border-color: rgba(250, 204, 21, 0.45);
}

.fd-bfcm-step-list {
	margin: 0 !important;
	padding-left: 18px !important;
	color: #e2e8f0;
	font-size: 12px;
	line-height: 1.42;
}

.fd-bfcm-step-list li {
	margin-bottom: 3px;
}

.fd-bfcm-step-list li:last-child {
	margin-bottom: 0;
}

.fd-bfcm-step-list strong {
	color: #ffffff;
}

.fd-bfcm-steps-footer {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
}

.fd-bfcm-modal button.fd-bfcm-coupon-sm {
	padding: 5px 11px;
}

.fd-bfcm-modal button.fd-bfcm-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #ffffff !important;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	text-transform: none !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.fd-bfcm-modal button.fd-bfcm-back-btn:hover {
	background: rgba(255, 255, 255, 0.22);
}

@media (max-width: 820px) {
	.fd-bfcm-overlay {
		align-items: flex-start;
		padding: 16px 12px;
	}

	body.admin-bar .fd-bfcm-overlay {
		padding-top: 52px;
	}

	.fd-bfcm-modal {
		margin: auto 0;
		padding: 20px 16px 18px;
		border-radius: 16px;
	}

	.fd-bfcm-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.fd-bfcm-left {
		min-height: auto;
		align-items: center;
		padding-left: 0;
	}

	.fd-bfcm-tag-stage {
		margin-left: 0;
		margin-top: 0;
	}

	.fd-bfcm-tag-wrap {
		transform: rotate(-3deg);
		margin-bottom: 0;
	}

	.fd-bfcm-cord,
	.fd-bfcm-ring,
	.fd-bfcm-shard,
	.fd-bfcm-phone-wrap {
		display: none;
	}

	.fd-bfcm-tag {
		width: auto;
		clip-path: none;
		border-radius: 12px;
		padding: 8px 20px;
		display: inline-flex;
		align-items: baseline;
		gap: 8px;
	}

	.fd-bfcm-eyelet,
	.fd-bfcm-tag-swoosh {
		display: none;
	}

	.fd-bfcm-tag-pct {
		font-size: 32px;
	}

	.fd-bfcm-tag-off {
		font-size: 22px;
	}

	.fd-bfcm-custom-logo {
		height: auto;
		max-height: 46px;
		max-width: 100%;
	}

	.fd-bfcm-modal h2.fd-bfcm-headline {
		font-size: 21px !important;
	}

	.fd-bfcm-headline-arc {
		width: 160px;
	}

	.fd-bfcm-features {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.fd-bfcm-price-sep {
		display: none;
	}

	.fd-bfcm-price-old {
		font-size: 22px;
	}

	.fd-bfcm-price-new strong {
		font-size: 24px;
	}

	.fd-bfcm-modal button.fd-bfcm-coupon-box {
		flex-wrap: wrap;
		justify-content: center;
		max-width: 100%;
		gap: 7px;
		padding: 7px 12px;
	}

	.fd-bfcm-modal button.fd-bfcm-steps-btn {
		width: 100%;
		max-width: 100%;
		white-space: normal;
		text-align: center;
		font-size: 13px;
		padding: 10px 16px;
	}

	.fd-bfcm-step-card-head {
		flex-wrap: wrap;
	}

	.fd-bfcm-steps-footer {
		justify-content: center;
	}
}
