/*
 * AE Private Label: verpakkingsconfigurator.
 *
 * Alle kleuren, lettertypes en afrondingen zijn afgeleid van de --ibizz-*-variabelen van het thema
 * (Website-instellingen). Neutrale vlakken en lijnen worden gemengd uit kop- en achtergrondkleur.
 */

.ae-pl {
	--ae-ink: var(--ibizz-color-heading, #1d1d1f);
	--ae-text: var(--ibizz-color-text, #3a3a3c);
	--ae-bg: var(--ibizz-color-bg, #fff);
	--ae-muted: color-mix(in srgb, var(--ae-text) 60%, var(--ae-bg));
	--ae-surface: color-mix(in srgb, var(--ae-ink) 4%, var(--ae-bg));
	--ae-surface-2: color-mix(in srgb, var(--ae-ink) 7.5%, var(--ae-bg));
	--ae-hairline: color-mix(in srgb, var(--ae-ink) 11%, var(--ae-bg));
	--ae-hairline-strong: color-mix(in srgb, var(--ae-ink) 22%, var(--ae-bg));
	--ae-focus: var(--ibizz-accent-ink, var(--ae-ink));
	--ae-r-sm: calc(var(--ibizz-radius-card, 6px) + 4px);
	--ae-r-md: calc(var(--ibizz-radius-card, 6px) + 8px);
	--ae-r-lg: calc(var(--ibizz-radius-card, 6px) + 14px);
	--ae-r-xl: calc(var(--ibizz-radius-card, 6px) + 24px);
	--ae-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--ae-fast: 180ms;
	color: var(--ae-text);
	-webkit-font-smoothing: antialiased;
}

.ae-pl [hidden] {
	display: none !important;
}

.ae-pl :focus-visible {
	outline: 2px solid var(--ae-focus);
	outline-offset: 3px;
}

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

.ae-pl-hero {
	max-width: 46rem;
	margin: 0 auto;
	padding: clamp(1.5rem, 1rem + 3vw, 4rem) 0 clamp(2rem, 1rem + 3vw, 3.5rem);
	text-align: center;
}

.ae-pl-eyebrow {
	margin: 0 0 0.75rem;
	color: var(--ae-focus);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.ae-pl-title {
	margin: 0;
	color: var(--ae-ink);
	font-family: var(--ibizz-font-heading, inherit);
	font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);
	font-weight: var(--ibizz-heading-weight, 700);
	line-height: 1.04;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.ae-pl-title span {
	color: var(--ae-muted);
}

.ae-pl-lead {
	max-width: 36rem;
	margin: 1.25rem auto 0;
	color: var(--ae-muted);
	font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.3125rem);
	line-height: 1.45;
	text-wrap: pretty;
}

/* Configurator: podium en paneel -------------------------------------------- */

.ae-pl-config {
	display: grid;
	gap: 2.5rem;
	align-items: start;
}

@media (min-width: 960px) {
	.ae-pl-config {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		gap: clamp(2.5rem, 1rem + 3vw, 4.5rem);
	}

	.ae-pl-stage-col {
		position: sticky;
		top: calc(var(--ibizz-header-height, 4.5rem) + 1.5rem);
	}
}

.ae-pl-stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--ae-r-xl);
	background:
		radial-gradient(120% 90% at 50% 38%, var(--ae-bg) 0%, var(--ae-surface) 58%, var(--ae-surface-2) 100%);
}

.ae-pl-view {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 5%;
	animation: ae-pl-fade 420ms var(--ae-ease);
}

.ae-pl-canvas,
.ae-pl-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ae-pl-canvas {
	opacity: 0;
	filter: drop-shadow(0 28px 32px rgb(0 0 0 / 0.1)) drop-shadow(0 4px 8px rgb(0 0 0 / 0.06));
	transition: opacity 500ms var(--ae-ease);
}

.ae-pl.is-ready .ae-pl-canvas {
	opacity: 1;
}

.ae-pl-photo {
	border-radius: var(--ae-r-lg);
}

@keyframes ae-pl-fade {
	from {
		opacity: 0;
	}
}

/* Voortgang tijdens de AI-foto: een dunne, rustige balk onderaan het podium. */
.ae-pl-progress {
	position: absolute;
	right: 12%;
	bottom: 7%;
	left: 12%;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: var(--ae-hairline);
}

.ae-pl-progress span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 35%;
	border-radius: inherit;
	background: var(--ae-ink);
	animation: ae-pl-progress 1.6s var(--ae-ease) infinite;
}

@keyframes ae-pl-progress {
	from {
		transform: translateX(-100%);
	}
	to {
		transform: translateX(290%);
	}
}

.ae-pl-stage-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
}

.ae-pl-fineprint {
	margin: 0.9rem 0 0;
	color: var(--ae-muted);
	font-size: 0.8125rem;
	text-align: center;
}

/* Gesegmenteerde keuze (weergave, kleurrol). */
.ae-pl-segmented {
	display: inline-flex;
	gap: 2px;
	padding: 3px;
	border-radius: 999px;
	background: var(--ae-surface-2);
}

.ae-pl-segmented button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.25rem;
	padding: 0 1rem;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ae-muted);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--ae-fast) var(--ae-ease), color var(--ae-fast) var(--ae-ease), box-shadow var(--ae-fast) var(--ae-ease);
}

.ae-pl-segmented button:hover:not(:disabled) {
	color: var(--ae-ink);
}

.ae-pl-segmented button[aria-pressed="true"] {
	background: var(--ae-bg);
	color: var(--ae-ink);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 2px 8px rgb(0 0 0 / 0.04);
}

.ae-pl-segmented button:disabled {
	opacity: 0.4;
	cursor: default;
}

.ae-pl-textbutton {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.2rem;
	border: 0;
	background: none;
	color: var(--ae-ink);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
}

.ae-pl-textbutton:hover {
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

/* Paneel met stappen -------------------------------------------------------- */

.ae-pl-section {
	padding: 2rem 0;
	border-top: 1px solid var(--ae-hairline);
}

.ae-pl-section:first-child {
	padding-top: 0;
	border-top: 0;
}

.ae-pl-h {
	margin: 0 0 1.25rem;
	color: var(--ae-ink);
	font-family: var(--ibizz-font-heading, inherit);
	font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.625rem);
	font-weight: var(--ibizz-heading-weight, 700);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ae-pl-h span {
	color: var(--ae-muted);
}

.ae-pl-help,
.ae-pl-msg {
	margin: 0.6rem 0 0;
	color: var(--ae-muted);
	font-size: 0.875rem;
	line-height: 1.45;
}

.ae-pl-msg:empty {
	display: none;
}

/* Logo: sleepvlak. */
.ae-pl-drop {
	position: relative;
	display: block;
	border: 1px dashed var(--ae-hairline-strong);
	border-radius: var(--ae-r-lg);
	background: var(--ae-surface);
	cursor: pointer;
	transition: border-color var(--ae-fast) var(--ae-ease), background var(--ae-fast) var(--ae-ease);
}

.ae-pl-drop:hover,
.ae-pl-drop.is-dragging {
	border-color: var(--ae-ink);
	background: var(--ae-surface-2);
}

.ae-pl-drop:focus-within {
	outline: 2px solid var(--ae-focus);
	outline-offset: 3px;
}

.ae-pl-drop input {
	position: absolute;
	inset: 0;
	width: 100%;
	opacity: 0;
	cursor: pointer;
}

.ae-pl-drop__empty {
	display: grid;
	justify-items: center;
	gap: 0.3rem;
	padding: 1.75rem 1rem;
	text-align: center;
}

.ae-pl-drop__empty svg {
	margin-bottom: 0.35rem;
	color: var(--ae-ink);
}

.ae-pl-drop__title {
	color: var(--ae-ink);
	font-weight: 600;
}

.ae-pl-drop__hint {
	color: var(--ae-muted);
	font-size: 0.875rem;
}

.ae-pl-drop.has-file {
	border-style: solid;
	border-color: var(--ae-hairline);
	background: var(--ae-bg);
}

.ae-pl-drop__file {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 1rem 0.75rem 0.75rem;
}

.ae-pl-drop__thumb {
	display: grid;
	flex: none;
	place-items: center;
	width: 4.5rem;
	height: 3rem;
	border-radius: var(--ae-r-sm);
	background: repeating-conic-gradient(var(--ae-surface-2) 0% 25%, var(--ae-bg) 0% 50%) 50% / 10px 10px;
}

.ae-pl-drop__thumb img {
	max-width: 85%;
	max-height: 80%;
}

.ae-pl-drop__name {
	overflow: hidden;
	flex: 1;
	color: var(--ae-ink);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ae-pl-drop__replace {
	color: var(--ae-focus);
	font-size: 0.875rem;
	font-weight: 600;
}

.ae-pl-more {
	margin-top: 1rem;
}

.ae-pl-more summary {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--ae-ink);
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.ae-pl-more summary::-webkit-details-marker {
	display: none;
}

.ae-pl-more summary::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	margin-left: 0.15rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-0.15em);
	transition: transform var(--ae-fast) var(--ae-ease);
}

.ae-pl-more[open] summary::after {
	transform: rotate(-135deg) translateY(-0.05em);
}

.ae-pl-more .ae-pl-input {
	margin-top: 0.75rem;
}

/* Invoervelden. */
.ae-pl-input {
	width: 100%;
	min-height: 3rem;
	padding: 0.65rem 0.95rem;
	border: 1px solid var(--ae-hairline-strong);
	border-radius: var(--ae-r-md);
	background: var(--ae-bg);
	color: var(--ae-ink);
	font: inherit;
	font-size: 1rem;
	transition: border-color var(--ae-fast) var(--ae-ease), box-shadow var(--ae-fast) var(--ae-ease);
}

.ae-pl-input::placeholder {
	color: var(--ae-muted);
}

.ae-pl-input:focus {
	border-color: var(--ae-focus);
	outline: none;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ae-focus) 18%, transparent);
}

textarea.ae-pl-input {
	min-height: 7rem;
	resize: vertical;
}

.ae-pl-field-count {
	position: relative;
}

.ae-pl-field-count .ae-pl-input {
	padding-right: 4rem;
}

.ae-pl-count {
	position: absolute;
	top: 50%;
	right: 1rem;
	color: var(--ae-muted);
	font-size: 0.8125rem;
	font-variant-numeric: tabular-nums;
	transform: translateY(-50%);
}

/* Kleur: rollen en stalen. */
.ae-pl-roles {
	display: flex;
	width: 100%;
}

.ae-pl-roles button {
	flex: 1;
}

.ae-pl-dot {
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 50%;
	background: var(--ae-pl-dot, transparent);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
}

.ae-pl-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.ae-pl-swatch {
	position: relative;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ae-pl-swatch, var(--ae-bg));
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
	cursor: pointer;
	transition: box-shadow var(--ae-fast) var(--ae-ease), transform var(--ae-fast) var(--ae-ease);
}

.ae-pl-swatch:hover {
	transform: scale(1.06);
}

.ae-pl-swatch[aria-pressed="true"],
.ae-pl-swatch--custom.is-active {
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12), 0 0 0 2px var(--ae-bg), 0 0 0 4px var(--ae-ink);
}

.ae-pl-swatch--custom {
	overflow: hidden;
	background: conic-gradient(from 90deg, #ff3b30, #ff9500, #ffcc00, #34c759, #00c7be, #007aff, #5856d6, #af52de, #ff3b30);
}

.ae-pl-swatch--custom.is-active {
	background: var(--ae-pl-swatch);
}

.ae-pl-swatch--custom span {
	display: grid;
	place-items: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--ae-bg);
	color: var(--ae-ink);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1;
	pointer-events: none;
}

.ae-pl-swatch--custom input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.ae-pl-swatch:has(input:focus-visible) {
	outline: 2px solid var(--ae-focus);
	outline-offset: 3px;
}

/* Hexcode invoeren. */
.ae-pl-hexrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-top: 1.25rem;
}

.ae-pl-hexrow .ae-pl-help {
	margin: 0;
}

.ae-pl-hexfield {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.ae-pl-hexfield__label {
	color: var(--ae-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.ae-pl-hexfield__control {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.ae-pl-hexfield__swatch {
	position: absolute;
	left: 0.7rem;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	background: var(--ae-pl-swatch, transparent);
	box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.14);
	pointer-events: none;
}

.ae-pl-hexinput {
	width: 8.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.8rem 0.5rem 2.4rem;
	border: 1px solid var(--ae-hairline-strong);
	border-radius: var(--ae-r-md);
	background: var(--ae-bg);
	color: var(--ae-ink);
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.9375rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition: border-color var(--ae-fast) var(--ae-ease), box-shadow var(--ae-fast) var(--ae-ease);
}

.ae-pl-hexinput:focus {
	border-color: var(--ae-focus);
	outline: none;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ae-focus) 18%, transparent);
}

.ae-pl-hexinput[aria-invalid="true"] {
	border-color: color-mix(in srgb, #d70015 70%, var(--ae-hairline-strong));
}

/* Tegels voor opmaak en patroon. */
.ae-pl-tiles {
	display: grid;
	gap: 0.75rem;
}

.ae-pl-tiles--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ae-pl-tiles--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 420px) {
	.ae-pl-tiles--5 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.ae-pl-tile {
	position: relative;
	cursor: pointer;
}

.ae-pl-tile input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ae-pl-tile__inner {
	display: grid;
	gap: 0.15rem;
	height: 100%;
	padding: 0.75rem;
	border-radius: var(--ae-r-lg);
	background: var(--ae-bg);
	box-shadow: inset 0 0 0 1px var(--ae-hairline);
	transition: box-shadow var(--ae-fast) var(--ae-ease);
}

.ae-pl-tile:hover .ae-pl-tile__inner {
	box-shadow: inset 0 0 0 1px var(--ae-hairline-strong);
}

.ae-pl-tile input:checked + .ae-pl-tile__inner {
	box-shadow: inset 0 0 0 2px var(--ae-ink);
}

.ae-pl-tile input:focus-visible + .ae-pl-tile__inner {
	outline: 2px solid var(--ae-focus);
	outline-offset: 3px;
}

.ae-pl-thumb {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 0.6rem;
	border-radius: var(--ae-r-sm);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 4px 12px rgb(0 0 0 / 0.06);
}

.ae-pl-thumb--round {
	width: 72%;
	margin: 0.15rem auto 0.55rem;
	border-radius: 50%;
}

.ae-pl-tile__name {
	color: var(--ae-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

.ae-pl-tile--small .ae-pl-tile__inner {
	padding: 0.65rem 0.4rem 0.6rem;
	text-align: center;
}

.ae-pl-tile--small .ae-pl-tile__name {
	font-size: 0.8125rem;
}

.ae-pl-tile__desc {
	color: var(--ae-muted);
	font-size: 0.8125rem;
}

/* Knoppen. */
.ae-pl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 1.5rem;
	border: 0;
	border-radius: calc(var(--ibizz-radius-button, 6px) + 10px);
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: filter var(--ae-fast) var(--ae-ease), transform var(--ae-fast) var(--ae-ease), background var(--ae-fast) var(--ae-ease);
}

.ae-pl-button:active:not(:disabled) {
	transform: scale(0.98);
}

.ae-pl-button:disabled {
	opacity: 0.5;
	cursor: progress;
}

.ae-pl-button--primary {
	background: var(--ibizz-color-button-bg, var(--ae-ink));
	color: var(--ibizz-color-button-text, var(--ae-bg));
}

.ae-pl-button--primary:hover:not(:disabled) {
	filter: brightness(0.95);
}

.ae-pl-button--quiet {
	background: var(--ae-surface-2);
	color: var(--ae-ink);
}

.ae-pl-button--quiet:hover:not(:disabled) {
	background: var(--ae-hairline);
}

.ae-pl-make__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.ae-pl-ai-status {
	margin: 0.9rem 0 0;
	color: var(--ae-muted);
	font-size: 0.9375rem;
}

.ae-pl-ai-status:empty {
	display: none;
}

/* Offerteaanvraag ----------------------------------------------------------- */

.ae-pl-quote {
	margin-top: clamp(3rem, 2rem + 4vw, 6rem);
	padding: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(1.25rem, 0.5rem + 4vw, 4.5rem);
	border-radius: var(--ae-r-xl);
	background: var(--ae-surface);
}

.ae-pl-quote__intro {
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.ae-pl-quote__title {
	margin: 0;
	color: var(--ae-ink);
	font-family: var(--ibizz-font-heading, inherit);
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	font-weight: var(--ibizz-heading-weight, 700);
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.ae-pl-quote .ae-pl-lead {
	margin-top: 0.9rem;
}

.ae-pl-request {
	max-width: 46rem;
	margin: 0 auto;
}

/* Gekozen ontwerp in het formulier. */
.ae-pl-chosen {
	margin-bottom: 2rem;
	border-radius: var(--ae-r-lg);
	transition: box-shadow var(--ae-fast) var(--ae-ease);
}

.ae-pl-chosen:focus {
	outline: none;
}

.ae-pl-chosen:focus-visible {
	outline: 2px solid var(--ae-focus);
	outline-offset: 4px;
}

.ae-pl-chosen.is-attention {
	box-shadow: 0 0 0 3px var(--ae-focus);
}

.ae-pl-chosen__card {
	display: grid;
	gap: 1.25rem;
	align-items: center;
	padding: 1rem;
	border-radius: var(--ae-r-lg);
	background: var(--ae-bg);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 8px 24px rgb(0 0 0 / 0.06);
	animation: ae-pl-fade 420ms var(--ae-ease);
}

@media (min-width: 600px) {
	.ae-pl-chosen__card {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 1.75rem;
		padding: 1.25rem 1.75rem 1.25rem 1.25rem;
	}
}

.ae-pl-chosen__figure {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: var(--ae-r-md);
	background: radial-gradient(120% 90% at 50% 38%, var(--ae-bg) 0%, var(--ae-surface) 70%);
}

.ae-pl-chosen__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ae-pl-chosen__title {
	margin: 0 0 0.75rem;
	color: var(--ae-ink);
	font-family: var(--ibizz-font-heading, inherit);
	font-size: 1.25rem;
	font-weight: var(--ibizz-heading-weight, 700);
	letter-spacing: -0.015em;
}

.ae-pl-chosen__list {
	display: grid;
	gap: 0.5rem;
	margin: 0 0 1rem;
	padding: 0;
	color: var(--ae-ink);
	font-size: 0.9375rem;
	list-style: none;
}

.ae-pl-chosen__list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ae-pl-chosen__hex {
	margin-left: auto;
	color: var(--ae-muted);
	font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.8125rem;
}

.ae-pl-chosen__muted {
	color: var(--ae-muted);
}

.ae-pl-chosen__stale {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin-top: 0.75rem;
	padding: 0.75rem 1rem;
	border-radius: var(--ae-r-md);
	background: color-mix(in srgb, var(--ae-focus) 10%, var(--ae-bg));
	color: var(--ae-ink);
	font-size: 0.875rem;
}

.ae-pl-chosen__empty {
	display: grid;
	justify-items: center;
	gap: 0.25rem;
	padding: 2rem 1.25rem;
	border: 1px dashed var(--ae-hairline-strong);
	border-radius: var(--ae-r-lg);
	text-align: center;
}

.ae-pl-chosen__empty .ae-pl-chosen__title {
	margin: 0;
	font-size: 1.0625rem;
}

.ae-pl-chosen__text {
	max-width: 28rem;
	margin: 0 0 0.75rem;
	color: var(--ae-muted);
	font-size: 0.9375rem;
}

.ae-pl-success__img {
	display: block;
	width: min(100%, 22rem);
	height: auto;
	margin: 0 auto 1.25rem;
	border-radius: var(--ae-r-md);
}

.ae-pl-approve .ae-pl-use-status:empty {
	display: none;
}

.ae-pl-request__grid {
	display: grid;
	gap: 1.1rem 1.25rem;
}

@media (min-width: 700px) {
	.ae-pl-request__grid {
		grid-template-columns: 1fr 1fr;
	}

	.ae-pl-field--message,
	.ae-pl-field--products {
		grid-column: 1 / -1;
	}
}

.ae-pl-field {
	display: grid;
	gap: 0.4rem;
	margin: 0;
}

.ae-pl-field label {
	color: var(--ae-ink);
	font-size: 0.875rem;
	font-weight: 600;
}

.ae-pl-optional {
	color: var(--ae-muted);
	font-weight: 400;
}

.ae-pl-check {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin: 1.5rem 0 0;
	color: var(--ae-muted);
	font-size: 0.875rem;
	line-height: 1.5;
	cursor: pointer;
}

.ae-pl-check input {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.1rem;
	accent-color: var(--ae-ink);
}

.ae-pl-request__submit {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.ae-pl-request__submit .ae-pl-button {
	min-width: 14rem;
}

.ae-pl-hp {
	position: absolute;
	left: -9999px;
}

.ae-pl-success {
	padding: 2rem;
	border-radius: var(--ae-r-lg);
	background: var(--ae-bg);
	text-align: center;
	animation: ae-pl-fade 420ms var(--ae-ease);
}

.ae-pl-success p {
	max-width: 32rem;
	margin: 0 auto;
	color: var(--ae-ink);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.45;
}

/* Minder beweging als de bezoeker dat heeft ingesteld. */
@media (prefers-reduced-motion: reduce) {
	.ae-pl *,
	.ae-pl *::before,
	.ae-pl *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.ae-pl-progress span {
		width: 100%;
		animation: none;
		opacity: 0.4;
	}
}
