/* iWater – Find klinik */
.iw-fk {
	--iwfk-radius: 14px;
	--iwfk-gap: 22px;
	--iwfk-field-border: #d9d4d0;
	--iwfk-navy: var(--global-palette3, #16233d);
	--iwfk-ink: var(--global-palette4, #2b3648);
	--iwfk-muted: #6b7480;
	--iwfk-bg: #ffffff;
	--iwfk-card: #f3f1f0;
	color: var(--iwfk-ink);
	font-size: 16px;
	line-height: 1.5;
}
.iw-fk *,
.iw-fk *::before,
.iw-fk *::after {
	box-sizing: border-box;
}

/* Toolbar */
.iw-fk .iw-fk-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: var(--iwfk-gap);
}
.iw-fk .iw-fk-search {
	position: relative;
	flex: 1 1 260px;
	min-width: 0;
	display: block;
}
.iw-fk .iw-fk-search-ico {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	color: var(--iwfk-muted);
	pointer-events: none;
	z-index: 1;
}

/* Shared field sizing so search + selects are identical height + shape */
.iw-fk .iw-fk-input,
.iw-fk .iw-fk-select {
	height: 48px;
	margin: 0;
	border: 1px solid var(--iwfk-field-border);
	border-radius: 10px !important;
	background-color: var(--iwfk-bg);
	color: var(--iwfk-ink);
	font-size: 15px;
	line-height: normal;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
}
.iw-fk .iw-fk-input {
	width: 100%;
	padding: 0 16px 0 44px;
	background-image: none;
}
.iw-fk .iw-fk-input::-webkit-search-decoration,
.iw-fk .iw-fk-input::-webkit-search-cancel-button,
.iw-fk .iw-fk-input::-webkit-search-results-button {
	-webkit-appearance: none;
	display: none;
}
.iw-fk .iw-fk-input:focus,
.iw-fk .iw-fk-select:focus {
	outline: none;
	border-color: var(--iwfk-navy);
	box-shadow: 0 0 0 3px rgba(22, 35, 61, .08) !important;
}
.iw-fk .iw-fk-filters {
	display: flex;
	gap: 12px;
	flex: 0 1 auto;
}
.iw-fk .iw-fk-select {
	padding: 0 40px 0 16px;
	background-image: 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='%236b7480' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}

/* Body layout */
.iw-fk .iw-fk-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--iwfk-gap);
	align-items: start;
}
.iw-fk .iw-fk-list-wrap {
	min-width: 0;
	max-height: 660px;
	overflow-y: auto;
	/* left/top/bottom room so the active-card ring is not clipped by the scroll box */
	padding: 3px 6px 3px 4px;
}
.iw-fk .iw-fk-count {
	margin: 0 0 12px;
	padding: 0;
	font-size: 14px;
	color: var(--iwfk-muted);
}
.iw-fk .iw-fk-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.iw-fk .iw-fk-list > li {
	margin: 0;
	padding: 14px 18px;
	list-style: none;
}
.iw-fk .iw-fk-list > li::before {
	display: none;
}
.iw-fk .iw-fk-empty {
	margin: 8px 2px;
	color: var(--iwfk-muted);
}

/* Card */
.iw-fk .iw-fk-card {
	display: flex;
	align-items: center;
	gap: 16px;
	border: 0 !important;
	border-radius: var(--iwfk-radius);
	background: var(--iwfk-card);
	cursor: pointer;
	transition: box-shadow .15s ease, background-color .15s ease;
}
.iw-fk .iw-fk-card:hover {
	box-shadow: 0 6px 18px rgba(22, 35, 61, .10);
}
.iw-fk .iw-fk-card.is-active {
	box-shadow: 0 0 0 2px var(--iwfk-navy);
}
.iw-fk .iw-fk-card[hidden] {
	display: none !important;
}
.iw-fk .iw-fk-card-media {
	flex: 0 0 auto;
}
.iw-fk .iw-fk-logo,
.iw-fk .iw-fk-logo-ph {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.iw-fk .iw-fk-logo {
	object-fit: contain;
	padding: 6px;
}
.iw-fk .iw-fk-logo-ph {
	font-weight: 600;
	font-size: 18px;
	color: var(--iwfk-navy);
	letter-spacing: .5px;
}
.iw-fk .iw-fk-card-body {
	flex: 1 1 auto;
	min-width: 0;
}
.iw-fk .iw-fk-card-body .iw-fk-name {
	margin: 0 0 1px;
	padding: 0;
	font-size: 17px;
	line-height: 1.25;
	color: var(--iwfk-navy);
	font-weight: 600;
}
.iw-fk .iw-fk-card-body .iw-fk-meta {
	margin: 0 0 2px;
	padding: 0;
	font-size: 13.5px;
	color: var(--iwfk-muted);
}
.iw-fk .iw-fk-card-body .iw-fk-tagline {
	margin: 0 0 4px;
	padding: 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--iwfk-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.iw-fk .iw-fk-card-body .iw-fk-phone {
	margin: 0;
}
.iw-fk .iw-fk-phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--iwfk-navy);
	text-decoration: none;
}
.iw-fk .iw-fk-phone:hover {
	text-decoration: underline;
}
.iw-fk .iw-fk-phone-ico {
	display: inline-flex;
	color: var(--iwfk-muted);
}

/* Actions */
.iw-fk .iw-fk-actions {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: stretch;
}
.iw-fk .iw-fk-btn {
	display: inline-block;
	padding: 9px 16px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.iw-fk .iw-fk-see {
	background: var(--iwfk-navy);
	color: #fff;
	border: 1px solid var(--iwfk-navy);
}
.iw-fk .iw-fk-see:hover {
	background: transparent;
	color: var(--iwfk-navy);
}
.iw-fk .iw-fk-route {
	background: transparent;
	color: var(--iwfk-navy);
	border: 1px solid var(--iwfk-field-border);
}
.iw-fk .iw-fk-route:hover {
	border-color: var(--iwfk-navy);
	background: #fff;
}

/* Map */
.iw-fk .iw-fk-map-wrap {
	position: sticky;
	top: 24px;
	min-width: 0;
}
.iw-fk .iw-fk-map {
	width: 100%;
	height: 660px;
	border-radius: var(--iwfk-radius);
	border: 0 !important;
	overflow: hidden;
	background: #eceae8;
}
.iw-fk.iw-fk--nomap .iw-fk-body {
	grid-template-columns: minmax(0, 1fr);
}

/* Info window (Google Maps popup).
   NOTE: never set position/transform on .gm-style-iw-c — Google positions it
   relative to the marker; overriding it detaches the popup from the pin. */
.iw-fk .gm-style .gm-style-iw-c {
	padding: 14px !important;
	border-radius: 14px !important;
	background: #fff !important;
	box-shadow: 0 10px 34px rgba(16, 35, 61, .20) !important;
}
/* Google's header row is turned off via JS (headerDisabled); hide it as a
   flow-safe fallback for older API versions. We render our own close button. */
.iw-fk .gm-style .gm-style-iw-chr {
	display: none !important;
}
.iw-fk .gm-style .gm-style-iw-d {
	overflow-x: hidden !important;
	overflow-y: auto !important;
}
.iw-fk-iw {
	position: relative;
	min-width: 200px;
	max-width: 260px;
	font-family: inherit;
	color: var(--global-palette4, #2b3648);
}
.iw-fk-iw-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7480;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}
.iw-fk-iw-close:hover {
	color: #16233d;
}
.iw-fk-iw-logo {
	max-width: 120px;
	max-height: 38px;
	object-fit: contain;
	display: block;
	margin-bottom: 10px;
}
.iw-fk-iw-name {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: #16233d;
	padding-right: 28px;
}
.iw-fk-iw-meta {
	color: #6b7480;
	font-size: 13px;
	margin: 3px 0 13px;
}
.iw-fk-iw-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.iw-fk-iw-actions a {
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
	padding: 9px 14px;
	border-radius: 8px;
}
.iw-fk-iw-see {
	background: #16233d;
	color: #fff !important;
}
.iw-fk-iw-route {
	border: 1px solid #ddd7d3;
	color: #16233d !important;
}

/* Responsive */
@media (max-width: 900px) {
	.iw-fk .iw-fk-body {
		grid-template-columns: minmax(0, 1fr);
	}
	.iw-fk .iw-fk-map-wrap {
		position: static;
		order: -1;
	}
	.iw-fk .iw-fk-map {
		height: 340px;
	}
	.iw-fk .iw-fk-list-wrap {
		max-height: none;
		overflow: visible;
	}
}
@media (max-width: 560px) {
	.iw-fk .iw-fk-card {
		flex-wrap: wrap;
	}
	.iw-fk .iw-fk-actions {
		flex-direction: row;
		width: 100%;
	}
	.iw-fk .iw-fk-btn {
		flex: 1 1 0;
	}
	.iw-fk .iw-fk-filters {
		width: 100%;
		gap: 10px;
	}
	.iw-fk .iw-fk-select {
		flex: 1 1 0;
		min-width: 0;
		padding-right: 34px;
	}
}
