/* Buộc khung chứa chính hiển thị theo dạng Flexbox để các item nằm ngang */
.product-box-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important; /* Cho phép cuộn ngang nếu quá nhiều ảnh */
    align-items: center;
}

/* Điều chỉnh lại các item con */
.product-box-slider .carousel_item {
    display: block !important;
    float: none !important;
    flex: 0 0 23% !important; /* Giữ nguyên tỉ lệ 23% nhưng trong môi trường flex */
    min-width: 100px; /* Đảm bảo ảnh không bị bóp quá nhỏ */
    margin: 0 5px !important;
}

/* Đảm bảo hình ảnh bên trong hiển thị tốt */
.product-box-slider .carousel_item img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important; /* Bỏ giới hạn 50px nếu bạn muốn ảnh to hơn */
    object-fit: cover;
}
/* Ẩn các nút điều hướng (mũi tên) trong slider của Flatsome */
.product-box-slider .flickity-prev-next-button {
    display: none !important;
}

/* Trường hợp slider sử dụng cấu trúc khác của Flatsome/UX Builder */
.product-box-slider button.next,
.product-box-slider button.prev {
    display: none !important;
}

.product-box-slider {
    display: flex !important;
    justify-content: flex-start !important;
    /* Hoặc center nếu bạn muốn căn giữa */
    gap: 10px !important;
    padding: 5px 0 !important;
}

.product-box-slider .carousel_item {
    margin: 0 !important;
    /* Bỏ margin mặc định của slider để dùng gap cho chuẩn */
}

/* 1. Tùy chỉnh thanh cuộn cho Chrome, Safari, Edge */
.product-box-slider::-webkit-scrollbar {
    height: 5px;
    /* Độ dày mảnh giúp website sang hơn */
    display: block !important;
}

/* Màu của nền thanh cuộn (phần máng trượt) */
.product-box-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

/* Màu của con trượt (phần di chuyển) - Sử dụng mã #005baa */
.product-box-slider::-webkit-scrollbar-thumb {
    background: #005baa !important;
    border-radius: 10px;
}

/* Hiệu ứng khi di chuột vào con trượt - Đậm hơn một chút */
.product-box-slider::-webkit-scrollbar-thumb:hover {
    background: #005baa !important;
}

/* 2. Tùy chỉnh cho Firefox */
.product-box-slider {
    scrollbar-width: thin;
    scrollbar-color: #005baa #f1f1f1;
}

/* 3. Thêm khoảng cách phía dưới slider để thanh cuộn không đè vào chữ */
.product-box-slider {
    padding-bottom: 8px !important;
    margin-bottom: 10px !important;
}

/* Chỉ áp dụng cho màn hình điện thoại (dưới 767px) */
@media screen and (max-width: 767px) {
    /* Ép khung chứa hiển thị theo dạng hàng ngang cuộn */
    .product-box-slider {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch; /* Giúp cuộn mượt trên iPhone */
        gap: 8px !important;
        padding: 10px 0 !important;
    }

    /* Gỡ bỏ các thuộc tính tuyệt đối gây đè ảnh */
    .product-box-slider .carousel_item {
        position: relative !important; /* Gỡ bỏ absolute */
        left: 0 !important;
        top: 0 !important;
        flex: 0 0 30% !important; /* Hiển thị khoảng 3 ảnh trên màn hình điện thoại */
        width: 30% !important;
        margin: 0 !important;
    }

    /* Đảm bảo ảnh hiển thị đầy đủ */
    .product-box-slider .carousel_item img {
        width: 100% !important;
        height: 60px !important; /* Độ cao phù hợp cho điện thoại */
        object-fit: cover !important;
        border-radius: 4px;
    }

    /* Thanh cuộn màu xanh #005baa cho điện thoại */
    .product-box-slider::-webkit-scrollbar {
        height: 4px;
        display: block !important;
    }
    .product-box-slider::-webkit-scrollbar-thumb {
        background: #005baa !important;
        border-radius: 10px;
    }
}



/* CSS cho bảng có thanh trượt ở trên cùng trên điện thoại */
@media screen and (max-width: 767px) {
  /* Lớp bao bọc bảng - Bạn cần thêm class này vào thẻ div bao quanh bảng */
  .table-scroll-top {
    overflow-x: auto !important;
    transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
  }

  /* Đưa bảng về trạng thái không bị lộn ngược */
  .table-scroll-top table {
    transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    min-width: 600px; /* Độ rộng tối thiểu để xuất hiện thanh cuộn */
  }

  /* Tùy chỉnh màu sắc thanh cuộn giống hình bạn gửi */
  .table-scroll-top::-webkit-scrollbar {
    height: 6px;
  }
  .table-scroll-top::-webkit-scrollbar-track {
    background: #eeeeee;
  }
  .table-scroll-top::-webkit-scrollbar-thumb {
    background: #005baa; /* Màu xanh */
    border-radius: 10px;
  }
}

 .xdbot {
    font-size: 18px;
    background: linear-gradient(90deg, rgba(0, 91, 170, 1) 0%, rgba(0, 147, 217, 1) 100%);
    padding: 7px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 999;
    color: #fff;
    float: left;
    margin-bottom: 10px;
    position: fixed;
    right: 0;
    bottom: 10px;
    border: 2px #eecd77 solid;
}

.title-form {
  background:linear-gradient(90deg, #005cab 0%, #006cb9 30%, #0082cb 60%, #0093d9 100%) !important;
border-radius: 10px 10px 0px 0px;
    color: white;
     text-align: center;
    text-transform: uppercase;
display: block;
}
.tittle-form .section-title b {
    display: none;
}
.nd-ld-liberty .col .col-inner {
   background-image: url(https://dulich.sunnygroup.vn/wp-content/uploads/2026/01/background-bao-hiem-liberty.png);
    height: 100%;
    border: solid 1px #ecc09a;
    border-radius: 10px;
}

.nd-ld-bv .col .col-inner {
   background-image: url(https://dulich.sunnygroup.vn/wp-content/uploads/2026/01/background-bao-hiem-bao-viat.png);
    height: 100%;
    border: solid 1px #ecc09a;
    border-radius: 10px;
}
.nd-ld-aig .col .col-inner {
   background-image: url(https://dulich.sunnygroup.vn/wp-content/uploads/2026/01/bg-bao-hiem-du-lich-quoc-te-aig-1.webp);
    height: 100%;
    border: solid 1px #ecc09a;
    border-radius: 10px
}

.flickity-page-dots {
    position: absolute;
    bottom: auto;
    left: 20%;
    right: 20%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
    line-height: 1;
}
.slider-nav-light .flickity-page-dots .dot {
    border-color: #005baa;
}
.widget-title, .widgettitle {
    margin-bottom: 0;
    background: linear-gradient(90deg, #005cab 0%, #006cb9 30%, #0082cb 60%, #0093d9 100%) !important;
    padding: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: white;
    display: block;
    text-align: center;
}


/* Cho Chrome, Firefox, Opera */
input::placeholder, textarea::placeholder {
  color: #005baa !important;
}

/* Cho Internet Explorer (IE) và Edge */
input::-ms-input-placeholder, textarea::-ms-input-placeholder {
  color: #005baa !important;
}

/* Cho Safari (cũng có thể dùng ::-webkit-input-placeholder) */
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  color: #005baa !important;
}
.button-mua-ngay {
    height: 48px;
    background: linear-gradient(180deg, #FEC626 0%, #CCA126 100%);
    color: #FFF;
    -webkit-box-shadow: 0 3px 0 0 #06748c;
    box-shadow: 0 3px 0 0 #5e0206;
      line-height: 28px;
    text-align: center;
    border-radius: 30px;
    margin-top: 20px;
    margin-bottom: 4px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    padding-top: 11px;
}
.button-mua-ngay:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446
}

.nd-ld .col .col-inner {
     background-color:#fff;
    height: 100%;
width: 100%;
    border: solid 1px #ecc09a;
    border-radius: 10px
}
.nd-ld .col .col-inner:hover {
    background-image: -webkit-linear-gradient(0deg, rgb(0, 121, 192) 0%, rgb(0, 177, 225) 100%);
    border-color: #06748c;
    color: #fff;
    -webkit-box-shadow: 0 3px 0 0 #1a1446;
    box-shadow: 0 3px 0 0 #1a1446
}

.absolute-footer {
    font-size: .9em;
    padding: 10px 0 15px;
    border-top: solid 3px rgb(238 205 119);
}





.searchandfilter li {
    padding-right: unset;
}
.nav-sidebar.nav-vertical>li+li {
    border-top: 1px solid #dca447;
}
.form-flat input:not([type=submit]), .form-flat textarea, .form-flat select {
    background-color: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .09);
    font-size: 15px;
    border-radius: 4px;
    box-shadow: none;
    border: 1px #dca447 solid;
}

.button.icon.circle {
    padding-left: 0;
    padding-right: 0;
    width: max-content;
}
.text-gradient {
    background-image: linear-gradient(45deg, #001871, #01b0f1);
    background-clip: text;
    color: transparent;
}


.has-hover:hover .tag-label {
    opacity: 1;
    background-color: #dca447;
}

.icon-feauture-box:hover img{
    -webkit-transform: scale(1.6);
    -ms-transform: scale(1.6);
    transform: scale(1.6);
    -webkit-transition: -webkit-transform .2s linear;
    transition: -webkit-transform .2s linear;
    transition: transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
}

.icon-feauture-box img{
    -webkit-transition: -webkit-transform .2s linear;
    transition: -webkit-transform .2s linear;
    transition: transform .2s linear;
    transition: transform .2s linear, -webkit-transform .2s linear;
}

.justify-start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-weight: bold;
}
.tabbed-content .nav-pills .tab a {
    border-radius: 8px;
    margin: 0 5px;
    padding: 0 20px;
    background-color: #dca447;
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
    border: solid 1px #ecc09a;
}
.tabbed-content .nav-pills .active a {
    background-color: #152970;
    color: #fff !important;
}

.lightbox-content {
    background-color: #fff;
    box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .15);
    position: relative;
    border: 2px #eecd77 solid;
    border-radius: 10px;
}

