.box-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.box-slider {
    width: 100%;
    overflow: hidden;
}

.box-slider.pre-slider {
    opacity: 0;
}

.box-slider-item {
    display: block;
    position: relative;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.box-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.box-slider-item:hover .box-slider-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.box-slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.box-slider-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    padding-right: 15px;
}

.box-slider-arrow {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.box-slider-item:hover .box-slider-arrow {
    transform: translateX(5px);
}

/* Contenedor de botones de navegación */
.buttons-box-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

/* Botones de navegación */
.swiper-button-box {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-button-box:hover {
    transform: scale(1.1);
}

.swiper-button-box::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
}

.swiper-button-box.next::before {
    background-image: url('../images/arrow-slider.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.swiper-button-box.prev::before {
    background-image: url('../images/arrow-slider.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: rotate(180deg);
}

.swiper-button-box img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-button-box.custom-nav-button::before {
    display: none;
}

.swiper-button-box.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .box-slider-item {
        height: 300px;
    }
    
    .box-slider-title {
        font-size: 16px;
    }
    
    .box-slider-arrow {
        font-size: 20px;
    }
    
    .box-slider-content {
        padding: 15px;
    }
    
    .swiper-button-box {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .box-slider-item {
        height: 250px;
    }
    
    .box-slider-title {
        font-size: 14px;
    }
    
    .box-slider-arrow {
        font-size: 18px;
    }
}
