/*
 * mi-cuenta.css: Mi cuenta («Petmarket Mi Cuenta v1» del handoff). Se carga después de
 * carrito.css, checkout.css (campos) y confirmacion.css (botón de copiar).
 *
 * Escritorio: menú lateral y contenido. Móvil: sin menú lateral; el panel acaba con el
 * menú en lista (filas de 52 px) y cada pestaña lleva «Mi cuenta» para volver.
 * Los huecos de foto (.pmp-foto) se miden con el padre delante: prototipo.css, que se carga
 * al final, les da height: 100%.
 * Es la hoja del prototipo aprobado (prototipo/sitio/css/mi-cuenta.css), tal cual.
 */

/* ---------- Botones que añade la cuenta ---------- */

.pmt-boton--chico {
	min-height: 36px;
	padding: 0 14px;
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-boton--suave {
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-700);
	font-weight: var(--pmt-peso-extra);
}

.pmt-boton--suave:hover {
	background: var(--pmt-morado-100);
	color: var(--pmt-morado-700);
}

.pmt-boton--texto {
	background: transparent;
	color: var(--pmt-morado-950-a55);
	font-weight: var(--pmt-peso-extra);
}

.pmt-boton--texto:hover {
	color: var(--pmt-morado-700);
}

.pmt-boton--peligro,
.pmt-boton--peligro:hover {
	color: var(--pmt-rojo-700);
}

.pmt-boton:disabled {
	opacity: 0.45;
	cursor: default;
}

.pmt-enlace--naranja {
	color: var(--pmt-naranja-800);
}

.pmt-ver-mas {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.pmt-ver-mas--gris {
	color: var(--pmt-morado-950-a55);
}

/* ---------- Estructura ---------- */

.pmt-cuenta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-6);
	align-items: start;
	padding-bottom: var(--pmt-esp-8);
}

.pmt-cuenta__principal {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	min-width: 0;
}

/* Las secciones a las que se salta (?pestana=benef#petcash) no quedan bajo la cabecera fija
   (158 px en móvil, 114 en escritorio). */
.pmt-cuenta [id] {
	scroll-margin-top: 174px;
}

/* Menú lateral (escritorio). */
.pmt-cuenta__lateral {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: var(--pmt-esp-3);
	border-radius: 20px;
}

.pmt-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pmt-morado-700);
	color: var(--pmt-naranja-300);
	font-size: 0.9375rem;
	font-weight: var(--pmt-peso-negro);
}

.pmt-avatar--grande {
	width: 48px;
	height: 48px;
}

.pmt-cuenta__quien {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	padding: 10px 10px 14px;
	border-bottom: 1px solid var(--pmt-morado-700-a08);
}

.pmt-cuenta__quien > span:last-child {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pmt-cuenta__quien strong {
	color: var(--pmt-morado-700);
	font-size: 0.9375rem;
}

.pmt-cuenta__quien small {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta__quien small.is-plus,
.pmt-cuenta__sub.is-plus {
	color: var(--pmt-verde-800);
}

.pmt-cuenta__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pmt-cuenta__grupo {
	padding: 12px 10px 4px;
	color: color-mix(in srgb, var(--pmt-morado-950) 45%, transparent);
	font-size: 11px;
	font-weight: var(--pmt-peso-negro);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pmt-cuenta__nav a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-2);
	padding: 10px 12px;
	border-radius: var(--pmt-radio-md);
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-medio);
	text-decoration: none;
}

.pmt-cuenta__nav a:hover {
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-950);
}

.pmt-cuenta__nav a.is-on {
	background: var(--pmt-morado-650);
	color: var(--pmt-blanco);
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta__insignia {
	flex-shrink: 0;
	padding: 2px 8px;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-morado-100);
	color: var(--pmt-morado-700);
	font-size: 11px;
	font-weight: var(--pmt-peso-negro);
	white-space: nowrap;
}

.pmt-cuenta__insignia.is-naranja {
	background: var(--pmt-naranja-50);
	color: var(--pmt-naranja-800);
}

.pmt-cuenta__pie {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--pmt-morado-700-a08);
}

.pmt-cuenta__ayuda,
.pmt-cuenta__salir {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 0;
	border-radius: var(--pmt-radio-md);
	background: none;
	font: var(--pmt-peso-negrita) var(--pmt-texto-sm) var(--pmt-fuente);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.pmt-cuenta__ayuda:hover { background: var(--pmt-morado-50); }
.pmt-cuenta__salir { color: var(--pmt-rojo-700); }
.pmt-cuenta__salir:hover { background: var(--pmt-rojo-100); }

.pmt-cuenta__ayuda > span:last-child {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.pmt-cuenta__ayuda strong { color: var(--pmt-morado-700); }
.pmt-cuenta__ayuda small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); font-weight: var(--pmt-peso-medio); }

.pmt-cuenta__wa,
.pmt-cuenta__salir > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.pmt-cuenta__wa {
	background: var(--pmt-verde-400);
	color: var(--pmt-verde-950);
}

.pmt-cuenta__salir > span {
	background: var(--pmt-rojo-100);
}

/* Cabecera de cada pestaña. */
.pmt-cuenta__cabeza {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--pmt-esp-3) var(--pmt-esp-5);
}

.pmt-cuenta__titulos {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pmt-cuenta__titulo {
	margin: 0;
	color: var(--pmt-morado-700);
	font-size: 1.375rem;
	font-weight: var(--pmt-peso-negro);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.pmt-cuenta__sub {
	max-width: 640px;
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-sm);
	line-height: 1.45;
}

.pmt-cuenta__hola {
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-3);
}

.pmt-cuenta__volver,
.pmt-cuenta__atras {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 4px;
	min-height: 36px;
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
	text-decoration: none;
}

.pmt-cuenta__filtros {
	display: flex;
	gap: var(--pmt-esp-2);
	margin: 0 calc(-1 * var(--pmt-margen-lateral));
	padding: 0 var(--pmt-margen-lateral) 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.pmt-cuenta__filtros::-webkit-scrollbar { display: none; }

.pmt-cuenta__pie-lista {
	margin: 0;
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
	text-align: center;
}

.pmt-cuenta__pie-lista .pmt-enlace {
	display: inline;
}

/* ---------- Cifras del panel ---------- */

/* Móvil: una caja con tres columnas; escritorio: tres fichas. */
.pmt-cifras-cuenta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
	border: 1px solid var(--pmt-morado-700-a08);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-blanco);
}

.pmt-cifra-cuenta {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--pmt-esp-3);
	text-decoration: none;
}

.pmt-cifra-cuenta + .pmt-cifra-cuenta {
	border-left: 1px solid var(--pmt-morado-700-a08);
}

.pmt-cifra-cuenta__titulo {
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pmt-cifra-cuenta strong {
	font-size: var(--pmt-texto-md);
	font-weight: var(--pmt-peso-negro);
	color: var(--pmt-morado-700);
}

.pmt-cifra-cuenta .is-verde { color: var(--pmt-verde-800); }
.pmt-cifra-cuenta .is-morado { color: var(--pmt-morado-700); }
.pmt-cifra-cuenta__titulo.is-naranja { color: var(--pmt-naranja-700); }
.pmt-cifra-cuenta strong.is-naranja { color: var(--pmt-morado-700); }

/* ---------- Filas y tarjetas del panel ---------- */

.pmt-cuenta-fila {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-3);
}

.pmt-cuenta-tarjeta {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	min-width: 0;
	padding: var(--pmt-esp-4);
}

.pmt-cuenta-tarjeta__cabeza {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
}

.pmt-cuenta-tarjeta__titulo {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-lg);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.2;
}

.pmt-cuenta-tarjeta__texto {
	margin: 0;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
}

.pmt-cuenta-tarjeta__boton {
	align-self: flex-start;
	margin-top: auto;
}

.pmt-cuenta-tarjeta__nota {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-cuenta-tarjeta__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
}

.pmt-cuenta-tarjeta__botones .pmt-boton--naranja {
	flex: 1 1 auto;
}

.pmt-cuenta-producto {
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-3);
	min-width: 0;
}

.pmt-cuenta-producto .pmt-cuenta-producto__foto {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	min-height: 0;
	border-radius: var(--pmt-radio-md);
}

.pmt-cuenta-producto > span:last-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pmt-cuenta-producto strong {
	color: var(--pmt-morado-950);
	font-size: 0.9375rem;
}

.pmt-cuenta-producto small {
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
}

.pmt-cuenta-producto small.is-entregado {
	color: var(--pmt-verde-800);
	font-weight: var(--pmt-peso-extra);
}

/* Estado del pedido: los colores de los pasos del Checkout (hecho en verde, actual en
   morado, pendiente gris), no el naranja del diseño. */
.pmt-seguimiento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pmt-seguimiento li {
	display: flex;
	flex-direction: column;
	gap: 5px;
	color: color-mix(in srgb, var(--pmt-morado-950) 45%, transparent);
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
}

.pmt-seguimiento li > span {
	height: 5px;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-morado-200);
}

.pmt-seguimiento .is-hecho { color: var(--pmt-verde-800); }
.pmt-seguimiento .is-hecho > span { background: var(--pmt-verde-500); }
.pmt-seguimiento .is-actual { color: var(--pmt-morado-700); }
.pmt-seguimiento .is-actual > span { background: var(--pmt-morado-700); }

.pmt-cuenta-aviso {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
	padding: 10px 12px;
	border-radius: 14px;
	background: var(--pmt-morado-50);
}

.pmt-cuenta-aviso > span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pmt-cuenta-aviso strong {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-sm);
}

.pmt-cuenta-aviso small {
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
}

.pmt-cuenta-aviso .pmt-boton {
	flex-shrink: 0;
	min-height: 40px;
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta-aviso--naranja {
	background: var(--pmt-naranja-50);
}

.pmt-cuenta-aviso--naranja strong {
	color: var(--pmt-naranja-800);
}

.pmt-cuenta-aviso .pmt-enlace {
	flex-shrink: 0;
	align-self: center;
}

/* "Cambiar forma de pago", bajo el aviso del pedido pendiente del Panel. */
.pmt-cuenta-cambio {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
}

.pmt-cuenta-acciones {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 6px;
}

.pmt-cuenta-acciones .pmt-boton {
	min-height: 44px;
	padding: 0 var(--pmt-esp-2);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta-acciones__doble {
	grid-column: span 2;
}

/* Para Luna pronto. */
.pmt-pronto {
	gap: 0;
}

.pmt-pronto > .pmt-antetitulo {
	margin-bottom: var(--pmt-esp-3);
}

.pmt-pronto__item {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-items: center;
	gap: var(--pmt-esp-3);
}

.pmt-pronto__item + .pmt-pronto__item {
	margin-top: var(--pmt-esp-3);
	padding-top: var(--pmt-esp-3);
	border-top: 1px solid var(--pmt-morado-700-a08);
}

.pmt-pronto__item .pmt-pronto__foto {
	width: 56px;
	height: 56px;
	min-height: 0;
	border-radius: var(--pmt-radio-md);
}

.pmt-pronto--compacto {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 3px var(--pmt-esp-3);
}

.pmt-pronto--compacto > .pmt-antetitulo {
	grid-column: 2;
	margin-bottom: 0;
	font-size: 11px;
}

.pmt-pronto--compacto .pmt-pronto__item {
	display: contents;
}

.pmt-pronto--compacto .pmt-pronto__foto {
	grid-row: 1 / span 2;
	grid-column: 1;
	align-self: center;
	width: 48px;
	height: 48px;
	border-radius: 10px;
}

.pmt-pronto__txt {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pmt-pronto__txt strong {
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-sm);
}

.pmt-pronto__txt small {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-pronto__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.pmt-pronto__fila .pmt-boton.is-hecho {
	background: var(--pmt-blanco);
	border-color: var(--pmt-naranja-500);
	color: var(--pmt-naranja-800);
}

.pmt-cuenta-precio {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
}

.pmt-cuenta-precio strong {
	color: var(--pmt-morado-700);
	font-size: 0.9375rem;
	font-weight: var(--pmt-peso-negro);
}

.pmt-cuenta-precio strong.is-plus {
	color: var(--pmt-verde-800);
}

.pmt-cuenta-precio del {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

/* El 10+1 en ámbar, su color en la tarjeta (no el morado del diseño). */
.pmt-diez-chip {
	padding: 2px 7px;
	border-radius: 5px;
	background: var(--pmt-ambar-100);
	color: var(--pmt-ambar-800);
	font-size: 11px;
	font-weight: var(--pmt-peso-negro);
}

/* Volver a comprar: una lista de texto, solo con el nombre y el precio (el cliente, 16-nov-2026:
   con las tarjetas de producto "confunde mucho"). En una caja blanca en todos los anchos. */
.pmt-recompra {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: var(--pmt-esp-4);
	border: 1px solid var(--pmt-morado-700-a08);
	border-radius: 20px;
	background: var(--pmt-blanco);
}

.pmt-cuenta-bloque__cabeza {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
}

.pmt-cuenta-bloque__cabeza h2,
.pmt-cuenta-bloque__titulo {
	margin: 0;
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.15;
}

.pmt-recompra__lista {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pmt-recompra__fila {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pmt-esp-4);
	padding: 12px 0;
	border-top: 1px solid var(--pmt-gris-200);
	font-size: var(--pmt-texto-sm);
	line-height: 1.35;
}

.pmt-recompra__fila:first-child { border-top: 0; padding-top: 0; }
.pmt-recompra__fila:last-child { padding-bottom: 0; }

.pmt-recompra__fila .pmt-enlace-producto {
	min-width: 0;
	font-weight: var(--pmt-peso-medio);
}

.pmt-recompra__precio {
	flex: none;
	color: var(--pmt-morado-700);
	font-weight: var(--pmt-peso-negro);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.pmt-recompra__precio.is-plus { color: var(--pmt-verde-800); }

.pmt-recompra__precio.is-agotado {
	color: var(--pmt-gris-600);
	font-weight: var(--pmt-peso-medio);
}

/* Perfil de la mascota en el panel. */
.pmt-luna__cabeza {
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-3);
}

.pmt-luna__quien {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.pmt-luna__quien strong {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-md);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.15;
}

.pmt-luna__quien small {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-icono-cabeza.pmt-luna__huella {
	width: 48px;
	height: 48px;
}

.pmt-icono-cabeza.pmt-luna__huella svg {
	width: 26px;
	height: 26px;
}

.pmt-filtro-luna {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-morado-50);
}

.pmt-filtro-luna__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
}

.pmt-filtro-luna__fila > span {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.pmt-filtro-luna__fila strong {
	color: var(--pmt-morado-700);
	font-size: 0.8125rem;
}

.pmt-filtro-luna__fila small {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-filtro-luna .pmt-interruptor {
	flex-shrink: 0;
	min-height: 32px;
}

.pmt-filtro-luna__texto {
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
	line-height: 1.5;
}

/* Apagado porque filtra otro de su especie: "Ahora filtra Max. Si lo activas, Max se apaga." */
.pmt-filtro-luna__otra {
	color: var(--pmt-morado-700);
	font-weight: var(--pmt-peso-negrita);
}

.pmt-filtro-luna__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pmt-filtro-luna__chips span {
	padding: 5px 10px;
	border: 1px solid color-mix(in srgb, var(--pmt-morado-700) 12%, transparent);
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-blanco);
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-filtro-luna.is-off .pmt-filtro-luna__chips span {
	color: color-mix(in srgb, var(--pmt-morado-950) 35%, transparent);
}

.pmt-filtro-luna__nota {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

/* Sin mascota: el bloque del perfil, como en la portada. */
.pmt-invita {
	align-items: center;
	text-align: center;
}

.pmt-invita__txt {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	max-width: 520px;
}

.pmt-invita__txt strong {
	color: var(--pmt-morado-700);
	font-size: 1.375rem;
	font-weight: var(--pmt-peso-extra);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.pmt-invita__txt > span:last-child {
	color: var(--pmt-morado-950-a70);
	font-size: 0.9375rem;
	line-height: 1.5;
}

.pmt-invita__boton {
	display: flex;
	align-self: stretch;
	justify-content: center;
}

.pmt-especies {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--pmt-esp-2);
}

/* PetCash con su degradado, 10+1 y Plus+ con su identidad. */
.pmt-cuenta-petcash,
.pmt-cuenta-diez,
.pmt-cuenta-plus {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	min-width: 0;
	padding: var(--pmt-esp-5);
	border-radius: var(--pmt-radio-tarjeta);
	text-decoration: none;
}

.pmt-cuenta-petcash {
	background: var(--pmt-degradado-verde);
	color: var(--pmt-blanco);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pmt-cuenta-petcash:hover { color: var(--pmt-blanco); }
.pmt-cuenta-petcash .pmt-antetitulo { color: var(--pmt-blanco-a85); }

.pmt-cuenta-petcash strong,
.pmt-cuenta-plus__cifra {
	font-size: var(--pmt-texto-3xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1;
}

.pmt-cuenta-petcash > span:nth-of-type(2) { color: var(--pmt-blanco-a85); }

.pmt-cuenta-petcash__mas,
.pmt-cuenta-plus__mas {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta-diez {
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
}

.pmt-cuenta-diez > strong {
	color: var(--pmt-morado-700);
	font-size: 0.9375rem;
}

.pmt-cuenta-diez .pmt-ver-mas { margin-top: auto; }

.pmt-cuenta-plus,
.pmt-benef-plus {
	border: 1px solid var(--pmt-verde-200);
	background: var(--pmt-verde-100);
	color: var(--pmt-verde-800);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pmt-cuenta-plus:hover { color: var(--pmt-verde-800); }

.pmt-cuenta-plus__ante {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta-plus__titulo {
	font-size: var(--pmt-texto-lg);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.2;
}

.pmt-cuenta-plus__boton {
	align-self: flex-start;
	margin-top: auto;
	font-weight: var(--pmt-peso-extra);
}

/* Care con su degradado y «Cotizar ahora»; Referidos en blanco. */
.pmt-cuenta-care,
.pmt-cuenta-referidos {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-4);
	padding: var(--pmt-esp-5) 22px;
	border-radius: var(--pmt-radio-tarjeta);
	text-decoration: none;
}

.pmt-cuenta-care > span:first-child,
.pmt-cuenta-referidos > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pmt-cuenta-care {
	background: var(--pmt-degradado-violeta);
	color: var(--pmt-blanco);
}

.pmt-cuenta-care:hover { color: var(--pmt-blanco); }
.pmt-cuenta-care .pmt-antetitulo { color: var(--pmt-turquesa-500); }
.pmt-cuenta-care small { color: var(--pmt-blanco-a85); font-size: 0.8125rem; }

.pmt-cuenta-care strong,
.pmt-cuenta-referidos strong {
	font-size: var(--pmt-texto-lg);
	font-weight: var(--pmt-peso-negro);
}

.pmt-cuenta-care .pmt-boton,
.pmt-cuenta-referidos .pmt-boton {
	flex-shrink: 0;
	font-weight: var(--pmt-peso-extra);
}

.pmt-cuenta-care .pmt-boton--blanco { color: var(--pmt-violeta-500); }
.pmt-cuenta-referidos strong { color: var(--pmt-morado-700); }
.pmt-cuenta-referidos small { color: var(--pmt-morado-950-a55); font-size: 0.8125rem; }

/* Menú en lista del móvil. */
.pmt-menu-cuenta {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	margin-top: var(--pmt-esp-3);
}

.pmt-menu-cuenta a,
.pmt-menu-cuenta__salir {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-2);
	min-height: 52px;
	padding: 0 var(--pmt-esp-4);
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
	background: none;
	color: var(--pmt-morado-950);
	font: var(--pmt-peso-negrita) 0.9375rem var(--pmt-fuente);
	text-align: left;
	text-decoration: none;
}

.pmt-menu-cuenta a > span:last-child {
	display: inline-flex;
	align-items: center;
	gap: var(--pmt-esp-2);
	color: color-mix(in srgb, var(--pmt-morado-950) 35%, transparent);
}

.pmt-menu-cuenta__salir {
	border-bottom: 0;
	color: var(--pmt-rojo-700);
	cursor: pointer;
}

/* ---------- Pedidos ---------- */

.pmt-pedidos {
	overflow: hidden;
}

/* La primera columna (número, fecha y total) no se aprieta: si las acciones no caben, bajan de línea. */
.pmt-pedidos__fila {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"id estado"
		"items items"
		"total acciones";
	align-items: center;
	gap: 10px var(--pmt-esp-3);
	padding: var(--pmt-esp-4);
	border-bottom: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
}

.pmt-pedidos__fila:last-child { border-bottom: 0; }

.pmt-pedidos__id { grid-area: id; display: flex; flex-direction: column; }
.pmt-pedidos__id strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-sm); }
.pmt-pedidos__id small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }

.pmt-pedidos__items {
	grid-area: items;
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-3);
	min-width: 0;
	font-size: var(--pmt-texto-sm);
}

.pmt-pedidos__fotos {
	display: flex;
	flex-shrink: 0;
}

.pmt-pedidos__fotos .pmp-foto {
	width: 40px;
	height: 40px;
	min-height: 0;
	margin-right: -8px;
	border: 2px solid var(--pmt-blanco);
	border-radius: 10px;
}

.pmt-pedidos__fotos .pmp-foto:last-child { margin-right: 0; }

.pmt-pedidos__total {
	grid-area: total;
	color: var(--pmt-morado-700);
	font-size: 0.9375rem;
}

.pmt-estado {
	grid-area: estado;
	justify-self: end;
	padding: 4px 10px;
	border-radius: var(--pmt-radio-pildora);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
	white-space: nowrap;
}

.pmt-estado--camino { background: var(--pmt-naranja-50); color: var(--pmt-naranja-800); }
.pmt-estado--entregado { background: var(--pmt-verde-100); color: var(--pmt-verde-800); }
.pmt-estado--devuelto { background: var(--pmt-morado-50); color: var(--pmt-morado-950-a55); }
.pmt-estado--pendiente { background: var(--pmt-gris-100); color: var(--pmt-gris-600); }
.pmt-estado--revision { background: var(--pmt-morado-50); color: var(--pmt-morado-700); }
.pmt-estado--cancelado { background: var(--pmt-rojo-100); color: var(--pmt-rojo-700); }

/* Cancelar un pedido Pendiente o pedir una devolución: se abre debajo del pedido. */
.pmt-pedido-gestion {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--pmt-esp-4);
	border-bottom: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
	background: var(--pmt-morado-50);
}

.pmt-pedido-gestion:last-child { border-bottom: 0; }

.pmt-pedido-gestion p {
	margin: 0;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
}

.pmt-pedido-gestion__titulo {
	color: var(--pmt-morado-700);
	font-size: 1rem;
	font-weight: var(--pmt-peso-negro);
}

.pmt-pedido-gestion__grupo {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
}

.pmt-pedido-gestion__grupo > span {
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
}

.pmt-pedido-gestion__nota {
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-xs);
	line-height: 1.45;
}

.pmt-pedido-gestion__botones {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pmt-esp-2);
}

.pmt-pedido-gestion__botones .pmt-boton {
	min-height: 44px;
	padding: 0 18px;
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
}

.pmt-pedido-gestion .pmt-boton:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Los artículos se eligen varios a la vez: casilla en lugar de círculo. */
.pmt-radio-caja--check .pmt-radio { border-radius: 5px; }
.pmt-radio-caja--check.is-on > .pmt-radio::after { border-radius: 2px; }

.pmt-pedido-gestion--hecho {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	background: var(--pmt-verde-100);
	color: var(--pmt-verde-800);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-negrita);
	line-height: 1.45;
}

.pmt-pedido-gestion--hecho svg { flex-shrink: 0; margin-top: 1px; }

.pmt-pedidos__acciones {
	grid-area: acciones;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: var(--pmt-esp-2);
}

.pmt-pedidos__acciones .pmt-boton {
	min-height: 40px;
	padding: 0 14px;
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

.pmt-pedidos__acciones .pmt-enlace {
	align-self: center;
	padding: 9px 4px;
}

.pmt-pedidos__nada {
	margin: 0;
	padding: var(--pmt-esp-6);
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-sm);
	text-align: center;
}

/* ---------- Vacíos (propuesta: sin historial) ---------- */

.pmt-cuenta-vacio {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-8) var(--pmt-esp-5);
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
	text-align: center;
}

.pmt-cuenta-vacio > strong {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-xl);
	font-weight: var(--pmt-peso-negro);
}

.pmt-cuenta-vacio > span:not(.pmt-cuenta-vacio__icono) { max-width: 460px; }

.pmt-cuenta-vacio__icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-700);
}

.pmt-cuenta-vacio__pasos {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	margin: 0 0 var(--pmt-esp-2);
	padding: 0;
	list-style: none;
	text-align: left;
}

.pmt-cuenta-vacio__pasos li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pmt-cuenta-vacio__pasos b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--pmt-naranja-50);
	color: var(--pmt-naranja-800);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-negro);
}

/* ---------- Compras recurrentes / pedidos programados ---------- */

.pmt-sus {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: var(--pmt-esp-4) 14px;
	padding: var(--pmt-esp-4);
}

.pmt-sus .pmt-sus__foto {
	width: 64px;
	height: 64px;
	min-height: 0;
	border-radius: var(--pmt-radio-md);
}

.pmt-sus__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.pmt-sus__nombre {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pmt-sus__nombre strong {
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-md);
	line-height: 1.25;
}

.pmt-sus__nombre small {
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
}

.pmt-sus__nombre b.is-plus { color: var(--pmt-verde-800); }
.pmt-sus__nombre b.is-recur { color: var(--pmt-morado-600); }

.pmt-sus__frecuencias {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.pmt-sus__frecuencias .pmt-pildora-opcion {
	min-height: 36px;
	padding: 0 12px;
}

.pmt-sus__pago {
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
}

.pmt-sus__lado {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pmt-sus__proxima {
	display: flex;
	flex-direction: column;
	padding: var(--pmt-esp-3) 14px;
	border-radius: 14px;
	background: var(--pmt-naranja-50);
}

.pmt-sus__proxima .pmt-antetitulo { color: var(--pmt-naranja-800); letter-spacing: 0.06em; }
.pmt-sus__proxima strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-md); }
.pmt-sus__proxima small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }

.pmt-sus__proxima.is-gris { background: var(--pmt-morado-50); }
.pmt-sus__proxima.is-gris .pmt-antetitulo { color: var(--pmt-morado-950-a55); }

.pmt-sus__acciones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pmt-esp-2);
}

.pmt-sus__acciones .pmt-boton {
	min-height: 42px;
	padding: 0 var(--pmt-esp-2);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

.pmt-sus__ancho { grid-column: 1 / -1; }

.pmt-sus.is-quieta .pmt-sus__info { opacity: 0.6; }

.pmt-cuenta-nota {
	padding: 14px 18px;
	border: 1px solid var(--pmt-morado-900-a10);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.pmt-cuenta-nota strong { color: var(--pmt-morado-700); }
.pmt-cuenta-nota .pmt-enlace { display: inline; }

.pmt-cuenta-bloque {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--pmt-esp-4);
}

.pmt-sugerencias {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-3);
}

.pmt-sugerencia {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: var(--pmt-esp-3);
	padding: 10px;
	border-radius: 14px;
	background: var(--pmt-morado-50);
}

.pmt-sugerencia .pmt-sugerencia__foto {
	width: 64px;
	height: 64px;
	min-height: 0;
	border-radius: 10px;
	background-color: var(--pmt-blanco);
}

.pmt-sugerencia > span {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.pmt-sugerencia strong { font-size: 0.8125rem; line-height: 1.25; }
.pmt-sugerencia small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }
.pmt-sugerencia .pmt-enlace { font-size: var(--pmt-texto-xs); }

.pmt-sugerencia__hecho {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--pmt-morado-600);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

/* ---------- Mascotas ---------- */

.pmt-mascota {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-5);
	padding: var(--pmt-esp-5);
}

.pmt-mascota__foto {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.pmt-icono-cabeza.pmt-mascota__huella {
	width: 120px;
	height: 120px;
}

.pmt-icono-cabeza.pmt-mascota__huella svg {
	width: 56px;
	height: 56px;
}

.pmt-mascota__foto .pmt-enlace { align-self: center; }

.pmt-mascota__datos {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.pmt-mascota__datos > .pmt-boton { align-self: flex-start; }

.pmt-mascota__nombre {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-3xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1;
}

.pmt-mascota__campos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
}

.pmt-mascota__campos div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 10px 12px;
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-morado-50);
}

/* Con dos columnas, el último dato suelto ocupa la fila. */
.pmt-mascota__campos div:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.pmt-mascota__campos dt {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-mascota__campos dd {
	margin: 0;
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
}

.pmt-mascota__filtro {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	align-self: start;
	padding: 18px;
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
}

.pmt-mascota__filtro .pmt-filtro-luna {
	padding: 0;
}

.pmt-mascota__filtro .pmt-filtro-luna__fila strong { font-size: 0.9375rem; }

.pmt-mascota__usos-titulo {
	padding-top: 6px;
	border-top: 1px solid var(--pmt-morado-900-a10);
	letter-spacing: 0.08em;
}

.pmt-mascota__usos {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.8125rem;
	line-height: 1.6;
}

.pmt-mascota-nueva {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-4);
	padding: 22px;
	border: 1.5px dashed color-mix(in srgb, var(--pmt-morado-700) 25%, transparent);
	border-radius: var(--pmt-radio-tarjeta);
	background: var(--pmt-blanco);
}

.pmt-mascota-nueva > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pmt-mascota-nueva strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-lg); font-weight: var(--pmt-peso-negro); }
.pmt-mascota-nueva small { color: var(--pmt-morado-950-a55); font-size: 0.8125rem; }
.pmt-mascota-nueva .pmt-especies { justify-content: flex-start; }

/* ---------- Formularios (mascota, dirección, tarjeta) ---------- */

.pmt-cuenta-form {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-5);
	max-width: 760px;
	padding: var(--pmt-esp-5);
}

.pmt-cuenta-form__titulo {
	margin: 0;
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-2xl);
	font-weight: var(--pmt-peso-negro);
	letter-spacing: -0.02em;
}

.pmt-cuenta-form__texto {
	margin: calc(-1 * var(--pmt-esp-3)) 0 0;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
}

.pmt-cuenta-form__grupo {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-2);
	padding: var(--pmt-esp-2) 0 10px;
	border-bottom: 1px solid var(--pmt-morado-900-a10);
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-negro);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pmt-cuenta-form__grupo .pmt-enlace {
	letter-spacing: 0;
	text-transform: none;
}

.pmt-campo--ancho { grid-column: 1 / -1; }

/* Aves y peces: una línea en lugar de los campos de perro y gato. */
.pmt-campos .pmt-cuenta-form__texto { margin: 0; }

.pmt-campo input:disabled {
	border-color: var(--pmt-morado-700-a08);
	background: var(--pmt-gris-100);
	color: var(--pmt-morado-950-a55);
}

.pmt-cuenta-form .pmt-segmentado button {
	min-height: 44px;
	padding: 0 var(--pmt-esp-2);
}

.pmt-cuenta-form__botones {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* ---------- Beneficios ---------- */

.pmt-benef-plus {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-5);
	border-radius: var(--pmt-radio-tarjeta);
	font-size: var(--pmt-texto-sm);
}

.pmt-benef-plus__titulo {
	font-size: var(--pmt-texto-xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.15;
}

.pmt-benef-plus__desglose {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pmt-esp-2);
	margin: 0;
}

.pmt-benef-plus__desglose div {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 10px 12px;
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-blanco);
}

.pmt-benef-plus__desglose dt {
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-negrita);
}

.pmt-benef-plus__desglose dd {
	margin: 0;
	font-size: var(--pmt-texto-lg);
	font-weight: var(--pmt-peso-negro);
}

.pmt-benef-plus__lista {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.pmt-benef-plus__lista li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: var(--pmt-peso-negrita);
}

.pmt-benef-plus__lista svg {
	flex-shrink: 0;
	color: var(--pmt-verde-500);
}

.pmt-benef-plus > .pmt-boton { align-self: flex-start; margin-top: auto; }

.pmt-benef-plus small {
	font-size: var(--pmt-texto-xs);
	line-height: 1.5;
}

.pmt-benef-plus small a { color: inherit; text-decoration: underline; }

.pmt-benef-petcash {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	padding: var(--pmt-esp-5);
}

.pmt-benef-petcash__cabeza {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
}

.pmt-benef-petcash__cabeza strong {
	color: var(--pmt-verde-800);
	font-size: 1.75rem;
	font-weight: var(--pmt-peso-negro);
}

.pmt-benef-petcash > small {
	color: var(--pmt-morado-950-a55);
	font-size: 0.8125rem;
	line-height: 1.5;
}

.pmt-movimientos {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pmt-movimientos li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-2) 0;
	border-bottom: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
	font-size: var(--pmt-texto-sm);
}

.pmt-movimientos li > span {
	display: flex;
	flex-direction: column;
}

.pmt-movimientos small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }
.pmt-movimientos .is-mas { color: var(--pmt-verde-800); }
.pmt-movimientos .is-menos { color: var(--pmt-rojo-700); }

.pmt-diez-tarjetas {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-3);
}

.pmt-diez-tarjeta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: var(--pmt-esp-4);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
}

.pmt-diez-tarjeta strong { font-size: 0.9375rem; }

.pmt-diez-tarjeta > span:last-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
}

/* El socio compra a precio Plus+, que no suma al 10+1. */
.pmt-diez-aviso {
	margin: var(--pmt-esp-3) 0 0;
	padding: 10px 14px;
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-ambar-100);
	color: var(--pmt-ambar-800);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pmt-diez-vacio {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-4);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
}

.pmt-diez-vacio > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.pmt-diez-vacio strong { color: var(--pmt-morado-700); }
.pmt-diez-vacio small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }
.pmt-diez-vacio .pmt-boton { align-self: flex-start; }

.pmt-diez-reglas {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pmt-esp-3);
	padding-top: 14px;
	border-top: 1px solid var(--pmt-morado-700-a08);
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
	line-height: 1.45;
}

.pmt-diez-reglas strong {
	display: block;
	color: var(--pmt-morado-700);
}

.pmt-referidos {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-4);
	padding: var(--pmt-esp-5);
}

.pmt-referidos__txt {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
}

.pmt-referidos__txt strong {
	color: var(--pmt-morado-700);
	font-size: 1.375rem;
	font-weight: var(--pmt-peso-negro);
}

.pmt-referidos__enlace {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pmt-esp-2);
}

.pmt-referidos__url {
	display: flex;
	flex: 1 1 100%;
	align-items: center;
	min-height: 46px;
	padding: 0 14px;
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-negrita);
}

.pmt-referidos__enlace .pmt-copiar,
.pmt-referidos__enlace .pmt-boton {
	flex: 1 1 0;
	min-height: 46px;
}

/* ---------- Direcciones y tarjetas ---------- */

.pmt-direccion {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-4);
	padding: var(--pmt-esp-5);
}

.pmt-direccion.is-principal {
	border: 2px solid var(--pmt-morado-700);
}

.pmt-direccion__txt {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
}

.pmt-direccion__txt > strong {
	color: var(--pmt-morado-950);
	font-size: 1.0625rem;
}

.pmt-direccion__alias {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pmt-predeterminada {
	padding: 3px 9px;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-morado-700);
	color: var(--pmt-blanco);
	font-size: 11px;
	font-weight: var(--pmt-peso-negro);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.pmt-direccion__chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--pmt-esp-2);
	padding-top: 4px;
}

/* La entrega rápida en morado: el verde es de Plus+, PetCash y confirmaciones. */
.pmt-chip-info {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 4px;
	padding: 4px 10px;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-chip-info.is-hoy { background: var(--pmt-morado-100); color: var(--pmt-morado-700); }
.pmt-chip-info.is-naranja { background: var(--pmt-naranja-50); color: var(--pmt-naranja-800); }

/* Móvil: Editar y Eliminar en dos columnas, «Hacer principal» a lo ancho encima. */
.pmt-cuenta-botones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: var(--pmt-esp-2);
}

.pmt-cuenta-botones .pmt-boton--contorno {
	grid-column: 1 / -1;
}

.pmt-cuenta-botones .pmt-boton {
	min-height: 40px;
	padding: 0 var(--pmt-esp-4);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

.pmt-tarjetas {
	overflow: hidden;
}

.pmt-tarjeta-fila {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	gap: var(--pmt-esp-3) 14px;
	padding: var(--pmt-esp-4);
	border-bottom: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
}

.pmt-tarjeta-fila:last-child { border-bottom: 0; }
.pmt-tarjeta-fila.is-predeterminada { background: var(--pmt-morado-50); }

.pmt-tarjeta-fila__logo {
	width: 48px;
	height: auto;
}

.pmt-tarjeta-fila__txt {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.pmt-tarjeta-fila__nombre {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
}

.pmt-tarjeta-fila__nombre strong { font-size: var(--pmt-texto-md); }
.pmt-tarjeta-fila__txt small { color: var(--pmt-morado-950-a55); font-size: 0.8125rem; }
.pmt-tarjeta-fila__txt .pmt-chip-info { margin-top: 4px; }

.pmt-tarjeta-fila .pmt-cuenta-botones {
	grid-column: 1 / -1;
}

/* ---------- Sin sesión (propuesta) ---------- */

.pmt-entrar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-6);
	margin: var(--pmt-esp-4) 0 var(--pmt-esp-8);
}

.pmt-entrar__forma {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-5);
	padding: var(--pmt-esp-5);
	border-radius: 20px;
}

.pmt-entrar__forma .pmt-campos {
	gap: 14px;
}

/* "Iniciar sesión" y "Crear cuenta" ocupan el mismo sitio y se ve uno: la tarjeta mide siempre lo
   que el más alto y no cambia de tamaño al pasar de uno a otro (Ivan, 16-oct-2026). El que no se
   ve conserva su sitio (visibility), no se puede pulsar ni llegar a él con el tabulador. */
.pmt-entrar__formularios {
	display: grid;
}

.pmt-entrar__formularios > form {
	grid-area: 1 / 1;
	align-content: start;
}

.pmt-entrar__formularios > .is-oculto {
	visibility: hidden;
}

.pmt-entrar__legal {
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
	text-align: center;
}

.pmt-entrar__porque {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-2) var(--pmt-esp-1);
}

.pmt-entrar__porque > strong {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-2xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.pmt-entrar__porque ul {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	margin: var(--pmt-esp-2) 0;
	padding: 0;
	list-style: none;
}

.pmt-entrar__porque li {
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-3);
	font-size: 0.9375rem;
	font-weight: var(--pmt-peso-negrita);
}

.pmt-entrar__porque li > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pmt-naranja-50);
	color: var(--pmt-naranja-800);
}

.pmt-entrar__ayuda {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
	text-decoration: none;
}

/* ---------- Móvil grande ---------- */

/* ---------- Favoritos, notificaciones y datos y seguridad (Rafael, 7-oct-2026) ---------- */

.pmt-favoritos {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.pmt-favorito {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.pmt-favorito > .pmf-card { flex: 1; }

.pmt-favorito__quitar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 36px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pmt-morado-950-a70);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-negrita);
	cursor: pointer;
}

.pmt-favorito__quitar svg { color: var(--pmt-naranja-500); fill: currentColor; }
.pmt-favorito__quitar:hover { color: var(--pmt-morado-700); }

.pmt-avisos {
	display: flex;
	flex-direction: column;
	padding: 0 var(--pmt-esp-4);
}

.pmt-aviso {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	padding: 14px 0;
	border-top: 1px solid var(--pmt-morado-700-a08);
}

.pmt-aviso:first-child { border-top: 0; }

.pmt-aviso__txt {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pmt-aviso__txt strong { color: var(--pmt-morado-700); font-size: 0.9375rem; }
.pmt-aviso__txt small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; line-height: 1.45; }

.pmt-aviso__canales {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: var(--pmt-esp-5);
}

.pmt-aviso__fijo {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--pmt-verde-800);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-negrita);
}

.pmt-guardado {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--pmt-verde-800);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-negrita);
}

.pmt-sesion { gap: 0; max-width: 760px; padding-block: 0; }
.pmt-sesion__fila .pmt-boton--texto { padding-inline: 0; }

.pmt-sesion__fila {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: var(--pmt-esp-4) 0;
	border-top: 1px solid var(--pmt-morado-700-a08);
}

.pmt-sesion__fila:first-child { border-top: 0; }

.pmt-sesion__fila > span:first-child {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pmt-sesion__fila strong { color: var(--pmt-morado-700); font-size: 0.9375rem; }
.pmt-sesion__fila small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; line-height: 1.45; }

.pmt-boton--peligro-lleno,
.pmt-boton--peligro-lleno:hover {
	background: var(--pmt-rojo-700);
	color: var(--pmt-blanco);
}

/* ---------- Mis reseñas (opción 3 de la propuesta, «El reporte»: Ivan, 17-oct-2026) ---------- */

/* Las estrellas de cada reseña, en el ámbar de la tarjeta de producto. */
.pmt-resenas-estrellas { display: inline-flex; gap: 2px; color: var(--pmt-gris-300); }
.pmt-resenas-estrellas .is-on { color: var(--pmt-ambar-500); fill: currentColor; }

/* Calificar desde aquí: cada estrella lleva a la ficha con esa calificación marcada. */
.pmt-resenas-calificar { display: inline-flex; gap: 2px; }

.pmt-resenas-calificar a {
	display: inline-flex;
	padding: 2px;
	border-radius: 6px;
	color: var(--pmt-ambar-500);
}

.pmt-resenas-calificar:hover a svg,
.pmt-resenas-calificar:has(a:focus-visible) a svg { fill: currentColor; }

.pmt-resenas-calificar a:hover ~ a,
.pmt-resenas-calificar a:focus-visible ~ a { color: var(--pmt-gris-300); }

.pmt-resenas-calificar a:hover ~ a svg,
.pmt-resenas-calificar a:focus-visible ~ a svg { fill: none; }

.pmt-resenas-calificar a:focus-visible { outline: 2px solid var(--pmt-morado-700); outline-offset: 1px; }

.pmt-resenas__nota { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-sm); }
.pmt-resenas-cabeza { flex-wrap: wrap; align-items: center; }
.pmt-resenas-cabeza h2 { white-space: nowrap; }

/* El reporte: cuántas, cómo califica y el premio. */
.pmt-resenas-reporte {
	display: grid;
	gap: var(--pmt-esp-4);
	padding: var(--pmt-esp-4);
}

.pmt-resenas-reporte__cifras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.pmt-resenas-reporte__cifras > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 14px;
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
}

.pmt-resenas-reporte__cifras small {
	color: var(--pmt-morado-950-a55);
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pmt-resenas-reporte__cifras strong {
	color: var(--pmt-morado-700);
	font-size: 1.375rem;
	font-weight: var(--pmt-peso-negro);
	line-height: 1.1;
}

.pmt-resenas-reporte__cifras .is-verde { background: var(--pmt-verde-100); }
.pmt-resenas-reporte__cifras .is-verde strong { color: var(--pmt-verde-800); }

.pmt-resenas-reporte__dist {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: var(--pmt-esp-5);
}

.pmt-resenas-reporte__promedio {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}

.pmt-resenas-reporte__promedio strong {
	color: var(--pmt-morado-700);
	font-size: 2.25rem;
	font-weight: var(--pmt-peso-negro);
	line-height: 1;
}

.pmt-resenas-reporte__promedio small {
	max-width: 11ch;
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
	line-height: 1.3;
}

.pmt-resenas-barras { display: flex; flex-direction: column; gap: 6px; }

.pmt-resenas-barras > span {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 16px;
	align-items: center;
	gap: 8px;
}

.pmt-resenas-barras b {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-xs);
}

.pmt-resenas-barras b svg { color: var(--pmt-ambar-500); fill: currentColor; }

.pmt-resenas-barras i {
	height: 8px;
	overflow: hidden;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-morado-100);
}

.pmt-resenas-barras em { display: block; height: 100%; border-radius: inherit; background: var(--pmt-ambar-500); }
.pmt-resenas-barras small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); text-align: right; }

.pmt-resenas-reporte__premio {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: var(--pmt-esp-4);
	border-top: 1px solid var(--pmt-morado-700-a08);
}

.pmt-resenas-reporte__premio > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.pmt-resenas-reporte__premio strong { color: var(--pmt-verde-800); font-size: var(--pmt-texto-sm); font-weight: var(--pmt-peso-negro); }
.pmt-resenas-reporte__premio small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }

/* Lo ganado en verde lleno y lo que está en revisión, rayado. */
.pmt-resenas-progreso {
	display: flex;
	height: 10px;
	overflow: hidden;
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-verde-100);
}

.pmt-resenas-progreso i { height: 100%; background: var(--pmt-verde-700); }
.pmt-resenas-progreso i.is-revision { background: repeating-linear-gradient(135deg, var(--pmt-verde-500) 0 4px, var(--pmt-verde-200) 4px 8px); }

/* Sin reseñas todavía: la invitación en el sitio del reporte. */
.pmt-resenas-empieza__premio { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.pmt-resenas-empieza__titulo {
	color: var(--pmt-morado-700);
	font-size: var(--pmt-texto-xl);
	font-weight: var(--pmt-peso-negro);
	line-height: 1.2;
}

.pmt-resenas-empieza__premio p {
	margin: 0 0 6px;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
}

/* El premio: cinco monedas de RD$100, una por producto. */
.pmt-resenas-monedas {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
}

.pmt-resenas-monedas > span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	border: 1.5px dashed var(--pmt-verde-200);
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-verde-100);
	color: var(--pmt-verde-800);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
}

.pmt-resenas-empieza__primera {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	padding: var(--pmt-esp-4);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-morado-50);
}

.pmt-resenas-empieza__primera.is-sin { align-items: center; text-align: center; }
.pmt-resenas-empieza__primera.is-sin strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-md); font-weight: var(--pmt-peso-negro); }
.pmt-resenas-empieza__primera.is-sin small { max-width: 34ch; color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-sm); line-height: 1.45; }

.pmt-resenas-empieza__icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--pmt-blanco);
	color: var(--pmt-morado-700);
}

.pmt-resenas-empieza__producto {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	gap: var(--pmt-esp-3);
	width: 100%;
}

.pmt-resenas-empieza__producto > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.pmt-resenas-empieza__producto strong { color: var(--pmt-morado-950); font-size: var(--pmt-texto-sm); font-weight: var(--pmt-peso-extra); line-height: 1.3; }
.pmt-resenas-empieza__producto small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }
.pmt-resenas-empieza__pide { color: var(--pmt-morado-700); font-size: var(--pmt-texto-sm); font-weight: var(--pmt-peso-extra); }

.pmt-resenas-empieza__nota {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding-top: var(--pmt-esp-3);
	border-top: 1px solid var(--pmt-morado-700-a08);
	color: var(--pmt-morado-950-a55);
	font-size: var(--pmt-texto-xs);
}

.pmt-resenas-empieza__nota svg { flex-shrink: 0; }

/* Tus reseñas: una fila por reseña, agrupadas por mes. */
.pmt-resenas-lista { display: flex; flex-direction: column; }

.pmt-resenas-mes {
	padding: 14px 0 2px;
	color: var(--pmt-morado-950-a55);
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pmt-resenas-fila {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	grid-template-areas: "foto que" "foto estado" "texto texto";
	gap: 6px var(--pmt-esp-3);
	padding: 14px 0;
}

.pmt-resenas-fila + .pmt-resenas-fila { border-top: 1px solid var(--pmt-morado-700-a08); }
.pmt-resenas-fila__foto { grid-area: foto; width: 48px; height: 48px; min-height: 0; border-radius: 10px; }
.pmt-resenas-fila__que { grid-area: que; display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.pmt-resenas-fila__que a {
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
	line-height: 1.3;
	text-decoration: none;
}

.pmt-resenas-fila__que a:hover { color: var(--pmt-morado-700); text-decoration: underline; }
.pmt-resenas-fila__meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pmt-resenas-fila__meta small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }
.pmt-resenas-fila .pmt-estado { grid-area: estado; justify-self: start; }

.pmt-resenas-fila__texto {
	grid-area: texto;
	margin: 0;
	color: var(--pmt-morado-950-a70);
	font-size: var(--pmt-texto-sm);
	line-height: 1.5;
}

/* Por reseñar: lo comprado que aún no califica, con las estrellas a mano. */
.pmt-resenas-compactas { display: flex; flex-direction: column; }

.pmt-resenas-compacta {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	gap: 8px var(--pmt-esp-3);
	padding: 10px 0;
}

.pmt-resenas-compacta + .pmt-resenas-compacta { border-top: 1px solid var(--pmt-morado-700-a08); }
.pmt-resenas-compacta__foto { width: 40px; height: 40px; min-height: 0; border-radius: 8px; }
.pmt-resenas-compacta > span:not(.pmt-resenas-calificar):not(.pmp-foto) { display: flex; flex-direction: column; min-width: 0; }

.pmt-resenas-compacta strong {
	overflow: hidden;
	color: var(--pmt-morado-950);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pmt-resenas-compacta small { color: var(--pmt-morado-950-a55); font-size: var(--pmt-texto-xs); }
.pmt-resenas-compacta > .pmt-resenas-calificar { grid-column: 2; justify-self: start; }

@media (min-width: 640px) {
	/* Tres por fila: con seis favoritos, dos filas completas. */
	.pmt-favoritos { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.pmt-aviso {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--pmt-esp-5);
	}

	.pmt-aviso__canales { flex-shrink: 0; flex-wrap: nowrap; }
	.pmt-aviso__fijo { min-width: 96px; }

	.pmt-sesion__fila {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--pmt-esp-5);
	}

	.pmt-sesion__fila > :last-child { flex-shrink: 0; }

	.pmt-campos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmt-campos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.pmt-sugerencias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmt-mascota__campos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pmt-mascota__campos div:last-child:nth-child(odd) { grid-column: auto; }
	.pmt-diez-tarjetas { grid-template-columns: repeat(3, minmax(0, 1fr)); }

	.pmt-referidos__url { flex: 1 1 auto; }
	.pmt-referidos__enlace .pmt-copiar,
	.pmt-referidos__enlace .pmt-boton { flex: 0 0 auto; padding: 0 18px; }

	/* Mis reseñas: el estado de cada reseña a la derecha y las cuatro cifras en fila. */
	.pmt-resenas-reporte__cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.pmt-resenas-fila {
		grid-template-columns: 56px minmax(0, 1fr) auto;
		grid-template-areas: "foto que estado" "foto texto texto";
		padding: 16px 0;
	}

	.pmt-resenas-fila__foto { width: 56px; height: 56px; }
	.pmt-resenas-fila .pmt-estado { justify-self: end; align-self: start; }
	.pmt-resenas-compacta { grid-template-columns: 40px minmax(0, 1fr) auto; }
	.pmt-resenas-compacta > .pmt-resenas-calificar { grid-column: auto; justify-self: end; }
}

/* ---------- Tableta y escritorio ---------- */

@media (min-width: 900px) {
	.pmt-cuenta {
		grid-template-columns: 236px minmax(0, 1fr);
		gap: var(--pmt-esp-6);
		padding-bottom: var(--pmt-esp-4);
	}

	.pmt-cuenta__principal { gap: 20px; }
	.pmt-cuenta [id] { scroll-margin-top: 134px; }

	.pmt-cuenta__titulo { font-size: 2rem; }

	.pmt-cuenta__filtros { margin: 0; padding: 0; flex-wrap: wrap; }

	/* Cifras: tres fichas sueltas (debajo del saludo hasta 1199 px; a su lado desde 1200). */
	.pmt-cifras-cuenta {
		display: flex;
		gap: var(--pmt-esp-3);
		width: auto;
		border: 0;
		background: none;
	}

	.pmt-cifra-cuenta {
		min-width: 132px;
		padding: var(--pmt-esp-3) 18px;
		border: 1px solid var(--pmt-morado-700-a08);
		border-radius: var(--pmt-radio-lg);
		background: var(--pmt-blanco);
	}

	.pmt-cifra-cuenta + .pmt-cifra-cuenta { border-left: 1px solid var(--pmt-morado-700-a08); }
	.pmt-cifra-cuenta__titulo { font-size: var(--pmt-texto-xs); letter-spacing: 0.06em; }
	.pmt-cifra-cuenta strong { font-size: 1.375rem; }

	/* Hasta 1199 px, una tarjeta por fila: a dos columnas no caben el texto y el botón.
	   PetCash y 10+1 sí van juntos, con Plus+ a lo ancho debajo. */
	.pmt-cuenta-fila { gap: 20px; }
	.pmt-cuenta-fila--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmt-cuenta-fila--3 > :last-child { grid-column: 1 / -1; }

	.pmt-cuenta-tarjeta { gap: 14px; padding: 22px; border-radius: 20px; }

	.pmt-seguimiento { gap: 6px; }
	.pmt-seguimiento li { gap: 6px; font-size: var(--pmt-texto-xs); }
	.pmt-seguimiento li > span { height: 6px; }

	.pmt-cuenta-aviso { padding: var(--pmt-esp-3) 14px; }
	.pmt-cuenta-aviso strong { font-size: 0.9375rem; }

	.pmt-cuenta-acciones { gap: var(--pmt-esp-2); }

	.pmt-luna__quien strong { font-size: var(--pmt-texto-2xl); }
	.pmt-luna__quien small { font-size: 0.8125rem; }
	.pmt-icono-cabeza.pmt-luna__huella { width: 64px; height: 64px; }
	.pmt-icono-cabeza.pmt-luna__huella svg { width: 32px; height: 32px; }
	.pmt-filtro-luna { padding: 14px; }
	.pmt-filtro-luna__fila strong { font-size: var(--pmt-texto-sm); }

	.pmt-invita { padding: var(--pmt-esp-6); }

	/* Volver a comprar, con más aire. */
	.pmt-recompra {
		gap: var(--pmt-esp-4);
		padding: 22px;
	}

	.pmt-recompra__fila { font-size: var(--pmt-texto-md); }

	.pmt-cuenta-bloque__cabeza h2,
	.pmt-cuenta-bloque__titulo { font-size: 1.375rem; }


	.pmt-pedidos__fila { padding: 18px 22px; }

	.pmt-pedido-gestion { padding: 18px 22px; }
	.pmt-pedido-gestion__grupo, .pmt-pedido-gestion .pmt-campo { max-width: 560px; }

	.pmt-cuenta-bloque { padding: 22px; }

	.pmt-sus {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 22px;
		padding: 22px;
	}

	.pmt-sus .pmt-sus__foto { width: 96px; height: 96px; border-radius: 14px; }
	.pmt-sus__nombre strong { font-size: 1.0625rem; }
	.pmt-sus__lado { grid-column: 2; }

	.pmt-mascota {
		grid-template-columns: 160px minmax(0, 1fr);
		gap: var(--pmt-esp-6);
		padding: var(--pmt-esp-6);
	}

	.pmt-mascota__filtro { grid-column: 1 / -1; }
	.pmt-icono-cabeza.pmt-mascota__huella { width: 160px; height: 160px; }
	.pmt-icono-cabeza.pmt-mascota__huella svg { width: 72px; height: 72px; }

	.pmt-mascota-nueva {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.pmt-cuenta-form { padding: 28px 32px; }
	.pmt-cuenta-form__titulo { font-size: 1.75rem; }

	.pmt-benef-plus,
	.pmt-benef-petcash { padding: var(--pmt-esp-6); }
	.pmt-benef-plus__titulo { font-size: var(--pmt-texto-2xl); }

	.pmt-diez-reglas { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.pmt-referidos {
		grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
		align-items: center;
		gap: var(--pmt-esp-6);
		padding: var(--pmt-esp-6);
	}

	.pmt-referidos__url { flex: 1 1 100%; }

	.pmt-direccion {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: var(--pmt-esp-6);
		padding: 22px var(--pmt-esp-6);
	}

	.pmt-tarjeta-fila {
		grid-template-columns: 64px minmax(0, 1fr) auto;
		gap: 18px;
		padding: 18px 22px;
	}

	.pmt-cuenta-botones { display: flex; flex-wrap: wrap; }

	.pmt-tarjeta-fila__logo { width: 56px; }
	.pmt-tarjeta-fila .pmt-cuenta-botones { grid-column: auto; }

	.pmt-entrar {
		grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
		align-items: center;
		gap: var(--pmt-esp-12);
		margin-top: var(--pmt-esp-8);
	}

	.pmt-entrar__forma { padding: var(--pmt-esp-8); }
	.pmt-entrar__porque > strong { font-size: var(--pmt-texto-3xl); }

	/* Mis reseñas: el reporte en dos columnas (cifras y calificación) y el premio debajo. */
	.pmt-resenas-reporte { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); padding: var(--pmt-esp-5); }
	.pmt-resenas-reporte__cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmt-resenas-reporte__premio,
	.pmt-resenas-empieza__nota { grid-column: 1 / -1; }
	.pmt-resenas-empieza { align-items: stretch; }
	.pmt-resenas-empieza__primera { justify-content: center; }
}

@media (min-width: 1200px) {
	.pmt-favoritos { gap: 14px; }

	.pmt-cuenta { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; }

	.pmt-cuenta__cabeza--panel { flex-wrap: nowrap; }

	.pmt-cuenta-fila--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pmt-cuenta-fila--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pmt-cuenta-fila--3 > :last-child { grid-column: auto; }

	/* Pedidos en una fila de cinco columnas: hasta 1199 px no caben. */
	.pmt-pedidos__fila {
		grid-template-columns: 130px minmax(0, 1fr) 96px 168px auto;
		grid-template-areas: "id items total estado acciones";
		gap: 18px;
	}

	.pmt-estado { justify-self: start; }

	.pmt-cuenta-fila--mascota { grid-template-columns: 1.15fr 1fr; }

	.pmt-sus { grid-template-columns: 96px minmax(0, 1fr) 300px; }
	.pmt-sus__lado { grid-column: auto; }

	.pmt-mascota { grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 28px; }
	.pmt-mascota__filtro { grid-column: auto; }
	.pmt-icono-cabeza.pmt-mascota__huella { width: 200px; height: 200px; }
	.pmt-icono-cabeza.pmt-mascota__huella svg { width: 88px; height: 88px; }
}

/* ---------- Compras recurrentes: "Ver detalle" y la página de una compra (?ver=N) ----------
   El diseño aprobado por Ivan el 6-nov-2026 (prototipo/propuestas/compra-recurrente/). */

.pmt-sus__ver {
	width: 100%;
	min-height: 42px;
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

.pmt-enlace--rojo { color: var(--pmt-rojo-700); }
.pmt-enlace--rojo:hover { color: var(--pmt-rojo-700); }

.pmt-recur {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-4);
	min-width: 0;
}

.pmt-recur[aria-busy="true"] { opacity: 0.7; }

.pmt-recur__cabeza {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pmt-recur__titulo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.pmt-recur-estado {
	padding: 4px 12px;
	border-radius: var(--pmt-radio-pildora);
	font-size: var(--pmt-texto-xs);
	font-weight: var(--pmt-peso-extra);
	white-space: nowrap;
}

.pmt-recur-estado--verde { background: var(--pmt-verde-100); color: var(--pmt-verde-800); }
.pmt-recur-estado--naranja { background: var(--pmt-naranja-50); color: var(--pmt-naranja-800); }
.pmt-recur-estado--morado { background: var(--pmt-morado-100); color: var(--pmt-morado-700); }
.pmt-recur-estado--rojo { background: var(--pmt-rojo-100); color: var(--pmt-rojo-700); }

/* El pedido que espera el pago. */
.pmt-recur-aviso {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	padding: 14px;
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-naranja-50);
}

.pmt-recur-aviso__icono {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--pmt-blanco);
	color: var(--pmt-naranja-700);
}

.pmt-recur-aviso__texto {
	display: flex;
	flex: 1 1 220px;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pmt-recur-aviso__texto strong { color: var(--pmt-naranja-800); font-size: 0.9375rem; font-weight: var(--pmt-peso-negro); }
.pmt-recur-aviso__texto small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }
.pmt-recur-aviso .pmt-boton { flex: 1 1 100%; }

/* Las cuatro cifras. */
.pmt-recur-cifras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pmt-esp-2);
}

.pmt-recur-cifra {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid var(--pmt-morado-700-a08);
	border-radius: var(--pmt-radio-lg);
	background: var(--pmt-blanco);
}

.pmt-recur-cifra > span {
	color: var(--pmt-morado-950-a70);
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.pmt-recur-cifra strong { color: var(--pmt-morado-700); font-size: 1.125rem; font-weight: var(--pmt-peso-negro); line-height: 1.25; }
.pmt-recur-cifra small { color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-xs); }
.pmt-recur-cifra.is-naranja > span { color: var(--pmt-naranja-700); }
.pmt-recur-cifra.is-verde { border-color: var(--pmt-verde-200); background: var(--pmt-verde-100); }
.pmt-recur-cifra.is-verde > span,
.pmt-recur-cifra.is-verde strong,
.pmt-recur-cifra.is-verde small { color: var(--pmt-verde-800); }

/* Lo que se puede hacer. */
.pmt-recur-acciones {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-3);
	padding: var(--pmt-esp-4);
}

.pmt-recur-acciones__fila {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.pmt-recur-acciones__texto {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pmt-recur-acciones__texto strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-md); font-weight: var(--pmt-peso-negro); }
.pmt-recur-acciones__texto small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }

.pmt-recur-acciones__botones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--pmt-esp-2);
	width: 100%;
}

.pmt-recur-acciones__botones .pmt-boton {
	min-height: 44px;
	padding: 0 var(--pmt-esp-4);
	font-weight: var(--pmt-peso-extra);
}

.pmt-recur-acciones__nota { color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-xs); }

/* Los bloques: productos y cómo se paga. */
.pmt-recur-bloque {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--pmt-esp-4);
}

.pmt-recur-bloque__cabeza {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pmt-recur-bloque__cabeza h2 {
	margin: 0;
	color: var(--pmt-morado-700);
	font-size: 1.25rem;
	font-weight: var(--pmt-peso-negro);
	line-height: 1.15;
}

.pmt-recur-bloque__cabeza > span { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }
.pmt-recur-bloque__nota { margin: 0; color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }

.pmt-recur-producto {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 12px 14px;
	padding-top: 14px;
	border-top: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
}

.pmt-recur-producto .pmt-recur-producto__foto {
	width: 64px;
	height: 64px;
	min-height: 0;
	border-radius: var(--pmt-radio-md);
}

.pmt-recur-producto__info {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.pmt-recur-producto__info .pmt-sus__nombre s {
	margin-left: 2px;
	color: var(--pmt-morado-950-a55);
}

.pmt-recur-producto__lado {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* "Elegir otra fecha": se abre debajo, sin JavaScript. */
.pmt-recur-fecha > summary {
	width: 100%;
	min-height: 44px;
	list-style: none;
	font-weight: var(--pmt-peso-extra);
	cursor: pointer;
}

.pmt-recur-fecha > summary::-webkit-details-marker { display: none; }

.pmt-recur-fecha form {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.pmt-recur-fecha label { color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-xs); font-weight: var(--pmt-peso-extra); }

.pmt-recur-fecha__fila {
	display: flex;
	gap: var(--pmt-esp-2);
}

.pmt-recur-fecha input[type="date"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid color-mix(in srgb, var(--pmt-morado-700) 20%, transparent);
	border-radius: var(--pmt-radio-md);
	background: var(--pmt-blanco);
	color: var(--pmt-morado-950);
	font: var(--pmt-peso-medio) 0.9375rem var(--pmt-fuente);
}

.pmt-recur-fecha .pmt-boton { min-height: 44px; font-weight: var(--pmt-peso-extra); }

/* Cómo se paga. */
.pmt-recur-seg {
	display: flex;
	align-self: stretch;
}

.pmt-recur-seg button {
	flex: 1 1 auto;
	padding: 0 10px;
	white-space: nowrap;
}

.pmt-recur-seg button:not(.is-on):hover { background: var(--pmt-morado-100); }

.pmt-recur-cajas {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
}

.pmt-recur-caja {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 14px 16px;
	border: 1.5px solid color-mix(in srgb, var(--pmt-morado-700) 15%, transparent);
	border-radius: 14px;
}

.pmt-recur-caja.is-on { border-color: var(--pmt-morado-650); }
.pmt-recur-caja.is-falta { border-color: var(--pmt-naranja-500); }

.pmt-recur-caja__ante {
	color: var(--pmt-morado-950-a70);
	font-size: 11px;
	font-weight: var(--pmt-peso-extra);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.pmt-recur-caja__falta { color: var(--pmt-naranja-800); font-size: var(--pmt-texto-sm); }
.pmt-recur-caja > small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }

.pmt-recur-caja__enlaces {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
}

.pmt-recur-caja__enlaces .pmt-enlace,
.pmt-recur-elegir > summary.pmt-enlace {
	min-height: 32px;
}

.pmt-recur-tarjeta {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.pmt-recur-tarjeta img { flex-shrink: 0; width: 38px; height: 24px; }
.pmt-recur-tarjeta > span { display: flex; flex-direction: column; min-width: 0; }
.pmt-recur-tarjeta strong { color: var(--pmt-morado-700); font-size: 0.9375rem; }
.pmt-recur-tarjeta small { color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-xs); }
.pmt-recur-tarjeta small.is-vencida { color: var(--pmt-rojo-700); }

.pmt-recur-elegir > summary {
	list-style: none;
	cursor: pointer;
}

.pmt-recur-elegir > summary::-webkit-details-marker { display: none; }
.pmt-recur-elegir[open] { flex-basis: 100%; }

.pmt-recur-elegir__lista {
	display: flex;
	flex-direction: column;
	gap: var(--pmt-esp-2);
	margin-top: 10px;
	padding: 12px;
	border-radius: 14px;
	background: var(--pmt-morado-50);
}

.pmt-recur-elegir__lista .pmt-radio-caja { background: var(--pmt-blanco); }
.pmt-recur-elegir__lista .pmt-radio-caja:disabled { opacity: 0.55; cursor: default; }

.pmt-recur-manual {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--pmt-morado-50);
	color: var(--pmt-morado-700);
}

.pmt-recur-manual svg { flex-shrink: 0; margin-top: 1px; }
.pmt-recur-manual > span { display: flex; flex-direction: column; gap: 2px; }
.pmt-recur-manual strong { color: var(--pmt-morado-700); font-size: var(--pmt-texto-sm); }
.pmt-recur-manual small { color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }

/* El cupón: el código y "Aplicar" en una sola píldora. */
.pmt-recur-cupon {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: var(--pmt-esp-4);
}

.pmt-recur-cupon__texto {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.pmt-recur-cupon__icono {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--pmt-morado-100);
	color: var(--pmt-morado-650);
}

.pmt-recur-cupon__texto h2 {
	margin: 0;
	color: var(--pmt-morado-700);
	font-size: 1.125rem;
	font-weight: var(--pmt-peso-negro);
	line-height: 1.2;
}

.pmt-recur-cupon__texto small { display: block; color: var(--pmt-morado-950-a70); font-size: 0.8125rem; }

.pmt-recur-cupon__campo {
	display: flex;
	align-items: center;
	gap: var(--pmt-esp-2);
	padding: 4px 4px 4px 16px;
	border: 1.5px solid color-mix(in srgb, var(--pmt-morado-700) 20%, transparent);
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-blanco);
}

.pmt-recur-cupon__campo:focus-within {
	border-color: var(--pmt-morado-650);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--pmt-morado-650) 15%, transparent);
}

.pmt-recur-cupon__campo input {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 40px;
	padding: 0;
	border: 0;
	outline: none;
	background: transparent;
	color: var(--pmt-morado-950);
	font: var(--pmt-peso-negrita) 1rem var(--pmt-fuente);
	letter-spacing: 0.04em;
}

.pmt-recur-cupon__campo .pmt-boton { min-height: 42px; padding: 0 var(--pmt-esp-5); font-weight: var(--pmt-peso-extra); }

.pmt-recur-cupon__hecho {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 6px 6px 14px;
	border: 1.5px solid var(--pmt-verde-200);
	border-radius: var(--pmt-radio-pildora);
	background: var(--pmt-verde-100);
	color: var(--pmt-verde-800);
}

.pmt-recur-cupon__hecho svg { flex-shrink: 0; }
.pmt-recur-cupon__hecho > span { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; line-height: 1.3; }
.pmt-recur-cupon__hecho strong { color: var(--pmt-verde-800); font-size: 0.9375rem; letter-spacing: 0.04em; }
.pmt-recur-cupon__hecho small { color: var(--pmt-verde-800); font-size: var(--pmt-texto-xs); }
.pmt-recur-cupon__hecho .pmt-boton { min-height: 40px; }

/* Sus pedidos. */
.pmt-recur-pedidos {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.pmt-recur-pedidos .pmt-recur-bloque__cabeza { padding: var(--pmt-esp-4) var(--pmt-esp-4) 12px; }

.pmt-recur-pedido {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px 12px;
	padding: 14px var(--pmt-esp-4);
	border-top: 1px solid color-mix(in srgb, var(--pmt-morado-700) 7%, transparent);
}

.pmt-recur-pedido__id { display: flex; flex-direction: column; min-width: 0; }
.pmt-recur-pedido__id a { color: var(--pmt-morado-700); text-decoration: none; }
.pmt-recur-pedido__id strong { font-size: var(--pmt-texto-sm); }
.pmt-recur-pedido__id small { color: var(--pmt-morado-950-a70); font-size: var(--pmt-texto-xs); }
.pmt-recur-pedido .pmt-estado { grid-area: auto; justify-self: end; }
.pmt-recur-pedido__total { color: var(--pmt-morado-700); font-size: 0.9375rem; }

.pmt-recur-pedido .pmt-boton {
	justify-self: end;
	min-height: 40px;
	padding: 0 var(--pmt-esp-4);
	font-size: 0.8125rem;
	font-weight: var(--pmt-peso-extra);
}

/* "Pagar ahora" en una ventana: en el móvil, una hoja que sube desde abajo. */
.pmt-modal--pagar .pmt-modal__caja--pagar {
	width: min(900px, 100%);
	gap: var(--pmt-esp-4);
	text-align: left;
}

.pmt-modal--pagar .pmt-modal__cabeza .pmt-modal__titulo,
.pmt-modal--pagar .pmt-modal__cabeza .pmt-modal__sub { text-align: left; }

.pmt-modal__pagar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--pmt-esp-4);
	align-items: start;
}

.pmt-modal__pagar .pmt-pedido,
.pmt-modal__pagar .pmt-pagar { margin: 0; }

/* En la confirmación, "Tu pedido" se queda fijo al bajar; dentro de la ventana, no. */
.pmt-modal__pagar .pmt-pedido.pmt-pedido--conf { position: static; top: auto; }

@media (max-width: 899px) {
	.pmt-modal--pagar {
		align-items: flex-end;
		padding: 0;
	}

	.pmt-modal--pagar .pmt-modal__caja--pagar {
		width: 100%;
		max-height: 92vh;
		overflow-y: auto;
		padding: 20px var(--pmt-margen-lateral) 24px;
		border-radius: 24px 24px 0 0;
	}
}

@media (min-width: 900px) {
	.pmt-recur { gap: 20px; }

	.pmt-recur-aviso { padding: 16px 18px; border-radius: 18px; }
	.pmt-recur-aviso .pmt-boton { flex: 0 0 auto; }

	.pmt-recur-cifras { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pmt-esp-3); }
	.pmt-recur-cifra { padding: 14px 18px; }
	.pmt-recur-cifra > span { font-size: var(--pmt-texto-xs); }
	.pmt-recur-cifra strong { font-size: 1.375rem; }

	.pmt-recur-acciones { padding: 18px 22px; border-radius: 18px; }
	.pmt-recur-acciones__botones { display: flex; flex-wrap: wrap; width: auto; }

	.pmt-recur-bloque { padding: 20px 22px; border-radius: 18px; }

	.pmt-recur-bloque__cabeza {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: baseline;
		justify-content: space-between;
		gap: 4px 16px;
	}

	.pmt-recur-bloque__cabeza h2 { font-size: 1.375rem; }

	.pmt-recur-producto {
		grid-template-columns: 84px minmax(0, 1fr) 260px;
		gap: 16px 20px;
		padding-top: 18px;
	}

	.pmt-recur-producto .pmt-recur-producto__foto { width: 84px; height: 84px; border-radius: 14px; }
	.pmt-recur-producto__lado { grid-column: auto; }

	.pmt-recur-seg { align-self: flex-start; }
	.pmt-recur-seg button { padding: 0 var(--pmt-esp-4); }
	.pmt-recur-cajas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

	.pmt-recur-cupon {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 16px 24px;
		padding: 20px 22px;
		border-radius: 18px;
	}

	.pmt-recur-cupon__texto { flex: 1 1 300px; }
	.pmt-recur-cupon__icono { width: 46px; height: 46px; }
	.pmt-recur-cupon__texto h2 { font-size: 1.25rem; }
	.pmt-recur-cupon__campo,
	.pmt-recur-cupon__hecho { flex: 1 1 360px; max-width: 440px; }

	.pmt-recur-pedidos { border-radius: 18px; }
	.pmt-recur-pedidos .pmt-recur-bloque__cabeza { padding: 20px 22px 14px; }

	.pmt-recur-pedido {
		grid-template-columns: minmax(0, 1fr) auto 110px 120px;
		gap: 10px 18px;
		padding: 14px 22px;
	}

	.pmt-recur-pedido__total { text-align: right; }
	.pmt-recur-pedido .pmt-boton { width: 100%; }

	.pmt-modal__pagar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* "Agregar tarjeta" en su ventana, también encima de "Pagar ahora" (assets/js/tarjeta-ventana.js;
   Ivan, 6-nov-2026), y el aviso de la tarjeta recién agregada en la parte de la página que la enseña. */
.pmt-modal--tarjeta { z-index: 410; }

.pmt-tv-aviso {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--pmt-verde-800);
	font-size: var(--pmt-texto-sm);
	font-weight: var(--pmt-peso-extra);
	line-height: 1.35;
}

.pmt-tv-aviso svg { flex: none; }
.pmt-tv-aviso:focus { outline: none; }

/* La dirección de facturación de una tarjeta (Ivan, 6-nov-2026): una de Mis direcciones, con las cajas de la
   caja, u "Otra dirección", cuyos campos solo se ven al elegirla (sin direcciones guardadas, siempre). */
.pmt-fact.tiene-direcciones:not(:has(input[name="pmt_fact"][value="otra"]:checked)) .pmt-fact__otra { display: none; }

.pmt-tarjeta-fila__fact.is-falta { color: var(--pmt-naranja-800); }
