.gd-bubble.ts-map-popup-wrap {
	max-width: 250px;
}

.ts-map-popup {
	display: grid;
	gap: 0.625rem;
	width: 100%;
	color: inherit;
}

.ts-map-popup__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 600;
}

.ts-map-popup__title a {
	color: inherit;
	text-decoration: none;
}

.ts-map-popup__title a:hover,
.ts-map-popup__title a:focus {
	text-decoration: underline;
}

.ts-map-popup__image {
	display: block;
	overflow: hidden;
	height: 132px;
	border-radius: 12px;
	background: #f2f4f7;
}

.ts-map-popup__image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.ts-map-popup__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.ts-map-popup__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-width: 0;
	line-height: 1;
}

.ts-map-popup__rating .gd-rating-outer-wrap {
	display: inline-flex;
	width: auto !important;
	margin: 0;
	justify-content: flex-start;
}

.ts-map-popup__rating-count,
.ts-map-popup__meta {
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #5c6370;
}

.ts-map-popup__favorite {
	display: inline-flex;
	flex-shrink: 0;
}

.ts-map-popup__favorite .geodir-addtofav {
	display: inline-flex;
}

.ts-map-popup__favorite .geodir-addtofav a,
.ts-map-popup__favorite .geodir-addtofav .badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	min-height: 2rem;
	padding: 0.35rem;
	border: 1px solid #d7dce3;
	border-radius: 999px;
	background: #fff;
	box-shadow: none;
	text-decoration: none;
}

.ts-map-popup__meta {
	margin: 0;
}

.geodir-map-canvas .gm-style .gm-style-iw,
.main_map_wrapper .gm-style .gm-style-iw {
	min-height: 0 !important;
	height: auto !important;
}

.geodir-map-canvas .gm-style .gm-style-iw-c,
.geodir-map-canvas .gm-style .gm-style-iw-d,
.main_map_wrapper .gm-style .gm-style-iw-d {
	max-height: none !important;
}

.geodir_map_container .leaflet-popup-content {
	max-height: none;
	overflow-y: visible;
}
