:root {
    /*1920 default*/
    --step-sidebar-width: 156px;
    --top-bar-height: 106px;
    --bottom-bar-height: 106px;
    --logo-width: 78px;
    --step-button-height: 81px;
    --step-button-text-line-height: 22px;
    --step-button-text-font-size: 14px;
    --step-container-width: 342px;
    --step-upload-image-list-height: 120px;
    --canvas-container-wrapper-border-width: 40px;
}

body {
    font-family: 'Nunito', sans-serif;
    color: #33271E;
}

html,body
{
    min-width: 375px;
    width: 100%;
}


#artCanvas .top-bar {
    height: var(--top-bar-height);
    background: linear-gradient(162deg, #FFF 0%, rgba(226, 226, 226, 0.24) 100%);
    box-shadow: 22px 22px 33px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(27px);
    border-bottom: 2px solid rgba(226, 226, 226, 0.40);
}

#artCanvas .logo-container {
    display: flex;
    width: var(--step-sidebar-width);
    height: 100%;
    justify-content: center;
    border-right: 2px solid rgba(226, 226, 226, 0.40);
}

#artCanvas .logo-container img {
    width: var(--logo-width);
}

#artCanvas .main-content {
    height: calc(100vh - var(--top-bar-height) - var(--bottom-bar-height));
}

#artCanvas .step-container {
    width: var(--step-sidebar-width);
    border-right: 2px solid rgba(226, 226, 226, 0.40);
    flex-direction: column;
    background: linear-gradient(183deg, rgba(255,255,255, 0.6) 0%, rgba(217, 217, 217, 0.24) 100%);
    box-shadow: 22px 22px 33px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(27px);
}

#artCanvas .work-area-container {
    flex: 1;
}

#artCanvas .step-container .js-step {
    height: var(--step-button-height);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.5;
}

#artCanvas .btn-style-def,
#artCanvas .step-container .js-step,
#artCanvas .step-container .js-step img {
    transition: all 0.2s ease-in-out;
}

#artCanvas .step-container .js-step .art-canvas-step {
    gap: 5px;
}

#artCanvas .step-container .js-step .art-canvas-step span {
    line-height: var(--step-button-text-line-height);
    font-size: var(--step-button-text-font-size);
}

#artCanvas .step-container .js-step.checked{
    background: #33271E;
    color: white;
    opacity: 1;
}

#artCanvas .step-container .js-step:not(.checked):hover {
    opacity: 0.7;
}

#artCanvas .step-container .js-step.checked img{
    filter: brightness(0) saturate(100%) invert(99%) sepia(5%) saturate(46%) hue-rotate(6deg) brightness(113%) contrast(100%);
}

#artCanvas .step-content-container {
    width: var(--step-container-width);
    padding: 24px;
    background: linear-gradient(183deg, rgba(255, 255, 255, 0.6) 0%, rgba(217, 217, 217, 0.24) 100%);
    box-shadow: 22px 22px 33px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(27px);
}

#artCanvas .canvas-container {
    flex: 1;
}

#artCanvas .canvas-container .canvas-container-wrapper {
    display: flex;
    height: 100%;
    width: 100%;
    flex-direction: column;
    /*min-height: calc(100vh - var(--top-bar-height) - var(--bottom-bar-height));*/
    justify-content: center;
    align-items: center;
    background: #F8F8F8;
    border: var(--canvas-container-wrapper-border-width) solid #fff;
    position: relative;
}

#artCanvas .canvas-container .additional-options-toolbar{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1000px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(25px);
    position: absolute;
    gap: 32px;
}

#artCanvas .js-additional-options-toolbar-item{
    display: flex;
    gap: 5px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

#artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image{
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: all 0.2s ease-in-out;
}

#artCanvas .js-additional-options-toolbar-item:hover .js-additional-options-toolbar-item-image{
    opacity: 0.7;
}

#artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image.js-aot-item-image-collage{
    background-image: url('/img/canvasapp/icons/icon-is-multi-image.svg');
}

#artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image.js-aot-item-image-filters{
    background-image: url('/img/canvasapp/icons/icon-filters.svg');
}

#artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image.js-aot-item-image-text{
    background-image: url('/img/canvasapp/icons/icon-text.svg');
}

#artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-label{
    font-size: 14px;
    font-family: var(--body-font-family);
    font-weight: var(--font-weight-semilight);
    line-height: 22px;
    color: rgba(51, 39, 30, 0.50);
    text-align: center;
    transition: all 0.2s ease-in-out;
}

#artCanvas .js-additional-options-toolbar-item:hover .js-additional-options-toolbar-item-label{
    color: rgba(51, 39, 30, 0.70);
}

#artCanvas .canvas-container.vert .additional-options-toolbar,
#artCanvas .canvas-container.square .additional-options-toolbar{
    max-width: 96px;
    max-height: none;
    height: auto;
    min-height: 265px;
    min-width: auto;
    padding: 0 12px;
    right: 16px;
    bottom: auto;
    flex-direction: column;
}

#artCanvas .canvas-container.hor .additional-options-toolbar{
    max-height: 96px;
    max-width: none;
    width: auto;
    min-width: 265px;
    min-height: auto;
    padding: 12px 0;
    bottom: 16px;
    right: auto;
    flex-direction: row;
}

#artCanvas .step-content-container .step-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#artCanvas .step-content-container .step-content[data-step-content-id="upload-images"] > div:not(.step-content__product-option-container){
    flex-shrink: 0;
}

#artCanvas .step-content-container .step-content[data-step-content-id="upload-images"] > div.step-content__product-option-container{
    flex-shrink: 1;
    overflow-y: scroll;
}

#artCanvas .upload-images-list {
    display: flex;
    overflow: hidden;
    padding-bottom: 8px;
    height: 131px;
}

#artCanvas .js-album-images-container {
    overflow: hidden;
    height: calc(100% + 8px);
    position: relative;
    padding-bottom: 8px;
}

.js-album-images-container .swiper-scrollbar {
    bottom: 0;
    width: 100%;
    display: block !important;
    left: 0%;
}

#artCanvas .upload-images-list .upload-images-list__item {
    height: var(--step-upload-image-list-height);
    width: auto;
    position: relative;
    align-items: center;
}

#artCanvas .upload-images-list .upload-images-list__item img {
    height: 100%;
}

#artCanvas .btn-style-def {
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: rgba(255, 255, 255, 0.40);
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    padding: var(--btn-style-padding);
    cursor: pointer;
}

#artCanvas .btn-style-def:hover,
#artCanvas .btn-style-def.checked,
#artCanvas .btn-style-def:has(input:checked){
    background: var(--Color-Main, #33271E);
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.05);
    color: #fff;
}

#artCanvas .btn-style-def.checked:hover {
    background: #281E15;
}

#artCanvas input[name="product_type"],
#artCanvas input[name="canvas_orientation"],
#artCanvas input[name="poster_frame_color"]{
    display: none;
    visibility: hidden;
}

#artCanvas .js-choose-product-type input[name="product_type"]:checked + .btn-style-def,
#artCanvas .js-orientation-items input[name="canvas_orientation"]:checked + .btn-style-def,
#artCanvas .js-poster-frame-color-selector input[name="poster_frame_color"]:checked + .btn-style-def,
#artCanvas .bottom-bar .bottom-bar__step-next.btn-style-def{
    background: var(--Color-Main, #33271E);
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.05);
    color: #fff;
}

input[name="step-footer-xx"],
input[name="step-xx"]{
    display: none;
}

input[name="step-footer-xx"] + div,
#artCanvas .step-content-container input[name="step-xx"] + div.step-content{
    display: none;
}

input[name="step-footer-xx"]:checked + div,
#artCanvas .step-content-container input[name="step-xx"]:checked + div.step-content{
    display: flex;
}

#artCanvas input[type="radio"][name="canvas_size"] {
    display: none;
}

#artCanvas .product-materials-list {
    width: 100%;
    flex-direction: column;
    gap: 16px;
}

#artCanvas .product-materials-list .product-material-item-wrapper {
    border-radius: 14px;
}

#artCanvas .add-to-basket-materials input ~ .product-material-item-inner{
    border-radius: 14px;
    border: 1px solid rgba(204, 211, 217, 0.50);
    background: #FFF;
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner{
    border-radius: 14px;
    border: 1px solid var(--default-text-color);
    background: linear-gradient(108deg, rgba(255, 255, 255, 0.60) 0%, rgba(217, 217, 217, 0.24) 100%);
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.05);
}

#artCanvas .add-to-basket-materials input ~ .product-material-item-inner::before {
    width: var(--selected-option-icon-size);
    height: var(--selected-option-icon-size);
    content: " ";
    display: none;
    background-image: url('/img/canvasapp/icons/icon-selected-option.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: var(--selected-option-icon-position);
    top: var(--selected-option-icon-position);
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner::before {
    display: block;
}

#artCanvas .product-material-item-wrapper .product-material-item-header{
    padding: var(--material-item-header-padding);
    border-radius: 14px 14px 0 0;
    background: radial-gradient(196.86% 70.31% at 50.56% 50%, rgba(250, 250, 250, 0.49) 0%, rgba(247, 247, 247, 0.49) 100%);
    box-shadow: 0 2px 8px 0 rgba(206, 206, 206, 0.20), 0 0 8px 0 rgba(206, 206, 206, 0.25) inset;
    justify-content: space-between;
    align-items: center;
}

#artCanvas .product-material-item-wrapper .product-material-item-footer{
    padding: var(--material-item-footer-padding);
    border-radius: 0 0 14px 14px;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner .product-material-item-header{
    background: linear-gradient(108deg, #EDEDED 0%, rgba(209, 209, 209, 0.40) 100%);
    box-shadow: 0 2px 8px 0 rgba(206, 206, 206, 0.20), 0 0 8px 0 rgba(206, 206, 206, 0.25) inset;
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner .product-material-item-footer{
    background: linear-gradient(108deg, #EDEDED 0%, rgba(209, 209, 209, 0.40) 100%);
}

#artCanvas .product-material-item-wrapper .product-material-item-info-btn-cont,
#artCanvas .product-material-item-wrapper .product-material-item-info-btn{
    width: var(--product-material-item-question-icon-size);
    height: var(--product-material-item-question-icon-size);
}

#artCanvas .product-material-item-wrapper .product-material-item-info-btn{
    cursor: pointer;
    background-image: url('/img/canvasapp/icons/icon-question.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

#artCanvas .product-material-item-wrapper .product-material-item-info-btn:hover{
    background-image: url('/img/canvasapp/icons/icon-question-hover.svg');
}

#artCanvas .product-material-item-wrapper .product-material-item-title {
    color: var(--default-text-color);
    font-family: var(--body-font-family);
    font-size: var(--material-item-title-font-size);
    line-height: var(--material-item-title-line-height);
    font-weight: var(--font-weight-bold);
    flex-direction: row;
    gap: var(--product-material-title-gap);
}

#artCanvas .product-material-item-wrapper.is-eco .product-material-item-title{
    color: var(--brand-green-color);
}

#artCanvas .product-material-item-wrapper .product-material-item-prices{
    color: var(--second-text-color);
    font-family: var(--body-font-family);
    font-size: var(--material-item-price-font-size);
    line-height: var(--material-item-price-line-height);
    font-weight: 700;
    flex-direction: row;
    gap: var(--product-material-prices-gap);
}

#artCanvas .product-material-item-wrapper .product-material-item-prices .base.product-unit-metric-text,
#artCanvas .product-material-item-wrapper .product-material-item-prices .base.product-unit-imperial-text{
    color: var(--default-text-color);
    opacity: 0.5;
    font-weight: var(--font-weight-semilight);
    text-decoration: line-through;
}

#artCanvas .product-material-item-picture {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    max-height: var(--product-material-item-picture-max-height);
}

#artCanvas .product-material-item-picture img{
    height: 100%;
}

#artCanvas .product-material-item-eco-label{
    width: var(--product-material-item-eco-label-width);
    height: var(--product-material-item-eco-label-height);
    background-image: url('/img/canvasapp/icons/icon-is-eco.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.units-metric #artCanvas .product-unit-imperial-text,
.units-imperial #artCanvas .product-unit-metric-text{
    display: none;
}

.units-metric #artCanvas .product-unit-metric-text,
.units-imperial #artCanvas .product-unit-imperial-text{
    display: flex;
}

#artCanvas .add-to-basket-materials input:not(:checked) ~ .product-material-item-inner .product-material-item-select-btn .selected,
#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner .product-material-item-select-btn .default {
    display: none;
}

#artCanvas .add-to-basket-materials input ~ .product-material-item-inner .product-material-item-select-btn{
    background: var(--default-text-color);
    color: rgba(255, 255, 255, 0.90);
    cursor: pointer;
}

#artCanvas .add-to-basket-materials input ~ .product-material-item-inner .product-material-item-select-btn:hover{
    background: #281E15;
    color: #fff;
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner .product-material-item-select-btn{
    border: 1px solid rgba(51, 39, 30, 0.50);
    color: var(--default-text-color);
    background: var(--Glass-bg, linear-gradient(108deg, rgba(255, 255, 255, 0.60) 0%, rgba(217, 217, 217, 0.24) 100%));
}

#artCanvas .add-to-basket-materials input:checked ~ .product-material-item-inner .product-material-item-select-btn:hover{
    box-shadow: none;
    color: var(--default-text-color);
}

#artCanvas .album-image-wrapper {
    flex: 0 0 auto;
    display: flex;
    height: 120px;
}

.js-album-image{
    box-sizing: border-box;
    display: flex;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
}

.js-album-image.selected-item{
    box-sizing: border-box;
    display: flex;
    border-width: 2px;
    border-style: solid;
    border-color: #33271E;
    border-image: initial;
}

#artCanvas .upload-images-list__item.loading {
    opacity: 0.5;
}
#artCanvas .upload-images-list__item.loading:before {
    content: '';
    background: url('/img/canvasapp/icons/icon-loading-gray.svg') center center no-repeat;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-animation:spin 2s linear infinite;
    -moz-animation:spin 2s linear infinite;
    animation:spin 2s linear infinite;
}

#photo-placement-handler-cont {
    border: 2px solid #D98256;
    position: absolute;
    pointer-events: none;
}

#photo-placement-handler-cont .photo-placement-handler-toolbar{
    position: absolute;
    display: inline-flex;
    padding: 0 15px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(2px);
    height: 44px;
    top: -48px;
    width: 120px;
    left: calc(50% - 60px);
    pointer-events: all;
}

#photo-placement-handler-cont .photo-placement-handler-rotate{
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    bottom: -48px;
    width: 44px;
    left: calc(50% - 22px);
    pointer-events: all;
    padding: 6px;
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: linear-gradient(180deg, #FFF 0%, rgba(217, 217, 217, 0.80) 100%);
    box-shadow: 4px 4px 9px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(25px);
}

.artdraw-redesign{
    position: relative;
}

.photo-placement-handler-toolbar .photo-handler-menu-btn,
.photo-placement-handler-rotate .photo-handler-menu-btn{
    width: 44px;
    height: 44px;
    padding: 3px 3px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    background-color: transparent;
    cursor:pointer;
}

.js-photo-menu-edit-btn{
    background-image: url("/img/canvasapp/icons/icon-replace-image.svg");
}

.js-photo-menu-delete-btn{
    background-image: url("/img/canvasapp/icons/icon-delete.svg");
}

.js-photo-menu-rotate-btn{
    background-image: url("/img/canvasapp/icons/icon-rotate.svg");
}

.btn-with-hint-wrapper{
    position: relative;
}

.btn-with-hint .btn-hint,
.btn-with-hint + .btn-hint,
.js-photo-menu-rotate-btn.btn-with-hint .btn-hint{
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    color: var(--default-text-color);
    font-family: var(--body-font-family);
    font-size: 12px;
    font-style: normal;
    font-weight: var(--font-weight-semilight);
    line-height: 18px;
    padding: 6px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.79);
    box-shadow: 0 0 20px 0 rgba(24, 39, 75, 0.24);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.btn-with-hint:hover .btn-hint,
.btn-with-hint:active .btn-hint,
.btn-with-hint:hover + .btn-hint,
.btn-with-hint:active + .btn-hint{
    display: flex;
    width: max-content;
}

@-moz-keyframes spin {
    100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform:rotate(360deg);
    }
}

#artCanvas .btn-image-delete {
    background: url(/img/canvasapp/icons/icon-delete-2.svg);
    background-size: contain;
    display: inline-block;
    position: absolute;
    top: 4px;
    width: 16px;
    height: 16px;
    right: 4px;
    cursor: pointer;
}

#artCanvas .btn-image-delete:hover {
    background: url(/img/canvasapp/icons/icon-delete-2-hover.svg);
    background-size: contain;
}

#artCanvas .step-content__product-option-container {
    row-gap: 40px;
    display: flex;
    flex-direction: column;
}

#artCanvas .step-content__product-option-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
}

#artCanvas .step-content__product-option-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

#artCanvas .step-content__product-option-list-item.btn-style-def {
    padding-left: 18px;
    padding-right: 18px;
}

#artCanvas .upload-image-button {
    margin-top: 12px;
}

#artCanvas .step-content__divider {
    background: linear-gradient(108deg, rgba(226, 226, 226, 0.40) 1.64%, rgba(116, 116, 116, 0.10) 100%);
    height: 1px;
    margin: 24px -24px 24px -24px;
}

#artCanvas #main-app-canvas {
    display: flex;
    justify-content: center;
    padding: 40px;
    /*height: 100%;*/
    height: auto;
}

#artCanvas #main-app-canvas.vert,
#artCanvas #main-app-canvas.square{
    height: 100%;
}

#artCanvas #main-app-canvas svg {
    max-width: 100%;
    max-height: calc(100vh - var(--top-bar-height) - var(--bottom-bar-height) - 2*var(--canvas-container-wrapper-border-width));
    width: auto;
    display: flex;
    height: auto;
    border: 8px solid transparent;
    user-select: none;
}

#artCanvas .bottom-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #F5F5F5;
    box-shadow: 22px 22px 33px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(27px);
    height: var(--bottom-bar-height);
    border-top: 2px solid rgba(226, 226, 226, 0.40);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
}

#artCanvas .bottom-bar .bottom-bar__price-cont {
    display: flex;
    flex-direction: row;
    gap: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

#artCanvas .bottom-bar .bottom-bar__price-cont .js-total-price {
    color: #1C1C1C;
    font-weight: 700;
}

#artCanvas .bottom-bar .bottom-bar__price-cont .js-total-price-from {
    opacity: 0.5;
    text-decoration-line: line-through;
}

#artCanvas .bottom-bar .bottom-bar__step-container {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    line-height: 24px;
    align-items: stretch;
    gap: 44px;
}

#artCanvas .bottom-bar .bottom-bar__step-container .bottom-bar__step-prev {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    cursor: pointer;
    min-width: 44px;
}

#artCanvas .bottom-bar .bottom-bar__step-container .bottom-bar__step-prev img {
    width: 18px;
    height: 18px;
}

#artCanvas .bottom-bar .bottom-bar__step-next {
    padding-left: 32px;
    padding-right: 32px;
    font-weight: 700;
}

#artCanvas .bottom-bar .bottom-bar__step-next img {
    display: none;
}

#upload-img-sticky-btns-cont {
    display: none;
}

.canvasapp-new .popup,
.canvasapp-new .popup .popup-inner {
    border-radius: 18px;
}

.canvasapp-new .popup-close {
    top: var(--canvasapp-popup-close-top);
    right: var(--canvasapp-popup-close-right);
    display: flex;
    width: var(--canvasapp-popup-close-btn-size);
    height: var(--canvasapp-popup-close-btn-size);
    padding: 9px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: linear-gradient(135deg, #FFF 0%, rgba(217, 217, 217, 0.40) 100%);
    backdrop-filter: blur(27.5px);
}

.canvasapp-new .popup-close .icon-close{
    width: var(--canvasapp-popup-close-icon-size);
    height: var(--canvasapp-popup-close-icon-size);
    display: flex;
    background-image: url(/img/redesign/icons/icon-close-grey.svg);
    background-size: contain;
}

.canvasapp-new .popup-close:hover{
    cursor: pointer;
    border-radius: 30px;
    border: 1px solid rgba(226, 226, 226, 0.40);
    background: linear-gradient(135deg, #FFF 0%, rgba(217, 217, 217, 0.40) 100%);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(27.5px);
}

.canvasapp-new .canvasapp-button,
.canvasapp-new .canvasapp-button-white{
    font-family: var(--body-font-family);
    border-radius: 30px;
    display: flex;
    height: var(--canvasapp-button-height);
    padding: var(--canvasapp-button-padding);
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-align: center;
    font-size: var(--canvasapp-button-font-size);
    font-weight: var(--canvasapp-button-font-weight);
    line-height: var(--canvasapp-button-line-height);
}

.canvasapp-new .canvasapp-button:hover,
.canvasapp-new .canvasapp-button-white:hover{
    cursor: pointer;
}

.canvasapp-new .canvasapp-button{
    background: var(--brand-black-color);
    color: rgba(255, 255, 255, 0.90);
    border: 1px solid var(--brand-black-color);
}

.canvasapp-new .canvasapp-button:hover{
    background: var(--brand-hover-black-color);
    color: #fff;
    border: 1px solid var(--brand-hover-black-color);
}

.canvasapp-new .canvasapp-button-white{
    background: #fff;
    color: var(--brand-hover-black-color);
    border: 1px solid var(--brand-black-color);
}

.canvasapp-new .canvasapp-button-white:hover{
    background: var(--brand-black-color);
    color: #fff;
    border: 1px solid var(--brand-hover-black-color);
}

.photo-placement image.photo-icon {
    opacity: 0.4;
}

.photo-placement:hover image.photo-icon {
    opacity: 0.7;
}

.btn-with-hint.btn-image-delete.js-delete-album-image .btn-hint {
    left: calc(50% - 35px);
}

@media (-webkit-max-device-pixel-ratio: 1.99) and (min-width: 1921px), (-webkit-min-device-pixel-ratio: 2) and (min-width: 2561px) {
    :root {
        --canvasapp-button-font-size: 20px;
        --canvasapp-button-line-height: 28px;
        --canvasapp-button-height: 52px;
        --canvasapp-button-padding: 12px 10px;
        --canvasapp-button-font-weight: 700;
        --canvasapp-popup-close-top: 32px;
        --canvasapp-popup-close-right: 32px;
        --canvasapp-popup-close-icon-size: 19px;
        --canvasapp-popup-close-btn-size: 44px;
        --product-material-item-picture-max-height: 209px;
        --product-material-item-question-icon-size: 24px;
        --product-material-item-eco-label-width: 31px;
        --product-material-item-eco-label-height: 24px;
        --product-material-title-gap: 10px;
        --material-item-title-font-size: 18px;
        --material-item-title-line-height: 26px;
        --material-item-header-padding: 15px 12px;
        --material-item-footer-padding: 15px 12px;
        --material-item-padding: 12px;
        --btn-style-padding: 8px 18px;
        --material-item-price-font-size: 18px;
        --material-item-price-line-height: 27px;
        --product-material-prices-gap: 8px;
        --selected-option-icon-size: 20px;
        --selected-option-icon-position: -8px;
    }

    .btn-with-hint .btn-hint{
        font-size: 14px;
        line-height: 22px;
    }

    .photo-placement-handler-toolbar .photo-handler-menu-btn{
        width: 50px;
        height: 50px;
        background-size: 28px;
    }

    #artCanvas #main-app-canvas {
        height: 100%;
    }

    #artCanvas .canvas-container.vert .additional-options-toolbar,
    #artCanvas .canvas-container.square .additional-options-toolbar,
    #artCanvas .canvas-container.hor .additional-options-toolbar{
        max-width: 96px;
        max-height:none;
        height: auto;
        min-height: 265px;
        min-width: auto;
        padding: 0 12px;
        right: 16px;
        bottom: auto;
        flex-direction: column;
    }

    #artCanvas .btn-image-delete {
        width: 32px;
        height: 32px;
    }

    #artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image{
        width: 22px;
        height: 22px;
    }

    #artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-label{
        font-size: 18px;
        line-height: 26px;
    }
}

@media (-webkit-max-device-pixel-ratio: 1.99) and (min-width: 1440px) and (max-width: 1920px), (-webkit-min-device-pixel-ratio: 2) and (min-width: 1920px) and (max-width: 2560px) {
    :root {
        --canvasapp-button-font-size: 14px;
        --canvasapp-button-line-height: 22px;
        --canvasapp-button-height: 34px;
        --canvasapp-button-padding: 9px 24px;
        --canvasapp-button-font-weight: 400;
        --canvasapp-popup-close-top: 16px;
        --canvasapp-popup-close-right: 16px;
        --canvasapp-popup-close-icon-size: 14px;
        --canvasapp-popup-close-btn-size: 32px;
        --product-material-item-picture-max-height: 151px;
        --product-material-item-question-icon-size: 15px;
        --product-material-item-eco-label-width: 26px;
        --product-material-item-eco-label-height: 20px;
        --product-material-title-gap: 8px;
        --material-item-title-font-size: 14px;
        --material-item-title-line-height: 22px;
        --material-item-header-padding: 12px 12px;
        --material-item-footer-padding: 12px 12px;
        --material-item-padding: 12px;
        --btn-style-padding: 4px 14px;
        --material-item-price-font-size: 14px;
        --material-item-price-line-height: 22px;
        --product-material-prices-gap: 4px;
        --selected-option-icon-size: 16px;
        --selected-option-icon-position: -7px;
    }

    #artCanvas #main-app-canvas {
        height: 100%;
    }

    #artCanvas .canvas-container.vert .additional-options-toolbar,
    #artCanvas .canvas-container.square .additional-options-toolbar,
    #artCanvas .canvas-container.hor .additional-options-toolbar{
        max-width: 96px;
        max-height: none;
        height: auto;
        min-height: 265px;
        min-width: auto;
        padding: 0 12px;
        right: 16px;
        bottom: auto;
        flex-direction: column;
    }
}

/*condition for 3 columns on Mac, if needed*/
@media (-webkit-max-device-pixel-ratio: 1.99) and (min-width: 1024px) and (max-width: 1439px), (-webkit-min-device-pixel-ratio: 2) and (min-width: 1024px) and (max-width: 1919px) {
    :root {
        --canvasapp-button-font-size: 14px;
        --canvasapp-button-line-height: 22px;
        --canvasapp-button-height: 34px;
        --canvasapp-button-padding: 9px 24px;
        --canvasapp-button-font-weight: 400;
        --canvasapp-popup-close-top: 16px;
        --canvasapp-popup-close-right: 16px;
        --canvasapp-popup-close-icon-size: 14px;
        --canvasapp-popup-close-btn-size: 32px;
        --product-material-item-picture-max-height: 124px;
        --product-material-item-question-icon-size: 15px;
        --product-material-item-eco-label-width: 26px;
        --product-material-item-eco-label-height: 20px;
        --product-material-title-gap: 8px;
        --material-item-title-font-size: 14px;
        --material-item-title-line-height: 22px;
        --material-item-header-padding: 12px 12px;
        --material-item-footer-padding: 12px 12px;
        --material-item-padding: 12px;
        --btn-style-padding: 4px 14px;
        --material-item-price-font-size: 14px;
        --material-item-price-line-height: 22px;
        --product-material-prices-gap: 4px;
        --selected-option-icon-size: 16px;
        --selected-option-icon-position: -5px;
    }
}

@media (-webkit-max-device-pixel-ratio: 1.99) and (min-width: 768px) and (max-width: 1023px), (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px) and (max-width: 1023px) {
    :root {
        --canvasapp-button-font-size: 14px;
        --canvasapp-button-line-height: 22px;
        --canvasapp-button-height: 34px;
        --canvasapp-button-padding: 9px 24px;
        --canvasapp-button-font-weight: 400;
        --canvasapp-popup-close-top: 16px;
        --canvasapp-popup-close-right: 16px;
        --canvasapp-popup-close-icon-size: 14px;
        --canvasapp-popup-close-btn-size: 32px;
        --product-material-item-picture-max-height: 124px;
        --product-material-item-question-icon-size: 20px;
        --product-material-item-eco-label-width: 26px;
        --product-material-item-eco-label-height: 20px;
        --product-material-title-gap: 8px;
        --material-item-title-font-size: 14px;
        --material-item-title-line-height: 22px;
        --material-item-header-padding: 12px 12px;
        --material-item-footer-padding: 12px 12px;
        --material-item-padding: 12px;
        --btn-style-padding: 4px 14px;
        --material-item-price-font-size: 14px;
        --material-item-price-line-height: 22px;
        --product-material-prices-gap: 4px;
        --selected-option-icon-size: 16px;
        --selected-option-icon-position: -7px;
    }
}

@media (-webkit-max-device-pixel-ratio: 1.99) and (min-width: 320px) and (max-width: 767px), (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px) and (max-width: 767px) {
    :root {
        --canvasapp-button-font-size: 14px;
        --canvasapp-button-line-height: 22px;
        --canvasapp-button-height: 34px;
        --canvasapp-button-padding: 9px 24px;
        --canvasapp-button-font-weight: 400;
        --canvasapp-popup-close-top: 16px;
        --canvasapp-popup-close-right: 16px;
        --canvasapp-popup-close-icon-size: 14px;
        --canvasapp-popup-close-btn-size: 32px;
        --product-material-item-question-icon-size: 20px;
        --product-material-item-eco-label-width: 26px;
        --product-material-item-eco-label-height: 20px;
        --product-material-title-gap: 4px;
        --material-item-title-font-size: 14px;
        --material-item-title-line-height: 22px;
        --material-item-header-padding: 12px 12px;
        --material-item-footer-padding: 12px 12px;
        --material-item-padding: 12px;
        --btn-style-padding: 4px 14px;
        --material-item-price-font-size: 14px;
        --material-item-price-line-height: 22px;
        --product-material-prices-gap: 4px;
        --selected-option-icon-size: 16px;
        --selected-option-icon-position: -7px;
    }

    #artCanvas .btn-image-delete {
        width: 32px;
        height: 32px;
    }

    #artCanvas .canvas-container.vert .additional-options-toolbar,
    #artCanvas .canvas-container.square .additional-options-toolbar{
        max-width: 60px;
        max-height: none;
        height: auto;
        min-height: auto;
        min-width: auto;
        padding: 16px 12px;
        right: 8px;
        bottom: auto;
        flex-direction: column;
    }

    #artCanvas .canvas-container.hor .additional-options-toolbar{
        max-height: 60px;
        max-width: none;
        width: auto;
        min-width: auto;
        min-height: auto;
        padding: 12px 16px;
        bottom: 8px;
        right: auto;
        flex-direction: row;
    }

    #artCanvas .canvas-container .additional-options-toolbar{
        gap: 16px;
    }

    #artCanvas .js-additional-options-toolbar-item{
        gap: 3px;
    }

    #artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-image{
        width: 16px;
        height: 16px;
    }

    #artCanvas .js-additional-options-toolbar-item .js-additional-options-toolbar-item-label{
        font-size: 12px;
        line-height: 18px;
    }
}

@media (max-width: 767px) {
    :root {
        --step-button-height: 58px;
        --bottom-bar-height: 70px;
        --canvas-container-wrapper-border-width: 0;
    }

    #artCanvas .top-bar {
        display: none;
    }

    #artCanvas .main-content {
        height: calc(100vh - var(--bottom-bar-height));
        flex-direction: column;
    }

    #artCanvas .step-container {
        flex-direction: row;
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(226, 226, 226, 0.40);
    }

    #artCanvas .step-container .js-step {
        flex-grow: 1;
        flex-basis: 0;
    }

    #artCanvas .step-container .js-step .art-canvas-step {
        gap: 0;
    }

    #artCanvas .step-container .js-step img {
        height: 23px;
    }

    #artCanvas .work-area-container {
        flex-direction: column;
        height: 100%;
        overflow-y: hidden;
    }

    #artCanvas .step-content-container {
        width: 100%;
        order: 1;
        overflow-y: scroll;
    }

    #artCanvas .bottom-bar {
        padding-left: 16px;
        padding-right: 16px;
    }

    #artCanvas .bottom-bar .bottom-bar__step-next span,
    #artCanvas .bottom-bar .bottom-bar__step-prev span{
        display: none;
    }

    #artCanvas .bottom-bar .bottom-bar__step-next img {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin: 0 auto;
    }

    #artCanvas .bottom-bar .bottom-bar__step-prev img {
        margin: 0 auto;
    }

    #artCanvas .bottom-bar .bottom-bar__step-container {
        gap: 16px;
    }

    #artCanvas .bottom-bar .bottom-bar__step-next {
        width: 44px;
        height: 44px;
        padding: 0;
        align-items: center;
        display: flex;
        text-align: center;
    }

    #artCanvas #main-app-canvas{
        height: 100%;
    }

    #artCanvas .canvas-container .canvas-container-wrapper {
        max-height: calc(100vh - var(--top-bar-height) - var(--bottom-bar-height) - 450px);
    }

    #artCanvas .step-content__product-option-container {
        row-gap: 12px;
    }

    #artCanvas .step-content__divider{
        margin: 24px -24px 12px -24px;
    }
}
@media (min-width: 768px) and (max-width: 1439px){}
@media (min-width: 1440px) and (max-width: 1919px){}

@media (min-width: 1920px) and (max-width: 2559px){}

@media (min-width: 2560px){}
