.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    text-shadow: 1px 1px 3px #000;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    bottom: 50px;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;
    transition: opacity .6s ease;
}

.header-carousel .owl-dots .owl-dot.active {
    opacity: 1;
}

/* Asegurate que el contenedor tenga position: relative */
.owl-carousel {
  position: relative;
}

/* Posicionamiento de los botones */
.owl-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* permite hacer clic solo en los botones */
}

/* Estilos generales para ambos botones */
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3); /* fondo oscuro translúcido */
  color: #ffffff91 !important; /* color blanco */
  border: none;
  padding: 2rem; /* más padding = más hitbox */
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  font-size: 4rem !important; /* ¡a lo grande! */
  border-radius: 50%; /* opcional, si querés que sea redondo */
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Botón previo (izquierda) */
.owl-nav .owl-prev {
  left: 20px;
}

/* Botón siguiente (derecha) */
.owl-nav .owl-next {
  right: 20px;
}

/* Ocultar el texto por defecto */
.owl-nav button span {
  display: none;
}

/* Reemplazo por íconos de Font Awesome */
.owl-nav .owl-prev::before {
  content: '\f104'; /* ícono de flecha izquierda */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.owl-nav .owl-next::before {
  content: '\f105'; /* ícono de flecha derecha */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}
