/* ==========================================================================
   Spretza — Rewards & Creators pages and account tabs.
   ========================================================================== */

.sp-prog-hero { padding-block: clamp(72px, 10vw, 140px); text-align: center; }
.sp-prog-hero__inner { max-width: 820px; }
.sp-prog-hero__title { margin: 0 0 .35em; font-size: calc(var(--sp-h1) * 1.05); line-height: 1; }
.sp-prog-hero__sub { max-width: 56ch; margin: 0 auto 1.6em; font-size: 1.12em; color: var(--sp-muted); }
.sp-bg-espresso .sp-prog-hero__sub { color: #D9CFC6; }
.sp-prog-hero__earn { display: inline-block; margin: 0 0 1.8em; padding: 9px 20px; border: 1px solid currentColor; border-radius: 100px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.sp-prog-hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0; }
.sp-bg-espresso .sp-prog-hero__title { color: #fff; }

.sp-programme .sp-section { padding-block: clamp(56px, 8vw, 104px); }
.sp-programme .sp-section-head { margin-bottom: clamp(32px, 4vw, 52px); }

/* Tiers */
.sp-tiers { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sp-tier { display: flex; flex-direction: column; padding: 30px 26px; background: var(--sp-surface); border: 1px solid var(--sp-border); border-top: 3px solid var(--sp-accent); border-radius: var(--sp-radius); }
.sp-tier--1 { border-top-color: #B07D55; }
.sp-tier--2 { border-top-color: #A8A8A8; }
.sp-tier--3 { border-top-color: #C9A24A; }
.sp-tier--4 { border-top-color: var(--sp-text); }
.sp-tier__name { margin: 0 0 4px; font-size: 32px; }
.sp-tier__req { margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--sp-border); font-size: 13.5px; color: var(--sp-muted); }
.sp-tier .sp-checklist { font-size: 14.5px; margin: 0; }

.sp-plugin-slot { padding: 0; }
.sp-plugin-slot--form form { display: grid; gap: 4px; }
.sp-plugin-slot--form p { margin: 0 0 14px; }

/* Account: rewards summary card */
.sp-points-card { display: grid; grid-template-columns: repeat(2, auto) 1fr; gap: 20px 48px; align-items: center; margin: 0 0 28px; padding: 30px 34px; background: var(--sp-text); color: #F7F1EB; border-radius: var(--sp-radius); }
.sp-points-card .sp-eyebrow { margin-bottom: 4px; color: var(--sp-nude); }
.sp-points-card__balance { margin: 0; font-family: var(--sp-font-heading); font-size: 60px; line-height: 1; font-weight: 500; color: #fff; }
.sp-points-card__tier { margin: 0; font-family: var(--sp-font-heading); font-size: 34px; line-height: 1.1; color: #fff; }
.sp-points-card__progress .sp-progress { background: rgba(255, 255, 255, .18); }
.sp-points-card__progress .sp-progress span { background: var(--sp-accent); }
.sp-points-card__note { margin: 10px 0 0; font-size: 13px; color: #D9CFC6; }

@media (max-width: 1023px) {
	.sp-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sp-points-card { grid-template-columns: 1fr 1fr; }
	.sp-points-card__progress { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.sp-prog-hero__title { font-size: var(--sp-h1); }
	.sp-tiers { grid-template-columns: 1fr; }
	.sp-points-card { padding: 24px 22px; gap: 16px 28px; }
	.sp-points-card__balance { font-size: 48px; }
	.sp-prog-hero__cta .sp-btn { flex: 1 1 100%; }
}
