/**
 * PDP — installation proof (locations + map).
 */

.gm-product-installations {
	margin: 0 0 2rem;
	padding: 1.75rem 0 0;
	border-top: 2px solid var(--gm-color-ink, #221f20);
}

.gm-product-installations__eyebrow {
	display: inline-flex;
	margin: 0 0 0.5rem;
	padding: 0.2rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: var(--gm-color-brand, #f39200);
	border: 2px solid var(--gm-color-ink, #221f20);
}

.gm-product-installations__title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	line-height: 1.12;
	color: var(--gm-color-ink, #221f20);
}

.gm-product-installations__summary,
.gm-product-installations__stats,
.gm-product-installations__disclaimer {
	margin: 0 0 0.5rem;
	max-width: 80ch;
	text-wrap: pretty;
	color: var(--gm-color-muted, #555);
}

.gm-product-installations__stats {
	color: var(--gm-color-ink, #221f20);
	font-size: 0.95rem;
}

.gm-product-installations__disclaimer {
	font-size: 0.85rem;
	font-style: italic;
}

.gm-product-installations__near {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin: 1rem 0 1.25rem;
	padding: 0.85rem 1rem;
	background: var(--gm-color-soft, #faf8f4);
	border: 1px solid var(--gm-color-border, #d9d9d9);
}

.gm-product-installations__near[hidden],
.gm-product-installations__near-error[hidden],
.gm-product-installations__ecosystem[hidden] {
	display: none !important;
}

.gm-product-installations__near-text {
	margin: 0;
	flex: 1 1 220px;
	font-weight: 700;
	color: var(--gm-color-ink, #221f20);
}

.gm-product-installations__geo-btn {
	flex: 0 0 auto;
}

.gm-product-installations__near-error {
	margin: 0;
	width: 100%;
	font-size: 0.85rem;
	color: #8a4b00;
}

.gm-product-installations__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
	gap: 1.25rem;
	align-items: start;
}

.gm-product-installations__feed {
	display: grid;
	gap: 0.65rem;
	max-height: 320px;
	overflow: auto;
	padding-right: 0.25rem;
}

.gm-installation-card {
	padding: 0.85rem 1rem;
	background: #fff;
	border: 1px solid var(--gm-color-border, #d9d9d9);
	border-left: 4px solid var(--gm-color-brand, #f39200);
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.gm-installation-card.is-near {
	border-left-color: var(--gm-color-ink, #221f20);
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
}

.gm-installation-card__head {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.gm-installation-card__flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: 0.15rem 0.35rem;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	background: #f4f4f1;
	border: 1px solid #ddd;
}

.gm-installation-card__place {
	margin: 0;
	font-size: 1rem;
	line-height: 1.25;
}

.gm-installation-card__year,
.gm-installation-card__count {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	color: var(--gm-color-muted, #555);
}

.gm-installation-card__badge {
	display: inline-flex;
	margin-top: 0.45rem;
	padding: 0.1rem 0.45rem;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border: 1px solid #ccc;
	color: #555;
}

.gm-installation-card__badge--city {
	background: #fff8ea;
	border-color: var(--gm-color-brand, #f39200);
	color: var(--gm-color-ink, #221f20);
}

.gm-installation-card__badge--unlinked {
	font-style: italic;
	background: #f5f5f2;
	border-color: #bbb;
	color: #666;
}

.gm-product-installations__map-col .gm-installations-map-section {
	margin: 0;
	padding: 0;
	border: 0;
}

.gm-product-installations__map-col .gm-installations-map-section.is-headerless .gm-installations-map {
	min-height: 280px;
}

.gm-product-installations__ecosystem {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--gm-color-border, #d9d9d9);
}

.gm-product-installations__ecosystem-title {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.gm-product-installations__ecosystem-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gm-product-installations__ecosystem-list li {
	padding: 0.35rem 0.65rem;
	font-size: 0.85rem;
	font-weight: 600;
	background: #fff;
	border: 1px solid var(--gm-color-border, #d9d9d9);
}

.gm-product-installations__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--gm-color-border, #d9d9d9);
}

.gm-product-installations__map-link {
	font-weight: 700;
	color: var(--gm-color-ink, #221f20);
}

.gm-product-installations__cta-copy {
	margin: 0;
	flex: 1 1 220px;
	font-size: 0.9rem;
	color: var(--gm-color-muted, #555);
}

@media (max-width: 900px) {
	.gm-product-installations__layout {
		grid-template-columns: 1fr;
	}

	.gm-product-installations__feed {
		max-height: none;
	}

	.gm-product-installations__map-col .gm-installations-map {
		min-height: 240px !important;
	}
}
