/* Flash Sale widget — structural + preset styles, ported from Tiger
   Elements' tiger-flash-sale.css (tiger-fs- → ractro-fs-). Colors/
   typography/box/badge/countdown/button come from the widget's style
   controls (compiled per-instance) and simply override the CSS variables /
   selectors below; only layout + the four skin presets live here. */
.ractro-fs {
	--ractro-fs-accent: #ff3d57;
	--ractro-fs-text: #ffffff;
	--ractro-fs-radius: 14px;
	width: 100%;
	box-sizing: border-box;
}
.ractro-fs * {
	box-sizing: border-box;
}
.ractro-fs__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	flex-wrap: wrap;
	padding: 22px 26px;
	border-radius: var(--ractro-fs-radius);
	color: var(--ractro-fs-text);
}
.ractro-fs__text {
	flex: 1 1 240px;
	min-width: 200px;
}
.ractro-fs__badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	padding: 3px 9px;
	border-radius: 20px;
	margin-bottom: 8px;
	background: rgba(255, 255, 255, .18);
	color: var(--ractro-fs-text);
}
.ractro-fs__heading {
	margin: 0;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 800;
	color: var(--ractro-fs-text);
}
.ractro-fs__sub {
	margin: 6px 0 0;
	font-size: 14px;
	opacity: .9;
	color: var(--ractro-fs-text);
}

/* Countdown */
.ractro-fs__timer {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
}
.ractro-fs__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	padding: 10px 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .16);
	backdrop-filter: blur(2px);
}
.ractro-fs__num {
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--ractro-fs-text);
}
.ractro-fs__label {
	font-size: 10px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-top: 4px;
	opacity: .85;
	color: var(--ractro-fs-text);
}

/* CTA */
.ractro-fs__cta {
	flex: 0 0 auto;
	display: inline-block;
	padding: 13px 26px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	background: var(--ractro-fs-text);
	color: var(--ractro-fs-accent);
	transition: transform .12s ease, box-shadow .12s ease;
}
.ractro-fs__cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
	color: var(--ractro-fs-accent);
}

.ractro-fs--ended .ractro-fs__timer,
.ractro-fs--ended .ractro-fs__cta {
	opacity: .5;
}

/* ── Presets ─────────────────────────────────────────────────────────── */

/* Gradient Pop */
.ractro-fs--gradient .ractro-fs__inner {
	background: linear-gradient(120deg, var(--ractro-fs-accent) 0%, #9b1fd6 100%);
	box-shadow: 0 12px 30px rgba(155, 31, 214, .25);
}

/* Bold Solid */
.ractro-fs--solid .ractro-fs__inner {
	background: var(--ractro-fs-accent);
}

/* Minimal Outline (light) */
.ractro-fs--minimal {
	--ractro-fs-text: #1d2327;
}
.ractro-fs--minimal .ractro-fs__inner {
	background: #fff;
	border: 2px solid var(--ractro-fs-accent);
}
.ractro-fs--minimal .ractro-fs__badge {
	background: var(--ractro-fs-accent);
	color: #fff;
}
.ractro-fs--minimal .ractro-fs__unit {
	background: rgba(0, 0, 0, .05);
}
.ractro-fs--minimal .ractro-fs__cta {
	background: var(--ractro-fs-accent);
	color: #fff;
}

/* Neon Dark */
.ractro-fs--neon .ractro-fs__inner {
	background: #0f1117;
	border: 1px solid rgba(255, 255, 255, .08);
	box-shadow: inset 0 0 0 1px rgba(255, 61, 87, .25), 0 0 28px rgba(255, 61, 87, .18);
}
.ractro-fs--neon .ractro-fs__heading {
	text-shadow: 0 0 12px var(--ractro-fs-accent);
}
.ractro-fs--neon .ractro-fs__num {
	color: var(--ractro-fs-accent);
	text-shadow: 0 0 10px var(--ractro-fs-accent);
}
.ractro-fs--neon .ractro-fs__cta {
	background: var(--ractro-fs-accent);
	color: #0f1117;
}

/* Responsive */
@media (max-width: 640px) {
	.ractro-fs__inner {
		flex-direction: column;
		text-align: center;
		align-items: stretch;
	}
	.ractro-fs__timer {
		justify-content: center;
	}
	.ractro-fs__cta {
		text-align: center;
	}
}
