/* ============================================================
   LocalizaMáquinas - CSS Base (Marketplace Clean)
   - Inspirado em marketplaces (OLX/Imovelweb): claro, neutro e funcional
   - Identidade: laranja técnico + cinzas
============================================================ */

/* ============================================================
   1) Variáveis (Design Tokens)
============================================================ */
:root{
  /* Brand */
  --lm-brand: #E57C00;       /* laranja principal (logo) */
  --lm-brand-hover: #F28C00; /* hover */
  --lm-brand-soft: rgba(229,124,0,.12);

  /* Neutros */
  --lm-bg: #F5F6F7;          /* fundo geral */
  --lm-card: #FFFFFF;        /* card */
  --lm-border: #E1E4E8;      /* bordas suaves */
  --lm-text: #222222;        /* texto primário */
  --lm-muted: #555555;       /* texto secundário */
  --lm-subtle: #777777;      /* texto mais fraco */

  /* Estados */
  --lm-success: #1F8A48;
  --lm-danger: #C62828;
  --lm-warning: #B26A00;

  /* Sombra (bem leve, padrão marketplace) */
  --lm-shadow: 0 8px 24px rgba(0,0,0,.06);
  --lm-shadow-hover: 0 12px 30px rgba(0,0,0,.10);

  /* Raio */
  --lm-radius: 14px;
  --lm-radius-sm: 12px;

  /* Tipografia */
  --lm-font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Layout */
  --lm-container-max: 1180px;
}

/* ============================================================
   2) Base / Reset leve
============================================================ */
*{ box-sizing: border-box; }

html, body{
  height: 100%;
}

.lm-body{
  font-family: var(--lm-font);
  background: var(--lm-bg);
  color: var(--lm-text);
}

/* Links padrão do projeto */
.lm-link,
.lm-link-muted{
  text-decoration: none;
  font-weight: 600;
}
.lm-link{
  color: var(--lm-text);
}
.lm-link:hover{
  color: var(--lm-brand);
}
.lm-link-muted{
  color: var(--lm-muted);
}
.lm-link-muted:hover{
  color: var(--lm-text);
}

/* ============================================================
   3) Topbar
============================================================ */
.lm-topbar{
  background: #fff;
  border-bottom: 1px solid var(--lm-border);
  font-size: 13px;
  color: var(--lm-muted);
}
.lm-topbar .container{
  max-width: var(--lm-container-max);
  padding: 8px 12px;
}
.lm-dot{
  display:inline-block;
  width:8px; height:8px;
  border-radius:999px;
  background: var(--lm-brand);
  margin-right: 8px;
  position: relative;
  top: -1px;
}

/* ============================================================
   4) Header
============================================================ */
.lm-header{
  background: #fff;
  border-bottom: 1px solid var(--lm-border);
}

.lm-header .container{
  max-width: var(--lm-container-max);
  padding-left: 12px;
  padding-right: 12px;
}

/* Brand */
.lm-brand{
  text-decoration: none;
  color: var(--lm-text);
}
.lm-brand:hover{ color: var(--lm-text); }

/* “Marca” simples (bolinha/ícone)
   -> se você preferir, troque por <img src="...logo.png"> */
.lm-brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,.85), rgba(255,255,255,0) 45%),
    linear-gradient(135deg, var(--lm-brand), #FFB35A);
  box-shadow: 0 10px 20px rgba(229,124,0,.18);
  border: 1px solid rgba(229,124,0,.25);
}
.lm-brand-text{
  font-weight: 800;
  letter-spacing: .2px;
}

/* Busca do header */
.lm-header-search{
  flex: 1;
  max-width: 560px;
  gap: 10px;
  align-items: center;
}

/* Logo do header */
.lm-logo{
  height: 38px;          /* desktop */
  width: auto;
  display:block;
}

@media (max-width: 576px){
  .lm-logo{
    height: 32px;        /* mobile */
  }
}

/* ============================================================
   5) Inputs / Selects (estilo próprio)
============================================================ */
.lm-input,
.lm-select{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--lm-border);
  background: #fff;
  padding: 0 12px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  color: var(--lm-text);
}
.lm-input::placeholder{ color: var(--lm-subtle); }

.lm-input:focus,
.lm-select:focus{
  border-color: rgba(229,124,0,.55);
  box-shadow: 0 0 0 4px rgba(229,124,0,.12);
}

/* Label */
.lm-label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  color: var(--lm-muted);
  margin-bottom: 6px;
}

/* Help text */
.lm-help{
  font-size: 13px;
  color: var(--lm-muted);
  background: #fff7ee;
  border: 1px solid rgba(229,124,0,.20);
  padding: 10px 12px;
  border-radius: 12px;
}

/* ============================================================
   6) Botões (padrão projeto)
============================================================ */
.lm-btn{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  justify-content:center;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration:none;
  font-weight: 700;
  cursor:pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select:none;
}
.lm-btn:active{ transform: translateY(1px); }

.lm-btn-lg{
  height: 48px;
  padding: 0 18px;
  border-radius: 14px;
}

/* Primary */
.lm-btn-primary{
  background: var(--lm-brand);
  border-color: var(--lm-brand);
  color: #fff;
  box-shadow: 0 10px 20px rgba(229,124,0,.16);
}
.lm-btn-primary:hover{
  background: var(--lm-brand-hover);
  border-color: var(--lm-brand-hover);
  color:#fff;
}

/* Ghost */
.lm-btn-ghost{
  background: #fff;
  border-color: var(--lm-border);
  color: var(--lm-text);
}
.lm-btn-ghost:hover{
  border-color: rgba(229,124,0,.35);
  box-shadow: 0 10px 20px rgba(0,0,0,.06);
}

/* ============================================================
   7) Nav secundário
============================================================ */
.lm-nav-link{
  text-decoration:none;
  color: var(--lm-muted);
  font-weight: 700;
  font-size: 14px;
}
.lm-nav-link:hover{
  color: var(--lm-text);
}
.lm-badge-soft{
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.03);
  border: 1px solid var(--lm-border);
  color: var(--lm-muted);
}

/* ============================================================
   8) Hero
============================================================ */
.lm-hero{
  padding: 44px 0;
}
.lm-hero-title{
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.12;
  font-size: clamp(28px, 3.2vw, 42px);
  margin: 0 0 12px;
}
.lm-hero-subtitle{
  margin: 0;
  color: var(--lm-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* Chips */
.lm-chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lm-muted);
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: 999px;
  padding: 8px 12px;
}

/* ============================================================
   9) Cards (base do marketplace)
============================================================ */
.lm-card{
  background: var(--lm-card);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius);
  text-decoration: none;
  color: inherit;
}
.lm-card-shadow{
  box-shadow: var(--lm-shadow);
}
.lm-card-hover{
  transition: box-shadow .15s ease, transform .10s ease, border-color .15s ease;
}
.lm-card-hover:hover{
  box-shadow: var(--lm-shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(229,124,0,.22);
}

/* Títulos internos de card */
.lm-card-title{
  font-weight: 800;
  font-size: 18px;
}
.lm-card-kicker{
  font-size: 12px;
  color: var(--lm-subtle);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
}

/* Ícone simples */
.lm-icon-arrow{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid var(--lm-border);
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--lm-muted);
  background: #fff;
}

/* ============================================================
   10) Seções
============================================================ */
.lm-section{
  padding: 30px 0;
}
.lm-section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.lm-section-title{
  font-size: 20px;
  font-weight: 900;
  margin: 0 0 4px;
}
.lm-section-subtitle{
  margin: 0;
  color: var(--lm-muted);
}

/* ============================================================
   DESTAQUES (visual igual ao busca.php)
   - CSS somente desta seção (cards .lm-adcard + pills + media)
   - Mantém compatibilidade com o seu grid Bootstrap (col-6/col-md-4/col-lg-3)
============================================================ */

/* Card do anúncio */
.lm-adcard{
  display:block;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 26px rgba(16,24,40,.10);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.lm-adcard:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16,24,40,.14);
  border-color: rgba(0,0,0,.10);
}

/* contornos por tipo */
.lm-adcard-super{
  border: 2px solid rgba(229,124,0,.55);
  box-shadow: 0 14px 34px rgba(229,124,0,.10), 0 10px 26px rgba(16,24,40,.08);
}

.lm-adcard-destaque{
  border: 2px solid rgba(45,108,223,.35);
  box-shadow: 0 14px 34px rgba(45,108,223,.08), 0 10px 26px rgba(16,24,40,.08);
}

/* mídia */
.lm-adcard-media{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f3f4f6, #eef2ff);
}

.lm-adcard-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lm-adcard-fallback{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: #6b7280;
  letter-spacing: .2px;
}

/* badges topo (tipo + preço) */
.lm-adcard-badges{
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

/* pills */
.lm-pill{
  display:inline-flex;
  align-items:center;
  gap: .35rem;
  padding: .38rem .72rem;
  border-radius: 999px;
  font-size: .80rem;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.96);
  color: #111827;
  white-space: nowrap;
}

/* tipo */
.lm-pill-super{
  background: rgba(229,124,0,.16);
  border-color: rgba(229,124,0,.34);
  color: #7a3e00;
}
.lm-pill-destaque{
  background: rgba(45,108,223,.14);
  border-color: rgba(45,108,223,.26);
  color: #0b3a86;
}
.lm-pill-simple{
  background: rgba(148,163,184,.16);
  border-color: rgba(148,163,184,.28);
  color: #374151;
}

/* preço */
.lm-pill-price{
  background: rgba(255,255,255,.96);
  border-color: rgba(17,24,39,.10);
  color: #111827;
}

/* corpo */
.lm-adcard-body{
  padding: 12px 14px 14px 14px;
}

/* categoria */
.lm-adcard-cat{
  display:inline-flex;
  align-items:center;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(17,24,39,.06);
  color: #111827;
  font-weight: 900;
  font-size: .78rem;
  margin-bottom: 10px;
}

/* título (curto, não deixa o card “comprido”) */
.lm-adcard-title{
  font-size: 1.02rem;
  line-height: 1.18;
  font-weight: 950;
  color: #111827;
  margin-bottom: 8px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* localização */
.lm-adcard-loc{
  font-weight: 900;
  color: #374151;
  font-size: .90rem;
  margin-bottom: 8px;
}

/* meta */
.lm-adcard-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: .88rem;
  font-weight: 800;
}

/* cuidado: seu HTML usa .lm-dot aqui como separador "•".
   Para não conflitar com o .lm-dot da topbar, força o separador a ser “neutro” */
.lm-adcard-meta .lm-dot{
  color: #9ca3af;
  margin: 0 2px;
  position: static;
  width: auto;
  height: auto;
  background: transparent;
}

/* responsivo */
@media (max-width: 576px){
  .lm-adcard-media{ aspect-ratio: 1 / 1; }
  .lm-pill{ font-size: .78rem; padding: .34rem .64rem; }
  .lm-adcard-title{ font-size: 1.00rem; }
}

/* ============================================================
   11) Cards de Anúncio (grid)
============================================================ */
.lm-card-media{
  height: 170px;
  background: rgba(0,0,0,.03);
  overflow:hidden;
  border-top-left-radius: var(--lm-radius);
  border-top-right-radius: var(--lm-radius);
  border-bottom: 1px solid var(--lm-border);
}
.lm-card-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.lm-card-media-fallback{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color: var(--lm-subtle);
  font-weight: 700;
}

/* Categoria pill */
.lm-pill{
  display:inline-flex;
  align-items:center;
  font-size: 12px;
  font-weight: 800;
  color: var(--lm-muted);
  border: 1px solid var(--lm-border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  text-decoration:none;
}
.lm-pill:hover{
  border-color: rgba(229,124,0,.28);
}

/* Preço */
.lm-price{
  font-weight: 900;
  color: var(--lm-text);
}

/* Título do anúncio */
.lm-ad-title{
  font-weight: 800;
  line-height: 1.25;
  min-height: 44px;
}

/* Meta (cidade/data) */
.lm-ad-meta{
  font-size: 13px;
  color: var(--lm-muted);
}
.lm-dot-sep{
  margin: 0 6px;
  color: var(--lm-subtle);
}

/* ============================================================
   12) CTA final
============================================================ */
.lm-cta{
  padding: 10px 0 60px;
}
.lm-cta-box{
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: 18px;
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--lm-shadow);
}
.lm-cta-title{
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 20px;
}
.lm-cta-subtitle{
  margin: 0;
  color: var(--lm-muted);
}
.lm-cta-right{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsivo CTA */
@media (max-width: 768px){
  .lm-cta-box{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   13) Footer
============================================================ */
.lm-footer{
  background: #fff;
  border-top: 1px solid var(--lm-border);
}
.lm-footer .container{
  max-width: var(--lm-container-max);
  padding-left: 12px;
  padding-right: 12px;
}
.lm-footer-title{
  font-weight: 900;
  margin-bottom: 10px;
}
.lm-footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display:grid;
  gap: 8px;
}
.lm-footer-link{
  color: var(--lm-muted);
  text-decoration: none;
  font-weight: 600;
}
.lm-footer-link:hover{
  color: var(--lm-text);
}
.lm-footer-bottom{
  border-top: 1px solid var(--lm-border);
}
.lm-text-muted{
  color: var(--lm-muted);
}
/* =========================
   Footer - ajustes extras
========================= */
.lm-footer-brand{ text-decoration:none; }
.lm-footer-logo{
  height: 34px;
  width: auto;
  display:block;
}

.lm-contact-item{
  display:flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.lm-contact-label{
  font-weight: 800;
  color: var(--lm-muted);
  font-size: 13px;
}
.lm-contact-value{
  color: var(--lm-muted);
  font-size: 13px;
}

/* ícones redes sociais */
.lm-social{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--lm-border);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease;
}
.lm-social svg{
  width: 18px;
  height: 18px;
  fill: var(--lm-muted);
}
.lm-social:hover{
  transform: translateY(-1px);
  border-color: rgba(229,124,0,.28);
  box-shadow: var(--lm-shadow);
}
.lm-social:hover svg{
  fill: var(--lm-brand);
}

/* =========================
   WhatsApp flutuante
========================= */
.lm-wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display:flex;
  align-items:center;
  gap: 10px;

  background: var(--lm-brand);
  color: #fff;
  text-decoration:none;
  font-weight: 900;

  padding: 12px 14px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(229,124,0,.22);
  border: 1px solid rgba(229,124,0,.35);

  transition: transform .1s ease, background .15s ease;
}
.lm-wa-float:hover{
  background: var(--lm-brand-hover);
  transform: translateY(-1px);
  color:#fff;
}

.lm-wa-icon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
}
.lm-wa-icon svg{
  width: 20px;
  height: 20px;
  fill: #fff;
}
.lm-wa-label{
  font-size: 14px;
  letter-spacing: .2px;
}

/* Mobile: esconder texto, deixar só ícone */
@media (max-width: 576px){
  .lm-wa-label{ display:none; }
  .lm-wa-float{ padding: 12px; }
}

/* COLE NO FINAL do public/assets/css/style.css */

/* WhatsApp flutuante simples */
.lm-wa-float-simple{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: #25D366; /* cor WhatsApp */
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  border: 1px solid rgba(0,0,0,.08);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s ease, opacity .2s ease;
}
.lm-wa-float-simple:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.22);
}

/* engrenagem girando */
.lm-wa-gear{
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: lmSpin 1.6s linear infinite;
}
.lm-wa-gear svg{
  width: 26px;
  height: 26px;
  fill: #fff;
}

@keyframes lmSpin{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* aparecer suave */
.lm-wa-float-simple.is-hidden{
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}



/* ============================================================
   14) Utilitários pequenos
============================================================ */
.lm-badge{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lm-brand-soft);
  color: var(--lm-warning);
  border: 1px solid rgba(229,124,0,.20);
}

/* Quick actions */
.lm-quick-card{
  display:block;
  background:#fff;
  border:1px solid var(--lm-border);
  border-radius: 16px;
  padding: 18px 14px;
  text-decoration:none;
  color: var(--lm-text);
  box-shadow: var(--lm-shadow);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.lm-quick-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow-hover);
  border-color: rgba(229,124,0,.20);
}
.lm-quick-ico{
  font-size: 28px;
  margin-bottom: 8px;
}
.lm-quick-title{
  font-weight: 900;
}

/* Badges no topo da imagem */
.lm-badge-top{
  position:absolute;
  top: 10px;
  left: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.lm-badge-super{ background:#FFD54F; color:#1f1f1f; }
.lm-badge-destaque{ background:#2D6CDF; color:#fff; }
.lm-badge-simples{ background:#7A7A7A; color:#fff; }
.lm-badge-oferta{ background:#D93939; color:#fff; }

/* banner */
.lm-banner-img{
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
}
.lm-banner-img-sm{
  max-height: 260px;
}
.lm-carousel .carousel-inner{
  border-radius: 16px;
  overflow:hidden;
}

/* categorias grid */
.lm-cat-card{
  display:block;
  background:#fff;
  border:1px solid var(--lm-border);
  border-radius: 16px;
  padding: 16px;
  text-decoration:none;
  color: var(--lm-text);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.lm-cat-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow-hover);
  border-color: rgba(229,124,0,.20);
}
.lm-cat-title{ font-weight: 900; }
.lm-cat-desc{ color: var(--lm-muted); font-size: 13px; margin-top: 6px; }

/* parceiros */
.lm-section-light{ background: rgba(0,0,0,.02); }
.lm-partner-card{
  display:block;
  background:#fff;
  border:1px solid var(--lm-border);
  border-radius: 16px;
  padding: 14px;
  text-decoration:none;
  color: var(--lm-text);
  height: 100%;
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
.lm-partner-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--lm-shadow-hover);
  border-color: rgba(229,124,0,.20);
}
.lm-partner-logo{
  max-height: 60px;
  width: 100%;
  object-fit: contain;
  display:block;
  margin: 0 auto 8px;
}
.lm-partner-name{
  font-weight: 800;
  font-size: 12px;
  color: var(--lm-muted);
}

/* preço "de" */
.lm-price-de{
  color: var(--lm-subtle);
  font-weight: 800;
  font-size: 12px;
  text-decoration: line-through;
  margin-bottom: 4px;
}

/* ============================================================
   ATALHOS - versão premium com ícones próprios (SVG)
============================================================ */

.lm-quick-pro{
  border-radius: 18px;
  padding: 18px 14px;
  box-shadow: 0 10px 26px rgba(16,24,40,.08);
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.lm-quick-pro::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(600px 120px at 50% 0%, rgba(229,124,0,.14), transparent 60%),
    radial-gradient(420px 120px at 0% 100%, rgba(229,124,0,.10), transparent 65%);
  pointer-events:none;
  opacity: .9;
}

.lm-quick-ico-pro{
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: rgba(229,124,0,.10);
  border: 1px solid rgba(229,124,0,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  position: relative;
  z-index: 1;
}

.lm-qi{
  width: 30px;
  height: 30px;
  color: var(--lm-brand);
}

.lm-quick-title{
  position: relative;
  z-index: 1;
  font-weight: 900;
}

.lm-quick-sub{
  position: relative;
  z-index: 1;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--lm-muted);
  opacity: .9;
}

/* hover mais “premium” */
.lm-quick-pro:hover{
  transform: translateY(-2px);
  border-color: rgba(229,124,0,.22);
  box-shadow: 0 16px 34px rgba(16,24,40,.12);
}

.lm-quick-pro:hover .lm-quick-ico-pro{
  background: rgba(229,124,0,.14);
  border-color: rgba(229,124,0,.26);
}

/* mobile */
@media (max-width: 576px){
  .lm-quick-ico-pro{ width: 52px; height: 52px; }
  .lm-qi{ width: 28px; height: 28px; }
}

/* ============================================================
   BRIDGE — transição elegante entre HERO e DESTAQUES
============================================================ */
.lm-bridge{ padding: 8px 0 22px; }

.lm-bridge .container{
  max-width: var(--lm-container-max);
  padding-left: 12px;
  padding-right: 12px;
}

.lm-bridge-row{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* micro-card */
.lm-bridge-card{
  position: relative;
  display:block;
  text-decoration:none;
  color: inherit;

  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
  overflow:hidden;

  transition: transform .12s ease, box-shadow .14s ease, border-color .14s ease;
}

.lm-bridge-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16,24,40,.10);
  border-color: rgba(229,124,0,.20);
}

.lm-bridge-kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-bottom: 6px;
}

.lm-bridge-title{
  font-weight: 950;
  font-size: 15.5px;
  margin-bottom: 4px;
}

.lm-bridge-sub{
  color: var(--lm-muted);
  font-size: 13px;
  font-weight: 650;
}

.lm-bridge-arrow{
  position:absolute;
  right: 14px;
  top: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--lm-border);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  font-weight: 950;
  color: var(--lm-text);
}

/* card com toque de brand (bem sutil) */
.lm-bridge-card-brand{
  border-color: rgba(229,124,0,.22);
}
.lm-bridge-card-brand::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(520px 160px at 0% 0%, rgba(229,124,0,.14), transparent 60%),
    radial-gradient(420px 160px at 100% 100%, rgba(0,0,0,.04), transparent 65%);
  pointer-events:none;
}

/* Responsivo */
@media (max-width: 992px){
  .lm-bridge-row{ grid-template-columns: 1fr; }
}

/* ============================================================
   AJUSTES - DESTAQUES (1 linha / 4 itens / setas)
============================================================ */
.lm-carousel-row{
  position: relative;
}
.lm-car-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 44px; /* espaço pras setas */
  margin: 0 -12px;   /* alinha com container */
}
.lm-car-item{
  scroll-snap-align: start;
  min-width: 0;
}

/* setas */
.lm-car-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--lm-border);
  background: #fff;
  color: var(--lm-text);
  font-weight: 950;
  font-size: 22px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
  cursor: pointer;
  z-index: 3;
}
.lm-car-btn:hover{
  border-color: rgba(229,124,0,.28);
}
.lm-car-prev{ left: 8px; }
.lm-car-next{ right: 8px; }

/* esconder scrollbar sem quebrar */
.lm-car-track::-webkit-scrollbar{ height: 10px; }
.lm-car-track::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.12); border-radius: 999px; }
.lm-car-track::-webkit-scrollbar-track{ background: transparent; }

/* linha única (cidade + modelo + ano + estado) */
.lm-adcard-line{
  font-weight: 900;
  color: #374151;
  font-size: .90rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* preço "de" riscado nos badges */
/* Preço "de" riscado dentro da pill */
.lm-pill-price-de{
  text-decoration: line-through;
  opacity: .85;
  font-weight: 900;
}

/* Preço atual (por) */
.lm-pill-price-now{
  font-weight: 950;
}


/* responsivo do carrossel */
@media (max-width: 992px){
  .lm-car-track{ grid-auto-columns: calc((100% - 24px) / 3); }
}
@media (max-width: 768px){
  .lm-car-track{ grid-auto-columns: calc((100% - 12px) / 2); padding: 4px 42px; }
}
@media (max-width: 576px){
  .lm-car-track{ grid-auto-columns: 84%; }
}

/* ============================================================
   OFERTAS — Card Premium Marketplace (FIX preço cortando)
   - Usa .lm-offer-* (independente do Bootstrap)
============================================================ */

.lm-offer-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;

  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:20px;
  overflow:hidden;

  box-shadow:0 10px 28px rgba(16,24,40,.08);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.lm-offer-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 38px rgba(16,24,40,.14);
  border-color:rgba(229,124,0,.25);
}

/* IMAGEM */
.lm-offer-media{
  position:relative;
  height:200px;
  overflow:hidden;
  background:linear-gradient(135deg,#f3f4f6,#fff7ee);
}

.lm-offer-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.lm-offer-card:hover .lm-offer-media img{
  transform:scale(1.04);
}

.lm-offer-fallback{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  color:#6b7280;
  font-size:14px;
}

/* BADGES */
.lm-offer-badges{
  position:absolute;
  top:12px;
  left:12px;
  display:flex;
  gap:8px;
  z-index:2;
}

.lm-offer-tag{
  background:#e53935;
  color:#fff;
  font-weight:900;
  font-size:12px;
  padding:6px 12px;
  border-radius:999px;
  box-shadow:0 8px 20px rgba(229,57,53,.25);
  white-space:nowrap;
}

.lm-offer-tag-soft{
  background:#111827;
  opacity:.92;
}

/* BODY */
.lm-offer-body{
  padding:16px 16px 18px;
}

/* TOP (categoria + preços) — AQUI É O FIX REAL */
.lm-offer-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;

  /* crucial: permite o item da esquerda encolher sem estourar */
  min-width:0;
}

.lm-offer-cat{
  font-size:12px;
  font-weight:900;
  background:rgba(0,0,0,.04);
  padding:6px 10px;
  border-radius:999px;

  /* crucial: não empurra o preço pra fora */
  max-width:60%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  /* crucial: permite o ellipsis funcionar em flex */
  min-width:0;
  flex:1 1 auto;
}

.lm-offer-prices{
  text-align:right;

  /* crucial: preço nunca encolhe/corta */
  flex:0 0 auto;
  white-space:nowrap;
}

.lm-offer-price{
  font-size:20px;
  font-weight:950;
  color:#111827;
  font-variant-numeric:tabular-nums;
  line-height:1.1;
  white-space:nowrap;
}

.lm-offer-price-de{
  font-size:12px;
  font-weight:800;
  color:#6b7280;
  text-decoration:line-through;
  margin-top:4px;
  white-space:nowrap;
}

/* TÍTULO */
.lm-offer-title{
  font-weight:950;
  font-size:15.5px;
  line-height:1.25;
  color:#111827;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* LOCAL */
.lm-offer-loc{
  margin-top:10px;
  font-size:13px;
  font-weight:750;
  color:#6b7280;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* RESPONSIVO */
@media (max-width: 768px){
  .lm-offer-media{ height:220px; }
}

@media (max-width: 576px){
  .lm-offer-top{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .lm-offer-cat{
    max-width:100%;
  }
  .lm-offer-prices{
    text-align:left;
  }
}

/* ============================================================
   HERO - Mobile: centraliza título/subtítulo + chips sem barrinha
============================================================ */
@media (max-width: 991.98px){

  /* Centraliza o conteúdo da coluna esquerda (título + texto) */
  .lm-hero .lm-hero-title,
  .lm-hero .lm-hero-subtitle{
    text-align: center !important;
  }

  /* Deixa o subtítulo proporcional (não fica “colado” na esquerda nem muito largo) */
  .lm-hero .lm-hero-subtitle{
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Opcional: dá uma respirada lateral em telas muito estreitas */
  .lm-hero .container{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ============================================================
   Chips - SEM SCROLL (sem barrinha) e 3 na mesma linha
============================================================ */
.lm-hero .d-flex.flex-wrap.gap-2.mt-3{
  display: flex !important;
  flex-wrap: nowrap !important;  /* 1 linha */
  overflow: hidden !important;   /* remove a “barrinha” */
  gap: 10px !important;
  width: 100%;
}

.lm-hero .lm-chip{
  flex: 1 1 0;                   /* força os 3 a dividirem a linha */
  justify-content: center;
  white-space: nowrap;
}

/* Ajuste fino no celular pra caber os 3 */
@media (max-width: 576px){
  .lm-hero .lm-chip{
    height: 38px;
    padding: 8px 10px;
    font-size: 12.5px;
  }
}


/* ============================================================
   HERO CHIPS - MOBILE PERFEITO (3 na mesma linha, abaixo do filtro)
============================================================ */

@media (max-width: 991.98px){

  /* garante que fique abaixo do card */
  .lm-hero .container > .row > :nth-child(2){
    order: 3 !important;
  }

  .lm-hero .d-flex.flex-wrap.gap-2.mt-3{
    order: 4 !important;
    margin-top: 14px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important; /* distribui melhor */
    gap: 6px !important; /* menor espaço */
    overflow: hidden !important; /* remove scroll */
  }

  /* chips dividem igualmente a largura */
  .lm-hero .lm-chip{
    flex: 1 1 0;
    justify-content: center;
    white-space: nowrap;
    padding: 6px 8px !important; /* reduz padding */
    font-size: 12px !important;  /* reduz fonte */
    height: 34px !important;     /* reduz altura */
  }
}
@media (max-width: 576px){
  .lm-hero .d-flex.flex-wrap.gap-2.mt-3{
    display: none !important;
  }
}