/* Product Consent Popup — inherits your Divi fonts; only the button color is set here. */
:root { --pcp-accent: #8fbf1f; --pcp-button-text: #1a1a1a; }

.pcp-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000; /* above Divi header/menus */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(20, 22, 24, 0.72);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
}
.pcp-overlay[hidden] { display: none; }

html.pcp-lock, html.pcp-lock body { overflow: hidden !important; }

.pcp-dialog {
	width: 100%;
	max-width: 800px;
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: #fff;
	color: #222;
	border-radius: 6px;
	padding: 32px 32px 28px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	animation: pcp-in 0.25s ease-out;
}
@keyframes pcp-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.pcp-dialog { animation: none; }
}

.pcp-title {
	margin: 0 0 14px;
	padding: 0;
	font-size: 22px;
	line-height: 1.3;
}
.pcp-content { font-size: 15px; line-height: 1.6; }
.pcp-content p { padding-bottom: 0; margin: 0 0 12px; }

.pcp-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 20px 0 22px;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
}
.pcp-check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--pcp-accent);
	cursor: pointer;
}

.pcp-submit {
	display: block;
	width: 100%;
	padding: 13px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--pcp-accent);
	color: var(--pcp-button-text);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s;
}
.pcp-submit:hover:not(:disabled) { opacity: 0.9; }
.pcp-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.pcp-submit:focus-visible,
.pcp-check input:focus-visible { outline: 3px solid #1a1a1a; outline-offset: 2px; }

@media (max-width: 480px) {
	.pcp-dialog { padding: 24px 20px 20px; }
	.pcp-title { font-size: 19px; }
}
