/* ===== Mapa de Lojas ===== */
/* Garante largura total dentro de containers flex do Elementor
   (sem isso a coluna do mapa pode ficar com 0px de largura) */
.elementor-widget-mapa_lojas {
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
	align-self: stretch;
}
.elementor-widget-mapa_lojas > .elementor-widget-container { width: 100%; }

.ml-wrap {
	width: 100%;
	--ml-gap: 20px;
	display: grid;
	grid-template-columns: minmax(280px, 420px) 1fr;
	grid-template-areas:
		"title title"
		"side  map";
	gap: var(--ml-gap);
	padding: 32px;
	background-color: #0A311C;
	color: #fff;
	border-radius: 20px;
	box-sizing: border-box;
}
.ml-wrap *, .ml-wrap *::before, .ml-wrap *::after { box-sizing: border-box; }

.ml-title {
	grid-area: title;
	margin: 0 0 4px;
	color: inherit;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
}

/* Coluna da lista */
.ml-sidebar {
	grid-area: side;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ml-filters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 30px;
}

.ml-select {
	width: 100%;
	height: 44px;
	padding: 0 40px 0 14px;
	border: 0;
	border-radius: 999px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: #222;
	font-size: 15px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.ml-list {
	list-style: none;
	margin: 0;
	padding: 0 8px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
	overflow-y: auto;
	max-height: 430px;
	scrollbar-width: thin;
	scrollbar-color: #fff transparent;
}
.ml-list::-webkit-scrollbar { width: 6px; }
.ml-list::-webkit-scrollbar-thumb { background: #fff; border-radius: 6px; }

.ml-item {
	margin: 0;
	padding: 18px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: background-color .2s;
	outline: none;
}
.ml-item:hover,
.ml-item:focus-visible { background-color: rgba(255, 255, 255, 0.05); }
.ml-item.is-active { background-color: rgba(255, 255, 255, 0.08); }
.ml-item[hidden] { display: none; }

.ml-item-name {
	margin: 0 0 14px;
	color: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}
.ml-item-info { font-size: 14px; line-height: 1.5; }
.ml-item-info p { margin: 0 0 6px; }
.ml-item-info p:last-child { margin-bottom: 0; }
.ml-item-info a { color: inherit; text-decoration: none; }
.ml-item-info a:hover { text-decoration: underline; }

.ml-empty { margin: 16px 0 0; opacity: .8; }

/* Mapa */
.ml-map-col { grid-area: map; min-width: 0; }
.ml-map {
	width: 100%;
	height: 560px;
	min-height: 250px;
	background: #dfe7e3;
	border-radius: 10px;
	overflow: hidden;
	z-index: 0;
}

/* Proteção contra estilos do tema que quebram os tiles */
.ml-map img { max-width: none !important; max-height: none !important; box-shadow: none !important; border: 0 !important; }

/* Pin */
.ml-pin { background: none; border: 0; }
.ml-pin svg { display: block; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); transition: transform .2s; transform-origin: 50% 100%; }
.ml-pin.is-active svg { transform: scale(1.25); }

.ml-popup strong { display: block; margin-bottom: 2px; }

/* ===== Mobile: mapa logo abaixo do título ===== */
@media (max-width: 767px) {
	.ml-wrap {
		grid-template-columns: 1fr;
		grid-template-areas:
			"title"
			"map"
			"side";
		padding: 20px 16px;
	}
	.ml-map { height: 320px; }
	.ml-list { max-height: none !important; overflow: visible; padding-right: 0; }
	.ml-item { padding: 16px 4px; }
	.ml-filters { margin-bottom: 20px; }
}
