.gp-hn {
	--hn-border: var(--gp-border, #e6e2db);
	--hn-surface: var(--gp-surface, #fff);
	--hn-ink: var(--gp-ink, #1c1b19);
	--hn-accent: var(--gp-wood-accent, #8b5a2b);
	background: var(--hn-surface);
	border: 1px solid var(--hn-border);
	border-radius: 2px;
	color: var(--hn-ink);
	margin: 0 auto 2em;
	max-width: 760px;
	padding: 1.5em 1.25em;
	text-align: left; /* de omliggende thema-wrapper centreert tekst; hier expliciet links */
}

.gp-hn__title {
	margin-top: 0;
}

.gp-hn__intro {
	margin-bottom: 1.25em;
}

.gp-hn__fields {
	display: grid;
	gap: 1em;
	grid-template-columns: 1fr;
}

@media ( min-width: 640px ) {
	.gp-hn__fields {
		grid-template-columns: 1fr 1fr;
	}
}

.gp-hn__field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.gp-hn__field input[type="text"],
.gp-hn__field select {
	border: 1px solid var(--hn-border);
	border-radius: 2px;
	box-sizing: border-box;
	font-size: 16px; /* voorkomt inzoomen op iOS */
	padding: 0.6em 0.7em;
	width: 100%;
}

.gp-hn__field input[type="text"]:focus,
.gp-hn__field select:focus {
	border-color: var(--hn-accent);
	outline: 2px solid var(--hn-accent);
	outline-offset: 1px;
}

.gp-hn__hint {
	color: #6b6862;
	font-size: 0.85em;
	margin: 0.35em 0 0;
}

.gp-hn__error {
	color: #a4281c;
	font-size: 0.9em;
	margin: 0.35em 0 0;
}

.gp-hn__preview {
	align-items: center;
	background: #f2f2f0;
	border: 1px solid var(--hn-border);
	border-radius: 2px;
	display: flex;
	height: 170px;
	justify-content: center;
	margin-top: 1.25em;
	overflow: hidden;
	padding: 0 16px;
}

.gp-hn__preview-text {
	color: #0a0a0a;
	font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
	font-weight: 400;
	line-height: 1;
	white-space: nowrap;
}

.gp-hn__preview-text.is-empty {
	color: #9a968f;
	font-family: inherit;
	font-size: 1em;
}

.gp-hn__preview-note {
	color: #6b6862;
	font-size: 0.8em;
	margin: 0.4em 0 1.25em;
	text-align: center;
}

.gp-hn__check {
	align-items: flex-start;
	cursor: pointer;
	display: flex;
	gap: 0.6em;
	margin-bottom: 0.9em;
}

.gp-hn__check input {
	flex: none;
	height: 1.15em;
	margin-top: 0.2em;
	width: 1.15em;
}

.gp-hn__check small {
	color: #6b6862;
	display: block;
	font-size: 0.85em;
}

.gp-hn__summary {
	border-top: 1px solid var(--hn-border);
	margin: 1.25em 0;
	padding-top: 0.75em;
}

.gp-hn__summary table {
	border: 0;
	margin: 0;
	width: 100%;
}

.gp-hn__summary th,
.gp-hn__summary td {
	background: none;
	border: 0;
	padding: 0.3em 0;
	text-align: left;
	vertical-align: baseline;
}

.gp-hn__summary td {
	text-align: right;
	white-space: nowrap;
}

.gp-hn__summary td:nth-child(2) {
	color: #6b6862;
	padding-right: 1em;
}

.gp-hn__summary tfoot th,
.gp-hn__summary tfoot td {
	border-top: 1px solid var(--hn-border);
	font-size: 1.15em;
	font-weight: 700;
	padding-top: 0.6em;
}

.gp-hn__summary-empty {
	color: #6b6862;
	margin: 0.4em 0 0;
}

.gp-hn__submit {
	font-size: 1em;
	padding: 0.9em 1.6em;
	width: 100%;
}

@media ( min-width: 640px ) {
	.gp-hn__submit {
		width: auto;
	}
}

.gp-hn__added,
.gp-hn__error-box {
	border-left: 4px solid var(--hn-accent);
	margin-bottom: 1.25em;
	padding: 0.9em 1em;
}

.gp-hn__added {
	background: #f7f3ec;
}

.gp-hn__error-box {
	background: #fbeeed;
	border-left-color: #a4281c;
}

.gp-hn__added p {
	margin: 0 0 0.6em;
}

.gp-hn__added-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0;
}

/* Extra afstandhouders: label, dropdown daarachter, uitleg eronder */
.gp-hn__extra {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 1em;
	margin: 0 0 0.9em;
}

.gp-hn__extra label {
	font-weight: 600;
}

.gp-hn__extra .gp-select {
	min-width: 9em;
}

.gp-hn__extra small {
	color: #6b6862;
	flex-basis: 100%;
	font-size: 0.85em;
}

/* Eigen dropdown in de stijl van de site (vervangt het standaard browsermenu) */
.gp-select {
	position: relative;
}

.gp-select__native {
	display: none !important;
}

.gp-hn .gp-select__btn,
.gp-hn .gp-select__btn:hover,
.gp-hn .gp-select__btn:focus,
.gp-hn .gp-select__btn:active {
	align-items: center;
	background: var(--hn-surface);
	border: 1px solid var(--hn-border);
	border-radius: 2px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--hn-ink);
	cursor: pointer;
	display: flex;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	gap: 0.75em;
	justify-content: space-between;
	letter-spacing: normal;
	line-height: 1.3;
	padding: 0.6em 0.7em;
	text-align: left;
	text-transform: none;
	width: 100%;
}

.gp-hn .gp-select__btn:hover {
	border-color: var(--hn-accent);
}

.gp-hn .gp-select__btn:focus-visible,
.gp-hn .gp-select.is-open .gp-select__btn {
	border-color: var(--hn-accent);
	outline: 2px solid var(--hn-accent);
	outline-offset: 1px;
}

.gp-select__btn::after {
	border-bottom: 2px solid var(--hn-accent);
	border-right: 2px solid var(--hn-accent);
	content: "";
	flex: none;
	height: 0.5em;
	margin-top: -0.25em;
	transform: rotate( 45deg );
	transition: transform 0.15s ease;
	width: 0.5em;
}

.gp-select.is-open .gp-select__btn::after {
	margin-top: 0.2em;
	transform: rotate( 225deg );
}

.gp-select__value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gp-hn .gp-select__list {
	background: var(--hn-surface);
	border: 1px solid var(--hn-accent);
	border-radius: 2px;
	left: 0;
	list-style: none;
	margin: 2px 0 0;
	max-height: 15.5em;
	overflow-y: auto;
	padding: 0;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 30;
}

.gp-hn .gp-select__option {
	border-left: 3px solid transparent;
	cursor: pointer;
	line-height: 1.3;
	margin: 0;
	padding: 0.55em 0.8em;
}

.gp-hn .gp-select__option::before {
	content: none;
}

.gp-hn .gp-select__option.is-active {
	background: #f7f3ec;
}

.gp-hn .gp-select__option[aria-selected="true"] {
	border-left-color: var(--hn-accent);
	color: var(--gp-wood-accent-dark, #714623);
	font-weight: 600;
}

.gp-hn [hidden] {
	display: none !important;
}
