/* =========================================================
   SeptemCars — Recomendaciones (página privada del cliente: /recomendaciones#<token>)
   Va después de styles.css y usa solo sus tokens (fondo crema de <main class="tema-claro">,
   cabecera y pie en carbón, dorado de marca). Mobile-first. Las animaciones mueven solo transform y opacity.
   ========================================================= */

/* En el móvil no van la barra fija de abajo ni el botón flotante de WhatsApp: taparían los botones de votar
   (las pantallas que lo necesitan ya llevan su propio botón de WhatsApp). */
@media (max-width: 719px) {
  body[data-page="recomendaciones"] .barra-movil,
  body[data-page="recomendaciones"] .fab-wa { display: none; }
  body[data-page="recomendaciones"] { padding-bottom: 0; }
  /* Oportunidades (13/11/2026): el tinder va arriba de la página; mientras se ve, sin la barra fija (taparía los botones) */
  body.con-tinder .barra-movil, body.con-tinder .fab-wa { display: none; }
  body.con-tinder { padding-bottom: 0; }
}

body[data-page="recomendaciones"], body[data-page="oportunidades"] { --rc-cab: 70px; }   /* alto de la cabecera; el JS pone el real */
body[data-page="recomendaciones"] .site-footer { margin-top: 0; }
main.reco-main, .reco-main { overflow: hidden; }                    /* la tarjeta que sale volando no crea scroll horizontal */
@supports (overflow: clip) { main.reco-main, .reco-main { overflow: visible; overflow-x: clip; } }
.reco { padding: 0; position: relative; z-index: 1; }

.rc-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------- Pantallas de mensaje ------------------------- */
.rc-msg {
  min-height: calc(100vh - var(--rc-cab));
  min-height: calc(100dvh - var(--rc-cab));
  max-width: 620px;
  margin: 0 auto;
  padding: 2.2rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.rc-msg h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin: 0.2rem 0 0.8rem; outline: none; }
.rc-msg .section-eyebrow { margin-bottom: 0.5rem; }
.rc-msg-p { max-width: 480px; font-size: 1rem; line-height: 1.6; }
.rc-pedido {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0.75rem auto 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border-2);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}
.rc-msg-p b { color: var(--text); font-weight: 600; }
.rc-msg-nota { margin-top: 1.1rem; max-width: 440px; font-size: 0.88rem; color: var(--text-dim); line-height: 1.55; }
.rc-msg-nota b { color: var(--text-muted); font-weight: 600; }
.rc-acciones { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-top: 1.6rem; width: 100%; }
.rc-acciones .btn { flex: 1 1 220px; max-width: 320px; }

.rc-icono {
  width: 78px; height: 78px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.rc-icono svg { width: 34px; height: 34px; }

.rc-demo-pill {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin: 0 0 1.4rem;
}

/* Cargando */
.rc-cargando p { font-size: 0.95rem; color: var(--text-dim); margin-top: 1rem; }
.rc-cargador {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  animation: rcGiro 0.9s linear infinite;
}
@keyframes rcGiro { to { transform: rotate(360deg); } }

/* Buscando: radar tranquilo (un arco dorado que gira despacio y dos ondas que se apagan) */

.rc-radar { position: relative; width: 120px; height: 120px; margin: 0 0 1.4rem; }
.rc-radar-giro { position: absolute; inset: 0; width: 100%; height: 100%; animation: rcGiro 3.2s linear infinite; }
.rc-radar-pista { fill: none; stroke: var(--border); stroke-width: 1.5; }
.rc-radar-arco { fill: none; stroke: var(--oro-marca); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 70 270; }
.rc-radar-icono {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-card);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.rc-radar-icono svg { width: 32px; height: 32px; }
.rc-radar-pulso {
  position: absolute; inset: 22px;
  border-radius: 50%;
  border: 1px solid var(--oro-marca);
  opacity: 0;
  animation: rcOnda 3.2s cubic-bezier(.2, .6, .35, 1) infinite;
}
.rc-radar-pulso-2 { animation-delay: 1.6s; }
@keyframes rcOnda { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.75); opacity: 0; } }
.rc-paso {
  margin-top: 1.4rem;
  min-height: 1.5em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.rc-paso.is-saliendo { opacity: 0; transform: translateY(4px); }

/* ------------------------- El mazo ------------------------- */
.rc-mazo-vista {
  display: flex;
  flex-direction: column;
  height: calc(100vh - var(--rc-cab));
  height: calc(100dvh - var(--rc-cab));
  min-height: 540px;
  max-height: 940px;
  max-width: 470px;
  margin: 0 auto;
  padding: 0.55rem 1rem calc(0.5rem + env(safe-area-inset-bottom));
}
.rc-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0 0.15rem 0.55rem; }
.rc-top-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.rc-eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-cuenta { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text); min-height: 1.2em; }
.rc-cuenta b { font-weight: 700; }

.rc-guardado {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.74rem; color: var(--text-dim);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rc-guardado.is-visible { opacity: 1; }
.rc-guardado svg { width: 14px; height: 14px; color: var(--gold); }
.rc-punto { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-soft); display: inline-block; animation: rcLatido 1s ease-in-out infinite; }
.rc-guardado[data-estado="error"] { color: var(--text); }
.rc-guardado[data-estado="error"] .rc-punto { background: #b5533c; animation: none; }
@keyframes rcLatido { 50% { opacity: 0.25; } }

.rc-escenario { position: relative; flex: 1 1 auto; min-height: 0; display: flex; }
.rc-mazo { position: relative; flex: 1 1 auto; margin-bottom: 30px; }   /* abajo asoman las tarjetas de debajo */
.rc-mazo.is-entrando { animation: rcEntrar 0.55s var(--ease) both; }
@keyframes rcEntrar { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

.rc-carta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 44px -26px rgba(60, 48, 20, 0.55), 0 2px 8px -4px rgba(60, 48, 20, 0.18);
  transform-origin: 50% 92%;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
  touch-action: pan-y;                 /* el desplazamiento vertical de la página sigue funcionando */
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  cursor: grab;
}
.rc-carta[data-prof="1"] { transform: translate3d(0, 14px, 0) scale(0.955); }
.rc-carta[data-prof="2"] { transform: translate3d(0, 28px, 0) scale(0.91); }
.rc-carta[data-prof="1"] .rc-info, .rc-carta[data-prof="2"] .rc-info { opacity: 0.55; }
.rc-carta[data-prof="1"].is-arrastrando .rc-info { opacity: 1; }
.rc-carta.is-arrastrando { transition: none; cursor: grabbing; will-change: transform; }
.rc-carta.is-volviendo { transition: transform 0.55s cubic-bezier(.2, 1.45, .4, 1); }
.rc-carta.is-volando { pointer-events: none; will-change: transform, opacity; }

/* Foto con su galería */
.rc-foto {
  position: relative;
  flex: 1 1 auto;
  min-height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a20 0%, #0f0f13 100%);
}
.rc-foto-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 175, 55, 0.13), transparent 52%),
    radial-gradient(circle at 70% 75%, rgba(212, 175, 55, 0.07), transparent 52%);
}
.rc-ini {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--oro-marca);
  text-shadow: 0 4px 30px rgba(212, 175, 55, 0.35);
  text-align: center;
  padding: 0 1rem;
}
.rc-ph-txt { display: none; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8c8880; }
.rc-foto.is-sin-foto .rc-ph-txt { display: block; }
.rc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  -webkit-user-drag: none;
}
.rc-img.is-activa.is-cargada { opacity: 1; }
.rc-img.is-rota { display: none; }
.rc-foto.is-tope-izq .rc-img.is-activa { animation: rcTopeIzq 0.32s ease; }
.rc-foto.is-tope-der .rc-img.is-activa { animation: rcTopeDer 0.32s ease; }
@keyframes rcTopeIzq { 40% { transform: translateX(7px); } }
@keyframes rcTopeDer { 40% { transform: translateX(-7px); } }

/* Segmentos de arriba (como las historias): también son botones para ir a cada foto */
.rc-segs {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; gap: 4px;
  padding: 9px 10px 16px;
  background: linear-gradient(rgba(10, 10, 12, 0.42), rgba(10, 10, 12, 0));
}
.rc-seg {
  flex: 1 1 0; min-width: 0;
  height: 16px; padding: 0; margin: 0;
  background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start;
  -webkit-tap-highlight-color: transparent;
}
.rc-seg i { display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.38); transition: background 0.2s ease; }
.rc-seg.is-vista i { background: rgba(255, 255, 255, 0.78); }
.rc-seg.is-activa i { background: #fff; }
.rc-seg:focus-visible { outline: 2px solid #fff; outline-offset: 1px; border-radius: 3px; }

/* Sellos «ME GUSTA» / «NO ME GUSTA» que aparecen al arrastrar */
.rc-sello {
  position: absolute; top: 34px; z-index: 4;
  padding: 0.38rem 0.8rem 0.34rem;
  border: 2px solid currentColor;
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.5);
  font: 700 1rem/1 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.rc-carta.is-arrastrando .rc-sello { transition: none; }
.rc-sello-si { left: 16px; color: var(--oro-marca); transform: rotate(-12deg); }
.rc-sello-no { right: 16px; color: #f5f0e1; transform: rotate(12deg); }

/* Datos del coche */
.rc-info { flex: none; padding: 0.85rem 1rem 0.95rem; display: flex; flex-direction: column; gap: 0.5rem; transition: opacity 0.3s ease; }
.rc-titulo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.12;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rc-precio { display: flex; align-items: center; gap: 0.6rem; }
.rc-precio-val { flex: none; font: 600 1.65rem/1.1 var(--font-body); letter-spacing: -0.01em; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-precio-lbl { flex: 0 1 auto; min-width: 0; max-width: 14rem; font-size: 0.66rem; line-height: 1.3; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); }
/* Ahorro frente a España: destacado pero sobrio (fondo dorado muy suave, sin exclamaciones) */
.rc-info .rc-ahorro {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: -0.12rem;
  padding: 0.26rem 0.6rem 0.26rem 0.5rem;
  border-radius: 8px;
  background: rgba(184, 150, 62, 0.14);
  font-size: 0.8rem; line-height: 1.3; color: var(--text);
}
.rc-ahorro svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.rc-ahorro b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-ahorro-largo { display: none; }
/* Se pasa de su presupuesto (12/11/2026): aviso claro pero sin alarma, debajo del ahorro */
.rc-info .rc-sobre { align-self: flex-start; margin-top: -0.1rem; padding: 0.2rem 0.55rem; border-radius: 8px; border: 1px solid rgba(232, 160, 90, 0.45);
  font-size: 0.78rem; line-height: 1.3; color: var(--text); }
.rc-sobre b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: #f0b27a; }   /* móvil: la frase corta, en una línea; ordenador (abajo): la completa */
/* Nota del agente buscador (12/11/2026): por qué se propone este coche y en qué se aparta de lo que pidió el cliente */
.rc-info .rc-agente { display: flex; flex-direction: column; gap: 0.22rem; margin-top: -0.05rem; padding: 0.34rem 0.6rem 0.38rem; border-left: 2px solid var(--gold);
  border-radius: 0 8px 8px 0; background: rgba(184, 150, 62, 0.08); font-size: 0.78rem; line-height: 1.38; color: var(--text); }
.rc-agente p { margin: 0; }
.rc-agente-lbl { display: block; font-size: 0.6rem; line-height: 1.5; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); }
.rc-agente-cambia { color: #f0b27a; }
.rc-agente-cambia .rc-agente-lbl { color: var(--text-dim); }
.rc-carta.con-agente .rc-pills { max-height: 1.65rem; }   /* con la nota, una sola fila de destacados */
.rc-sigue-rueda { width: 30px; height: 30px; }
.rc-sigue-nota { color: var(--text-muted); }
.rc-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 0.28rem 0.85rem; font-size: 0.83rem; color: var(--text-muted); line-height: 1.35; }
.rc-specs li { display: inline-flex; align-items: center; gap: 0.32rem; white-space: nowrap; }
.rc-specs svg { width: 14px; height: 14px; flex: none; color: var(--text-dim); }
.rc-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 0.32rem; max-height: 3.5rem; overflow: hidden; }
.rc-pills li {
  font-size: 0.73rem; line-height: 1.3;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  white-space: nowrap;
}

/* Flujo continuo (11/11/2026): «Terminar» siempre a mano, arriba a la derecha, discreto */
.rc-top-der { display: flex; align-items: center; gap: 0.6rem; flex: none; }
/* 11/11/2026 (19:20): Alejandro: «que el botón de terminar se vea bien» → dorado, con icono, más grande */
.rc-terminar {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 42px;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid #b8932b;
  background: var(--oro-marca);
  color: #1a1407;
  font: 600 0.9rem/1 var(--font-body);
  box-shadow: 0 6px 16px -10px rgba(120, 90, 20, 0.8);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.2s ease;
}
.rc-terminar svg { width: 16px; height: 16px; flex: none; }
.rc-terminar:hover { background: #e2c25a; transform: translateY(-1px); }
.rc-terminar:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-terminar:disabled { opacity: 0.6; cursor: default; }
.rc-terminar .rc-girando { width: 12px; height: 12px; margin-right: 0.35rem; vertical-align: -1px; }
/* 12/11/2026: si el siguiente vehículo tarda, «Terminar» se resalta (un halo dorado que late) para que sepa que puede acabar */
.rc-terminar.is-destacado { animation: rc-latido 1.6s ease-in-out infinite; }
@keyframes rc-latido {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.55), 0 6px 16px -10px rgba(120, 90, 20, 0.8); }
  50% { box-shadow: 0 0 0 9px rgba(212, 175, 55, 0), 0 6px 16px -10px rgba(120, 90, 20, 0.8); }
}
.rc-sig .rc-sig-term { max-width: 26rem; font-size: 0.88rem; font-weight: 400; color: var(--text); text-align: center; }
/* «Buscando el siguiente vehículo…»: en el hueco de la tarjeta, con el estilo de la espera (discreto) */
.rc-sig {
  position: absolute; inset: 0 0 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: 18px;
  text-align: center;
  animation: rcAparecer 0.3s ease both;
}
.rc-sig[hidden] { display: none; }
.rc-sig p { margin: 0; font-size: 0.92rem; font-weight: 500; color: var(--text-muted); }
.rc-sig .rc-cargador { width: 28px; height: 28px; }
.rc-sig .rc-sig-btn { flex: none; min-width: 160px; }
@keyframes rcAparecer { from { opacity: 0; } to { opacity: 1; } }
.rc-btn:disabled { opacity: 0.45; cursor: default; }
.rc-mazo-vista .rc-accion-error { max-width: none; margin-top: 0.5rem; padding: 0.5rem 0.8rem; font-size: 0.82rem; }

/* Botones de votar y «deshacer» */
.rc-controles { flex: none; display: flex; align-items: center; justify-content: center; gap: 1.1rem; }
.rc-btn {
  width: 64px; height: 64px; flex: none;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.rc-btn svg { width: 28px; height: 28px; }
.rc-btn-no { background: var(--card); border: 1.5px solid rgba(30, 27, 22, 0.3); color: var(--text); box-shadow: 0 10px 22px -16px rgba(60, 48, 20, 0.6); }
.rc-btn-si { background: var(--oro-marca); border: 1px solid #b8932b; color: #1a1407; box-shadow: 0 12px 24px -14px rgba(138, 106, 18, 0.75); }
.rc-btn-si svg { width: 30px; height: 30px; }
.rc-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.rc-btn:active { transform: scale(0.92); }
.rc-btn.is-pulso { animation: rcPulso 0.32s ease; }
@keyframes rcPulso { 40% { transform: scale(0.86); } }
@media (hover: hover) {
  .rc-btn-no:hover { border-color: var(--text); }
  .rc-btn-si:hover { background: #e2c25a; }
}
.rc-deshacer {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem;
  min-width: 96px; min-height: 44px;
  padding: 0 0.4rem;
  background: none; border: 0; cursor: pointer;
  font: 500 0.84rem/1 var(--font-body);
  color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border);
  -webkit-tap-highlight-color: transparent;
}
.rc-deshacer svg { width: 16px; height: 16px; }
.rc-deshacer:hover { color: var(--text); }
.rc-deshacer:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
.rc-deshacer.is-oculto { visibility: hidden; }

.rc-nota { flex: none; margin-top: 0.45rem; text-align: center; font-size: 0.76rem; line-height: 1.4; color: var(--text-dim); }
.rc-teclas { display: none; flex: none; text-align: center; font-size: 0.74rem; color: var(--text-dim); margin-top: 0.2rem; }
@media (hover: hover) and (pointer: fine) { .rc-teclas { display: block; } }

/* Motivos tras un «no» (opcionales, no bloquean: desaparecen con la siguiente acción) */
.rc-motivos-sitio { position: absolute; left: 0.4rem; right: 0.4rem; bottom: 36px; z-index: 50; pointer-events: none; }
.rc-motivos {
  position: relative;
  pointer-events: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.7rem 0.75rem 0.75rem;
  box-shadow: 0 16px 36px -18px rgba(30, 27, 22, 0.55);
  text-align: left;
  animation: rcSubir 0.28s var(--ease) both;
}
@keyframes rcSubir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rc-motivos-p { font-size: 0.85rem; color: var(--text); font-weight: 500; margin: 0 2rem 0.5rem 0.1rem; }
.rc-motivos-p span { font-weight: 400; color: var(--text-dim); font-size: 0.78rem; margin-left: 0.2rem; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 0.38rem; }
.rc-chip {
  min-height: 36px;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: 500 0.82rem/1 var(--font-body);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.rc-chip:hover { border-color: var(--text-muted); }
.rc-chip.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.rc-chip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-motivos-cerrar {
  position: absolute; top: 0.3rem; right: 0.3rem;
  width: 34px; height: 34px;
  border: 0; background: none; border-radius: 50%;
  color: var(--text-dim); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.rc-motivos-cerrar svg { width: 16px; height: 16px; }
.rc-motivos-cerrar:hover { color: var(--text); background: var(--bg-2); }
.rc-motivos.is-en-linea { box-shadow: none; animation: none; margin-top: 1rem; }

/* Pantallas bajas (iPhone SE y similares): más compacto para que tarjeta y botones quepan sin desplazar */
@media (max-height: 720px) {
  .rc-mazo-vista { min-height: 500px; padding-top: 0.4rem; }
  .rc-top { padding-bottom: 0.4rem; }
  .rc-cuenta { font-size: 1.08rem; }
  .rc-info { padding: 0.65rem 0.9rem 0.75rem; gap: 0.38rem; }
  .rc-titulo { font-size: 1.28rem; }
  .rc-precio-val { font-size: 1.42rem; }
  .rc-info .rc-ahorro { padding-top: 0.18rem; padding-bottom: 0.18rem; font-size: 0.76rem; }
  .rc-specs { font-size: 0.79rem; gap: 0.2rem 0.7rem; }
  .rc-pills { max-height: 1.65rem; }
  .rc-info .rc-agente { padding: 0.24rem 0.5rem 0.28rem; font-size: 0.74rem; gap: 0.14rem; }
  .rc-carta.con-agente .rc-pills { display: none; }
  .rc-btn { width: 58px; height: 58px; }
  .rc-mazo { margin-bottom: 26px; }
  .rc-nota { margin-top: 0.3rem; font-size: 0.72rem; }
}
@media (max-height: 600px) {
  .rc-nota { display: none; }
  .rc-carta .rc-pills { display: none; }   /* muy bajas: lo primero que sobra para que quepan la foto, el precio y el ahorro */
}

/* Ordenador: la tarjeta algo más grande y centrada */
@media (min-width: 720px) {
  .rc-mazo-vista { max-width: 480px; padding-top: 1.1rem; padding-bottom: 1.2rem; }
  .rc-titulo { font-size: 1.6rem; }
  .rc-ahorro-largo { display: inline; }
  .rc-ahorro-corto { display: none; }
  .rc-btn { width: 68px; height: 68px; }
  .rc-controles { gap: 1.4rem; }
}

/* Miniatura (foto pequeña con las iniciales debajo): la usan las filas de «¿De cuáles quieres el presupuesto?» */
.rc-mini-foto {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a20 0%, #0f0f13 100%);
  display: flex; align-items: center; justify-content: center;
}
.rc-mini-ini { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; color: var(--oro-marca); text-align: center; padding: 0 0.3rem; }
.rc-mini-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.rc-mini-foto img.is-rota { display: none; }

/* ------------------------- Pedir el PDF de los coches que le gustan (varios, 11/11/2026) ------------------------- */
.rc-elegir { width: 100%; max-width: 520px; margin-top: 1.6rem; padding: 0; text-align: left; }   /* sin el padding general de <section> */
.rc-elegir .rc-elegir-t { font-size: 1.3rem; line-height: 1.2; color: var(--text); margin: 0 0 0.35rem; outline: none; }
.reco .rc-elegir-p { font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); margin: 0 0 0.85rem; }
.rc-opciones { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; margin: 0; padding: 0; }
/* Cada fila: foto, nombre, precio y debajo el botón «Pedir el PDF» o el estado de su presupuesto */
.rc-opcion {
  width: 100%; min-height: 68px;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  text-align: left;
  box-shadow: 0 10px 22px -20px rgba(60, 48, 20, 0.55);
  transition: border-color 0.2s ease;
  outline: none;
}
.rc-opcion.is-pedido { border-color: var(--gold-soft); }
.rc-opcion .rc-mini-foto { width: 76px; flex: none; border-radius: 8px; align-self: flex-start; }
.rc-opcion-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.12rem; }
.rc-opcion-txt > b {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.92rem; line-height: 1.28; font-weight: 600; color: var(--text);
}
.rc-opcion-precio { font-size: 0.78rem; line-height: 1.35; color: var(--text-dim); }
.rc-opcion-precio strong { font-size: 0.86rem; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-pedir {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 40px; margin-top: 0.4rem; padding: 0.35rem 0.95rem 0.35rem 0.8rem;
  border: 1px solid #b8932b; border-radius: 999px;
  background: var(--oro-marca); color: #1a1407;
  font: 600 0.84rem/1.1 var(--font-body);
  cursor: pointer;
  transition: transform 0.15s var(--ease), opacity 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.rc-pedir svg { width: 16px; height: 16px; flex: none; }
.rc-pedir .rc-girando { width: 14px; height: 14px; }
.rc-pedir:active { transform: scale(0.97); }
.rc-pedir:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-pedir:disabled { cursor: default; opacity: 0.5; }
.rc-pedir:disabled[aria-busy="true"] { opacity: 1; }
@media (hover: hover) {
  .rc-pedir:not(:disabled):hover { box-shadow: 0 8px 18px -10px rgba(60, 48, 20, 0.7); }
}
.rc-opcion-estado {
  display: flex; align-items: flex-start; gap: 0.35rem;
  margin-top: 0.35rem;
  font-size: 0.8rem; line-height: 1.35; font-weight: 500; color: var(--text-muted);
  overflow-wrap: anywhere;
}
.rc-opcion-estado svg { width: 15px; height: 15px; flex: none; margin-top: 0.05rem; color: var(--gold); }
.rc-opcion-estado.is-enviado { color: var(--text); }
.rc-opcion-estado b { font-weight: 600; }
.reco .rc-elegir-nota { margin: 0.7rem 0 0; font-size: 0.8rem; line-height: 1.45; color: var(--text-dim); }
.rc-elegir .rc-estado { margin-bottom: 0.7rem; }   /* el formulario del correo, encima de la lista */
.rc-elegir-error {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(181, 83, 60, 0.35);
  background: rgba(181, 83, 60, 0.08);
  font-size: 0.88rem; line-height: 1.45;
}
.reco .rc-elegir-error { color: var(--text); }
.rc-elegir-error[hidden] { display: none; }

/* Formulario del correo (presupuestos que esperan el correo del cliente) */
.rc-estado {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  text-align: left;
}
.rc-estado-ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--oro-marca); color: #1a1407;
}
.rc-estado-ico svg { width: 18px; height: 18px; }
.rc-estado-cuerpo { flex: 1; min-width: 0; }
.reco .rc-estado-p { display: block; margin: 0.12rem 0 0; font-size: 0.93rem; line-height: 1.42; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.rc-estado-p b { font-weight: 600; }
.rc-correo-txt { overflow-wrap: anywhere; }
.reco .rc-estado-sub { margin: 0.28rem 0 0; font-size: 0.82rem; line-height: 1.45; color: var(--text-dim); }
.rc-correo-fila { display: flex; gap: 0.4rem; margin-top: 0.7rem; }
.rc-correo-fila input {
  flex: 1; min-width: 0; min-height: 44px;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg); color: var(--text);
  font: 400 16px/1.2 var(--font-body);   /* 16 px: el iPhone no amplía la página al escribir */
}
.rc-correo-fila input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.rc-correo-fila input[aria-invalid="true"] { border-color: #b3261e; }
.rc-correo-fila .btn { flex: none; min-height: 44px; padding: 0.5rem 1.05rem; font-size: 0.88rem; }
.reco .rc-correo-error { margin: 0.45rem 0 0; font-size: 0.8rem; line-height: 1.4; color: #b3261e; }
.rc-correo-error[hidden] { display: none; }

.rc-fin { width: 100%; max-width: 520px; margin-top: 1.1rem; text-align: left; }
.rc-fin[hidden] { display: none; }
.rc-fin label { display: block; font-size: 0.9rem; font-weight: 500; color: var(--text); margin-bottom: 0.45rem; }
.rc-fin label span { font-weight: 400; color: var(--text-dim); }
.rc-fin textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 0.8rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font: 1rem/1.5 var(--font-body);   /* 16 px: sin zoom en el iPhone */
}
.rc-fin textarea:focus { outline: none; border-color: var(--gold); }
.rc-fin-pie { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.6rem; flex-wrap: wrap; }
.rc-fin-pie span { font-size: 0.78rem; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.rc-fin-pie .btn { flex: 1 1 200px; }
.rc-accion-error {
  width: 100%; max-width: 520px;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(181, 83, 60, 0.35);
  background: rgba(181, 83, 60, 0.08);
  color: var(--text);
  font-size: 0.9rem;
  text-align: left;
}
.rc-accion-error[hidden] { display: none; }
.rc-girando {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block;
  animation: rcGiro 0.8s linear infinite;
}

/* ------------------------- Final ------------------------- */
.rc-final .rc-icono { width: auto; height: auto; border: 0; background: none; box-shadow: none; margin-bottom: 0.4rem; }
.rc-final-icono { margin-bottom: 0.6rem; background: var(--oro-marca); color: #1a1407; border: 1px solid #b8932b; box-shadow: none; }
.rc-final .rc-elegir { max-width: 480px; }
.rc-final .rc-nota { margin-top: 1.3rem; max-width: 420px; }
.rc-final-agotado { display: block; margin-bottom: 0.35rem; color: var(--text); font-weight: 500; }
.rc-final .rc-fin { max-width: 480px; margin-top: 1.4rem; }
.rc-final .rc-fin-pie .btn { flex: 0 1 auto; }
.rc-fin-gracias { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.2rem; font-size: 0.9rem; color: var(--text-muted); }
.rc-fin-gracias svg { width: 16px; height: 16px; color: var(--gold); }

/* ------------------------- Cambiar los filtros (búsqueda sin ningún vehículo) ------------------------- */
.rc-filtros-vista { justify-content: flex-start; padding-top: 1.8rem; }
.rc-filtros { width: 100%; max-width: 520px; margin-top: 1.3rem; text-align: left; }
.rc-filtros-grupo { border: 0; margin: 0; padding: 0; min-width: 0; }
.reco .rc-filtros-t {
  display: block; padding: 0; margin: 0 0 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--text-dim);
}
.rc-filtros-rejilla { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 480px) { .rc-filtros-rejilla { grid-template-columns: 1fr 1fr; } }
.rc-filtro { min-width: 0; }
.rc-filtro label { display: block; font-size: 0.86rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.rc-filtro select {
  width: 100%; min-height: 48px;
  padding: 0.6rem 2.4rem 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: 10px;
  background-color: var(--card); color: var(--text);
  font: 400 16px/1.2 var(--font-body);   /* 16 px: el iPhone no amplía la página al elegir */
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a6a12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.85rem center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rc-filtro select:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.rc-filtro select:disabled { opacity: 0.6; cursor: default; }
/* Los que puso el cliente (los que han podido fallar), destacados en dorado; el que se cambia, más marcado */
.rc-filtros-grupo .rc-filtro select { border-color: var(--gold-soft); background-color: #fbf4e2; }
.rc-filtro.is-cambiado select { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.rc-filtros-otros { margin-top: 1rem; border-top: 1px solid var(--border-2); }
.rc-filtros-otros summary {
  display: flex; align-items: center; gap: 0.4rem;
  min-height: 44px; cursor: pointer; list-style: none;
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  -webkit-tap-highlight-color: transparent;
}
.rc-filtros-otros summary::-webkit-details-marker { display: none; }
.rc-filtros-otros summary svg { width: 16px; height: 16px; flex: none; color: var(--gold); transition: transform 0.2s ease; }
.rc-filtros-otros[open] summary svg { transform: rotate(90deg); }
.rc-filtros-otros summary:hover { color: var(--text); }
.rc-filtros-otros summary:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 6px; }
.rc-filtros-otros .rc-filtros-rejilla { padding: 0.2rem 0 0.3rem; }
.rc-filtros .rc-acciones { margin-top: 1.4rem; }
.rc-filtros-ayuda:not([hidden]) + .rc-acciones { margin-top: 0.6rem; }
.rc-filtros .btn:disabled { opacity: 0.45; cursor: default; transform: none; box-shadow: none; }
.reco .rc-filtros-ayuda { margin: 1.3rem 0 0; text-align: center; font-size: 0.8rem; line-height: 1.4; color: var(--text-dim); }
.rc-filtros-ayuda[hidden] { display: none; }
.rc-filtros .rc-accion-error { max-width: none; }

/* ------------------------- Menos movimiento ------------------------- */
@media (prefers-reduced-motion: reduce) {
  .rc-terminar.is-destacado { animation: none; box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.7); }
  .rc-filtro select, .rc-filtros-otros summary svg { transition: none; }
  .rc-carta { transition: opacity 0.2s ease; }
  .rc-carta.is-volviendo { transition: none; }
  .rc-mazo.is-entrando, .rc-motivos, .rc-btn.is-pulso { animation: none; }
  .rc-opcion, .rc-pedir { transition: none; }
  .rc-pedir:active { transform: none; }
  .rc-radar-giro, .rc-radar-pulso, .rc-punto, .rc-cargador, .rc-girando { animation: none; }
  .rc-radar-pulso { opacity: 0.25; }
  .rc-paso { transition: none; }
  .rc-foto.is-tope-izq .rc-img.is-activa, .rc-foto.is-tope-der .rc-img.is-activa { animation: none; }
}

/* Retoque del 10/11/2026 (23:58), tras ver la página con anuncios reales: la foto es lo principal y quedaba demasiado baja
   (recortaba el coche); la etiqueta del precio se partía en dos líneas al lado de la cifra. Ahora la foto tiene un alto
   mínimo generoso (si la ventana es baja, la página se desplaza un poco) y la etiqueta va debajo del precio, en una línea. */
.rc-mazo-vista { min-height: 770px; }   /* para que quepan la foto alta y toda la ficha sin recortar nada */
.rc-foto { min-height: clamp(200px, 56vw, 290px); }
.rc-precio { flex-direction: column; align-items: flex-start; gap: 0.12rem; }
.rc-precio-lbl { max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-height: 720px) { .rc-mazo-vista { min-height: 770px; } }
/* Con la nota del agente buscador la ficha es más alta: se le da ese sitio a la tarjeta (la página se desplaza un poco más) */
.rc-mazo-vista:has(.rc-carta.con-agente) { min-height: 900px; }

/* 11/11/2026 (19:20): en el portátil (ventana de ~700 px de alto) la tarjeta de 770 px dejaba los botones de «me gusta /
   no me gusta» cortados abajo. En ordenador con ventana baja, todo cabe en la pantalla: foto algo más baja y sin las notas. */
@media (min-width: 720px) and (max-height: 900px) {
  .rc-mazo-vista { min-height: 520px; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .rc-mazo-vista:has(.rc-carta.con-agente) { min-height: 660px; }
  .rc-foto { min-height: 170px; }
  .rc-teclas { display: none !important; }
  .rc-nota { margin-top: 0.3rem; font-size: 0.72rem; }
  .rc-carta .rc-pills { max-height: 1.65rem; }
}
@media (min-width: 720px) and (max-height: 760px) {
  .rc-nota { display: none; }
  .rc-btn { width: 60px; height: 60px; }
}

/* ------------------------- Oportunidades (13/11/2026) ------------------------- */
/* Botón de debajo de las tarjetas: «Pedir información de los que me gustan (N)» */
.rc-pide {
  flex: none; align-self: center;
  max-width: 100%; text-align: left;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 44px; margin-top: 0.6rem; padding: 0.45rem 1.1rem;
  border: 1px solid #b8932b; border-radius: 999px;
  background: var(--card); color: var(--text);
  font: 600 0.88rem/1.15 var(--font-body);
  cursor: pointer;
  box-shadow: 0 10px 22px -18px rgba(60, 48, 20, 0.7);
  transition: transform 0.15s var(--ease), background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  animation: rcAparecer 0.3s ease both;
}
.rc-pide[hidden] { display: none; }
.rc-pide svg { width: 17px; height: 17px; flex: none; color: var(--gold); }
.rc-pide-n { font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }
.rc-pide:active { transform: scale(0.97); }
.rc-pide:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
@media (hover: hover) { .rc-pide:hover { background: #fbf4e2; } }

/* Vista «Pide información»: lista con casillas y los datos del cliente */
.rc-pedir-vista { justify-content: flex-start; padding-top: 1.8rem; }
.rc-pedir-form { margin-top: 1.2rem; }
.rc-opcion-check { position: relative; padding: 0; }
.rc-opcion-check .rc-opcion-lab {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.55rem 2.6rem 0.55rem 0.55rem; cursor: pointer;
}
.rc-opcion-check.is-pedido .rc-opcion-lab { cursor: default; padding-right: 0.7rem; }
.rc-check {
  position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; margin: 0; accent-color: #b8932b; cursor: pointer;
}
.rc-opcion-check:has(.rc-check:checked) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.rc-opcion-check:has(.rc-check:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-pedir-datos { border: 0; margin: 1.1rem 0 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.rc-campo[hidden] { display: none; }
.rc-campo label, .rc-campo-t { display: block; font-size: 0.86rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.rc-campo input {
  width: 100%; min-height: 48px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--text);
  font: 400 16px/1.2 var(--font-body);   /* 16 px: el iPhone no amplía la página al escribir */
}
.rc-campo input:focus { outline: 2px solid var(--text); outline-offset: 1px; }
.rc-campo input[aria-invalid="true"] { border-color: #b3261e; }
.rc-canal { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.rc-canal-op { position: relative; margin: 0 !important; cursor: pointer; }
.rc-canal-op input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rc-canal-op span {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.5rem 0.6rem;
  border: 1px solid var(--border); border-radius: 10px; background: var(--card);
  font-size: 0.9rem; font-weight: 500; color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rc-canal-op span svg { width: 17px; height: 17px; flex: none; color: var(--gold); }
.rc-canal-op input:checked + span { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fbf4e2; }
.rc-canal-op input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-consent { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.84rem; line-height: 1.45; color: var(--text-muted); cursor: pointer; }
.rc-consent input { width: 20px; height: 20px; flex: none; margin: 0.05rem 0 0; accent-color: #b8932b; }
.rc-consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rc-pedir-form .rc-acciones { margin-top: 1.2rem; }
.rc-pedir-form .rc-opciones + .rc-elegir-p, .rc-pedir-form .rc-opciones + .rc-pedir-datos { margin-top: 1rem; }
.rc-campo select {
  width: 100%; min-height: 48px;
  padding: 0.6rem 2.4rem 0.6rem 0.85rem;
  border: 1px solid var(--border); border-radius: 10px;
  background-color: var(--card); color: var(--text);
  font: 400 16px/1.2 var(--font-body);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a6a12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.85rem center;
}
.rc-campo select:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.rc-campo select[aria-invalid="true"] { border-color: #b3261e; }
.reco .rc-campo-ayuda { margin: 0.35rem 0 0; font-size: 0.8rem; line-height: 1.4; color: var(--text-dim); }
.rc-pedir-form .rc-opciones + .rc-campo-prov { margin-top: 1rem; }
.rc-campo-prov + .rc-pedir-datos { margin-top: 0.85rem; }

/* La mejora frente al de España (km o años), debajo del ahorro, del mismo tamaño (13/11/2026) */
.rc-info .rc-mejora {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: -0.2rem;
  padding: 0.26rem 0.6rem 0.26rem 0.5rem;
  border-radius: 8px;
  background: rgba(46, 125, 80, 0.10);
  font-size: 0.8rem; line-height: 1.3; color: var(--text);
}
.rc-mejora svg { width: 15px; height: 15px; flex: none; color: #2e7d50; }
.rc-mejora b { font-weight: 600; white-space: nowrap; }
@media (max-width: 380px) { .rc-info .rc-mejora { font-size: 0.76rem; padding-top: 0.18rem; padding-bottom: 0.18rem; } }

/* Flechas para pasar las fotos (13/11/2026): discretas a los lados; en la primera tarjeta, un «amago» y una frase */
.rc-flecha {
  position: absolute; top: 50%; z-index: 4;
  width: 34px; height: 34px; margin-top: -17px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.38); color: #fff;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.rc-flecha svg { width: 18px; height: 18px; }
.rc-flecha-izq { left: 8px; }
.rc-flecha-der { right: 8px; }
.rc-carta[data-foto="0"] .rc-flecha-izq, .rc-carta[data-ultima="1"] .rc-flecha-der { opacity: 0; }
.rc-carta.con-pista .rc-flecha-der { animation: rcAmago 1.1s ease-in-out 0.4s 4; background: rgba(10, 10, 12, 0.6); }
@keyframes rcAmago { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(7px); } 70% { transform: translateX(-2px); } }
.rc-pista-txt {
  position: absolute; left: 50%; bottom: 14px; z-index: 4; transform: translateX(-50%);
  padding: 0.38rem 0.75rem; border-radius: 999px;
  background: rgba(10, 10, 12, 0.66); color: #fff;
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.rc-carta.con-pista .rc-pista-txt { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rc-carta.con-pista .rc-flecha-der { animation: none; } }

/* Móviles (13/11/2026, 2.ª vuelta; Alejandro: «queda fatal una línea abajo negra […] hay que priorizar que la imagen de los
   vehículos se vea bien»). El mazo vuelve a ocupar TODA la pantalla (sin franja oscura debajo). En Safari del iPhone, cuya
   barra flotante tapa los ~85 px de abajo, ese hueco va DENTRO del mazo, con el mismo fondo crema (clase `rc-ios-safari`,
   la pone recomendaciones.js), y los botones de votar quedan por encima de la barra. Para que la foto sea grande: fuera la
   nota de abajo y los extras del equipamiento en el móvil, botones redondos algo más pequeños. */
@media (max-width: 719px) and (pointer: coarse) {
  /* Cabe en la pantalla (la regla del 10/11 de 770 px de alto mínimo hacía bajar la página y los botones quedaban debajo de la
     barra del navegador); la foto se queda con todo el sitio que sobra (flex) */
  .rc-mazo-vista, .rc-mazo-vista:has(.rc-carta.con-agente) { min-height: 0; }
  .rc-mazo-vista .rc-nota { display: none; }
  .rc-carta .rc-pills { display: none; }
  .rc-foto { min-height: 170px; }
  .rc-titulo { font-size: 1.28rem; }
  .rc-btn { width: 56px; height: 56px; }
  .rc-btn svg { width: 25px; height: 25px; }
  .rc-pide { min-height: 40px; margin-top: 0.45rem; padding-top: 0.35rem; padding-bottom: 0.35rem; }
}
.rc-ios-safari .rc-mazo-vista { padding-bottom: 92px; }

/* Oportunidades: filtro rápido tras 5 vehículos (13/11/2026) — marcas en «chips» y el presupuesto con el teclado de números */
.rc-filtro-opo { justify-content: flex-start; padding-top: 1.8rem; }
.rc-filtro-form { margin-top: 1.1rem; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.1rem; }
.rc-chip {
  min-height: 42px; padding: 0.4rem 0.95rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--text);
  font: 500 0.92rem/1.1 var(--font-body); cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.rc-chip[aria-pressed="true"] { border-color: var(--gold); background: #fbf4e2; box-shadow: inset 0 0 0 1px var(--gold); }
.rc-chip:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.rc-pres-fila { position: relative; }
.rc-pres-fila input { padding-right: 2.2rem !important; font-variant-numeric: tabular-nums; }
.rc-pres-fila span { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--text-dim); pointer-events: none; }
