/* 1. Contenedor Principal: Ajusta la altura para que no se desborde */
#container-slider-Sucursales {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajusta esta altura según el tamaño de tus fotos */
    overflow: hidden;
    background-color: #000;
    margin: 0;
    padding: 0;
}

/* 2. Lista de imágenes: Quitamos márgenes extra */
#SliderSucursal {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

/* 3. Slides: 'absolute' es vital para que NO se vean una tras otra */
#SliderSucursal li {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

/* Solo la primera es visible al inicio */
#SliderSucursal li:first-child {
    opacity: 1;
    z-index: 2;
}

/* 4. Estilo de las imágenes (Hero Wrap) */
.hero-wrap {
    width: 100%;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 5. Flechas: Ahora forzamos que estén DENTRO del contenedor */
#container-slider-Sucursales .arrowPrev,
#container-slider-Sucursales .arrowNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; /* Por encima de las imágenes */
    font-size: 35px;
    color: white;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.3); /* Un fondo sutil para que se vean */
    padding: 10px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

#container-slider-Sucursales .arrowPrev:hover,
#container-slider-Sucursales .arrowNext:hover {
    background: rgba(0, 0, 0, 0.7);
}

#container-slider-Sucursales .arrowPrev {
    left: 20px;
}

#container-slider-Sucursales .arrowNext {
    right: 20px;
}

/* 6. Puntos indicadores */
.listsliderSucursal {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
    list-style: none;
    padding: 0;
}

.listsliderSucursal li a {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.listsliderSucursal li a.item-select-slid {
    background: #fff;
    transform: scale(1.3);
}