/* Domestique Brochure Popup — front-end styles */

.dbp-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: inherit;
	line-height: 1.2;
}
.dbp-trigger:hover {
	background: var(--dbp-hover-bg, currentColor);
	filter: brightness(0.95);
}
.dbp-trigger .dbp-arrow {
	transition: transform 0.25s ease;
	display: inline-block;
}
.dbp-trigger:hover .dbp-arrow {
	transform: translateX(3px);
}

/* ── Overlay ───────────────────────────────────── */
.dbp-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(20, 17, 15, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	backdrop-filter: blur(4px);
}
.dbp-overlay.dbp-open {
	opacity: 1;
	visibility: visible;
}

.dbp-modal {
	background: #FBF8F2;
	max-width: 440px;
	width: 100%;
	border-radius: 8px;
	padding: 40px 32px 32px;
	position: relative;
	transform: translateY(16px) scale(0.97);
	transition: transform 0.3s ease;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
}
.dbp-overlay.dbp-open .dbp-modal {
	transform: translateY(0) scale(1);
}

.dbp-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.06);
	font-size: 20px;
	line-height: 1;
	color: #14110F;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.dbp-close:hover {
	background: rgba(0, 0, 0, 0.12);
}

.dbp-form-view h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #14110F;
}
.dbp-subtext {
	font-size: 14px;
	color: #6b6258;
	margin: 0 0 24px;
	line-height: 1.5;
}

#dbp-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#dbp-form label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b6258;
}
#dbp-form input,
#dbp-form select {
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid #D9D2C4;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	color: #14110F;
	transition: border-color 0.2s ease;
}
#dbp-form input:focus,
#dbp-form select:focus {
	outline: none;
	border-color: #1F3A2E;
}
.dbp-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0;
}

.dbp-error {
	color: #b3261e;
	font-size: 13px;
	margin: 0;
	min-height: 18px;
}

.dbp-submit {
	margin-top: 6px;
	padding: 14px;
	background: #14110F;
	color: #FBF8F2;
	border: none;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, opacity 0.2s ease;
}
.dbp-submit:hover {
	background: #1F3A2E;
}
.dbp-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Success view ──────────────────────────────── */
.dbp-success-view {
	text-align: center;
	padding: 20px 0;
}
.dbp-check {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #1F3A2E;
	color: #fff;
	font-size: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
}
.dbp-success-view p {
	font-size: 15px;
	color: #14110F;
	margin: 0 0 24px;
	line-height: 1.5;
}
.dbp-download-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: #1F3A2E;
	color: #fff;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s ease;
}
.dbp-download-link:hover {
	background: #14110F;
	color: #fff;
}

@media (max-width: 480px) {
	.dbp-modal {
		padding: 32px 20px 24px;
	}
}
