/* ═══════════════════════════ PÁGINA DE ANÚNCIO ÚNICO ═══════════════════════════ */

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

.fw-black {
  font-weight: 900;
}

/* Container do Carrossel de Imagens */
#carImages {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background-color: #0f172a;
}

/* Imagem Principal do Anúncio */
.imgPrincipalCard {
  width: 100%;
  max-width: 100%;
  height: 480px;
  max-height: 70vh;
  object-fit: contain;
  background-color: #0f172a;
  display: block;
  margin: 0 auto;
}

/* Miniaturas */
#carouselThumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

#carouselThumbs img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.75;
}

#carouselThumbs img:hover {
  transform: scale(1.05);
  opacity: 1;
}

#carouselThumbs img.active {
  border-color: #2563eb;
  opacity: 1;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Botões do Carrossel */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(15, 23, 42, 0.6);
  border-radius: 50%;
  background-size: 50%;
}

/* Card FIPE Comparison */
#fipeComparisonCard {
  border: 1px solid #e2e8f0;
}

/* Card Dicas de Segurança */
.card-dicas {
  background-color: #f8fafc;
  border-left: 4px solid #2563eb !important;
}

#dica-texto {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.fade-out {
  opacity: 0 !important;
}

/* Sticky Action Box */
.sticky-box {
  position: sticky;
  top: 20px;
}

/* Responsividade para Telas Menores (Móvel / Tablet) */
@media (max-width: 768px) {
  .imgPrincipalCard {
    height: 280px;
    max-height: 50vh;
  }

  #carouselThumbs img {
    width: 70px;
    height: 50px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 16%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
  }
}

/* Badges de Portal */
.badge-webmotors-tag {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
}

.badge-olx-tag {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
}

.badge-icarros-tag {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff;
}