/* CyberMap Çiçek Core — Google katmanı (harita · yorumlar · rıza) */

/* =================================================================
   HARİTA
   Yüklenmeden önce adres kartı; tıklanınca gerçek harita.
   ================================================================= */

.cmc-map {
	position: relative;
	min-height: var(--cmc-map-h, 380px);
	border-radius: var(--cmc-radius, 12px);
	overflow: hidden;
	background:
		linear-gradient(135deg, color-mix(in srgb, currentColor 4%, transparent), transparent 60%),
		var(--cmc-wash, #f2f4f0);
	border: 1px solid var(--cmc-line, #e3e8e0);
}

.cmc-map__card {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-align: center;
	padding: 28px 22px;
}

.cmc-map__pin { width: 34px; height: 34px; color: var(--cmc-accent, #5a4a8f); }
.cmc-map__pin svg { width: 100%; height: 100%; display: block; }

.cmc-map__t { font-size: 1.05rem; }
.cmc-map__l { color: var(--cmc-muted, #5a655d); font-size: .93rem; line-height: 1.6; }

.cmc-map__acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 6px; }

.cmc-map__b {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 9px 18px;
	border-radius: 100px;
	border: 1px solid var(--cmc-accent, #5a4a8f);
	background: var(--cmc-accent, #5a4a8f);
	color: #fff;
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: filter .16s ease;
}

.cmc-map__b:hover { filter: brightness(1.08); color: #fff; }
.cmc-map__b:focus-visible { outline: 2px solid var(--cmc-accent, #5a4a8f); outline-offset: 2px; }

.cmc-map__b--line {
	background: transparent;
	color: var(--cmc-accent, #5a4a8f);
}

.cmc-map__b--line:hover { background: var(--cmc-accent-soft, rgba(90,74,143,.10)); color: var(--cmc-accent, #5a4a8f); }

.cmc-map__note {
	max-width: 44ch;
	margin-top: 4px;
	font-size: .78rem;
	line-height: 1.6;
	color: var(--cmc-muted, #5a655d);
}

.cmc-map__frame { display: block; width: 100%; height: var(--cmc-map-h, 380px); border: 0; }
.cmc-map.is-live { background: none; }

/* =================================================================
   GOOGLE YORUMLARI
   ================================================================= */

.cmc-grev__head {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.cmc-grev__score { font-size: 2rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cmc-grev__stars { color: #E8A33D; letter-spacing: .08em; font-size: 1.05rem; }
.cmc-grev__stars--sm { font-size: .82rem; }
.cmc-grev__n { color: var(--cmc-muted, #5a655d); font-size: .88rem; }

.cmc-grev__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
}

.cmc-grev__i {
	display: grid;
	gap: 8px;
	align-content: start;
	padding: 18px 20px;
	border: 1px solid var(--cmc-line, #e3e8e0);
	border-radius: var(--cmc-radius, 12px);
	background: var(--cmc-surface, #fff);
}

.cmc-grev__who { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.cmc-grev__av { border-radius: 50%; flex: none; }
.cmc-grev__name { font-weight: 600; }
.cmc-grev__when { color: var(--cmc-muted, #5a655d); font-size: .8rem; }

.cmc-grev__text {
	margin: 0;
	line-height: 1.75;
	color: var(--cmc-body, inherit);
	/* Uzun yorumlar kartları farklı boylara sokup ızgarayı bozuyordu. */
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cmc-grev__src {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	margin: 18px 0 0;
	font-size: .82rem;
	color: var(--cmc-muted, #5a655d);
}

/* =================================================================
   ÇEREZ ŞERİDİ
   Reddet düğmesi kabul kadar görünür: gizlenmiş bir ret seçeneği
   KVKK açısından geçerli rıza sayılmaz.
   ================================================================= */

.cmc-consent {
	position: fixed;
	z-index: 9000;
	left: 16px;
	right: 16px;
	bottom: 16px;
	max-width: 640px;
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	padding: 16px 20px;
	border-radius: 12px;
	border: 1px solid var(--cmc-line, #e3e8e0);
	background: var(--cmc-surface, #fff);
	box-shadow: 0 6px 18px -6px rgba(0,0,0,.14), 0 30px 60px -40px rgba(0,0,0,.5);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
}

.cmc-consent.is-in { opacity: 1; transform: none; }
.cmc-consent.is-out { opacity: 0; transform: translateY(10px); }

.cmc-consent__t {
	flex: 1 1 260px;
	margin: 0;
	font-size: .88rem;
	line-height: 1.65;
	color: var(--cmc-body, inherit);
}

.cmc-consent__acts { display: flex; gap: 8px; flex: none; }

.cmc-consent__b {
	min-height: 40px;
	padding: 9px 18px;
	border-radius: 100px;
	font: inherit;
	font-size: .86rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid var(--cmc-line-2, #cbd4c7);
	background: transparent;
	color: inherit;
	transition: border-color .16s ease, background-color .16s ease;
}

.cmc-consent__b--yes {
	border-color: var(--cmc-accent, #5a4a8f);
	background: var(--cmc-accent, #5a4a8f);
	color: #fff;
}

.cmc-consent__b:hover { border-color: var(--cmc-accent, #5a4a8f); }
.cmc-consent__b--yes:hover { filter: brightness(1.08); }
.cmc-consent__b:focus-visible { outline: 2px solid var(--cmc-accent, #5a4a8f); outline-offset: 2px; }

@media (max-width: 560px) {
	.cmc-consent { flex-direction: column; align-items: stretch; }
	.cmc-consent__acts { justify-content: stretch; }
	.cmc-consent__b { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
	.cmc-consent { transition: opacity .01s linear; transform: none; }
}
