.add-to-basket.popup {
    height: 100%;
    width: 100%;
    max-height: var(--add-to-basket-popup-height);
    max-width: 100%;
    background-color: var(--color-3);
}
.add-to-basket .add-to-basket-steps {
    gap: 8px;
    padding: var(--add-to-basket-popup-padding-v) var(--add-to-basket-popup-padding-h) 0;
    z-index: 1;
}
.add-to-basket .add-to-basket-step-label {
    transition: opacity 0.2s ease-in-out;
    cursor: pointer;
}
.add-to-basket .add-to-basket-step-label.checked ~ .js-step .add-to-basket-step {
    background-color: transparent;
}

.add-to-basket .add-to-basket-step-label.checked ~ .add-to-basket-step-label:not(:first-child) .add-to-basket-step:before {
    background-image: url(/img/redesign/basket-step-prefix-inactive.svg);
}

.add-to-basket .add-to-basket-step-label.checked ~ .add-to-basket-step-label:not(:last-child) .add-to-basket-step:after {
    background-image: url(/img/redesign/basket-step-suffix-inactive.svg);
}
.add-to-basket .add-to-basket-step {
    gap: 12px;
    height: var(--add-to-basket-step-height);
    padding: 10px 24px;
    color: var(--color-11);
    font-size: 18px;
    line-height: 28px;
    background-color: var(--color-12);
    border: 1px solid var(--color-1);
    border-radius: 4px;
}
.add-to-basket .add-to-basket-step-label:nth-child(1) {
    z-index: 5;
}
.add-to-basket .add-to-basket-step-label:nth-child(2) {
    z-index: 4;
}
.add-to-basket .add-to-basket-step-label:nth-child(3) {
    z-index: 3;
}
.add-to-basket .add-to-basket-step-label:nth-child(4) {
    z-index: 2;
}
.add-to-basket .add-to-basket-step-label:nth-child(5) {
    z-index: 1;
}
.add-to-basket .add-to-basket-step-label:not(:first-child) .add-to-basket-step:before,
.add-to-basket .add-to-basket-step-label:not(:last-child) .add-to-basket-step:after {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    content: "";
}
.add-to-basket .add-to-basket-step-label:not(:last-child) .add-to-basket-step:after {
    right: var(--add-to-basket-step-suffix-left);
    width: var(--add-to-basket-step-suffix-width);
    background-image: url("/img/redesign/basket-step-suffix.svg");
}
.add-to-basket .add-to-basket-step-label:not(:first-child) .add-to-basket-step:before {
    left: var(--add-to-basket-step-prefix-left);
    width: var(--add-to-basket-step-prefix-width);
    background-color: #FFFFFF;
    background-image: url("/img/redesign/basket-step-prefix.svg");
}
.add-to-basket .add-to-basket-step img {
    height: 24px;
    width: 24px;
}
.add-to-basket .add-to-basket-content {
    height: calc(100% - var(--add-to-basket-step-height) - var(--add-to-basket-popup-padding-v) - var(--add-to-basket-footer-height));
    overflow-x: hidden;
    overflow-y: auto;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .add-to-basket-content {
    height: calc(100% - var(--add-to-basket-popup-padding-v) - var(--add-to-basket-footer-height));
}
.add-to-basket .add-to-basket-content:not(.active) {
    display: none;
}
.add-to-basket .add-to-basket-step-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--color-3);
    box-shadow: 0 2px 40px 0 #5E5E5E33;
    z-index: 1;
}
.add-to-basket .add-to-basket-step-footer-inner {
    height: var(--add-to-basket-footer-height);
    padding: var(--add-to-basket-footer-padding-v) var(--add-to-basket-footer-padding-h);
}
.add-to-basket .add-to-basket-step-footer-left {
    gap: 8px;
}
.add-to-basket .add-to-basket-step-title {
    gap: 12px;
    font-size: 18px;
    line-height: 28px;
}
.add-to-basket .add-to-basket-step-title img {
    height: 28px;
    width: 24px;
}
.add-to-basket .add-to-basket-step-hint {
    font-size: 16px;
    line-height: 26px;
}
.add-to-basket .add-to-basket-step-footer-right {
    gap: 24px;
}
.add-to-basket .add-to-basket-step-back-btn {
    gap: 10px;
    height: 44px;
    padding: 9px 24px;
    color: var(--color-11);
    font-size: 14px;
    line-height: 24px;
    cursor: pointer;
}
.add-to-basket .add-to-basket-step-back-btn img {
    height: 16px;
    width: 16px;
}
.add-to-basket .add-to-basket-step-footer-right .divider {
    height: 16px;
    width: 1px;
    background-color: var(--color-15);
}
.add-to-basket .add-to-basket-step-footer-price {
    font-size: 16px;
    line-height: 26px;
}
.add-to-basket .add-to-basket-step-footer-price s {
    font-size: 14px;
    line-height: 27px;
    font-weight: var(--font-weight-semilight);
    text-decoration: line-through;
    opacity: 0.5;
}
.add-to-basket .add-to-basket-step-footer-price .js-atb-total-price {
    gap: 0 8px;
}
.add-to-basket .add-to-basket-step-footer-price .js-atb-total-price:not(.v1) > * {
    white-space: nowrap;
}
.add-to-basket .add-to-basket-step-next-btn {
    height: 44px;
    padding: 9px 32px;
    font-size: 16px;
    font-family: inherit;
    font-weight: var(--font-weight-regular);
    line-height: 26px;
    text-transform: none;
}
.add-to-basket .add-to-basket-content p {
    color: var(--color-2);
    font-size: 16px;
    line-height: 26px;
}
.add-to-basket .add-to-basket-content .cropper-text-1 {
    color: var(--color-11);
}
.add-to-basket .add-to-basket-content p:not(:first-of-type):not(.cropper-text-3):not(.cropper-text-4) {
    margin-top: 12px;
}
.add-to-basket .add-to-basket-content .cropper-text-3,
.add-to-basket .add-to-basket-content .cropper-text-4 {
    margin-top: 8px;
    opacity: 0.5;
}
.add-to-basket .add-to-basket-cropper-field {
    cursor: pointer;
}
.add-to-basket .add-to-basket-cropper-field.invalid {
    color: var(--color-16);
}
.add-to-basket .add-to-basket-cropper-size-fields {
    gap: 16px;
    margin-top: 12px;
}

.add-to-basket .product-sizes-unit-imperial-block .add-to-basket-cropper-size-fields {
    flex-direction: column;
}

.add-to-basket .add-to-basket-cropper-field-title {
    font-size: 14px;
    line-height: 24px;
}
.add-to-basket .add-to-basket-cropper-field-input {
    height: 52px;
    padding: 13px 56px;
    font-size: 16px;
    line-height: 26px;
    border: 1px solid;
    border-radius: 2px;
    transition: border-color 0.2s ease-in-out;
}
.add-to-basket .add-to-basket-cropper-field:not(.invalid) .add-to-basket-cropper-field-input {
    border-color: var(--color-12);
}
.add-to-basket .add-to-basket-cropper-field:hover:not(.invalid) .add-to-basket-cropper-field-input {
    border-color: var(--color-15);
}
.add-to-basket .add-to-basket-cropper-field:not(.invalid) .add-to-basket-cropper-field-input:focus {
    border-color: var(--color-11);
}
.add-to-basket .add-to-basket-cropper-field.invalid .add-to-basket-cropper-field-input {
    border-color: var(--color-16);
}
.add-to-basket .add-to-basket-cropper-field-icon {
    position: absolute;
    top: 38px;
    left: 16px;
    height: 24px;
    width: 24px;
    pointer-events: none;
}
.add-to-basket .add-to-basket-cropper-field-measure {
    position: absolute;
    top: 38px;
    right: 16px;
    color: var(--color-14);
    font-size: 14px;
    line-height: 24px;
    pointer-events: none;
}
.add-to-basket .add-to-basket-cropper-field .tip {
    font-size: 12px;
    line-height: 24px;
}
.add-to-basket .add-to-basket-cropper-field:not(.invalid) .tip {
    display: none;
}
.add-to-basket .add-to-basket-show-stripes {
    margin-top: 24px;
}
.add-to-basket .add-to-basket-cropper-checkbox {
    gap: 16px;
    color: var(--color-11);
    font-size: 16px;
    line-height: 26px;
    cursor: pointer;
}
.add-to-basket .add-to-basket-cropper-checkbox:before {
    display: inline-block;
    height: 24px;
    width: 24px;
    transition: opacity 0.2s ease-in-out;
    content: "";
}
.add-to-basket input:not(:checked):not(:disabled) ~ .add-to-basket-cropper-checkbox:not(:hover):before {
    opacity: 0.5;
}
.add-to-basket input:not(:checked) ~ .add-to-basket-cropper-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox.svg");
}
.add-to-basket input:checked ~ .add-to-basket-cropper-checkbox:before {
    background-image: url("/img/redesign/icons/icon-checkbox-checked.svg");
}
.add-to-basket input:disabled ~ .add-to-basket-cropper-checkbox {
    opacity: 0.5;
    cursor: default;
}
.add-to-basket .add-to-basket-materials {
    padding: 48px var(--add-to-basket-footer-padding-h) 24px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .add-to-basket-materials {
    padding: 32px var(--add-to-basket-footer-padding-h) 24px;
}
.add-to-basket .product-materials {
    margin-top: 0;
}
.add-to-basket .product-materials-list {
    gap: var(--add-to-basket-materials-gap);
}
.add-to-basket .product-materials.with-upsales .product-material-item-description {
    margin-top: 12px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-picture,
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials.with-upsales .product-material-item-description {
    margin-top: 16px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-picture img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.add-to-basket .product-materials .product-material-item-density {
    gap: 3px;
    margin-top: 4px;
    color: var(--color-11);
    font-size: 14px;
    line-height: 24px;
}
.add-to-basket:not(.type-painting) .product-material-item-wrapper {
    /*width: var(--add-to-basket-material-item-width);*/
    width: auto;
    flex: 1;
}
.add-to-basket .product-material-item,
.add-to-basket .product-canvas-frame-item {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}
.add-to-basket .product-material-item-inner {
    height: 100%;
    padding: var(--add-to-basket-material-item-padding-v) var(--add-to-basket-material-item-padding-h);
    border: 1px solid;
    border-radius: 2px;
    transition: all 0.2s ease-in-out;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-inner {
    padding: var(--add-to-basket-material-item-padding-v-wallpapers) var(--add-to-basket-material-item-padding-h-wallpapers);
}
.add-to-basket input:not(:checked) ~ .product-material-item-inner {
    border-color: var(--color-12);
}
.add-to-basket input:checked ~ .product-material-item-inner {
    border-color: var(--color-11);
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .add-to-basket-header {
    display: none;
}
.add-to-basket .product-material-item-title {
    font-size: 32px;
    line-height: 40px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-title {
    font-size: 24px;
    line-height: 29px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item .product-material-item-header {
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
}
.add-to-basket .product-materials .product-material-item-checklist {
    margin-top: 12px;
}
.add-to-basket .product-material-item-prices .base {
    font-size: 16px;
    line-height: 26px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base,
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .discounted,
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .currency,
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .price-unit-part{
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-prices {
    gap: 0;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-prices .base{
    margin-right: 8px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .discounted {
    margin-right: 4px;
}
.add-to-basket .product-material-item-prices .discounted,
.add-to-basket .product-material-item-prices .currency,
.add-to-basket .product-material-item-prices .price-unit-part {
    font-size: 18px;
    line-height: 28px;
}
.add-to-basket .product-material-item-saturation {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    margin-top: 0;
}
.add-to-basket .product-material-item-picture {
    height: var(--add-to-basket-material-picture-height);
    z-index: 1;
}
.add-to-basket .product-material-item-select-btn {
    margin: 12px auto 0;
    text-transform: none;
    z-index: 1;
}

#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-select-btn {
    margin: 16px auto 0;
    font-family: var(--body-font-family);
    font-weight: var(--font-weight-regular);
}

#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-upsale-price{
    font-weight: var(--font-weight-heavy);
}

.add-to-basket input:not(:checked) ~ .product-material-item-inner .product-material-item-select-btn .selected,
.add-to-basket input:checked ~ .product-material-item-inner .product-material-item-select-btn .default {
    display: none;
}
.add-to-basket .add-to-basket-upsales {
    padding: 28px var(--add-to-basket-footer-padding-h) 30px;
}
.add-to-basket .add-to-basket-upsale-list {
    gap: var(--add-to-basket-upsale-list-gap)
}
.add-to-basket .add-to-basket-upsale-item-inner {
    gap: 16px;
    height: 100%;
    padding: 40px 32px;
    transition: all 0.2s ease-in-out;
}
.add-to-basket input:not(:checked) ~ .add-to-basket-upsale-item-inner:hover {
    border-color: var(--color-11);
}
.add-to-basket input:checked ~ .add-to-basket-upsale-item-inner {
    background-color: var(--color-12);
}
.add-to-basket .add-to-basket-upsale-item-inner:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(/img/redesign/bg-material-item.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
    opacity: 0.5;
    content: "";
}
.add-to-basket .add-to-basket-upsale-item-title {
    font-size: 32px;
    line-height: 40px;
}
.add-to-basket .add-to-basket-upsale-item-prices {
    gap: 4px;
    font-size: 14px;
    line-height: 24px;
}
.add-to-basket .add-to-basket-upsale-item-prices .base {
    margin-right: 4px;
    text-decoration: line-through;
    opacity: 0.5;
}
.add-to-basket .add-to-basket-upsale-item-description {
    height: auto;
    min-height: 120px;
    font-size: 18px;
    line-height: 28px;
}
.add-to-basket .add-to-basket-upsale-item-text {
    font-size: 16px;
    line-height: 26px;
}
.add-to-basket .add-to-basket-upsale-item-advantages {
    gap: var(--add-to-basket-upsale-item-advantages-gap-v) var(--add-to-basket-upsale-item-advantages-gap-h);
}
.add-to-basket .add-to-basket-upsale-item-advantage-item {
    gap: 16px;
}
.add-to-basket .add-to-basket-upsale-item-advantage-item .icon {
    height: 52px;
    width: 40px;
}
.add-to-basket .add-to-basket-step-title {
    font-size: 16px;
    line-height: 18px;
}
.add-to-basket .add-to-basket-step-hint {
    font-size: 14px;
    line-height: 18px;
}
.add-to-basket .add-to-basket-step-next-btn .icon {
    height: 24px;
    width: 24px;
}
.add-to-basket .add-to-basket-upsale-item-select-btn {
    margin: 8px auto;
    text-transform: none;
    z-index: 1;
}
.add-to-basket input:checked ~ .add-to-basket-upsale-item-inner .add-to-basket-upsale-item-select-btn {
    color: var(--color-3);
    background-color: var(--brand-hover-black-color);
}
.add-to-basket input:not(:checked) ~ .add-to-basket-upsale-item-inner .add-to-basket-upsale-item-select-btn .selected,
.add-to-basket input:checked ~ .add-to-basket-upsale-item-inner .add-to-basket-upsale-item-select-btn .default {
    display: none;
}

.add-to-basket input:checked ~ .product-material-item-inner .product-material-item-select-btn,
.add-to-basket input:checked ~ .product-material-item-inner .product-material-item-select-btn:hover,
.add-to-basket input:checked ~ .add-to-basket-upsale-item-inner .add-to-basket-upsale-item-select-btn,
.add-to-basket input:checked ~ .add-to-basket-upsale-item-inner .add-to-basket-upsale-item-select-btn:hover{
    background-color: #3E3E3E;
    color: var(--color-3);
    border: 1px solid #3E3E3E;
    cursor: default;
}

.add-to-basket .cropper-modal {
    background-color: var(--color-13);
    opacity: 0.7;
}
.add-to-basket .cropper-crop-box {
    outline: 1px solid var(--color-17);
    outline-color: var(--color-17);
    outline-style: dashed;
}
.add-to-basket .cropper-crop-box .cropper-face {
    background-color: transparent;
}
.add-to-basket .cropper-stripes-list {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}
.add-to-basket .cropper-stripes-list .cropper-stripe {
    height: 100%;
    border-right: 1px dashed var(--color-14);
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label {
    position: absolute;
    gap: 8px;
    color: var(--color-11);
    font-size: 16px;
    line-height: 26px;
    background-color: var(--color-3);
    border-radius: 30px;
    pointer-events: none;
    z-index: 1;
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label.height {
    top: 4px;
    bottom: 4px;
    left: 4px;
    height: max-content;
    min-height: 100px;
    margin: auto 0;
    padding: 16px 4px;
    writing-mode: tb-rl;
    transform: rotate(180deg);
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label.width {
    top: 4px;
    left: 4px;
    right: 4px;
    width: max-content;
    min-width: 100px;
    margin: 0 auto;
    padding: 4px 16px;
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label:before {
    display: inline-block;
    height: 24px;
    width: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    content: "";
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label.height:before {
    background-image: url("/img/redesign/icons/icon-size-height.svg");
}
.add-to-basket .add-to-basket-cropper-picture .cropper-size-label.width:before {
    background-image: url("/img/redesign/icons/icon-size-width.svg");
}
.add-to-basket .add-to-basket-cropper-picture .cropper-center {
    display: none;
}
.add-to-basket .cropper-text-2-wrapper {
    gap: 8px;
}
.add-to-basket .add-to-basket-units-type-selector {
    gap: 24px;
    flex-direction: row;
    margin-top: 12px;
}
.add-to-basket .add-to-basket-units-type-selector .units-type-selector-item{
    color: var(--second-text-color);
    text-align: center;
    font-family: var(--body-font-family);
    font-size: 16px;
    font-weight: var(--font-weight-semilight);
    line-height: 26px;
    padding: 9px 32px;
    border-radius: 6px;
    border: 1px solid var(--bg-main-color);
    background: rgba(232, 232, 232, 0.20);
    position: relative;
    cursor: pointer;
}
.add-to-basket .add-to-basket-units-type-selector input[name="units-type"]:checked + .units-type-selector-item,
.add-to-basket .add-to-basket-units-type-selector .units-type-selector-item:hover{
    border: 1px solid var(--brand-hover-black-color);
    background: var(--gray-light-transparent-color);
    color: var(--brand-black-color);
}
.add-to-basket .add-to-basket-units-type-selector input[name="units-type"]:checked + .units-type-selector-item::before{
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    left: -12px;
    top: -12px;
    background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
    position: absolute;
}
.add-to-basket input[name="units-type"]{
    display: none;
    visibility: hidden;
}
.add-to-basket.units-metric .product-sizes-unit-imperial-block,
.add-to-basket.units-imperial .product-sizes-unit-metric-block{
    display: none;
}
.add-to-basket.units-imperial .product-sizes-unit-imperial-block,
.add-to-basket.units-metric .product-sizes-unit-metric-block{
    display: flex;
    flex-direction: column;
}
.add-to-basket .product-sizes-unit-imperial-block .add-to-basket-cropper-size-fields-row{
    flex-direction: row;
    gap: 16px;
}
.add-to-basket-cropper-picture {
    height: 100%;
    width: 100%;
}
.add-to-basket input:checked ~ .product-canvas-frame-item .product-material-item-inner:before {
    position: absolute;
    top: -8px;
    left: -8px;
    height: 24px;
    width: 24px;
    background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
}
.add-to-basket-flip-img {
    margin-top: 16px;
}
.add-to-basket-flip-img .img-flip-option[data-value='flip_horizontal'] img {
    transform: scaleX(-1) !important;
}
.add-to-basket-flip-img .img-flip-option[data-value='flip_vertical'] img {
    transform: scaleY(-1) !important;
}
.add-to-basket-flip-img .img-flip-option {
    position: relative;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}
.add-to-basket-flip-img .img-flip-option.checked,
.add-to-basket-flip-img .img-flip-option:hover {
    border: 1px solid #0F0F0F;
}
.add-to-basket-flip-img .img-flip-option.checked .flip-checked {
    width: 24px;
    height: 24px;
    background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
    position: absolute;
    left: -12px;
    top: -12px;
}
.add-to-basket-flip-img .flip-img-wrapper {
    width: 120px;
    height: 80px;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}
.add-to-basket-flip-img .flip-img-wrapper img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}
.add-to-basket-flip-img .flip-title {
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-top: 5px;
    white-space: nowrap;
}
.add-to-basket-flip-img .img-flip-wrapper {
    margin-top: 12px;
    gap: 24px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.add-to-basket-flip-img .img-flip-wrapper {
    display: flex;
    flex-wrap: nowrap;
}
.add-to-basket-flip-img .flip-img-wrapper {
    width: auto;
}
.add-to-basket-flip-img .flip-title {
    white-space: normal;
}
.add-to-basket .product-material-item-separator {
    gap: 24px;
    margin-top: 16px;
    color: var(--color-14);
    font-size: 14px;
    line-height: 24px;
}
#add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-separator {
    margin-top: 12px;
}
.add-to-basket .product-material-item-separator:before,
.add-to-basket .product-material-item-separator:after {
    height: 1px;
    width: 100%;
    content: "";
}
.add-to-basket input:not(:checked) ~ .product-material-item-inner .product-material-item-separator:before,
.add-to-basket input:not(:checked) ~ .product-material-item-inner .product-material-item-separator:after {
    background-color: var(--color-12);
}
.add-to-basket input:checked ~ .product-material-item-inner .product-material-item-separator:before,
.add-to-basket input:checked ~ .product-material-item-inner .product-material-item-separator:after {
    background-color: var(--color-15);
}
.add-to-basket .product-material-item-upsales-list {
    gap: 12px;
    height: 100%;
    margin-top: 8px;
}
.add-to-basket .product-material-item-upsale-label {
    gap: inherit;
    cursor: pointer;
}
.add-to-basket .material-show-large-preview-btn{
    display: flex;
    width: 32px;
    height: 32px;
    padding: 6px;
    flex-direction: column;
    right: 8px;
    top: 8px;
    position: absolute;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 100px;
    background-color: #fff;
    background-image: url("/img/redesign/icons/icon-large-image-preview.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    box-shadow: 0 0 40px 0 rgba(94, 94, 94, 0.20);
    backdrop-filter: blur(2px);
    cursor: pointer;
}
.add-to-basket input:not(:checked) ~ .product-material-item-inner .product-material-item-upsale-label,
.add-to-basket input:not(:checked) ~ .product-material-item-inner .product-material-item-upsale-info-popup-opener {
    pointer-events: none;
}
.add-to-basket .product-material-item-upsale-switch {
    height: 20px;
    width: 30px;
    min-height: auto;
    padding: 0;
    background-color: #0F0F0F4D;
    border: none;
    border-radius: 20px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
}
.add-to-basket .product-material-item-upsale-switch:checked {
    background-color: var(--color-11);
}
.add-to-basket .product-material-item-upsale-switch:before {
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    height: 16px;
    width: 16px;
    background-color: var(--color-3);
    border-radius: 100%;
    box-shadow: 0 0 4px #0000008d;
    transition: 0.2s;
    content: "";
}
.add-to-basket .product-material-item-upsale-switch:checked:before {
    transform: translateX(10px);
}
.add-to-basket .product-material-item-upsale {
    gap: 8px;
    color: #1C1C1C;
    font-size: 16px;
    line-height: 26px;
}
.add-to-basket .product-material-item-upsale-title {
    font-size: 14px;
    line-height: 18px;
    word-break: break-word;
}
.add-to-basket .product-material-item-without-glue-description {
    padding: 4px 10px;
    color: var(--color-11);
    font-size: 14px;
    line-height: 24px;
    background-color: #E8E8E84D;
    border-radius: 16px;
}
.add-to-basket .product-material-item-upsale-info-popup-opener {
    cursor: pointer;
}
.add-to-basket .product-material-item-upsale-price {
    gap: 5px;
    transition: 0.2s opacity ease-in-out;
}
.add-to-basket .product-material-item-upsale-label:not(.checked) ~ .product-material-item-upsale-price {
    opacity: 0.5;
}

.add-to-basket .product-language-variations-cont .cropper-text-1 {
    margin-bottom: 7px;
}

.add-to-basket .product-language-variations-cont{
    margin: 15px 0px;
}

.add-to-basket .product-language-variations-cont .field .emulated-select.tags-filters-block {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: none;
    padding: 0;
}

.add-to-basket .product-language-variations-block-wrapper{
    width: 100%;
    min-height: 44px;
    position: relative;
}

.add-to-basket .product-language-variations-block-wrapper.field .emulated-select {
    padding-right: 40px;
}

.add-to-basket .js-product-lang-variations-selector.opened .js-product-language-variations-block-label {
    background-image: url(/img/redesign/icons/icon-angle-up-gray.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    background-size: 24px;
}

.add-to-basket .product-language-variations-cont .tags-filters-block.opened div.tags-filters-list{
    top: 44px;
    max-height: 168px;
}

.add-to-basket .product-language-variations-cont .field .emulated-select.tags-filters-block.opened{
    border-radius: 2px;
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 40px 0 rgba(94, 94, 94, 0.20);
    padding: 0;
    z-index: 10;
}

.add-to-basket .product-language-variations-cont .field .emulated-select.tags-filters-block.opened .js-product-language-variations-list{
    background: #FFF;
    position: static;
    width: 100%;
}

.add-to-basket .js-product-language-variations-block-label {
    width: 100%;
    height: 44px;
    padding: 8px 16px;
}

.add-to-basket .tags-filters-block.opened div.tags-filters-list .tags-filters-list-item:hover{
    background-color: var(--bg-additional-color);
    cursor: pointer;
}

.add-to-basket .tags-filters-block.opened div.tags-filters-list .tags-filters-list-item:hover input[type="radio"] + .filter-radiobutton-custom {
    background-image: none;
    border: 1px solid #0f0f0f;
    border-radius: 12px;
}

.add-to-basket .tags-filters-block.opened div.tags-filters-list.js-product-language-variations-list{
    background-color: var(--bg-additional-color);
}

@media (max-height: 850px) {
    #add-to-basket.add-to-basket .product-materials .product-material-item-picture {
        max-height: 20vh;
    }
    .add-to-basket .product-material-item-upsales-list {
        gap: 8px;
    }
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-separator,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-select-btn,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-picture,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials.with-upsales .product-material-item-description {
        margin-top: 8px;
    }
}
@media (min-width: 1024px) {
    .add-to-basket.with-product-language-variation .add-to-basket-content {
        height: 100%;
    }

    .add-to-basket.with-product-language-variation .add-to-basket-cropper-container {
        height: calc(100% - var(--add-to-basket-step-height) - var(--add-to-basket-popup-padding-v) - var(--add-to-basket-footer-height) - 20px);
        width: calc(100% - var(--add-to-basket-cropper-aside-width) - var(--add-to-basket-cropper-gap));
        max-width: var(--add-to-basket-cropper-width);
    }
}
@media (min-width: 1400px) {
    #add-to-basket.add-to-basket .product-material-item .product-material-item-header {
        flex-direction: row;
    }
}
@media (max-width: 1023px) {

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials .product-material-item-picture,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-materials.with-upsales .product-material-item-description {
        margin-top: 12px;
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item .product-material-item-header {
        flex-direction: column;
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item .product-material-item-header {
        align-items: flex-start;
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .discounted,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .currency,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .base .price-unit-part {
        font-size: 12px;
        line-height: 20px;
        font-weight: 400;
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .discounted,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .currency,
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-prices .price-unit-part {
        font-size: 14px;
        line-height: 24px;
        font-weight: 500;
    }

    .add-to-basket .add-to-basket-show-stripes-wrapper.desk {
        display: none;
    }
    .add-to-basket .add-to-basket-show-stripes-wrapper.mob {
        margin-top: 24px;
    }
    .add-to-basket .add-to-basket-cropper {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 24px 16px;
    }
    .add-to-basket .add-to-basket-cropper-container {
        height: var(--add-to-basket-cropper-height);
        width: var(--add-to-basket-cropper-width);
        margin-top: 24px;
        background-color: var(--color-12);
        order: 5;
    }
    .add-to-basket .add-to-basket-cropper-picture {
        height: auto;
        width: 100%;
        aspect-ratio: 1.5;
    }
    .add-to-basket .add-to-basket-content .cropper-text-1 {
        width: 100%;
        order: 1;
    }
    .add-to-basket .add-to-basket-content .cropper-text-2-wrapper {
        width: 100%;
        order: 2;
    }
    .add-to-basket .add-to-basket-cropper-size-fields-wrapper {
        width: 100%;
        order: 3;
    }
    .add-to-basket .add-to-basket-cropper-field {
        width: 100%;
    }
    .add-to-basket .add-to-basket-content .cropper-text-3 {
        width: 100%;
    }
    .add-to-basket .add-to-basket-show-stripes-wrapper {
        width: 100%;
        order: 6;
    }
    .add-to-basket .add-to-basket-content .cropper-text-4 {
        width: 100%;
    }
    .add-to-basket .add-to-basket-step-footer-inner {
        flex-direction: column;
    }
    .add-to-basket .add-to-basket-step-footer-left {
        flex-direction: row;
        justify-content: space-between;
    }
    .add-to-basket .add-to-basket-step-footer-right {
        gap: 8px;
    }
    .add-to-basket .add-to-basket-step-back-btn {
        width: 44px;
        margin-left: -10px;
        padding: 9px;
    }
    .add-to-basket .add-to-basket-step-next-btn {
        margin-left: auto;
    }
    .add-to-basket .add-to-basket-step-footer-right .divider,
    .add-to-basket .add-to-basket-step-back-btn-text {
        display: none;
    }
    .add-to-basket .product-material-item-header {
        flex-direction: column;
        gap: 12px;
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-header {
        flex-direction: column;
        gap: 0;
    }
    .add-to-basket .product-material-item-title {
        font-size: 20px;
        line-height: 30px;
    }
    .add-to-basket .product-material-item-saturation {
        flex-direction: row;
        align-items: center;
    }
    .add-to-basket .add-to-basket-upsale-item-inner {
        padding: 24px 16px;
    }
    .add-to-basket .add-to-basket-upsale-item-advantages {
        flex-direction: column;
    }
    .add-to-basket .add-to-basket-upsale-item-title {
        font-size: 20px;
        line-height: 30px;
    }
    .add-to-basket .add-to-basket-upsale-item-description {
        font-size: 14px;
        line-height: 24px;
        height: 100%;
        min-height: auto;
    }
    .add-to-basket .cropper-text-2 {
        width: 100%;
    }

    #basket-step-crop > .container {
        justify-content: flex-start;
    }
}
@media (max-width: 767px) {
    :root {
        --add-to-basket-popup-height: 100%;
        --add-to-basket-popup-padding-v: 16px;
        --add-to-basket-popup-padding-h: 16px;
        --add-to-basket-step-height: 72px;
        --add-to-basket-step-prefix-left: -1px;
        --add-to-basket-step-prefix-width: 22px;
        --add-to-basket-step-suffix-left: -18px;
        --add-to-basket-step-suffix-width: 22px;
        --add-to-basket-cropper-gap: 47px;
        --add-to-basket-cropper-height: auto;
        --add-to-basket-cropper-width: 100%;
        --add-to-basket-cropper-aside-width: 100%;
        --add-to-basket-footer-height: 74px;
        --add-to-basket-footer-padding-v: 16px;
        --add-to-basket-footer-padding-h: 16px;
        --add-to-basket-materials-gap: 24px;
        --add-to-basket-material-item-width: 100%;
        --add-to-basket-material-item-padding-v: 24px;
        --add-to-basket-material-item-padding-h: 16px;
        --add-to-basket-material-item-padding-v-wallpapers: 16px;
        --add-to-basket-material-item-padding-h-wallpapers: 16px;
        --add-to-basket-material-picture-height: 200px;
        --add-to-basket-upsale-list-gap: 16px;
        --add-to-basket-upsale-item-advantages-gap-v: 12px;
        --add-to-basket-upsale-item-advantages-gap-h: 12px;
    }

    #add-to-basket.add-to-basket .add-to-basket-content > .container {
        justify-content: flex-start;
    }
    .add-to-basket .add-to-basket-step {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        padding: 8px;
        font-size: 12px;
        line-height: 20px;
    }
    #basket-step-materials_and_upsales .add-to-basket-step-mobile-title {
        gap: 12px;
    }
    #basket-step-materials_and_upsales .add-to-basket-materials {
        gap: 24px;
    }
    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) .product-material-item-title {
        font-size: 20px;
        line-height: 30px;
    }
    .add-to-basket .add-to-basket-step-label:not(:first-child) .add-to-basket-step,
    .add-to-basket .add-to-basket-step-label:not(:last-child) .add-to-basket-step {
        padding-left: 20px;
    }
    .add-to-basket .add-to-basket-step img {
        height: 16px;
        width: 16px;
    }
    .add-to-basket .product-language-variations-cont {
        margin: 5px 0 0;
    }
    .add-to-basket .add-to-basket-cropper-picture .cropper-size-label {
        font-size: 14px;
        line-height: 24px;
    }
    .add-to-basket .add-to-basket-cropper-picture .cropper-size-label:before {
        height: 20px;
        width: 20px;
    }
    .add-to-basket .add-to-basket-cropper-picture .cropper-size-label.height {
        padding: 8px 2px;
    }
    .add-to-basket .add-to-basket-cropper-picture .cropper-size-label.width {
        padding: 2px 8px;
    }
    .add-to-basket .add-to-basket-content .cropper-text-2-wrapper {
        margin-top: 8px;
    }
    .add-to-basket .add-to-basket-content p {
        font-size: 14px;
        line-height: 24px;
    }
    .add-to-basket .product-material-item-wrapper {
        display: flex;
        flex-direction: row-reverse;
        background-color: #E8E8E81A;
        border-radius: 2px;
    }
    .add-to-basket .product-material-item-wrapper:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("/img/redesign/bg-material-item.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 0.5;
        content: "";
    }
    .add-to-basket .product-material-item-collapse-btn {
        position: absolute;
        top: 20px;
        right: 0;
        height: 48px;
        width: 48px;
        z-index: 1;
    }
    .add-to-basket input:checked ~ .product-material-item-inner {
        background-color: var(--color-12);
    }
    .add-to-basket .product-canvas-frame-item input ~ .product-material-item-inner {
        border-radius: 6px;
        border: 1px solid var(--bg-main-color);
        background: rgba(232, 232, 232, 0.20);
    }
    .add-to-basket input:checked ~ .product-material-item-inner:before {
        position: absolute;
        top: -8px;
        left: -8px;
        height: 24px;
        width: 24px;
        background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        content: "";
    }

    #add-to-basket.add-to-basket:not(.type-painting):not(.custom-canvas) input:checked ~ .product-material-item-inner:before {
        height: 16px;
        width: 16px;
    }

    .add-to-basket .product-materials .product-canvas-frame-item .product-material-item-title{
        align-items: flex-start;
        line-height: 20px;
        margin-bottom: 5px;
    }

    .add-to-basket .product-canvas-frame-item input:checked ~ .product-material-item-inner {
        border-radius: 6px;
        border: 1px solid var(--default-text-color);
        background: rgba(232, 232, 232, 0.20);
        box-shadow: none;
    }
    .add-to-basket .add-to-basket-materials {
        gap: 12px;
        padding: 24px var(--add-to-basket-footer-padding-h) 24px;
    }
    .add-to-basket .add-to-basket-steps {
        padding: var(--add-to-basket-popup-padding-v) var(--add-to-basket-popup-padding-h);
        background: linear-gradient(0deg, #FFF 62.5%, rgba(255, 255, 255, 0.00) 100%);
    }
    .add-to-basket .add-to-basket-step-mobile-title {
        gap: 8px;
    }
    .add-to-basket .add-to-basket-cropper .add-to-basket-step-mobile-title {
        margin-top: 16px;
        order: 6;
    }
    .add-to-basket .add-to-basket-upsale-list {
        flex-direction: column;
    }
    .add-to-basket .add-to-basket-upsale-item-inner {
        padding: 16px;
    }
    .add-to-basket .add-to-basket-upsales {
        padding: 16px var(--add-to-basket-footer-padding-h) 16px;
    }
    .add-to-basket .add-to-basket-upsale-item-header {
        gap: 4px;
    }
    .add-to-basket .add-to-basket-help-measure-btn {
        height: 44px;
        width: 44px;
    }
    .add-to-basket .add-to-basket-help-measure-btn img {
        height: 24px;
        width: 24px;
    }

    .add-to-basket .add-to-basket-step-footer-price .v1 {
        line-height: 22px;
    }
    .add-to-basket .add-to-basket-step-footer-price .v1 .label {
        width: 100%;
    }
    .add-to-basket .add-to-basket-step-footer-price .v1 s {
        line-height: inherit;
    }

    .add-to-basket .add-to-basket-upsale-item-text,
    .add-to-basket .add-to-basket-upsale-item-advantages,
    .add-to-basket .product-material-item-collapse-btn:not(.active) ~ .product-material-item .collapse-hidden,
    .add-to-basket .product-material-item-collapse-btn:not(.active) ~ .product-canvas-frame-item .collapse-hidden,
    .add-to-basket .product-material-item-collapse-btn:not(.active) .up,
    .add-to-basket .product-material-item-collapse-btn.active .down,
    .add-to-basket .add-to-basket-step-footer-left,
    .add-to-basket .add-to-basket-step-next-btn-text {
        display: none;
    }

    @media (max-width: 374px) {
        .add-to-basket .add-to-basket-steps {
            padding-bottom: 10px;
        }
        .add-to-basket .add-to-basket-cropper {
            padding-top: 10px;
        }
        .add-to-basket-flip-img .flip-img-wrapper {
            height: 50px;
        }
        .add-to-basket-flip-img .flip-title {
            line-height: 18px;
        }
        .add-to-basket .add-to-basket-cropper-field-input {
            padding-left: 32px;
            padding-right: 32px;
        }
        .add-to-basket .add-to-basket-cropper-field-icon {
            top: 43px;
            left: 8px;
            height: 16px;
            width: 16px;
        }
    }
}
@media (max-width: 1023px) and (min-width: 768px) {
    :root {
        --add-to-basket-popup-height: 100%;
        --add-to-basket-popup-padding-v: 16px;
        --add-to-basket-popup-padding-h: 16px;
        --add-to-basket-step-height: 56px;
        --add-to-basket-step-width: calc(100% + 5px);
        --add-to-basket-step-prefix-left: -1px;
        --add-to-basket-step-prefix-width: 17px;
        --add-to-basket-step-suffix-left: -14px;
        --add-to-basket-step-suffix-width: 17px;
        --add-to-basket-cropper-gap: 47px;
        --add-to-basket-cropper-height: auto;
        --add-to-basket-cropper-width: 100%;
        --add-to-basket-cropper-aside-width: 350px;
        --add-to-basket-footer-height: 110px;
        --add-to-basket-footer-padding-v: 16px;
        --add-to-basket-footer-padding-h: 16px;
        --add-to-basket-materials-gap: 16px;
        --add-to-basket-material-item-width: calc(100% / 3 - var(--add-to-basket-materials-gap) / 1.5);
        --add-to-basket-material-item-padding-v: 32px;
        --add-to-basket-material-item-padding-h: 16px;
        --add-to-basket-material-item-padding-v-wallpapers: 32px;
        --add-to-basket-material-item-padding-h-wallpapers: 16px;
        --add-to-basket-material-picture-height: 129px;
        --add-to-basket-upsale-list-gap: 16px;
        --add-to-basket-upsale-item-advantages-gap-v: 12px;
        --add-to-basket-upsale-item-advantages-gap-h: 12px;
    }
}
@media (max-width: 1439px) and (min-width: 1024px) {
    :root {
        --add-to-basket-popup-height: 100%;
        --add-to-basket-popup-padding-v: 32px;
        --add-to-basket-popup-padding-h: 37px;
        --add-to-basket-popup-padding-h-left: 23px;
        --add-to-basket-step-height: 56px;
        --add-to-basket-step-width: calc(100% + 10px);
        --add-to-basket-step-prefix-left: -2px;
        --add-to-basket-step-prefix-width: 17px;
        --add-to-basket-step-suffix-left: -15px;
        --add-to-basket-step-suffix-width: 16px;
        --add-to-basket-cropper-gap: 47px;
        --add-to-basket-cropper-height: 535px;
        --add-to-basket-cropper-width: 796px;
        --add-to-basket-cropper-aside-width: 400px;
        --add-to-basket-footer-height: 92px;
        --add-to-basket-footer-padding-v: 16px;
        --add-to-basket-footer-padding-h: 37px;
        --add-to-basket-materials-gap: 24px;
        --add-to-basket-material-item-width: calc(100% / 3 - var(--add-to-basket-materials-gap) / 1.5);
        --add-to-basket-material-item-padding-v: 32px;
        --add-to-basket-material-item-padding-h: 32px;
        --add-to-basket-material-item-padding-v-wallpapers: 32px;
        --add-to-basket-material-item-padding-h-wallpapers: 24px;
        --add-to-basket-material-picture-height: 165px;
        --add-to-basket-upsale-list-gap: 40px;
        --add-to-basket-upsale-item-advantages-gap-v: 40px;
        --add-to-basket-upsale-item-advantages-gap-h: 16px;
    }

    @media (max-width: 1279px) {
        :root {
            --add-to-basket-cropper-gap: 24px;
            --add-to-basket-cropper-aside-width: 350px;
            --add-to-basket-materials-gap: 16px;
            --add-to-basket-material-item-padding-h: 16px;
            --add-to-basket-material-item-padding-h-wallpapers: 16px;
            --add-to-basket-footer-height: 110px;
        }

        .add-to-basket .add-to-basket-step-footer-inner {
            flex-direction: column;
        }

        .add-to-basket .add-to-basket-step-footer-left {
            flex-direction: row;
            justify-content: space-between;
        }

        .add-to-basket .add-to-basket-step-footer-right {
            gap: 8px;
        }

        .add-to-basket .add-to-basket-step-next-btn {
            margin-left: auto;
        }

        .add-to-basket .add-to-basket-step-footer-right .divider, .add-to-basket .add-to-basket-step-back-btn-text {
            display: none;
        }

        .add-to-basket .add-to-basket-step-back-btn {
            width: 44px;
            margin-left: -10px;
            padding: 9px;
        }
    }
}
@media (min-width: 1440px) {
    :root {
        --add-to-basket-popup-height: 100%;
        --add-to-basket-popup-padding-v: 32px;
        --add-to-basket-popup-padding-h: 37px;
        --add-to-basket-popup-padding-h-left: 23px;
        --add-to-basket-step-height: 64px;
        --add-to-basket-step-width: calc(100% + 12px);
        --add-to-basket-step-prefix-left: -1px;
        --add-to-basket-step-prefix-width: 19px;
        --add-to-basket-step-suffix-left: -16px;
        --add-to-basket-step-suffix-width: 19px;
        --add-to-basket-cropper-gap: 47px;
        --add-to-basket-cropper-height: 748px;
        --add-to-basket-cropper-width: 1113px;
        --add-to-basket-cropper-aside-width: 500px;
        --add-to-basket-footer-height: 94px;
        --add-to-basket-footer-padding-v: 16px;
        --add-to-basket-footer-padding-h: 37px;
        --add-to-basket-materials-gap: 42px;
        --add-to-basket-material-item-width: calc(100% / 3 - var(--add-to-basket-materials-gap) / 1.5);
        --add-to-basket-material-item-padding-v: 32px;
        --add-to-basket-material-item-padding-h: 32px;
        --add-to-basket-material-item-padding-v-wallpapers: 32px;
        --add-to-basket-material-item-padding-h-wallpapers: 24px;
        --add-to-basket-material-picture-height: 237px;
        --add-to-basket-upsale-list-gap: 40px;
        --add-to-basket-upsale-item-advantages-gap-v: 40px;
        --add-to-basket-upsale-item-advantages-gap-h: 16px;
    }
}
@media (min-width: 1024px) {
    .add-to-basket .add-to-basket-show-stripes-wrapper.desk {
        margin-top: 24px;
    }
    .add-to-basket .add-to-basket-show-stripes-wrapper.mob {
        display: none;
    }
    .add-to-basket .add-to-basket-cropper {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0 var(--add-to-basket-cropper-gap);
        /*height: var(--add-to-basket-cropper-height);*/
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        /*margin-top: 30px;*/
        /*margin-bottom: 30px;*/
        padding: 30px calc(var(--add-to-basket-popup-padding-h) + 24px) 0 var(--add-to-basket-popup-padding-h);
    }
    .add-to-basket .add-to-basket-cropper > *:not(.add-to-basket-cropper-container) {
        width: var(--add-to-basket-cropper-aside-width);
        /*width: calc(100% - var(--add-to-basket-cropper-width) - var(--add-to-basket-cropper-gap));*/
    }
    .add-to-basket .add-to-basket-cropper-container {
        /*height: var(--add-to-basket-cropper-height);*/
        height: 100%;
        width: calc(100% - var(--add-to-basket-cropper-aside-width) - var(--add-to-basket-cropper-gap));
        max-width: var(--add-to-basket-cropper-width);
    }
    .add-to-basket .add-to-basket-cropper-size-fields {
        flex-direction: column;
    }
    .add-to-basket input:not(:checked) ~ .add-to-basket-upsale-item-inner {
        cursor: pointer;
    }
    .add-to-basket .add-to-basket-upsale-item-advantage-item {
        width: calc(50% - var(--add-to-basket-upsale-item-advantages-gap-h) / 2);
        align-items: center;
    }
}
@media (min-width: 768px) {
    .add-to-basket input:not(:checked) ~ .product-material-item-inner {
        cursor: pointer;
    }
    .add-to-basket input:not(:checked) ~ .product-material-item-inner:hover {
        border-color: var(--color-11);
    }
    .add-to-basket .product-canvas-frame-item input:not(:checked) ~ .product-material-item-inner {
        cursor: pointer;
        border-radius: 6px;
        border: 1px solid var(--bg-main-color);
        background: rgba(232, 232, 232, 0.20);
    }
    .add-to-basket .product-canvas-frame-item input:not(:checked) ~ .product-material-item-inner:hover {
        border: 1px solid var(--default-text-color);
        background: rgba(232, 232, 232, 0.20);
        box-shadow: none;
    }
    .add-to-basket input:checked ~ .product-material-item-inner {
        background-color: var(--color-12);
        box-shadow: 0 2px 20px 0 #5E5E5E33;
    }
    .add-to-basket .product-canvas-frame-item input:checked ~ .product-material-item-inner {
        border-radius: 6px;
        border: 1px solid var(--default-text-color);
        background: rgba(232, 232, 232, 0.20);
        box-shadow: none;
    }
    .add-to-basket .product-material-item-inner:before {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("/img/redesign/bg-material-item.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        transition: opacity 0.2s ease-in-out;
        pointer-events: none;
        content: "";
    }
    .add-to-basket .product-canvas-frame-item .product-material-item-inner:before {
        background-image: none;
    }
    .add-to-basket input:checked ~ .product-material-item-inner:after {
        position: absolute;
        top: -12px;
        left: -12px;
        height: 32px;
        width: 32px;
        background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        content: "";
    }
    .add-to-basket .product-canvas-frame-item input:checked ~ .product-material-item-inner:before {
        position: absolute;
        top: -8px;
        left: -8px;
        height: 24px;
        width: 24px;
        background-image: url("/img/redesign/icons/icon-black-checkbox-active.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        content: "";
    }
    .add-to-basket input:not(:checked) ~ .product-material-item-inner:before {
        opacity: 0.3;
    }
    .add-to-basket .product-material-item:hover .product-material-item-inner:before,
    .add-to-basket .product-canvas-frame-item:hover .product-material-item-inner:before
    {
        opacity: 0.7;
    }
    .add-to-basket.add-to-basket-wallpapers .product-material-item .product-material-item-inner:before,
    .add-to-basket.add-to-basket-wallpapers .product-canvas-frame-item .product-material-item-inner:before
    {
        opacity: 0.7;
    }
    .add-to-basket.add-to-basket-wallpapers .product-material-item-checklist-item.close {
        color: #959595;
    }
    .add-to-basket.add-to-basket-wallpapers .product-material-item-checklist-item.close svg.icon {
        opacity: 0.5;
    }
    .add-to-basket input:checked ~ .product-material-item-inner:before {
        opacity: 1;
    }
    .add-to-basket .add-to-basket-upsale-item {
        width: 100%;
    }
    .add-to-basket .add-to-basket-help-measure-btn {
        height: 24px;
        width: 24px;
        cursor: pointer;
    }
    .add-to-basket .add-to-basket-help-measure-btn img {
        height: 16px;
        width: 16px;
    }
    .add-to-basket .add-to-basket-step-mobile-title,
    .add-to-basket .add-to-basket-step-next-btn .icon,
    .add-to-basket .product-material-item-collapse-btn {
        display: none;
    }

    @media (max-width: 1023px) {
        .add-to-basket .product-material-item-upsale {
            flex-wrap: wrap;
            gap: 0px 8px;
        }
        .add-to-basket .product-material-item-upsale-info-popup-opener {
            margin-left: auto;
        }
        .add-to-basket .product-material-item-upsale-price {
            width: calc(100% - 38px);
            margin-left: 38px;
        }
    }
}
@media (min-width: 1921px) {
    :root {
        --add-to-basket-popup-height: 1400px;
        --add-to-basket-cropper-aside-width: 909px;
        --add-to-basket-cropper-width: 1554px;
        --add-to-basket-material-picture-height: 270px;
    }

    .add-to-basket .add-to-basket-flip-img .flip-img-wrapper {
        height: 110px;
    }
    #add-to-basket.add-to-basket .product-materials .product-material-item-prices,
    .add-to-basket .add-to-basket-step-title,
    .add-to-basket .add-to-basket-content p {
        font-size: 20px;
        line-height: 32px;
    }
    #add-to-basket.add-to-basket .product-material-item-prices .base,
    .add-to-basket .add-to-basket-cropper-field-input,
    .add-to-basket .add-to-basket-cropper-checkbox,
    .add-to-basket .add-to-basket-step-hint,
    .add-to-basket-flip-img .flip-title,
    .add-to-basket .product-material-item-upsale,
    .add-to-basket .add-to-basket-content .cropper-text-2 {
        font-size: 18px;
        line-height: 28px;
    }
    .add-to-basket .product-materials .product-material-item-sticker {
        font-size: 14px;
    }
    .add-to-basket .product-material-item-separator,
    .add-to-basket .product-material-item-upsale-title,
    .add-to-basket .product-materials .product-material-item-density,
    .add-to-basket .product-materials .product-material-item-description {
        font-size: 16px;
        line-height: 26px;
    }
}
