/* =============================================
   OLK GESTIÓN - Carrusel Propiedades Destacadas
   ============================================= */

/* === CONTENEDOR === */
.olk-carousel-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

/* === SLICK OVERRIDES === */
.olk-carousel .slick-list {
  margin: 0 -12px;
}

.olk-carousel .slick-track {
  display: flex !important;
}

.olk-carousel .slick-slide {
  height: inherit !important;
  padding: 0 12px;
}

.olk-carousel .slick-slide > div {
  height: 100%;
}

/* === TARJETA (SLIDE) === */
.olk-card-slide {
  height: 100%;
}

.olk-card {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  text-decoration: none !important;
  color: #fff !important;
  background: #111;
}

.olk-card:hover {
  text-decoration: none !important;
  color: #fff !important;
}

/* === IMAGEN === */
.olk-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.olk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  opacity: 0.88;
}

.olk-card:hover .olk-card-img img {
  transform: scale(1.06);
  opacity: 0.75;
}

/* === DEGRADADO === */
.olk-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* === LABELS (DESTACADO + OPERACIÓN) === */
.olk-card-labels {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.olk-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  line-height: 1.4;
}

.olk-label-destacado {
  background: #111;
}

.olk-label-venta {
  background: #27ae60;
}

.olk-label-alquiler {
  background: #2980b9;
}

.olk-label-reservado {
    background-color: #e67e22; /* naranja, o el color que uses en la web */
    color: #fff;
}

/* === CONTENIDO OVERLAY === */
.olk-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Operación (VENTA / ALQUILER) */
.olk-card-operacion {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

/* Dirección */
.olk-card-direccion {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Precio */
.olk-card-precio {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0 6px;
}

/* === FEATURES (iconos + datos) === */
.olk-card-features {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.olk-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.olk-feature i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  width: 16px;
  text-align: center;
}

/* === FLECHAS DE NAVEGACIÓN === */
.olk-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  color: #333;
  font-size: 16px;
  padding: 0;
}

.olk-arrow:hover {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-50%) scale(1.05);
}

.olk-arrow:focus {
  outline: none;
}

.olk-arrow-prev {
  left: -22px;
}

.olk-arrow-next {
  right: -22px;
}

/* === RESPONSIVE === */
@media (max-width: 1260px) {
  .olk-arrow-prev {
    left: 8px;
  }
  .olk-arrow-next {
    right: 8px;
  }
  .olk-arrow {
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 992px) {
  .olk-card {
    height: 360px;
  }
  .olk-carousel-wrapper {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .olk-card {
    height: 380px;
  }
  .olk-carousel-wrapper {
    padding: 0 15px;
  }
  .olk-card-direccion {
    font-size: 14px;
  }
  .olk-card-precio {
    font-size: 17px;
  }
  .olk-card-features {
    gap: 12px;
  }
  .olk-feature {
    font-size: 12px;
  }
  .olk-arrow {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .olk-arrow-prev {
    left: 6px;
  }
  .olk-arrow-next {
    right: 6px;
  }
}

.elementor-element-4f9386a {
  width: 100% !important;
}

.olk-arrow:hover {
  color: #111;
}

.olk-arrow:hover i {
  color: #111;
}
