canvas,
#js-image-preview {
    border: none !important
}

#pod-module-content .top-button {
    display: none;
}

body.custom-design {
    overflow: hidden;
}

#pod-module-content .custom-product-popup-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 99999999999999;
}

#pod-module-content .custom-product-popup-wrapper.active {
    display: block;
}
#pod-module-content .custom-product-popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(11, 11, 11, 0.4);
}

#pod-module-content .variant-select {
    background-color: var(--white);
    border: 2px solid var(--flash);
    border-radius: 44px;
    height: 50px;
    display: inline-block;
    font-size: 16px;
    padding: var(--small-padding) 10px;
    width: 100%;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 21px) var(--middle-padding), calc(100% - var(--middle-padding)) var(--middle-padding), calc(100% - var(--middle-padding));
    background-size: 5px 5px, 5px 5px, 1px calc(100% - var(--middle-padding));
    background-repeat: no-repeat;
}

#pod-module-content .variant-select:focus {
    background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%);
    background-position: calc(100% - var(--middle-padding)) 1em, calc(100% - 21px) 1em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    border-color: 0 0 0 3px rgb(96 113 236 / 10%);
    /* box-shadow: 0 0 0 3px rgb(96 113 236 / 50%) */
}

#pod-module-content .custom-product-popup-content {
    background-color: #fff;
    width: 98%;
    max-width: 1200px;
    margin: 2vh auto;
    position: relative;
    z-index: 2;
    border-radius: 5px;
    padding: 8px;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 10%);
}

#pod-module-content .close-update-item:hover {
    color: var(--black);
}

#pod-module-content .custom-product-popup-item-head {
    font-size: 24px;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 12px
}

#pod-module-content .avatar-upload {
    padding: 10px;
    width: calc(100% / 3);
    display: inline-block;
    position: relative;
}

#pod-module-content .avatar-upload input {
    display: block;
    margin-left: 0;
    width: 100%;
    cursor: pointer;
    height: 100%;
    opacity: 0;
    position: absolute;
}

#pod-module-content .add-images {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#pod-module-content .is-upload-design {
    justify-content: center;
    background: #fff;
}
[ng\:cloak], [ng-cloak], .ng-cloak {
    display: none !important;
}

#pod-module-content .custom-product-popup-variant-heading {
    font-weight: 500;
    display: block;
}

#pod-module-content .variant-select option {
    padding: 4px 0
}


#pod-module-content .custom-product-popup-radio-selector__radio {
    opacity: 0;
    position: fixed;
}

#pod-module-content .custom-product-popup-radio-name {
    min-width: 44px;
    height: 44px;
    border-radius: 50px;
    border: 2px solid var(--flash);
    padding: 2px;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: var(--trans);
    padding: 0.4rem 1rem;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    margin-right: 0.5rem;
    justify-content: center;
    align-items: center;
}

#pod-module-content .custom-product-popup-radio-input:checked ~ .custom-product-popup-radio-name{
    background-color: var(--primary-dk);
    border-color: var(--white);
    color: var(--white);
    /* box-shadow: 0 0 0 3px var(--secondary); */
}


.btn-custom-preview {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    font-family: inherit;
    -webkit-appearance: none;
    line-height: 1;
    cursor: pointer;
    outline: none;
    background-color: #6071ec;
    font-weight: 500;
    min-width: 130px !important;
    padding: 1rem 2.4rem;
    border-radius: var(--large-padding);
    color: #fff;
    font-size: 16px;
    order: 4;
    width: 100%;
}

.btn-custom-preview:hover {
    color: #fff;
}

#pod-module-content .button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    border: 1px solid transparent;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
    font-family: inherit;
    -webkit-appearance: none;
    line-height: 1;
    cursor: pointer;
    outline: none;
    background-color: var(--gray);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: var(--large-padding);
    color: #fff;
    font-size: 15px;
}

#pod-module-content .add-text-button {
    position: sticky;
    bottom: 0;
    left: 0;
    z-index: 11;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem;
}

#pod-module-content .button-success {
    background-color: #6071ec;
    color: #fff;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2.4rem
}

#pod-module-content .button-success:focus {
    box-shadow: 0 0 0 3px rgba(96, 113, 236, 0.3)
}


#product-slider-wrapper {
    width: 100%;
}
#pod-module-content .custom-product-popup-info {
    position: relative;
}

#pod-module-content .product-gallery-control {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    background-color: #fff;
}

#pod-module-content .custom-product-popup-info {
    width: 100%;
}

#pod-module-content .control-button {
    width: 100%;
    padding: 6px 4px;
    text-align: center;
    cursor: pointer;
    border-radius: 3px;
    margin-bottom: 1rem;
    font-weight: 400;
    user-select: none;
}

#pod-module-content .control-button[disabled="disabled"] {
    opacity: 0.75;
    pointer-events: none;
}

#pod-module-content .control-button:hover {
    background-color: #f9f9f9;
}

#pod-module-content .control-button.active {
    background-color: #1e80b8;
    color: #fff;
    cursor: default;
}

#pod-module-content .control-button.active svg {
    fill: #fff;
}

#pod-module-content .control-text {
    font-weight: 500;
    font-size: 12px;
}

#pod-module-content .tab-pane {
    display: none;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0 4px;
}

#pod-module-content .tab-pane.active {
    display: block;
}

#pod-module-content .tab-pane .form-control {
    border-radius: 25px;
    border-width: 2px;
    padding: 0.8rem;
}

textarea {
    resize: none;
}

#pod-module-content .form-group {
    margin: 10px 0;
}

#pod-module-content .font-list {
    height: 200px;
    overflow-y: auto;
}

#pod-module-content .font-item {
    font-size: 27px;
    padding: 5px 10px;
    cursor: pointer;
    border: 1px solid #d1d1d1;
    margin: 2px 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#pod-module-content .font-head {
    margin-top: 5px;
}

#pod-module-content .font-item.active {
    border: 2px solid var(--secondary-dk);
}

#pod-module-content .color-item {
    width: 30px;
    height: 30px;
    display: inline-flex;
    border: 1px solid black;
    margin: 3px;
    position: relative;
    cursor: pointer;
}
#pod-module-content .color-item:hover, .color-item.active {
    outline: 2px solid var(--secondary-dk);
    border: 1px solid #fff;
}

#pod-module-content .color-item .line {
    width: 135%;
    height: 100%;
    border-bottom: 2px solid #fa0000;
    -webkit-transform: translateY(50px) translateX(5px) rotate(135deg);
    -ms-transform: translateY(50px) translateX(5px) rotate(135deg);
    -o-transform: translateY(50px) translateX(5px) rotate(135deg);
    transform: translateY(50px) translateX(5px) rotate(135deg);
    position: absolute;
    top: -40px;
    left: 0;
}


#pod-module-content .product-variant-heading.menu-toggle {
    position: relative;
    padding: 10px 5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    cursor: pointer;
}
#pod-module-content .product-variant-heading.menu-toggle .product-variant-heading-name {
    margin-right: 4px;
}


#pod-module-content .menu-content {
    display: none;
}

#pod-module-content .menu-toggle.active .nav-menu-icon {
    transform: rotate(90deg);
}

#pod-module-content .menu-toggle.active + .menu-content {
    display: block;
}

#pod-module-content .menu-toggle .nav-menu-icon {
    position: absolute;
    right: 10px;
}

#pod-module-content .mt-20 {
    margin-top: 20px;
}

#pod-module-content .form-button {
    padding: 10px 5px;
}

#pod-module-content .aligment {
    position: absolute;
    bottom: 0;
    opacity: 1;
    display: flex;
    padding: 5px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: rgb(214 214 214 / 63%);
}

#pod-module-content .aligment:hover {
    opacity: 1;
}

#pod-module-content .layering {
    width: fit-content;
    justify-content: center;
    padding: 0 5px;
    display: flex;
}

#pod-module-content .text-alignment {
    width: fit-content;
    justify-content: center;
    padding: 0 5px;
    display: flex;
}

#pod-module-content .control {
    width: fit-content;
    justify-content: center;
    padding: 0 5px;
}

#pod-module-content .aligment img {
    width: 35px;
    cursor: pointer;
    padding: 5px;
    margin: 5px;
}

#pod-module-content .text-alignment a.active {
    border: 2px solid var(--secondary-dk);
}

#pod-module-content .tab-pane-content {
    padding: 10px 5px;
}
#pod-module-content .upload-section {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pod-module-content .product-gallery-item.is-upload-design {
    position: relative;
}

#pod-module-content .text-alignment.disabled {
    pointer-events: none;
    opacity: 0.4;
}

#pod-module-content .product-variant-heading-name {
    font-weight: 300;
}

#pod-module-content .nav-menu-icon {
    margin-left: auto;
}

#pod-module-content .product-variant-heading-value {
    font-weight: 500;
    text-transform: capitalize;
}

#pod-module-content .product-variant-heading-value.font {
    font-size: 25px;
}

#pod-module-content .lds-dual-ring {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
}
#pod-module-content .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid #aaa;
    border-color: #aaa transparent #aaa transparent;
    animation: lds-dual-ring 800ms linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#pod-module-content .upload-title {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
}


#pod-module-content .custom-product-popup-action-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 234;
    background-color: #fff;
    padding: 10px;
}

#pod-module-content .custom-price {
    color: #C52C29;
    font-weight: 500;
    font-size: 19px;
}

#pod-module-content .custom-high-price {
    color: #888;
    font-weight: 300;
    text-decoration:line-through;
}

#pod-module-content .custom-product-popup-action-wrapper .button-add-to-cart {
    background-color: #ff5965;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-radius: var(--large-padding);
    color: var(--white);
    font-size: 14px;
    min-width: 80px !important;
}


#pod-module-content .custom-product-popup-action-wrapper .button-add-to-cart:hover {
    background-color: #cc2d38;
}
#pod-module-content .custom-product-popup-action-wrapper .button-add-to-cart.is-loading {
    background-color: #F2F2F6;
}

#pod-module-content .custom-product-popup-action-wrapper .button-add-to-cart.is-added {
    background-color: #47CCCC;
}
#pod-module-content .custom-product-control {
    display: block;
    width: 70px;
    padding: 7px 0;
    line-height: 1.2857143;
    background-color: var(--white);
    background-image: none;
    border: 1px solid var(--flash);
    border-radius: 3px;
    margin: 0 6px;
    font-size: 16px;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    background-clip: padding-box;
    transition: border .2s ease-in-out,background-color .2s ease-in-out;
    border-radius: 25px;
    border-width: 2px;
    padding: 0.8rem;
    text-align: center;
}

#pod-module-content .custom-product-popup-info {
    padding-bottom: 100px;
}

.product-slider-wrapper + .button-add-to-cart, .product-variant-box .button-add-to-cart {
    display: none !important;
}

#pod-module-content .custom-product-control {
    display: block;
    width: 100px;
    padding: 0.6rem 1rem;
    margin: 0.5rem;
    line-height: 1.2857143;
    background-color: #fff;
    background-image: none;
    border-radius: 5px;
    font-size: 1.05rem;
    border: 2px solid #d1d1d1;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

#pod-module-content .custom-product-control:focus {
    border-color: #2792ce;
    outline-color: #2792ce
}
#pod-module-content .custom-product-popup-radio-label {
    display: inline-flex;
    margin-bottom: 10px;
}

.custom-product-popup-variant-item-box .custom-product-popup-radio-name,
.custom-product-popup-variant-item-box .variant-image-item:not(.choose-style-variant) {
    background-color: #fff;
    color: var(--primary);
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #e1e1e1;
    cursor: pointer;
    user-select: none;
    border-radius: 45px;
    padding: 0.5rem 12px;
    margin: 0 0.5rem 0.5rem 0;
}

#pod-module-content .custom-product-popup-radio-input:checked ~ .input-type-radio::before {
    background-color: #19124f;
    opacity: 1;
}

#pod-module-content .custom-product-popup-radio-label:hover .custom-product-popup-radio-name {
    background-color: #f5f5f5
}

#pod-module-content .custom-product-popup-radio-label.active .custom-product-popup-radio-input ~ .custom-product-popup-radio-name {
    background-color: #07002f;
    border-color: #07002f;
    color: #fff;
}

#pod-module-content .custom-product-popup-choose-image-variant {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    height: 44px;
    border-radius: 50px;
    border: 2px solid #e1e1e1;
    padding: 2px;
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: rgba(11, 11, 11, 0.1);
}

#pod-module-content .custom-product-popup-choose-image-variant {
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 16px;
}

#pod-module-content .custom-product-popup-choose-image-variant:last-child {
    margin-right: 0;
}
#pod-module-content .custom-product-popup-choose-image-variant img {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    object-fit: cover;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

#pod-module-content .custom-product-popup-choose-image-variant:hover {
    border-color: #19124f;
}

#pod-module-content .custom-product-popup-choose-image-variant.active {
    border: 2px solid #ff4e00
}

#pod-module-content .variant-select {
    background-color: var(--white);
    border: 2px solid var(--flash);
    border-radius: 44px;
    height: 50px;
    display: inline-block;
    font-size: 16px;
    padding: var(--small-padding) 10px;
    width: 100%;
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 21px) var(--middle-padding), calc(100% - var(--middle-padding)) var(--middle-padding), calc(100% - var(--middle-padding));
    background-size: 5px 5px, 5px 5px, 1px calc(100% - var(--middle-padding));
    background-repeat: no-repeat;
}

#pod-module-content .variant-select:focus {
    background-image: linear-gradient(45deg, green 50%, transparent 50%), linear-gradient(135deg, transparent 50%, green 50%);
    background-position: calc(100% - var(--middle-padding)) 1em, calc(100% - 21px) 1em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    border-color: 0 0 0 3px rgb(96 113 236 / 10%);
    /* box-shadow: 0 0 0 3px rgb(96 113 236 / 50%) */
}

#pod-module-content .custom-product-popup-variant-item-box {
    margin-top: 0.8rem;
}
#pod-module-content .custom-product-popup-variant-heading {
    font-weight: 500;
    display: block;
}

.create-your-own-message {
    font-size: 12px;
    font-weight: 400;
    padding: 6px 18px 6px 0;
    text-align: justify;
    opacity: 0.8;
    color: #ff7300;
    font-style:italic

}

[lang=jp] .create-your-own-message {
    font-size: 14px;
}


.product-variant-item-box {
    display: none !important;
    pointer-events: none
}

.customize-qty {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
}

.qty-control {
    width: 100%;
    padding-left: 30px;
    display: flex;
    justify-content: center;
    align-items: stretch;
}
.qty-control .input-number {
    margin: 0 4px;
    background-image: none;
    border-radius: 24px;
    height: 42px;
    border: 2px solid var(--flash);
    text-align: center;
}

.qty-control .input-number:focus,
.qty-control .input-number:active {
    border-color: var(--primary-lt);
}
.qty-control .btn-number:focus,
.qty-control .btn-number:active {
    background-color: var(--primary-lt);
    color: #fff;
}


.qty-control .btn-number {
    border-radius: 24px;
    background-color: var(--light);
    min-width: 42px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 42px;
    color: var(--primary);
}

@media (min-width: 1024px) {
    #pod-module-content .customDesign-content {
        max-height: 85vh;
        overflow-y: scroll;
    }
}
#pod-module-content .custom-product-popup-action-wrapper .button-add-to-cart {
    padding: 0 1.3rem;
    height: 44px;
    position: relative;
}


body.custom-design .button-add-to-cart {
    height: 44px;
}
body.custom-design .button-add-to-cart .loading-search::before {
    position: absolute;
    top: calc(50% - 11px);
    left: calc(50% - 11px);
}


#pod-module-content .custom-product-popup-update-subtotal {
    color: #C52C29;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0 5px;
}
#pod-module-content .frame-container {
    position: absolute !important;
    z-index: 200;
}

#pod-module-content .frame-container:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    border: 2px black dashed;
    z-index: 150;
}

#pod-module-content .frame-container .canvas-container {
    z-index: 200;
}

#js-image-background {
    position: relative;
    z-index: 150;
    width: 615px;
    height: 615px;
}

#pod-module-content .aligment {
    z-index: 200;
}

.addtocart-action-wrapper .product-custom-buttons {
    margin-left: auto;
}

.addtocart-action-wrapper .product-custom-buttons .btn-custom-preview {
    font-size: 14px;
    white-space: nowrap;
    padding: var(--pr-spacing-04);
}
.addtocart-action-wrapper.desktop .product-custom-buttons .btn-custom-preview {
    width: 100%;
}

.product-left-wrapper .product-addtocart {
    display: none !important;
}

.product-gallery-container .product-addtocart {
    display: none !important;
}

.product-nocustom-box .review-link-box {
    transform: unset !important;
}

.product-left-wrapper > .button-add-to-cart {
    display: none !important;
}

@media (max-width: 1024px) {
    #pod-module-content .customDesign-content {
        max-height: 80vh;
        overflow-y: scroll;
    }
    #pod-module-content .aligment > * {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #product-slider-wrapper {
        display: block;
    }

    #pod-module-content .product-gallery-item.is-upload-design {
        display: block;
        height: auto;
    }

    #pod-module-content .product-gallery-control {
        display: block;
    }

    .btn-custom-preview, .btn-custom-preview + .custom-product-popup-action-wrapper .button-add-to-cart {
        padding: 0.8rem 1.5rem
    }

    #pod-module-content .tab-pane {
        height: auto;
        min-height: 300px;
    }

    #pod-module-content .product-custom-buttons {
        margin-bottom: 1rem;
    }
    .product-custom-buttons .btn-custom-preview {
        width: 100%;
        padding: 1rem 1.3rem !important;
    }

    #pod-module-content .control-button svg {
        height: 36px;
    }

    #pod-module-content .control-icon {
        height: 40px;
    }

    #pod-module-content .tab-pane textarea.form-control {
        height: 100px;
        resize: none;
    }

}

#pod-module-content .preview-container {
    position: relative;
    height: fit-content;
}

#pod-module-content .custom-product-popup-variant-wrapper {
    padding-bottom: 6px;
}

#pod-module-content .flex-row {
    flex-direction: row;
    vertical-align: middle;
    align-items: center;
}

@media (max-width: 992px) {
    #pod-module-content .upload-file-box {
        display: flex;
        align-items: stretch;
        border-radius: 4rem;
        border: 1px solid #6071ec;
        margin: 0.6rem 0.6rem 1.5rem;
        padding: 0;
    }

    #pod-module-content .upload-file-box > * {
        margin: 0 !important;
        display: block;
    }

    #pod-module-content .upload-file-box label {
        padding: 0.4rem 1rem !important;
        width: 100%;
    }
    #pod-module-content .upload-file-box svg {
        min-width: 32px;
        height: 32px;;
    }

    #pod-module-content .upload-file-box  .upload-section {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.6rem;
    }

    #pod-module-content .addtocart-action-wrapper svg {
        display: none;
    }

    .btn-custom-preview {
        margin-left: 0.4rem
    }

    #pod-module-content .lds-dual-ring {
        width: 30px;
        height: 30px;
    }
    #pod-module-content .lds-dual-ring:after {
        width: 30px;
        height: 30px;
    }

    #pod-module-content .custom-product-popup-content {
        width: 100%;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: fixed;
        top: 0;
        border-radius: 0;
        margin: 0;
    }

    #pod-module-content .custom-product-popup-item-link img {
        margin: 0 auto;
    }

    #pod-module-content .upload-title {
        font-size: 1.3rem;
    }

    #pod-module-content .custom-product-popup-action-wrapper {
        position: fixed;
        top: auto;
        bottom: 0;
        min-height: 70px;
        padding: 10px;
        box-shadow: 0 3px 4px -1px rgb(0 0 0 / 20%), 0 5px 10px 0px rgb(0 0 0 / 14%), 0 1px 12px 0px rgb(0 0 0 / 10%);
    }

    #pod-module-content .custom-product-popup-item-head {
        display: none;
    }

    #pod-module-content .close-update-item {
        top: auto;
        bottom: 0;
        z-index: 235;
        position: fixed;
        color: #aaa;
        font-weight: 300;
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pod-module-content .custom-product-control {
        width: 70px;
        margin: 0 0.5rem;
    }



    #pod-module-content .control-sidebar {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #pod-module-content .custom-product-popup-info .add-to-cart-content svg {
        display: none !important
    }
    #pod-module-content .custom-product-popup-item-link {
        display: flex;
        justify-content: center;
    }

    .product-custom-buttons .btn-custom-preview {
        margin: 0;
    }

}


@media (min-width: 780px) {
    #pod-module-content .control-sidebar {
        width: 105px;
        padding: 6px;
        display: flex;
        justify-content: flex-start;
        flex-direction: column;
        text-align: center;
    }

    #pod-module-content .custom-product-popup-item-link {
        width: calc(100% - 105px);
        min-height: 480px;
    }

    #pod-module-content .product-gallery-control {
        width: 720px;
        display: flex;
    }

    #pod-module-content .custom-product-popup-info {
        width: calc(100% - 720px);
        padding-left: 1rem;
    }

}

@media (min-width: 992px) {

    #pod-module-content .upload-file-box {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
        color: var(--dark);
        padding: 1rem;
        border: 2px solid var(--flash);
        margin: 0.5rem 0;
        border-radius: 5px;
        cursor: pointer;
        transition: var(--trans);
    }

    #pod-module-content .upload-file-box:hover svg {
        fill: var(--primary-lt)
    }
    #pod-module-content .upload-file-box:hover {
        border-color: var(--primary-lt)
    }

    #pod-module-content .upload-file-box label {
        color: var(--primary);
        padding: 0 !important
    }

    #pod-module-content .form-group.upload-section {
        margin: 0;
    }
    #pod-module-content .form-group.upload-section svg {
        width: 64px;
        height: 64px;
    }

    #pod-module-content .lds-dual-ring {
        margin-bottom: 15px;
    }
}

@media (min-width: 760px) and (max-width: 990px) and (orientation: portrait), (min-width: 780px) and (max-width: 1000px) and (orientation: landscape) {
    #pod-module-content .product-gallery-control {
        display: flex;
        width: 452px;
    }
    #pod-module-content .control-sidebar {
        width: 90px;
        padding-right: 7px;
        flex-direction: column;
        justify-content: flex-start;
    }

    #pod-module-content .upload-title {
        font-size: 6px;
        pointer-events: none;
        visibility: hidden;
    }

    #pod-module-content .custom-product-popup-item-link {
        width: calc(100% - 90px);
    }

    #pod-module-content .custom-product-popup-info {
        width: calc(100% - 452px);
        padding-left: 1rem;
    }

    #pod-module-content .custom-product-popup-content {
        width: 98vw;
        left: 1vw;
        top: 1vw;
        border-radius: 5px;
        height: fit-content;
    }

}

@media (min-width: 780px) and (max-width: 1024px) and (orientation: landscape)  {
    #pod-module-content .product-gallery-control {
        width: 560px;
    }

    #pod-module-content .custom-product-popup-info {
        width: calc(100% - 560px);
        padding-left: 1rem;
    }

}

@media (max-width: 760px) and (orientation: portrait), (min-width: 700px) and (max-width: 990px) and (orientation: landscape) {
    #pod-module-content .custom-product-popup-content {
        padding: 8px 0;
    }

    #pod-module-content .control-sidebar {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        position: sticky;
        top: 61px;
        left: 0;
        width: 100%;
        z-index: 234;
        background: #fff;
        padding: 7px;
    }

    #pod-module-content .close-update-item {
        display: none;
        pointer-events: none;
        opacity: 0
    }

    #pod-module-content .control-button {
        margin-bottom: 0;
    }

    #pod-module-content .upload-title {
        visibility: hidden;
        font-size: 12px;
        pointer-events: none;
        opacity: 0;
        display: none;
    }
    #pod-module-content .upload-title + .form-group {
        margin-top: 0;
    }

    #pod-module-content .close-popup {
        background-color: #fff;
        width: 40px;
        padding-left: 4px;
        padding-right: 4px;
        opacity: 0.6
    }

    #pod-module-content .upload-file-box {
        margin: 0;
        border-width: 2px;
        border-color: var(--flash);
    }

    #pod-module-content .custom-product-popup-action-wrapper {
        box-shadow: 0 1px 2px -1px rgb(0 0 0 / 10%), 0 1px 3px 0px rgb(0 0 0 / 6%), 0 1px 6px 0px rgb(0 0 0 / 10%);
        top: 0;
        bottom: auto;
    }

    #pod-module-content .product-gallery-control {
        padding-top: 60px;
    }

    #pod-module-content .custom-product-popup-info {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 8px;
        overflow-x: hidden;
    }

    #pod-module-content .control-icon {
        height: 32px;
    }

    #pod-module-content .control-icon svg {
        height: 32px;
    }

    #pod-module-content .aligment {
        top: auto;
        bottom: 0;
    }

    #pod-module-content .top-button {
        padding: 10px 6px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #pod-module-content .top-button svg {
        width: 22px;
        height: 22px;
        color: #666;
    }

    #pod-module-content .top-button.down svg {
        transform: rotate(180deg);
    }

    #pod-module-content .canvas-container canvas {
        touch-action: auto !important;
        user-select: all !important;
        cursor: move !important;
    }
}


@media (min-width: 700px) and (max-width: 990px) and (orientation: landscape) {
    #pod-module-content .control-sidebar {
        width: 100px;
        height: 100%;
        z-index: 345;
    }

    #pod-module-content .control-button {
        margin: 0.4rem 0;
    }
    #pod-module-content .close-popup {
        width: auto;
    }

}

@media (min-width: 760px) and (max-width: 990px) {
    #pod-module-content .custom-product-popup-content {
        width: 100vw;
        left: 0;
        top: 0;
        height: 100vh;
        border-radius: 0;
    }
}
@media (width: 1024px) {
    #pod-module-content .tab-pane {
        max-height: 500px
    }

}
