/* ═══════════════════════════════════════════════════════════════
   leilo-custom.css — CUSTOMIZAÇÕES DO AGENTE (isolado do css.css)
   Este arquivo é EXCLUSIVO do nosso trabalho. NÃO é editado pelo
   painel/gestor. Carregado após css.css (tem prioridade).
   Mantido por: agente · cada mudança tem marcadores INÍCIO/FIM.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   BUSCA DA PÁGINA DE LOTES — lupa deslizante (igual à home)
   Sessão 2026-07-31 · aditivo · reversível
   Espelha o efeito de .busca-input-group (contexto inicio) nas
   classes .sb-* (contexto lotes). Só ESTILO. HTML intacto —
   o .sb-input-icon já é <button type="submit"> (clicar busca).
   INÍCIO-BUSCA-LOTES-DESLIZE-20260731
   ═══════════════════════════════════════════════════════════════ */
html body .sb-input-group{
  position: relative !important;
}
/* lupa vira botão flutuante posicionado (estado normal: à esquerda) */
html body .sb-input-group .sb-input-icon{
  position: absolute !important;
  left: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 2 !important;
  color: #000 !important;               /* igual à lupa do header/home */
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: left .35s cubic-bezier(.22,.61,.36,1) !important;
}
html body .sb-input-group .sb-input-icon i{ font-weight: 900 !important; }

/* input com espaço à esquerda pra lupa (estado normal) */
html body .sb-input-group .sb-input{
  padding-left: 28px !important;
  transition: padding .3s ease !important;
}

/* ao FOCAR/clicar pra digitar: a lupa desliza pro canto direito (vira botão de aplicar) */
html body .sb-input-group:focus-within .sb-input-icon{
  left: calc(100% - 24px) !important;
}
html body .sb-input-group:focus-within .sb-input{
  padding-left: 4px !important;
  padding-right: 32px !important;
}
/* FIM-BUSCA-LOTES-DESLIZE-20260731 */

/* ═══════════════════════════════════════════════════════════════
   PAGINAÇÃO — cara nova alinhada ao layout (azul-marinho + clean)
   Sessão 2026-07-31 (reaplicado) · aditivo · reversível
   Escopo: .pagg-leilo
   INÍCIO-PAGINACAO-LEILO-20260731
   ═══════════════════════════════════════════════════════════════ */
html body .pagg-leilo{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 28px 0 8px !important;
  text-align: center;
}
html body .pagg-leilo a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #1e3a5f !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease !important;
}
html body .pagg-leilo a[href]:hover{
  border-color: #1e3a5f !important;
  background: #f4f7fb !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(30,58,95,.10) !important;
}
html body .pagg-leilo a.ativo,
html body .pagg-leilo a:not([href]){
  background: #1e3a5f !important;
  border-color: #1e3a5f !important;
  color: #ffffff !important;
  cursor: default !important;
  box-shadow: 0 6px 16px rgba(30,58,95,.20) !important;
}
html body .pagg-leilo a:first-child,
html body .pagg-leilo a:last-child{
  padding: 0 18px !important;
  font-weight: 800 !important;
  color: #1e3a5f !important;
  background: #ffffff !important;
}
html body .pagg-leilo a:first-child:not([href]),
html body .pagg-leilo a:last-child:not([href]){
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  box-shadow: none !important;
  cursor: default !important;
}
@media (max-width: 480px){
  html body .pagg-leilo{ gap: 6px !important; }
  html body .pagg-leilo a{ min-width: 38px !important; height: 38px !important; padding: 0 10px !important; font-size: 13px !important; }
  html body .pagg-leilo a:first-child,
  html body .pagg-leilo a:last-child{ padding: 0 14px !important; }
}
/* FIM-PAGINACAO-LEILO-20260731 */


/* ═══════════════════════════════════════════════════════════════
   DESTAQUE DO LANCE NO MOBILE — cards de lote
   Sessão 2026-07-31 · aditivo · reversível
   O usuário precisa entender que "aquele lote está NAQUELE valor agora".
   No mobile o preço vinha em 0.95rem (base) — sem destaque. Aqui damos
   tamanho + peso + cor de marca, e clareza no rótulo (Lance atual/inicial).
   INÍCIO-LANCE-MOBILE-DESTAQUE-20260731
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px){
  /* rótulo pequeno, maiúsculo, discreto — contextualiza o valor */
  html body .ev-lote-preco-label{
    font-size: 0.66rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #64748b !important;
    margin: 4px 0 0 !important;
    line-height: 1.1 !important;
  }
  /* VALOR do lance: grande, forte, azul-marinho de marca */
  html body .ev-lote-preco{
    font-size: 1.32rem !important;
    font-weight: 900 !important;
    color: #1e3a5f !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    margin: 1px 0 0 !important;
  }
  /* quando arrematado, o label fica vermelho (já existe .arrematado) */
  html body .ev-lote-preco-label.arrematado{ color: #c0392b !important; }
}
/* telas bem pequenas: mantém legível sem estourar o card */
@media (max-width: 380px){
  html body .ev-lote-preco{ font-size: 1.2rem !important; }
}
/* FIM-LANCE-MOBILE-DESTAQUE-20260731 */

/* ═══════════════════════════════════════════════════════════════
   EVENTO ENCERRADO (home) — sem box vermelho + botão desabilitado
   Sessão 2026-07-31 · aditivo · reversível
   INÍCIO-EVENTO-ENCERRADO-20260731
   ═══════════════════════════════════════════════════════════════ */
/* texto de encerramento discreto (substitui o box vermelho .evento-encerrado) */
html body .evento-encerrado-txt{
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 2px 0 0 !important;
  margin: 0 !important;
  letter-spacing: .01em !important;
}

/* botão "Ver lote(s)" desabilitado quando o leilão encerrou */
html body .evento-ver-lotes-btn.is-disabled{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}
/* FIM-EVENTO-ENCERRADO-20260731 */


