/* Royal Ink Countdown Timer */

.ric-wrap {
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border-radius: 4px;
}

.ric-wrap.ric-has-bg {
	background-color: #1a1a1a;
}

.ric-overlay {
	position: absolute;
	inset: 0;
	background: #000;
	opacity: var(--ric-overlay, 0.55);
	z-index: 1;
}

.ric-inner {
	position: relative;
	z-index: 2;
	padding: 40px 20px;
	text-align: center;
}

.ric-wrap:not(.ric-has-bg) .ric-inner {
	padding: 24px 20px;
}

.ric-title {
	color: var(--ric-text, #fff);
	font-size: clamp(20px, 3vw, 30px);
	font-weight: 700;
	margin: 0 0 24px;
	letter-spacing: 0.5px;
}

.ric-units {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 4vw, 44px);
	flex-wrap: nowrap;
}

.ric-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 60px;
}

.ric-num {
	color: var(--ric-text, #fff);
	font-size: clamp(38px, 8vw, 66px);
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -1px;
}

.ric-lbl {
	color: var(--ric-label, #c9c9c9);
	font-size: clamp(10px, 1.6vw, 13px);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 10px;
}

.ric-sep {
	width: 1px;
	align-self: stretch;
	min-height: 60px;
	background: currentColor;
	color: var(--ric-label, #c9c9c9);
	opacity: 0.4;
}

.ric-subtitle {
	color: var(--ric-label, #c9c9c9);
	font-size: 15px;
	margin: 24px 0 0;
}

/* Expired state */
.ric-wrap.ric-expired .ric-units {
	display: none;
}

.ric-expired-msg {
	position: relative;
	z-index: 2;
	color: var(--ric-text, #fff);
	font-size: clamp(20px, 3vw, 28px);
	font-weight: 700;
	text-align: center;
	padding: 8px 0;
}

/* Small screens: allow wrapping if very narrow */
@media (max-width: 400px) {
	.ric-units { gap: 10px; }
	.ric-sep { min-height: 44px; }
	.ric-lbl { letter-spacing: 1px; }
}
