/* ===================== Asistente de pre-reserva (Rent a Car Low Cost) =====================
   Se integra en la plantilla de la web (fuentes, colores y botones .comment_submit2 de la propia web). */
#reserva-rentacar { width: 100%; text-align: left; font-size: 14px; }
#reserva-rentacar h1.rc-titulo { text-align: center; }
#reserva-rentacar h3 { margin: 22px 0 8px; font-size: 17px; }
.rc-pasos { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 20px; }
.rc-pasos li { flex: 1; padding: 10px 8px; background: #f1f1f1; color: #777; border-radius: 4px; font-size: 13px; }
.rc-pasos li b { display: inline-block; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; background: #ccc; color: #fff; margin-right: 6px; }
.rc-pasos li.activo { background: #e8f3fb; color: #222; font-weight: bold; }
.rc-pasos li.activo b { background: #1d8fd6; }
.rc-panel label { display: block; margin: 8px 0 2px; font-weight: bold; }
.rc-panel input[type=text], .rc-panel input:not([type]), .rc-panel input[type=email], .rc-panel input[type=tel], .rc-panel input[type=date], .rc-panel select, .rc-panel textarea {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px; margin-top: 3px; border: 1px solid #ccc; border-radius: 3px; font: inherit; height: auto;
}
.rc-fila { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }
.rc-fechas fieldset { border: 1px solid #ddd; border-radius: 4px; padding: 6px 12px 12px; margin: 0 0 8px; }
.rc-fechas legend { font-weight: bold; padding: 0 6px; }
.rc-dias { font-weight: bold; font-size: 15px; margin: 8px 0; }
.rc-categorias { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.rc-categoria { border: 2px solid #eee; border-radius: 6px; padding: 8px; text-align: center; cursor: pointer; font-weight: normal !important; }
.rc-categoria img { display: block; max-width: 100%; height: 80px; object-fit: contain; margin: 4px auto; }
.rc-categoria:has(input:checked) { border-color: #1d8fd6; background: #f3f9fd; }
.rc-vehiculos { margin-top: 14px; }
.rc-vehiculo { display: flex !important; gap: 12px; align-items: center; border: 1px solid #ddd; border-radius: 6px; padding: 10px; margin: 8px 0 !important; cursor: pointer; font-weight: normal !important; }
.rc-vehiculo img { width: 140px; max-height: 90px; object-fit: contain; }
.rc-vehiculo:has(input:checked) { border-color: #1d8fd6; background: #f3f9fd; }
.rc-extras { columns: 2 260px; }
.rc-extra { font-weight: normal !important; break-inside: avoid; }
.rc-extra input { margin-right: 6px; }
.rc-precio-extra { color: #777; }
.rc-subpanel { background: #f8f8f8; border-radius: 6px; padding: 8px 14px 12px; margin-top: 10px; }
.rc-nota { color: #777; font-size: 13px; }
.rc-error { background: #fdecea; color: #b3261e; padding: 10px 12px; border-radius: 4px; margin: 14px 0; }
.rc-ok { background: #e8f5e9; color: #1b6e2a; padding: 10px 12px; border-radius: 4px; }
.rc-grande { font-size: 17px; }
.rc-aviso { background: #fff7e0; padding: 10px 12px; border-radius: 4px; }
.rc-botones { display: flex; justify-content: space-between; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.rc-botones button { cursor: pointer; border: 0; }
.rc-botones button:disabled { opacity: .6; cursor: wait; }
.rc-tabla { width: 100%; border-collapse: collapse; margin: 6px 0; }
.rc-tabla td { padding: 5px 8px; border-bottom: 1px solid #eee; }
.rc-tabla td:last-child { text-align: right; font-weight: bold; }
.rc-foto { float: right; max-width: 200px; margin: 0 0 10px 14px; }
.rc-total { font-size: 20px; font-weight: bold; color: #1b6e2a; text-align: right; clear: both; }
.rc-codigo { align-items: end; }
.rc-codigo button { height: 38px; margin-top: 8px; }
.rc-pago { display: flex; gap: 12px; align-items: center; background: #f8f8f8; padding: 10px; border-radius: 6px; }
.rc-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#paypal-button-container { max-width: 420px; margin: 14px 0; }
@media (max-width: 600px) {
  .rc-pasos li { font-size: 11px; padding: 8px 4px; }
  .rc-vehiculo img { width: 90px; }
  .rc-foto { float: none; display: block; margin: 0 auto 10px; }
}

/* ---------- Coches en venta ---------- */
.rc-venta { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin: 10px 0 30px; }
.rc-coche { border: 1px solid #e3e3e3; border-radius: 6px; padding: 12px; background: #fff; }
.rc-coche > a img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.rc-miniaturas { display: flex; gap: 6px; margin-top: 6px; }
.rc-miniaturas img { width: 70px; height: 50px; object-fit: cover; border-radius: 3px; }
.rc-coche h3 { margin: 10px 0 4px; font-size: 16px; }
.rc-pvp { font-size: 20px; font-weight: bold; color: #1b6e2a; margin: 0 0 8px; }
.rc-coche table { width: 100%; font-size: 13px; border-collapse: collapse; }
.rc-coche td { padding: 3px 4px; border-bottom: 1px solid #f0f0f0; }
.rc-coche td:first-child { color: #777; }
.rc-panel [hidden], .rc-fila[hidden] { display: none !important; }
