/* ==========================================================================
   ORI Clean Dealers — front-end stijl
   Kleuren sluiten aan op de ORI-branding. Pas gerust aan naar wens.
   ========================================================================== */
.ori-dealers {
	--ori-red: #E30613;
	--ori-ink: #121416;
	--ori-body: #45484d;
	--ori-grey: #A7ACB3;
	--ori-light: #E6E6E6;
	--ori-warm: #EFEDEA;
	--ori-white: #fff;
	font-family: inherit;
	color: var(--ori-ink);
}

.ori-dealers *,
.ori-dealer-search * { box-sizing: border-box; }

/* ---- Zoekbalk ---- */
.od-search {
	background: var(--ori-white);
	border: 1px solid rgba(0, 0, 0, .08);
	padding: 20px;
	margin-bottom: 28px;
}
.od-form {
	display: grid;
	grid-template-columns: 1fr 170px 190px auto auto;
	gap: 12px;
}
.od-field { position: relative; display: flex; align-items: center; }
.od-field svg {
	position: absolute; left: 14px; width: 20px; height: 20px;
	fill: none; stroke: var(--ori-grey); stroke-width: 1.6;
}
.od-field input {
	width: 100%; border: 1px solid var(--ori-grey); background: var(--ori-white);
	padding: 14px 14px 14px 44px; font: inherit; font-size: 15px; color: var(--ori-ink);
}
.od-field input:focus { outline: none; border-color: var(--ori-ink); box-shadow: inset 0 -2px 0 var(--ori-ink); }
.od-form select {
	border: 1px solid var(--ori-grey); background: var(--ori-white);
	padding: 14px; font: inherit; font-size: 14px; color: var(--ori-ink); cursor: pointer;
}
#od-search-btn {
	background: var(--ori-ink); color: #fff; border: 0; padding: 14px 24px;
	font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	font-size: 13px; cursor: pointer; white-space: nowrap;
}
#od-search-btn:hover { background: var(--ori-ink); }
#od-geo-btn {
	background: var(--ori-ink); border: 0; width: 50px; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
#od-geo-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; }
#od-geo-btn:hover { background: #000; }
#od-geo-btn.is-loading { opacity: .5; pointer-events: none; }
@media (max-width: 860px) { .od-form { grid-template-columns: 1fr; } #od-geo-btn { width: 100%; height: 46px; } }

/* ---- Layout: lijst + kaart ---- */
.od-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}
@media (max-width: 860px) { .od-layout { grid-template-columns: 1fr; } .od-map-col { order: -1; } }

/* ---- Lijst ---- */
.od-count {
	font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	font-size: 15px; margin: 0 0 16px;
}
.od-list { display: flex; flex-direction: column; }
.od-card {
	background: var(--ori-white); border: 1px solid rgba(0, 0, 0, .08);
	padding: 20px 22px; margin-bottom: 12px; display: flex; gap: 16px; cursor: pointer;
	transition: border-color .16s, box-shadow .16s;
}
.od-card:hover, .od-card.is-active { border-color: var(--ori-ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .06); }
.od-card-body { min-width: 0; }
.od-card h3 {
	font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
	margin: 0 0 6px; color: var(--ori-ink);
}
.od-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.od-tag {
	font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	padding: 3px 9px; background: var(--ori-warm); color: var(--ori-ink);
}
.od-tag--red { background: var(--ori-red); color: #fff; }
.od-addr { font-size: 14px; color: var(--ori-body); line-height: 1.5; margin: 0 0 10px; }
.od-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; }
.od-meta a { color: var(--ori-ink); font-weight: 600; text-decoration: none; }
.od-meta a:hover { color: var(--ori-red); }
.od-dist { margin-left: auto; font-weight: 700; font-size: 14px; color: var(--ori-red); white-space: nowrap; }
.od-none { padding: 16px 0; color: var(--ori-grey); }

/* ---- Kaart ---- */
.od-map-col { position: sticky; top: 20px; }
.od-map {
	width: 100%; height: 620px; background: var(--ori-warm);
	border: 1px solid rgba(0, 0, 0, .08);
}
@media (max-width: 860px) { .od-map-col { position: static; } .od-map { height: 380px; } }

/* Info-venster op de kaart */
.od-iw { display: flex; flex-direction: column; gap: 3px; padding: 2px 4px; min-width: 180px; }
.od-iw strong { font-size: 15px; }
.od-iw span { font-size: 13px; color: #555; }
.od-iw a { font-size: 13px; color: var(--ori-red); font-weight: 600; text-decoration: none; }

/* ---- Los zoekveld ([ori_dealer_search]) ---- */
.ori-dealer-search {
	display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
	--ori-red: #E30613; --ori-ink: #121416; --ori-grey: #A7ACB3;
	border-radius: 0px;
}
.ori-dealer-search .ods-title {
	flex-basis: 100%; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	font-size: 14px; color: var(--ori-ink); margin-bottom: 4px;
}
.ori-dealer-search .ods-field { position: relative; flex: 1; min-width: 220px; display: flex; align-items: center; }
.ori-dealer-search .ods-field svg {
	position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--ori-grey); stroke-width: 1.6;
}
.ori-dealer-search input {
	width: 100%; border: 1px solid var(--ori-grey); background: #fff;
	border-radius: 0px;
	padding: 14px 14px 14px 44px; font: inherit; font-size: 15px; color: var(--ori-ink);
}
.ori-dealer-search input:focus { outline: none; border-color: var(--ori-ink); box-shadow: inset 0 -2px 0 var(--ori-ink); }
.ori-dealer-search button {
	font-family: "Rajdhani", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0px 0px 0px 0px;
    padding: 23px 30px 23px 30px;
	background: var(--ori-ink); color: #fff; border: 0; padding: 14px 26px;
	
}
.ori-dealer-search button:hover { background: var(--ori-ink); }

/* ---- Meldingen (alleen zichtbaar voor beheerder) ---- */
.ori-dealers-notice {
	background: #fff4f4; border: 1px solid #f3c2c2; color: var(--ori-ink);
	padding: 16px 18px; font-size: 14px; line-height: 1.5;
}
.ori-dealers-notice code { background: #fff; padding: 1px 5px; border: 1px solid #eecccc; }
