.mpd-preview-page {
	background: #181818;
	margin: 0;
	padding: clamp(32px, 7vw, 88px) 24px;
}

.mpd-donation,
.mpd-donation * {
	box-sizing: border-box;
}

.mpd-donation {
	--mpd-primary: var(--e-global-color-primary, #02ac1a);
	--mpd-accent: var(--e-global-color-accent, #61ce70);
	--mpd-night: var(--e-global-color-ecfdfce, #181818);
	--mpd-white: var(--e-global-color-9163093, #ffffff);
	--mpd-soft: var(--e-global-color-f21e24e, #bfc0c1);
	--mpd-muted: var(--e-global-color-e5dffa0, #969898);
	--mpd-rule: rgba(191, 192, 193, 0.16);
	--mpd-font-display: var(--e-global-typography-primary-font-family, "Spline Sans"), system-ui, sans-serif;
	--mpd-font-body: var(--e-global-typography-text-font-family, "Inter"), system-ui, sans-serif;
	color: var(--mpd-white);
	font-family: var(--mpd-font-body);
	width: 100%;
}

.mpd-preview-page .mpd-donation {
	margin-inline: auto;
	max-width: 1240px;
}

.mpd-donation__plans {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mpd-plan {
	background: rgba(14, 17, 25, 0.88);
	border: 1px solid var(--mpd-rule);
	display: flex;
	flex-direction: column;
	margin: 0;
	min-width: 0;
	padding: clamp(26px, 3vw, 36px);
}

.mpd-plan--featured {
	background: rgba(14, 20, 18, 0.92);
	border-color: rgba(97, 206, 112, 0.5);
}

.mpd-plan__tag {
	align-self: flex-start;
	border: 1px solid rgba(97, 206, 112, 0.34);
	color: var(--mpd-accent);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.13em;
	margin-bottom: 16px;
	padding: 6px 12px;
	text-transform: uppercase;
}

.mpd-plan h3,
.mpd-modal__dialog h2,
.mpd-plan p,
.mpd-modal__dialog p {
	margin-top: 0;
}

.mpd-plan h3 {
	color: var(--mpd-white);
	font-family: var(--mpd-font-display);
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 0;
}

.mpd-plan__lead {
	color: var(--mpd-soft);
	font-size: 14.5px;
	line-height: 1.6;
	margin: 12px 0 0 !important;
}

.mpd-plan__foot {
	margin-top: auto;
}

.mpd-amounts {
	border: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
}

.mpd-amounts legend {
	color: var(--mpd-muted);
	font-size: 11.5px;
	letter-spacing: 0.12em;
	margin: 0 0 12px;
	padding: 0;
	text-transform: uppercase;
	width: 100%;
}

.mpd-amount { position: relative; }

.mpd-amount input {
	cursor: pointer;
	height: 100%;
	inset: 0;
	margin: 0;
	opacity: 0;
	position: absolute;
	width: 100%;
}

.mpd-amount span {
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--mpd-white);
	display: block;
	font-size: 14px;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	padding: 13px 20px;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mpd-amount input:hover + span { border-color: rgba(97, 206, 112, 0.5); }
.mpd-amount input:checked + span { background: rgba(2, 172, 26, 0.16); border-color: var(--mpd-accent); color: var(--mpd-accent); }
.mpd-plan[aria-disabled="true"] .mpd-amount input,
.mpd-button:disabled { cursor: not-allowed; }
.mpd-plan[aria-disabled="true"] .mpd-amounts { opacity: 0.72; }

.mpd-amount input:focus-visible + span,
.mpd-button:focus-visible,
.mpd-modal__close:focus-visible,
.mpd-form input:focus-visible { outline: 2px solid var(--mpd-accent); outline-offset: 3px; }

.mpd-custom-amount { display: grid; gap: 7px; margin: 14px 0 0; }
.mpd-custom-amount[hidden] { display: none; }
.mpd-custom-amount__label { color: var(--mpd-soft); font-size: 12px; font-weight: 600; }
.mpd-custom-amount__control { display: block; max-width: 240px; position: relative; }
.mpd-custom-amount__currency { color: #59645d; font-size: 14px; font-weight: 700; left: 14px; pointer-events: none; position: absolute; top: 50%; transform: translateY(-50%); }
.mpd-donation .mpd-custom-amount__input { background: #fff; border: 1px solid #aab5ae; border-radius: 0; color: #142018; font: inherit; font-variant-numeric: tabular-nums; min-height: 48px; padding: 12px 14px 12px 42px; width: 100%; }
.mpd-donation .mpd-custom-amount__input[aria-invalid="true"] { border-color: #e06b6b; box-shadow: 0 0 0 1px #e06b6b; }
.mpd-custom-amount small,
.mpd-plan__note { color: var(--mpd-muted); font-size: 11.5px; }
.mpd-custom-amount__error { color: #ff9b9b !important; font-weight: 600; }
.mpd-custom-amount__error[hidden] { display: none; }

.mpd-button {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--mpd-white);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.015em;
	margin-top: 28px;
	min-height: 50px;
	padding: 16px 30px;
	text-decoration: none;
	transition: filter 0.22s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
	width: 100%;
}

.mpd-button:not(:disabled):hover { transform: translateY(-1px); }
.mpd-button--primary { background: linear-gradient(100deg, var(--mpd-primary), var(--mpd-accent)); color: #04140a; }
.mpd-button--primary:not(:disabled):hover { filter: brightness(1.1); }
.mpd-button--ghost { backdrop-filter: blur(8px); background: rgba(6, 9, 16, 0.5); border: 1px solid rgba(255, 255, 255, 0.26); }
.mpd-button--ghost:not(:disabled):hover { background: rgba(2, 172, 26, 0.12); border-color: var(--mpd-accent); }
.mpd-button:disabled { opacity: 0.56; }
.mpd-plan__note { line-height: 1.55; margin: 14px 0 0 !important; }

.mpd-modal[hidden] { display: none; }
.mpd-modal { inset: 0; overflow-y: auto; padding: 24px; position: fixed; z-index: 100000; }
.mpd-modal__backdrop { background: rgba(3, 7, 10, 0.82); inset: 0; position: fixed; }
.mpd-modal__dialog { background: #f8faf8; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 0; box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45); color: #152019; font-family: var(--mpd-font-body); margin: 24px auto; max-width: 720px; overflow: hidden; padding: clamp(24px, 5vw, 44px); position: relative; z-index: 1; }
.mpd-modal__dialog h2 { font-family: var(--mpd-font-display); font-size: clamp(30px, 6vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin: 18px 0 12px; }
.mpd-modal__kicker { color: #168232; font-size: 11px; font-weight: 700; letter-spacing: 0.13em; margin: 0 0 12px; text-transform: uppercase; }
.mpd-modal__eyebrow { align-items: center; display: flex; gap: 16px; justify-content: space-between; padding-right: 42px; }
.mpd-modal__eyebrow .mpd-modal__kicker { margin-bottom: 0; }
.mpd-modal__amount { align-items: baseline; background: #eaf7ed; border: 1px solid #c9e8d0; border-radius: 3px; color: #466050; display: inline-flex; flex: 0 0 auto; font-size: 11px; gap: 7px; margin: 0 !important; padding: 7px 12px; }
.mpd-modal__amount strong { color: #116d2a; font-size: 14px; font-variant-numeric: tabular-nums; }
.mpd-modal__description { color: #66716a; font-size: 14px; line-height: 1.55; margin-bottom: 0 !important; max-width: 590px; }
.mpd-modal__close {
	align-items: center;
	background: #fff;
	border: 1px solid #9da8a1;
	color: #152019;
	cursor: pointer;
	display: inline-flex;
	font-size: 29px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	position: absolute;
	right: 14px;
	top: 12px;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
	width: 42px;
}
.mpd-modal__close:hover { background: #152019; border-color: #152019; color: #fff; }
.mpd-modal__warning { align-items: flex-start; background: #fff7dc; border: 1px solid #efd98a; border-radius: 10px; color: #5d4a13; display: flex; font-size: 12px; gap: 10px; line-height: 1.5; margin: 20px 0; padding: 11px 13px; }
.mpd-modal__warning > span:first-child { align-items: center; background: #e5a500; border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 10px; font-weight: 900; height: 18px; justify-content: center; margin-top: 1px; width: 18px; }

.mpd-steps {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 24px 0;
	padding: 0;
}

.mpd-steps li {
	border-bottom: 2px solid #d5dcd7;
	color: #69736d;
	font-size: 12px;
	font-weight: 700;
	padding: 0 0 10px;
}

.mpd-steps li span {
	align-items: center;
	background: #e5eae7;
	border-radius: 50%;
	display: inline-flex;
	height: 24px;
	justify-content: center;
	margin-right: 6px;
	width: 24px;
}

.mpd-steps li[data-state="current"],
.mpd-steps li[data-state="complete"] {
	border-color: #22a447;
	color: #152019;
}

.mpd-steps li[data-state="current"] span,
.mpd-steps li[data-state="complete"] span {
	background: #22a447;
	color: #fff;
}

.mpd-form,
.mpd-form label { display: grid; gap: 7px; }
.mpd-form { gap: 16px; }
/* `.mpd-steps` es flex, así que necesita su regla: [hidden] solo no la oculta. */
.mpd-steps[hidden],
.mpd-form__step[hidden],
.mpd-payment-panel[hidden],
.mpd-store-result[hidden],
.mpd-store-result__actions[hidden],
.mpd-store-result__confirm[hidden],
.mpd-card-result[hidden] { display: none; }
.mpd-form__step h3 { font-family: var(--mpd-font-display); font-size: 22px; margin: 0; }
.mpd-form__step h3:focus { outline: none; }
.mpd-form__back-link {
	align-items: center;
	background: transparent;
	border: 0;
	color: #28703b;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	gap: 7px;
	margin: 0 0 13px;
	padding: 4px 0;
}
.mpd-form__back-link span { font-size: 19px; line-height: 1; transition: transform 160ms ease; }
.mpd-form__back-link:hover { color: #145f28; text-decoration: underline; text-underline-offset: 3px; }
.mpd-form__back-link:hover span { transform: translateX(-3px); }
.mpd-form__back-link:focus-visible { outline: 2px solid var(--mpd-accent); outline-offset: 3px; }
.mpd-form__intro { color: #66716a; font-size: 13px; line-height: 1.5; margin: 7px 0 18px !important; }
.mpd-form__fields { display: grid; gap: 16px; }
.mpd-form__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mpd-form__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpd-form label > span,
.mpd-card-fields legend { font-size: 13px; font-weight: 700; }
.mpd-form input { background: #fff; border: 1px solid #aab5ae; border-radius: 9px; color: #152019; font: inherit; min-height: 46px; min-width: 0; padding: 12px 13px; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.mpd-form input:hover:not(:disabled) { border-color: #718078; }
.mpd-form input:focus { border-color: #168232; box-shadow: 0 0 0 3px rgba(34, 164, 71, 0.12); }
.mpd-form input::placeholder { color: #98a19b; opacity: 1; }
.mpd-form .mpd-button { margin-top: 20px; }
.mpd-form__privacy { align-items: center; color: #577061; display: flex; font-size: 12px; gap: 7px; margin: 10px 0 0 !important; }
.mpd-form__privacy svg { fill: none; flex: 0 0 auto; height: 18px; stroke: #47725a; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 18px; }

.mpd-payment-methods {
	border: 0;
	margin: 0 0 18px;
	padding: 0;
}

.mpd-payment-methods legend {
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 9px;
	padding: 0;
}

.mpd-payment-methods__tabs {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mpd-form .mpd-payment-tab {
	display: block;
	position: relative;
}

.mpd-payment-tab input {
	inset: 0;
	opacity: 0;
	position: absolute;
}

.mpd-form .mpd-payment-tab > .mpd-payment-tab__content {
	align-items: center;
	border: 1px solid #aab5ae;
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	font-size: 13px;
	gap: 11px;
	justify-content: flex-start;
	min-height: 66px;
	padding: 10px 13px;
	text-align: left;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.mpd-payment-tab__content > svg { fill: none; flex: 0 0 auto; height: 25px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; width: 25px; }
.mpd-payment-tab__content > span { display: grid; gap: 2px; }
.mpd-payment-tab__content strong { font-size: 13px; line-height: 1.2; }
.mpd-payment-tab__content small { color: #758078; font-size: 10.5px; font-weight: 500; line-height: 1.25; }

.mpd-payment-tab input:checked + span {
	background: rgba(34, 164, 71, 0.1);
	border-color: #168232;
	box-shadow: inset 0 0 0 1px #168232;
	color: #126e2b;
}
.mpd-payment-tab input:checked + span small { color: #39704a; }
.mpd-payment-tab input:disabled + span { cursor: wait; opacity: 0.62; }

.mpd-payment-tab input:focus-visible + span {
	outline: 2px solid var(--mpd-accent);
	outline-offset: 3px;
}

.mpd-payment-panel--store { background: #f0f8f2; border: 1px solid #bfdcc6; border-radius: 14px; padding: 20px; }

.mpd-payment-panel--store > strong {
	color: #145f28;
	display: block;
	font-size: 14px;
	margin-bottom: 7px;
}

.mpd-payment-panel--store > p {
	color: #496151;
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.mpd-payment-panel[data-mpd-payment-panel="card"] { display: grid; gap: 18px; }
.mpd-payment-panel[data-mpd-payment-panel="card"][hidden] { display: none; }
.mpd-secure-payment { align-items: center; background: #edf7ef; border: 1px solid #c3dfc9; border-radius: 14px; display: grid; gap: 12px; grid-template-columns: auto minmax(0, 1fr) auto; padding: 16px 18px; }
.mpd-secure-payment__shield { align-items: center; background: #168232; border-radius: 50%; color: #fff; display: inline-flex; height: 38px; justify-content: center; width: 38px; }
.mpd-secure-payment__shield svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 22px; }
.mpd-secure-payment__copy { min-width: 0; }
.mpd-secure-payment__copy strong { color: #174d27; display: block; font-size: 13px; line-height: 1.35; }
.mpd-secure-payment__copy p { color: #4f6756; font-size: 11.5px; line-height: 1.45; margin: 4px 0 0 !important; }
.mpd-openpay-brand { align-items: center; color: #07548c; display: inline-flex; flex: 0 0 auto; gap: 7px; }
.mpd-openpay-brand img { display: block; height: 28px; width: 28px; }
.mpd-openpay-brand > span { font-family: Arial, sans-serif; font-size: 18px; font-weight: 800; letter-spacing: -0.055em; line-height: 0.9; }
.mpd-openpay-brand small { color: #4b646d; display: block; font-size: 6.5px; font-weight: 700; letter-spacing: 0; margin-top: 3px; text-align: right; }
.mpd-card-fields { background: #fff; border: 1px solid #c9d1cc; border-radius: 14px; display: grid; gap: 14px; margin: 0; padding: 20px; }
.mpd-card-fields legend { background: #fff; border-radius: 6px; color: #1b2c21; padding: 0 7px; }
.mpd-accepted-cards { align-items: center; background: #f6f8f6; border: 1px solid #d7ddd9; display: flex; gap: 14px; justify-content: space-between; padding: 11px 12px; }
.mpd-accepted-cards p { display: grid; flex: 1 1 auto; gap: 1px; margin: 0 !important; }
.mpd-accepted-cards strong { color: #26362c; font-size: 11.5px; line-height: 1.3; }
.mpd-accepted-cards small { color: #6b766f; font-size: 9.5px; line-height: 1.3; }
.mpd-accepted-cards__brands { align-items: center; display: flex; flex: 0 1 247px; justify-content: flex-end; }
.mpd-accepted-cards__brands img { display: block; height: auto; max-width: 247px; width: 100%; }
.mpd-card-number-control { display: block; position: relative; }
.mpd-card-number-control input { padding-right: 52px; width: 100%; }
.mpd-card-brand { height: 20px; pointer-events: none; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 34px; }
.mpd-card-brand rect { fill: #fff; stroke: #aeb8b1; stroke-width: 1; }
.mpd-card-brand path { fill: none; stroke: #617069; stroke-linecap: round; stroke-width: 1.5; }
.mpd-card-requirement { align-items: flex-start; background: #fff8e4; border: 1px solid #ead89b; border-radius: 9px; color: #665116; display: flex; gap: 10px; margin: -2px 0 3px; padding: 11px 12px; }
.mpd-card-requirement > span { align-items: center; background: #d69600; border-radius: 50%; color: #fff; display: inline-flex; flex: 0 0 auto; font-size: 10px; font-weight: 900; height: 19px; justify-content: center; margin-top: 1px; width: 19px; }
.mpd-card-requirement p { font-size: 11.5px; line-height: 1.45; margin: 0 !important; }
.mpd-card-requirement strong { display: block; font-size: 12px; margin-bottom: 1px; }
.mpd-card-dates { display: grid; gap: 14px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.mpd-expiry { border: 0; margin: 0; min-width: 0; padding: 0; }
.mpd-expiry legend { font-size: 13px; font-weight: 700; margin-bottom: 7px; padding: 0; }
.mpd-expiry__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mpd-card-field { display: grid; gap: 7px; min-width: 0; position: relative; }
.mpd-card-field__label { align-items: center; display: flex; gap: 6px; justify-content: space-between; }
.mpd-card-field__label label { display: block; font-size: 13px; font-weight: 700; }
.mpd-card-field__label button { align-items: center; appearance: none; background: #eef5f0; border: 1px solid #aebdb3; border-radius: 50%; color: #315f40; cursor: pointer; display: inline-flex; flex: 0 0 auto; font: inherit; font-size: 11px; font-weight: 800; height: 21px; justify-content: center; line-height: 1; padding: 0; width: 21px; }
.mpd-card-field__label button:hover,
.mpd-card-field__label button[aria-expanded="true"] { background: #176d2f; border-color: #176d2f; color: #fff; }
.mpd-card-field__label button:focus-visible { outline: 2px solid var(--mpd-accent); outline-offset: 2px; }
.mpd-card-field__help { background: #17231b; border-radius: 8px; bottom: calc(100% + 8px); box-shadow: 0 9px 24px rgba(15, 25, 18, 0.22); color: #eef5f0; font-size: 10.5px; line-height: 1.45; margin: 0 !important; padding: 10px 11px; position: absolute; right: 0; width: min(220px, 72vw); z-index: 4; }
.mpd-card-field__help::after { border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid #17231b; bottom: -6px; content: ""; position: absolute; right: 5px; }
.mpd-card-field__help strong { color: #8ee09a; display: block; font-size: 10.5px; margin-bottom: 2px; }
.mpd-card-field__help[hidden] { display: none; }
.mpd-consent { align-items: start; background: #f2f4f2; border: 1px solid #d5dcd7; border-radius: 10px; display: grid !important; font-size: 12.5px; grid-template-columns: auto 1fr; line-height: 1.5; margin: 18px 0 16px; padding: 13px 14px; }
.mpd-consent input { accent-color: #168232; min-height: 18px; height: 18px; margin-top: 1px; padding: 0; width: 18px; }
.mpd-form__actions { display: grid; gap: 10px; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); }
.mpd-form__actions .mpd-button { margin-top: 4px; }
.mpd-form__actions .mpd-button,
.mpd-form .mpd-card-result .mpd-button,
.mpd-form .mpd-store-result .mpd-button { border-radius: 9px; }
.mpd-button--secondary { background: #fff; border: 1px solid #9da8a1; color: #29342d; }
.mpd-button--secondary:not(:disabled):hover { background: #eef2ef; border-color: #647269; }
.mpd-form__status { align-items: flex-start; border-radius: 9px; display: flex; font-size: 12.5px; font-weight: 700; gap: 9px; line-height: 1.45; margin: 0; min-height: 0; }
.mpd-form__status:empty { display: none; }
.mpd-form__status:not(:empty) { margin-top: 16px; padding: 12px 13px; }
.mpd-form__status::before { align-items: center; border: 2px solid currentColor; border-radius: 50%; box-sizing: border-box; display: inline-flex; flex: 0 0 auto; font-size: 10px; height: 18px; justify-content: center; margin-top: 1px; width: 18px; }
.mpd-form__status[data-state="success"] { background: #e9f7ec; color: #147437; }
.mpd-form__status[data-state="success"]::before { content: "✓"; }
.mpd-form__status[data-state="error"] { background: #fff0f0; color: #9c2424; }
.mpd-form__status[data-state="error"]::before { content: "!"; font-weight: 900; }
.mpd-form__status[data-state="notice"] { background: #fff7dc; color: #74580b; }
.mpd-form__status[data-state="notice"]::before { content: "!"; font-weight: 900; }
.mpd-form__status[data-state="processing"] { background: #edf4f0; color: #315847; }
.mpd-form__status[data-state="processing"]::before { animation: mpd-spin 0.8s linear infinite; border-right-color: transparent; content: ""; }

@keyframes mpd-spin { to { transform: rotate(360deg); } }

.mpd-store-preview__heading { align-items: center; display: flex; gap: 12px; }
.mpd-store-preview__heading > span { align-items: center; background: #dff1e3; border-radius: 50%; color: #176d2f; display: inline-flex; flex: 0 0 auto; height: 40px; justify-content: center; width: 40px; }
.mpd-store-preview__heading svg { fill: none; height: 22px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; width: 22px; }
.mpd-store-preview__heading strong { color: #174d27; display: block; font-size: 14px; }
.mpd-store-preview__heading p { color: #587061; font-size: 11.5px; margin: 3px 0 0 !important; }
.mpd-store-preview__steps { display: grid; gap: 11px; list-style: none; margin: 18px 0 0; padding: 0; }
.mpd-store-preview__steps li { align-items: start; display: grid; gap: 10px; grid-template-columns: auto 1fr; }
.mpd-store-preview__steps li > span { align-items: center; background: #168232; border-radius: 50%; color: #fff; display: inline-flex; font-size: 10px; font-weight: 800; height: 22px; justify-content: center; margin-top: 1px; width: 22px; }
.mpd-store-preview__steps p { color: #405649; font-size: 12px; line-height: 1.5; margin: 0 !important; }

.mpd-store-result__state {
	align-items: center;
	color: var(--mpd-primary);
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	letter-spacing: 0.05em;
	margin: 0 0 14px !important;
	text-transform: uppercase;
}

.mpd-store-result__state span {
	background: var(--mpd-primary);
	border-radius: 50%;
	display: block;
	height: 9px;
	width: 9px;
}

.mpd-store-result h3 {
	font-family: var(--mpd-font-display);
	font-size: 27px;
	margin: 0;
}

.mpd-store-result h3:focus { outline: none; }
.mpd-store-result__intro { color: #59645d; font-size: 14px; line-height: 1.55; margin: 8px 0 20px !important; }
/* El -8px de antes acercaba este aviso al intro que lo precedía. Sin ese intro
   el tirón lo pegaba al título, así que ahora separa en vez de acercar. */
.mpd-store-result__email-status { border: 1px solid #d8dfda; color: #425048; font-size: 12px; line-height: 1.5; margin: 14px 0 16px !important; padding: 10px 12px; }
.mpd-store-result__email-status[data-state="success"] { background: #eff8f1; border-color: #aed4b8; color: #146c31; }
.mpd-store-result__email-status[data-state="error"] { background: #fff7e2; border-color: #ebcf86; color: #76550b; }

.mpd-store-result__reference {
	align-items: center;
	background: #fff;
	border: 1px solid #b7c1ba;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 15px;
}

.mpd-store-result__reference > div { min-width: 0; }
.mpd-store-result__reference span { color: #66716a; display: block; font-size: 11px; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.mpd-store-result__reference code { color: #152019; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(14px, 4vw, 18px); font-weight: 800; overflow-wrap: anywhere; }
.mpd-store-result__copy { background: #152019; border: 1px solid #152019; color: #fff; cursor: pointer; flex: 0 0 auto; font: inherit; font-size: 12px; font-weight: 800; padding: 10px 14px; }
.mpd-store-result__copy:hover { background: #168232; border-color: #168232; }
.mpd-store-result__copy:focus-visible { outline: 2px solid var(--mpd-accent); outline-offset: 3px; }
.mpd-store-result__copy-status { color: #147437; font-size: 12px; font-weight: 700; margin: 6px 0 0 !important; min-height: 18px; }

.mpd-store-result__details { border: 1px solid #d8dfda; margin-top: 14px; }
.mpd-store-result__details > div { align-items: start; display: grid; font-size: 12.5px; gap: 14px; grid-template-columns: minmax(105px, 0.7fr) minmax(0, 1.3fr); padding: 11px 13px; }
.mpd-store-result__details > div + div { border-top: 1px solid #e1e6e2; }
.mpd-store-result__details span { color: #66716a; }
.mpd-store-result__details strong { color: #26352c; overflow-wrap: anywhere; }
.mpd-store-result__instructions { margin-top: 18px; }
.mpd-store-result__instructions h4 { font-family: var(--mpd-font-display); font-size: 17px; margin: 0 0 10px; }
.mpd-store-guides__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mpd-store-guides__tabs button { appearance: none; background: #f1f4f2; border: 1px solid #b7c1ba; color: #4b5a51; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; min-height: 44px; padding: 9px 10px; }
.mpd-store-guides__tabs button + button { border-left: 0; }
.mpd-store-guides__tabs button[aria-selected="true"] { background: #176d2f; border-color: #176d2f; color: #fff; }
.mpd-store-guides__tabs button:focus-visible { outline: 2px solid var(--mpd-accent); outline-offset: 2px; position: relative; z-index: 1; }
.mpd-store-guide { background: #edf7ef; border: 1px solid #bfdcc6; border-top: 0; padding: 15px 17px; }
.mpd-store-guide[hidden] { display: none; }
.mpd-store-guide ol { color: #3f5045; font-size: 12.5px; line-height: 1.55; margin: 0; padding-left: 19px; }
.mpd-store-result__instructions li + li { margin-top: 6px; }
.mpd-store-guide__yape { background: #fff; border-left: 3px solid #742284; color: #514057; font-size: 11.5px; line-height: 1.5; margin: 13px 0 0 !important; padding: 9px 10px; }
.mpd-store-guide__codes { display: grid; gap: 7px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 13px 0 0; }
.mpd-store-guide__codes div { align-items: center; background: #fff; border: 1px solid #d1ddd4; display: flex; justify-content: space-between; padding: 8px 9px; }
.mpd-store-guide__codes dt { color: #56675c; font-size: 10.5px; }
.mpd-store-guide__codes dd { color: #1e3024; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11.5px; font-weight: 800; margin: 0; }
.mpd-store-result__channels { border-top: 1px solid #d8dfda; margin-top: 18px; padding-top: 15px; }
.mpd-store-result__channels > span { color: #66716a; display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 11px; text-transform: uppercase; }
.mpd-store-result__channels > div { align-items: center; display: grid; gap: 12px 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mpd-store-result__channels img { display: block; height: 28px; justify-self: center; max-width: 100%; object-fit: contain; width: 86px; }
.mpd-store-result__channels img[alt="Yape"] { height: 38px; }
/* Enlace de seguimiento: acompaña al código, sin competir con él. */
.mpd-store-result__follow { background: rgba(2, 172, 26, 0.08); border: 1px solid rgba(2, 172, 26, 0.24); border-radius: 9px; margin-top: 16px; padding: 14px 16px; }
.mpd-store-result__follow-lead { color: #1c3a20; font-size: 13.5px; font-weight: 600; line-height: 1.5; margin: 0 0 10px !important; }
/* Rejilla de dos: así ambos miden igual y quedan alineados pase lo que pase. */
.mpd-store-result__follow-actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* .mpd-button trae margin-top 28px y width 100%, pensados para la acción principal
   del formulario. Aquí son dos botones en línea, así que se reinician. */
.mpd-store-result__follow-actions .mpd-button { font-size: 13.5px; margin-top: 0; min-height: 44px; padding: 11px 16px; width: 100%; }
/* El degradado claro solo admite texto oscuro, que sobre verde se lee apagado.
   Blanco encima de ese degradado daría 3,04:1 y no pasa AA, así que aquí el botón
   va en verde sólido: blanco sobre #0b6d1d son 6,52:1 y se lee nítido. */
.mpd-store-result__follow-actions .mpd-button--primary { background: #0b6d1d; color: #fff; font-weight: 800; }
.mpd-store-result__follow-actions .mpd-button--primary:not(:disabled):hover { background: #095c18; filter: none; }
.mpd-store-result__follow-status { color: #1f7a2c; font-size: 12.5px; margin: 8px 0 0 !important; min-height: 16px; }

@media (max-width: 480px) {
	.mpd-store-result__follow-actions { grid-template-columns: 1fr; }
}

.mpd-store-result__notice { color: #7c5b12; font-size: 12px; line-height: 1.5; margin: 15px 0 0 !important; }
.mpd-store-result__actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.mpd-store-result__actions .mpd-button { width: 100%; }

.mpd-card-result__state {
	align-items: center;
	color: #147437;
	display: flex;
	font-size: 12px;
	font-weight: 800;
	gap: 8px;
	letter-spacing: 0.05em;
	margin: 0 0 14px !important;
	text-transform: uppercase;
}

.mpd-card-result__state span { background: #22a447; border-radius: 50%; display: block; height: 9px; width: 9px; }
.mpd-card-result h3 { font-family: var(--mpd-font-display); font-size: 27px; margin: 0; }
.mpd-card-result h3:focus { outline: none; }
.mpd-card-result__intro { color: #59645d; font-size: 14px; line-height: 1.55; margin: 8px 0 20px !important; }
.mpd-card-result__reference { background: #fff; border: 1px solid #b7c1ba; display: grid; gap: 6px; padding: 15px; }
.mpd-card-result__reference span { color: #66716a; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.mpd-card-result__reference code { color: #152019; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(14px, 4vw, 18px); font-weight: 800; overflow-wrap: anywhere; }
.mpd-card-result__notice { color: #59645d; font-size: 12px; line-height: 1.5; margin: 15px 0 0 !important; }
.mpd-card-result__email-status { border: 1px solid #d8dfda; color: #425048; font-size: 12px; line-height: 1.5; margin: 14px 0 0 !important; padding: 10px 12px; }
.mpd-card-result__email-status[data-state="success"] { background: #eff8f1; border-color: #aed4b8; color: #146c31; }
.mpd-card-result__email-status[data-state="notice"] { background: #fff7e2; border-color: #ebcf86; color: #76550b; }
.mpd-card-result__actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.mpd-card-result__actions .mpd-button { width: 100%; }

/*
 * Sobre el fondo claro del resultado, el `--ghost` de cristal oscuro se lee como un
 * botón inactivo. Aquí se vuelve contorno acentuado: sigue siendo la acción
 * secundaria frente a «Cerrar», pero se ve pulsable.
 */
.mpd-card-result__actions .mpd-button--ghost,
.mpd-store-result__actions .mpd-button--ghost {
	backdrop-filter: none;
	background: #fff;
	border: 1px solid var(--mpd-accent, #02ac1a);
	color: #14612a;
}
.mpd-card-result__actions .mpd-button--ghost:not(:disabled):hover,
.mpd-store-result__actions .mpd-button--ghost:not(:disabled):hover {
	background: #eff8f1;
	border-color: #14612a;
}

/* La confirmación ocupa el sitio de las acciones: se lee como pregunta, no como un aviso más. */
.mpd-store-result__confirm { background: #fff7e2; border: 1px solid #ebcf86; margin-top: 18px; padding: 15px; }
.mpd-store-result__confirm p { color: #76550b; font-size: 13px; line-height: 1.5; margin: 0 0 12px !important; }
.mpd-store-result__confirm p:focus-visible { outline: 2px solid #76550b; outline-offset: 3px; }
.mpd-store-result__confirm-actions { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mpd-store-result__confirm-actions .mpd-button { width: 100%; }
.mpd-result-icon { align-items: center; border-radius: 50%; display: flex; height: 58px; justify-content: center; margin-bottom: 16px; width: 58px; }
.mpd-result-icon svg { fill: none; height: 31px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 31px; }
.mpd-result-icon--success { background: #e3f5e7; color: #168232; }
.mpd-noscript { background: #fff2c8; color: #241b00; margin: 18px 0; padding: 14px; }
body.mpd-modal-open { overflow: hidden; }

@media (max-width: 960px) {
	.mpd-donation__plans { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.mpd-plan--featured {
		order: -1;
	}

	.mpd-amount {
		flex: 0 0 calc(50% - 5px);
		max-width: calc(50% - 5px);
	}

	.mpd-amount span {
		text-align: center;
		width: 100%;
	}

	.mpd-form__grid,
	.mpd-form__grid--three { grid-template-columns: 1fr; }
	/* «Código de seguridad (CVV)» no cabe junto al vencimiento en pantallas
	   estrechas: baja a su propia fila antes que recortarse. */
	.mpd-card-dates { gap: 12px; grid-template-columns: 1fr; }
	.mpd-expiry__grid { gap: 8px; }
	.mpd-form__actions { grid-template-columns: 1fr; }
	.mpd-form__actions .mpd-button--primary { order: -1; }
	.mpd-store-result__reference { align-items: stretch; flex-direction: column; }
	.mpd-store-result__copy { width: 100%; }
	.mpd-modal { padding: 0; }
	.mpd-modal__dialog { border: 0; border-radius: 0; margin: 0; min-height: 100vh; }
	.mpd-modal__eyebrow { align-items: flex-start; flex-direction: column; gap: 10px; }
	.mpd-secure-payment { grid-template-columns: auto minmax(0, 1fr); }
	.mpd-openpay-brand { grid-column: 2; }
}

@media (max-width: 480px) {
	.mpd-modal__dialog { padding: 26px 18px; }
	.mpd-payment-methods__tabs { gap: 7px; }
	.mpd-form .mpd-payment-tab > .mpd-payment-tab__content { align-items: center; flex-direction: column; gap: 7px; justify-content: center; min-height: 98px; padding: 11px 9px; text-align: center; }
	.mpd-payment-tab__content > svg { height: 21px; width: 21px; }
	.mpd-payment-tab__content > span { justify-items: center; width: 100%; }
	.mpd-payment-tab__content strong { font-size: 12px; }
	.mpd-payment-tab__content small { font-size: 9.5px; }
	.mpd-card-fields { padding: 16px 13px; }
	.mpd-accepted-cards { align-items: flex-start; flex-direction: column; gap: 8px; }
	.mpd-accepted-cards__brands { flex-basis: auto; justify-content: flex-start; width: 100%; }
	.mpd-store-result__details > div { gap: 4px; grid-template-columns: 1fr; }
	.mpd-store-guide__codes { grid-template-columns: 1fr; }
	.mpd-store-result__channels > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mpd-store-result__actions,
	.mpd-store-result__confirm-actions,
	.mpd-card-result__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.mpd-donation * { transition-duration: 0.01ms !important; }
	.mpd-form__status[data-state="processing"]::before { animation-duration: 1.5s; }
}
