/* Elementor Google Map Box - estilos */

/* Garante que a área do Elementor onde o widget está seja um contexto de posicionamento */
.elementor-widget-egb-map-box,
.elementor-widget-egb-map-box .elementor-widget-container {
	height: 100%;
}

.egb-map-wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #e9e9e9;
}

/* Quando configurado para ocupar 100% da seção, o wrapper vira absolute
   e "gruda" nas 4 bordas do container pai (a seção/coluna do Elementor). */
.egb-map-wrapper.egb-fill-yes {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 100% !important;
}

.egb-map-canvas {
	width: 100%;
	height: 100%;
}

/* Caixa branca personalizada (não é o InfoWindow padrão do Google Maps) */
.egb-info-box {
	position: absolute;
	z-index: 10;
	box-sizing: border-box;
	max-width: 90%;
	background: #ffffff;
	border-radius: 8px;
	pointer-events: auto;
}

.egb-company-name {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	margin: 0 0 6px 0;
}

.egb-company-address {
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* Posicionamento da caixa dentro do mapa */
.egb-boxpos-top-left .egb-info-box {
	top: 0;
	left: 0;
}
.egb-boxpos-top-right .egb-info-box {
	top: 0;
	right: 0;
}
.egb-boxpos-bottom-left .egb-info-box {
	bottom: 0;
	left: 0;
}
.egb-boxpos-bottom-right .egb-info-box {
	bottom: 0;
	right: 0;
}

.egb-admin-warning {
	padding: 20px;
	background: #fff3cd;
	border: 1px solid #ffe08a;
	color: #664d03;
	border-radius: 6px;
	font-size: 14px;
}

@media (max-width: 767px) {
	.egb-info-box {
		width: calc(100% - 20px) !important;
		margin: 10px !important;
	}
}
