/**
 * Verkooppunten (store locator) — Handmade by Charlie.
 * Interactive Leaflet map + designed stockist cards + Etsy callout + past
 * stockists. Loaded on page 15958 only. Palette from tokens.css.
 */

.hbc-vp {
	--vp-border: #F7D1B5;
	--vp-ink: #000;
	--vp-body: #4A4237;
	--vp-muted: #6B6152;
	--vp-terracotta: #EBB75F;
	--vp-terracotta-dark: #E1981C;
	--vp-berry: #C34121;
	--vp-berry-dark: #822B16;
	--vp-paper: #FDFFFC;
	--vp-cream: #FBF3E9;
}

/* --- Map -------------------------------------------------------------------- */
.hbc-vp-map {
	height: 460px;
	margin: 28px 0 0;
	border: 1px solid var(--vp-border);
	position: relative;
	z-index: 0;
	background: #eef2f0;
}
.hbc-vp-map .leaflet-container {
	height: 100%;
	width: 100%;
	font-family: inherit;
	background: #eef2f0;
	z-index: 0;
}
/* Keep Leaflet controls under the site header. */
.hbc-vp-map .leaflet-top,
.hbc-vp-map .leaflet-bottom {
	z-index: 400;
}
.hbc-vp-map .leaflet-bar a {
	border-radius: 0;
	color: var(--vp-ink);
}
.hbc-vp-map .leaflet-bar a:hover {
	color: var(--vp-terracotta);
}

/* Coin pin (SVG divIcon, drawn in functions.php): a drop pin whose head is a
   milled-edge coin with a serif C. Soft ground shadow, gentle lift on hover. */
.hbc-vp-pin {
	background: none;
	border: 0;
}
.hbc-vp-pin svg {
	display: block;
	filter: drop-shadow(0 3px 4px rgba(33, 29, 23, 0.35));
	transform-origin: 50% 100%;
	transition: transform 0.18s ease;
}
.hbc-vp-pin:hover svg,
.hbc-vp-pin:focus-visible svg {
	transform: translateY(-3px) scale(1.06);
}
@media (prefers-reduced-motion: reduce) {
	.hbc-vp-pin svg { transition: none; }
	.hbc-vp-pin:hover svg { transform: none; }
}

/* --- Search (filters cards + pins) ------------------------------------------ */
.hbc-vp-search {
	margin: 26px 0 0;
	max-width: 420px;
}
.hbc-vp .hbc-vp-search__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--vp-ink);
	margin: 0 0 8px;
}
.hbc-vp-search__field {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #D0C2A4;
	background: var(--vp-paper);
	padding: 0 14px;
	height: 48px;
}
.hbc-vp-search__field:focus-within {
	border-color: var(--vp-ink);
}
.hbc-vp-search__icon {
	flex: 0 0 auto;
	color: var(--vp-muted);
}
.hbc-vp .hbc-vp-search__field input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--vp-ink);
	height: 100%;
	padding: 0;
	margin: 0;
	outline: none;
	box-shadow: none;
}
.hbc-vp .hbc-vp-search__field input::placeholder {
	color: var(--vp-muted);
	opacity: 1;
}

/* Search empty state under the card grid. */
.hbc-vp .hbc-vp-empty {
	margin: 18px 0 0;
	font-size: 14.5px;
	color: var(--vp-muted);
	border: 1px dashed #D0C2A4;
	padding: 18px 20px;
}

/* Popup, palette-matched. */
.hbc-vp-map .leaflet-popup-content-wrapper {
	border-radius: 0;
	background: var(--vp-paper);
	box-shadow: 0 6px 22px rgba(33, 29, 23, 0.14);
}
.hbc-vp-map .leaflet-popup-tip {
	background: var(--vp-paper);
}
.hbc-vp-map .leaflet-popup-content {
	margin: 14px 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--vp-body);
}
.hbc-vp-pop__name {
	font-family: var(--font-display, 'EB Garamond', serif);
	font-size: 17px;
	color: var(--vp-ink);
	display: block;
	margin-bottom: 2px;
}
.hbc-vp-pop__city {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vp-muted);
	display: block;
	margin-bottom: 8px;
}
.hbc-vp-pop__links {
	display: flex;
	gap: 14px;
	margin-top: 6px;
}
.hbc-vp-map .hbc-vp-pop__links a {
	color: var(--vp-terracotta);
	font-weight: 600;
	text-decoration: none;
	font-size: 13px;
}
.hbc-vp-map .hbc-vp-pop__links a:hover {
	color: var(--vp-terracotta-dark);
	text-decoration: underline;
}

/* --- Section headings ------------------------------------------------------ */
.hbc-vp-section-title {
	font-family: var(--font-display, 'EB Garamond', serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--vp-ink);
	margin: 52px 0 4px;
}
.hbc-vp-section-sub {
	font-size: 14.5px;
	color: var(--vp-muted);
	margin: 0 0 22px;
	/* No max-width: the 620px cap wrapped this to 3 short lines with a wide
	   empty gutter beside it, even though the section is full-page-width. */
	max-width: none;
}
/* The inline "Neem dan contact met me op" link to the contact page. */
.hbc-vp .hbc-vp-section-sub a {
	color: var(--vp-terracotta);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hbc-vp .hbc-vp-section-sub a:hover {
	color: var(--vp-terracotta-dark);
}

/* --- Current stockist cards ------------------------------------------------ */
.hbc-vp-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.hbc-vp-card {
	border: 1px solid var(--vp-border);
	padding: 26px 26px 22px;
	display: flex;
	flex-direction: column;
	background: var(--vp-paper);
}
.hbc-vp-card__city {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vp-muted);
	margin: 0 0 6px;
}
.hbc-vp-card__name {
	font-family: var(--font-display, 'EB Garamond', serif);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 12px;
}
.hbc-vp .hbc-vp-card__name a {
	color: var(--vp-ink);
	text-decoration: none;
}
.hbc-vp .hbc-vp-card__name a:hover {
	color: var(--vp-terracotta);
}
.hbc-vp-card__desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--vp-muted);
	margin: 0 0 18px;
	flex: 1 1 auto;
}
.hbc-vp-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}
/* `.hbc-vp a.hbc-vp-btn` (0,2,1) beats the theme's `.entry-content a` link
   colour (0,2,0), so the solid button's paper text isn't overridden to ink
   (which would be invisible on the ink fill). */
.hbc-vp a.hbc-vp-btn,
.hbc-vp a.hbc-vp-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	padding: 10px 16px;
	text-decoration: none;
	border: 1px solid var(--vp-ink);
	color: var(--vp-ink);
	background: transparent;
	transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.hbc-vp a.hbc-vp-btn:hover {
	background: var(--vp-ink);
	color: var(--vp-paper);
}
.hbc-vp a.hbc-vp-btn--solid,
.hbc-vp a.hbc-vp-btn--solid:visited {
	background: var(--vp-berry);
	border-color: var(--vp-berry);
	color: #fff;
}
.hbc-vp a.hbc-vp-btn--solid:hover {
	background: var(--vp-berry-dark);
	border-color: var(--vp-berry-dark);
	color: #fff;
}

/* --- Etsy callout ---------------------------------------------------------- */
.hbc-vp-etsy {
	margin-top: 40px;
	border: 1px solid var(--vp-border);
	background: var(--vp-cream);
	padding: 34px 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
}
.hbc-vp-etsy__eyebrow {
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--vp-terracotta);
	margin: 0 0 8px;
}
.hbc-vp-etsy__title {
	font-family: var(--font-display, 'EB Garamond', serif);
	font-size: 24px;
	font-weight: 600;
	color: var(--vp-ink);
	margin: 0 0 8px;
}
.hbc-vp-etsy__text {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--vp-body);
	margin: 0;
	max-width: 520px;
}
.hbc-vp-etsy__cta {
	flex: 0 0 auto;
}

/* --- Past stockists -------------------------------------------------------- */
.hbc-vp-past {
	margin-top: 54px;
	border-top: 1px solid var(--vp-border);
	padding-top: 30px;
}
.hbc-vp-past__title {
	font-family: var(--font-display, 'EB Garamond', serif);
	font-size: 20px;
	font-weight: 600;
	color: var(--vp-ink);
	margin: 0 0 4px;
}
.hbc-vp-past__sub {
	font-size: 14px;
	color: var(--vp-muted);
	margin: 0 0 18px;
}
/* The inline "Stuur me een bericht" link to the contact page. */
.hbc-vp .hbc-vp-past__sub a {
	color: var(--vp-terracotta);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.hbc-vp .hbc-vp-past__sub a:hover {
	color: var(--vp-terracotta-dark);
}
.hbc-vp-past__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 24px;
}
.hbc-vp-past__list li {
	font-size: 14px;
	color: var(--vp-muted);
	line-height: 1.5;
	padding: 4px 0;
	border-bottom: 1px solid #EFE7D6;
}
.hbc-vp .hbc-vp-past__list a {
	color: var(--vp-body);
	text-decoration: none;
	font-weight: 600;
}
.hbc-vp .hbc-vp-past__list a:hover {
	color: var(--vp-terracotta);
}
.hbc-vp-past__city {
	color: var(--vp-muted);
	font-weight: 400;
}

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
	.hbc-vp-past__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.hbc-vp-map {
		height: 340px;
	}
	.hbc-vp-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.hbc-vp-etsy {
		padding: 26px 22px;
	}
	.hbc-vp-past__list {
		grid-template-columns: minmax(0, 1fr);
	}
	.hbc-vp-section-title {
		font-size: 21px;
	}
}

/* --- Spacing overrides ------------------------------------------------------
   The locator sits inside .entry-content, whose theme rules apply a ~32px
   vertical rhythm to every <p>/<h2>/<h3>; that inflated the gaps (e.g. the
   card's city->name gap). These re-declare each element's intended margin at
   higher specificity so the theme rhythm no longer leaks in. */
.hbc-vp .hbc-vp-title { margin: 0 0 8px; }
.hbc-vp .hbc-vp-section-title { margin: 52px 0 4px; }
.hbc-vp .hbc-vp-section-sub { margin: 0 0 22px; }
.hbc-vp .hbc-vp-card > * { margin-top: 0; }
.hbc-vp .hbc-vp-card .hbc-vp-card__city { margin: 0 0 6px; }
.hbc-vp .hbc-vp-card .hbc-vp-card__name { margin: 0 0 12px; }
.hbc-vp .hbc-vp-card .hbc-vp-card__desc { margin: 0 0 18px; }
.hbc-vp .hbc-vp-etsy__eyebrow { margin: 0 0 8px; }
.hbc-vp .hbc-vp-etsy__title { margin: 0 0 8px; }
.hbc-vp .hbc-vp-etsy__text { margin: 0; }
.hbc-vp .hbc-vp-past__title { margin: 0 0 4px; }
.hbc-vp .hbc-vp-past__sub { margin: 0 0 18px; }
.hbc-vp .hbc-vp-past__list li { margin: 0; }
/* The UA's native clear button is off-palette (blue on WebKit); the field is
   short enough that backspace covers clearing. */
.hbc-vp-search__field input::-webkit-search-cancel-button,
.hbc-vp-search__field input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
}
