.table-container-match {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.bg-light-custom {
    background-color: #EDEFF9 !important;
}

.tooltip-inner {
    background: white;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7abcff', endColorstr='#4096ee', GradientType=0);
    box-shadow: 0px 1px 1px 1px #393939ff;
    color: #000000ff;

}

.tooltip.top .tooltip-arrow {
    border-top-color: #7abcff;
}

.gallery-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Overlay +N */
.more-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}


.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* MAIN IMAGE */
.gallery-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;

}

.gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    position: relative;
}

.gallery-thumbs a {
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.gallery-thumbs img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    display: block;
    transition: transform .2s ease, opacity .2s ease;
    opacity: 0.85;
}

.gallery-thumbs a:hover img {
    transform: scale(1.05);
    opacity: 1;
}

@media (min-width: 1200px) {

    .product-gallery {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }

    .gallery-main {
        flex: 1 1 auto;
        max-height: 100%;
    }


    .gallery-thumbs {
        flex-direction: column;
        width: 110px;
        overflow-y: auto;
        overflow-x: hidden;
        padding-right: 4px;
    }

    .gallery-thumbs a {
        width: 100%;
    }

    .gallery-thumbs img {
        width: 100%;
        height: 80px;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .gallery-thumbs img {
        width: 110px;
        height: 85px;
    }
}

@media (max-width: 576px) {
    .gallery-thumbs {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .gallery-thumbs img {
        width: 72px;
        height: 56px;
    }
}

.image-sidebar img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: center;
}