/* ==========================================================================
   SPG Competitions & Giveaways UK
   Design tokens follow preview10/generated/style_guide.json
   ========================================================================== */

:root {
	--spg-primary: #1A6FD4;
	--spg-primary-light: #3A8FFF;
	--spg-primary-dark: #0D4FA0;
	--spg-accent: #00AEEF;
	--spg-accent-glow: #00C8FF;
	--spg-bg: #0A0E1A;
	--spg-surface: #111827;
	--spg-card: rgba(20, 30, 50, 0.90);
	--spg-nav-bg: rgba(12, 18, 32, 0.92);
	--spg-text: #FFFFFF;
	--spg-text-2: #B0BED4;
	--spg-text-muted: #6B7A99;
	--spg-border: rgba(26, 111, 212, 0.30);
	--spg-border-strong: rgba(0, 174, 239, 0.60);

	--spg-font-heading: 'Barlow Condensed', 'Anton', 'Impact', sans-serif;
	--spg-font-body: 'Barlow', 'Roboto Condensed', sans-serif;
	--spg-font-ui: 'Barlow Semi Condensed', 'Roboto', sans-serif;

	--spg-gradient: linear-gradient(135deg, #1A6FD4 0%, #00AEEF 100%);
	--spg-gradient-hover: linear-gradient(135deg, #3A8FFF 0%, #00C8FF 100%);
	--spg-gradient-deep: linear-gradient(135deg, #1A6FD4 0%, #0D4FA0 100%);

	--spg-glow: 0 0 20px rgba(26, 111, 212, 0.70), 0 0 40px rgba(0, 174, 239, 0.30);
	--spg-shadow-btn: 0 4px 20px rgba(26, 111, 212, 0.60), 0 2px 8px rgba(0, 0, 0, 0.40);
	--spg-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.60), 0 2px 8px rgba(0, 0, 0, 0.40);
	--spg-shadow-card-hover: 0 12px 40px rgba(26, 111, 212, 0.35), 0 4px 16px rgba(0, 0, 0, 0.50);

	--spg-max: 1320px;
	--spg-pad-x: 64px;
	--spg-section-y: 96px;
	--spg-radius-card: 10px;
	--spg-radius-btn: 6px;
	--spg-header-h: 76px;

	/* Feather-style line icons (MIT) used as CSS masks */
	--spg-i-award: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='7'/%3E%3Cpolyline points='8.21 13.89 7 23 12 20 17 23 15.79 13.88'/%3E%3C/svg%3E");
	--spg-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	--spg-i-file: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
	--spg-i-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E");
	--spg-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
	--spg-i-shuffle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 3 21 3 21 8'/%3E%3Cline x1='4' y1='20' x2='21' y2='3'/%3E%3Cpolyline points='21 16 21 21 16 21'/%3E%3Cline x1='15' y1='15' x2='21' y2='21'/%3E%3Cline x1='4' y1='4' x2='9' y2='9'/%3E%3C/svg%3E");
	--spg-i-user-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='8.5' cy='7' r='4'/%3E%3Cpolyline points='17 11 19 13 23 9'/%3E%3C/svg%3E");
	--spg-i-eye: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
	--spg-i-archive: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='21 8 21 21 3 21 3 8'/%3E%3Crect x='1' y='3' width='22' height='5'/%3E%3Cline x1='10' y1='12' x2='14' y2='12'/%3E%3C/svg%3E");
	--spg-i-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
	--spg-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
	--spg-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
	--spg-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--spg-header-h) + 32px);
}

body {
	background: var(--spg-bg);
	color: var(--spg-text);
	font-family: var(--spg-font-body);
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	padding: 0;
}

/* Inner pages (cart, checkout, account) use the parent templates, where the header sits in normal flow. */
.wp-site-blocks > header.wp-block-template-part:not(.spg-site-header) {
	padding: 16px 24px 24px;
}

.wp-site-blocks > *,
.spg-main > *,
.spg-main {
	margin-block: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.spg-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--spg-max);
	margin-inline: auto;
	padding-inline: var(--spg-pad-x);
}

.spg-section {
	position: relative;
	padding-block: var(--spg-section-y);
	/* Must stay visible so scroll-reveal fades are not clipped */
	overflow: visible;
}

/* Reset WordPress flow-layout spacing inside our sections; spacing is handled explicitly. */
.spg-main :where(.spg-section, .spg-hero, .spg-cta) :where(.is-layout-flow) > * {
	margin-block-start: 0;
}

/* ---------- Typography helpers ---------- */

.spg-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin: 0 0 18px !important;
	padding: 6px 14px;
	border-radius: 4px;
	background: var(--spg-primary);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	box-shadow: 0 0 18px rgba(26, 111, 212, 0.55);
}

.spg-badge--ghost {
	background: rgba(0, 174, 239, 0.10);
	border: 1px solid var(--spg-border-strong);
	color: var(--spg-accent-glow);
	box-shadow: none;
}

.spg-h2 {
	margin: 0 0 16px !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	color: #fff;
}

.spg-h2 em,
.spg-hero__title em {
	font-style: normal;
	background: var(--spg-gradient-hover);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: none;
	filter: drop-shadow(0 0 18px rgba(0, 174, 239, 0.35));
}

.spg-intro {
	max-width: 680px;
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 17px;
	line-height: 1.7;
}

.spg-section-head {
	margin-bottom: 56px;
}

.spg-section-head--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.spg-section-head--center .spg-intro {
	margin-inline: auto !important;
}

/* ---------- Buttons ---------- */

.spg-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px !important;
}

.spg-actions .wp-block-button__link,
.spg-actions a.spg-btn-primary,
.spg-actions a.spg-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 32px;
	border-radius: var(--spg-radius-btn);
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.spg-btn-primary .wp-block-button__link,
.spg-actions a.spg-btn-primary {
	background: var(--spg-gradient);
	color: #fff;
	border: 0;
	box-shadow: var(--spg-shadow-btn);
	animation: spg-pulse 3.2s ease-in-out infinite;
}

.spg-btn-primary .wp-block-button__link:hover,
.spg-btn-primary .wp-block-button__link:focus-visible,
.spg-actions a.spg-btn-primary:hover,
.spg-actions a.spg-btn-primary:focus-visible {
	background: var(--spg-gradient-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--spg-glow);
}

.spg-btn-outline .wp-block-button__link,
.spg-actions a.spg-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.70);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.40);
}

.spg-btn-outline .wp-block-button__link:hover,
.spg-btn-outline .wp-block-button__link:focus-visible,
.spg-actions a.spg-btn-outline:hover,
.spg-actions a.spg-btn-outline:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: #fff;
	color: #fff;
	transform: translateY(-2px);
}

@keyframes spg-pulse {
	0%, 100% { box-shadow: var(--spg-shadow-btn); }
	50% { box-shadow: 0 4px 28px rgba(0, 174, 239, 0.75), 0 2px 8px rgba(0, 0, 0, 0.40); }
}

/* ---------- Tick list ---------- */

.spg-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 28px 0 0 !important;
	padding: 0;
	list-style: none;
}

.spg-ticks li {
	position: relative;
	padding-left: 26px;
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
}

.spg-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.825em - 8px);
	width: 16px;
	height: 16px;
	background: var(--spg-primary-light);
	-webkit-mask: var(--spg-i-check) center / contain no-repeat;
	mask: var(--spg-i-check) center / contain no-repeat;
}

.spg-ticks--stack {
	flex-direction: column;
}

/* ---------- Header ---------- */

.spg-site-header {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 100;
	margin: 0 !important;
	padding-inline: 24px;
	pointer-events: none;
}

.admin-bar .spg-site-header {
	top: calc(32px + 16px);
}

@media (max-width: 782px) {
	.admin-bar .spg-site-header {
		top: calc(46px + 12px);
	}
}

.spg-header {
	max-width: var(--spg-max);
	margin: 0 auto;
	pointer-events: auto;
}

.spg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--spg-header-h);
	padding: 10px 14px 10px 22px;
	border: 1px solid var(--spg-border);
	border-radius: 12px;
	background: var(--spg-nav-bg);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.60);
	box-sizing: border-box;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.spg-header.is-scrolled .spg-header__inner {
	background: rgba(8, 12, 22, 0.97);
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 174, 239, 0.15);
}

.spg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #fff;
	text-decoration: none;
}

.spg-brand__logo {
	display: block;
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	filter: drop-shadow(0 0 12px rgba(0, 174, 239, 0.55));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.spg-brand:hover .spg-brand__logo {
	transform: rotate(-6deg) scale(1.05);
	filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.8));
}

.spg-brand__logo--lg {
	width: 76px;
	height: 76px;
}

.spg-brand__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	line-height: 1;
}

/* wpautop inside shortcode blocks injects <br> between the lines — kill them */
.spg-brand__text br {
	display: none !important;
}

.spg-brand__line1,
.spg-brand__line2 {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1;
}

.spg-brand__line1 {
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.spg-brand__line2 {
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--spg-accent);
}

.spg-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	flex: 1;
	justify-content: flex-end;
	min-width: 0;
}

.spg-nav__tools {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.spg-nav__list {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spg-nav__list a {
	position: relative;
	padding: 8px 0;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease;
}

.spg-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: var(--spg-gradient);
	box-shadow: 0 0 10px var(--spg-accent);
	transform: scaleX(0);
	transition: transform 0.25s ease;
}

.spg-nav__list a:hover,
.spg-nav__list a.is-active {
	color: var(--spg-primary-light);
}

.spg-nav__list a:hover::after,
.spg-nav__list a.is-active::after {
	transform: scaleX(1);
}

.spg-nav__cta {
	display: inline-flex;
	align-items: center;
	padding: 11px 22px;
	border: 1.5px solid var(--spg-primary-light);
	border-radius: var(--spg-radius-btn);
	background: var(--spg-gradient-deep);
	box-shadow: 0 0 18px rgba(26, 111, 212, 0.55);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.spg-nav__cta:hover,
.spg-nav__cta:focus-visible {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--spg-glow);
}

.spg-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.15);
	color: #fff;
	cursor: pointer;
}

.spg-nav-toggle__icon {
	display: block;
	width: 22px;
	height: 16px;
	fill: currentColor;
	overflow: visible;
}

.spg-nav-toggle__line {
	transform-origin: center;
}

/* ---------- Hero ---------- */

.spg-hero {
	position: relative;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
	padding: calc(var(--spg-header-h) + 72px) 0 88px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 60% 55% at 78% 45%, rgba(0, 174, 239, 0.22), transparent 70%),
		radial-gradient(ellipse 50% 60% at 10% 90%, rgba(26, 111, 212, 0.20), transparent 70%),
		radial-gradient(ellipse 40% 30% at 30% 20%, rgba(58, 143, 255, 0.10), transparent 70%),
		linear-gradient(180deg, #0B1222 0%, var(--spg-bg) 100%);
}

.spg-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(58, 143, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(58, 143, 255, 0.07) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
	pointer-events: none;
}

.spg-hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--spg-accent), transparent);
	box-shadow: 0 0 18px var(--spg-accent);
	opacity: 0.7;
}

.spg-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 55fr 45fr;
	align-items: center;
	gap: 48px;
}

.spg-hero__title {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(46px, 6.2vw, 84px);
	font-weight: 900;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.80);
}

.spg-hero__lead {
	max-width: 600px;
	margin: 24px 0 0 !important;
	color: #D4DEEC;
	font-size: 18px;
	line-height: 1.65;
}

.spg-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
}

.spg-hero__visual::before {
	content: "";
	position: absolute;
	width: min(110%, 560px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 174, 239, 0.35) 0%, rgba(26, 111, 212, 0.15) 45%, transparent 70%);
	filter: blur(10px);
	animation: spg-breathe 6s ease-in-out infinite;
}

.spg-emblem {
	position: relative;
	z-index: 1;
	width: min(100%, 500px);
	margin: 0 !important;
	filter: drop-shadow(0 0 34px rgba(0, 174, 239, 0.50)) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.65));
	animation: spg-float 7s ease-in-out infinite;
}

.spg-emblem img {
	display: block;
	width: 100%;
	height: auto;
}

/* Wide brand wordmarks (e.g. Wallace Dance Academy standard logo) */
.spg-hero__visual--wordmark::before {
	width: min(120%, 640px);
	aspect-ratio: 2.2 / 1;
	border-radius: 48%;
}

.spg-emblem--wordmark {
	width: min(100%, 560px);
}

/* Full-bleed photo hero with centred content (Wallace Dance Academy) */
.spg-hero--photo {
	background: var(--spg-bg);
}

.spg-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.spg-hero--photo::before {
	z-index: 1;
	background:
		radial-gradient(ellipse 60% 50% at 50% 45%, rgba(156, 0, 175, 0.22), transparent 75%),
		linear-gradient(180deg, rgba(10, 14, 26, 0.72) 0%, rgba(10, 14, 26, 0.62) 45%, var(--spg-bg) 100%);
	background-size: auto;
	-webkit-mask-image: none;
	mask-image: none;
}

.spg-hero--photo::after,
.spg-hero--photo .spg-container {
	z-index: 2;
}

.spg-hero--photo .spg-container {
	position: relative;
}

.spg-hero--biz .spg-hero__content.spg-hero__content--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 880px;
	margin-inline: auto;
	text-align: center;
}

.spg-hero__content--center .spg-hero__lead {
	margin-inline: auto !important;
}

.spg-hero__content--center .spg-actions {
	justify-content: center;
}

.spg-hero__wordmark {
	display: block;
	width: min(100%, 380px);
	height: auto;
	margin: 0 0 28px;
	filter: drop-shadow(0 0 28px rgba(156, 0, 175, 0.45)) drop-shadow(0 12px 30px rgba(0, 0, 0, 0.7));
}

.spg-brand-mark {
	margin: 0 0 24px !important;
	width: min(100%, 220px);
}

.spg-brand-mark img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 0 20px rgba(156, 0, 175, 0.35));
}

.spg-hero__chip {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: -34px auto 0;
	padding: 14px 20px;
	border: 1px solid var(--spg-border-strong);
	border-radius: var(--spg-radius-card);
	background: rgba(12, 18, 32, 0.92);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: var(--spg-shadow-card), 0 0 20px rgba(0, 174, 239, 0.25);
	text-align: center;
	animation: spg-float 5s ease-in-out infinite;
}

.spg-hero__chip-label,
.spg-hero__chip-value,
.spg-hero__chip-sub {
	display: block;
}

.spg-hero__chip-label {
	color: var(--spg-accent);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.spg-hero__chip-value {
	font-family: var(--spg-font-heading);
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.1;
}

@keyframes spg-breathe {
	0%, 100% { transform: scale(1); opacity: 0.9; }
	50% { transform: scale(1.06); opacity: 1; }
}

@keyframes spg-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

/* ---------- Cards (shared) ---------- */

.spg-grid {
	display: grid;
	gap: 24px;
}

.spg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.spg-grid--4 { grid-template-columns: repeat(4, 1fr); }

.spg-card {
	--spg-card-pad-y: 30px;
	position: relative;
	padding: var(--spg-card-pad-y) 26px 28px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	box-shadow: var(--spg-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spg-card:hover {
	transform: translateY(-4px);
	border-color: var(--spg-border-strong);
	box-shadow: var(--spg-shadow-card-hover);
}

.spg-card[class*="spg-i-"] {
	--spg-icon-box: 52px;
	--spg-icon-glyph: 26px;
	text-align: center;
}

/* Icon well — centered in the card */
.spg-card[class*="spg-i-"]::before {
	content: "";
	display: block;
	width: var(--spg-icon-box);
	height: var(--spg-icon-box);
	margin: 0 auto 20px;
	border-radius: 10px;
	background-color: rgba(26, 111, 212, 0.16);
	border: 1px solid var(--spg-border-strong);
	box-shadow: 0 0 16px rgba(0, 174, 239, 0.25);
}

/* Glyph overlays the same 52×52 well; mask centered inside it */
.spg-card[class*="spg-i-"]::after {
	content: "";
	position: absolute;
	top: var(--spg-card-pad-y, 30px);
	left: 50%;
	width: var(--spg-icon-box);
	height: var(--spg-icon-box);
	transform: translateX(-50%);
	background-color: var(--spg-accent-glow);
	-webkit-mask-image: var(--spg-icon);
	mask-image: var(--spg-icon);
	-webkit-mask-size: var(--spg-icon-glyph);
	mask-size: var(--spg-icon-glyph);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	pointer-events: none;
}

.spg-i-award { --spg-icon: var(--spg-i-award); }
.spg-i-calendar { --spg-icon: var(--spg-i-calendar); }
.spg-i-file { --spg-icon: var(--spg-i-file); }
.spg-i-tag { --spg-icon: var(--spg-i-tag); }
.spg-i-lock { --spg-icon: var(--spg-i-lock); }
.spg-i-shuffle { --spg-icon: var(--spg-i-shuffle); }
.spg-i-user-check { --spg-icon: var(--spg-i-user-check); }
.spg-i-eye { --spg-icon: var(--spg-i-eye); }
.spg-i-archive { --spg-icon: var(--spg-i-archive); }
.spg-i-card { --spg-icon: var(--spg-i-card); }
.spg-i-shield { --spg-icon: var(--spg-i-shield); }
.spg-i-mail { --spg-icon: var(--spg-i-mail); }

.spg-card h3 {
	margin: 0 0 10px !important;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.15;
	text-transform: uppercase;
	color: #fff;
}

.spg-card p {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Competitions ---------- */

.spg-competitions {
	background:
		linear-gradient(135deg, rgba(26, 111, 212, 0.06) 0%, transparent 60%),
		var(--spg-bg);
}

.spg-launch {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: center;
	gap: 48px;
	margin-bottom: 32px;
	padding: 48px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 60% 120% at 100% 0%, rgba(0, 174, 239, 0.18), transparent 60%),
		linear-gradient(135deg, rgba(26, 111, 212, 0.22) 0%, rgba(13, 79, 160, 0.10) 100%),
		var(--spg-surface);
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.20), var(--spg-shadow-card);
	overflow: hidden;
}

.spg-launch h3 {
	margin: 0 0 12px !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.spg-launch p:not(.spg-badge) {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 16px;
}

.spg-launch .spg-ticks {
	margin-top: 0 !important;
}

.spg-launch .spg-ticks li {
	color: #fff;
	font-size: 16px;
}

/* ---------- How it works ---------- */

.spg-how {
	background:
		radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0, 174, 239, 0.08), transparent 70%),
		var(--spg-surface);
}

.spg-steps {
	counter-reset: spg-step;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 56px 24px;
}

.spg-step {
	counter-increment: spg-step;
	position: relative;
	padding: 28px 22px 24px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	box-shadow: var(--spg-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spg-step:hover {
	transform: translateY(-4px);
	border-color: var(--spg-border-strong);
	box-shadow: var(--spg-shadow-card-hover);
}

.spg-step::before {
	content: counter(spg-step, decimal-leading-zero);
	position: absolute;
	top: -18px;
	left: 18px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--spg-gradient);
	border: 2px solid var(--spg-surface);
	box-shadow: 0 0 14px rgba(0, 174, 239, 0.45);
	font-family: var(--spg-font-heading);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	color: #fff;
	pointer-events: none;
}

/* Glowing connector to the next step in the same row */
.spg-step:not(:nth-child(4n))::after {
	content: "";
	position: absolute;
	top: 0;
	left: calc(18px + 36px + 8px);
	width: calc(100% - 18px - 36px - 8px + 18px + 18px - 8px);
	height: 2px;
	background: linear-gradient(90deg, var(--spg-accent), rgba(26, 111, 212, 0.15));
	box-shadow: 0 0 10px rgba(0, 174, 239, 0.6);
}

.spg-step:last-child::after {
	display: none;
}

.spg-step h3 {
	margin: 0 0 8px !important;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.12;
	text-transform: uppercase;
}

.spg-step p {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

/* ---------- Free entry ---------- */

.spg-free {
	background:
		radial-gradient(ellipse 50% 70% at 0% 50%, rgba(26, 111, 212, 0.14), transparent 70%),
		var(--spg-bg);
}

.spg-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
}

.spg-split .spg-intro + .spg-intro {
	margin-top: 16px !important;
}

.spg-compare {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding: 28px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(26, 111, 212, 0.18), rgba(17, 24, 39, 0.95) 60%);
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.18), var(--spg-shadow-card);
}

.spg-compare__col {
	padding: 22px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: rgba(10, 14, 26, 0.70);
}

.spg-compare__col h3 {
	margin: 0 0 14px !important;
	font-family: var(--spg-font-heading);
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-compare__col--free h3 {
	color: var(--spg-accent-glow);
	text-shadow: 0 0 14px rgba(0, 200, 255, 0.5);
}

.spg-compare__col .spg-ticks {
	margin-top: 0 !important;
}

.spg-compare__col .spg-ticks li {
	font-size: 14px;
}

.spg-compare__equal {
	grid-column: 1 / -1;
	margin: 4px 0 0 !important;
	padding: 14px 18px;
	border-radius: 8px;
	background: var(--spg-gradient);
	box-shadow: var(--spg-shadow-btn);
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

/* ---------- Fair play ---------- */

.spg-fair {
	background:
		linear-gradient(180deg, var(--spg-surface) 0%, var(--spg-bg) 100%);
}

/* ---------- Legal ---------- */

.spg-legal {
	background: var(--spg-bg);
}

.spg-legal__panel {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 56px;
	padding: 56px;
	border: 1px solid var(--spg-border);
	border-left: 4px solid var(--spg-accent);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 60% 80% at 0% 0%, rgba(26, 111, 212, 0.14), transparent 70%),
		var(--spg-surface);
	box-shadow: var(--spg-shadow-card);
}

.spg-legal__body p {
	margin: 0 0 16px !important;
	color: var(--spg-text-2);
	font-size: 16px;
	line-height: 1.75;
}

.spg-legal__body strong {
	color: #fff;
}

.spg-refs-title {
	margin: 28px 0 12px !important;
	font-family: var(--spg-font-ui);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--spg-accent) !important;
}

.spg-refs {
	display: grid;
	gap: 10px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.spg-refs li {
	margin: 0;
}

.spg-refs a {
	position: relative;
	display: block;
	padding: 14px 44px 14px 18px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.spg-refs a::after {
	content: "\2197";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--spg-accent);
	font-size: 16px;
}

.spg-refs a:hover,
.spg-refs a:focus-visible {
	border-color: var(--spg-border-strong);
	box-shadow: 0 0 18px rgba(0, 174, 239, 0.25);
	color: var(--spg-accent-glow);
}

/* ---------- CTA band (preview10 cta_v3) ---------- */

.spg-cta {
	position: relative;
	padding-block: 88px;
	background: linear-gradient(135deg, #1A6FD4 0%, #0D4FA0 100%);
	overflow: hidden;
}

.spg-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at center, rgba(0, 0, 0, 0.40) 0%, transparent 70%),
		rgba(0, 0, 0, 0.35);
}

.spg-cta .spg-container {
	position: relative;
	z-index: 1;
}

.spg-cta__banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	padding: 48px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.spg-cta .spg-badge {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.30);
	box-shadow: none;
}

.spg-cta .spg-h2 {
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.80);
}

.spg-cta .spg-intro {
	color: rgba(255, 255, 255, 0.9);
}

.spg-cta .spg-actions {
	flex-shrink: 0;
	margin-top: 0 !important;
}

.spg-cta .spg-btn-primary .wp-block-button__link,
.spg-cta a.spg-btn-primary {
	background: #fff;
	color: var(--spg-primary-dark);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
	animation: none;
}

.spg-cta .spg-btn-primary .wp-block-button__link:hover,
.spg-cta a.spg-btn-primary:hover {
	background: #EAF4FF;
	color: var(--spg-primary-dark);
}

/* ---------- Footer ---------- */

.spg-site-footer {
	margin: 0 !important;
}

.spg-footer {
	padding: 72px 0 32px;
	background: linear-gradient(180deg, #000000 0%, #0A0E1A 100%);
	border-top: 2px solid var(--spg-primary);
}

.spg-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 56px;
	margin-bottom: 48px;
}

.spg-footer__about {
	max-width: 460px;
	margin: 20px 0 0;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.7;
}

.spg-footer__heading {
	margin: 0 0 18px;
	font-family: var(--spg-font-heading);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.spg-footer__links {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--spg-text-2);
	font-size: 15px;
}

.spg-footer__links a {
	color: var(--spg-text-2);
	text-decoration: none;
	transition: color 0.2s ease;
}

.spg-footer__links a:hover {
	color: var(--spg-primary-light);
}

.spg-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(26, 111, 212, 0.20);
}

.spg-footer__bottom p {
	margin: 0;
	color: var(--spg-text-muted);
	font-size: 13px;
}

/* ---------- Reveal on scroll ---------- */

.spg-js .spg-reveal {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition:
		opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: opacity, transform;
}

.spg-js .spg-reveal.is-in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* Lazy images still loading when spg.js runs (data-spg-fade) fade in instead of popping in. */
img[data-spg-fade]:not(.is-loaded) { opacity: 0; }
img[data-spg-fade].is-loaded { animation: spg-img-in 0.5s ease both; }

@keyframes spg-img-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.spg-gallery__item,
.spg-feature { background: var(--spg-surface); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	img[data-spg-fade].is-loaded { animation: none; }
	.spg-js .spg-reveal {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
	.spg-btn-primary .wp-block-button__link,
	.spg-hero__visual::before,
	.spg-emblem,
	.spg-hero__chip { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.spg-nav,
	.spg-nav__list { gap: 20px; }
}

@media (max-width: 1024px) {
	:root {
		--spg-pad-x: 32px;
		--spg-section-y: 80px;
	}

	.spg-nav { display: none; }
	.spg-nav-toggle { order: 2; }

	.spg-hero__grid { grid-template-columns: 1fr; gap: 56px; }
	.spg-hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
	.spg-grid--4,
	.spg-steps { grid-template-columns: repeat(2, 1fr); }
	.spg-step:not(:nth-child(4n))::after { display: none; }
	.spg-step:nth-child(odd):not(:last-child)::after {
		display: block;
		width: calc(100% - 18px - 36px - 8px + 18px + 18px - 8px);
	}

	.spg-launch,
	.spg-split,
	.spg-legal__panel { grid-template-columns: 1fr; gap: 36px; }

	.spg-launch,
	.spg-legal__panel { padding: 36px; }

	.spg-cta__banner { flex-direction: column; align-items: flex-start; padding: 36px; gap: 28px; }

	.spg-footer__grid { grid-template-columns: 1fr 1fr; }
	.spg-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	:root {
		--spg-pad-x: 20px;
		--spg-section-y: 64px;
		--spg-header-h: 64px;
	}

	.spg-site-header { top: 10px; padding-inline: 10px; }
	.spg-header__inner { padding: 8px 8px 8px 12px; }
	.spg-brand__logo { width: 48px; height: 48px; }
	.spg-brand__logo--lg { width: 64px; height: 64px; }
	.spg-brand__line1 { font-size: 18px; }
	.spg-brand__line2 { font-size: 10px; letter-spacing: 0.12em; }

	.spg-hero { padding-top: calc(var(--spg-header-h) + 48px); padding-bottom: 64px; }
	.spg-hero__visual { max-width: 280px; }
	.spg-hero__wordmark { width: min(100%, 260px); margin-bottom: 20px; }
	.spg-hero__chip { padding: 8px 14px; margin-top: -26px; }
	.spg-hero__chip-value { font-size: 19px; }
	.spg-hero__lead { font-size: 16px; }

	.spg-actions .wp-block-button { width: 100%; }
	.spg-actions .wp-block-button__link { width: 100%; box-sizing: border-box; }

	.spg-grid--3,
	.spg-grid--4,
	.spg-steps,
	.spg-compare { grid-template-columns: 1fr; }

	.spg-steps { gap: 44px; }
	.spg-step::after,
	.spg-step:nth-child(odd):not(:last-child)::after { display: none !important; }

	.spg-section-head { margin-bottom: 40px; }

	.spg-launch,
	.spg-legal__panel,
	.spg-cta__banner { padding: 24px; }
	.spg-compare { padding: 16px; }

	.spg-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.spg-footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   Competitions
   ========================================================================== */

.spg-main p:empty { display: none; }

.spg-main--inner > .spg-section:first-child {
	padding-top: calc(var(--spg-header-h) + 72px);
}

a.spg-hero__chip {
	color: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

a.spg-hero__chip:hover,
a.spg-hero__chip:focus-visible {
	border-color: var(--spg-accent-glow);
	box-shadow: var(--spg-shadow-card), 0 0 28px rgba(0, 174, 239, 0.5);
}

.spg-hero__chip-sub {
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Prize artwork ---------- */

.spg-comp-art {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	color: #fff;
	text-align: center;
	text-decoration: none;
	isolation: isolate;
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(0, 200, 255, 0.35), transparent 70%),
		linear-gradient(135deg, #1A6FD4 0%, #0D4FA0 55%, #0A1A3A 100%);
}

.spg-comp-art--cyan {
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(255, 255, 255, 0.22), transparent 70%),
		linear-gradient(135deg, #00AEEF 0%, #1A6FD4 60%, #0D2F66 100%);
}

.spg-comp-art--deep {
	background:
		radial-gradient(ellipse 70% 60% at 50% 45%, rgba(58, 143, 255, 0.40), transparent 70%),
		linear-gradient(135deg, #0D4FA0 0%, #0B1D44 60%, #070B16 100%);
}

.spg-comp-art::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	-webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 80%);
	mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 20%, transparent 80%);
}

.spg-comp-art::after {
	content: "";
	position: absolute;
	right: -40px;
	bottom: -40px;
	z-index: -1;
	width: 180px;
	height: 180px;
	background: url("../img/spg-logo-160.webp") center / contain no-repeat;
	opacity: 0.16;
	transform: rotate(-12deg);
}

.spg-comp-art__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spg-comp-art__value {
	font-family: var(--spg-font-heading);
	font-size: clamp(54px, 6vw, 76px);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 200, 255, 0.35);
}

.spg-comp-art__kicker {
	margin-top: 8px;
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.spg-comp-status {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 5px 11px;
	border-radius: 4px;
	background: rgba(8, 12, 22, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
}

.spg-comp-status--open::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-right: 7px;
	border-radius: 50%;
	background: #2EE59D;
	box-shadow: 0 0 8px #2EE59D;
	vertical-align: 1px;
}

.spg-comp-status--soldout,
.spg-comp-status--closed {
	background: rgba(60, 20, 30, 0.85);
	border-color: rgba(255, 120, 140, 0.35);
}

/* ---------- Competition grid + card ---------- */

.spg-comp-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 32px;
}

.spg-comp {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--spg-border);
	border-radius: 12px;
	background: var(--spg-card);
	box-shadow: var(--spg-shadow-card);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.spg-comp:hover {
	transform: translateY(-4px);
	border-color: var(--spg-border-strong);
	box-shadow: var(--spg-shadow-card-hover);
}

.spg-comp__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 22px 22px 24px;
}

.spg-comp__title {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.spg-comp__title a {
	color: #fff;
	text-decoration: none;
}

.spg-comp__title a:hover { color: var(--spg-accent-glow); }

.spg-comp__excerpt {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.55;
}

.spg-comp__facts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin: 0;
}

.spg-comp__facts > div {
	padding: 10px 12px;
	border: 1px solid rgba(26, 111, 212, 0.22);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.55);
}

.spg-comp__facts dt {
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spg-comp__facts dd {
	margin: 2px 0 0;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 17px;
	font-weight: 700;
}

.spg-progress__track {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(176, 190, 212, 0.14);
}

.spg-progress__bar {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--spg-gradient);
	box-shadow: 0 0 12px rgba(0, 174, 239, 0.7);
}

.spg-progress__text {
	margin: 8px 0 0 !important;
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 600;
}

.spg-progress__text strong { color: #fff; }

.spg-comp__btn,
.spg-entry__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: auto;
	padding: 12px 24px;
	border: 0;
	border-radius: var(--spg-radius-btn);
	background: var(--spg-gradient);
	box-shadow: var(--spg-shadow-btn);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.spg-comp__btn:hover,
.spg-comp__btn:focus-visible,
.spg-entry__submit:hover,
.spg-entry__submit:focus-visible {
	background: var(--spg-gradient-hover);
	box-shadow: var(--spg-glow);
	color: #fff;
	transform: translateY(-2px);
}

.spg-comp--closed .spg-comp__btn,
.spg-comp--soldout .spg-comp__btn {
	background: transparent;
	border: 1px solid var(--spg-border-strong);
	box-shadow: none;
}

/* ---------- Single competition ---------- */

.spg-single {
	background:
		radial-gradient(ellipse 50% 50% at 20% 20%, rgba(0, 174, 239, 0.12), transparent 70%),
		linear-gradient(180deg, #0B1222 0%, var(--spg-bg) 40%);
}

.spg-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 600;
}

.spg-crumbs a {
	color: var(--spg-text-2);
	text-decoration: none;
}

.spg-crumbs a:hover { color: var(--spg-accent-glow); }

.spg-single__grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: start;
	gap: 48px;
}

.spg-single__media {
	position: sticky;
	top: calc(var(--spg-header-h) + 40px);
}

.spg-single__media .spg-comp-art {
	aspect-ratio: 1 / 1;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.30), var(--spg-shadow-card);
}

.spg-single__media .spg-comp-art__value { font-size: clamp(72px, 10vw, 128px); }
.spg-single__media .spg-comp-art__kicker { font-size: 18px; }
.spg-single__media .spg-comp-art::after { width: 280px; height: 280px; right: -60px; bottom: -60px; }

.spg-single__panel {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.spg-single__panel .spg-badge { margin-bottom: -6px !important; }

.spg-single__title {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(40px, 4.6vw, 60px);
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.spg-single__lead {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 18px;
	line-height: 1.6;
}

.spg-comp__facts--lg { grid-template-columns: repeat(3, 1fr); }

.spg-countdown {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.spg-countdown > div {
	padding: 12px 6px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(13, 79, 160, 0.20);
	text-align: center;
}

.spg-countdown strong {
	display: block;
	font-family: var(--spg-font-heading);
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.spg-countdown span {
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.spg-entry {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(26, 111, 212, 0.18) 0%, rgba(13, 79, 160, 0.06) 100%),
		var(--spg-surface);
	box-shadow: 0 0 30px rgba(26, 111, 212, 0.18);
}

.spg-entry__label {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}

.spg-entry__picks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}

.spg-entry__pick {
	min-height: 46px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.spg-entry__pick:hover { border-color: var(--spg-border-strong); }

.spg-entry__pick.is-active {
	border-color: var(--spg-accent);
	background: rgba(0, 174, 239, 0.18);
	box-shadow: 0 0 14px rgba(0, 174, 239, 0.4);
}

.spg-entry__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.spg-qty {
	display: inline-flex;
	overflow: hidden;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
}

.spg-qty__btn {
	width: 46px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
}

.spg-qty__btn:hover { background: rgba(26, 111, 212, 0.25); }

.spg-qty__input {
	width: 72px;
	height: 46px;
	border: 0;
	border-inline: 1px solid var(--spg-border);
	background: transparent;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
}

.spg-qty__input::-webkit-outer-spin-button,
.spg-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.spg-entry__total {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
}

.spg-entry__total strong {
	margin-left: 6px;
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 30px;
	font-weight: 800;
}

.spg-entry__submit {
	width: 100%;
	min-height: 56px;
	font-size: 16px;
	animation: spg-pulse 3.2s ease-in-out infinite;
}

.spg-entry__note {
	margin: 0 !important;
	color: var(--spg-text-muted);
	font-size: 13px;
	line-height: 1.55;
}

.spg-entry--closed .spg-comp__btn { align-self: flex-start; }

.spg-entry__question {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	margin: 0;
	padding: 0 0 18px;
	border: 0;
	border-bottom: 1px solid var(--spg-border);
}

.spg-entry__question legend {
	float: left;
	width: 100%;
	padding: 0;
	margin-bottom: 12px !important;
}

.spg-entry__ask {
	clear: both;
	margin: 0 !important;
	color: #fff;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.spg-entry__answers {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.spg-entry__answer {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
	color: #fff;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.spg-entry__answer:hover { border-color: var(--spg-border-strong); }

.spg-entry__answer input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--spg-accent);
}

.spg-entry__answer:has(input:checked) {
	border-color: var(--spg-accent);
	background: rgba(0, 174, 239, 0.18);
	box-shadow: 0 0 14px rgba(0, 174, 239, 0.4);
}

.spg-entry__answer:has(input:focus-visible) {
	outline: 2px solid var(--spg-accent);
	outline-offset: 2px;
}

.spg-entry__confirm {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--spg-text-2);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.spg-entry__confirm input {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--spg-accent);
}

.spg-entry__confirm a { color: var(--spg-accent-glow); }

.spg-single__age {
	margin: 12px 0 0 !important;
	color: var(--spg-text-muted);
	font-size: 13px;
	letter-spacing: 0.04em;
}

.spg-single__age a { color: var(--spg-text-2); }

.spg-single__address {
	padding: 12px 16px;
	border-left: 3px solid var(--spg-accent);
	background: rgba(0, 174, 239, 0.06);
	color: #fff;
	font-weight: 600;
	line-height: 1.6;
}

@media (max-width: 520px) {
	.spg-entry__answers { grid-template-columns: 1fr; }
}

.spg-single__free {
	display: block;
	padding: 16px 18px;
	border: 1px dashed var(--spg-border-strong);
	border-radius: 10px;
	color: var(--spg-text-2);
	font-size: 15px;
	text-decoration: none;
}

.spg-single__free strong { color: var(--spg-accent-glow); }
.spg-single__free:hover { background: rgba(0, 174, 239, 0.06); }

.spg-single__details {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 72px;
}

.spg-single__block {
	padding: 30px;
	border: 1px solid var(--spg-border);
	border-radius: 12px;
	background: var(--spg-card);
	color: var(--spg-text-2);
	font-size: 16px;
	line-height: 1.7;
	scroll-margin-top: calc(var(--spg-header-h) + 40px);
}

.spg-single__block--wide { grid-column: 1 / -1; }

.spg-single__block p { margin: 0 0 12px; }
.spg-single__block p:last-child { margin-bottom: 0; }
.spg-single__block .spg-ticks { margin-top: 0 !important; }

.spg-single__h2 {
	margin: 0 0 16px !important;
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-link {
	color: var(--spg-accent-glow);
	font-weight: 600;
}

/* ---------- Page notices ---------- */

.spg-notices:empty { display: none; }
.spg-notices { margin-bottom: 24px; }

/* ---------- Competitions: responsive ---------- */

@media (max-width: 1024px) {
	.spg-comp-grid { grid-template-columns: repeat(2, 1fr); }
	.spg-single__grid { grid-template-columns: 1fr; gap: 36px; }
	.spg-single__media { position: static; max-width: 560px; }
}

@media (max-width: 640px) {
	.spg-main--inner > .spg-section:first-child { padding-top: calc(var(--spg-header-h) + 48px); }
	.spg-comp-grid { grid-template-columns: 1fr; }
	.spg-comp__facts--lg { grid-template-columns: 1fr 1fr; }
	.spg-comp__facts--lg > div:last-child { grid-column: 1 / -1; }
	.spg-countdown strong { font-size: 26px; }
	.spg-entry { padding: 18px; }
	.spg-single__details { grid-template-columns: 1fr; margin-top: 48px; }
	.spg-single__block { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.spg-entry__submit { animation: none; }
}

/* ==========================================================================
   Group hub, drawer, forms, shop, stock
   ========================================================================== */

html.spg-drawer-open {
	overflow: hidden;
}

.spg-drawer-overlay[hidden],
.spg-drawer[hidden] {
	display: none !important;
}

.spg-drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(4, 8, 18, 0.72);
	backdrop-filter: blur(4px);
	pointer-events: auto;
}

.spg-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1010;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: min(420px, 100vw);
	height: 100%;
	height: 100dvh;
	padding: 28px 24px calc(40px + env(safe-area-inset-bottom, 0px));
	overscroll-behavior: contain;
	border-left: 1px solid var(--spg-border);
	background: linear-gradient(180deg, #0c1424 0%, #080e1a 100%);
	box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
	overflow: auto;
	transform: translateX(0);
	pointer-events: auto;
	animation: spg-drawer-in 0.28s ease;
}

@keyframes spg-drawer-in {
	from { transform: translateX(100%); }
	to { transform: translateX(0); }
}

.spg-drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.spg-drawer__eyebrow {
	margin: 0;
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--spg-accent);
}

.spg-drawer__close {
	width: 44px;
	height: 44px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.spg-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Current page's sections + CTA: only needed where the header hides them (≤1024px). */
.spg-drawer__page,
.spg-drawer__label--businesses { display: none; }

.spg-drawer__label {
	margin: 0 0 12px !important;
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.spg-drawer__sections {
	display: grid;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.spg-drawer__sections a {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding: 10px 16px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.08);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.spg-drawer__sections a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--spg-accent);
	border-right: 2px solid var(--spg-accent);
	transform: rotate(45deg);
}

.spg-drawer__sections a:hover,
.spg-drawer__sections a:focus-visible {
	border-color: var(--spg-border-strong);
	background: rgba(26, 111, 212, 0.18);
}

a.spg-btn-primary.spg-drawer__cta { width: 100%; }

@media (max-width: 1024px) {
	.spg-drawer__page {
		display: block;
		margin-bottom: 26px;
		padding-bottom: 26px;
		border-bottom: 1px solid var(--spg-border);
	}
	.spg-drawer__label--businesses { display: block; }
}

.spg-drawer__link {
	display: block;
	padding: 16px 4px;
	border-bottom: 1px solid rgba(26, 111, 212, 0.18);
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.spg-drawer__link:hover,
.spg-drawer__link:focus-visible {
	color: var(--spg-primary-light);
	padding-left: 8px;
}

.spg-drawer__link-title {
	display: block;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.spg-drawer__link-desc {
	display: block;
	margin-top: 4px;
	color: var(--spg-text-2);
	font-size: 14px;
	line-height: 1.45;
}

/* Standalone CTAs (anchor/button elements) — not WP block wrappers */
a.spg-btn-primary,
a.spg-btn-outline,
button.spg-btn-primary,
button.spg-btn-outline {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 26px;
	border-radius: var(--spg-radius-btn);
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.spg-btn-primary,
button.spg-btn-primary {
	border: 0;
	background: var(--spg-gradient);
	box-shadow: var(--spg-shadow-btn);
	color: #fff;
	cursor: pointer;
}

a.spg-btn-outline,
button.spg-btn-outline {
	border: 1.5px solid var(--spg-border-strong);
	background: transparent;
	color: #fff;
}

a.spg-btn-primary:hover,
a.spg-btn-outline:hover,
button.spg-btn-primary:hover,
button.spg-btn-outline:hover {
	transform: translateY(-1px);
	color: #fff;
}

/* WP button blocks: style only the inner link, never the wrapper */
.wp-block-button.spg-btn-primary,
.wp-block-button.spg-btn-outline {
	display: inline-block;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
	transform: none;
}

.spg-hero--group,
.spg-hero--biz {
	min-height: 100vh;
	min-height: 100svh;
	min-height: 100dvh;
}

.spg-hero--biz .spg-hero__content,
.spg-hero--group .spg-hero__content {
	text-align: left;
	justify-self: start;
}

.spg-hero--biz .spg-hero__visual .spg-emblem,
.spg-hero--group .spg-hero__visual .spg-emblem {
	width: min(100%, 460px);
}

.spg-hero--biz .spg-hero__visual .spg-emblem--wordmark,
.spg-hero--group .spg-hero__visual .spg-emblem--wordmark {
	width: min(100%, 560px);
}
.spg-section--alt {
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.65), transparent);
}

.spg-section--inner-top {
	padding-top: calc(var(--spg-header-h) + 96px);
}

.spg-biz-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 36px;
	align-items: center;
	justify-items: center;
}

.spg-biz-logo {
	position: relative;
	display: grid;
	place-items: center;
	width: min(100%, 280px);
	aspect-ratio: 1 / 1;
	text-decoration: none;
	isolation: isolate;
	transition: transform 0.3s ease;
}

.spg-biz-logo::before {
	content: "";
	position: absolute;
	inset: 8%;
	z-index: 0;
	border-radius: 50%;
	background: radial-gradient(
		circle at 50% 50%,
		rgba(0, 174, 239, 0.35) 0%,
		rgba(26, 111, 212, 0.18) 42%,
		transparent 72%
	);
	filter: blur(10px);
	opacity: 0.85;
	transform: scale(0.92);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.spg-biz-logo img {
	position: relative;
	z-index: 1;
	display: block;
	width: 88%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.spg-biz-logo:hover,
.spg-biz-logo:focus-visible {
	transform: translateY(-6px);
}

.spg-biz-logo:hover::before,
.spg-biz-logo:focus-visible::before {
	opacity: 1;
	transform: scale(1.05);
}

.spg-biz-logo:hover img,
.spg-biz-logo:focus-visible img {
	filter: drop-shadow(0 14px 36px rgba(0, 174, 239, 0.35));
	transform: scale(1.03);
}

.spg-biz-logo:focus-visible {
	outline: 2px solid var(--spg-accent);
	outline-offset: 8px;
	border-radius: 50%;
}

.spg-values,
.spg-card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.spg-values { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.spg-card__title {
	margin: 0 0 10px;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.spg-card > p { margin: 0; color: var(--spg-text-2); line-height: 1.6; }

.spg-split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.spg-cta__banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 40px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 14px;
	background:
		radial-gradient(ellipse 50% 80% at 90% 20%, rgba(0, 174, 239, 0.18), transparent 60%),
		rgba(17, 24, 39, 0.9);
}

.spg-table-wrap { overflow-x: auto; }

.spg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.spg-table th,
.spg-table td {
	padding: 14px 16px;
	border-bottom: 1px solid rgba(26, 111, 212, 0.22);
	text-align: left;
}

.spg-table th {
	font-family: var(--spg-font-ui);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--spg-accent);
}

.spg-table td:last-child { font-weight: 600; }

/* Price columns stay on one line; text columns (e.g. the classes table) must wrap. */
.spg-table:not(.spg-table--stack) td:last-child { white-space: nowrap; }

/* Phones: each row of a stacking table becomes its own small card. */
@media (max-width: 640px) {
	.spg-table--stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.spg-table--stack,
	.spg-table--stack tbody,
	.spg-table--stack tr,
	.spg-table--stack td { display: block; width: 100%; box-sizing: border-box; }
	.spg-table--stack tr {
		margin-bottom: 12px;
		padding: 14px 16px;
		border: 1px solid var(--spg-border);
		border-radius: var(--spg-radius-card);
		background: var(--spg-card);
	}
	.spg-table--stack td {
		padding: 4px 0;
		border: 0;
		font-weight: 400;
	}
	.spg-table--stack td:first-child {
		padding-bottom: 8px;
		font-family: var(--spg-font-heading);
		font-size: 22px;
		font-weight: 800;
		text-transform: uppercase;
	}
	.spg-table--stack td:not(:first-child)::before {
		content: attr(data-label);
		display: block;
		color: var(--spg-accent);
		font-family: var(--spg-font-ui);
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}
}

.spg-form-wrap { max-width: 560px; }

.spg-form__notice {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 8px;
	font-size: 15px;
}

.spg-form__notice--ok {
	border: 1px solid rgba(0, 200, 120, 0.45);
	background: rgba(0, 160, 90, 0.15);
}

.spg-form__notice--err {
	border: 1px solid rgba(255, 80, 80, 0.45);
	background: rgba(180, 40, 40, 0.18);
}

.spg-form__hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.spg-form__row {
	margin: 0 0 16px;
}

.spg-form__row label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.spg-req { color: var(--spg-accent-glow); }

.spg-form__row input,
.spg-form__row select,
.spg-form__row textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(8, 12, 22, 0.85);
	color: #fff;
	font: inherit;
}

.spg-form__row input:focus,
.spg-form__row select:focus,
.spg-form__row textarea:focus {
	outline: none;
	border-color: var(--spg-accent);
	box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.spg-form__hint {
	display: block;
	margin-top: 6px;
	color: var(--spg-text-muted);
	font-size: 12px;
}

.spg-form__actions { margin-top: 22px; }

/* ---------- Wallace membership terms + registration ---------- */

.spg-wda-terms { max-width: 880px; }

.spg-wda-pin { max-width: 560px; }
.spg-wda-pin .spg-form-wrap { margin-top: 32px; }

.spg-wda-terms__body {
	margin-top: 48px;
	padding: 40px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	scroll-margin-top: calc(var(--spg-header-h) + 40px);
}

.spg-wda-terms__body h2 {
	margin: 0 0 8px;
	font-family: var(--spg-font-heading);
	font-size: 28px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-wda-terms__body h3 {
	margin: 30px 0 10px;
	color: var(--spg-accent-glow);
	font-family: var(--spg-font-heading);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.spg-wda-terms__body p {
	margin: 0 0 12px;
	color: var(--spg-text-2);
	line-height: 1.7;
}

.spg-wda-terms__body a,
.spg-wda-form a { color: var(--spg-accent-glow); }

#register { scroll-margin-top: var(--spg-header-h); }

.spg-fieldset {
	min-width: 0;
	margin: 0 0 20px;
	padding: 22px 24px 8px;
	border: 1px solid var(--spg-border);
	border-radius: 12px;
	background: rgba(10, 14, 26, 0.55);
}

.spg-fieldset legend {
	padding: 0 8px;
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.spg-optional {
	margin-left: 8px;
	padding: 2px 8px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 999px;
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	letter-spacing: 0.08em;
	vertical-align: middle;
}

.spg-fieldset__pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.spg-fieldset__note {
	margin: 0 0 14px;
	color: var(--spg-text-muted);
	font-size: 14px;
	line-height: 1.55;
}

.spg-check {
	display: grid;
	grid-template-columns: 20px 1fr;
	gap: 6px 12px;
	padding: 14px 0;
	border-top: 1px solid rgba(26, 111, 212, 0.18);
}

.spg-fieldset legend + .spg-check { border-top: 0; padding-top: 4px; }

.spg-check input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--spg-accent);
	cursor: pointer;
}

.spg-check label {
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.55;
	cursor: pointer;
}

.spg-form__error {
	display: block;
	grid-column: 2;
	margin-top: 6px;
	color: #ff9a9a;
	font-size: 13px;
	font-weight: 600;
}

.spg-form__row.has-error input { border-color: #ff6b6b; }

.spg-perms { margin-bottom: 14px; }

.spg-perms__head,
.spg-perms__row {
	display: grid;
	grid-template-columns: 1fr 76px 76px;
	align-items: center;
	gap: 12px;
}

.spg-perms__head {
	padding: 0 0 8px;
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.spg-perms__head span:not(:first-child) { text-align: center; }

.spg-perms__row {
	padding: 12px 0;
	border-top: 1px solid rgba(26, 111, 212, 0.18);
}

.spg-perms__label {
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.5;
}

.spg-perms__opt {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.spg-perms__opt input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--spg-accent);
}

.spg-perms__opt span {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.spg-perms__opt:has(input:checked) {
	border-color: var(--spg-accent);
	background: rgba(0, 174, 239, 0.16);
}

.spg-perms__opt:has(input:focus-visible) {
	outline: 2px solid var(--spg-accent);
	outline-offset: 2px;
}

.spg-wda-form .spg-form__row input[readonly] { color: var(--spg-text-2); }

.spg-wda-students { display: flex; flex-direction: column; gap: 16px; margin: 8px 0 20px; }

.spg-wda-student__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 4px;
}

.spg-wda-student__title {
	margin: 0;
	padding: 0;
	font-family: var(--spg-font-heading);
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-wda-student__remove {
	padding: 0;
	border: 0;
	background: none;
	color: var(--spg-accent-glow);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: underline;
}

.spg-form__actions--inline { margin-top: 0; margin-bottom: 24px; }

@media (max-width: 640px) {
	.spg-wda-terms__body { padding: 24px 20px; }
	.spg-fieldset { padding: 18px 16px 4px; }
	.spg-fieldset__pair { grid-template-columns: 1fr; }
	.spg-perms__head { display: none; }
	.spg-perms__row { grid-template-columns: 1fr 1fr; }
	.spg-perms__label { grid-column: 1 / -1; }
	.spg-perms__opt span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}

.spg-shop__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.spg-shop__filter {
	padding: 10px 16px;
	border: 1px solid var(--spg-border);
	border-radius: 6px;
	background: transparent;
	color: var(--spg-text-2);
	font-family: var(--spg-font-ui);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.spg-shop__filter.is-active,
.spg-shop__filter:hover {
	border-color: var(--spg-border-strong);
	color: #fff;
	background: rgba(26, 111, 212, 0.2);
}

.spg-shop__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.spg-shop__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
	overflow: hidden;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.spg-shop__card:hover { border-color: var(--spg-border-strong); transform: translateY(-2px); }
.spg-shop__card.is-out { opacity: 0.75; }

.spg-shop__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #e9ebee;
}

.spg-shop__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spg-shop__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 200px;
	background:
		radial-gradient(circle at 50% 40%, rgba(0, 174, 239, 0.22), transparent 60%),
		linear-gradient(160deg, #111a2e, #0a0e1a);
	color: rgba(255, 255, 255, 0.55);
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spg-shop__flag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 4px;
	background: var(--spg-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spg-shop__card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	padding: 20px;
}

.spg-shop__name a { color: inherit; text-decoration: none; }
.spg-shop__name a:hover { color: var(--spg-accent-glow); }

.spg-price__was { margin-right: 6px; color: var(--spg-text-muted); font-weight: 500; }
.spg-price__now { color: #fff; }

.spg-shop__add,
.spg-shop__view {
	box-sizing: border-box;
	width: 100%;
	margin-top: auto;
	padding-inline: 16px;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
}

.spg-shop__view { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.spg-shop__add:disabled { opacity: 0.55; cursor: not-allowed; }

/* Product page */
.spg-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	margin-top: 24px;
	align-items: start;
}

.spg-product__main {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: #e9ebee;
}

.spg-product__main img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.spg-product__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}

.spg-product__thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	overflow: hidden;
	border: 2px solid var(--spg-border);
	border-radius: 8px;
	background: none;
	cursor: pointer;
}

.spg-product__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spg-product__thumb.is-active { border-color: var(--spg-accent); }

.spg-product__title {
	margin: 0 0 10px;
	font-family: var(--spg-font-heading);
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.spg-product__price { margin: 0 0 18px; font-size: 26px; font-weight: 700; }

.spg-product__buy {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: stretch;
	margin: 24px 0;
}

.spg-product__buy .spg-shop__add { width: auto; flex: 1; min-height: 48px; }

.spg-product__options { margin: 20px 0; }

.spg-product__option {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.spg-product__option-label {
	margin: 0 0 8px;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--spg-text-muted);
}

.spg-product__picks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.spg-product__pick {
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: rgba(10, 14, 26, 0.6);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.spg-product__pick:hover:not(:disabled) { border-color: var(--spg-accent); background: rgba(26, 111, 212, 0.2); }
.spg-product__pick.is-active { border-color: var(--spg-accent); background: rgba(26, 111, 212, 0.35); }
.spg-product__pick:disabled,
.spg-product__pick.is-unavailable { opacity: 0.4; cursor: not-allowed; }

.spg-product__stock { margin: 24px 0; color: var(--spg-text-2); }
.spg-product__desc { margin-top: 28px; }

/* Basket */
.spg-basket-toggle {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 999px;
	background: #0d1426;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

.spg-basket-toggle.has-items { background: var(--spg-gradient); border-color: transparent; }

.spg-basket-toggle__count {
	display: inline-grid;
	min-width: 24px;
	height: 24px;
	place-items: center;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: var(--spg-primary-dark);
	font-size: 13px;
}

.spg-basket-overlay {
	position: fixed;
	inset: 0;
	z-index: 998;
	background: rgba(3, 6, 14, 0.6);
}

.spg-basket {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	width: min(100%, 420px);
	border-left: 1px solid var(--spg-border-strong);
	background: #0b1120;
	box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
	transform: translateX(100%);
	transition: transform 0.25s ease;
}

.spg-basket[hidden],
.spg-basket-overlay[hidden] { display: none; }
.spg-basket.is-open { transform: none; }
.spg-basket:focus { outline: none; }
html.spg-basket-open { overflow: hidden; }

.spg-basket__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 22px;
	border-bottom: 1px solid var(--spg-border);
}

.spg-basket__head h2 {
	margin: 0;
	font-family: var(--spg-font-heading);
	font-size: 24px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-basket__close {
	width: 40px;
	height: 40px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.spg-basket__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.spg-basket__empty { color: var(--spg-text-2); }

.spg-basket__items { margin: 0; padding: 0; list-style: none; }

.spg-basket__item {
	display: grid;
	grid-template-columns: 56px 1fr auto;
	gap: 12px;
	padding: 14px 0;
	border-bottom: 1px solid var(--spg-border);
}

.spg-basket__thumb {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	background: #1a2338;
	object-fit: cover;
}

.spg-basket__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; color: var(--spg-text-2); }
.spg-basket__info a { color: #fff; font-weight: 700; text-decoration: none; }

.spg-basket__variant {
	display: block;
	font-size: 13px;
	line-height: 1.35;
	color: var(--spg-text-muted);
}

.spg-basket__qty {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 4px;
}

.spg-basket__qty button {
	width: 30px;
	height: 30px;
	border: 1px solid var(--spg-border);
	border-radius: 6px;
	background: none;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
}

.spg-basket__qty span { min-width: 18px; color: #fff; font-weight: 700; text-align: center; }

.spg-basket__remove {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: none;
	color: var(--spg-text-muted);
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.spg-basket__line { color: #fff; }

.spg-basket__delivery {
	margin: 18px 0 0;
	padding: 0;
	border: 0;
}

.spg-basket__delivery legend {
	margin-bottom: 8px;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spg-basket__delivery label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	padding: 10px 12px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	cursor: pointer;
}

.spg-basket__delivery label:has(input:checked) { border-color: var(--spg-accent); background: rgba(0, 174, 239, 0.12); }
.spg-basket__delivery input { accent-color: var(--spg-accent); }
.spg-basket__delivery small { display: block; color: var(--spg-text-muted); }

.spg-basket__totals { margin: 16px 0 0; }

.spg-basket__totals div {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	color: var(--spg-text-2);
}

.spg-basket__totals dt,
.spg-basket__totals dd { margin: 0; }
.spg-basket__total { border-top: 1px solid var(--spg-border); margin-top: 6px; padding-top: 10px !important; color: #fff !important; font-size: 18px; font-weight: 700; }

.spg-basket__error {
	margin: 14px 0 0;
	padding: 10px 12px;
	border: 1px solid rgba(255, 80, 80, 0.45);
	border-radius: 8px;
	background: rgba(180, 40, 40, 0.18);
	font-size: 14px;
}

.spg-basket__foot { padding: 18px 22px 22px; border-top: 1px solid var(--spg-border); }
.spg-basket__checkout { width: 100%; min-height: 52px; }
.spg-basket__checkout:disabled { opacity: 0.55; cursor: not-allowed; }
.spg-basket__note { margin: 10px 0 0; color: var(--spg-text-muted); font-size: 13px; text-align: center; }

/* Customer order page */
.spg-order { max-width: 820px; }

.spg-order__panel {
	margin-top: 32px;
	padding: 28px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
}

.spg-order__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
	margin: 0 0 24px;
}

.spg-order__facts dt { color: var(--spg-text-muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.spg-order__facts dd { margin: 4px 0 0; color: #fff; font-weight: 700; }

.spg-order__status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(0, 174, 239, 0.16);
	color: var(--spg-accent-glow);
}

.spg-order__status--pending { background: rgba(255, 190, 60, 0.16); color: #ffd27a; }
.spg-order__status--cancelled,
.spg-order__status--refunded,
.spg-order__status--abandoned { background: rgba(255, 90, 90, 0.16); color: #ff9a9a; }

.spg-order__items tfoot th { text-align: right; }
.spg-order__items small { color: var(--spg-text-muted); }
.spg-order__h2 { margin: 28px 0 10px; font-family: var(--spg-font-heading); font-size: 22px; text-transform: uppercase; }
.spg-order__comp { margin: 0 0 8px; color: var(--spg-text-2); font-weight: 700; }

.spg-order__numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.spg-order__numbers li {
	min-width: 56px;
	padding: 8px 12px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.18);
	color: #fff;
	font-family: var(--spg-font-heading);
	font-size: 20px;
	font-weight: 800;
	text-align: center;
}

.spg-order__help { margin-top: 20px; color: var(--spg-text-2); }

@media (max-width: 900px) {
	.spg-product__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
	.spg-basket-toggle { right: 12px; bottom: 12px; }
	.spg-order__panel { padding: 20px; }
}

.spg-shop__cat {
	margin: 0 0 8px;
	color: var(--spg-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spg-shop__name {
	margin: 0 0 8px;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-shop__price {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 600;
}

.spg-stock__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.spg-stock__card {
	overflow: hidden;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
}

.spg-stock__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--spg-surface);
}

.spg-stock__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.spg-stock__card:hover .spg-stock__media img { transform: scale(1.04); }

.spg-stock__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--spg-text-muted);
	font-family: var(--spg-font-heading);
	font-size: 26px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-stock__flag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 12px;
	border-radius: 4px;
	background: var(--spg-primary);
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spg-stock__flag--reserved { background: #b7791f; }
.spg-stock__flag--sold { background: #9b2c2c; }
.spg-stock__card--sold .spg-stock__media img { filter: grayscale(0.6); }

.spg-stock__body { padding: 20px; }

.spg-stock__specs {
	margin: 0 0 10px;
	color: var(--spg-text-2);
	font-size: 14px;
	font-weight: 600;
}

.spg-stock__excerpt {
	margin: 0 0 14px;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

.spg-stock__more {
	color: var(--spg-accent-glow);
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.spg-stock__more:hover,
.spg-stock__more:focus-visible { text-decoration: underline; }

/* Vehicle page (reuses the product page layout) */
.spg-vehicle .spg-product__main { aspect-ratio: 4 / 3; background: var(--spg-surface); }
.spg-vehicle__status--reserved { background: #b7791f; }
.spg-vehicle__status--sold { background: #9b2c2c; }

.spg-vehicle__specs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0 0 22px;
}

.spg-vehicle__specs div {
	padding: 12px 14px;
	border: 1px solid var(--spg-border);
	border-radius: 8px;
	background: var(--spg-card);
}

.spg-vehicle__specs dt {
	color: var(--spg-text-muted);
	font-family: var(--spg-font-ui);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spg-vehicle__specs dd {
	margin: 2px 0 0;
	font-size: 17px;
	font-weight: 700;
}

.spg-vehicle .spg-actions { margin-bottom: 8px !important; }

.spg-stock__status {
	margin: 0 0 6px;
	color: var(--spg-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.spg-stock__title {
	margin: 0 0 8px;
	font-family: var(--spg-font-heading);
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
}

.spg-stock__title a { color: inherit; text-decoration: none; }

.spg-stock__price { margin: 0 0 10px; font-weight: 700; }

.spg-stock__empty {
	display: grid;
	grid-template-columns: minmax(0, 220px) 1fr;
	gap: 28px;
	align-items: center;
	padding: 24px;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: var(--spg-card);
}

/* The caravan emblem is round, so it's shown whole at logo size, never cropped. */
.spg-stock__empty img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.spg-stock__empty p { margin: 0; }

.spg-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.spg-gallery__item {
	margin: 0;
	overflow: hidden;
	border-radius: var(--spg-radius-card);
	border: 1px solid var(--spg-border);
}

.spg-gallery__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.spg-work {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 280px;
	gap: 16px;
}

.spg-work--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 340px;
	margin-top: 32px;
}

.spg-work__item {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--spg-border);
	border-radius: var(--spg-radius-card);
	background: #e9ebee;
}

.spg-work__item.is-wide { grid-column: span 2; }

.spg-work__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.spg-work__item:hover img { transform: scale(1.04); }

.spg-work__item figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 28px 16px 12px;
	background: linear-gradient(180deg, transparent, rgba(5, 8, 16, 0.88));
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.spg-feature {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--spg-border-strong);
	border-radius: var(--spg-radius-card);
	box-shadow: 0 0 40px rgba(26, 111, 212, 0.18);
}

.spg-feature img {
	display: block;
	width: 100%;
	height: auto;
}

.spg-wda-logo {
	display: block;
	width: min(240px, 70%);
	height: auto;
	margin-bottom: 18px;
	filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.spg-reviews {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.spg-review {
	margin: 0;
}

.spg-quote {
	margin: 0;
	font-size: 18px;
	line-height: 1.45;
	font-style: italic;
	color: #fff;
}

.spg-quote__meta {
	display: block;
	margin: 12px 0 0;
	color: var(--spg-accent-glow);
	font-weight: 700;
	font-size: 14px;
}

.spg-sitemap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.spg-footer__bottom a { color: var(--spg-accent-glow); }

.spg-footer__pill,
.spg-footer__admin {
	display: inline-block;
	margin-left: 10px;
	padding: 2px 10px;
	border: 1px solid var(--spg-border);
	border-radius: 4px;
	color: var(--spg-text-muted) !important;
	font-size: 12px;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.spg-footer__pill + .spg-footer__pill,
.spg-footer__pill + .spg-footer__admin { margin-left: 6px; }

.spg-footer__pill:hover,
.spg-footer__pill:focus-visible,
.spg-footer__admin:hover { border-color: var(--spg-border-strong); color: #fff !important; }

/* ---------- Cookie pop-up ---------- */

.spg-cookies[hidden] { display: none !important; }

.spg-cookies {
	position: fixed;
	left: 24px;
	bottom: 24px;
	z-index: 1200;
	width: min(calc(100% - 48px), 440px);
	padding: 24px 24px 22px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 70% 60% at 0% 0%, rgba(26, 111, 212, 0.18), transparent 70%),
		#0b1120;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 36px rgba(26, 111, 212, 0.25);
	color: var(--spg-text);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.spg-cookies.is-in {
	opacity: 1;
	transform: none;
}

.spg-cookies .spg-badge { margin: 0 0 12px !important; }

.spg-cookies__text {
	margin: 0 !important;
	color: var(--spg-text-2);
	font-size: 15px;
	line-height: 1.6;
}

.spg-cookies__actions {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.spg-cookies__btn {
	display: inline-flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	border: 2px solid rgba(255, 255, 255, 0.70);
	border-radius: var(--spg-radius-btn);
	background: transparent;
	color: #fff;
	font-family: var(--spg-font-ui);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.10em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.spg-cookies__btn:hover,
.spg-cookies__btn:focus-visible {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
}

.spg-cookies__btn--primary {
	border: 0;
	background: var(--spg-gradient);
	box-shadow: var(--spg-shadow-btn);
}

.spg-cookies__btn--primary:hover,
.spg-cookies__btn--primary:focus-visible {
	background: var(--spg-gradient-hover);
	box-shadow: var(--spg-glow);
}

@media (max-width: 640px) {
	.spg-cookies {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spg-cookies,
	.spg-cookies__btn { transition: none; }
}

/* ---------- Legal modals (footer Terms / Privacy) ---------- */

.spg-modal {
	width: min(calc(100% - 32px), 820px);
	max-width: none;
	max-height: min(88vh, 920px);
	margin: auto;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--spg-border-strong);
	border-radius: 16px;
	background:
		radial-gradient(ellipse 60% 50% at 0% 0%, rgba(26, 111, 212, 0.16), transparent 70%),
		#0b1120;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(26, 111, 212, 0.25);
	color: var(--spg-text);
}

.spg-modal[open] {
	display: flex;
	flex-direction: column;
	animation: spg-modal-in 0.25s ease;
}

.spg-modal::backdrop {
	background: rgba(4, 8, 18, 0.72);
	backdrop-filter: blur(4px);
}

@keyframes spg-modal-in {
	from { opacity: 0; transform: translateY(16px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

html.spg-modal-open { overflow: hidden; }

.spg-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 24px 28px 20px;
	border-bottom: 1px solid var(--spg-border);
}

.spg-modal__head .spg-badge { margin: 0 0 10px !important; }

.spg-modal__title {
	margin: 0 !important;
	font-family: var(--spg-font-heading);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
}

.spg-modal__close {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--spg-border-strong);
	border-radius: 8px;
	background: rgba(26, 111, 212, 0.12);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
}

.spg-modal__close:hover,
.spg-modal__close:focus-visible { background: rgba(26, 111, 212, 0.32); }

.spg-modal__body {
	flex: 1;
	min-height: 0;
	padding: 8px 28px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* The page's own wrapper, badge and title are replaced by the modal header. */
.spg-modal__body .spg-section { padding: 0 !important; background: none; }
.spg-modal__body .spg-container { max-width: none; padding: 0; }
.spg-modal__body .spg-badge,
.spg-modal__body h1 { display: none; }

.spg-modal__body .spg-intro {
	margin: 18px 0 4px !important;
	color: #D4DEEC;
	font-size: 16px;
}

.spg-modal__body h2 {
	margin: 28px 0 10px !important;
	color: var(--spg-accent-glow);
	font-family: var(--spg-font-heading);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
}

.spg-modal__body p,
.spg-modal__body li {
	color: var(--spg-text-2);
	line-height: 1.7;
}

.spg-modal__body p { margin: 0 0 12px !important; }
.spg-modal__body ul { margin: 0 0 14px !important; padding-left: 20px; }
.spg-modal__body li + li { margin-top: 6px; }
.spg-modal__body a { color: var(--spg-accent-glow); }

.spg-modal__foot {
	padding: 16px 28px 22px;
	border-top: 1px solid var(--spg-border);
}

.spg-modal__foot .spg-actions { margin-top: 0 !important; }

@media (max-width: 640px) {
	.spg-modal { width: calc(100% - 20px); max-height: 92vh; }
	.spg-modal__head,
	.spg-modal__foot { padding-inline: 20px; }
	.spg-modal__body { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
	.spg-modal[open] { animation: none; }
}

@media (max-width: 1024px) {
	.spg-biz-grid,
	.spg-card-grid,
	.spg-shop__grid,
	.spg-stock__grid,
	.spg-gallery { grid-template-columns: repeat(2, 1fr); }
	.spg-work { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
	.spg-work--pair { grid-auto-rows: 260px; }
	.spg-steps { grid-template-columns: repeat(2, 1fr); }
	.spg-split,
	.spg-stock__empty,
	.spg-sitemap { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.spg-biz-grid,
	.spg-card-grid,
	.spg-shop__grid,
	.spg-stock__grid,
	.spg-gallery,
	.spg-steps { grid-template-columns: 1fr; }
	.spg-work,
	.spg-work--pair { grid-template-columns: 1fr; grid-auto-rows: 240px; }
	.spg-work__item.is-wide { grid-column: auto; }
	.spg-nav__cta { padding: 11px 14px; font-size: 11px; }
	.spg-cta__banner { padding: 28px 22px; }

	/* Header: logo + business name on the left, menu button on the right. */
	.spg-header__inner { gap: 10px; }
	.spg-brand { gap: 10px; min-width: 0; }
	.spg-brand__logo { width: 44px; height: 44px; }
	.spg-brand__text { min-width: 0; overflow: hidden; }
	.spg-brand__line1,
	.spg-brand__line2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.spg-brand__line1 { font-size: 17px; }
	.spg-brand__line2 { margin-top: 2px; font-size: 9px; }
	.spg-nav__tools { gap: 8px; }
	.spg-nav-toggle { width: 44px; height: 44px; }
}

/* Small phones: the header CTA moves into the menu (first button) so the name has room. */
@media (max-width: 480px) {
	.spg-nav__cta { display: none; }
}

/* Tablets and phones: the "no stock yet" emblem stays a small logo beside the text. */
@media (max-width: 1024px) {
	.spg-stock__empty { grid-template-columns: 120px 1fr; gap: 20px; padding: 20px; }
}

@media (max-width: 480px) {
	.spg-stock__empty { grid-template-columns: 72px 1fr; gap: 16px; padding: 16px; }
}

/* Phones: studio photos shown small and whole – two per row, an odd last one centred. */
@media (max-width: 640px) {
	.spg-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.spg-gallery__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		justify-self: center;
		width: calc(50% - 5px);
	}
	.spg-gallery__item img {
		height: auto;
		aspect-ratio: auto;
		object-fit: contain;
	}
}
