/* Vertical Slider Styles */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 800px; /* Default height */
    margin: 0 auto;
    overflow: hidden;
}

/* Vùng cuộn chính */
.slider-track {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* Từng slide ảnh: 80% chiều cao để lộ peak */
.slide-item {
    width: 100%;
    height: 70%;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin: 0.1% 0; /* Tạo khoảng trống để lộ ảnh trên và dưới */
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HIỆU ỨNG GRADIENT TRẮNG */
.slider-vertical-mos.slider-wrapper::before,
.slider-vertical-mos.slider-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 25%; /* Độ rộng vùng mờ trắng */
    z-index: 5;
    pointer-events: none;
}

/* Gradient trắng phía trên */
.slider-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.8) 40%,
        rgba(255,255,255,0) 100%);
}

/* Gradient trắng phía dưới */
.slider-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.8) 40%,
        rgba(255,255,255,0) 100%);
}

/* NÚT ĐIỀU HƯỚNG */
.nav-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 0;
}

.btn-up {
    top: 40px;
}

.btn-down {
    bottom: 40px;
    border: none;
    
}
.nav-btn:hover {
	background: #f39c12; /* Màu vàng cam của nút dưới */
	color: white;
}

.nav-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
