/* ALJT Residence Carousel (Elementor widget) */
/* Scoped to avoid conflicts */
/* ALJT Residence Carousel (Elementor widget) */
/* Scoped to avoid conflicts */

.aljt-residence-carousel-widget .featured-property .card-image-container{
  position: relative;
  overflow: hidden;
  border-radius: var(--aljt-card-radius, 10px);
}

.aljt-residence-carousel-widget .aljt-tag{
  position:absolute;
  z-index:3;
  top: var(--aljt-brand-badge-top, 12px) !important;
  left: var(--aljt-brand-badge-side, 12px) !important;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 8px 12px;
  font-size: var(--aljt-brand-badge-font-size, 14px) !important;
  line-height:1;
  border-radius:8px;
  background:#e84a1b;
  color:#fff;
}
.aljt-residence-carousel-widget.aljt-badge-right .aljt-tag{
  left:auto;
  right: var(--aljt-brand-badge-side, 12px) !important;
}

.aljt-residence-carousel-widget .aljt-tag--image{
  padding:0;
  background:transparent;
}
.aljt-residence-carousel-widget .aljt-tag--image img{
  width: var(--aljt-brand-badge-img-size, 80px) !important;
  height:auto;
  display:block;
  border-radius:8px;
}

/* Equal height – keep titles top; align addresses by giving titles a consistent min-height */
.aljt-residence-carousel-widget.aljt-equal-height .featured-property .content h4{
  min-height: var(--aljt-title-min-height, auto);
}
.aljt-residence-carousel-widget .featured-property .content{
  display:block;
}

/* Price prefix/suffix hooks */
.aljt-residence-carousel-widget .price .aljt-price-prefix,
.aljt-residence-carousel-widget .price .aljt-price-suffix{
  display:inline;
}

/* Arrows (navigation) */
/*
  Objectif:
  - Sortir les flèches du carousel (sans être "clippées")
  - Garder un contrôle précis via Elementor (X/Y/Size/Outside)
*/
.aljt-residence-carousel-widget .aljt-carousel{
  position: relative;
  overflow: visible;
}
.aljt-residence-carousel-widget .owl-nav{
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}
.aljt-residence-carousel-widget .owl-nav button{
  position: absolute;
  width: var(--aljt-arrow-size, 44px);
  height: var(--aljt-arrow-size, 44px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.aljt-residence-carousel-widget .owl-nav button.owl-prev{
  left: var(--aljt-arrow-x, 0px) !important;
  transform: translateX(calc(-1 * var(--aljt-arrow-outside, 0px))) translateY(var(--aljt-arrow-y, 0px)) !important;
}
.aljt-residence-carousel-widget .owl-nav button.owl-next{
  right: calc(0px - var(--aljt-arrow-x, 0px)) !important;
  transform: translateX(var(--aljt-arrow-outside, 0px)) translateY(var(--aljt-arrow-y, 0px)) !important;
}

@media (max-width: 767px){
  .aljt-residence-carousel-widget.aljt-hide-arrows-mobile .owl-nav{
    display:none !important;
  }
}
