/* ==========================================================================
   Chéri — basisstijlen van het thema
   Kleuren en lettertypen: zie variabelen in Chéri Core (cheri.css).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
	background: #1e100f;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--ch-espresso, #1e100f);
	color: var(--ch-text, #f3e6d8);
	font: 400 16px/1.65 var(--ch-sans, system-ui, sans-serif);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ch-blush, #eaa79c); text-underline-offset: 3px; }
a:hover { color: var(--ch-text, #f3e6d8); }
::selection { background: var(--ch-red, #a3202c); color: #fff6ef; }
:focus-visible { outline: 2px solid var(--ch-blush, #eaa79c); outline-offset: 3px; }
.ch-main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--ch-serif, Georgia, serif); font-weight: 300; line-height: 1.1; color: var(--ch-text); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* Elementor laat de Chéri-onderdelen zelf hun ruimte bepalen. */
.elementor .e-con.e-parent:has(> .elementor-widget[class*="elementor-widget-cheri-"]) { padding: 0; }
.elementor-widget[class*="elementor-widget-cheri-"] { width: 100%; }
.elementor-location-header, .elementor-location-footer { position: relative; z-index: 60; }

/* ==========================================================================
   Gewone pagina's (privacyverklaring, huisregels, berichten)
   ========================================================================== */

.ch-entry { max-width: 760px; font-size: 1.0625rem; line-height: 1.8; color: var(--ch-text-2); }
.ch-entry > * + * { margin-top: 1.1em; }
.ch-entry h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 2em 0 .6em; color: var(--ch-text); }
.ch-entry h3 { font-size: 1.6rem; margin: 1.6em 0 .5em; color: var(--ch-text); }
.ch-entry ul, .ch-entry ol { padding-left: 1.2em; }
.ch-entry li + li { margin-top: .4em; }
.ch-entry strong { color: var(--ch-text); font-weight: 500; }
.ch-entry blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 1px solid var(--ch-brass); font: italic 300 1.6rem/1.4 var(--ch-serif); color: var(--ch-text); }
.ch-entry table { width: 100%; border-collapse: collapse; }
.ch-entry th, .ch-entry td { padding: 10px 8px; border-bottom: 1px solid var(--ch-line); text-align: left; }
.ch-entry__img { width: 100%; height: auto; margin-bottom: 2rem; }

.ch-list { display: grid; gap: 0; border-top: 1px solid var(--ch-line); }
.ch-list__item a { display: block; padding: 28px 0; border-bottom: 1px solid var(--ch-line); text-decoration: none; color: var(--ch-text); }
.ch-list__item h2 { font-size: 2rem; margin: 0 0 6px; }
.ch-list__item p { margin: 0; color: var(--ch-text-2); }
.nav-links { display: flex; gap: 16px; margin-top: 32px; }
.nav-links a, .nav-links span { color: var(--ch-text); }

.ch-simpleheader, .ch-simplefooter { padding: 20px 24px; border-bottom: 1px solid var(--ch-line); }
.ch-simplehead { padding: 140px 0 48px; }

/* ==========================================================================
   Formuliersectie (Elementor-container met klasse ch-formsection)
   ========================================================================== */

.e-con.ch-formsection, .ch-formsection {
	--display: grid;
	display: grid !important;
	gap: 48px;
	width: 100%;
	max-width: var(--ch-wrap, 1320px);
	margin-inline: auto !important;
	padding: var(--ch-section, 120px) var(--ch-gutter, 24px) !important;
	background: var(--ch-espresso);
	align-items: start;
}
.ch-formsection::before {
	content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--ch-espresso); z-index: -1;
}
@media (min-width: 1000px) {
	.e-con.ch-formsection, .ch-formsection { grid-template-columns: 5fr 7fr; gap: 72px; }
	.ch-formsection .ch-intro { position: sticky; top: calc(var(--ch-header-h, 88px) + 32px); }
}
.ch-intro .ch-contact { margin-top: 8px; }

/* ==========================================================================
   Elementor Pro-formulier in Chéri-stijl (klasse ch-form)
   ========================================================================== */

.ch-form .elementor-form-fields-wrapper { margin: 0 -10px !important; row-gap: 6px; }
.ch-form .elementor-field-group { padding: 0 10px !important; margin-bottom: 22px !important; }
.ch-form .elementor-field-label, .ch-form .elementor-field-group > label {
	display: block; margin-bottom: 10px !important; color: var(--ch-text-2) !important;
	font: 500 11.5px/1.4 var(--ch-sans) !important; letter-spacing: .16em; text-transform: uppercase;
}
.ch-form .elementor-mark-required .elementor-field-label::after { color: var(--ch-blush) !important; }
.ch-form .elementor-field-textual,
.ch-form .elementor-field-group .elementor-field:not(.elementor-select-wrapper):not([type="checkbox"]):not([type="radio"]),
.ch-form .elementor-select-wrapper select {
	width: 100%; min-height: 54px; padding: 14px 16px !important;
	background: rgba(243, 230, 216, 0.04) !important; color: var(--ch-text) !important;
	border: 1px solid var(--ch-line-2) !important; border-radius: 0 !important;
	font: 400 16px/1.4 var(--ch-sans) !important; /* 16px voorkomt inzoomen op iOS */
	transition: border-color .3s, background-color .3s; box-shadow: none !important;
	color-scheme: dark;
}
.ch-form textarea.elementor-field { min-height: 150px; resize: vertical; }
.ch-form .elementor-field::placeholder { color: var(--ch-text-3) !important; }
.ch-form .elementor-field:hover { border-color: rgba(243, 230, 216, .45) !important; }
.ch-form .elementor-field:focus { outline: none; border-color: var(--ch-blush) !important; background: rgba(243, 230, 216, 0.07) !important; }
.ch-form .elementor-select-wrapper::before { color: var(--ch-text-2) !important; }
.ch-form .elementor-select-wrapper select option { background: #1e100f; color: #f3e6d8; }
/* Keuzerondjes/vinkjes als "chips": de hele chip is klikbaar. */
.ch-form .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.ch-form .elementor-field-subgroup .elementor-field-option { position: relative; display: inline-flex; margin: 0 !important; }
.ch-form .elementor-field-type-checkbox .elementor-field-option input,
.ch-form .elementor-field-type-radio .elementor-field-option input {
	position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
}
.ch-form .elementor-field-type-checkbox .elementor-field-option label,
.ch-form .elementor-field-type-radio .elementor-field-option label {
	display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--ch-line-2);
	font: 400 14.5px/1.3 var(--ch-sans); color: var(--ch-text); cursor: pointer; transition: border-color .3s, background .3s;
}
.ch-form .elementor-field-option input:checked + label { border-color: var(--ch-blush); background: rgba(234, 167, 156, .1); }
.ch-form .elementor-field-option input:focus-visible + label { outline: 2px solid var(--ch-blush); outline-offset: 2px; }

/* Akkoordverklaring: klein vinkje met de tekst ernaast, zonder kopje "Privacy". */
.ch-form .elementor-field-type-acceptance > .elementor-field-label { display: none !important; }
.ch-form .elementor-field-type-acceptance .elementor-field-option { align-items: flex-start; gap: 12px; }
.ch-form .elementor-field-type-acceptance input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: none; position: static;
	width: 20px !important; height: 20px !important; min-height: 0 !important; margin: 2px 0 0 !important; padding: 0 !important;
	border: 1px solid var(--ch-line-2) !important; border-radius: 0 !important; background: transparent !important; cursor: pointer;
	display: grid; place-content: center;
}
.ch-form .elementor-field-type-acceptance input[type="checkbox"]::after {
	content: ""; width: 10px; height: 6px; border: solid #fff6ef; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.ch-form .elementor-field-type-acceptance input[type="checkbox"]:checked { background: var(--ch-red) !important; border-color: var(--ch-red) !important; }
.ch-form .elementor-field-type-acceptance input[type="checkbox"]:checked::after { opacity: 1; }
.ch-form .elementor-field-type-acceptance input[type="checkbox"]:focus-visible { outline: 2px solid var(--ch-blush); outline-offset: 3px; }
.ch-form .elementor-field-type-acceptance .elementor-field-option label {
	padding: 0 !important; border: 0 !important; background: none !important; cursor: pointer;
	font: 400 14.5px/1.6 var(--ch-sans) !important; color: var(--ch-text-2) !important; text-transform: none !important; letter-spacing: 0 !important;
}
.ch-form .elementor-button,
.ch-form button[type="submit"] {
	min-height: 58px; width: 100%; padding: 0 28px !important; border: 0 !important; border-radius: 0 !important;
	background: var(--ch-red) !important; color: #fff6ef !important;
	font: 500 13px/1 var(--ch-sans) !important; letter-spacing: .18em !important; text-transform: uppercase !important;
	transition: background-color .35s;
}
.ch-form .elementor-button:hover { background: var(--ch-red-hover) !important; }
@media (min-width: 700px) { .ch-form .elementor-field-type-submit .elementor-button { width: auto; min-width: 260px; } }
.ch-form .elementor-message { margin-top: 18px; padding: 16px 18px; font: 400 15px/1.6 var(--ch-sans); border: 1px solid var(--ch-line-2); }
.ch-form .elementor-message.elementor-message-success { color: var(--ch-text); border-color: #7fcf8f; }
.ch-form .elementor-message.elementor-message-danger, .ch-form .elementor-error .elementor-field { border-color: #ff8a8a !important; }
.ch-form .elementor-message::before { display: none; }
.ch-form .elementor-field-group .elementor-message.elementor-help-inline { padding: 6px 0 0; border: 0; font-size: 13px; color: #ffb3b3; }
@media (max-width: 767px) {
	.ch-form .elementor-field-group { width: 100% !important; }
}

/* ==========================================================================
   Evenementpagina-indeling
   ========================================================================== */

.ch-event__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) {
	.ch-event__grid { grid-template-columns: 7fr 5fr; gap: 80px; align-items: start; }
	.ch-event__aside { position: sticky; top: calc(var(--ch-header-h, 88px) + 32px); }
}
.ch-event__content:empty { display: none; }
.ch-pagehead--event { min-height: 78svh; }

/* ==========================================================================
   Zenchef: widget op de reserveringspagina laten passen
   ========================================================================== */

.ch-reserve__widget .zc-widget-config { width: 100%; }
