@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Condensed:wght@500;600;700&display=swap');

/* ==========================================================================
   Lesiuk Hnos. Consignatarios — hoja de estilos
   Paleta y formas tomadas del logotipo: celeste, azul marino y ámbar.
   ========================================================================== */

:root {
  --celeste: #1fa2de;
  --celeste-osc: #1687bd;
  --marino: #1e1b5e;
  --marino-osc: #15133f;
  --ambar: #f2b233;
  --ambar-osc: #dc9a12;
  --cielo: #eaf5fb;
  --blanco: #ffffff;
  --tinta: #191a3a;
  --gris: #565b75;
  --linea: #d3e2ec;

  --f-titulo: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --f-texto: "Barlow", Helvetica, Arial, sans-serif;

  --radio: 6px;
  --ancho: 1200px;
}

/* ------------------------------ Base -------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--f-texto);
  font-size: 17px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--blanco);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-titulo);
  color: var(--marino);
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  margin-bottom: 24px;
}

:focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-inner {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 56px 20px;
}

/* ------------------------------ Encabezado -------------------------------- */

header {
  background: var(--blanco);
  border-bottom: 4px solid var(--marino);
}

.nav {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.logo img { width: 210px; }

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.menu a {
  display: block;
  padding: 8px 14px;
  font-family: var(--f-titulo);
  font-size: 20px;
  font-weight: 500;
  color: var(--marino);
  border-radius: var(--radio);
}

.menu a:hover { background: var(--cielo); }

/* El último ítem (Registrarse) es la acción principal del menú */
.menu li:last-child a {
  background: var(--marino);
  color: var(--blanco);
  margin-left: 8px;
}

.menu li:last-child a:hover { background: var(--marino-osc); }

/* ------------------------------ Botones ----------------------------------- */

.btn-catalogo {
  display: inline-block;
  font-family: var(--f-titulo);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border-radius: var(--radio);
  border: 2px solid var(--marino);
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* Secundario: contorno */
.btn-catalogo {
  background: transparent;
  color: var(--marino);
}

.btn-catalogo:hover { background: var(--marino); color: var(--blanco); }

/* Principal: ámbar */
.btn-volver {
  background: var(--ambar);
  color: var(--marino);
}

.btn-volver:hover { background: var(--ambar-osc); }

/* Navegación: marino */
.btn-catalogo {
  background: var(--marino);
  color: var(--blanco);
}

.btn-catalogo:hover { background: var(--marino-osc); }

.btn.btn-sm,
.btn-volver.btn-sm,
.btn-catalogo.btn-sm {
  font-size: 17px;
  padding: 8px 14px;
}

.btn-link {
  font-weight: 600;
  color: var(--marino);
  text-decoration: underline;
  text-decoration-color: var(--celeste);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  position: relative;
  display: inline-flex;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.btn-link:hover { text-decoration-color: var(--ambar); }

/* ------------------------------ Hero (inicio) ----------------------------- */

.home-hero {
  background: var(--celeste);
  color: var(--marino);
}

.home-hero-inner {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 64px 20px 72px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 56px;
}

.home-hero-content h1 {
  font-size: clamp(46px, 7.4vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.home-hero-content p {
  margin: 0 0 6px;
  max-width: 34em;
}

.home-hero-fecha {
  font-family: var(--f-titulo);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--blanco);
}

.home-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 34px;
}

/* Afiche con la escuadra del logotipo (la "L") */
.home-hero-image {
  position: relative;
  margin: 0 0 18px 18px;
}

.home-hero-image::before {
  content: "";
  position: absolute;
  inset: 18px 18px -18px -18px;
  border-left: 10px solid var(--marino);
  border-bottom: 10px solid var(--marino);
}

.home-hero-image img {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: var(--blanco);
}

/* ------------------------------ Cuenta regresiva -------------------------- */

.countdown h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timer-unidad {
  min-width: 82px;
  padding: 10px 8px 8px;
  background: var(--marino);
  color: var(--blanco);
  border-radius: var(--radio);
  text-align: center;
}

.timer-unidad b {
  display: block;
  font-family: var(--f-titulo);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-unidad small {
  font-size: 14px;
  color: #cfe9f7;
}

.timer-estado {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-weight: 600;
}

.timer-estado:empty { display: none; }

/* ------------------------------ Franja de catálogo ------------------------ */

.catalog-hero {
  background: var(--marino);
  border-bottom: 6px solid var(--celeste);
}

.catalog-hero-inner {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 26px 20px;
}

.catalog-hero-content h1,
.catalog-hero-content h2,
.catalog-hero-content h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--blanco);
  margin: 0;
}

.catalog-hero-content p {
  margin: 4px 0 0;
  color: #cfe9f7;
}

.catalog-hero-content p:empty { display: none; }

/* ------------------------------ Barra de catálogo ------------------------- */

.catalogo-lotes-cards > .section-inner,
.lote-detalle-section > .section-inner { padding-top: 28px; }

.catalogo-barra {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filtros .btn.btn-sm {
  border-color: var(--linea);
  background: var(--blanco);
  font-weight: 500;
}

.filtros .btn.btn-sm:hover,
.filtros .btn.btn-sm.activo {
  background: var(--marino);
  border-color: var(--marino);
  color: var(--blanco);
}

.vista-selector {
  display: flex;
  flex-shrink: 0;
  border: 2px solid var(--marino);
  border-radius: var(--radio);
  overflow: hidden;
}

.vista-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  background: var(--blanco);
}

.vista-btn:hover { background: var(--cielo); }
.vista-btn.active { background: var(--ambar); }
.vista-icon { width: 20px; height: 20px; }

/* ------------------------------ Tarjetas de remate / lote ----------------- */

.remates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.remate-card {
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  border: 1px solid var(--linea);
  border-bottom: 4px solid var(--celeste);
  border-radius: var(--radio);
  overflow: hidden;
}

.remate-card:hover { border-bottom-color: var(--ambar); }

.remate-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cielo);
}

.remate-media img,
.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-wrapper { width: 100%; height: 100%; }

.video-wrapper { position: absolute; inset: 0; }

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fecha del remate (inicio) */
.remate-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 12px;
  background: var(--marino);
  color: var(--blanco);
  font-family: var(--f-titulo);
  font-size: 19px;
  font-weight: 500;
  border-top-right-radius: var(--radio);
  pointer-events: none;
}

/* Número de lote como caravana (el rasgo propio del catálogo) */
.remate-badge.caravana {
  top: 0;
  bottom: auto;
  left: 14px;
  padding: 22px 12px 8px;
  background: var(--ambar);
  color: var(--marino);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 0 var(--ambar-osc);
}

.remate-badge.caravana::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--marino);
}

.remate-badge.remate-badge-precio {
  left: auto;
  right: 0;
  border-radius: var(--radio) 0 0 0;
  font-weight: 600;
}

.remate-body { padding: 16px 18px 4px; flex: 1; }

.remate-title {
  margin: 0 0 4px;
  font-family: var(--f-titulo);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--marino);
}

.remate-text {
  margin: 0 0 4px;
  color: var(--gris);
}

.remate-footer { padding: 10px 18px 16px; }

/* ------------------------------ Lotes vendidos (carrusel) ----------------- */

.lotes-cargados {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 0 20px 56px;
}

.carrusel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.carrusel-viewport { overflow: hidden; width: 100%; }

.carrusel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease-out;
}

.lote {
  flex: 0 0 240px;
  background: var(--cielo);
  border-radius: var(--radio);
  overflow: hidden;
}

.lote-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--linea);
}

.lote-info { padding: 12px 14px 0; }
.lote-info p { margin: 0; }
.lote-info strong { color: var(--marino); }

.fecha-hora {
  padding: 6px 14px 12px;
  color: var(--gris);
}

.prev,
.next {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: var(--marino);
  color: var(--blanco);
  font-size: 18px;
  cursor: pointer;
}

.prev { left: -10px; }
.next { right: -10px; }
.prev:hover, .next:hover { background: var(--celeste-osc); }

/* ------------------------------ Números ----------------------------------- */

.home-stats { background: var(--cielo); }

.home-stats-title { margin-bottom: 28px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 4px 24px;
  border-left: 4px solid var(--celeste);
}

.stat-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 10px;
}

.stat-number {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 0.95;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--gris);
}

/* ------------------------------ Cómo comprar ------------------------------ */

.pasos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.paso {
  padding-top: 16px;
  border-top: 4px solid var(--marino);
}

.paso h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.paso-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--celeste);
  color: var(--marino);
  font-weight: 700;
}

.paso p { margin: 0; color: var(--gris); }

/* ------------------------------ Tabla de lotes ---------------------------- */

.tabla-wrap {
  overflow-x: auto;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
}

.tabla-lotes {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 16px;
}

.tabla-lotes th,
.tabla-lotes td {
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.tabla-lotes thead th {
  background: var(--marino);
  color: var(--blanco);
  font-family: var(--f-titulo);
  font-size: 19px;
  font-weight: 500;
}

.tabla-lotes .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.tabla-lotes tbody tr { border-top: 1px solid var(--linea); }
.tabla-lotes tbody tr:nth-child(even) { background: var(--cielo); }
.tabla-lotes tbody tr:hover { background: #fdf3da; }
.tabla-lotes td.precio { font-weight: 600; color: var(--marino); }

/* ------------------------------ Detalle de lote --------------------------- */

.lote-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
}

.lote-detalle {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--linea);
  border-radius: var(--radio);
  overflow: hidden;
}

.lote-detalle-info {
  flex: 1;
  min-width: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-left: 10px solid var(--marino);
}

.lote-logo-empresa { width: 190px; margin-bottom: 20px; }

.lote-corral {
  margin: 0;
  color: var(--gris);
}

.lote-corral strong { color: var(--marino); }

.lote-detalle-info .remate-title {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  margin: 12px 0 6px;
}

.lote-ubicacion { margin: 0 0 20px; color: var(--gris); }

.lote-evaluador {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--linea);
}

.lote-evaluador img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cielo);
}

.evaluador-nombre { margin: 0; font-weight: 500; }

.lote-detalle-video {
  flex: 2;
  min-width: 320px;
  background: var(--marino-osc);
}

.lote-detalle-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.lote-detalle-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lote-detalle-detalles {
  flex-basis: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 24px;
  border-top: 1px solid var(--linea);
}

.detalle-col h4 {
  font-size: 22px;
  font-weight: 600;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--celeste);
}

.detalle-col ul + h4 { margin-top: 18px; }
.detalle-col li { margin-bottom: 4px; }

.detalle-vendido {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ambar);
  color: var(--marino);
  font-family: var(--f-titulo);
  font-size: 30px;
  font-weight: 700;
  border-radius: var(--radio);
}

.lote-detalle-galeria-thumbnails {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 24px;
  background: var(--cielo);
}

.lote-thumbnail {
  width: 160px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 3px solid var(--blanco);
  border-radius: var(--radio);
  background: var(--linea);
  cursor: zoom-in;
}

.lote-thumbnail:hover { border-color: var(--ambar); }

/* ------------------------------ Modal ------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(21, 19, 63, 0.85);
}

.modal[aria-hidden="false"] { display: flex; }

.modal-content {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  padding: 12px;
  overflow: auto;
  background: var(--blanco);
  border-radius: var(--radio);
}

.modal-content img { width: 100%; }

#galeriaModalImage {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--marino);
  color: var(--blanco);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* ------------------------------ Pie --------------------------------------- */

.site-footer {
  background: var(--marino);
  color: var(--blanco);
}

.footer-inner {
  max-width: var(--ancho);
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-col h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--blanco);
  margin-bottom: 12px;
}

.footer-col p { margin: 0 0 4px; color: #dfe6f5; }

.footer-col a {
  text-decoration: underline;
  text-decoration-color: var(--celeste);
  text-underline-offset: 3px;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.icon-img { width: 40px; height: 40px; }
.social-link:hover .icon-img { opacity: 0.8; }

/* El logotipo tiene letras marinas: va siempre sobre blanco */
.footer-logo {
  width: 230px;
  padding: 14px 18px;
  background: var(--blanco);
  border-radius: var(--radio);
}

.footer-bottom {
  padding: 14px 20px;
  text-align: center;
  font-size: 15px;
  color: #cfd6ec;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom p { margin: 0; }

/* ------------------------------ Adaptación a pantallas -------------------- */

@media (max-width: 1000px) {
  .remates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 860px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 56px;
    gap: 40px;
  }
  .home-hero-image { max-width: 420px; }
  .pasos { grid-template-columns: 1fr; gap: 24px; }
  .lote-detalle-detalles { grid-template-columns: 1fr; }
  .lote-detalle-info { order: 2; min-width: 100%; }
  .lote-detalle-video { order: 1; min-width: 100%; }
  .lote-detalle-detalles { order: 3; }
  .lote-detalle-galeria-thumbnails { order: 4; }
  .lote-detalle-video-wrapper { height: 0; min-height: 0; padding-top: 56.25%; }
  .catalogo-barra { flex-direction: column-reverse; }
}

@media (max-width: 600px) {
  .section-inner { padding: 40px 16px; }
  .nav { justify-content: center; padding: 10px 16px; }
  .logo img { width: 180px; }
  .menu { justify-content: center; }
  .menu a { font-size: 18px; padding: 6px 10px; }
  .remates-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .timer-unidad { min-width: 68px; }
  .timer-unidad b { font-size: 38px; }
  .lote-thumbnail { width: calc(50% - 5px); }
  .prev { left: 0; }
  .next { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/*
 * Contenedor de cada elemento (simula Bootstrap .form-group)
 * Pure.css usaría .pure-control-group
 */
.form-group {
    margin-bottom: 1rem; /* Espacio entre campos */
}

/*
 * Estilo para la mayoría de los campos de entrada (simula Bootstrap .form-control)
 * Aplica a inputs de texto, email, number, password, textarea y select
 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    display: block; /* Ocupa el 100% del ancho */
    width: 100%;
    padding: 0.375rem 0.75rem; /* Padding interno */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057; /* Texto oscuro */
    background-color: #fff; /* Fondo blanco */
    background-clip: padding-box;
    border: 1px solid #ced4da; /* Borde gris claro */
    border-radius: 0.25rem; /* Bordes ligeramente redondeados */
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box; /* Importante para que el padding no afecte el ancho total */
}

/*
 * Estilo de enfoque (Focus state)
 * Se activa al hacer clic o tabular sobre el campo
 */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    color: #495057;
    background-color: #fff;
    border-color: var(--brand-soft);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(110, 93, 64, 0.20);
}

/* Estilo para áreas de texto */
textarea {
    min-height: 80px; /* Altura mínima para el textarea */
}

/* Estilo para el label (opcional) */
label {
    display: inline-block;
    margin-bottom: 0.5rem; /* Espacio debajo del label */
    font-weight: 500; /* Ligeramente más negrita */
}

/* Checkboxes y Radios */
input[type="checkbox"],
input[type="radio"] {
    /* Resetea los estilos de ancho/display que aplicamos arriba */
    display: inline-block;
    width: auto;
    margin-right: 0.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table thead tr {
  border-bottom: 1px solid black;
}

.table tbody tr {
  border-bottom: 1px solid #ccc;
}

.table td {
  padding: 0.25rem 0.5rem;
  word-wrap: break-word;
}

/* Variantes de botón */
.btn-secondary {
  background: transparent;
  color: var(--brand-deep);
  border: 1.5px solid var(--brand-deep);
}
.btn-secondary:hover {
  background: var(--brand-deep);
  color: #fff;
}

/* Botón Primary */
.btn-primary {
  color: #fff;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.btn-success {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}

.btn-success:hover {
  color: #fff;
  background-color: #157347;
  border-color: #146c43;
}

.btn-danger {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
}

.btn-warning {
  color: #000;
  background-color: #ffc107;
  border-color: #ffc107;
}

.btn-warning:hover {
  color: #000;
  background-color: #ffcd39;
  border-color: #ffc720;
}

.btn-info {
  color: #000;
  background-color: #0dcaf0;
  border-color: #0dcaf0;
}

.btn-info:hover {
  color: #000;
  background-color: #31d2f2;
  border-color: #25cff2;
}

.btn-light {
  color: #000;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  color: #000;
  background-color: #e9ecef;
  border-color: #e9ecef;
}

.btn-dark {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

.btn-dark:hover {
  color: #fff;
  background-color: #1c1f23;
  border-color: #1a1e21;
}

/* Botón de enlace animado (Remates realizados) */
.btn-link {
  position: relative;
  display: inline-block;
  font-weight: 400;
  color: var(--c-base);
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}

.btn-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--c-hover);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.btn-link:hover {
  color: var(--c-hover);
}

.btn-link:hover::after {
  width: 100%;
}
