/* Baner zgód na cookies, okno ustawień, mapa ładowana po kliknięciu i strona Polityka cookies */

.cc-banner[hidden],
.cc-modal[hidden] { display: none !important; }

.cc-banner,
.cc-modal {
	font-family: HelveticaLight, Helvetica, Arial, sans-serif;
	color: #000;
}

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

/* ---------- baner ---------- */

.cc-banner {
	position: fixed;
	left: 0; right: 0; bottom: 12px;
	z-index: 140; /* nad paskiem „Rezerwuj termin” (120), pod oknem promocyjnym (150) */
	width: min(1000px, calc(100% - 32px));
	margin: 0 auto;
	padding: 24px 28px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #000;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}

.cc-title {
	margin: 0 0 8px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 24px;
}

.cc-text {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
}

.cc-text a,
.cc-category-desc a { color: #000; text-decoration: underline; }

.cc-short { display: none; }

.cc-actions {
	display: flex;
	gap: 12px;
	margin-top: 18px;
}

.cc-btn {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px 10px 20px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px;
	letter-spacing: .5px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	border: 2px solid #000;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.cc-btn-solid { background: #000; color: #fff; }
.cc-btn-solid:hover { background: #fff; color: #000; }
.cc-btn-outline { background: #fff; color: #000; }
.cc-btn-outline:hover { background: #000; color: #fff; }

.cc-btn:focus-visible,
.cc-close:focus-visible,
.cc-switch input:focus-visible + .cc-slider {
	outline: 3px solid #1a73e8;
	outline-offset: 2px;
}

/* ---------- okno ustawień ---------- */

.cc-modal {
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.cc-backdrop {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: rgba(0, 0, 0, .6);
}

.cc-dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 640px;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
	outline: none;
}

.cc-dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 28px;
	border-bottom: 1px solid #dedede;
}

.cc-dialog-title {
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 22px;
	line-height: 28px;
	font-weight: normal;
}

.cc-close {
	position: relative;
	width: 36px; height: 36px;
	padding: 0;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.cc-close::before,
.cc-close::after {
	content: '';
	position: absolute;
	top: 17px; left: 7px;
	width: 22px; height: 2px;
	background: #000;
}
.cc-close::before { transform: rotate(45deg); }
.cc-close::after { transform: rotate(-45deg); }

.cc-dialog-body {
	flex: 1 1 auto;
	padding: 20px 28px 8px 28px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.cc-category {
	padding: 18px 0;
	border-top: 1px solid #dedede;
}
.cc-category:first-of-type { margin-top: 18px; }

.cc-category-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.cc-category-title {
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 24px;
	font-weight: normal;
}

.cc-always {
	padding: 4px 10px 3px 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .5px;
	background: #f0f0f0;
	border-radius: 20px;
}

.cc-category-desc {
	margin: 10px 0 0 0;
	font-size: 14px;
	line-height: 20px;
}

.cc-category-desc code,
.cc-text code {
	font-family: Menlo, Consolas, monospace;
	font-size: 12.5px;
	background: #f0f0f0;
	padding: 1px 4px;
	border-radius: 3px;
}

.cc-switch {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 52px; height: 30px;
	cursor: pointer;
}
.cc-switch input {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}
.cc-slider {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: #b5b5b5;
	border-radius: 30px;
	transition: background-color .2s;
	pointer-events: none;
}
.cc-slider::before {
	content: '';
	position: absolute;
	top: 3px; left: 3px;
	width: 24px; height: 24px;
	background: #fff;
	border-radius: 50%;
	transition: transform .2s;
}
.cc-switch input:checked + .cc-slider { background: #000; }
.cc-switch input:checked + .cc-slider::before { transform: translateX(22px); }

.cc-dialog-foot {
	display: flex;
	gap: 12px;
	padding: 16px 28px 20px 28px;
	border-top: 1px solid #dedede;
}

html.cc-modal-open,
html.cc-modal-open body { overflow: hidden; }

/* ---------- mapa Google ładowana po kliknięciu ---------- */

.map-embed,
.map-embed * { box-sizing: border-box; }

.map-embed {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f3f3f3;
	font-family: HelveticaLight, Helvetica, Arial, sans-serif;
	color: #000;
}
.map-embed.map-embed-inline {
	width: 100%;
	height: 450px;
	margin-top: 50px;
}
.map-embed-loaded { display: block; background: none; }
.map-embed-loaded iframe { display: block; width: 100%; height: 100%; border: 0; }

.map-embed-box {
	width: 100%;
	max-width: 640px;
	padding: 24px;
	text-align: center;
}
.map-embed-title {
	margin: 0 0 6px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 22px;
	line-height: 28px;
}
.map-embed-address { margin: 0 0 14px 0; font-size: 16px; line-height: 22px; }
.map-embed-note { margin: 0 0 20px 0; font-size: 13px; line-height: 19px; }
.map-embed-note a { color: #000; text-decoration: underline; }
.map-embed-actions { display: flex; gap: 12px; justify-content: center; }
.map-embed-actions .cc-btn { flex: 0 1 auto; }

/* ---------- strona Polityka cookies ---------- */

.cookie-policy { padding-bottom: 100px; }
.cookie-policy h2 {
	margin: 40px 0 16px 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 28px;
	line-height: 36px;
	font-weight: normal;
}
.cookie-policy p,
.cookie-policy li {
	font-family: HelveticaLight, Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 27px;
}
.cookie-policy ul { margin: 0 0 16px 0; padding-left: 22px; }
.cookie-policy li { margin-bottom: 12px; }
.cookie-policy a { color: #000; text-decoration: underline; }

/* ---------- urządzenia mobilne ---------- */

@media only screen and (max-width: 800px) {
	.cc-banner {
		bottom: 8px;
		width: calc(100% - 16px);
		padding: 16px;
	}
	.cc-title { margin-bottom: 6px; font-size: 16px; line-height: 22px; }
	.cc-text { font-size: 13px; line-height: 18px; }
	.cc-long { display: none; }
	.cc-short { display: inline; }
	.cc-actions { flex-wrap: wrap; gap: 8px; margin-top: 12px; }
	.cc-actions .cc-btn { flex: 1 1 calc(50% - 4px); min-height: 44px; padding: 12px 8px 10px 8px; font-size: 13px; letter-spacing: 0; }
	.cc-actions [data-cc-action="settings"] { order: 3; flex-basis: 100%; min-height: 40px; }

	.cc-modal { padding: 0; align-items: flex-end; }
	.cc-dialog { max-width: none; max-height: 92vh; max-height: 92dvh; border-radius: 12px 12px 0 0; }
	.cc-dialog-head { padding: 14px 16px; }
	.cc-dialog-title { font-size: 19px; line-height: 24px; }
	.cc-dialog-body { padding: 14px 16px 4px 16px; }
	.cc-dialog-foot { flex-direction: column; gap: 8px; padding: 12px 16px 16px 16px; }

	.map-embed { min-height: 70vh; }
	.map-embed.map-embed-inline { height: 420px; min-height: 0; margin-top: 30px; }
	.map-embed-actions { flex-direction: column; }
	.map-embed-actions .cc-btn { width: 100%; }

	.cookie-policy h2 { font-size: 23px; line-height: 30px; margin-top: 30px; }
	.cookie-policy p,
	.cookie-policy li { font-size: 16px; line-height: 25px; }
}
