.homelux-pallet-meter {
	margin: 24px 0;
}

.homelux-pallet-meter__inner {
	position: relative;
	overflow: hidden;
	display: grid;
	gap: 22px;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	background:
		radial-gradient(circle at 82% 25%, rgba(224, 20, 20, 0.3), transparent 34%),
		linear-gradient(135deg, #15181c 0%, #1f252b 100%);
	color: #ffffff;
	box-shadow: 0 20px 44px rgba(21, 24, 28, 0.14);
}

.homelux-pallet-meter.is-homelux-pallet-refreshing .homelux-pallet-meter__inner {
	filter: saturate(0.94);
	opacity: 0.9;
	transition: opacity 0.18s ease, filter 0.18s ease;
}

.homelux-pallet-meter__header strong {
	display: block;
	font-size: clamp(22px, 2vw, 30px);
	line-height: 1.1;
	font-weight: 950;
	letter-spacing: 0;
}

.homelux-pallet-meter__header span,
.homelux-pallet-meter__summary span {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-weight: 800;
}

.homelux-pallet-meter__summary strong {
	display: block;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.1;
	font-weight: 950;
}

.homelux-pallet-meter__list {
	display: grid;
	gap: 14px;
}

.homelux-pallet-meter__compact {
	display: grid;
	gap: 14px;
}

.homelux-pallet-meter__full {
	display: grid;
	grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
}

.homelux-pallet-meter__full-count {
	display: grid;
	align-content: center;
	min-width: 96px;
	min-height: 64px;
	padding: 10px 14px;
	border-radius: 14px;
	background: linear-gradient(135deg, #ed1111 0%, #ff7a1a 100%);
	box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(237, 17, 17, 0.16);
	color: #ffffff;
	text-align: left;
}

.homelux-pallet-meter__full .homelux-pallet-meter__full-count strong {
	color: #ffffff;
	font-size: 28px;
	font-weight: 950;
	line-height: 0.95;
}

.homelux-pallet-meter__full .homelux-pallet-meter__full-count span {
	margin-top: 5px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.15;
}

.homelux-pallet-meter__full strong {
	display: block;
	color: #ffffff;
	font-size: 16px;
	font-weight: 950;
	line-height: 1.2;
}

.homelux-pallet-meter__full span {
	display: block;
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	font-weight: 800;
}

.homelux-pallet-meter__pallet {
	display: grid;
	gap: 10px;
}

.homelux-pallet-meter__pallet-head,
.homelux-pallet-meter__meta {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 13px;
	font-weight: 850;
}

.homelux-pallet-meter__pallet-head strong {
	color: #ffffff;
	font-size: 18px;
	font-weight: 950;
}

.homelux-pallet-meter__bar {
	position: relative;
	overflow: hidden;
	height: 104px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 18px, rgba(255, 255, 255, 0.02) 18px 36px),
		rgba(255, 255, 255, 0.04);
}

.homelux-pallet-meter__bar span {
	position: absolute;
	inset: 10px auto 10px 10px;
	display: block;
	min-width: 10px;
	max-width: calc(100% - 20px);
	border-radius: 10px;
	background: linear-gradient(90deg, #ed1111 0%, #ff6b00 100%);
	box-shadow: 0 12px 30px rgba(237, 17, 17, 0.25);
	transition: width 0.35s ease;
}

.homelux-pallet-meter__checks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
}

.homelux-pallet-meter__checks span {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
}

.homelux-pallet-meter__checks span::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #ed1111;
}

.homelux-pallet-meter__message {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	line-height: 1.45;
}

.homelux-pallet-meter__note {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 12px;
}

.homelux-pallet-meter__empty,
.homelux-pallet-meter__loading,
.homelux-pallet-meter__error {
	margin: 0;
	padding: 18px;
	border-radius: 14px;
	background: #15181c;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
	font-weight: 800;
}

.homelux-pallet-meter__error {
	background: #fff1f1;
	color: #b80000;
}

@media (max-width: 720px) {
	.homelux-pallet-meter__inner {
		padding: 22px;
		border-radius: 18px;
	}

	.homelux-pallet-meter__bar {
		height: 82px;
	}

	.homelux-pallet-meter__pallet-head,
	.homelux-pallet-meter__meta {
		flex-direction: column;
		gap: 4px;
	}

	.homelux-pallet-meter__full {
		grid-template-columns: 1fr;
	}
}
