/*
 * Páginas de cuenta y pago de Paid Memberships Pro (módulo Páginas de cuenta y pago).
 * Solo variables del kit «Omnes Kit 2026» (colores y tipografías globales): ningún valor fijo de color ni de familia.
 * Se carga solo en las páginas de PMPro que tengan el estilo encendido (ajustes del módulo).
 *
 * Colores del kit: Verde Profundo 0731c04 · Dorado Premium c3034f4 · Cloud Dancer c9d8e7f · White 4cef510 ·
 * Bordes-New 42a09e1 · Gris Texto a6b7c8d · Texto · Énfasis (accent) · Menta 04d7145.
 * Tipografías del kit: Título categoría f6a7b8c · Título columna c1d2e3f · Texto acceso f4b0d62 ·
 * Antetítulo acceso a1c4e72 · Botones 16b0b1f · Texto (text).
 */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) {
	--aom-verde: var(--e-global-color-0731c04);
	--aom-verde-oscuro: color-mix(in srgb, var(--e-global-color-0731c04) 88%, var(--e-global-color-b57e532));
	--aom-dorado: var(--e-global-color-c3034f4);
	--aom-cloud: var(--e-global-color-c9d8e7f);
	--aom-blanco: var(--e-global-color-4cef510);
	--aom-borde: var(--e-global-color-42a09e1);
	--aom-gris: var(--e-global-color-a6b7c8d);
	--aom-texto: var(--e-global-color-text);
	--aom-enfasis: var(--e-global-color-accent);
	--aom-menta: var(--e-global-color-04d7145);

	/* Variables de PMPro */
	--pmpro--color--base: var(--aom-blanco);
	--pmpro--color--white: var(--aom-blanco);
	--pmpro--color--contrast: var(--aom-texto);
	--pmpro--color--accent: var(--aom-verde);
	--pmpro--color--accent--variation: var(--aom-verde-oscuro);
	--pmpro--color--border: var(--aom-borde);
	--pmpro--color--border--variation: var(--aom-borde);
	--pmpro--base--border-radius: 16px;
	--pmpro--box-shadow: none;
	--pmpro--base--spacing--small: 14px;
	--pmpro--base--spacing--medium: 22px;
	--pmpro--base--spacing--large: 32px;
	/* Avisos: ni rojo ni verde de sistema, solo el kit */
	--pmpro--color--info-background: var(--aom-cloud);
	--pmpro--color--info-border: var(--aom-borde);
	--pmpro--color--info-text: var(--aom-verde);
	--pmpro--color--info-link: var(--aom-verde);
	--pmpro--color--success-background: var(--aom-cloud);
	--pmpro--color--success-border: var(--aom-borde);
	--pmpro--color--success-text: var(--aom-verde);
	--pmpro--color--success-link: var(--aom-verde);
	--pmpro--color--alert-background: var(--aom-blanco);
	--pmpro--color--alert-border: var(--aom-borde);
	--pmpro--color--alert-text: var(--aom-texto);
	--pmpro--color--alert-link: var(--aom-verde);
	--pmpro--color--error-background: var(--aom-blanco);
	--pmpro--color--error-border: var(--aom-borde);
	--pmpro--color--error-text: var(--aom-texto);
	--pmpro--color--error-link: var(--aom-verde);
}

/* ------------------------------------------------------------------ Base */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro, .pmpro_form) {
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro a:not(.pmpro_btn):not(.elementor-button) {
	color: var(--aom-verde);
	text-decoration: underline;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro a:not(.pmpro_btn):not(.elementor-button):is(:hover, :focus-visible) {
	color: var(--aom-enfasis);
}

/* ---------------------------------------------------------------- Tarjetas */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card {
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-borde);
	border-radius: 16px;
	box-shadow: none;
	margin: 0 0 22px;
	overflow: hidden;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_content {
	padding: 32px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_actions {
	background-color: var(--aom-cloud);
	border-top: 1px solid var(--aom-borde);
	border-bottom: 0;
	padding: 16px 32px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_card_title, .pmpro_form_heading, .pmpro_form_legend h2, .pmpro_form_legend h3) {
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-size: var(--e-global-typography-c1d2e3f-font-size);
	font-weight: var(--e-global-typography-c1d2e3f-font-weight);
	line-height: var(--e-global-typography-c1d2e3f-line-height);
	letter-spacing: normal;
	text-transform: none;
	color: var(--aom-texto);
	margin: 0;
	padding: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_title {
	padding: 32px 32px 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_fieldset {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_legend {
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

/* ---------------------------------------------------------------- Campos */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_fields {
	display: grid;
	gap: 16px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_fields.pmpro_cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_field {
	margin: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_asterisk abbr,
:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_asterisk abbr[title] {
	color: var(--aom-gris);
	text-decoration: none;
	border: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_form_input, select.pmpro_form_input, textarea.pmpro_form_input) {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	height: 48px;
	padding: 0 14px;
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-borde);
	border-radius: 10px;
	box-shadow: none;
	color: var(--aom-texto);
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color .18s ease;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) textarea.pmpro_form_input {
	height: auto;
	min-height: 112px;
	padding: 12px 14px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) select.pmpro_form_input {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--aom-gris) 50%), linear-gradient(135deg, var(--aom-gris) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_input::placeholder {
	color: var(--aom-gris);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_input:is(:focus, :focus-visible) {
	border-color: var(--aom-verde);
	outline: 2px solid var(--aom-verde);
	outline-offset: 2px;
	box-shadow: none;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_input.pmpro_form_input-error {
	border-color: var(--aom-dorado);
	background-color: var(--aom-blanco);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_hint {
	margin: 6px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--aom-gris);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_field-password-toggle {
	margin-top: 8px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_btn-password-toggle:is(:link, :visited, :hover, :focus, :active) {
	background: none;
	border: 1px solid transparent;
	border-radius: 8px;
	box-shadow: none;
	color: var(--aom-gris);
	font-size: 13px;
	padding: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_btn-password-toggle:focus-visible {
	outline: 2px solid var(--aom-verde);
	outline-offset: 2px;
}

/* Campos de tarjeta de Stripe (los iframes los pinta Stripe dentro de estos contenedores) */
:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(#AccountNumber, #Expiry, #CVV) {
	box-sizing: border-box;
	min-height: 48px;
	padding: 14px;
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-borde);
	border-radius: 10px;
	transition: border-color .18s ease;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .StripeElement--focus {
	border-color: var(--aom-verde);
	outline: 2px solid var(--aom-verde);
	outline-offset: 2px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .StripeElement--invalid {
	border-color: var(--aom-dorado);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_payment-request-button {
	margin-bottom: 20px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) #payment-request-button {
	border-radius: 10px;
	overflow: hidden;
}

/* --------------------------------------------------------------- Botones */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_btn, input[type="submit"]):not(.pmpro_btn-cancel):not(.pmpro_btn-outline) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 24px;
	background-color: var(--aom-verde);
	border: 1px solid var(--aom-verde);
	border-radius: 10px;
	box-shadow: none;
	color: var(--aom-blanco);
	cursor: pointer;
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-16b0b1f-font-size);
	font-weight: var(--e-global-typography-16b0b1f-font-weight);
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_btn, input[type="submit"]):not(.pmpro_btn-cancel):not(.pmpro_btn-outline):is(:hover, :focus, :active) {
	background-color: var(--aom-verde-oscuro) !important;
	border-color: var(--aom-verde-oscuro) !important;
	color: var(--aom-blanco) !important;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_btn-cancel, .pmpro_btn-outline, button[name="cancel"]) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 48px;
	padding: 0 24px;
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-verde);
	border-radius: 10px;
	box-shadow: none;
	color: var(--aom-verde);
	cursor: pointer;
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-16b0b1f-font-size);
	font-weight: var(--e-global-typography-16b0b1f-font-weight);
	text-decoration: none;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_btn-cancel, .pmpro_btn-outline, button[name="cancel"]):is(:hover, :focus, :active) {
	background-color: var(--aom-cloud) !important;
	border-color: var(--aom-verde) !important;
	color: var(--aom-verde) !important;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_btn, input[type="submit"], .pmpro_btn-cancel, .pmpro_btn-outline, button[name="cancel"]):focus-visible {
	outline: 2px solid var(--aom-verde);
	outline-offset: 2px;
}

/* ----------------------------------------------------------------- Avisos */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_message {
	box-shadow: none;
	border-radius: 10px;
	padding: 12px 16px;
	margin: 0 0 20px;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-f4b0d62-font-size);
	line-height: 1.55;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_message:is(.pmpro_error, .pmpro_alert) {
	border-left: 3px solid var(--aom-dorado);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_tag-success {
	background-color: var(--aom-cloud);
	border: 1px solid var(--aom-borde);
	color: var(--aom-verde);
	font-family: var(--e-global-typography-a1c4e72-font-family), ui-sans-serif, system-ui, sans-serif;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_tag-alert, .pmpro_tag-error) {
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-dorado);
	color: var(--aom-texto);
	font-family: var(--e-global-typography-a1c4e72-font-family), ui-sans-serif, system-ui, sans-serif;
}

/* ----------------------------------------------------------------- Tablas */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table th {
	font-family: var(--e-global-typography-a1c4e72-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-a1c4e72-font-size);
	font-weight: var(--e-global-typography-a1c4e72-font-weight);
	text-transform: uppercase;
	letter-spacing: .12em;
	color: var(--aom-gris);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table :is(th, td) {
	border-bottom: 1px solid var(--aom-borde);
}

@media (max-width: 767px) {
	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table {
		display: block;
		overflow-x: auto;
	}
}

/* ---------------------------------------------------------------- Pago (checkout) */

body.pmpro-checkout #pmpro_form {
	margin: 0;
}

/* Con sesión, PMPro solo pinta aquí el aviso «has iniciado sesión como…»: lo sustituye la tarjeta de cuenta */
body.pmpro-checkout.omnes-co--con-sesion #pmpro_user_fields {
	display: none;
}

body.pmpro-checkout .omnes-co-head {
	margin: 0 0 24px;
}

body.pmpro-checkout .omnes-co-head__eyebrow {
	display: block;
	margin: 0 0 10px;
	font-family: var(--e-global-typography-a1c4e72-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-a1c4e72-font-size);
	font-weight: var(--e-global-typography-a1c4e72-font-weight);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--aom-dorado);
}

body.pmpro-checkout .omnes-co-head__dot {
	display: none;
}

body.pmpro-checkout .omnes-co-head__title {
	margin: 0;
	font-family: var(--e-global-typography-f6a7b8c-font-family), Georgia, serif;
	font-size: var(--e-global-typography-f6a7b8c-font-size);
	font-weight: var(--e-global-typography-f6a7b8c-font-weight);
	line-height: var(--e-global-typography-f6a7b8c-line-height);
	color: var(--aom-verde);
}

/* Tarjeta del plan: Verde Profundo, con el nombre y el precio que da PMPro */
body.pmpro-checkout .omnes-co-plan {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 22px;
	padding: 30px 32px;
	background-color: var(--aom-verde);
	border-radius: 16px;
}

body.pmpro-checkout :is(.omnes-co-plan__info, .omnes-co-plan__precio) {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

body.pmpro-checkout .omnes-co-plan__precio {
	align-items: flex-end;
	text-align: right;
}

body.pmpro-checkout .omnes-co-plan__eyebrow {
	font-family: var(--e-global-typography-a1c4e72-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-a1c4e72-font-size);
	font-weight: var(--e-global-typography-a1c4e72-font-weight);
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--aom-menta);
}

body.pmpro-checkout :is(.omnes-co-plan__name, .omnes-co-plan__amount) {
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-weight: 700;
	line-height: 1.2;
	color: var(--aom-blanco);
}

body.pmpro-checkout .omnes-co-plan__name {
	font-size: clamp(22px, 3vw, 30px);
}

body.pmpro-checkout .omnes-co-plan__amount {
	font-size: clamp(24px, 3.2vw, 32px);
	white-space: nowrap;
}

body.pmpro-checkout :is(.omnes-co-plan__period, .omnes-co-plan__nota) {
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--aom-menta);
}

body.pmpro-checkout .omnes-co-plan__nota {
	flex: 1 0 100%;
	margin: 6px 0 0;
}

/* Tarjeta de cuenta */
body.pmpro-checkout .omnes-co-cuenta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	padding: 20px 24px;
	background-color: var(--aom-blanco);
	border: 1px solid var(--aom-borde);
	border-radius: 16px;
}

body.pmpro-checkout .omnes-co-cuenta__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: var(--aom-cloud);
	color: var(--aom-verde);
}

body.pmpro-checkout .omnes-co-cuenta__linea {
	margin: 0;
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.4;
	color: var(--aom-texto);
}

body.pmpro-checkout .omnes-co-cuenta__linea strong {
	font-weight: 700;
}

body.pmpro-checkout .omnes-co-cuenta__sub {
	margin: 2px 0 0;
	font-size: 14px;
	line-height: 1.4;
}

body.pmpro-checkout .omnes-co-cuenta__sub a:not(.pmpro_btn) {
	color: var(--aom-gris);
	text-decoration: none;
}

body.pmpro-checkout .omnes-co-cuenta__sub a:not(.pmpro_btn):is(:hover, :focus-visible) {
	color: var(--aom-verde);
	text-decoration: underline;
}

/* Total y botón de pago */
body.pmpro-checkout .omnes-co-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 22px;
	padding: 20px 4px 0;
	border-top: 1px solid var(--aom-borde);
}

body.pmpro-checkout .omnes-co-total__label {
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: var(--aom-texto);
}

body.pmpro-checkout .omnes-co-total__amount {
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-size: clamp(20px, 2.6vw, 26px);
	font-weight: 700;
	color: var(--aom-verde);
	white-space: nowrap;
}

body.pmpro-checkout .pmpro_form_submit {
	display: block;
	margin: 0;
}

body.pmpro-checkout #pmpro_submit_span {
	display: block;
	width: 100%;
}

body.pmpro-checkout :is(#pmpro_btn-submit, .pmpro_btn-submit-checkout) {
	display: block;
	width: 100%;
	height: 48px;
}

body.pmpro-checkout #pmpro_processing_message {
	margin-top: 14px;
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	color: var(--aom-verde);
}

body.pmpro-checkout .omnes-co-seguro {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin: 16px 0 0;
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	color: var(--aom-gris);
}

body.pmpro-checkout #lerox-sl-pmpro-turnstile {
	margin: 0 0 22px;
}

/* Ajustes del pago (observaciones de E1): caducidad y CVC en dos columnas, aire bajo la frase del regalo y sin hueco antes de «Pagar con tarjeta» */
:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_cols-2:not(.pmpro_form_fields) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 20px;
}

body.pmpro-checkout #aom_regalo .pmpro_card_content > p {
	margin: 0 0 20px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) #payment-request-button:empty {
	display: none;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_payment-request-button:has(:is(#payment-request-button:empty, #payment-request-button[style*="display: none"])) {
	margin-bottom: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_payment-request-button .pmpro_form_heading {
	margin: 0;
}

@media (max-width: 767px) {
	body.pmpro-checkout .omnes-co-plan {
		padding: 24px 20px;
	}

	body.pmpro-checkout .omnes-co-plan__precio {
		align-items: flex-start;
		text-align: left;
	}

	body.pmpro-checkout .omnes-co-cuenta {
		padding: 18px 20px;
	}

	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_content {
		padding: 22px 20px 26px;
	}

	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_actions {
		padding: 14px 20px;
	}

	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_form_fields.pmpro_cols-2, .pmpro_cols-2:not(.pmpro_form_fields)) {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- Páginas de cuenta (facturación, cancelación, confirmación, pedidos y factura, perfil) */

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card > h2.pmpro_card_title {
	padding: 32px 32px 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card > .pmpro_card_title + .pmpro_card_content {
	padding-top: 18px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card_title:has(.pmpro_tag) {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: normal;
	text-transform: none;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_section_title {
	margin: 0 0 20px;
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-size: var(--e-global-typography-c1d2e3f-font-size);
	font-weight: var(--e-global-typography-c1d2e3f-font-weight);
	line-height: var(--e-global-typography-c1d2e3f-line-height);
	letter-spacing: normal;
	text-transform: none;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_list.pmpro_cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 20px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_cols-2 > * {
	width: auto;
	min-width: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_list_item_label {
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 14px;
	color: var(--aom-gris);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_spacer {
	height: 0;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(#pmpro_order_single-items h3, h3.pmpro_font-large) {
	margin: 0 0 16px;
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table thead th {
	border-top: 0;
	text-align: left;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table tbody th {
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_table td {
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
	color: var(--aom-texto);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_btn-plain {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
	background: none;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: var(--aom-verde);
	cursor: pointer;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 14px;
	text-decoration: underline;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_btn-plain:is(:hover, :focus-visible) {
	background: none;
	color: var(--aom-enfasis);
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_btn-plain:focus-visible {
	outline: 2px solid var(--aom-verde);
	outline-offset: 2px;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_form_field .pmpro_btn.pmpro_btn-password-toggle:is(:link, :visited, :hover, :focus, :active) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 0;
	height: auto;
	padding: 2px 0;
	background: none !important;
	border: 0 !important;
	border-radius: 6px;
	box-shadow: none;
	color: var(--aom-gris) !important;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
}

:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_actions_nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 20px;
	margin-top: 8px;
	font-size: 15px;
}

body.pmpro-billing .pmpro_form_submit {
	margin-top: 24px;
}

@media (prefers-reduced-motion: reduce) {
	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) :is(.pmpro_form_input, #AccountNumber, #Expiry, #CVV, .pmpro_btn, input[type="submit"]) {
		transition: none;
	}
}

/* Móvil de las páginas de cuenta (después de las reglas base para que ganen) */
@media (max-width: 767px) {
	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_list.pmpro_cols-2 {
		grid-template-columns: 1fr;
	}

	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_card > h2.pmpro_card_title {
		padding: 22px 20px 0;
	}

	:is(body.pmpro-checkout, body.pmpro-billing, body.pmpro-cancel, body.pmpro-confirmation, body.pmpro-invoice, body.pmpro-member-profile-edit) .pmpro_actions_nav {
		flex-direction: column;
	}
}

/* ----------------------------------------------------------------- Cancelación · confirmación (T9)
 * Caja gris y botones de las piezas 2026 (65326: .oe-caja, .oe-btn, .oe-btn-sec) para la vista de confirmación que pinta
 * la plantilla del módulo (includes/pmpro-paginas/plantillas/pages/cancel.php). Con #pmpro_cancel para ganar a las reglas
 * generales de enlaces y botones de este archivo y al reinicio de botones del tema.
 */
body.pmpro-cancel #pmpro_cancel .pmpro_card.aom-cancelar {
	background-color: var(--e-global-color-f6e1c2a);
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	margin: 0;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar .pmpro_card_content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 32px;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__titulo {
	margin: 0;
	padding: 0;
	font-family: var(--e-global-typography-e9c4b16-font-family), Georgia, serif;
	font-size: var(--e-global-typography-e9c4b16-font-size);
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	line-height: var(--e-global-typography-e9c4b16-line-height);
	letter-spacing: normal;
	text-transform: none;
	color: var(--e-global-color-text);
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__fecha {
	margin: 0;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-f4b0d62-font-size);
	font-weight: var(--e-global-typography-f4b0d62-font-weight);
	line-height: var(--e-global-typography-f4b0d62-line-height);
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__botones {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 24px 0 0;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	cursor: pointer;
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-16b0b1f-font-size);
	font-weight: var(--e-global-typography-16b0b1f-font-weight);
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn--principal {
	background-color: var(--e-global-color-0731c04);
	color: var(--e-global-color-4cef510);
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn--principal:is(:hover, :focus) {
	background-color: var(--e-global-color-primary) !important;
	color: var(--e-global-color-4cef510) !important;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn--secundario {
	background-color: var(--e-global-color-4cef510);
	color: var(--e-global-color-0731c04);
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn--secundario:is(:hover, :focus) {
	background-color: var(--e-global-color-0731c04) !important;
	color: var(--e-global-color-4cef510) !important;
}

body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn:focus-visible {
	outline: 2px solid var(--e-global-color-0731c04);
	outline-offset: 2px;
}

@media (max-width: 1024px) {
	body.pmpro-cancel #pmpro_cancel .aom-cancelar .pmpro_card_content {
		padding: 28px;
	}
}

@media (max-width: 767px) {
	body.pmpro-cancel #pmpro_cancel .aom-cancelar .pmpro_card_content {
		padding: 24px;
	}

	body.pmpro-cancel #pmpro_cancel .aom-cancelar__botones {
		flex-direction: column;
		align-items: stretch;
		margin-top: 20px;
	}

	body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.pmpro-cancel #pmpro_cancel .aom-cancelar__btn {
		transition: none;
	}
}

/* ----------------------------------------------------------------- Facturación · datos de pago (T11)
 * Vista de una suscripción (?pmpro_subscription_id=…) de la plantilla de PMPro pages/billing.php, sin plantilla propia:
 * «Información de la cuenta», «Dirección de facturación» e «Información de pago» en cajas grises sin borde (pieza 65326:
 * Gris Tarjeta, radio 12, padding 32/28/24), títulos Etiqueta filtro (Baskerville 700 16), Nivel/Suscripción/Próximo cobro
 * en una fila, campos blancos sin borde (radio 10, alto 48) y botones 2026 (radio 8, alto 44). Las listas «Mis suscripciones»
 * y «Suscripciones anteriores» (#pmpro_billing-memberships, #pmpro_billing-history) no cambian. Con #pmpro_form o .pmpro_section para ganar a las reglas generales de este archivo.
 */
body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) {
	--aom-t11-pad: 32px;
}

/* Cajas: la de la cuenta, la del formulario se deshace y cada bloque del formulario es su propia caja */
body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_card,
body.pmpro-billing #pmpro_form #pmpro_billing_address_fields,
body.pmpro-billing #pmpro_form #pmpro_payment_information_fields > .pmpro_card {
	background-color: var(--e-global-color-f6e1c2a);
	border: 0;
	border-radius: 12px;
	box-shadow: none;
	margin: 0 0 24px;
}

body.pmpro-billing #pmpro_form #pmpro_billing_address_fields {
	padding: var(--aom-t11-pad);
	margin: 0;
}

body.pmpro-billing #pmpro_form #pmpro_payment_information_fields > .pmpro_card {
	margin: 0;
}

body.pmpro-billing #pmpro_form #pmpro_payment_information_fields > .pmpro_card > .pmpro_card_content {
	padding: var(--aom-t11-pad);
}

body.pmpro-billing #pmpro_form.pmpro_card {
	background: none;
	border: 0;
	border-radius: 0;
	overflow: visible;
	margin: 0;
}

body.pmpro-billing #pmpro_form.pmpro_card > .pmpro_card_content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0;
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_divider {
	display: none;
}

/* Títulos de caja: Etiqueta filtro (Libre Baskerville 700 16) */
body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) :is(.pmpro_card > h2.pmpro_card_title, .pmpro_form_heading) {
	margin: 0;
	font-family: var(--e-global-typography-e9c4b16-font-family), Georgia, serif;
	font-size: var(--e-global-typography-e9c4b16-font-size);
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	line-height: var(--e-global-typography-e9c4b16-line-height);
	letter-spacing: normal;
	text-transform: none;
	color: var(--e-global-color-text);
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_card > h2.pmpro_card_title {
	padding: var(--aom-t11-pad) var(--aom-t11-pad) 0;
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_card > .pmpro_card_title + .pmpro_card_content {
	padding: 12px var(--aom-t11-pad) var(--aom-t11-pad);
}

/* La leyenda flota para quedar dentro del padding de la caja (una leyenda normal se pinta sobre el borde del fieldset) */
body.pmpro-billing #pmpro_form #pmpro_billing_address_fields > .pmpro_form_legend {
	float: left;
	width: 100%;
	margin: 0 0 20px;
}

body.pmpro-billing #pmpro_form #pmpro_billing_address_fields > .pmpro_form_fields {
	clear: both;
}

body.pmpro-billing #pmpro_form #pmpro_payment_information_fields .pmpro_form_legend {
	margin: 0 0 20px;
}

/* Información de la cuenta: aviso y datos más pequeños */
body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_card .pmpro_card_content > p {
	margin: 0;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-f4b0d62-font-size);
	font-weight: var(--e-global-typography-f4b0d62-font-weight);
	line-height: var(--e-global-typography-f4b0d62-line-height);
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_card .pmpro_card_content > p strong {
	font-weight: 600;
	color: var(--e-global-color-text);
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list.pmpro_list-with-labels.pmpro_cols-2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 24px;
	margin: 20px 0 0;
	padding: 0;
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list-with-labels .pmpro_list_item {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	border: 0;
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list-with-labels .pmpro_list_item_label {
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list-with-labels .pmpro_list_item_value {
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--e-global-color-text);
}

/* Campos blancos sin borde (radio 10, alto 48); el foco y el error se siguen viendo */
body.pmpro-billing #pmpro_form .pmpro_form_input,
body.pmpro-billing #pmpro_form #pmpro_payment_information_fields div:is(#AccountNumber, #Expiry, #CVV) {
	background-color: var(--e-global-color-4cef510);
	border: 0;
	border-radius: 10px;
	box-shadow: none;
}

body.pmpro-billing #pmpro_form .pmpro_form_input {
	height: 48px;
}

/* Contenedores de los iframes de Stripe: la caja es nuestra (base.css de PMPro les pone borde y radio 16 con dos ids);
 * el texto de dentro lo pinta Stripe (filtro pmpro_stripe_card_element_style), no este CSS. */
body.pmpro-billing #pmpro_form #pmpro_payment_information_fields div:is(#AccountNumber, #Expiry, #CVV) {
	box-sizing: border-box;
	height: 48px;
	min-height: 48px;
	padding: 14px;
}

body.pmpro-billing #pmpro_form .pmpro_form_input:is(:focus, :focus-visible),
body.pmpro-billing #pmpro_form #pmpro_payment_information_fields div.StripeElement--focus:is(#AccountNumber, #Expiry, #CVV) {
	border: 0;
	outline: 2px solid var(--e-global-color-0731c04);
	outline-offset: 2px;
}

body.pmpro-billing #pmpro_form .pmpro_form_input.pmpro_form_input-error,
body.pmpro-billing #pmpro_form #pmpro_payment_information_fields div.StripeElement--invalid:is(#AccountNumber, #Expiry, #CVV) {
	box-shadow: inset 0 0 0 1px var(--e-global-color-c3034f4);
}

/* Botones 2026 fuera de las cajas, sobre blanco: Actualizar (principal) y Cancelar (secundario Gris Tarjeta) */
body.pmpro-billing #pmpro_form .pmpro_form_submit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 8px 0 0;
}

body.pmpro-billing #pmpro_form .pmpro_form_submit :is(#pmpro_btn-submit, .pmpro_btn-cancel) {
	box-sizing: border-box;
	min-height: 44px;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-16b0b1f-font-size);
	font-weight: var(--e-global-typography-16b0b1f-font-weight);
	line-height: 1.4;
	transition: background-color .18s ease, color .18s ease;
}

body.pmpro-billing #pmpro_form .pmpro_form_submit #pmpro_btn-submit {
	background-color: var(--e-global-color-0731c04);
	color: var(--e-global-color-4cef510);
}

body.pmpro-billing #pmpro_form .pmpro_form_submit #pmpro_btn-submit:is(:hover, :focus, :active) {
	background-color: var(--e-global-color-primary) !important;
	border-color: transparent !important;
	color: var(--e-global-color-4cef510) !important;
}

body.pmpro-billing #pmpro_form .pmpro_form_submit .pmpro_btn-cancel {
	background-color: var(--e-global-color-f6e1c2a);
	color: var(--e-global-color-0731c04);
}

body.pmpro-billing #pmpro_form .pmpro_form_submit .pmpro_btn-cancel:is(:hover, :focus, :active) {
	background-color: var(--e-global-color-0731c04) !important;
	border-color: transparent !important;
	color: var(--e-global-color-4cef510) !important;
}

body.pmpro-billing #pmpro_form .pmpro_form_submit :is(#pmpro_btn-submit, .pmpro_btn-cancel):focus-visible {
	outline: 2px solid var(--e-global-color-0731c04);
	outline-offset: 2px;
}

/* PMPro no cierra la <section> de esta vista: el enlace «Ir a Mi cuenta» queda dentro; aire con los botones */
body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) > .pmpro_actions_nav {
	margin-top: 32px;
}

@media (max-width: 1024px) {
	body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) {
		--aom-t11-pad: 28px;
	}
}

@media (max-width: 767px) {
	body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) {
		--aom-t11-pad: 24px;
	}

	body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list.pmpro_list-with-labels.pmpro_cols-2 {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list-with-labels .pmpro_list_item {
		flex-direction: row;
		justify-content: space-between;
		align-items: baseline;
		gap: 12px;
	}

	body.pmpro-billing .pmpro_section:not(#pmpro_billing-memberships, #pmpro_billing-history) .pmpro_list-with-labels .pmpro_list_item_value {
		text-align: right;
	}

	body.pmpro-billing #pmpro_form .pmpro_form_submit {
		flex-direction: column;
		align-items: stretch;
	}

	body.pmpro-billing #pmpro_form .pmpro_form_submit :is(#pmpro_btn-submit, .pmpro_btn-cancel) {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.pmpro-billing #pmpro_form .pmpro_form_submit :is(#pmpro_btn-submit, .pmpro_btn-cancel) {
		transition: none;
	}
}

/* S2-CHECKOUT-2026 */
/* ----------------------------------------------------------------- Pago 2026 (S2) · plantilla plantillas/pages/checkout.php
 * Cajas grises sin borde (Gris Tarjeta, radio 12, padding 28/24) en la columna de campos y resumen con borde degradado a la
 * derecha (300 px, fijo en escritorio). Correo y contraseña son los únicos datos de cuenta. Solo variables del kit.
 * Todo bajo #pmpro_form.aom-co: el id gana a las reglas generales de este archivo y a base.css de PMPro.
 */
body.pmpro-checkout #pmpro_form.aom-co {
	margin: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-columnas {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-campos {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

/* Cajas: cuenta, regalo, facturación y pago */
body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_fieldset > .pmpro_card {
	box-sizing: border-box;
	margin: 0;
	padding: 28px;
	overflow: visible;
	background-color: var(--e-global-color-f6e1c2a);
	border: 0;
	border-radius: 12px;
	box-shadow: none;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_card_content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_legend {
	width: auto;
	margin: 0;
	padding: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_fieldset .pmpro_form_legend .pmpro_form_heading {
	margin: 0;
	font-family: var(--e-global-typography-e9c4b16-font-family), Georgia, serif;
	font-size: var(--e-global-typography-e9c4b16-font-size);
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	line-height: var(--e-global-typography-e9c4b16-line-height);
	letter-spacing: normal;
	text-transform: none;
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-caja-cabecera {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 4px 12px;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-acceso {
	margin: 0;
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-acceso a,
body.pmpro-checkout #pmpro_form.aom-co .aom-co-cambiar {
	font-family: var(--e-global-typography-accent-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: var(--e-global-typography-accent-font-weight);
	color: var(--e-global-color-0731c04);
	text-decoration: none;
}

body.pmpro-checkout #pmpro_form.aom-co :is(.aom-co-acceso a, .aom-co-cambiar):is(:hover, :focus-visible) {
	color: var(--e-global-color-0731c04);
	text-decoration: underline;
}

body.pmpro-checkout #pmpro_form.aom-co :is(.aom-co-acceso a, .aom-co-cambiar):focus-visible {
	outline: 2px solid var(--e-global-color-0731c04);
	outline-offset: 2px;
}

/* Con sesión: solo el aviso, sin campos de cuenta */
body.pmpro-checkout #pmpro_form.aom-co #pmpro_account_loggedin {
	font-family: var(--e-global-typography-f4b0d62-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-f4b0d62-font-size);
	line-height: var(--e-global-typography-f4b0d62-line-height);
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_account_loggedin strong {
	font-weight: 600;
}

/* Campos */
body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_fields {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 20px;
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_billing_address_fields .pmpro_form_fields {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_cols-2:not(.pmpro_form_fields) {
	grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_field {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	position: relative;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_label {
	margin: 0;
	font-family: var(--e-global-typography-accent-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: 1.4;
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_asterisk {
	display: none;
}

body.pmpro-checkout #pmpro_form.aom-co :is(.pmpro_form_input, select.pmpro_form_input, textarea.pmpro_form_input),
body.pmpro-checkout #pmpro_form.aom-co #pmpro_payment_information_fields div:is(#AccountNumber, #Expiry, #CVV) {
	box-sizing: border-box;
	background-color: var(--e-global-color-4cef510);
	border: 1px solid var(--e-global-color-a33a61d);
	border-radius: 10px;
	box-shadow: none;
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_input {
	height: 48px;
	padding: 0 14px;
	font-family: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
}

body.pmpro-checkout #pmpro_form.aom-co select.pmpro_form_input {
	padding: 0 40px 0 14px;
}

body.pmpro-checkout #pmpro_form.aom-co textarea.pmpro_form_input {
	height: auto;
	min-height: 112px;
	padding: 12px 14px;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_field-password .pmpro_form_input {
	padding: 0 44px 0 14px;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_input::placeholder {
	color: var(--e-global-color-a6b7c8d);
}

/* Contenedores de los iframes de Stripe: la caja es nuestra; el texto de dentro lo pinta Stripe */
body.pmpro-checkout #pmpro_form.aom-co #pmpro_payment_information_fields div:is(#AccountNumber, #Expiry, #CVV) {
	height: 48px;
	min-height: 48px;
	padding: 14px;
}

/* Foco: borde de 2 px en verde de marca (1 px de borde + 1 px de sombra interior, sin mover el contenido) */
body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_input:is(:focus, :focus-visible),
body.pmpro-checkout #pmpro_form.aom-co #pmpro_payment_information_fields div.StripeElement--focus:is(#AccountNumber, #Expiry, #CVV) {
	border-color: var(--e-global-color-0731c04);
	box-shadow: inset 0 0 0 1px var(--e-global-color-0731c04);
	outline: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_input.pmpro_form_input-error,
body.pmpro-checkout #pmpro_form.aom-co #pmpro_payment_information_fields div.StripeElement--invalid:is(#AccountNumber, #Expiry, #CVV) {
	box-shadow: inset 0 0 0 1px var(--e-global-color-c3034f4);
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_hint {
	margin: 0;
	font-size: 13px;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co #aom_regalo .pmpro_card_content > p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co #lerox-sl-pmpro-turnstile {
	margin: 0;
}

/* Ojo de la contraseña: dentro del campo, a la derecha; el texto «Mostrar contraseña» queda solo para lectores de pantalla */
body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_field-password-toggle {
	position: absolute;
	right: 4px;
	bottom: 2px;
	margin: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_btn-password-toggle,
body.pmpro-checkout #pmpro_form.aom-co .pmpro_btn-password-toggle:is(:hover, :focus, :active) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	background: none !important;
	border: 0 !important;
	border-radius: 8px;
	color: var(--e-global-color-a6b7c8d) !important;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_btn-password-toggle:focus-visible {
	outline: 2px solid var(--e-global-color-0731c04);
	outline-offset: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_btn-password-toggle svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_field-password-toggle-state {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Título «Pago» con la letra y el margen de «Tu cuenta» y «Facturación» (PMPro lo pinta como título de tarjeta) */
body.pmpro-checkout #pmpro_form.aom-co #pmpro_payment_information_fields-title {
	padding: 0;
	margin: 0 0 20px;
	font-family: var(--e-global-typography-e9c4b16-font-family), Georgia, serif;
	font-size: var(--e-global-typography-e9c4b16-font-size);
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	line-height: var(--e-global-typography-e9c4b16-line-height);
	color: var(--e-global-color-text);
}

/* Pago rápido de Stripe + separador «o con tarjeta» (solo si Stripe monta el botón) */
body.pmpro-checkout #pmpro_form.aom-co #payment-request-button {
	max-width: none;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_payment-request-button {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_payment-request-button:has(:is(#payment-request-button:empty, #payment-request-button[style*="display: none"])) {
	display: none;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_payment-request-button h3 {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-family: var(--e-global-typography-e3f4a5b-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: none;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_payment-request-button h3::before,
body.pmpro-checkout #pmpro_form.aom-co .pmpro_payment-request-button h3::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--e-global-color-42a09e1);
}

/* Resumen */
body.pmpro-checkout #pmpro_form.aom-co .aom-co-resumen {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
	padding: 24px;
	background:
		linear-gradient(160deg, var(--e-global-color-4cef510) 0%, var(--e-global-color-efffb10) 100%) padding-box,
		linear-gradient(90deg, var(--e-global-color-3fc48e0) 0%, var(--e-global-color-22b8c90) 100%) border-box;
	border: 1.5px solid transparent;
	border-radius: 16px;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-plan {
	display: flex;
	align-items: center;
	gap: 12px;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-insignia {
	flex: none;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-plan-textos {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-plan-nombre {
	font-family: var(--e-global-typography-e9c4b16-font-family), Georgia, serif;
	font-size: var(--e-global-typography-e9c4b16-font-size);
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	line-height: var(--e-global-typography-e9c4b16-line-height);
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-raya {
	height: 1px;
	background: color-mix(in srgb, var(--e-global-color-0731c04) 12%, var(--e-global-color-4cef510));
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-total-etiqueta {
	font-family: var(--e-global-typography-accent-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 14px;
	font-weight: var(--e-global-typography-accent-font-weight);
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-total-cifra {
	text-align: right;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-importe {
	font-family: var(--e-global-typography-c1d2e3f-font-family), Georgia, serif;
	font-size: var(--e-global-typography-c1d2e3f-font-size);
	font-weight: var(--e-global-typography-c1d2e3f-font-weight);
	line-height: var(--e-global-typography-c1d2e3f-line-height);
	color: var(--e-global-color-0731c04);
}

body.pmpro-checkout #pmpro_form.aom-co :is(.aom-co-periodo, .aom-co-nota) {
	font-family: var(--e-global-typography-e3f4a5b-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-nota {
	margin: -8px 0 0;
}

body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_submit {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_btn-submit {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 0;
	font-family: var(--e-global-typography-16b0b1f-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-16b0b1f-font-size);
	font-weight: var(--e-global-typography-16b0b1f-font-weight);
	color: var(--e-global-color-4cef510);
	background-color: var(--e-global-color-0731c04);
	border: 0;
	border-radius: 8px;
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_btn-submit:is(:hover, :focus, :active) {
	color: var(--e-global-color-4cef510) !important;
	background-color: var(--e-global-color-primary) !important;
	border-color: var(--e-global-color-primary) !important;
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_btn-submit:disabled {
	opacity: .6;
	cursor: default;
}

body.pmpro-checkout #pmpro_form.aom-co #pmpro_processing_message {
	margin: 0;
	text-align: center;
	font-family: var(--e-global-typography-e3f4a5b-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: var(--e-global-color-a6b7c8d);
}

/* Oculto hasta enviar (el JS de PMPro lo pasa a visible): no reserva hueco */
body.pmpro-checkout #pmpro_form.aom-co #pmpro_processing_message[style*="hidden"] {
	display: none;
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-seguro {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	font-family: var(--e-global-typography-e3f4a5b-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.3;
	color: var(--e-global-color-a6b7c8d);
}

body.pmpro-checkout #pmpro_form.aom-co .aom-co-seguro svg {
	flex: none;
}

@media (min-width: 900px) {
	body.pmpro-checkout #pmpro_form.aom-co .aom-co-columnas {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	body.pmpro-checkout #pmpro_form.aom-co .aom-co-resumen {
		position: sticky;
		top: 24px;
		align-self: start;
	}
}

@media (min-width: 1025px) {
	body.pmpro-checkout #pmpro_form.aom-co .aom-co-resumen {
		top: 89px;
	}
}

@media (max-width: 767px) {
	body.pmpro-checkout #pmpro_form.aom-co .pmpro_form_fieldset > .pmpro_card {
		padding: 24px;
	}
}
/* /S2-CHECKOUT-2026 */

/* S3-CONFIRMACION-2026 */
/* ----------------------------------------------------------------- Recibo 2026 · confirmación y detalle de un pago
 * Plantillas plantillas/pages/confirmation.php e invoice.php con plantillas/parts/recibo.php. Todo bajo #aom-recibo
 * (solo existe con esas plantillas). Columna de 1200 px pegada a la izquierda y recibo de 860 px.
 * Variables del kit donde existen; el verde #045659 es un tono propio de la Paleta de colores (--aom-paleta-045659);
 * #5E6B6B y #1A191C no tienen global.
 */
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo {
	--aom-rec-verde: var(--aom-paleta-045659, #045659);
	--aom-rec-gris: #5E6B6B;
	--aom-rec-tinta: #1A191C;
	--aom-rec-caja: var(--e-global-color-f6e1c2a);
	--aom-rec-blanco: var(--e-global-color-4cef510);
	--aom-rec-serif: var(--e-global-typography-primary-font-family), Georgia, serif;
	--aom-rec-sans: var(--e-global-typography-text-font-family), ui-sans-serif, system-ui, sans-serif;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	width: 100%;
	max-width: 1200px;
	color: var(--e-global-color-text);
	font-family: var(--aom-rec-sans);
	text-align: left;
}

/* Columnas de las plantillas de Elementor (812 px centrada en la confirmación, 880 px en la cuenta): 1200 px a la izquierda. */
body.pmpro-confirmation .e-con-inner:has(> .e-con > .elementor-widget-theme-post-content #aom-recibo),
body.pmpro-invoice .e-con-inner:has(> .e-con > .elementor-widget-theme-post-content #aom-recibo) {
	--align-items: flex-start;
	align-items: flex-start;
}

body.pmpro-confirmation .e-con:has(> .elementor-widget-theme-post-content #aom-recibo),
body.pmpro-invoice .e-con:has(> .elementor-widget-theme-post-content #aom-recibo) {
	--width: 100%;
	width: 100%;
	max-width: 1200px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) .pmpro_section:has(> #aom-recibo) {
	margin: 0;
	padding: 0;
}

/* La entradilla vacía de la cabecera de Elementor (detalle de un pago) no deja hueco. */
body.pmpro-invoice .elementor-widget-heading:has(> .elementor-widget-container > p.elementor-heading-title:empty),
body.pmpro-invoice .elementor-widget-heading:has(> p.elementor-heading-title:empty) {
	display: none;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo :is(h1, h2, p, dl, dd) {
	margin: 0;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo :is(a, button):focus-visible {
	outline: 2px solid var(--aom-rec-verde);
	outline-offset: 2px;
}

/* Encabezado: como «Suscripción cancelada». */
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-cab {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-titulo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--aom-rec-verde);
	font-family: var(--aom-rec-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-flor {
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	color: var(--aom-rec-verde);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-entradilla {
	color: var(--aom-rec-gris);
	font-family: var(--aom-rec-sans);
	font-size: 15px;
	line-height: 1.5;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-nota {
	max-width: 860px;
	font-size: 15px;
	line-height: 1.5;
}

/* Recibo. */
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-recibo {
	display: flex;
	flex-direction: column;
	gap: 24px;
	box-sizing: border-box;
	width: 100%;
	max-width: 860px;
	padding: 32px;
	border: 0;
	border-radius: 12px;
	background: var(--aom-rec-caja);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-sup {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-pedido {
	color: var(--e-global-color-text);
	font-family: var(--aom-rec-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-pastilla {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--aom-rec-blanco);
	color: var(--aom-rec-tinta);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-punto {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--e-global-color-3fc48e0);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-pastilla--pendiente .aom-rec-punto {
	background: var(--e-global-color-secondary);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-pastilla--reembolsado .aom-rec-punto {
	background: var(--e-global-color-b7a1f2b);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-imprimir {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 0;
	margin: 0 0 0 auto;
	padding: 2px 0;
	border: 0;
	border-radius: 4px;
	background: none;
	box-shadow: none;
	color: var(--aom-rec-verde);
	cursor: pointer;
	font-family: var(--e-global-typography-mhdr014-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-mhdr014-font-size);
	font-weight: var(--e-global-typography-mhdr014-font-weight);
	line-height: var(--e-global-typography-mhdr014-line-height);
	text-decoration: none;
	text-transform: none;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-imprimir:is(:hover, :focus, :active) {
	background: none;
	color: var(--aom-rec-verde);
	text-decoration: none;
	opacity: .8;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-imprimir svg {
	flex: 0 0 auto;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-datos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 24px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-dato {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-dato dt {
	color: var(--aom-rec-gris);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 16px;
	text-transform: uppercase;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-dato dd {
	color: var(--e-global-color-text);
	font-size: 14px;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-lineas {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px 24px;
	border-radius: 10px;
	background: var(--aom-rec-blanco);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-fila {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	line-height: 1.45;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-concepto {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo :is(.aom-rec-plan, .aom-rec-importe) {
	color: var(--e-global-color-text);
	font-size: 14px;
	font-weight: 600;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-importe {
	flex: 0 0 auto;
	white-space: nowrap;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo :is(.aom-rec-periodo, .aom-rec-fila--parte) {
	color: var(--aom-rec-gris);
	font-size: 13px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-raya {
	height: 1px;
	background: var(--e-global-color-efefef0);
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-total {
	align-items: center;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-total__etiqueta {
	font-size: 14px;
	font-weight: 600;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-total__importe {
	color: var(--aom-rec-verde);
	font-family: var(--aom-rec-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
}

/* Botones. */
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-acciones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	font-family: var(--e-global-typography-mhdr014-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: var(--e-global-typography-mhdr014-font-size);
	font-weight: var(--e-global-typography-mhdr014-font-weight);
	line-height: var(--e-global-typography-mhdr014-line-height);
	text-decoration: none;
	transition: background-color .18s ease;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--pri,
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--pri:is(:hover, :focus, :visited) {
	background: var(--aom-rec-verde);
	color: var(--aom-rec-blanco);
	text-decoration: none;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--pri:hover {
	background: color-mix(in srgb, var(--aom-rec-verde) 88%, var(--e-global-color-b57e532));
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--sec,
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--sec:is(:hover, :focus, :visited) {
	background: var(--aom-rec-caja);
	color: var(--aom-rec-tinta);
	text-decoration: none;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-btn--sec:hover {
	background: var(--e-global-color-efefef0);
}

@media (max-width: 767px) {
	:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-recibo {
		padding: 24px 20px;
	}

	:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-datos {
		grid-template-columns: minmax(0, 1fr);
	}

	:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-imprimir {
		flex-basis: 100%;
		margin-left: 0;
	}

	:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-lineas {
		padding: 16px;
	}
}

/* Imprimir o guardar en PDF: solo el recibo, sin fondo ni botones. */
@media print {
	body:has(#aom-recibo .aom-rec-recibo) *:not(:has(.aom-rec-recibo)):not(.aom-rec-recibo):not(.aom-rec-recibo *) {
		display: none !important;
	}

	body:has(#aom-recibo .aom-rec-recibo),
	body:has(#aom-recibo .aom-rec-recibo) *:has(.aom-rec-recibo) {
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		width: auto !important;
		max-width: none !important;
		min-height: 0 !important;
		box-shadow: none !important;
		background: none !important;
		position: static !important;
	}

	#aom-recibo .aom-rec-recibo {
		max-width: none;
		padding: 0;
		background: none;
	}

	#aom-recibo .aom-rec-imprimir {
		display: none !important;
	}

	#aom-recibo .aom-rec-pastilla {
		border: 1px solid var(--e-global-color-efefef0);
	}

	#aom-recibo .aom-rec-lineas {
		border: 1px solid var(--e-global-color-efefef0);
	}

	#aom-recibo .aom-rec-punto {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}
/* /S3-CONFIRMACION-2026 */

/* S5-DATOS-PAGO-2026 */
/*
 * Datos de pago (DatosPago.dc.html) con la plantilla propia plantillas/pages/billing.php: formulario a la izquierda
 * («Tarjeta» de Stripe y «Facturación», cajas grises de T11) y columna lateral con el plan (.oh-destacado del kit).
 * Solo en la facturación la columna de la plantilla 65269 se abre al canal entero para que quepa la lateral.
 */
body.pmpro-billing .cu-cuerpo .elementor-element-cu40003 {
	--width: 100%;
	width: 100%;
	max-width: 100%;
}
body.pmpro-billing .aom-dp {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
}
body.pmpro-billing .aom-dp-principal {
	flex: 999 1 560px;
	min-width: 0;
}
body.pmpro-billing .aom-dp-lateral {
	flex: 0 1 380px;
	max-width: 380px;
	position: sticky;
	top: 24px;
}
body.pmpro-billing .aom-dp-plan.oh-destacado {
	--border-radius: 16px;
	border-radius: 16px !important;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	color: var(--e-global-color-text);
}
body.pmpro-billing .aom-dp-plan-cabecera {
	display: flex;
	align-items: center;
	gap: 12px;
}
body.pmpro-billing .aom-dp-plan .aom-dp-insignia {
	flex: none;
	width: 40px;
	height: 40px;
	object-fit: contain;
	margin: 0;
	border: 0;
	box-shadow: none;
}
body.pmpro-billing .aom-dp-plan-nombre {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
body.pmpro-billing .aom-dp-plan-nombre p {
	margin: 0;
}
body.pmpro-billing .aom-dp-plan-titulo {
	font-family: var(--e-global-typography-e9c4b16-font-family), serif;
	font-weight: var(--e-global-typography-e9c4b16-font-weight);
	font-size: 16px;
	line-height: 1.3;
}
body.pmpro-billing .aom-dp-plan-precio {
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 13px;
	color: var(--e-global-color-a6b7c8d);
}
body.pmpro-billing .aom-dp-separador {
	height: 1px;
	background: color-mix(in srgb, var(--e-global-color-0731c04) 12%, var(--e-global-color-4cef510));
}
body.pmpro-billing .aom-dp-datos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 14px;
}
body.pmpro-billing .aom-dp-datos li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
}
body.pmpro-billing .aom-dp-datos li > span:first-child {
	color: var(--e-global-color-a6b7c8d);
	flex: none;
}
body.pmpro-billing .aom-dp-datos li > span:last-child {
	font-weight: 600;
	text-align: right;
	min-width: 0;
	overflow-wrap: anywhere;
}
body.pmpro-billing .pmpro .aom-dp-plan a.aom-dp-salir {
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: var(--e-global-color-0731c04);
}
body.pmpro-billing .pmpro .aom-dp-plan a.aom-dp-salir:is(:hover, :focus-visible) {
	color: color-mix(in srgb, var(--e-global-color-0731c04) 78%, var(--e-global-color-b57e532));
}
body.pmpro-billing #pmpro_form .aom-dp-nota {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-family: var(--e-global-typography-text-font-family), sans-serif;
	font-size: 12px;
	line-height: 1.4;
	color: var(--e-global-color-a6b7c8d);
}
body.pmpro-billing #pmpro_form .aom-dp-nota svg {
	flex: none;
}
@media (max-width: 1024px) {
	body.pmpro-billing .aom-dp-lateral {
		position: static;
		max-width: none;
	}
}
/* /S5-DATOS-PAGO-2026 */

/* ------------------------------------------------------------------ Facturas */

/* Recibo: enlaces de descarga de la factura, en el sitio del botón de imprimir. */
:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-facturas {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin-left: auto;
}

:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-facturas .aom-rec-imprimir {
	flex-basis: auto;
	margin: 0;
	white-space: nowrap;
}

@media (max-width: 767px) {
	:is(body.pmpro-confirmation, body.pmpro-invoice) #aom-recibo .aom-rec-facturas {
		flex-basis: 100%;
		margin-left: 0;
	}
}

@media print {
	#aom-recibo .aom-rec-facturas {
		display: none !important;
	}
}

/* Pago: datos fiscales. La casilla abre los campos (sin JavaScript). */
body.pmpro-checkout #pmpro_form .aom-fiscal .aom-fiscal-casilla {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	cursor: pointer;
	font-family: var(--e-global-typography-accent-font-family), ui-sans-serif, system-ui, sans-serif;
	font-size: 15px;
	font-weight: var(--e-global-typography-accent-font-weight);
	line-height: 1.4;
	color: var(--e-global-color-text);
}

body.pmpro-checkout #pmpro_form .aom-fiscal .aom-fiscal-casilla input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--e-global-color-0731c04);
}

body.pmpro-checkout #pmpro_form .aom-fiscal .aom-fiscal-campos {
	display: none;
	margin-top: 16px;
}

body.pmpro-checkout #pmpro_form .aom-fiscal:has(#aom_fiscal:checked) .aom-fiscal-campos {
	display: block;
}

/* Misma rejilla que los campos de facturación de arriba. */
body.pmpro-checkout #pmpro_form.aom-co #aom_fiscal_fields .pmpro_form_fields {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.pmpro-checkout #pmpro_form .aom-fiscal .aom-fiscal-nota {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--e-global-color-a6b7c8d);
}
