/* Ficha del widget lares_lista_ubicacion_estrategica (Figma 651:15084). */

.lares-ue-panel {
	--ue-scroll-color: #0b844b;
	--ue-scroll-size: 6px;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	padding: 28px 24px 24px;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* El scroll vive en el cuerpo. La pista queda en la ficha, fuera de ese
 * flujo, para que no suba junto con el contenido. */
.lares-ue-panel__cuerpo.is-con-scroll {
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.lares-ue-panel__cuerpo.is-con-scroll::-webkit-scrollbar {
	display: none;
	width: 0;
	height: 0;
}

.lares-ue-scroll {
	position: absolute;
	top: 16px;
	right: 10px;
	width: var(--ue-scroll-size);
	z-index: 2;
}

.lares-ue-scroll__thumb {
	position: absolute;
	left: 0;
	width: 100%;
	min-height: 0;
	border-radius: 999px;
	background: var(--ue-scroll-color);
	cursor: grab;
	touch-action: none;
	pointer-events: auto;
}

.lares-ue-scroll__thumb:active {
	cursor: grabbing;
}

.lares-ue-panel__encabezado {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 22px;
	font-family: "Proxima Nova Semibold", sans-serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.1;
	color: #232323;
}

.lares-ue-panel__pill {
	display: inline-block;
	padding: 4px 10px 6px;
	border-radius: 8px;
	background: #0b844b;
	color: #fff;
	font-size: 26px;
	line-height: 1.1;
}

.lares-ue-panel__sedes {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.lares-ue-panel .ue-lista__grupo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.lares-ue-panel__acordeon {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent !important;
	box-shadow: none !important;
	cursor: default;
	text-align: left;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
}

.lares-ue-panel__acordeon:hover,
.lares-ue-panel__acordeon:focus,
.lares-ue-panel__acordeon:focus-visible,
.lares-ue-panel__acordeon:active {
	background: transparent !important;
	box-shadow: none !important;
	outline: none;
	color: inherit;
}

.lares-ue-panel__categoria {
	margin: 0;
	font-family: "Proxima Nova Semibold", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
	color: var(--lares-ue-cat, #0b844b);
}

.lares-ue-panel__mas {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 60px;
	background: #f6f6f6;
	color: var(--lares-ue-cat, #0b844b);
}

.lares-ue-panel__mas svg {
	display: block;
	width: 12px;
	height: 12px;
}

.lares-ue-panel__mas-vertical {
	transform-origin: center;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.lares-ue-panel .ue-lista__grupo.is-abierto .lares-ue-panel__mas-vertical {
	opacity: 0;
	transform: scaleY(0);
}

.lares-ue-panel .ue-lista__items {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.35s ease;
}

.lares-ue-panel .ue-lista__items-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 0;
	overflow: hidden;
}

.lares-ue-panel .ue-lista__item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	border: 0;
	border-radius: 12px;
	background: #f6f6f6;
	box-shadow: none;
	color: #232323;
	text-align: left;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
}

.lares-ue-panel .ue-lista__item:hover,
.lares-ue-panel .ue-lista__item:focus,
.lares-ue-panel .ue-lista__item:focus-visible,
.lares-ue-panel .ue-lista__item:active {
	background: #f0f0f0;
	color: #232323;
	outline: none;
	box-shadow: none;
}

.lares-ue-panel .ue-lista__item.is-activo {
	background: #ececec;
}

.lares-ue-panel .ue-lista__texto {
	font-family: "Proxima Nova Semibold", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	color: #232323;
}

.lares-ue-panel__vacio {
	margin: 0;
	font-family: "Proxima Nova Regular", sans-serif;
	font-size: 16px;
	color: #232323;
}

/* Móvil (Figma 1054:19235): categorías desplegables, sin scroll. */
@media (max-width: 767px) {
	.lares-ue-panel {
		max-width: none;
		max-height: none !important;
		padding: 20px 15px;
		border-radius: 15px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
		overflow: visible !important;
	}

	.lares-ue-panel__cuerpo {
		max-height: none !important;
		overflow: visible !important;
	}

	.lares-ue-scroll {
		display: none !important;
	}

	.lares-ue-panel__encabezado {
		margin: 0 0 10px;
		font-size: 20px;
		color: #29361a;
	}

	.lares-ue-panel__pill {
		padding: 6px 10px;
		font-size: 20px;
	}

	.lares-ue-panel__sedes {
		gap: 15px;
	}

	.lares-ue-panel__acordeon {
		cursor: pointer;
	}

	.lares-ue-panel__mas {
		display: inline-flex;
	}

	.lares-ue-panel .ue-lista__items {
		grid-template-rows: 0fr;
	}

	.lares-ue-panel .ue-lista__grupo.is-abierto .ue-lista__items {
		grid-template-rows: 1fr;
	}

	.lares-ue-panel .ue-lista__item {
		padding: 12px 16px;
		border-radius: 10px;
		background: #f6f6f6;
	}

	.lares-ue-panel .ue-lista__texto {
		font-size: 12px;
		line-height: 1;
	}
}
