/* Çerez onay bandı (inc/consent.php, assets/js/consent.js). Renkler shell.css değişkenlerinden. */
.motto-cerez {
	position: fixed;
	z-index: 99990;
	left: clamp(12px, 2vw, 28px);
	bottom: clamp(12px, 2vw, 28px);
	width: min(440px, calc(100vw - 24px));
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.26s ease, transform 0.26s var(--motto-ease-out, ease);
	font-family: inherit;
}

.motto-cerez.is-open {
	opacity: 1;
	transform: none;
}

.motto-cerez[hidden] {
	display: none;
}

.motto-cerez .motto-cerez__kutu {
	margin: 0;
	padding: 22px 22px 18px;
	border-radius: 18px;
	background: rgba(14, 14, 14, 0.96);
	box-shadow: inset 0 0 0 1px var(--motto-line, rgba(255, 255, 255, 0.14)), 0 18px 50px rgba(0, 0, 0, 0.45);
	color: var(--motto-ink, #fff);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.motto-cerez .motto-cerez__baslik {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.motto-cerez .motto-cerez__baslik::before {
	content: "";
	width: 22px;
	height: 1px;
	background: var(--motto-gold, #c9a050);
}

.motto-cerez .motto-cerez__metin {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.6;
}

.motto-cerez .motto-cerez__metin a {
	color: var(--motto-gold, #c9a050);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.motto-cerez .motto-cerez__secenekler {
	display: grid;
	gap: 6px;
	margin: 14px 0 0;
	padding: 0;
	border: 0;
}

.motto-cerez .motto-cerez__secenekler[hidden] {
	display: none;
}

.motto-cerez .motto-cerez__secenek {
	position: relative;
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 12px;
	align-items: start;
	padding: 10px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
}

.motto-cerez .motto-cerez__secenek input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.motto-cerez .motto-cerez__anahtar {
	position: relative;
	width: 34px;
	height: 20px;
	margin-top: 1px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.18);
	transition: background 0.2s ease;
}

.motto-cerez .motto-cerez__anahtar::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s ease;
}

.motto-cerez input:checked + .motto-cerez__anahtar {
	background: var(--motto-gold, #c9a050);
}

.motto-cerez input:checked + .motto-cerez__anahtar::after {
	transform: translateX(14px);
}

.motto-cerez input:disabled + .motto-cerez__anahtar {
	opacity: 0.55;
}

.motto-cerez input:focus-visible + .motto-cerez__anahtar {
	outline: 2px solid var(--motto-gold, #c9a050);
	outline-offset: 2px;
}

.motto-cerez .motto-cerez__secenek strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
}

.motto-cerez .motto-cerez__secenek small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 12px;
	line-height: 1.5;
}

.motto-cerez .motto-cerez__dugmeler {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.motto-cerez .motto-cerez__dugme {
	flex: 1 1 auto;
	width: auto;
	min-height: 40px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--motto-line, rgba(255, 255, 255, 0.14));
	border-radius: 999px;
	background: transparent;
	color: var(--motto-ink, #fff);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.motto-cerez .motto-cerez__dugme:hover,
.motto-cerez .motto-cerez__dugme:focus-visible {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.06);
	color: var(--motto-ink, #fff);
}

.motto-cerez .motto-cerez__dugme--ana {
	border-color: var(--motto-gold, #c9a050);
	background: var(--motto-gold, #c9a050);
	color: #111;
}

.motto-cerez .motto-cerez__dugme--ana:hover,
.motto-cerez .motto-cerez__dugme--ana:focus-visible {
	border-color: #d8b56d;
	background: #d8b56d;
	color: #111;
}

.motto-cerez .motto-cerez__dugme--metin {
	flex: 0 0 auto;
	border-color: transparent;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.motto-cerez .motto-cerez__dugme[hidden] {
	display: none;
}

.motto-cerez .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (max-width: 560px) {
	.motto-cerez {
		left: 8px;
		bottom: 8px;
		width: calc(100vw - 16px);
	}

	.motto-cerez .motto-cerez__kutu {
		padding: 18px 16px 14px;
	}
}

/* İzne bağlı harita yerine duran kutu. */
.motto-cerez-yer {
	position: absolute;
	z-index: 2;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	background:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100% 44px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 44px 100%,
		#121212;
	color: rgba(255, 255, 255, 0.7);
	text-align: center;
}

/* Konum kartında kutu adres panelinin sağından başlar; panelin üstüne binmez. */
.motto-loc .motto-cerez-yer {
	z-index: 0;
	left: calc(min(440px, 100%) + 44px);
}

.motto-cerez-yer p {
	max-width: 30ch;
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

.motto-cerez-yer .motto-cerez-yer__dugme {
	width: auto;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--motto-gold, #c9a050);
	border-radius: 999px;
	background: transparent;
	color: var(--motto-gold, #c9a050);
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.motto-cerez-yer .motto-cerez-yer__dugme:hover,
.motto-cerez-yer .motto-cerez-yer__dugme:focus-visible {
	background: var(--motto-gold, #c9a050);
	color: #111;
}

@media (max-width: 1099px) {
	.motto-loc .motto-cerez-yer {
		left: 0;
	}
}
