/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
 .owl-carousel, .owl-carousel .owl-item {
    /* Xóa hiển thị màu sáng khi nhấn vào trên các thiết bị di động và đặt vị trí của các phần tử */
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.owl-carousel {
    /* Ẩn carousel khi chưa được khởi tạo, đặt chiều rộng 100% và xác định thứ tự chồng của các phần tử */
    display: none;
    width: 100%;
    z-index: 1;
}
.owl-carousel .owl-stage {
    /* Đặt vị trí tương đối và xác định hành động cảm ứng để cho phép cuộn theo hướng Y */
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
}
.owl-carousel .owl-stage:after {
    /* Sửa lỗi hiển thị, thêm nội dung vô hình để làm rõ các phần tử float */
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.owl-carousel .owl-stage-outer {
    /* Đặt vị trí và kiểm soát tràn của khung carousel, sử dụng transform để tối ưu hóa hiệu suất */
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
}
.owl-carousel .owl-item, .owl-carousel .owl-wrapper {
    /* Sử dụng backface-visibility để tối ưu hóa hiệu suất và sử dụng transform để tạo hiệu ứng mượt mà */
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
}
.owl-carousel .owl-item {
    /* Đặt chiều cao tối thiểu và sử dụng float cho các phần tử, và ngăn chặn tùy chọn chạm */
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-touch-callout: none;
}
.owl-carousel .owl-item img {
    /* Đảm bảo rằng tất cả các hình ảnh bên trong carousel sẽ chiếm toàn bộ chiều rộng của container */
    display: block;
    width: 100%;
}
.owl-carousel .owl-dots.disabled, .owl-carousel .owl-nav.disabled {
    /* Ẩn các phần tử điều khiển khi không cần thiết */
    display: none;
}
.no-js .owl-carousel, .owl-carousel.owl-loaded {
    /* Hiển thị carousel khi đã được tải */
    display: block;
}
.owl-carousel .owl-dot, .owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev {
    /* Đặt con trỏ thành pointer và ngăn chặn người dùng lựa chọn văn bản */
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    /* Đặt nền và viền của các nút điều khiển, và loại bỏ padding */
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0!important;
    font: inherit;
}
.owl-carousel.owl-loading {
    /* Đặt độ mờ thành 0 để ẩn carousel khi đang tải */
    opacity: 0;
    display: block;
}
.owl-carousel.owl-hidden {
    /* Ẩn carousel bằng cách đặt độ mờ thành 0 */
    opacity: 0;
}
.owl-carousel.owl-refresh .owl-item {
    /* Ẩn các mục trong khi carousel đang được làm mới */
    visibility: hidden;
}
.owl-carousel.owl-drag .owl-item {
    /* Điều chỉnh hành động cảm ứng và ngăn chặn người dùng lựa chọn văn bản trong khi kéo */
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.owl-carousel.owl-grab {
    /* Đặt con trỏ thành "move" hoặc "grab" khi người dùng nhấn vào carousel */
    cursor: move;
    cursor: grab;
}
.owl-carousel.owl-rtl {
    /* Đặt hướng từ phải sang trái cho các carousel */
    direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
    /* Đặt float thành right để phù hợp với hướng RTL */
    float: right;
}
.owl-carousel .animated {
    /* Đặt thời gian hoạt ảnh và chế độ fill */
    animation-duration: 1s;
    animation-fill-mode: both;
}
.owl-carousel .owl-animated-in {
    /* Đặt thứ tự z-index để kiểm soát thứ tự các phần tử khi hoạt ảnh */
    z-index: 0;
}
.owl-carousel .owl-animated-out {
    /* Đặt thứ tự z-index để kiểm soát thứ tự các phần tử khi hoạt ảnh */
    z-index: 1;
}
.owl-carousel .fadeOut {
    /* Định nghĩa hoạt ảnh fade out */
    animation-name: fadeOut;
}
@keyframes fadeOut {
    /* Đặt hoạt ảnh fade out từ độ mờ 1 đến 0 */
    0% { opacity: 1; }
    100% { opacity: 0; }
}
.owl-height {
    /* Chuyển đổi chiều cao của carousel */
    transition: height .5s ease-in-out;
}
.owl-carousel .owl-item .owl-lazy {
    /* Chuyển đổi độ mờ khi hình ảnh được tải */
    opacity: 0;
    transition: opacity .4s ease;
}
.owl-carousel .owl-item .owl-lazy:not([src]), .owl-carousel .owl-item .owl-lazy[src^=""] {
    /* Đặt chiều cao tối đa thành 0 khi không có hình ảnh nào */
    max-height: 0;
}
.owl-carousel .owl-item img.owl-lazy {
    /* Bảo toàn phong cách 3D khi tải hình ảnh */
    transform-style: preserve-3d;
}
.owl-carousel .owl-video-wrapper {
    /* Đặt vị trí và chiều cao của các video trong carousel */
    position: relative;
    height: 100%;
    background: #000;
}
.owl-carousel .owl-video-play-icon {
    /* Đặt vị trí và phong cách của biểu tượng chơi video, bao gồm cả chuyển đổi khi di chuột */
    position: absolute;
    height: 80px;
    width: 80px;
    left: 50%;
    top: 50%;
    margin-left: -40px;
    margin-top: -40px;
    background: url(owl.video.play.png) no-repeat;
    cursor: pointer;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    transition: transform .1s ease;
}
.owl-carousel .owl-video-play-icon:hover {
    /* Tăng kích thước biểu tượng khi di chuột */
    -ms-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-play-icon, .owl-carousel .owl-video-playing .owl-video-tn {
    /* Ẩn biểu tượng chơi và hình thu nhỏ khi video đang chơi */
    display: none;
}
.owl-carousel .owl-video-tn {
    /* Đặt độ mờ và phong cách nền của hình thu nhỏ video */
    opacity: 0;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .4s ease;
}
.owl-carousel .owl-video-frame {
    /* Đặt vị trí và kích thước của khung video */
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
}
