/*
Theme Name: Bedandbreakfasts
Description: Eigen thema voor Bedandbreakfasts.be. Werkt samen met de plugin Bedandbreakfasts Core.
Version: 0.7.0
Author: Acrona
Requires PHP: 8.1
Text Domain: bedandbreakfasts
*/

:root {
	--ink: #2a1e20;
	--ink-2: #5c4a4c;
	--muted: #8a7a7b;
	--line: #eadfd6;
	--bg: #faf6f0;
	--card: #ffffff;
	--sea: #7a2e3a;
	--sea-2: #4a1b24;
	--sand: #f4e9e3;
	--sun: #c9a24a;
	--ok: #1a7f37;
	--err: #b42318;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(42,30,32,.06), 0 6px 20px rgba(42,30,32,.07);
	--serif: "Fraunces", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--sans); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); }
a:hover { color: var(--sea-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.5vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 21px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-top { background: var(--sea-2); color: #f1e3e0; font-size: 14px; }
.site-top .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.site-top a { color: #fff; font-weight: 600; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { font-family: var(--serif); font-size: 26px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--sea); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.nav a:hover, .nav .current > a { background: var(--sand); color: var(--ink); }
.nav li ul { display: none; position: absolute; left: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; min-width: 220px; max-height: 70vh; overflow: auto; }
.nav li:hover > ul, .nav li:focus-within > ul { display: block; }
.sub-toggle { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; }
.vv-btn { display: inline-block; background: var(--sea); color: #fff !important; border: 0; border-radius: 999px; padding: 11px 20px; font: 600 15px var(--sans); text-decoration: none; cursor: pointer; }
.vv-btn:hover { background: var(--sea-2); }
.vv-btn--ghost { background: transparent; color: var(--sea) !important; border: 1.5px solid var(--sea); }
.vv-btn--ghost:hover { background: var(--sea); color: #fff !important; }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 20px; flex-direction: column; align-items: stretch; }
	.nav.open { display: flex; max-height: var(--nav-h, calc(100vh - 68px)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
	html.nav-lock, html.nav-lock body { overflow: hidden; }
	.nav > ul { flex-direction: column; }
	.nav li ul { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; max-height: none; min-width: 0; }
	.nav li:hover > ul, .nav li:focus-within > ul { display: none; }
	.nav li.sub-open > ul { display: block; }
	.nav li.has-sub > a { padding-right: 52px; }
	.sub-toggle { display: block; position: absolute; right: 0; top: 0; width: 46px; height: 42px; border: 0; background: none; border-radius: 8px; font-size: 18px; color: var(--ink); cursor: pointer; }
	.sub-toggle:hover { background: var(--sand); }
	.sub-toggle span { display: inline-block; transition: transform .2s; }
	.nav li.sub-open > .sub-toggle span { transform: rotate(180deg); }
}

/* Hero + search */
.hero { background: linear-gradient(180deg, rgba(74,27,36,.55), rgba(74,27,36,.78)), var(--hero) center/cover no-repeat, var(--sea-2); color: #fff; padding: 72px 0 84px; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { font-size: 18px; max-width: 640px; color: #f5e9e6; margin: 0 0 26px; }
.searchbar { background: #fff; border-radius: 16px; padding: 10px; display: grid; grid-template-columns: 2fr 1.4fr 1fr auto; gap: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.18); max-width: 900px; }
.searchbar input, .searchbar select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; }
@media (max-width: 760px) { .searchbar { grid-template-columns: 1fr 1fr; } .searchbar input[type=search] { grid-column: 1 / -1; } .searchbar .vv-btn { grid-column: 1 / -1; } }

/* Sections */
.section { padding: 56px 0; }
.section--sand { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-head p { margin: 0; color: var(--ink-2); }

.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dest { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--sea); color: #fff; text-decoration: none; display: flex; align-items: end; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dest:hover img { transform: scale(1.04); }
.dest span { position: relative; padding: 16px; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,.6)); font: 22px var(--serif); }
.dest small { display: block; font: 500 14px var(--sans); opacity: .9; }
@media (max-width: 900px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(29,42,51,.08), 0 14px 32px rgba(29,42,51,.10); color: inherit; }
.card__img { aspect-ratio: 16/10; background: var(--sand); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.card__badges .card__badge { position: static; }
.card__badge--new, .badge-new { background: var(--sea); color: #fff; }
.badge-new { display: inline-block; vertical-align: middle; font: 700 13px/1 var(--sans); padding: 6px 12px; border-radius: 999px; letter-spacing: .02em; margin-left: 6px; position: relative; top: -3px; }
.card__badge { position: absolute; top: 12px; left: 12px; background: var(--sun); color: #2a1c05; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font: 600 18px/1.3 var(--sans); margin: 0; }
.card__loc { color: var(--muted); font-size: 14px; }
.card__excerpt { color: var(--ink-2); font-size: 15px; margin: 4px 0 0; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; list-style: none; padding-left: 0; margin-bottom: 0; }
.facts li { background: var(--sand); border-radius: 999px; padding: 3px 10px; font-size: 13px; color: var(--ink-2); }

/* Archive */
.archive-head { padding: 36px 0 10px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.archive-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; padding-bottom: 60px; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
	.archive-layout { grid-template-columns: 1fr; gap: 16px; }
	.archive-layout .filters { position: static; display: none; }
	.archive-layout .filters.open { display: block; }
	.filters-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; font: 600 16px var(--sans); color: var(--ink); cursor: pointer; }
	.filters-count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 6px; border-radius: 11px; background: var(--sea); color: #fff; font-size: 13px; text-align: center; }
	.filters-toggle__arrow { transition: transform .2s; }
	.filters-toggle[aria-expanded=true] .filters-toggle__arrow { transform: rotate(180deg); }
}
.filters { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; align-self: start; position: sticky; top: 88px; }
.filters h3 { font: 600 15px var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 10px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.filters label { display: flex; gap: 8px; align-items: center; padding: 3px 0; }
.filters select, .filters input[type=number], .filters input[type=search] { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px; font: inherit; }
.subterms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.subterms a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-size: 14px; }
.subterms a:hover { border-color: var(--sea); color: var(--sea); }
.result-count { color: var(--muted); margin: 0 0 14px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--sea); color: #fff; border-color: var(--sea); }

/* Single */
.listing-head { padding: 30px 0 18px; }
.listing-head .meta { color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.gallery a { position: relative; display: block; background: var(--sand); }
.gallery a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; inset: 0; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; } .gallery a:first-child { grid-column: span 2; grid-row: auto; } .gallery a:nth-child(n+4) { display: none; } .gallery--1 { grid-template-columns: 1fr; grid-template-rows: 260px; } }
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 40px; padding: 30px 0 60px; }
@media (max-width: 960px) { .listing-layout { grid-template-columns: minmax(0, 1fr); } }
.listing-layout > * { min-width: 0; }
.box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.aside { display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: 88px; }
@media (max-width: 960px) { .aside { position: static; } }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; list-style: none; padding: 0; margin: 0 0 8px; }
.amen li { display: flex; gap: 8px; align-items: center; }
.amen .no { color: var(--muted); text-decoration: line-through; }
.amen svg { flex: none; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-lines li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.contact-lines li:last-child { border: 0; }
#map { height: 420px; border-radius: 16px; margin-top: 10px; z-index: 0; background: #f2efe9; }
#map .leaflet-tile-pane { filter: saturate(.55) brightness(1.06) contrast(.9); }
.map-hint { position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; background: rgba(0,0,0,.45); color: #fff; font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s; border-radius: inherit; }
.map-hint.show { opacity: 1; }
.vv-pin { background: #222; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); border: 3px solid #fff; box-sizing: border-box; }
#map .leaflet-control-zoom { border: 0; box-shadow: 0 2px 6px rgba(0,0,0,.15); border-radius: 22px; overflow: hidden; }
#map .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; border: 0; color: #222; }
#map .leaflet-control-zoom a:hover { background: #f4f4f4; color: #222; }
.upsell { background: var(--sand); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }

/* Forms */
.vv-contact label, .comment-form label { display: block; font-weight: 500; font-size: 14px; }
.vv-contact input, .vv-contact textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form textarea, .comment-form select { display: block; width: 100%; margin-top: 4px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.vv-contact p { margin: 0 0 12px; }
.vv-hp { position: absolute; left: -9999px; }
.vv-small { font-size: 13px; color: var(--muted); }
.vv-notice { border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.vv-notice--ok { background: #e7f4ea; color: var(--ok); }
.vv-notice--err { background: #fdecea; color: var(--err); }

/* Reviews */
.vv-stars { color: var(--sun); letter-spacing: 2px; }
.vv-stars span { color: #d9d4ca; }
.reviews { list-style: none; padding: 0; margin: 0 0 20px; }
.reviews li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reviews .who { font-weight: 600; }
.reviews time { color: var(--muted); font-size: 13px; margin-left: 8px; }

/* Content pages */
.page-content { max-width: 780px; padding: 40px 0 70px; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2d7; padding: 48px 0 26px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(10,14,18,.94); display: none; align-items: center; justify-content: center; z-index: 1000; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; }
.lb button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; font-size: 28px; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.lb .lb-x { top: 18px; right: 18px; }
.lb .lb-p { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-n { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-c { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; }

/* Mijn account */
.acc-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.acc-nav a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.acc-nav a.on { background: var(--sea); border-color: var(--sea); color: #fff; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .acc-grid { grid-template-columns: 1fr; } }
.acc-grid input[type=text], .acc-grid input[type=password] { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.acc-list { display: flex; flex-direction: column; gap: 14px; }
.acc-item { display: flex; gap: 16px; align-items: center; }
.acc-item h3 { margin: 0 0 4px; font: 600 18px var(--sans); }
.acc-thumb img { width: 110px; height: 80px; object-fit: cover; border-radius: 10px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.acc-actions .vv-btn { padding: 8px 14px; font-size: 14px; }
.acc-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 0 0 16px; }
.acc-form legend { font-weight: 600; padding: 0 6px; }
.acc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 620px) { .acc-cols { grid-template-columns: 1fr; } }
.acc-checks label { display: inline-flex !important; gap: 6px; margin: 4px 16px 4px 0; font-weight: 400 !important; }
.acc-checks input { width: auto !important; display: inline !important; margin: 0 !important; }
.acc-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.acc-photos > div { width: 130px; font-size: 13px; }
.acc-photos img { width: 130px; height: 95px; object-fit: cover; border-radius: 8px; }
.acc-photos input[type=number] { display: inline-block !important; width: 60px !important; }
.acc-photos input[type=checkbox] { display: inline !important; width: auto !important; }
.vv-packs { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vv-packs th, .vv-packs td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.vv-packs td:first-child, .vv-packs th:first-child { text-align: left; }
.vv-packs thead th { background: var(--sand); }

.provinces h2 { font-size: 24px; }
.subterms a.is-empty { color: var(--muted); }
.subterms small { color: var(--muted); }

.section--featured { background: linear-gradient(180deg, #fff8ec, var(--bg)); }
.acc-buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acc-buy .vv-btn { padding: 8px 14px; font-size: 14px; }
.page-content .cards { margin-top: 20px; }

/* Keuzelijsten: zelfde look als de tekstvelden, met eigen pijltje */
.vv-contact select,
.acc-form select,
.filters select,
.searchbar select,
.comment-form select {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px 40px 10px 12px;
	font: inherit;
	color: var(--ink);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237a2e3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	border: 1px solid var(--line);
	border-radius: 8px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.searchbar select { margin-top: 0; padding-top: 12px; padding-bottom: 12px; border-radius: 10px; }
.vv-contact select:hover, .acc-form select:hover, .filters select:hover, .searchbar select:hover { border-color: #c9c2b5; }
.vv-contact select:focus, .acc-form select:focus, .filters select:focus, .searchbar select:focus,
.vv-contact input:focus, .vv-contact textarea:focus, .filters input:focus, .searchbar input:focus {
	outline: none;
	border-color: var(--sea);
	box-shadow: 0 0 0 3px rgba(15, 94, 115, .15);
}
.vv-contact select option, .filters select option { font-weight: 400; }
.vv-contact optgroup, .filters optgroup, .searchbar optgroup { font-weight: 700; color: var(--ink); }
.acc-form label { margin-bottom: 2px; }
.acc-form label small { color: var(--muted); font-weight: 400; }

.card__price { font-weight: 600; color: var(--sea); font-size: 15px; }
.acc-radios { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 0 0 12px; }
.acc-radios__label { font-weight: 500; font-size: 14px; min-width: 150px; }
.acc-radios label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important; }
.acc-radios input { width: auto !important; display: inline !important; margin: 0 !important; }

/* Verborgen velden echt verbergen (ook als ze een grid/flex-opmaak hebben) */
[hidden] { display: none !important; }

/* Faciliteiten */
.amen-group { font: 600 15px var(--sans); color: var(--ink-2); margin: 18px 0 8px; }
.amen--yes { margin-bottom: 4px; }
.amen-check { color: var(--ok); font-weight: 700; width: 20px; text-align: center; }
.vv-am-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 24px; }
.vv-am-group strong { display: block; font-size: 14px; margin-bottom: 4px; }
.vv-am-group label { display: flex !important; gap: 8px; align-items: center; font-weight: 400 !important; padding: 2px 0; }
.vv-am-group input { width: auto !important; display: inline !important; margin: 0 !important; }

.acc-switch { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; }
.acc-switch input { width: auto !important; display: inline !important; margin: 0 !important; }
.acc-guestbook .vv-small { margin: 6px 0 0; }

/* Gemeente kiezen (België): zoekveld boven de lijst */
.acc-city #vv-city-q { margin-bottom: 8px; background: #faf8f4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px center; padding-left: 36px; }
.acc-form input[readonly] { background: #f3f1ec; color: #555; }

/* Pakketkeuze bij een nieuwe B&B */
.acc-packs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 14px; }
@media (max-width: 620px) { .acc-packs { grid-template-columns: 1fr; } }
.acc-packopt { display: flex !important; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 400 !important; }
.acc-packopt input { width: auto !important; margin-top: 4px; }
.acc-packopt span { display: block; }
.acc-packopt em { font-style: normal; color: var(--muted); margin-left: 6px; font-size: 13px; }
.acc-packopt small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.acc-packopt:has(input:checked) { border-color: var(--sea); background: #f8eeee; }
.acc-extra-title { font-weight: 600; margin: 0 0 6px; }
.acc-addon { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; margin: 0 0 8px; }
.acc-addon input { width: auto !important; margin-top: 4px; }
.acc-addon.is-off { opacity: .45; }
.acc-total { font-weight: 600; font-size: 16px; margin: 8px 0 0; }
.vv-btn.is-off { opacity: .4; cursor: not-allowed; }

/* Akkoord-vinkjes */
.acc-consents { margin: 6px 0 4px; }
.acc-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; margin: 0 0 10px; line-height: 1.45; }
.acc-consent input { width: auto !important; margin-top: 3px; flex: none; }
.acc-consent[hidden] { display: none !important; }
.acc-addon.is-locked input { accent-color: var(--sea); cursor: default; }
.acc-buyform .acc-addon { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.acc-buyform .acc-addon:has(input:checked) { border-color: var(--sea); background: #f8eeee; }
.acc-buy-hint { display: inline-block; margin-left: 8px; align-self: center; }

/* Btw-controle (VIES) */
.vv-vies-status { display: block; font-size: 13px; margin-top: 4px; color: var(--muted); min-height: 1em; }
.vv-vies-status.is-ok { color: #1a7f37; }
.vv-vies-status.is-bad { color: #b42318; }
.acc-form input.vv-filled { background: #f2f8f2; }

/* Inloggen / registreren in de bovenste balk */
.site-top__links { display: flex; gap: 18px; align-items: center; }
.site-top__links a:not(.site-top__cta) { font-weight: 500; color: #f1e3e0; }
.site-top__links a:hover { text-decoration: underline; }
@media (max-width: 720px) {
	.site-top .wrap > span:first-child { display: none; }
	.site-top .wrap { justify-content: flex-end; }
	.site-top__links { gap: 14px; font-size: 13px; }
}
@media (max-width: 420px) { .site-top__cta { display: none; } }

/* Links op een donkere achtergrond: tekst blijft wit bij hover */
.dest:hover, .dest:focus { color: #fff; }
.dest:hover span { background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.site-top a:hover, .site-top a:focus { color: #fff; text-decoration: underline; }
.site-footer a:hover, .site-footer a:focus { color: #fff; text-decoration: underline; }
.site-footer .vv-btn:hover { text-decoration: none; }

/* Fotogalerij: altijd dezelfde hoogte, ook bij één (staande) foto */
.gallery { height: 540px; grid-template-rows: 266px 266px; }
.gallery a { min-height: 0; overflow: hidden; }
.gallery--1 { grid-template-rows: 540px; }
.gallery--1 a:first-child { grid-row: auto; }
/* Minder dan 5 foto's: raster zonder lege vakken */
.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 540px; }
.gallery--2 a:first-child { grid-row: auto; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--4 a:nth-child(4) { grid-column: span 2; }
@media (max-width: 760px) {
	.gallery { height: 368px; grid-template-rows: 240px 120px; }
	.gallery--1 { height: 300px; grid-template-rows: 300px; }
	.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.gallery--2 a:nth-child(2) { grid-column: span 2; }
	.gallery--3 { grid-template-columns: 1fr 1fr; }
	.gallery--4 a:nth-child(4) { grid-column: auto; }
}

/* Toestemming in de contactformulieren */
.vv-contact .vv-consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 14px; line-height: 1.45; }
.vv-contact .vv-consent input { display: inline-block; width: auto; margin: 3px 0 0; flex: none; }

/* Overzichten: elke foto exact even hoog (16:10), ook bij staande of kleine foto's */
.card__img { overflow: hidden; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__img .card__badges, .card__img .card__badge { z-index: 1; }

/* Mijn account › Berichten */
.acc-msgs { display: grid; gap: 12px; }
.acc-msg { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: #fff; }
.acc-msg__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-msg__from { margin: 6px 0; }
.acc-msg__text { margin: 6px 0 0; color: var(--ink-2); }
.acc-msg.is-anon { background: #fbfaf7; }
.acc-msg.is-anon .vv-btn { padding: 6px 12px; font-size: 13px; margin-left: 6px; }

/* ---------- Stap 2: B&B-gegevens ---------- */
.bnb-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: -4px 0 12px; }
.bnb-tags li { background: #f1e3e0; color: var(--sea-2); border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 500; }
.bnb-sum { margin-bottom: 4px; }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 16px; }
.room { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.room__img { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.room__img a { display: block; height: 100%; }
.room__img a[hidden] { display: none; }
.room__img img { width: 100%; height: 100%; object-fit: cover; }
.room__count { position: absolute; right: 8px; bottom: 8px; background: rgba(42,30,32,.75); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.room__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.room__name { font-size: 18px; margin: 0 0 6px; }
.room__facts { list-style: none; padding: 0; margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.room__facts li { padding: 1px 0; }
.room__price { margin: auto 0 0; font-weight: 600; color: var(--sea); font-size: 17px; }
.room__price small { font-weight: 400; color: var(--muted); font-size: 13px; }
.bnb-bf { margin: 0; }
@media (max-width: 620px) { .amen { grid-template-columns: 1fr; } }

/* Eigenaarsformulier */
.bnb-multi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin: 0 0 12px; }
.bnb-checks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.bnb-checks label, .bnb-check label, .bnb-room__checks label { display: inline-flex !important; align-items: center; gap: 6px; font-weight: 400 !important; }
.bnb-checks input, .bnb-check input, .bnb-room__checks input { width: auto !important; display: inline !important; margin: 0 !important; }
.bnb-check { align-self: end; }
.acc-radios label small, .bnb-multi small { color: var(--muted); font-weight: 400; }
.bnb-room { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; background: #fdfbf8; }
.bnb-room__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.bnb-room__title { font-family: var(--serif); font-size: 17px; }
.bnb-room__del { background: none; border: 0; color: var(--err); cursor: pointer; font: inherit; font-size: 13px; text-decoration: underline; padding: 0; }
.bnb-room__grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 0 12px; }
@media (max-width: 760px) { .bnb-room__grid { grid-template-columns: 1fr 1fr; } .bnb-room__grid p:nth-child(-n+2) { grid-column: span 2; } }
.bnb-mode label { align-items: flex-start !important; }
.bnb-mode label input { margin-top: 5px !important; }
.bnb-mode label small { display: block; font-size: 13px; }
.bnb-mode .acc-radios__label { width: 100%; }
.bnb-room__checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 8px !important; }
.bnb-room__photos > label { font-size: 14px; }
.bnb-rooms [hidden] { display: none !important; }

/* ---------- Stap 3: filters, sortering en actieve filters ---------- */
/* Geen eigen schuifbalk: het paneel loopt mee met de pagina, de knop "Toon resultaten" blijft onderaan in beeld. */
.archive-layout .filters { position: static; max-height: none; overflow: visible; padding-bottom: 0; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 17px; }
.filters__head a { font-size: 14px; }
.filters .fgroup { border-top: 1px solid var(--line); padding: 12px 0 4px; }
.filters .fgroup summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.filters .fgroup summary::-webkit-details-marker { display: none; }
.filters .fgroup summary::after { content: "▾"; color: var(--muted); transition: transform .2s; }
.filters .fgroup[open] summary::after { transform: rotate(180deg); }
.filters .fgroup summary h3 { margin: 0; }
.fgroup__n { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: var(--sea); color: #fff; font-size: 12px; letter-spacing: 0; text-align: center; }
.fgroup__body { padding: 8px 0 8px; }
.filters .fgroup__body label { align-items: flex-start; line-height: 1.35; padding: 4px 0; cursor: pointer; }
.filters .fgroup__body input { margin-top: 3px; accent-color: var(--sea); width: 16px; height: 16px; flex: none; }
.filters .fgroup__body small { display: block; color: var(--muted); font-size: 13px; }
.fgroup__sub { margin: 8px 0 2px; font-size: 13px; color: var(--muted); }
.filters .fsel { display: block; margin-top: 6px; }
.filters .fsel span { display: block; font-size: 14px; margin-bottom: 4px; }
.filters .fnums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters .fnums label { display: block; padding: 0; }
.filters .fnums span { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.filters__submit { position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; margin-top: 4px; border-top: 1px solid var(--line); }
.filters__submit .vv-btn { width: 100%; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 12px; }
.results-bar .result-count { margin: 0; }
.results-bar .result-count strong { color: var(--ink); }
.sortform { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sortform select { border: 1px solid var(--line); border-radius: 8px; padding: 7px 30px 7px 10px; font: inherit; color: var(--ink); background-color: #fff; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.chips a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--ink); text-decoration: none; font-size: 14px; border: 1px solid transparent; }
.chips a span { font-size: 16px; line-height: 1; color: var(--sea); }
.chips a:hover, .chips a:focus { border-color: var(--sea); }
.chips__clear a { background: transparent; color: var(--sea); text-decoration: underline; padding-left: 4px; }
.box.empty p { margin: 0; }

.card__class { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
	.filters__submit { bottom: 0; margin: 4px -18px 0; padding: 12px 18px 14px; box-shadow: 0 -6px 14px rgba(42,30,32,.08); border-radius: 0 0 var(--radius) var(--radius); }
	.sortform label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Live filteren */
#vv-results { transition: opacity .15s; }
#vv-results.is-loading { opacity: .45; pointer-events: none; }
@media (min-width: 901px) {
	.filters.is-live .filters__submit { display: none; }
	.filters.is-live { padding-bottom: 6px; }
}

/* Stap 4: introductieprijs en startaanbod */
.vv-start { background: var(--sand); border-left: 4px solid var(--gold, #C9A24A); border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; }
.vv-start--full { border-left-color: var(--muted); color: var(--muted); }
.vv-intro-note { font-size: 15px; color: var(--ink-2); }
.vv-intro-note:empty { display: none; }
.acc-intro { display: block; color: var(--sea); font-weight: 500; margin: 2px 0; }
.vv-intro-badge { display: inline-block; background: var(--gold, #C9A24A); color: #2A1E20; font: 700 11px/1.6 var(--sans); text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 1px 9px; vertical-align: middle; }

/* Kaartspeldje (uit vakantieverhuur) */
.vv-pin2 { display: flex !important; flex-direction: column; align-items: center; background: none; border: 0; }
.vv-pin2__head { display: flex; align-items: center; justify-content: center; background: #4A1B24; border: 3px solid #fff; border-radius: 50%; box-sizing: border-box; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.vv-pin2__stem { width: 3px; background: #4A1B24; margin-top: -1px; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.vv-pin2__dot { width: 6px; height: 6px; margin-top: -2px; border-radius: 50%; background: #4A1B24; border: 1px solid #fff; }

/* 0.5.0: gsm – datumvelden binnen het scherm */
.vv-period input[type=date] { min-width: 0; width: 100%; max-width: 100%; box-sizing: border-box; }

/* 0.5.2: prijstabel Adverteren */
.vv-packs thead th { vertical-align: bottom; padding-top: 16px; padding-bottom: 14px; font-size: 17px; }
.vv-packs td { vertical-align: middle; }
.vv-packs td:not(:first-child) { white-space: nowrap; }
.vv-packs td:last-child, .vv-packs th:last-child { background: rgba(122, 46, 58, .04); }
.vv-packprice { display: block; font-weight: 400; margin-top: 6px; }
.vv-packprice .vv-intro-badge { margin: 0 0 6px; }
.vv-packprice .vv-price-main { display: block; line-height: 1.1; }
.vv-packprice .vv-price-main b { font: 600 28px/1.1 var(--serif, Georgia, serif); color: var(--ink, #2A1E20); }
.vv-packprice .vv-price-main s { font-size: 15px; color: var(--muted); margin-right: 2px; }
.vv-packprice .vv-price-per { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 600px) {
	/* gsm: elke eigenschap over de volle breedte, Gratis en Premium eronder naast elkaar */
	.vv-packs, .vv-packs thead, .vv-packs tbody { display: block; width: 100%; }
	.vv-packs tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
	.vv-packs th, .vv-packs td { display: block; border-bottom: 0; padding: 8px 10px; }
	.vv-packs thead th:first-child { display: none; }
	.vv-packs thead th { font-size: 16px; padding: 14px 10px 12px; }
	.vv-packs td:first-child { grid-column: 1 / -1; text-align: left; font-weight: 600; font-size: 14.5px; padding: 12px 14px 2px; background: transparent; }
	.vv-packs td:not(:first-child) { white-space: normal; font-size: 14.5px; padding: 2px 10px 12px; }
	.vv-packs td:last-child { background: transparent; color: var(--sea, #7A2E3A); font-weight: 600; }
	.vv-packprice .vv-price-main b { font-size: 26px; }
	.vv-packs td:first-child, .vv-packs th:first-child { width: auto; }
	.vv-packs thead th, .vv-packs thead th:last-child { background: var(--sand); }
	.vv-packs .vv-intro-badge { font-size: 11px; }
}

/* 0.6.7: opstartpagina */
.launch-hero { padding: 64px 0 72px; background: linear-gradient(135deg, #4A1B24 0%, #7A2E3A 70%, #8E3A47 100%); }
.launch-hero h1 { max-width: 820px; }
.launch-kicker { display: inline-block; margin: 0 0 14px !important; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.14); font: 600 13px var(--sans) !important; letter-spacing: .04em; text-transform: uppercase; color: #fff !important; }
.launch-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.vv-btn--light { background: #fff; color: var(--sea) !important; }
.vv-btn--light:hover { background: var(--sand); }
.vv-btn--onhero { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.7); }
.vv-btn--onhero:hover { background: rgba(255,255,255,.14); }
.launch-offer { padding: 34px 0; }
.launch-offer .box { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: center; border-left: 5px solid var(--gold, #C9A24A); }
.launch-offer h2 { margin: 0 0 8px; }
.launch-offer p { margin: 0; color: var(--ink-2); }
.launch-meter { text-align: center; }
.launch-meter strong { display: block; font: 600 54px/1 var(--serif, Georgia, serif); color: var(--sea); }
.launch-meter span { display: block; margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); }
.launch-meter__bar { height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.launch-meter__bar i { display: block; height: 100%; border-radius: 999px; background: var(--gold, #C9A24A); }
.launch-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: stap; }
.launch-steps li { counter-increment: stap; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 20px 22px; }
.launch-steps li::before { content: counter(stap); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--sea); color: #fff; font: 600 16px var(--sans); }
.launch-steps strong { display: block; font: 600 19px/1.25 var(--serif, Georgia, serif); margin-bottom: 6px; }
.launch-steps span { color: var(--ink-2); font-size: 15px; }
.launch-why { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.launch-list { list-style: none; margin: 14px 0 0; padding: 0; }
.launch-list li { position: relative; padding: 0 0 12px 30px; font-size: 17px; }
.launch-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sea); font-weight: 700; }
.launch-why .box h3 { margin-top: 0; }
@media (max-width: 800px) {
	.launch-hero { padding: 44px 0 52px; }
	.launch-steps + .launch-cta { margin-top: 20px !important; }
	.launch-offer .box, .launch-why { grid-template-columns: minmax(0, 1fr); }
	.launch-steps { grid-template-columns: minmax(0, 1fr); }
	.launch-meter { text-align: left; }
	.launch-cta .vv-btn { flex: 1 1 100%; text-align: center; }
}
