/* WPS Widgets — downloads counter (WP Pro Lab · https://wpprolab.com) */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/geist-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); }

/* Orbital glow (same engine as ASD Black Week FX) */
.asd-glow-host { position: relative; }
.asd-glow__core,
.asd-glow__bloom {
	position: absolute;
	pointer-events: none;
	border-radius: inherit;
	opacity: 0;
	transition: opacity .6s ease;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.asd-glow-ready > .asd-glow__core,
.asd-glow-ready > .asd-glow__bloom { opacity: 1; }
.asd-glow__core { z-index: 3; }
.asd-glow__bloom { z-index: 2; }

/* Counter */
.wpsw-cnt {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}
.wpsw-cnt--label-after { flex-direction: column-reverse; }
.wpsw-cnt--label-left { flex-direction: row; }
.wpsw-cnt--label-right { flex-direction: row-reverse; }
.wpsw-cnt__label { margin: 0; }
.wpsw-cnt__box {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 100%;
	box-sizing: border-box;
	font-family: "Geist", sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 45px;
	white-space: nowrap;
}
.wpsw-cnt--dark .wpsw-cnt__box { color: rgba(255, 255, 255, .74); }
.wpsw-cnt--light .wpsw-cnt__box { color: #161616; }
.wpsw-cnt--boxed .wpsw-cnt__box {
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 2px;
}
.wpsw-cnt--light.wpsw-cnt--boxed .wpsw-cnt__box { border-color: rgba(0, 0, 0, .14); }
.wpsw-cnt__line {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}
.wpsw-cnt__icon { position: relative; z-index: 1; display: inline-flex; line-height: 1; }
.wpsw-cnt__icon svg { width: 1em; height: 1em; fill: currentColor; }
.wpsw-cnt__num {
	display: inline-flex;
	align-items: center;
	font-variant-numeric: tabular-nums;
}
.wpsw-cnt__dg {
	position: relative;
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
}
.wpsw-cnt--cells .wpsw-cnt__dg { padding: 0 .12em; }
.wpsw-cnt__sizer { visibility: hidden; }
.wpsw-cnt__strip {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1100%;
	display: flex;
	flex-direction: column;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}
.wpsw-cnt--roll .wpsw-cnt__strip { transition: transform var(--wpsw-roll-ms, 700ms) cubic-bezier(.65, 0, .35, 1); }
.wpsw-cnt__strip.is-jump { transition: none !important; }
.wpsw-cnt__strip > span {
	flex: 0 0 calc(100% / 11);
	display: flex;
	align-items: center;
	justify-content: center;
}
.wpsw-cnt__sep { display: inline-block; }
.wpsw-cnt__pre,
.wpsw-cnt__suf { display: inline-block; }
.wpsw-cnt__num:empty::before { content: "0"; visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
	.wpsw-cnt--roll .wpsw-cnt__strip { transition: none; }
}

/* Most downloaded product */
.wpsw-top .wpsw-cnt__box { white-space: normal; }
.wpsw-top .wpsw-cnt__num { display: inline; }
.wpsw-top__t,
.wpsw-top__t:hover,
.wpsw-top__t:visited { color: inherit; text-decoration: none; transition: color .2s ease; }
.wpsw-top__t { display: inline-block; }
