.carousel {
    position: relative;
}

.carousel-track-container {
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform .5s ease;
}

.slide {
    flex: 0 0 100%;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Prev / Next ===== */

.nav {
    position: absolute;
    top: 0; /* JS sẽ ghi đè */

    transform: translateY(-50%);

    background: transparent;
    border: 0;

    color: #9c9c9c;
    font-size: 60px;
    line-height: 1;

    padding: 0;
    cursor: pointer;
    z-index: 9999;
}

.prev {
    left: -40px; /* nằm ngoài ảnh */
}

.next {
    right: -40px; /* nằm ngoài ảnh */
}

.nav:hover {
    color: #666;
}

@media (max-width: 768px) {
    .nav {
        font-size: 40px;
    }

    .prev {
        left: -15px;
    }

    .next {
        right: -15px;
    }
}