/* ===== Referral-blok — Peptide Nederland =====
   Palet van het nieuwe designsysteem (inc/pnp-stijl.css).
   Waarden staan hard omdat --paars c.s. daar op .pnp-nieuw zijn gescoped,
   en dit blok ook op /my-account/ en de bedankpagina staat. */

.pnp-ref {
	position: relative;
	margin: 26px 0;
	padding: clamp(26px, 5vw, 40px) clamp(18px, 4vw, 36px);
	background: #fff;
	border: 1px solid #e6e0f2;
	border-radius: 20px;
	box-shadow: 0 2px 6px rgba(27, 19, 48, .05), 0 14px 38px rgba(27, 19, 48, .07);
	text-align: center;
	overflow: hidden;
}
.pnp-ref::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: linear-gradient(90deg, #2c1454 0%, #6134b0 46%, #a078e4 100%);
}

.pnp-ref__kop {
	margin: 0 0 10px;
	font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	font-weight: 900;
	font-size: clamp(22px, 4.6vw, 30px);
	line-height: 1.15;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: #1b1330;
}

.pnp-ref__uitleg {
	margin: 0 auto 22px;
	max-width: 46ch;
	font-family: "Sora", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: clamp(15px, 3.9vw, 17px);
	line-height: 1.65;
	color: #6d6486;
}
.pnp-ref__uitleg strong { color: #1b1330; font-weight: 600; }

.pnp-ref__code {
	display: block;
	width: -moz-max-content;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 18px;
	padding: 15px 28px;
	background: #f7f4fc;
	border: 2px dashed #a078e4;
	border-radius: 16px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: clamp(21px, 5vw, 28px);
	font-weight: 700;
	letter-spacing: .18em;
	color: #2c1454;
}

.pnp-ref__knop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	max-width: 320px;
	padding: 16px 26px;
	border: 0;
	border-radius: 999px;
	background: #6134b0;
	color: #fff;
	font-family: "Sora", "Inter", -apple-system, sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 10px 26px rgba(97, 52, 176, .28);
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.pnp-ref__knop:hover { background: #2c1454; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(44, 20, 84, .3); }
.pnp-ref__knop:active { transform: translateY(0); }
.pnp-ref__knop:focus-visible { outline: 2px solid #6134b0; outline-offset: 3px; }

.pnp-ref__klein {
	margin: 16px 0 0;
	font-family: "Sora", "Inter", sans-serif;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6d6486;
}

.pnp-ref--leeg .pnp-ref__uitleg { margin-bottom: 0; }

/* Binnen het nieuwe systeem staat het blok al op een wolk-achtergrond */
.pnp-nieuw .pnp-ref { margin: 0; }

@media (max-width: 600px) {
	.pnp-ref { border-radius: 16px; }
	.pnp-ref__code { letter-spacing: .12em; padding: 13px 20px; }
}

/* ===== Pagina /aanbrengen/ — paarse gradient over de hele pagina ===== */
.pnp-nieuw .band--ref {
	padding: clamp(84px, 18vw, 124px) 0 clamp(46px, 10vw, 76px);
}
.pnp-nieuw .band--ref .wrap + .wrap { margin-top: clamp(28px, 7vw, 52px); }

/* Het witte kaartje van de code steekt af tegen het paars */
.pnp-nieuw .band--ref .pnp-ref {
	box-shadow: 0 18px 50px rgba(15, 6, 35, .34);
	border-color: rgba(255, 255, 255, .18);
}

/* Koppen en labels op paars */
.pnp-nieuw .band--ref .label,
.pnp-nieuw .band--ref .sectie__kop .label { color: #d9c6f5; }
.pnp-nieuw .band--ref .kop,
.pnp-nieuw .band--ref .sectie__kop .kop { color: #fff; }
.pnp-nieuw .band--ref .lood { color: rgba(255, 255, 255, .82); }
.pnp-nieuw .band--ref .sectie__kop p { color: rgba(255, 255, 255, .72); margin: 0; }

/* Rij met feiten — responsive raster */
.pnp-nieuw .band--ref .rij {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(14px, 3vw, 22px);
}
.pnp-nieuw .band--ref .feit { color: #fff; }
.pnp-nieuw .band--ref .feit b {
	display: block;
	font-family: "Sora", "Inter", sans-serif;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.3;
	color: #fff;
	margin-bottom: 3px;
}
.pnp-nieuw .band--ref .feit span {
	display: block;
	font-family: "Sora", "Inter", sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .68);
}
.pnp-nieuw .band--ref .feit svg { width: 26px; height: 26px; color: #a078e4; }

/* Scheidingslijn tussen de twee rijen */
.pnp-nieuw .band--ref .streep {
	height: 1px;
	background: rgba(255, 255, 255, .16);
	margin: clamp(30px, 7vw, 50px) 0 0;
}

@media (max-width: 820px) {
	.pnp-nieuw .band--ref .rij { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
	.pnp-nieuw .band--ref .rij { grid-template-columns: 1fr; gap: 16px; }
	.pnp-nieuw .band--ref { padding: clamp(72px, 20vw, 96px) 0 40px; }
	.pnp-ref { padding: 22px 16px; }
	.pnp-ref__knop { max-width: 100%; }
}

/* Gradient tegen de header en tegen de footer aan — geen witte naden */
body.pnp-ref-pagina .site-content > .ast-container,
body.pnp-ref-pagina .site-main,
body.pnp-ref-pagina article.page,
body.pnp-ref-pagina .entry-content {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
body.pnp-ref-pagina .site-content > .ast-container {
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
