.zvj-sort-mobile{display:none}
.zvj-sort-control .directorist-dropdown__links{width:290px!important;min-width:260px!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box!important;right:0!important;left:auto!important;background:#fff!important;border:1px solid #dce5f0!important;border-radius:12px!important;padding:8px!important;z-index:999!important}
.zvj-sort-control .directorist-dropdown__links form{width:100%!important;margin:0!important}
.zvj-sort-control .directorist-dropdown__links a{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:break-word!important;padding:12px 14px!important;line-height:1.5!important;height:auto!important;color:#183b65!important;background:#fff;border-radius:7px;font-size:15px!important}
.zvj-sort-control .directorist-dropdown__links a:hover,.zvj-sort-control .directorist-dropdown__links a:focus-visible{background:#edf4fc!important;color:#123459!important}
/* Het bestaande sorteervak op alle schermformaten. */
@media(min-width:0px){
 .directorist-archive-contents .directorist-listings-header__right{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:0 0 100%!important;box-sizing:border-box!important}
 .directorist-archive-contents .directorist-listings-header__right > .zvj-sort-control{display:block!important;position:relative!important;inset:auto!important;float:none!important;transform:none!important;order:2;flex:0 0 100%;width:100%!important;max-width:100%!important;min-width:0!important;margin:4px 0 12px!important;box-sizing:border-box!important}
 .zvj-sort-control .zvj-sort-desktop{display:none!important}
 .zvj-sort-control .zvj-sort-mobile{display:block!important;position:static!important;box-sizing:border-box;width:100%;min-width:0;margin:0;padding:12px;border:1px solid #dce7f2;border-radius:12px;background:#f7faff}
 .zvj-sort-mobile label{display:block;margin:0 0 8px;font-size:14px;font-weight:700;line-height:1.4;color:#163b64}
 .zvj-sort-fields{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;min-width:0}
 .zvj-sort-fields select{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:48px!important;min-height:48px!important;max-height:none!important;padding:0 28px 0 12px!important;margin:0!important;font-family:inherit!important;font-size:16px!important;line-height:1.4!important;font-weight:500!important;color:#244568!important;background-color:#fff!important;border:1px solid #cad8e8!important;border-radius:8px!important;text-indent:0!important;text-overflow:ellipsis;white-space:nowrap;-webkit-appearance:none!important;appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2214%22 height=%2214%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23244568%22 stroke-width=%222%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 9px center!important;background-size:14px 14px!important}
 .zvj-sort-fields button{justify-self:stretch;width:100%;box-sizing:border-box;min-width:0;min-height:48px;height:auto;margin:0;padding:10px 12px;border:0;border-radius:8px;background:#215d9d!important;color:#fff!important;font-size:14px;font-weight:750;line-height:1.4;white-space:nowrap;cursor:pointer}
 .zvj-sort-fields button:disabled{opacity:.65;cursor:wait}
 .zvj-sort-fields select:focus-visible,.zvj-sort-fields button:focus-visible{outline:3px solid #ed942c;outline-offset:2px}
}

@media(max-width:767px){.directorist-archive-contents .directorist-viewas,.directorist-archive-contents .directorist-archive-sidebar-toggle{display:none!important}}

.directorist-archive-contents .directorist-viewas{display:none!important}

/* Compacte pc-bediening; mobiele opmaak blijft behouden. */
@media(min-width:768px){
 .directorist-archive-contents .directorist-listings-header__right{width:auto!important;flex:0 1 auto!important;margin-left:auto!important;justify-content:flex-end!important}
 .directorist-archive-contents .directorist-listings-header__right > .zvj-sort-control{width:auto!important;flex:0 1 auto!important;margin:0!important}
 .zvj-sort-control .zvj-sort-mobile{display:flex!important;align-items:center;gap:10px;width:auto;max-width:100%;padding:9px 12px;border-radius:10px}
 .zvj-sort-mobile label{margin:0;white-space:nowrap;font-size:13px}
 .zvj-sort-fields{grid-template-columns:minmax(200px,250px) 100px;gap:8px}
 .zvj-sort-fields select{height:40px!important;min-height:40px!important;font-size:14px!important}
 .zvj-sort-fields button{min-height:40px;font-size:13px;padding:8px 12px}
}

/* Zoekbalk en sorteren in dezelfde huisstijl. */
.directorist-basic-search .directorist-search-form__box{background:#f7faff!important;border:1px solid #dce7f2!important;border-radius:10px!important;box-shadow:none!important;padding:12px!important}
.directorist-basic-search .directorist-search-field{background:#fff!important;border:1px solid #cad8e8!important;border-radius:8px!important;color:#244568!important}
.directorist-basic-search .directorist-search-field__label,.directorist-basic-search .directorist-search-field__input,.directorist-basic-search .select2-selection__rendered{color:#244568!important}
.directorist-basic-search .directorist-search-form__top{gap:10px!important}
@media(min-width:768px){
 .directorist-archive-contents .directorist-listings-header__right{width:calc(50% - 15px)!important;flex:0 0 calc(50% - 15px)!important}
 .directorist-archive-contents .directorist-listings-header__right > .zvj-sort-control{width:100%!important;flex:1 1 100%!important}
 .zvj-sort-control .zvj-sort-mobile{width:100%!important}
 .zvj-sort-fields{flex:1;grid-template-columns:minmax(0,1fr) 100px}
 .directorist-basic-search .directorist-search-form__top > .directorist-search-field{flex:1 1 0!important;min-width:0!important}
}

/* Zelfde letters als de sorteerselection. */
.directorist-basic-search{--zvj-search-font-size:16px}
.directorist-basic-search .directorist-search-field__label,
.directorist-basic-search .directorist-search-field__input,
.directorist-basic-search .select2-selection__rendered,
.directorist-basic-search .select2-selection__placeholder{
 font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif!important;
 font-size:var(--zvj-search-font-size)!important;font-weight:500!important;color:#244568!important;line-height:1.4!important;
}
.directorist-basic-search input::placeholder{font-family:inherit!important;font-size:inherit!important;font-weight:500!important;color:#244568!important;opacity:1!important}
@media(min-width:768px){
 .directorist-basic-search{--zvj-search-font-size:14px}
 .directorist-archive-contents .directorist-listings-header__right{width:var(--zvj-sort-card-width,calc(50% - 15px))!important;flex:0 0 var(--zvj-sort-card-width,calc(50% - 15px))!important}
 .zvj-sort-control .zvj-sort-mobile{flex-wrap:wrap}
 .zvj-sort-mobile label{flex:0 0 auto}
 .zvj-sort-fields{min-width:0;grid-template-columns:minmax(0,1fr) 90px}
}

/* Gelijke binnenruimte tussen tekst en veldrand. */
.directorist-basic-search .directorist-search-field__label{left:12px!important;max-width:calc(100% - 48px)}
.directorist-basic-search input.directorist-search-field__input{padding-left:12px!important;padding-right:38px!important;box-sizing:border-box!important}
.directorist-basic-search .select2-selection__rendered{padding-left:12px!important;padding-right:38px!important;box-sizing:border-box!important}

body .directorist-basic-search .directorist-search-field .select2-container .select2-selection .select2-selection__rendered{padding-left:12px!important;padding-right:38px!important}

/* Mobiel: iconen met dezelfde binnenmarge als de tekst. */
@media(max-width:767px){
 body .directorist-basic-search .directorist-search-location .directorist-filter-location-icon{right:12px!important;left:auto!important;margin-right:0!important}
 body .directorist-basic-search .directorist-search-category .directorist-select2-addons-area{right:12px!important;left:auto!important;margin-right:0!important}
 body .directorist-basic-search .directorist-search-category .select2-selection__arrow{right:12px!important;left:auto!important}
}
