/* Botón abrir: colores Astra; fuente Astra → Elementor Kit → herencia */
#pdlv-modal-open {
	display: inline-block;
	background: var(--ast-global-color-0, #b8974a);
	color: #fff;
	border: none;
	padding: 12px 28px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: var(--ast-border-radius, 4px);
	font-family: var(--ast-body-font-family, var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit)));
	transition: background .2s, opacity .2s;
	line-height: 1.5;
}
#pdlv-modal-open:hover { opacity: .85; }

#pdlv-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	z-index: 999999;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
#pdlv-modal-overlay.pdlv-modal-open {
	display: flex;
}
#pdlv-modal-box {
	position: relative;
	width: 100%;
	max-width: 780px;
	max-height: 92vh;
	overflow-y: auto;
	border-radius: var(--ast-border-radius, 6px);
	background: var(--ast-global-color-5, #fff);
	box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
#pdlv-modal-close {
	position: sticky;
	top: 12px;
	float: right;
	margin: 12px 12px 0 0;
	background: var(--ast-global-color-6, #f0f0f0);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 16px;
	line-height: 32px;
	text-align: center;
	cursor: pointer;
	color: var(--ast-global-color-4, #333);
	transition: background .2s;
	z-index: 10;
	padding: 0;
}
#pdlv-modal-close:hover {
	background: var(--ast-global-color-0, #b8974a);
	color: #fff;
}
/* Evitar scroll del body cuando el modal está abierto */
body.pdlv-noscroll { overflow: hidden; }
