/* Rikra Functies — formulieren en calculator (gebruikt de kleuren van het thema als die er zijn). */
.rk-form-wrap, .rk-calc {
	--rkf-ink: var(--wp--preset--color--ink, #0F1726);
	--rkf-navy: var(--wp--preset--color--navy, #1B2E4B);
	--rkf-accent: var(--wp--preset--color--accent, #E8763A);
	--rkf-sky: var(--wp--preset--color--sky, #E3E8F0);
	--rkf-muted: var(--wp--preset--color--muted, #4A5363);
	--rkf-line: #C9C6BB;
	color: var(--rkf-ink);
}

/* Formulier */
.rk-form-wrap { background: var(--wp--preset--color--base, #F5F4EF); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2rem); }
.rk-card .rk-form-wrap { background: transparent; padding: 0; }
.rk-form-title { font-size: 1.625rem; margin: 0 0 1rem; color: var(--rkf-ink) !important; }
.rk-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.85rem; }
.rk-veld { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; margin: 0; }
.rk-veld--breed { grid-column: 1 / -1; }
.rk-veld input, .rk-veld textarea {
	min-height: 48px; padding: 0.6rem 0.85rem; border: 1px solid var(--rkf-line); border-radius: 10px;
	font: inherit; font-size: 1rem; font-weight: 400; background: #fff; color: var(--rkf-ink); width: 100%; box-sizing: border-box;
}
.rk-veld input[type="file"] { border-style: dashed; padding: 0.85rem; font-size: 0.875rem; }
.rk-veld input:focus, .rk-veld textarea:focus { outline: 2px solid var(--rkf-navy); outline-offset: 1px; border-color: var(--rkf-navy); }
.rk-veld .rk-kenteken {
	background: #F7C933; border: 2px solid var(--rkf-ink); font-weight: 700; font-size: 1.125rem;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.rk-keuzes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rk-keuzes legend { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.5rem; padding: 0; }
.rk-keuze { position: relative; }
.rk-keuze input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rk-keuze span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px;
	border: 1px solid var(--rkf-line); background: #fff; font-weight: 600; font-size: 0.875rem;
}
.rk-keuze input:checked + span { background: var(--rkf-ink); color: #fff; border-color: var(--rkf-ink); }
.rk-keuze input:focus-visible + span { outline: 2px solid var(--rkf-navy); outline-offset: 2px; }
.rk-check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.875rem; font-weight: 400; margin: 0; }
.rk-veld.rk-check { flex-direction: row; align-items: center; font-size: 0.875rem; font-weight: 400; }
.rk-veld.rk-keuzes { flex-direction: row; flex-wrap: wrap; }
.rk-keuzes legend { width: 100%; }
.rk-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--rkf-navy); flex: none; }
.rk-akkoord { margin: 1rem 0; color: var(--rkf-muted); }
.rk-form-knop {
	min-height: 52px; border: 0; border-radius: 14px !important; background: var(--rkf-ink) !important; color: #fff !important;
	font: inherit; font-weight: 700; padding: 0 1.75rem; cursor: pointer;
}
.rk-form-knop:hover { background: var(--rkf-navy) !important; }
.rk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rk-form-melding { border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1rem; font-size: 0.9375rem; }
.rk-form-melding--ok { background: #E3F1E7; color: #14532D; }
.rk-form-melding--fout { background: #FDECEC; color: #8A1C1C; }

/* Calculator */
.rk-calc {
	background: #fff; border: 1px solid var(--wp--preset--color--line, #E1DFD6); border-radius: 26px;
	padding: clamp(1.25rem, 3vw, 1.9rem); display: flex; flex-direction: column; gap: 1.25rem;
	box-shadow: 0 16px 40px rgba(15, 23, 38, 0.06);
}
.rk-calc__titel { font-size: 1.25rem !important; margin: 0; font-family: inherit !important; letter-spacing: 0 !important; }
.rk-calc__veld { display: flex; flex-direction: column; gap: 0.5rem; font-weight: 600; font-size: 0.875rem; }
.rk-calc__veld > span { display: flex; justify-content: space-between; }
.rk-calc input[type="range"] { width: 100%; accent-color: var(--rkf-navy); min-height: 28px; }
.rk-calc__uitkomst {
	display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: flex-end;
	padding: 1.25rem; background: var(--rkf-sky); border-radius: 16px;
}
.rk-calc__label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--rkf-navy); }
.rk-calc__bedrag {
	font-family: var(--wp--preset--font-family--display, inherit); font-weight: 800; font-size: 2.75rem;
	letter-spacing: -0.03em; line-height: 1;
}
.rk-calc__knop { background: var(--rkf-ink) !important; color: #fff !important; font-size: 0.875rem; padding: 0.8rem 1.25rem; text-decoration: none; }
.rk-calc__noot { margin: 0; font-size: 0.75rem; color: var(--rkf-muted); }

/* Breadcrumb */
.rk-breadcrumb { font-size: 0.875rem; }

/* Melding: camper verkocht */
.rk-verkocht-melding {
	max-width: var(--wp--style--global--wide-size, 1240px); margin: 0 auto 1.5rem; box-sizing: border-box;
	background: #FFF4EC; border: 1px solid var(--wp--preset--color--accent, #E8763A); border-radius: 16px;
	padding: 1rem 1.25rem; font-size: 0.9375rem;
}
@media (max-width: 1288px) { .rk-verkocht-melding { margin-inline: 24px; } }
