.kpc-cookie-banner,
.kpc-cookie-banner *,
.kpc-consent-modal,
.kpc-consent-modal *,
.kpc-map,
.kpc-map *,
.kpc-document,
.kpc-document * {
	box-sizing: border-box;
}

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

.kpc-cookie-banner {
	position: fixed;
	right: 22px;
	bottom: 22px;
	left: 22px;
	z-index: 100000;
	display: flex;
	max-width: 1180px;
	min-height: 132px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin: 0 auto;
	padding: 24px 28px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 14px;
	background: #171717;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
}

.kpc-cookie-banner__copy {
	max-width: 660px;
}

.kpc-cookie-banner__copy strong {
	display: block;
	margin-bottom: 7px;
	color: #fff;
	font-size: 18px;
}

.kpc-cookie-banner__copy p {
	margin: 0 0 8px;
	color: rgba(255, 255, 255, .78);
	font-size: 14px;
	line-height: 1.55;
}

.kpc-cookie-banner__copy a {
	color: #ff959a;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kpc-consent-modal a {
	color: #bd1118;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kpc-cookie-banner__actions {
	display: grid;
	min-width: 236px;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.kpc-cookie-banner__actions .kpc-button--text {
	grid-column: 1 / -1;
}

.kpc-button {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 7px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font: 700 12px/1.2 Montserrat, Arial, sans-serif;
}

/* The theme resets button radii; keep consent actions consistently rounded. */
.kpc-cookie-banner .kpc-button,
.kpc-consent-modal .kpc-button {
	border-radius: 12px !important;
}

.kpc-cookie-banner .kpc-button {
	background: transparent !important;
	border-color: rgba(255, 255, 255, .5) !important;
	color: #fff !important;
}

.kpc-consent-modal .kpc-consent-modal__close {
	position: absolute !important;
	top: 18px !important;
	right: 18px !important;
	bottom: auto !important;
	left: auto !important;
	display: inline-flex !important;
	width: 38px !important;
	height: 38px !important;
	min-height: 0 !important;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #fff !important;
	color: #333 !important;
}

.kpc-button:hover,
.kpc-button:focus-visible {
	border-color: #fff;
}

.kpc-button--primary {
	border-color: #bd1118;
	background: #bd1118;
}

.kpc-cookie-banner .kpc-button--primary,
.kpc-consent-modal .kpc-button--primary {
	background: #bd1118 !important;
	border-color: #bd1118 !important;
	color: #fff !important;
}

.kpc-button--primary:hover,
.kpc-button--primary:focus-visible {
	border-color: #bd1118;
	background: #bd1118;
}

.kpc-button--text {
	min-height: 34px;
	border: 0;
	color: rgba(255, 255, 255, .82);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.kpc-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 100010;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(0, 0, 0, .62);
	font-family: Montserrat, Arial, sans-serif;
}

.kpc-consent-modal__panel {
	position: relative;
	width: min(100%, 640px);
	max-height: min(760px, calc(100vh - 40px));
	overflow: auto;
	padding: 34px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 100px rgba(0, 0, 0, .35);
	color: #252525;
}

.kpc-consent-modal__panel h2 {
	margin: 0 40px 12px 0;
	font-size: 27px;
}

.kpc-consent-modal__panel > p {
	margin: 0 0 23px;
	color: #69645f;
	font-size: 14px;
	line-height: 1.65;
}

.kpc-consent-modal__close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 38px;
	height: 38px;
	border: 1px solid #ddd;
	border-radius: 50%;
	background: #fff;
	color: #333;
	cursor: pointer;
	font-size: 25px;
	line-height: 1;
}

.kpc-consent-option {
	display: flex;
	min-height: 84px;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	border-top: 1px solid #e4e1dc;
	color: #252525;
}

.kpc-consent-option strong,
.kpc-consent-option span span {
	display: block;
}

.kpc-consent-option strong {
	margin-bottom: 5px;
	font-size: 15px;
}

.kpc-consent-option span span {
	color: #716c66;
	font-size: 13px;
	line-height: 1.45;
}

.kpc-consent-option input {
	width: 22px;
	height: 22px;
	accent-color: #e31b23;
}

.kpc-consent-option__status {
	flex: 0 0 auto;
	color: #347451;
	font-size: 12px;
	font-weight: 800;
}

.kpc-consent-modal__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 24px;
}

.kpc-consent-modal__actions .kpc-button {
	min-width: 180px;
}

.kpc-modal-open {
	overflow: hidden;
}

.kpc-map {
	position: relative;
	display: grid;
	width: 100%;
	min-height: 500px;
	place-items: center;
	overflow: hidden;
	border: 1px solid #dedad4;
	border-radius: 12px;
	background:
		linear-gradient(135deg, rgba(227, 27, 35, .05) 25%, transparent 25%) 0 0 / 32px 32px,
		#f5f2ed;
}

.kpc-map__placeholder {
	max-width: 500px;
	padding: 46px 28px;
	text-align: center;
}

.kpc-map__placeholder strong {
	display: block;
	margin-bottom: 10px;
	color: #171717;
	font-size: 24px;
}

.kpc-map__placeholder p {
	margin: 0 0 22px;
	color: #68645f;
	line-height: 1.55;
}

.kpc-map__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.kpc-map__actions button,
.kpc-map__actions a {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border: 1px solid #171717;
	border-radius: 7px;
	background: #171717;
	color: #fff !important;
	cursor: pointer;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.kpc-map__actions a {
	background: transparent;
	color: #171717 !important;
}

.kpc-map__frame {
	display: block;
	width: 100%;
	height: 600px;
	border: 0;
}

.kpc-map[data-kpc-loaded="true"] {
	display: block;
}

.kpc-map__phone-note {
	margin: 0;
	padding: 12px 18px;
	border-bottom: 1px solid #dedad4;
	background: #fff;
	color: #403d39;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.kpc-document {
	width: min(100% - 40px, 1040px);
	margin: 0 auto;
	padding: 24px 0 72px;
	color: #252525;
	font-size: 16px;
	line-height: 1.72;
}

.kpc-document h1 {
	margin-bottom: 10px;
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.1;
}

.kpc-document h2 {
	margin: 42px 0 14px;
	font-size: 26px;
	line-height: 1.25;
}

.kpc-document h3 {
	margin: 26px 0 10px;
	font-size: 19px;
}

.kpc-document p,
.kpc-document li {
	color: #4f4b46;
}

.kpc-document__meta {
	margin-bottom: 34px;
	color: #77716a;
	font-size: 13px;
}

.kpc-document__notice {
	margin: 25px 0;
	padding: 18px 20px;
	border-left: 4px solid #e31b23;
	background: #f7f4ef;
}

.kpc-document__table-wrap {
	overflow-x: auto;
}

.kpc-document table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.kpc-document th,
.kpc-document td {
	padding: 13px 14px;
	border: 1px solid #dedad4;
	vertical-align: top;
	text-align: left;
}

.kpc-document th {
	background: #f3f0eb;
	color: #252525;
}

.kpc-document a {
	color: #bd1118;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.kpc-cookie-banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
		align-items: stretch;
		flex-direction: column;
		gap: 16px;
		padding: 19px;
	}

	.kpc-cookie-banner__actions {
		min-width: 0;
	}

	.kpc-consent-modal {
		padding: 10px;
	}

	.kpc-consent-modal__panel {
		max-height: calc(100vh - 20px);
		padding: 28px 20px;
	}

	.kpc-consent-option {
		align-items: flex-start;
	}

	.kpc-consent-modal__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.kpc-map {
		min-height: 420px;
	}

	.kpc-map__frame {
		height: 440px;
	}

	.kpc-document {
		width: min(100% - 28px, 1040px);
		font-size: 15px;
	}
}
