/* ============================================================
   Pre-Checkout NDB — estilos de front-end
   Paleta e tipografia alinhadas à Formação Alta Perfumaria Natural
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Infant:wght@500;600&family=Lora:wght@400;500&display=swap');

:root {
	--pcndb-gold: #A47B30;
	--pcndb-gold-dark: #8a6524;
	--pcndb-text: #35383B;
	--pcndb-cream: #FBF8F1;
	--pcndb-black: #14110D;
}

/* ---------- Botão do shortcode ---------- */
.pcndb-trigger-btn {
	display: inline-block;
	font-family: 'Cinzel', serif;
	font-size: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 16px 34px;
	border-radius: 4px;
	border: 1px solid transparent;
	cursor: pointer;
	background: linear-gradient(180deg, #C4A048 0%, var(--pcndb-gold) 100%);
	color: #FFFDF8;
	box-shadow: 0 6px 18px rgba(164, 123, 48, .35);
	transition: background .25s ease, transform .15s ease;
	line-height: 1.4;
}
.pcndb-trigger-btn:hover {
	background: linear-gradient(180deg, #B48D3B 0%, var(--pcndb-gold-dark) 100%);
	transform: translateY(-1px);
}
.pcndb-trigger-btn:active { transform: translateY(0); }

/* ---------- Overlay / Modal ---------- */
.pcndb-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(20, 17, 13, .86);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}
.pcndb-overlay.pcndb-open {
	display: flex;
}

.pcndb-modal {
	position: relative;
	background: var(--pcndb-cream);
	border-radius: 10px;
	border: 1px solid #D9C89A;
	max-width: 640px;
	width: 100%;
	padding: 48px 40px 40px;
	text-align: center;
	box-sizing: border-box;
	animation: pcndb-fade-in .25s ease;
}

@keyframes pcndb-fade-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.pcndb-close {
	position: absolute;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	color: var(--pcndb-text);
	cursor: pointer;
	opacity: .6;
	transition: opacity .2s;
	padding: 4px;
}
.pcndb-close:hover { opacity: 1; }

.pcndb-logo {
	max-width: 220px;
	max-height: 80px;
	width: auto;
	margin: 0 auto 22px;
	display: block;
}

.pcndb-eyebrow {
	font-family: 'Cinzel', serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--pcndb-gold-dark);
	margin: 0 0 10px;
}

.pcndb-title {
	font-family: 'Cormorant Infant', serif;
	font-weight: 600;
	font-size: 28px;
	color: var(--pcndb-text);
	margin: 0 0 16px;
	line-height: 1.3;
}

.pcndb-description {
	font-family: 'Lora', serif;
	font-size: 15.5px;
	color: #5C5F62;
	line-height: 1.65;
	max-width: 460px;
	margin: 0 auto 40px;
}

.pcndb-options-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	align-items: start;
}

.pcndb-option {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pcndb-option-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	font-family: 'Cinzel', serif;
	font-size: 14.5px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 18px 20px;
	border-radius: 4px;
	background: linear-gradient(180deg, #C4A048 0%, var(--pcndb-gold) 100%);
	color: #FFFDF8 !important;
	text-decoration: none !important;
	box-shadow: 0 4px 10px rgba(164, 123, 48, .22);
	transition: background .25s ease, transform .15s ease;
}
.pcndb-option-btn:hover {
	background: linear-gradient(180deg, #B48D3B 0%, var(--pcndb-gold-dark) 100%);
	transform: translateY(-1px);
}

.pcndb-option-subtext {
	display: block;
	margin-top: 16px;
	font-family: 'Lora', serif;
	font-size: 14px;
	color: #6A6D70;
	line-height: 1.5;
}

.pcndb-or-divider {
	display: none;
}

/* ---------- Responsivo ---------- */
@media (max-width: 560px) {
	.pcndb-modal { padding: 36px 24px 30px; }
	.pcndb-title { font-size: 23px; margin-bottom: 12px; }
	.pcndb-description { font-size: 14.5px; margin-bottom: 34px; }
	.pcndb-options-wrap {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.pcndb-or-divider {
		display: flex;
		align-items: center;
		justify-content: center;
		font-family: 'Cinzel', serif;
		font-size: 11.5px;
		letter-spacing: 2px;
		text-transform: uppercase;
		color: #A79A78;
		margin: 6px 0;
	}
	.pcndb-or-divider::before,
	.pcndb-or-divider::after {
		content: '';
		flex: 1;
		height: 1px;
		background: #E3D8B8;
	}
	.pcndb-or-divider span {
		padding: 0 14px;
	}
}
