body.is-active-builder{
    overflow: hidden;
}
.builder-wrapper {
    display: none;
}
.is-active-builder .builder-wrapper {
    display: block;
    z-index: 99999999999999;
    position: fixed;
    background-color: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
select#pa_tshpc_colour{
    display: none;
    opacity: 0;
}
.tshpc-attribute-list {
    display: flex;
    gap: 15px;
}

.tshpc-attribute-list button {
    padding: 5px;
    border-radius: 100px;
    font-size: 0;
    width: 30px;
    height: 30px;
    position: relative;
    border: none;
    cursor: pointer;
    outline-offset: 3px;
}

button.attribute-option.selected {
    outline: rgb(0, 0, 0) solid 2px;
}

button.tshpc-button.tshpc-customize {
    margin-bottom: 1em !important;
    background-color: #f4fb8f;
    color: #1a202c;
    cursor: pointer;
    font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.196), 1.125rem);
    padding: 16px;
    width: 100%;
}

img#tscanvasimage{
    object-fit: cover;
}

/* disabel size */
.disable-size {
    pointer-events: none;
    opacity: 0.5;
    background-color: rgb(209 213 219 / var(--tw-border-opacity));
    cursor: not-allowed;
}

/* Specifically targeting input and button elements */
.disable-size input{
    pointer-events: none;
    opacity: 0.5;
    background-color: rgb(209 213 219 / var(--tw-border-opacity));
    cursor: not-allowed;
}

.disable-production {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Center the canvas */
.canvas-container {
    margin: auto;
}

/* Cart and Checkout Css */
td.wc-block-cart-item__image img {
    width: 100px;
    height: 110px;
    object-fit: cover;
}

.wc-block-components-totals-fees .wc-block-components-totals-item__label {
    font-size: 14px;
    display: block;
    width: 80%;
    font-weight: 500;
}

.multi-side-print-notice {
    display: none;
    color: #d2d2d2;
}

.multi-side-print-notice.show {
    display: block;
}

#tier-alert img {
    object-fit: contain;
    margin-bottom: auto;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img {
    object-fit: cover;
    width: 100px;
    height: 110px;
    max-width: 100px;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__image {
    width: 100px;
}

.uploadReviewPanelImage {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50px;
}

.clipart-img img:first-of-type {
  max-width: 100%;
  max-height: 100%;
}

#toast-container {
    z-index: 999999999999999 !important; /* Higher than Canvas Builder */
}

#toast-container .toast-title {
    font-weight: 600;
    font-size: 16px;
}

#toast-container .toast-message {
    font-size: 14px;
}

.tshirtColors > div{
    position: relative;
    background-position: center !important;
}

.tshirtColors > div.active::after {
    content: '';
    background-image: url(../img/checkmark.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 60%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: green;
    border-radius: 100%;
}

.tshirtColors > div.express_available::before{
    content: '';
    background-image: url(../img/express.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50%;
    width: 44px;
    height: 44px;
}

.productInfoGallery {
    flex-wrap: wrap;
}

.productInfoGallery > div {
    width: 50px;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(../img/spinner.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: rgb(0 0 0 / 20%);
    z-index: 1;
}

.dropzone { 
    border: none;
    padding: 0;
}

.star-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.star-bg,
.star-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.star-bg {
    background-image: url(../img/star-empty.svg);
    z-index: 1;
}

.star-fill {
    background-image: url(../img/star-full.svg);
    z-index: 2;
}

#PreviewContainer .dz-remove {
    display: none;
}

@media (min-width: 768px) {
    .centerBox {
        left: calc(50% + 3.5rem) !important;
    }
}

/*Keyboard Button Css*/
.key-short {
    border: 1px solid gray;
    border-radius: 5px;
    padding: 5px;
    margin: 0 5px;
}

.tshpc-attribute-list button { outline: 1px #c8c8c8 solid; }

.template-preview-img { object-fit: contain; }

@media (max-width: 767px) {
    #uploadErrorPopup {
        left: 50% !important;
        width: 90% !important;
    }
}

/*Upload Error Popup width added*/
#uploadErrorPopup {
    position: fixed;
    top: 10%;
    left: calc(50% + 3.5rem);
    transform: translate(-50%, -50%);
    width: 50%;
    max-width: 500px;
    background: #fff0f0;
    border: 1px solid #ea2d3f;
    border-radius: 12px;
    padding: 16px;
    z-index: 9999;
}

.regular-production .amount.woocommerce-Price-amount {
    font-weight: 400 !important;
    font-size: 14px !important;
    padding-right: 0 !important;
}

#reviewPanel .total_price {
    font-weight: 900 !important;
    font-size: 1.2em !important;
}