/* MisReferidos - SOLO PRUEBAS - Ajuste de navegación 09-11-2026.
   Enlaces en comparativas / botón regresar centrado en fichas; no toca datos. */

/* Comparativa rápida: botón compacto con borde oscuro y flecha gruesa a la derecha. */
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href],
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a.mr-requisitos-btn {
  display:inline-flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:fit-content!important;
  max-width:100%!important;
  padding:6px 9px!important;
  min-height:32px!important;
  box-sizing:border-box!important;
  border:1.5px solid #111827!important;
  border-radius:8px!important;
  background:#fff!important;
  background-image:none!important;
  color:#111827!important;
  text-align:center!important;
  text-decoration:none!important;
  font:750 12px/1.25 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  white-space:normal!important;
  box-shadow:none!important;
  animation:none!important;
}
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href]::after {
  content:"➜";
  display:inline-block;
  flex:none;
  font-size:18px;
  font-weight:900;
  line-height:1;
  color:currentColor;
}
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href]:hover,
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href]:focus-visible {
  background:#eef2ff!important;
}
html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href]:focus-visible {
  outline:3px solid #6d5bf5!important;
  outline-offset:2px!important;
}

/* Botón volver idéntico y centrado en las fichas clásicas y las nuevas.
   El CTA principal queda por encima del regreso, sin alterar su destino ni sus eventos. */
html body:not(.mr-admin-page) main .offer-head .actions:has(> a.mr-compact-nav),
html body:not(.mr-admin-page) main .pubbox .cta:has(> a.mr-compact-nav) {
  display:flex!important;
  flex-direction:column!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
html body:not(.mr-admin-page) main .offer-head .actions > a.mr-compact-nav,
html body:not(.mr-admin-page) main .pubbox .cta > a.mr-compact-nav {
  display:inline-flex!important;
  align-self:center!important;
  flex:0 0 auto!important;
  width:fit-content!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0 auto!important;
  padding:6px 12px!important;
  font-size:13px!important;
  line-height:1.2!important;
  text-align:center!important;
  background:#fff!important;
  background-image:none!important;
  color:#111827!important;
  border:1.5px solid #111827!important;
  border-radius:9px!important;
}
/* Asegura que el estilo de flecha sea el mismo en ambos tipos de ficha. */
html body:not(.mr-admin-page) main .offer-head .actions > a.mr-compact-nav svg.mr-nav-arrow,
html body:not(.mr-admin-page) main .pubbox .cta > a.mr-compact-nav svg.mr-nav-arrow {
  display:block!important;
  width:19px!important;
  height:19px!important;
  stroke-width:3.1!important;
  flex:none!important;
}
@media (max-width:600px) {
  html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href] {
    font-size:11px!important;
    padding:5px 6px!important;
    gap:4px!important;
  }
  html body main.category-page .mr-comparison .mr-compare tbody td:last-child a[href]::after {
    font-size:16px;
  }
}
