/* Container tổng quát */
.dual-swiper-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    /* Quan trọng: Ngăn tràn toàn bộ wrapper */
    padding: 20px 0;
}

/* Slider chính (Hình ảnh) */
.swiper-main {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    overflow: hidden;
    /* Cắt phần slide dư thừa */
}

.swiper-main .swiper-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    /* Giữ tỷ lệ ảnh đồng nhất */
}

/* Slider phụ (Tiêu đề) */
.swiper-thumbs {
    width: 100%;
    overflow: hidden;
    /* Ngăn tiêu đề tràn ra ngoài widget */
    padding: 10px 0;
}

.swiper-thumbs .swiper-slide {
    padding: 20px 10px;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.4s ease;
    border-top: 2px solid #e0e0e0;
    /* Đường kẻ mặc định */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Hiệu ứng Slide Active (Nổi bật) */
.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-top: 4px solid #ccc;
    /* Màu nhấn mạnh, bạn có thể thay đổi */
    transform: translateY(-5px);
    /* Trồi lên một chút */
}

.swiper-thumbs .thumb-content h4 {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

/* Ẩn các nút điều hướng mặc định của Swiper nếu chúng tự hiện ra */
.swiper-button-next,
.swiper-button-prev {
    display: none !important;
}

.thumb-content {
    display: flex;
    flex-direction: column;
    /* Xếp số ở trên, chữ ở dưới */
    align-items: center;
    gap: 5px;
}

.thumb-number {
    font-family: 'Inter', sans-serif;
    /* Hoặc font số bạn thích */
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #999;
    /* Màu nhạt mặc định */
    transition: color 0.3s ease;
}

/* Khi slide được active, làm nổi bật cả số và tiêu đề */
.swiper-slide-thumb-active .thumb-number {
    color: #000;
    /* Cùng màu với border-top active */
}

.swiper-slide-thumb-active .thumb-content h4 {
    color: #000;
    font-weight: 700;
}

/* Nếu bạn muốn số và tiêu đề nằm trên cùng 1 hàng */
.thumb-content {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}