.ll-loyalty-box,
.ll-loyalty-account-summary,
.ll-loyalty-shortcode {
	border: 1px solid rgba(22, 22, 22, 0.14);
	border-radius: 8px;
	margin: 0 0 24px;
	padding: 18px;
}

.ll-loyalty-box h3,
.ll-loyalty-shortcode h3,
.ll-loyalty-account-summary h2,
.ll-loyalty-account h2 {
	margin-top: 0;
}

.ll-loyalty-form {
	margin-top: 14px;
}

.ll-loyalty-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}

.ll-loyalty-form__row {
	align-items: stretch;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ll-loyalty-form__row input[type="number"] {
	max-width: 180px;
	min-height: 42px;
}

.ll-loyalty-remove-form {
	margin-top: 10px;
}

.ll-loyalty-redeem-widget {
	border: 1px solid rgba(22, 22, 22, 0.14);
	border-radius: 8px;
	margin: 0 0 24px;
	padding: 18px;
}

.ll-loyalty-redeem-widget__title {
	margin: 0 0 10px;
}

.ll-loyalty-redeem-widget__balance {
	margin: 0 0 14px;
}

.ll-loyalty-redeem-widget__choices {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ll-loyalty-redeem-widget__choice-form {
	margin: 0;
}

.ll-loyalty-redeem-widget__choice {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(22, 22, 22, 0.16);
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 86px;
	padding: 16px;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.ll-loyalty-redeem-widget__choice:hover,
.ll-loyalty-redeem-widget__choice:focus-visible {
	border-color: rgba(22, 22, 22, 0.34);
	box-shadow: 0 8px 24px rgba(22, 22, 22, 0.08);
}

.ll-loyalty-redeem-widget__choice.is-current {
	background: #f7f4ef;
	border-color: #1d7a4d;
}

.ll-loyalty-redeem-widget__choice-points {
	display: block;
	font-weight: 700;
	line-height: 1.2;
}

.ll-loyalty-redeem-widget__choice-discount {
	display: block;
	font-size: 0.92rem;
	line-height: 1.25;
}

.ll-loyalty-redeem-widget__choice-badge {
	background: #1d7a4d;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.75rem;
	line-height: 1;
	padding: 5px 8px;
}

.ll-loyalty-redeem-widget__remove-form {
	margin: 12px 0 0;
}

.ll-loyalty-redeem-widget__remove-button {
	background: transparent;
	border: 1px solid rgba(22, 22, 22, 0.18);
	border-radius: 6px;
	cursor: pointer;
	padding: 9px 14px;
}

@media (max-width: 767px) {
	.ll-loyalty-redeem-widget__choices {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.ll-loyalty-redeem-widget__choices {
		grid-template-columns: 1fr;
	}
}

.ll-loyalty-balance strong,
.ll-loyalty-positive {
	color: #1d7a4d;
}

.ll-loyalty-negative {
	color: #b13b3b;
}

.ll-loyalty-stat-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 0 0 20px;
}

.ll-loyalty-stat {
	background: #f7f4ef;
	border: 1px solid rgba(22, 22, 22, 0.08);
	border-radius: 8px;
	padding: 16px;
}

.ll-loyalty-stat span {
	display: block;
	font-size: 0.88rem;
	margin-bottom: 6px;
	opacity: 0.72;
}

.ll-loyalty-stat strong {
	display: block;
	font-size: 1.5rem;
	line-height: 1.2;
}

.ll-loyalty-intro,
.ll-loyalty-terms {
	margin: 20px 0;
}

.ll-loyalty-history td,
.ll-loyalty-history th {
	vertical-align: middle;
}
