/**
 * Estilos para módulos adicionales - BADGE NOVEDAD RECIENTE
 * Matching DESTACADA badge styling
 */

/* ============================================
   BADGE NOVEDAD RECIENTE - Matching DESTACADA
   ============================================ */

.ndc-badge--recent {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 999 !important; /* Por encima de todo */
  display: inline-block !important;
  padding: 4px 8px !important;
  background: #0099CC !important;
  color: white !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 3px !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  pointer-events: auto !important;
}

/* ============================================
   IMAGE SIZING - Prevent stretching & height explosion
   ============================================ */

/* Force slider wrapper to maintain fixed height */
.nd-slide-image-wrap {
  max-height: 100% !important;
  overflow: hidden !important;
  display: block !important;
}

/* Slider images */
.nd-slide-img {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  max-height: 100% !important;
}

/* Card images */
.nd-card-img {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* Carousel images */
.ndc-card__image {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* ============================================
   RESPONSIVE BADGES
   ============================================ */

@media (max-width: 768px) {
  .ndc-badge--recent {
    font-size: 0.65rem !important;
    padding: 3px 6px !important;
    top: 8px !important;
    right: 8px !important;
  }
}
