/* Pepzora Compliance
   Palette matches the Elementor global colours:
   ivory #FBF8F3 | beige #F2EAE0 | sand #E0D3C0
   espresso #221C16 | body #3D3429 | gold #B08D4F | compliance #8B4A3B */

:root {
	--pzc-ivory: #FBF8F3;
	--pzc-beige: #F2EAE0;
	--pzc-sand: #E0D3C0;
	--pzc-espresso: #221C16;
	--pzc-body: #3D3429;
	--pzc-gold: #B08D4F;
	--pzc-gold-hover: #C9A86A;
	--pzc-flag: #8B4A3B;
}

/* ---------- Verification gate ---------- */

.pzc-gate {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(34, 28, 22, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

html.pzc-verified .pzc-gate,
.pzc-gate[hidden] {
	display: none !important;
}

html.pzc-gate-open,
html.pzc-gate-open body {
	overflow: hidden;
}

.pzc-gate__panel {
	width: 100%;
	max-width: 540px;
	padding: 48px 44px 40px;
	background: var(--pzc-ivory);
	border: 1px solid var(--pzc-sand);
	text-align: center;
	box-shadow: 0 30px 70px rgba(34, 28, 22, 0.35);
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}

.pzc-gate__eyebrow {
	margin: 0 0 18px;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--pzc-gold);
}

.pzc-gate__heading {
	margin: 0 0 20px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 38px;
	font-weight: 600;
	line-height: 1.15;
	color: var(--pzc-espresso);
}

.pzc-gate__body,
.pzc-gate__question {
	margin: 0 0 18px;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: var(--pzc-body);
}

.pzc-gate__question {
	padding-top: 18px;
	border-top: 1px solid var(--pzc-sand);
	margin-bottom: 28px;
}

.pzc-gate__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.pzc-gate__btn {
	display: inline-block;
	width: 100%;
	padding: 17px 32px;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	border: 1px solid var(--pzc-espresso);
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pzc-gate__btn--accept {
	background: var(--pzc-espresso);
	color: var(--pzc-ivory);
}

.pzc-gate__btn--accept:hover,
.pzc-gate__btn--accept:focus-visible {
	background: var(--pzc-gold);
	border-color: var(--pzc-gold);
	color: var(--pzc-espresso);
}

.pzc-gate__btn--decline {
	background: transparent;
	color: var(--pzc-body);
	border-color: var(--pzc-sand);
}

.pzc-gate__btn--decline:hover,
.pzc-gate__btn--decline:focus-visible {
	border-color: var(--pzc-body);
	color: var(--pzc-espresso);
}

.pzc-gate__btn:focus-visible {
	outline: 2px solid var(--pzc-gold);
	outline-offset: 3px;
}

/* ---------- RUO notices ---------- */

.pzc-notice {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 22px 0;
	padding: 16px 20px;
	background: var(--pzc-beige);
	border-left: 3px solid var(--pzc-flag);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.6;
	color: var(--pzc-body);
}

.pzc-notice__flag {
	flex: 0 0 auto;
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--pzc-flag);
}

.pzc-notice__text {
	flex: 1 1 260px;
}

.pzc-notice--archive {
	margin-top: 0;
}

/* ---------- Checkout acknowledgement ---------- */

.pzc-ack {
	margin: 20px 0 24px;
	padding: 18px 20px;
	background: var(--pzc-beige);
	border: 1px solid var(--pzc-sand);
	border-left: 3px solid var(--pzc-flag);
}

.pzc-ack__label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 13px;
	line-height: 1.6;
	color: var(--pzc-body);
}

.pzc-ack__input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--pzc-flag);
	cursor: pointer;
}

.pzc-ack__text .required {
	border: 0;
	color: var(--pzc-flag);
	text-decoration: none;
}

/* ---------- Persistent footer bar ---------- */

.pzc-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	padding: 9px 20px;
	background: var(--pzc-espresso);
	text-align: center;
}

.pzc-bar__text {
	font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	line-height: 1.5;
	color: var(--pzc-sand);
}

body.pzc-has-bar {
	padding-bottom: 42px;
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
	.pzc-gate__panel {
		padding: 36px 24px 30px;
	}

	.pzc-gate__heading {
		font-size: 30px;
	}

	.pzc-bar__text {
		font-size: 9px;
		letter-spacing: 1px;
	}

	body.pzc-has-bar {
		padding-bottom: 54px;
	}
}

/* ---------- Print ---------- */

@media print {
	.pzc-gate,
	.pzc-bar {
		display: none !important;
	}
}
