:root {
    --black-color: var(--theme-palette-color-4);
    --green-color: var(--theme-palette-color-1);
    --primary-color: var(--theme-palette-color-11);
    --light-red-color: var(--theme-palette-color-12);
}

.pdf2pi-left-div,
.pdf2pi-right-div {
    display: block;
    width: 100%;
}

.pdf2pi-product-area {
    display: block;
    margin-bottom: 30px !important;
    position: relative;
    width: 100%;
}

.pdf2pi-right-div {
    margin-top: 10px;
    max-height: 90%;
    min-height: 510px;
    overflow: scroll;
    /* scrollbar-width: none !important;
    -ms-overflow-style: none !important;  */
}

/* .pdf2pi-right-div::-webkit-scrollbar {
    display: none !important;
} */

/* Custom scrollbar styling for WebKit browsers */
.pdf2pi-right-div::-webkit-scrollbar {
    height: 4px; /* Set scrollbar height for horizontal scroll */
    width: 0; /* Set scrollbar width for vertical scroll */
}

.pdf2pi-right-div::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* Color of the scroll thumb  */
    border-radius: 20px; /* Roundness of the scroll thumb */
}

.pdf2pi-right-div::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Background of the scrollbar track */
    padding: 0 10px;
}

@media screen and (min-width: 922px) {
    .pdf2pi-left-div {
        display: inline-block;
        width: 55%;
    }

    .pdf2pi-right-div {
        display: inline-block;
        padding-left: 10px;
        position: absolute;
        top: 0;
        width: 43%;
    }
}

.pdf2pi-right-table {
    width: 100% !important
}

.pdf2pi-right-table td {
    background-color: white;
    border: none;
    border-bottom: 1px solid var(--theme-border-color);
    font-family: inherit;
    font-size: 14px !important;
    padding: 0 6px !important;
    text-align: center;
    text-transform: uppercase;
}

.pdf2pi-right-table tr:nth-child(even) td {
    background-color: var(--theme-palette-color-6);
}

.pdf2pi-right-table tr:hover td {
    background-color: var(--light-red-color);
}

.pdf2pi-right-table th {
    background-color: var(--primary-color);
    border: none;
    color: white;
    font-family: inherit;
    font-size: inherit;
    padding: 6px 15px;
    text-align: center;

}

.pdf2pi-right-table th span {
    margin-top: 2px;
}

.pdf2pi-red-select {
    background-color: var(--light-red-color) !important;
    border: none;
    color: white !important;
}

.pdfpi-qty input[type="number"]::-webkit-inner-spin-button {
    opacity: 1;
}

.pdfpi-qty input[type="number"] {
    padding: 8px;
    width: 70px;
}

.pdfpi-qty button {
    background-color: transparent !important;
    border-color: transparent !important;
    border-radius: 15px;
    color: #292f36;
    padding: 8px;
}

.quick-cart-div {
    align-items: center;
    display: flex;
}


#pdf2pi-product-table {
    background-color: white;
    border: none;
    display: table;
    padding: 5px 20px 0;
    width: 100%;
}

#pdf2pi-product-table td {
    border: none;
    border-bottom: 1px solid #dfdfdf;
    font-size: 15px;
    padding: 4px 10px !important;
    padding-left: 20px !important;
    text-align: left;
}

#pdf2pi-product-table td:nth-child(odd) {
    font-weight: bold;
}

#pdf2pi-product-table th {
    background-color: var(--primary-color);
    border: none;
    border-bottom: 1px solid #dfdfdf;
    color: white;
    padding: 5px !important;
    text-align: center;
}

#pdf2pi-product-table input[type="number"] {
    border-radius: 10px;
    padding: 5px !important;
    width: 80px;
}

#pdf2pi-product-table textarea {
    border-radius: 10px;
    height: 70px !important;
    margin: 0 !important;
    width: 100%;
}

#pdf2pi-product-model {
    padding: 0 10px;
}

#pdf2pi-product-model .modal-content-sm {
    padding: 0;
}

#pdf2pi-product-model .pdf2pi-title {
    background-color: var(--primary-color);
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    padding: 10px;
    text-align: center;
}

#pdf2pi-product-model .close {
    color: white;
}

.pdf2pi-bottom-area button {
    background-color: var(--primary-color);
    border: 1px solid rgba(62, 62, 62, 0.48);
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 15px;
    margin-right: 10px;
    padding: 5px 20px !important;
    text-transform: uppercase !important;

}

.pdf2pi-bottom-area .pdf2pi-modal-close {
    background-color: white !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.pdf2pi-bottom-area button:hover {
    background-color: #932f20;
}

.pdf2pi-bottom-area {
    margin-bottom: 35px;
    margin-top: -10px !important;
}

.pdf2pi-modal-add-cart {
    /* width: 200px; */
}

.pdf2pi-modal-close {
    position: unset !important;
    width: 150px;
}

#pdf2pi-csv-table {
    border: none;
    padding: 20px 10px 0;
    width: 100% !important;
}

#pdf2pi-csv-table td {
    background-color: white;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 7px 0 !important;
    text-align: center;
}

#pdf2pi-csv-table th {
    background-color: var(--black-color);
    border: none;
    color: white;
    font-family: inherit !important;
    font-size: 14px !important;
    padding: 7px 0;
    text-align: center;

}

#pdf2pi-note textarea, #pdf2pi-qty input {
    padding-left: 2px !important;
}

.pdf2pi-product,
body.pdf2pi-view-product .product-entry-wrapper {
    @media (min-width: 1000px) {
        align-items: stretch;
        display: flex;
        justify-content: flex-start;
    }
}

body.pdf2pi-view-product {
    @media (min-width: 1000px) {
        .product-entry-wrapper {
            --product-gallery-width: 50%;
        }
    }
}

.product-entry-wrapper .entry-summary:last-of-type {
    display: none;
}

.wd-sticky-btn {
    display: none !important;
}

#pdf2pi-image-canvas-parent {
    align-items: center;
    display: flex;
    height: 100%;
    overflow: auto; /* Hide overflow */
}

#pdf2pi-image-canvas {
    position: sticky;
    transition: transform 0.1s ease;
}

/* Custom scrollbar styling for WebKit browsers */
#pdf2pi-image-canvas-parent::-webkit-scrollbar {
    height: 0; /* Set scrollbar height for horizontal scroll */
    width: 0; /* Set scrollbar width for vertical scroll */
}

/* .wd-header-cart .wd-tools-text, .wd-header-cart .wd-tools-icon .wd-cart-number {
    display: none;
} */

.cart-widget-side, .wd-close-side {
    display: none !important;
}

.pdf2pi-image-buttons button {
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--theme-border-color);
    display: inline-flex;
    justify-content: center;
    padding: 8px;
}

.pdf2pi-image-buttons svg {
    height: 20px;
    width: 20px;
}

.pdf2pi-right-table svg {
    height: 24px;
    vertical-align: middle;
    width: 24px;
}

.pdfpi-qty button {
    align-items: center;
    display: flex;
    justify-content: center;
}
