/* =====================================================================
   Mellday - Cerez riza yonetimi (KVKK / Kurul Cerez Rehberi)
   purecookie.css yerine gecer. Eski dosyadaki .footer-top kurali korundu.
   ===================================================================== */

.footer-top {
	text-align: -webkit-center;
}

/* --- Ortak --- */
.mc-banner,
.mc-modal {
	font-family: OpenSans, arial, sans-serif;
	box-sizing: border-box;
}

.mc-banner *,
.mc-modal * {
	box-sizing: border-box;
}

.mc-hidden {
	display: none !important;
}

/* --- Alt banner --- */
.mc-banner {
	position: fixed;
	right: 30px;
	bottom: 30px;
	z-index: 2147483000;
	width: 380px;
	max-width: calc(100vw - 32px);
	padding: 26px 26px 22px;
	background: #232323;
	color: #fff;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}

.mc-banner__title {
	display: block;
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
	color: #fff;
}

.mc-banner__desc {
	margin: 0;
	font-size: 13px;
	line-height: 20px;
	color: #e6e6e6;
}

.mc-banner__links {
	margin-top: 10px;
	font-size: 12px;
	line-height: 18px;
}

.mc-banner__links a,
.mc-modal__links a {
	color: #fff;
	text-decoration: underline;
}

.mc-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

/* --- Butonlar --- */
.mc-btn {
	flex: 1 1 auto;
	min-width: 104px;
	padding: 13px 16px;
	border: 1px solid #000;
	background: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background .25s, border-color .25s, color .25s;
}

.mc-btn:hover,
.mc-btn:focus-visible {
	background: #3E9B67;
	border-color: #3E9B67;
	color: #fff;
}

.mc-btn--ghost {
	background: transparent;
	border-color: #6a6a6a;
	color: #fff;
}

/* Kabul ve reddet esit genislikte; tercihler alt satirda tam genislik. */
.mc-banner__actions .mc-btn {
	flex: 1 1 calc(50% - 4px);
}

.mc-banner__actions .mc-btn--wide {
	flex: 1 1 100%;
}

/* --- Tercih penceresi --- */
.mc-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(0, 0, 0, .6);
}

.mc-modal__box {
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	padding: 30px;
	background: #fff;
	color: #232323;
}

.mc-modal__title {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 1.3;
	color: #232323;
}

.mc-modal__intro {
	margin: 0 0 18px;
	font-size: 13px;
	line-height: 20px;
	color: #555;
}

.mc-modal__links {
	margin: 0 0 18px;
	font-size: 12px;
}

.mc-modal__links a {
	color: #232323;
}

/* --- Kategori satiri --- */
.mc-cat {
	padding: 16px 0;
	border-top: 1px solid #e4e4e4;
}

.mc-cat__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.mc-cat__name {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #232323;
}

.mc-cat__desc {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 18px;
	color: #666;
}

.mc-cat__vendors {
	margin: 6px 0 0;
	font-size: 11px;
	line-height: 17px;
	color: #8a8a8a;
}

/* --- Anahtar --- */
.mc-switch {
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 26px;
}

.mc-switch input {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.mc-switch__track {
	display: block;
	width: 46px;
	height: 26px;
	border-radius: 26px;
	background: #c9c9c9;
	transition: background .25s;
	pointer-events: none;
}

.mc-switch__track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	transition: transform .25s;
}

.mc-switch input:checked + .mc-switch__track {
	background: #3E9B67;
}

.mc-switch input:checked + .mc-switch__track::after {
	transform: translateX(20px);
}

.mc-switch input:disabled + .mc-switch__track {
	background: #3E9B67;
	opacity: .45;
}

.mc-switch input:disabled {
	cursor: not-allowed;
}

.mc-switch input:focus-visible + .mc-switch__track {
	outline: 2px solid #232323;
	outline-offset: 2px;
}

.mc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e4e4e4;
}

.mc-modal__actions .mc-btn--ghost {
	border-color: #c4c4c4;
	color: #232323;
}

.mc-modal__actions .mc-btn--ghost:hover {
	color: #fff;
}

/* --- Tiklayinca yuklenen gomulu icerik (Maps / TripAdvisor) --- */
.mc-embed {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 200px;
	padding: 24px 20px;
	border: 1px dashed #9a9a9a;
	background: #f3f3f3;
	text-align: center;
}

.mc-embed__text {
	margin: 0;
	font-size: 12px;
	line-height: 18px;
	color: #555;
}

.mc-embed .mc-btn {
	flex: 0 0 auto;
	padding: 10px 18px;
}

/* --- Footer tercih baglantisi --- */
.mc-prefs-link {
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media (max-width: 980px) {
	.mc-banner {
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
	}
}
