#pd247-consent-banner,
#pd247-consent-modal,
#pd247-consent-mobile-trigger {
	font-family: Arial, sans-serif;
}

#pd247-consent-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 999999;
	background: #ffffff;
	color: #111111;
	border: 1px solid #d9d9d9;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	padding: 18px;
	max-width: 980px;
	margin: 0 auto;
	display: none;
}

#pd247-consent-banner.show {
	display: block;
}

.pd247-consent-banner-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.pd247-consent-text {
	flex: 1 1 540px;
	font-size: 14px;
	line-height: 1.55;
}

.pd247-consent-text strong {
	display: block;
	font-size: 15px;
	margin-bottom: 6px;
}

.pd247-consent-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.pd247-btn {
	appearance: none;
	border: 1px solid #cfcfcf;
	background: #fff;
	color: #111;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.pd247-btn:hover {
	background: #f7f7f7;
}

.pd247-btn-primary {
	background: #111111;
	color: #ffffff;
	border-color: #111111;
}

.pd247-btn-primary:hover {
	background: #000000;
}

.pd247-btn-link {
	background: transparent;
	border-color: transparent;
	padding-left: 4px;
	padding-right: 4px;
	text-decoration: underline;
}

#pd247-consent-mobile-trigger {
	position: fixed;
	left: 0;
	bottom: -5px;
	z-index: 999998;
	display: none;
}

#pd247-consent-mobile-trigger.show {
	display: block;
}

#pd247-consent-mobile-trigger button {
	appearance: none;
	border: 1px solid #111111;
	border-left: 0;
	background: #111111;
	color: #ffffff;
	border-radius: 0 10px 10px 0;
	padding: 12px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .2px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0,0,0,.16);
	line-height: 1;
}

#pd247-consent-mobile-trigger button:hover {
	background: #000000;
}

#pd247-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: none;
}

#pd247-consent-modal.show {
	display: block;
}

.pd247-consent-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.48);
}

.pd247-consent-dialog {
	position: relative;
	z-index: 2;
	max-width: 720px;
	margin: 5vh auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 50px rgba(0,0,0,.24);
	padding: 24px;
	max-height: 90vh;
	overflow: auto;
}

.pd247-consent-dialog h2 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.2;
}

.pd247-consent-dialog p {
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 14px;
}

.pd247-consent-category {
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 14px;
	margin: 0 0 12px;
}

.pd247-consent-category-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	margin-bottom: 8px;
}

.pd247-consent-category-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.pd247-consent-category-desc {
	font-size: 14px;
	color: #333;
	line-height: 1.55;
}

.pd247-switch {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
}

.pd247-switch input {
	width: 18px;
	height: 18px;
}

.pd247-consent-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 18px;
}

@media (max-width: 767px) {
	#pd247-consent-banner {
		display: none !important;
	}

	#pd247-consent-mobile-trigger.show {
		display: block;
	}

	.pd247-consent-dialog {
		margin: 0;
		min-height: 100vh;
		max-height: 100vh;
		border-radius: 0;
		padding: 20px 16px 24px;
	}

	.pd247-consent-dialog h2 {
		font-size: 22px;
	}

	.pd247-consent-category-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.pd247-consent-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.pd247-consent-footer .pd247-consent-actions {
		width: 100%;
		display: flex;
		flex-direction: column;
	}

	.pd247-consent-footer .pd247-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (min-width: 768px) {
	#pd247-consent-mobile-trigger {
		display: none !important;
	}
}