/**
 * Profesionales — mapa inmersivo YoLaburo (mobile-first).
 * Una tarjeta flotante arriba + un dock abajo. El mapa es el escenario.
 */

body.zp-profesionales-proto-page {
	--ylb-blue: #1d4ed8;
	--ylb-blue-dark: #1e40af;
	--ylb-text: #0a1628;
	--ylb-muted: #64748b;
	--ylb-line: rgba(226, 232, 240, 0.95);
	--ylb-glass: rgba(255, 255, 255, 0.88);
	--ylb-shadow:
		0 1px 0 rgba(255, 255, 255, 0.9) inset,
		0 8px 28px rgba(15, 23, 42, 0.12),
		0 2px 8px rgba(15, 23, 42, 0.06);
	--zp-prof-header-h: env(safe-area-inset-top, 0px);
	--zp-prof-chrome-h: 100px;
	--zp-prof-dock-h: 130px;
	--zp-prof-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
	font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	overflow: auto;
	color: var(--ylb-text);
}

/* Standalone /cerca/profesionales: gris de página. En fusión /cerca/?vista=profesionales el fondo lo define zp-cerca-list. */
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) {
	background: #f4f5f7 !important;
}

body.zp-profesionales-proto-page:has(.zp-prof.is-view-map),
body.zp-profesionales-proto-page.zp-prof-view-map {
	overflow: hidden !important;
	overscroll-behavior: none;
	height: 100dvh;
	max-height: 100dvh;
}

/* Evitar que el footer del sitio asome detrás del mapa si el scroll quedó abajo. */
body.zp-profesionales-proto-page.zp-prof-view-map #footer,
body.zp-profesionales-proto-page.zp-prof-view-map footer.footer,
body.zp-profesionales-proto-page.zp-prof-view-map .fre-footer,
body.zp-profesionales-proto-page.zp-prof-view-map .et-footer,
body.zp-profesionales-proto-page.zp-prof-view-map #colophon {
	display: none !important;
}

/* Header del sitio: ocultar solo en mapa standalone; en /cerca/?vista=profesionales se mantiene. */
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) .zp-header--2026,
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) header.zp-header,
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof).zp-zippyn-light-surfaces .zp-header--2026,
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof).zp-zippyn-light-surfaces header.zp-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 1600 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: none !important;
	overflow: visible !important;
	padding: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	pointer-events: none !important;
}

body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) .zp-header--2026 .zp-header-nav__mobile-bar,
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) .zp-header--2026 .zp-container.zp-header-nav,
body.zp-profesionales-proto-page:not(.zp-cerca-fusion--prof) .zp-header--2026 .zp-header-nav__desktop {
	display: none !important;
}

body.zp-profesionales-proto-page #zp-drawer,
body.zp-profesionales-proto-page .zp-drawer,
body.zp-profesionales-proto-page .zp-drawer-toggle {
	pointer-events: auto !important;
}

/* Hamburguesa: por arriba de mapa, dock, bottom nav (9999) y cats (10050) */
body.zp-profesionales-proto-page #zp-drawer-overlay,
body.zp-profesionales-proto-page .zp-drawer-overlay {
	z-index: 12010 !important;
	pointer-events: auto !important;
}

body.zp-profesionales-proto-page #zp-drawer-overlay[hidden],
body.zp-profesionales-proto-page .zp-drawer-overlay[hidden] {
	pointer-events: none !important;
}

body.zp-profesionales-proto-page #zp-drawer,
body.zp-profesionales-proto-page .zp-drawer {
	z-index: 12020 !important;
}

body.zp-profesionales-proto-page.zp-drawer-open #menu-footer.zp-bottom-nav-shell,
body.zp-profesionales-proto-page.zp-drawer-open .zp-prof__chrome,
body.zp-profesionales-proto-page.zp-drawer-open .zp-prof__dock {
	visibility: hidden !important;
	pointer-events: none !important;
}

body.zp-profesionales-proto-page #page,
body.zp-profesionales-proto-page #wrapper,
body.zp-profesionales-proto-page #main,
body.zp-profesionales-proto-page .wrapper-mobile {
	padding-top: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	min-height: 100dvh;
}

body.zp-profesionales-proto-page #wpadminbar {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

/* ── Shell ── */
.zp-prof {
	position: relative;
	max-width: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	min-height: 100dvh;
	overflow: visible;
	font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	padding-bottom: calc(var(--zp-prof-bottom) + 16px);
}

.zp-prof.is-view-map {
	height: 100dvh;
	overflow: hidden;
	padding-bottom: 0;
}

/* ── Chrome Maps: pill + chips ── */
.zp-prof__chrome {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1200;
	padding: calc(env(safe-area-inset-top, 0px) + 10px) 0 8px;
	background: transparent;
	box-shadow: none;
	pointer-events: none;
}

.zp-prof.is-view-map .zp-prof__chrome {
	position: fixed;
	padding: 0;
	top: calc(env(safe-area-inset-top, 0px) + 10px);
	background: transparent;
}

.zp-prof__search-pill {
	pointer-events: auto;
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0 12px;
	height: 48px;
	padding: 0 6px 0 8px;
	border-radius: 999px;
	background: #fff;
	border: 0;
	box-shadow:
		0 1px 2px rgba(60, 64, 67, 0.3),
		0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.zp-prof__pill-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
}

.zp-prof__pill-logo img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.zp-prof__search-input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--ylb-text);
	-webkit-appearance: none;
}

.zp-prof__search-input::placeholder {
	color: #70757a;
	font-weight: 400;
}

.zp-prof__pill-menu {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 3.5px;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #5f6368;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__pill-menu span {
	display: block;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: #3c4043;
}

/* Ubicación flotante arriba del radio (sólida, no transparente) */
body.zp-profesionales-proto-page .zp-prof__loc-chip.zp-app-location-field,
.zp-prof__loc-chip {
	pointer-events: auto;
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin: 0;
	min-height: 44px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	border-bottom: 1px solid #e8eaed;
	background: #ffffff !important;
	background-color: #ffffff !important;
	box-shadow: none;
	opacity: 1 !important;
	color: #202124 !important;
	font-family: inherit;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
}

body.zp-profesionales-proto-page .zp-prof__loc-chip > .fa,
.zp-prof__loc-chip > .fa {
	flex: 0 0 auto;
	color: #1967d2 !important;
	font-size: 15px;
	opacity: 1 !important;
}

body.zp-profesionales-proto-page .zp-prof__loc-chip-text,
.zp-prof__loc-chip-text {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px !important;
	font-weight: 650 !important;
	letter-spacing: -0.01em;
	color: #202124 !important;
	opacity: 1 !important;
}

body.zp-profesionales-proto-page .zp-prof__loc-chip-edit,
.zp-prof__loc-chip-edit {
	flex: 0 0 auto;
	font-size: 12px !important;
	font-weight: 750 !important;
	color: #1967d2 !important;
	opacity: 1 !important;
}

body.zp-profesionales-proto-page .zp-prof__loc-chip.zp-app-location-field--placeholder .zp-prof__loc-chip-text {
	color: #5f6368 !important;
	font-weight: 500 !important;
}

.zp-prof__suggest {
	position: absolute;
	left: 12px;
	right: 12px;
	top: calc(100% + 8px);
	z-index: 30;
	max-height: 240px;
	overflow: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	border: 0;
	border-radius: 16px;
	background: #fff;
	box-shadow:
		0 1px 2px rgba(60, 64, 67, 0.3),
		0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.zp-prof__suggest-item {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 0;
	border-radius: 12px;
	background: transparent;
	text-align: left;
	font-size: 14px;
	font-weight: 600;
	color: var(--ylb-text);
	cursor: pointer;
}

.zp-prof__suggest-item:hover,
.zp-prof__suggest-item:focus {
	background: #eff6ff;
}

.zp-prof__suggest-meta {
	display: block;
	margin-top: 2px;
	font-size: 11px;
	font-weight: 500;
	color: #94a3b8;
}

/* Toggle Lista / Mapa */
.zp-prof__view-toggle {
	pointer-events: auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin: 10px 12px 0;
	padding: 4px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(226, 232, 240, 0.95);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.zp-prof__view-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 12px;
	border: 0;
	border-radius: 11px;
	background: transparent;
	color: #64748b;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__view-btn i {
	font-size: 14px;
}

.zp-prof__view-btn.is-active {
	background: #1d4ed8;
	color: #fff;
	box-shadow: 0 2px 8px rgba(29, 78, 216, 0.28);
}

/* Chips categorías horizontales */
.zp-prof__cat-row {
	pointer-events: auto;
	display: flex;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0 12px 2px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.zp-prof__cat-row::-webkit-scrollbar {
	display: none;
}

.zp-prof__cat-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 0 14px 0 10px;
	border: 1px solid #e8eaed;
	border-radius: 999px;
	background: #fff;
	color: #3c4043;
	font-family: inherit;
	font-size: 13px;
	font-weight: 550;
	letter-spacing: -0.01em;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(60, 64, 67, 0.18);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__cat-chip i {
	font-size: 13px;
	color: #5f6368;
}

.zp-prof__cat-chip.is-active {
	background: #fff;
	border-color: #1d4ed8;
	color: #1d4ed8;
	font-weight: 650;
	box-shadow: 0 1px 2px rgba(29, 78, 216, 0.12);
}

.zp-prof__cat-chip.is-active i {
	color: #1d4ed8;
}

.zp-prof__cat-chip--more {
	padding-right: 12px;
}

/* Pantalla completa Categorías (estilo Maps) */
.zp-prof__cats-screen {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	flex-direction: column;
	background: #fff;
	padding-top: env(safe-area-inset-top, 0px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

.zp-prof__cats-screen[hidden] {
	display: none !important;
}

.zp-prof__cats-head {
	display: flex;
	align-items: center;
	gap: 4px;
	min-height: 52px;
	padding: 4px 8px;
	border-bottom: 1px solid #f1f3f4;
}

.zp-prof__cats-back {
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #3c4043;
	font-size: 24px;
	cursor: pointer;
}

.zp-prof__cats-title {
	flex: 1 1 auto;
	margin: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #202124;
	padding-right: 44px;
}

.zp-prof__cats-search-wrap {
	position: relative;
	margin: 8px 16px 4px;
}

.zp-prof__cats-search-wrap > .fa {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #9aa0a6;
	font-size: 14px;
	pointer-events: none;
}

.zp-prof__cats-search {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 0;
	border-radius: 12px;
	background: #f1f3f4;
	font-family: inherit;
	font-size: 15px;
	box-sizing: border-box;
}

.zp-prof__cats-search:focus {
	outline: none;
	background: #e8f0fe;
}

.zp-prof__cats-list {
	flex: 1 1 auto;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	list-style: none;
	margin: 0;
	padding: 4px 0 24px;
}

.zp-prof__cats-item {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	min-height: 56px;
	padding: 10px 20px;
	border: 0;
	border-bottom: 1px solid #f1f3f4;
	background: transparent;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__cats-item:last-child {
	border-bottom: 0;
}

.zp-prof__cats-ico {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #0f766e;
	color: #fff;
	font-size: 16px;
}

.zp-prof__cats-name {
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 500;
	color: #202124;
	letter-spacing: -0.01em;
}

.zp-prof__cats-item.is-active .zp-prof__cats-name {
	color: #1967d2;
	font-weight: 650;
}

.zp-prof__cats-item.is-active .zp-prof__cats-ico {
	background: #1967d2;
}


/* ── Mapa full-bleed ── */
.zp-prof__map-wrap {
	display: none;
	position: relative;
	z-index: 1;
	margin: 0;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	background: #dbe4f0;
}

.zp-prof.is-view-map .zp-prof__map-wrap {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: var(--zp-prof-bottom);
}

.zp-prof__map-wrap::before {
	content: none;
}

.zp-prof__map {
	width: 100%;
	height: 100%;
}

.zp-prof.is-cat-loading .zp-prof__map-wrap::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 5;
	pointer-events: none;
	background: rgba(15, 23, 42, 0.04);
	transition: opacity 0.2s ease;
}

.zp-prof.is-cat-loading .zp-prof__cat-chip.is-active {
	opacity: 0.9;
}

.zp-prof.is-cat-loading .zp-prof-home-pin__wrap {
	transform: scale(1.08);
	transition: transform 0.25s ease;
}

.zp-prof__map .leaflet-control-zoom {
	margin-top: calc(env(safe-area-inset-top, 0px) + var(--zp-prof-chrome-h) + 12px) !important;
	margin-left: 12px !important;
	border: 0 !important;
	border-radius: 14px !important;
	overflow: hidden;
	box-shadow: var(--ylb-shadow) !important;
}

.zp-prof__map .leaflet-control-zoom a {
	width: 36px !important;
	height: 36px !important;
	line-height: 36px !important;
	color: var(--ylb-text) !important;
	background: rgba(255, 255, 255, 0.94) !important;
}

.zp-prof__map .leaflet-control-attribution {
	margin-bottom: calc(var(--zp-prof-dock-h) + 8px) !important;
	font-size: 9px;
	background: rgba(255, 255, 255, 0.7) !important;
}

.zp-prof-pin {
	background: transparent !important;
	border: 0 !important;
}

.zp-prof-pin__dot {
	display: block;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.35);
	box-sizing: border-box;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.zp-prof-pin--pro .zp-prof-pin__dot {
	box-shadow: 0 2px 10px rgba(234, 88, 12, 0.45);
}

.zp-prof-pin.zp-prof-pin--active .zp-prof-pin__dot {
	transform: scale(1.38);
	box-shadow:
		0 0 0 4px rgba(37, 99, 235, 0.28),
		0 4px 14px rgba(15, 23, 42, 0.28);
}

.zp-prof-pin--pro.zp-prof-pin--active .zp-prof-pin__dot {
	box-shadow:
		0 0 0 4px rgba(234, 88, 12, 0.32),
		0 4px 14px rgba(234, 88, 12, 0.35);
}

.zp-prof-home-pin {
	background: transparent !important;
	border: 0 !important;
}

.zp-prof-home-pin__wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
	border: 2.5px solid #1d4ed8;
	box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
	color: #1d4ed8;
	font-size: 15px;
}

/* Card info del pin — callout compacto móvil */
.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup {
	margin-bottom: 4px;
}

.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup .leaflet-popup-content-wrapper {
	padding: 0;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.14);
	border: 1px solid rgba(226, 232, 240, 0.92);
	overflow: hidden;
	background: #fff;
}

.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup .leaflet-popup-content {
	margin: 0;
	min-width: 0;
	width: auto;
	max-width: min(212px, calc(100vw - 32px));
	line-height: 1.25;
}

.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup a.leaflet-popup-close-button {
	top: 1px;
	right: 1px;
	width: 26px;
	height: 26px;
	font-size: 18px;
	line-height: 24px;
	color: #94a3b8;
}

.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup .leaflet-popup-tip {
	box-shadow: none;
	width: 10px;
	height: 10px;
	margin-top: -1px;
}

.zp-prof-popup {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0;
	max-width: 100%;
	font-family: Inter, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #0a1628;
	overflow: hidden;
}

.zp-prof-popup__media {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: 6px 0 6px 6px;
	border-radius: 10px;
	background: #e2e8f0;
	overflow: hidden;
}

.zp-prof-popup__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.zp-prof-popup:not(:has(.zp-prof-popup__media)) .zp-prof-popup__body {
	padding-left: 10px;
}

.zp-prof-popup__body {
	flex: 1 1 auto;
	min-width: 0;
	padding: 6px 24px 6px 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
}

.zp-prof-popup__head {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	min-width: 0;
}

.zp-prof-popup__name {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zp-prof-popup__pro {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 1px 5px;
	border-radius: 999px;
	background: linear-gradient(135deg, #fbbf24, #ea580c);
	color: #fff;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.1;
}

.zp-prof-popup__sub {
	margin: 0;
	font-size: 10px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zp-prof-popup__cat,
.zp-prof-popup__meta {
	margin: 0;
	font-size: 10px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.zp-prof-popup__dist {
	font-weight: 600;
	color: #475569;
}

.zp-prof-popup__cta {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	align-self: flex-start;
	min-height: 0;
	margin-top: 2px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #1d4ed8 !important;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none !important;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof-popup__cta-ico {
	font-size: 13px;
	line-height: 1;
	font-weight: 800;
}

.zp-prof-popup__cta:active {
	opacity: 0.72;
}

@media (min-width: 900px) {
	.zp-prof__map .leaflet-popup.zp-prof-leaflet-popup .leaflet-popup-content {
		max-width: min(272px, 78vw);
	}

	.zp-prof-popup {
		flex-direction: column;
		align-items: stretch;
	}

	.zp-prof-popup__media {
		flex: none;
		width: 100%;
		height: auto;
		margin: 0;
		border-radius: 0;
		aspect-ratio: 2 / 1;
	}

	.zp-prof-popup__body {
		padding: 10px 12px 12px;
		gap: 4px;
	}

	.zp-prof-popup__name {
		font-size: 15px;
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.zp-prof-popup__sub {
		font-size: 12px;
		white-space: normal;
	}

	.zp-prof-popup__cta {
		align-self: stretch;
		justify-content: center;
		min-height: 40px;
		margin-top: 6px;
		padding: 8px 12px;
		border-radius: 10px;
		background: #1d4ed8;
		color: #fff !important;
		font-size: 14px;
	}

	.zp-prof-popup__cta:active {
		opacity: 1;
		background: #1e40af;
	}
}

/* ── Dock inferior unificado ── */
.zp-prof__dock {
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	z-index: 500;
	margin: 8px 12px 12px;
	pointer-events: none;
}

.zp-prof.is-view-map .zp-prof__dock {
	position: fixed;
	left: 10px;
	right: 10px;
	bottom: calc(var(--zp-prof-bottom) + 14px);
	margin: 0;
}

.zp-prof__dock-card {
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	gap: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow:
		0 1px 2px rgba(60, 64, 67, 0.3),
		0 4px 16px rgba(60, 64, 67, 0.18);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.zp-prof__radius--dock {
	margin: 0;
	padding: 8px 14px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.zp-prof__radius-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 2px;
}

.zp-prof__radius-title {
	font-size: 12px;
	font-weight: 650;
	letter-spacing: 0.01em;
	color: var(--ylb-muted);
}

.zp-prof__radius-value {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ylb-blue);
	font-variant-numeric: tabular-nums;
}

.zp-prof__radius-slider {
	width: 100%;
	height: 32px;
	margin: 0;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	cursor: pointer;
	touch-action: pan-x;
}

.zp-prof__radius-slider::-webkit-slider-runnable-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #bfdbfe 0%, #93c5fd 40%, #1d4ed8 100%);
}

.zp-prof__radius-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	margin-top: -8px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--ylb-blue);
	box-shadow: 0 2px 10px rgba(29, 78, 216, 0.35);
}

.zp-prof__radius-slider::-moz-range-track {
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, #bfdbfe 0%, #93c5fd 40%, #1d4ed8 100%);
}

.zp-prof__radius-slider::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid #fff;
	background: var(--ylb-blue);
}

.zp-prof__sheet {
	position: relative;
	left: auto;
	right: auto;
	bottom: auto;
	display: flex;
	flex-direction: column;
	max-height: none;
	pointer-events: auto;
}

.zp-prof__sheet-handle {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 8px 16px 12px;
	border: 0;
	border-top: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 0;
	background: transparent;
	color: var(--ylb-text);
	font-family: inherit;
	font-size: 14px;
	font-weight: 750;
	letter-spacing: -0.01em;
	box-shadow: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__sheet-grip {
	width: 28px;
	height: 3px;
	border-radius: 999px;
	background: #cbd5e1;
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
}

.zp-prof__sheet-handle {
	position: relative;
	padding-top: 14px;
}

.zp-prof.is-view-list .zp-prof__sheet-handle {
	display: none !important;
}

.zp-prof__sheet-handle::after {
	content: "";
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 6px solid var(--ylb-blue);
	opacity: 0.85;
}

.zp-prof__sheet.is-open .zp-prof__sheet-handle::after {
	border-bottom: 0;
	border-top: 6px solid var(--ylb-blue);
}

.zp-prof__sheet.is-open .zp-prof__sheet-body,
.zp-prof.is-view-list .zp-prof__sheet-body {
	display: block;
}

.zp-prof.is-view-list .zp-prof__sheet-body[hidden] {
	display: block !important;
}

.zp-prof__sheet-body {
	flex: 1 1 auto;
	max-height: none;
	overflow: visible;
	-webkit-overflow-scrolling: touch;
	padding: 4px 10px 12px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.zp-prof.is-view-map .zp-prof__sheet-body {
	max-height: min(42vh, 340px);
	overflow: auto;
}

.zp-prof.is-view-map .zp-prof__sheet-body[hidden] {
	display: none !important;
}

.zp-prof__empty {
	margin: 4px 0 0;
	padding: 14px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #475569;
	background: #f8fafc;
	border: 0;
	border-radius: 14px;
}

.zp-prof__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.zp-prof__item {
	margin: 0;
	padding: 0;
	background: #fff;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.zp-prof__item--pro {
	border-color: rgba(253, 224, 71, 0.35);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 0 0 1px rgba(255, 255, 255, 0.65) inset,
		0 8px 24px rgba(245, 158, 11, 0.08);
}

.zp-prof__item.is-active .zp-prof__card {
	background: #eff6ff;
}

.zp-prof__card {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 80px;
	padding: 12px;
	text-decoration: none !important;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

.zp-prof__avatar {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: cover;
	background: #e2e8f0;
}

.zp-prof__avatar--empty {
	display: block;
	background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.zp-prof__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.zp-prof__name-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.zp-prof__name {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ylb-text);
}

.zp-prof__cat {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--ylb-muted);
}

.zp-prof__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 12px;
	color: var(--ylb-muted);
}

.zp-prof__dist {
	font-weight: 750;
	color: var(--ylb-blue);
}

.zp-prof__chev {
	flex: 0 0 auto;
	align-self: center;
	color: #cbd5e1;
	font-size: 20px;
	line-height: 1;
}

@media (min-width: 900px) {
	body.zp-profesionales-proto-page {
		--zp-prof-header-h: 0px;
		--zp-prof-chrome-h: 108px;
		--zp-prof-bottom: 48px;
		overflow: auto;
	}

	.zp-prof {
		height: auto;
		min-height: 100dvh;
	}

	.zp-prof__chrome {
		max-width: 480px;
	}

	.zp-prof__search-pill {
		margin-left: 12px;
		margin-right: 12px;
	}

	.zp-prof__dock {
		left: 12px;
		right: auto;
		width: min(400px, calc(100vw - 24px));
	}

	.zp-prof__cats-screen {
		left: auto;
		right: 0;
		width: min(420px, 100vw);
		box-shadow: -8px 0 32px rgba(15, 23, 42, 0.12);
	}
}

body.zp-profesionales-proto-page.zp-prof-cats-open #menu-footer.zp-bottom-nav-shell {
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Bottom nav: mismo layout site-wide (zp-bottom-nav-global-lock.css). */
