a.c-green,
.wrap-recommend a.link {
  text-decoration: underline;
}
.icw .sc-content p {
  line-height: 24px;
}
.icw .sc-content small {
  color: #666666;
}
.icw .sc-content .table-content ul li {
  line-height: 20px !important;
  padding-left: 0;
}
.sc-content .qn-content ul li {
  line-height: 24px !important;
}
.icw .table-content {
  margin-bottom: 16px !important;
}
.accordion-recommend {
  margin-bottom: 24px;
}
.icw .sc-content .qn .qn-title {
  margin-bottom: 24px;
}
.icw .sc-content .qn .qn-content {
  padding: 0;
  padding-left: 16px !important;
}
.content-inside-card h3 {
  margin-bottom: 16px;
}
.section-card-custom .content-inside-card img {
  padding-top: 0;
  padding-bottom: 0;
}
div.qn-content p:last-child {
  margin-bottom: 32px !important;
}
.p-0 {
  padding: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
strong.mb-4 {
  display: inline-block;
}
.mb-4 {
  margin-bottom: 4px !important;
}
.mb-16 {
  margin-bottom: 16px !important;
}
.mb-24 {
  margin-bottom: 24px !important;
}
.mb-32 {
  margin-bottom: 32px !important;
}
.show-dt {
  display: block;
}
.va-top {
  vertical-align: top;
}
td strong.text-black {
  margin-bottom: 4px;
  display: inline-block;
}
.text-black {
  color: #000000 !important;
}
.bg-thead {
  background: #F5FAF7 !important;
}
.icw .table-content thead th, .icw .table-content thead td, .icw .table-content tbody td {
  padding-left: 8px !important;
  padding-right: 8px !important;
  border: 1px solid #ddd;
}
/* ===== Custom Scrollbar CSS ===== */

/* ซ่อน scrollbar ของ browser ทั้งหมด */
.table-scrollbar-top {
    display: none;
}

/* Custom Scrollbar Container */
.custom-scrollbar {
    width: 100%;
    /* height: 16px; */
    /* background: #ffffff; */
    /* border-bottom: 1px solid #e0e0e0; */
    /* padding: 4px 0; */
    position: relative;
}

/* Track (รางของ scrollbar) */
.custom-scrollbar-track {
    width: 100%;
    height: 3px;
    background: #d9d9d9;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}
.tableContainer {
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-default.png'), grab;
    user-select: none;
}

.tableContainer:hover {
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-default.png'), grab;
}

.tableContainer.grabbing {
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-drag.png'), grabbing;
}
/* Thumb (แถบที่ลากได้) */
.custom-scrollbar-thumb {
    height: 3px;
    background: #00A94F;
    border-radius: 10px;
    position: absolute;
    left: 0;
    /* cursor: grab; */
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-default.png'), grab;
    transition: background 0.2s ease;
    min-width: 40px;
}

.custom-scrollbar-thumb:hover {
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-default.png'), grab;
    background: #00A94F;
}

.custom-scrollbar-thumb:active {
    /* cursor: grabbing; */
    cursor: url('https://www.kasikornbank.com/SiteCollectionDocuments/personal/article/creditcard/select-best-credit-card/img/icon-hand-drag.png'), grabbing;
    background: #00A94F;
}



/* .qn-content {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

/* Drag Hint Animation */
.drag-hint-overlay {
    position: absolute; 
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.drag-hint-overlay.show {
    opacity: 1;
    flex-direction: column;
    display: flex !important;
}

.drag-hint-overlay.hiding {
    opacity: 0;
}

.drag-hint-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.drag-hint-hand {
    width: 40px;
    height: 50px;
    animation: swipeLeftRight 2s ease-in-out infinite;
}

.drag-hint-text {
    font-size: 14px;
    color: #666;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ===== Style Double สำหรับ Table 2 ===== */
.drag-hint-overlay.style-double {
    position: absolute;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drag-hint-overlay.style-double .hint-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
}

.drag-hint-overlay.style-double .hint-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    height: auto;
}

.drag-hint-overlay.style-double .hint-hand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: auto;
}

.drag-hint-overlay.style-double .hint-static {
    /* รูปนิ่ง - ไม่มี animation */
    width: 40px;
    height: 40px;
}

.drag-hint-overlay.style-double .hint-animate {
    /* รูป animate - ซ้อนอยู่บนรูปนิ่ง */
    position: absolute;
    top: 50%;
    left: 0;
    width: 35px;
    height: 35px;
    animation: swipeLeftRight 2s ease-in-out infinite;
}

@keyframes swipeLeftRight {
    0% {
        transform: translateX(-30px);
    }
    50% {
        transform: translateX(30px);
    }
    100% {
        transform: translateX(-30px);
    }
}

/* เพิ่ม position relative ให้ wrapper */
.table-fade-wrapper {
    position: relative;
    overflow: hidden;
}

.hint-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-top: 0;
    /* padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px; */
}

/* ซ่อน scrollbar ด้านล่างของตาราง */
.table::-webkit-scrollbar {
    display: none;
}

.table {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    padding-inline: 10px;
    padding: 0 4px !important;
}
.icw .table-content {
    /* width: 1200px; */
    width: 100% !important;
    /* box-shadow: none; */
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.1) !important;
}
.icw .a-left {
    text-align: left;
}

.mtb-30 {
    margin: 30px 0;
}

/* Wrapper สำหรับ Fade Effect */
.table-fade-wrapper {
    position: relative;
    overflow: hidden;
}

/* Fade Effects */
/* .table-fade-left,
.table-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
} */
.table-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
}

/* .table-fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
} */

.table-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* .table-fade-left.show,
.table-fade-right.show {
    opacity: 1;
} */
.table-fade-right.show {
    opacity: 1;
}
.table th {
    min-width: 180px;
    vertical-align: top;
}
@media screen and (min-width: 320px) {
    .accordion-content ul, .section ul {
        margin: 5px 15px;
    }
}
@media screen and (max-width: 767px) {
    #bar-product {
        z-index: 999;
    }
    .show-dt {
        display: none;
    }
    .table-fade-wrapper {
    margin-top: 16px;
    }
    .icw .sc-content .qn .qn-content {
    padding-left: 0 !important;
    }
    .icw img {
    border-radius: 3.5px;
    }
    .drag-hint-overlay {
    left: 50%;
    }
}
@media screen and (min-width: 1400px) {
    .sc-hero-banner .image img {
    min-width: 100%;
    }
}