.tableDesc {
    width: 100%;
    border-collapse: collapse;
    color: #444;
}

.tableDesc td,
.tableDesc th {
    padding: 5px;
    font-size: 10pt;
}

.wrapTitel {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.wrapBody {
    background-color: #fff;
    box-shadow: 0 0 5px 2px #00000024;
}

#imgP {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, transform-origin 0.5s ease;
}

.wrapImgp {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    overflow: hidden;
}

.list-thum,
.subp {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 13;
    overflow: scroll;
    background: linear-gradient(90deg, white 30%, rgba(255, 255, 255, 0)),
        linear-gradient(90deg, rgba(255, 255, 255, 0), white 70%) 100% 0,
        radial-gradient(farthest-side at 0% 50%,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 100% 50%,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)) 100% 0;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
    background-attachment: local, local, scroll, scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.list-thum::-webkit-scrollbar,
.subp::-webkit-scrollbar {
    display: none;
    /* Hides the scrollbar */
}

.subp {
    width: 100%;
    height: auto;
    text-align: center;
    overflow: scroll;
}

.wrapList,
.wrapSub {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.list-thum div {
    height: 70px;
    width: 70px;
    margin: 0 10px;
    border-radius: 5px;
    overflow: hidden;
    flex: 0 0 70px;
}

.list-thum div img {
    max-width: 70px;
    max-height: 70px;
    position: relative;
    z-index: 0;
}

.list-thum div:hover {
    border: 1px solid #225162;
}

.subp div.active,
.list-thum div.active {
    border: 1px solid #225162;
}

.subp div.wpp {
    height: 70px;
    width: 140px;
    margin: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 140px;
}

.subp div.wpp:hover {
    border: 1px solid #225162;
}

.subp div.name {
    font-size: 8pt;
    color: #333;
    margin: 0;
    background-color: #dbdbdb;
    height: 70px;
    width: 70px;
    padding: 3px 7px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    word-wrap: break-word;
    overflow: hidden;
}

.subp div img {
    max-width: 70px;
    max-height: 70px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.arrow {
    font-size: 15pt;
    margin: 0 15px;
}

.arrow:hover {
    transform: scale(1.2);
}

.sideNp {
    text-transform: capitalize;
    letter-spacing: 1px;
    font-weight: 700;
    font-size: 20pt;
    color: #444;
    padding: 0 15px;
    border-left: 5px solid #46464685;
}

.topDesc {
    font-weight: 700;
    font-size: 13pt !important;
    color: #444;
    padding-top: 20px !important;
}

#dataProd {
    margin-top: 15px;
    box-shadow: 0 0 5px 2px #00000024;
    border-radius: 20px;
    padding: 20px 20px;
}

.wrapDes {
    height: 400px;
    overflow: scroll;
    background:
        /* Shadow covers */
        linear-gradient(white 30%,
            rgba(255, 255, 255, 0)),
        linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
        /* Shadows */
        radial-gradient(50% 0,
            farthest-side,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)),
        radial-gradient(50% 100%,
            farthest-side,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)) 0 100%;
    background:
        /* Shadow covers */
        linear-gradient(white 30%,
            rgba(255, 255, 255, 0)),
        linear-gradient(rgba(255, 255, 255, 0), white 70%) 0 100%,
        /* Shadows */
        radial-gradient(farthest-side at 50% 0,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)),
        radial-gradient(farthest-side at 50% 100%,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0)) 0 100%;
    background-repeat: no-repeat;
    background-color: white;
    background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
    /* Opera doesn’t support this in the shorthand */
    background-attachment: local, local, scroll, scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.zoomed {
    transform: scale(3);
    cursor: zoom-out;
}

#zoom-box {
    position: absolute;
    border: 1px solid #000;
    /* Warna dan ketebalan garis kotak */
    width: 100px;
    /* Lebar kotak */
    height: 100px;
    /* Tinggi kotak */
    pointer-events: none;
    /* Menghindari kotak dari interaksi mouse */
    display: none;
}

.form-check {
    display: flex;
    align-items: center;
}

#gallery {
    display: grid;
    gap: 10px;
    padding: 10px;
    align-items: stretch;
}

.nameL {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 40px;
}

#filList {
    display: grid;
    gap: 10px;
    padding: 10px;
    align-items: stretch;
}

@media screen and (min-width: 320px) {
    #gallery {
        grid-template-columns: 1fr 1fr;
    }

    #filList {
        grid-template-columns: 1fr;
    }

    .desc {
        font-size: 0.75rem;
    }

}

@media screen and (min-width: 760px) {
    #gallery {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .desc {
        font-size: .8rem;
    }
    #filList {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (min-width: 1000px) {
    #gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .desc {
        font-size: 0.9rem;
    }

    #filList {
        grid-template-columns: 1fr 1fr 1fr;
    }
}