/* Contenedor general */
.custom-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Cada slide (NO aplicar display:flex a .slick-slide) */
.slide {
    display: flex; /* Si quieres centrar contenido interno */
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Imágenes responsive */
.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Botón en cada slide */
.slider-button {
    position: absolute;
    background-color: #FFC72C;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    margin: 30px;
    border-radius: 30px;
    z-index: 10;
}

.slider-button.top-left {
    top: 0;
    left: 0;
}

.slider-button.top-right {
    top: 0;
    right: 0;
}

.slider-button.bottom-left {
    bottom: 0;
    left: 0;
}

.slider-button.bottom-right {
    bottom: 0;
    right: 0;
}

/* Dots de Slick */
.slick-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    z-index: 5;
}

.slick-dots li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.slick-dots li button {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    appearance: none;
}

.slick-dots li.slick-active {
    background-color: white;
    width: 15px;
    height: 15px;
}

/* Para evitar conflictos con IDs de Slick */
[id^="slick-slide-control"] {
    display: none !important;
}

/* Mostrar/ocultar imágenes con media queries */
.desktop-image {
    display: block;
}
.mobile-image {
    display: none;
}

@media (max-width: 767px) {
    .desktop-image {
        display: none !important;
    }
    .mobile-image {
        display: block !important;
    }

    /* Ocultar dots en mobile si deseas */
    /* .slick-dots {
        display: none !important;
    } */
}
