
.gmg-flash-widget {
	
	--gmg-flash-cyan: var(--gmg-main-primary, #7c3aed);
	--gmg-flash-red: var(--gmg-main-secondary, #a855f7);
	--gmg-flash-purple: var(--gmg-main-primary, #7c3aed);
	--gmg-flash-card-bg: var(--gmg-main-bg, #0c0f1c);
	--gmg-flash-text: var(--gmg-main-text, #f8fafc);
	--gmg-flash-text-soft: var(--gmg-main-text, #f8fafc);
	--gmg-flash-text-body: #94a3b8;
	--gmg-flash-text-muted: #64748b;
	--gmg-flash-on-neon: var(--gmg-main-bg, #0c0f1c);
	--gmg-flash-ease-out: cubic-bezier(0.16, 1, 0.3, 1);

	box-sizing: border-box;
	font-family: inherit;
}

.gmg-flash-widget *,
.gmg-flash-widget *::before,
.gmg-flash-widget *::after {
	box-sizing: border-box;
}

.gmg-flash-widget :focus-visible {
	outline: 2px solid var(--gmg-flash-cyan);
	outline-offset: 3px;
}


.gmg-flash-widget .gmg-flash-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-block-end: 16px;
}

.gmg-flash-widget .gmg-flash-pulse {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--gmg-flash-red);
	box-shadow: 0 0 10px var(--gmg-flash-red);
	animation: gmgFlashPulse 1.6s ease-in-out infinite;
}

.gmg-flash-widget .gmg-flash-label-text {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--gmg-flash-text-soft);
}


.gmg-flash-widget .gmg-flash-card {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: 40px;
	background: var(--gmg-flash-card-bg);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
	color: var(--gmg-flash-text);
}


.gmg-flash-widget .gmg-flash-glow-border::before {
	content: '';
	position: absolute;
	inset: -2px;
	background: conic-gradient(from 0deg,
			transparent 0%,
			var(--gmg-flash-red) 25%,
			transparent 50%,
			var(--gmg-flash-cyan) 75%,
			transparent 100%);
	border-radius: 22px;
	z-index: 0;
	animation: gmgFlashRotateBorder 8s linear infinite;
}

.gmg-flash-widget .gmg-flash-glow-border::after {
	content: '';
	position: absolute;
	inset: 1px;
	background: var(--gmg-flash-card-bg);
	border-radius: 19px;
	z-index: 1;
}

.gmg-flash-widget .gmg-flash-glow-backdrop {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(circle at 20% 20%,
			color-mix(in srgb, var(--gmg-flash-purple) 18%, transparent),
			transparent 55%);
	pointer-events: none;
}


.gmg-flash-widget .gmg-flash-badge-corner {
	position: absolute;
	inset-block-start: 24px;
	inset-inline-start: 24px;
	z-index: 10;
	padding: 10px 20px;
	text-align: center;
	background: linear-gradient(135deg, var(--gmg-flash-red), var(--gmg-flash-purple));
	border-radius: 12px;
	box-shadow: 0 0 20px color-mix(in srgb, var(--gmg-flash-red) 45%, transparent);
	animation: gmgFlashBadgePop 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.gmg-flash-widget .gmg-flash-discount-num {
	display: block;
	font-size: 1.15rem;
	font-weight: 900;
	color: #ffffff;
}

.gmg-flash-widget .gmg-flash-discount-sub {
	font-size: 0.68rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
}


.gmg-flash-widget .gmg-flash-layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 3rem;
	align-items: center;
}


.gmg-flash-widget .gmg-flash-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gmg-flash-widget .gmg-flash-holo-ring {
	position: absolute;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	border: 1px dashed color-mix(in srgb, var(--gmg-flash-cyan) 30%, transparent);
	animation: gmgFlashRotateHolo 20s linear infinite;
	pointer-events: none;
}

.gmg-flash-widget .gmg-flash-floating-img {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 420px;
	height: auto;
	border-radius: 14px;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
	animation: gmgFlashFloat 5s ease-in-out infinite alternate;
}

.gmg-flash-widget .gmg-flash-floating-img.gmg-flash-no-float {
	animation: none;
}

.gmg-flash-widget .gmg-flash-tech-specs {
	position: absolute;
	inset-block-end: 10px;
	z-index: 3;
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	gap: 8px;
	max-width: 90%;
}

.gmg-flash-widget .gmg-flash-tech-specs span {
	padding: 6px 12px;
	font-size: 0.7rem;
	font-weight: 700;
	color: var(--gmg-flash-cyan);
	background: var(--gmg-main-bg, #0c0f1c);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
}


.gmg-flash-widget .gmg-flash-category-tag {
	margin-block-end: 8px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--gmg-flash-cyan);
}

.gmg-flash-widget .gmg-flash-heading {
	margin: 0 0 12px;
	font-size: 1.8rem;
	font-weight: 900;
	line-height: 1.3;
	color: var(--gmg-flash-text);
}

.gmg-flash-widget .gmg-flash-desc {
	margin: 0 0 28px;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--gmg-flash-text-body);
}


.gmg-flash-widget .gmg-flash-countdown-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-block-end: 24px;
	padding: 16px 22px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
}

.gmg-flash-widget .gmg-flash-timer-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.85rem;
	color: var(--gmg-flash-text-soft);
}

.gmg-flash-widget .gmg-flash-timer-boxes {
	
	direction: ltr;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gmg-flash-widget .gmg-flash-t-box {
	min-width: 48px;
	padding: 6px 10px;
	text-align: center;
	background: rgba(6, 9, 17, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
}

.gmg-flash-widget .gmg-flash-t-num {
	display: block;
	font-size: 1.2rem;
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	color: var(--gmg-flash-text);
}

.gmg-flash-widget .gmg-flash-t-lbl {
	font-size: 0.65rem;
	font-weight: 600;
	color: var(--gmg-flash-text-muted);
}

.gmg-flash-widget .gmg-flash-t-divider {
	font-size: 1.2rem;
	font-weight: 900;
	color: var(--gmg-flash-red);
}

.gmg-flash-widget .gmg-flash-countdown-wrapper.is-ended .gmg-flash-t-num {
	color: var(--gmg-flash-text-muted);
}


.gmg-flash-widget .gmg-flash-stock-wrap {
	margin-block-end: 28px;
}

.gmg-flash-widget .gmg-flash-stock-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin-block-end: 8px;
	font-size: 0.85rem;
	color: var(--gmg-flash-text-body);
}

.gmg-flash-widget .gmg-flash-stock-meta strong {
	color: #e2e8f0;
}

.gmg-flash-widget .gmg-flash-text-cyan {
	font-weight: 700;
	color: var(--gmg-flash-cyan);
}

.gmg-flash-widget .gmg-flash-progress-bg {
	width: 100%;
	height: 8px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 999px;
}

.gmg-flash-widget .gmg-flash-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--gmg-flash-cyan), var(--gmg-flash-red));
	border-radius: 999px;
	box-shadow: 0 0 12px color-mix(in srgb, var(--gmg-flash-cyan) 50%, transparent);
	transition: width 1s ease-in-out;
}


.gmg-flash-widget .gmg-flash-action-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.gmg-flash-widget .gmg-flash-price-box {
	font-size: 1.4rem;
	font-weight: 900;
	color: var(--gmg-flash-text);
}

.gmg-flash-widget .gmg-flash-price-box del {
	display: block;
	font-size: 0.85rem;
	font-weight: 400;
	color: var(--gmg-flash-text-muted);
	text-decoration: line-through;
}

.gmg-flash-widget .gmg-flash-price-box ins {
	text-decoration: none;
}

.gmg-flash-widget a.gmg-flash-buy-btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	font-size: 0.95rem;
	font-weight: 900;
	color: var(--gmg-flash-on-neon);
	text-decoration: none;
	background: linear-gradient(135deg, var(--gmg-flash-cyan) 0%, var(--gmg-flash-purple) 100%);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	transition:
		transform 250ms ease,
		box-shadow 250ms ease;
}

.gmg-flash-widget a.gmg-flash-buy-btn:hover,
.gmg-flash-widget a.gmg-flash-buy-btn:focus-visible {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 10px 25px color-mix(in srgb, var(--gmg-flash-cyan) 45%, transparent);
}

.gmg-flash-widget a.gmg-flash-buy-btn:active {
	transform: translateY(-1px) scale(1);
}


.gmg-flash-widget:dir(rtl) .gmg-flash-buy-btn svg {
	transform: scaleX(1);
}


@keyframes gmgFlashPulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.4;
		transform: scale(1.3);
	}
}

@keyframes gmgFlashRotateBorder {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes gmgFlashRotateHolo {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes gmgFlashBadgePop {
	from {
		transform: scale(0);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

@keyframes gmgFlashFloat {
	from {
		transform: translateY(0) rotate(0deg);
	}

	to {
		transform: translateY(-14px) rotate(-1deg);
	}
}


@media (max-width: 900px) {
	.gmg-flash-widget .gmg-flash-card {
		padding: 28px;
	}

	.gmg-flash-widget .gmg-flash-layout {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}

	.gmg-flash-widget .gmg-flash-visual {
		order: -1;
		flex-direction: column;
	}

	.gmg-flash-widget .gmg-flash-holo-ring {
		width: 220px;
		height: 220px;
	}

	.gmg-flash-widget .gmg-flash-floating-img {
		max-width: 280px;
	}

	.gmg-flash-widget .gmg-flash-tech-specs {
		position: static;
		justify-content: center;
		margin-block-start: 16px;
	}

	.gmg-flash-widget .gmg-flash-countdown-wrapper,
	.gmg-flash-widget .gmg-flash-stock-meta,
	.gmg-flash-widget .gmg-flash-action-row {
		justify-content: center;
		text-align: center;
	}

	.gmg-flash-widget .gmg-flash-heading {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.gmg-flash-widget .gmg-flash-badge-corner {
		inset-block-start: 16px;
		inset-inline-start: 16px;
		padding: 8px 14px;
	}

	.gmg-flash-widget .gmg-flash-timer-boxes {
		justify-content: center;
		width: 100%;
	}

	.gmg-flash-widget a.gmg-flash-buy-btn {
		justify-content: center;
		width: 100%;
	}
}


@media (prefers-reduced-motion: reduce) {

	.gmg-flash-widget .gmg-flash-pulse,
	.gmg-flash-widget .gmg-flash-glow-border::before,
	.gmg-flash-widget .gmg-flash-holo-ring,
	.gmg-flash-widget .gmg-flash-floating-img,
	.gmg-flash-widget .gmg-flash-badge-corner {
		animation: none;
	}

	.gmg-flash-widget .gmg-flash-progress-fill,
	.gmg-flash-widget a.gmg-flash-buy-btn {
		transition: none;
	}
}