:root {
	--pdra-navy: #12395b;
	--pdra-blue: #1f73b7;
	--pdra-gold: #d6aa54;
	--pdra-ink: #183247;
	--pdra-soft: #f4f8fb;
}

/* Jetpack conserva toda su funcionalidad, pero su botón queda fuera de pantalla. */
.jetpack-subscribe-floating-button.pdra-original-button {
	position: fixed !important;
	left: -10000px !important;
	right: auto !important;
	top: auto !important;
	bottom: 0 !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.pdra-invite,
.pdra-compact {
	box-sizing: border-box;
	position: fixed;
	right: 18px;
	bottom: 82px;
	z-index: 12000;
	font-family: inherit;
}

.pdra-invite {
	display: grid;
	grid-template-columns: 58px 1fr;
	gap: 14px;
	width: min(390px, calc(100vw - 32px));
	padding: 18px 18px 17px;
	border: 1px solid rgba(18, 57, 91, .14);
	border-left: 5px solid var(--pdra-gold);
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 13px 38px rgba(14, 43, 68, .23);
	color: var(--pdra-ink);
	opacity: 0;
	transform: translateY(18px) scale(.98);
	pointer-events: none;
	transition: opacity .28s ease, transform .28s ease;
}

.pdra-invite.pdra-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

.pdra-invite[hidden],
.pdra-compact[hidden] {
	display: none !important;
}

.pdra-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: var(--pdra-navy);
	box-shadow: 0 0 0 2px rgba(31, 115, 183, .22);
	overflow: hidden;
}

.pdra-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pdra-icon-fallback {
	color: #fff;
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
}

.pdra-content {
	min-width: 0;
	padding-right: 14px;
}

.pdra-title {
	margin: 0 0 6px;
	color: var(--pdra-navy);
	font-size: 19px;
	font-weight: 750;
	line-height: 1.22;
}

.pdra-description {
	margin: 0 0 13px;
	color: #486174;
	font-size: 14px;
	line-height: 1.46;
}

.pdra-action,
.pdra-compact,
.pdra-close {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	font: inherit;
	cursor: pointer;
}

.pdra-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 17px;
	border-radius: 999px;
	background: var(--pdra-blue);
	box-shadow: 0 5px 13px rgba(31, 115, 183, .24);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.1;
	transition: background .2s ease, transform .2s ease;
}

.pdra-action:hover,
.pdra-action:focus-visible {
	background: var(--pdra-navy);
	color: #fff;
	transform: translateY(-1px);
}

.pdra-close {
	position: absolute;
	top: 7px;
	right: 8px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: transparent;
	color: #718696;
	font-size: 23px;
	line-height: 1;
}

.pdra-close:hover,
.pdra-close:focus-visible {
	background: var(--pdra-soft);
	color: var(--pdra-navy);
}

.pdra-compact {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 15px 8px 9px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 999px;
	background: var(--pdra-navy);
	box-shadow: 0 8px 24px rgba(14, 43, 68, .25);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	transition: background .2s ease, transform .2s ease;
}

.pdra-compact:hover,
.pdra-compact:focus-visible {
	background: var(--pdra-blue);
	color: #fff;
	transform: translateY(-1px);
}

.pdra-compact-mark {
	display: grid;
	place-items: center;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: #fff;
	color: var(--pdra-navy);
	font-size: 14px;
	font-weight: 800;
}

.pdra-action:focus-visible,
.pdra-compact:focus-visible,
.pdra-close:focus-visible {
	outline: 3px solid rgba(214, 170, 84, .55);
	outline-offset: 2px;
}

@media (max-width: 520px) {
	.pdra-invite {
		right: 12px;
		bottom: 86px;
		grid-template-columns: 48px 1fr;
		gap: 11px;
		width: calc(100vw - 24px);
		padding: 15px 14px 14px;
		border-radius: 13px;
	}

	.pdra-icon {
		width: 48px;
		height: 48px;
	}

	.pdra-title {
		font-size: 17px;
	}

	.pdra-description {
		font-size: 13.5px;
	}

	.pdra-compact {
		right: 12px;
		bottom: 78px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pdra-invite,
	.pdra-action,
	.pdra-compact {
		transition: none;
	}
}

