.p-20 {
    padding: 20px;
}
.w-50 {
    width: 50%;
}

.modal-wrapper {
    --left: calc(280px + (320 - 280) * ((100vw - 1180px) / (1920 - 1180)));
}

#custom-product-image {
    position: relative;
}

.modal-header-wrapper {
    padding: 12px 16px;
    border-bottom: 1px solid #e1e1e1;
    position: relative;
    height: 46px;
}

.modal-header-close {
    position: absolute;
    top: 0;
    right: 0;
}

.modal-header {
    margin: 0;
}

.product-left .filter {
    display: grid;
    grid-gap: 10px;
}

.filter-section .variant-image {
    margin-bottom: 0;
}

.product-variant-container .design-form-wrapper {
    padding: 15px;
}

.product-variant-container .product-type-appearances {
    padding-bottom: 0;
}

.filter-section-header {
    display: block;
    text-align: left;
    position: relative;
    font-size: 16px;
    padding-left: 0;
    padding-right: 0;
}

.filter-labels {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    grid-gap: 6px;
}

.filter-label input {
    position: absolute;
    opacity: 0;
}

.filter-label span {
    border: 1px solid var(--flash);
    border-radius: 5px;
    padding: 6px 12px;
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #212121;
    cursor: pointer;
    user-select: none;
    text-align: center;
    transition: var(--trans)
}

.filter-label input:checked:not([ng-checked="false"])~span {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--primary-lt);
}

.sidebar-widget-content {
    width: 100%;
}

.modal-right {
    width: 100%;
    height: 100%;
    position: relative;
    overflow-y: auto;
    padding-bottom: 12px;
}

.modal-right:only-child {
    width: 100%;
}

.modal-right-head {
    min-height: 53px;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px -1px rgb(200 200 200 / 10%), 0 1px 4px 1px rgb(200 200 200 / 5%), 0 1px 6px 2px rgb(200 200 200 / 5%);
}

.modal-right-head::before {
    content: "";
    height: 3px;
    width: 100%;
    display: block;
    position: absolute;
    top: -1px;
    background-color: #fff;
}

.modal-right-head-wrapper {
    min-height: 92px;
    position: sticky;
    top: 0;
    z-index: 1;
    background-color: #fff;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px -1px rgb(200 200 200 / 10%), 0 1px 4px 1px rgb(200 200 200 / 5%), 0 1px 6px 2px rgb(200 200 200 / 5%);
}

.modal-right-head-wrapper::before {
    content: "";
    height: 3px;
    width: 100%;
    display: block;
    position: absolute;
    top: -1px;
    background-color: #fff;
}

.filter-result-wrapper {
    padding: 8px;
}

.filter-result-wrapper * {
    font-size: 14px;
}

.filter-result {
    background-color: var(--light);
    border-color: var(--light);
    color: var(--primary-dk);
    font-weight: 500;
    font-size: 14px;
    margin-right: 10px;
}

.list-product-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc(180px + (230 - 200) * ((100vw - 1180px) / (1920 - 1180))), 1fr));
    grid-gap: 12px
}

.list-modal-design {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 12px
}

.list-modal-product-item {
    position: relative;
    cursor: pointer;
}

.design-item-image {
    background-color: #e9e9e9;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}

.design-item-image,
.product-modal-tile-image {
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px;
}

.design-item-image::before,
.product-modal-tile-image::before {
    content: "";
    padding-bottom: 100%;
    display: block;
    background-color: #f8f8f8;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.design-item-image img,
.product-modal-tile-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    transition: all 222ms ease-in-out;
    -webkit-transition: all 222ms ease-in-out;
    -moz-transition: all 222ms ease-in-out;
    -ms-transition: all 222ms ease-in-out;
    -o-transition: all 222ms ease-in-out;
    mix-blend-mode: multiply;
    background-color: #ababab;
}

.product-modal-tile-name {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: all 222ms ease-in-out;
    -webkit-transition: all 222ms ease-in-out;
    -moz-transition: all 222ms ease-in-out;
    -ms-transition: all 222ms ease-in-out;
    -o-transition: all 222ms ease-in-out;
}

.product-detail {
    font-size: 14px;
    margin-bottom: 4px;
}

.product-price {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #c52c29;
    font-size: 28px;
}

.product-high-price {
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: line-through;
    color: var(--gray);
    margin-left: 10px;
    font-size: 25px;
    display: none !important;
}

.list-modal-product .product-price, .list-modal-product .product-high-price {
    font-size: 17px;
}

.product-modal-footer-btn {
    display: block;
    text-align: center;
    background-color: #6071ec;
    color: var(--white);
    font-size: 15px;
    border-radius: 5px;
    width: 100%;
    padding-top: 12px;
    padding-bottom: 12px;
    font-weight: 500;
}

.product-modal-footer-btn:hover {
    color: #fff;
}

.product-modal-tile-footer-container {
    position: absolute;
    bottom: 0;
    left: -2px;
    right: -2px;
    width: calc(100% + 4px);
    padding: 0 8px 8px 8px;
    border: 2px solid transparent;
    border-top: none;
    border-radius: 0 0 5px 5px;
    transform: translateY(90%);
    z-index: 2;
    background-color: #fff;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.list-modal-product-item:hover .product-modal-tile-footer-container {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    border-color: var(--primary-lt);
}

.hot-topics-list {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.hot-topic {
    display: block;
    position: relative;
    padding: 3px 10px;
    font-weight: 500;
    color: var(--white);
}

.hot-topic:hover {
    color: var(--white);
}

.hot-topic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.hot-topic-label {
    background-color: rgba(22, 83, 126, 0.8);
    color: #fff;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hot-topic.active .hot-topic-label {
    background-color: var(--secondary);
}

.hot-topics-list .menuitem {
    background-color: rgb(224, 231, 215);
}

.hot-topics-list .menuitem:nth-of-type(n+ 1){
    background-color: #733294;
}

.hot-topics-list .menuitem:nth-of-type(2n + 1){
    background-color: #1582FD;
}

.hot-topics-list .menuitem:nth-of-type(3n + 1){
    background-color: #51BC37;
}

.hot-topics-list .menuitem:nth-of-type(4n + 1){
    background-color: #e1c31a;
}

.hot-topics-list .menuitem:nth-of-type(5n + 1){
    background-color: #FB761F;
}

.hot-topics-list .menuitem:nth-of-type(6n + 1){
    background-color: #EC3445;
}

.hot-topics-list .menuitem:nth-of-type(7n + 1){
    background-color: #227694;
}

.hot-topics-list .menuitem:nth-of-type(8n + 1){
    background-color: #484572;
}

.hot-topics-list .menuitem:nth-of-type(9n + 1){
    background-color: rgb(177, 78, 156);
}

.hot-topics-list .menuitem:nth-of-type(10n + 1){
    background-color: rgb(185, 46, 45);
}

.hot-topics-list .menuitem:nth-of-type(11n + 1){
    background-color: #16ab74;
}

.hot-topics-list .menuitem {
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.search-item-wrapper {
    padding: 20px 12px;
}

.search-item {
    position: relative;
}

.search-item::after {
    content: "";
    width: 20px;
    height: 20px;
    display: block;
    background-color: var(--secondary);
    mask-image: url(/modules/pod/images/search.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url(/modules/pod/images/search.svg);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    pointer-events: none;
    user-select: none;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.js-close-search-filter {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    color: #f00;
    display: none;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.input-dropdown {
    padding: 12px;
    border: 2px solid var(--secondary);
    outline: 0;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    padding-right: 60px;
    font-weight: 500;
    font-size: 16px;
}

.input-dropdown.selected {
    border-color: var(--secondary)
}

.autocomplate-content {
    position: absolute;
    background-color: #fff;
    margin: 0 !important;
    z-index: 7;
    overflow: hidden;
    top: 100%;
    width: 100%;
    left: 0;
    padding: 6px;
    box-shadow: 0 2px 3px -1px rgb(200 200 200 / 20%), 0 3px 6px 1px rgb(200 200 200 / 14%), 0 1px 7px 2px rgb(200 200 200 / 10%);
}

.hidden {
    display: none
}

.autocomplate-search {
    padding: 10px 12px;
    outline: 0;
    border-radius: 4px;
    width: 100%;
}

.sidebar-search,
.widget-content-box {
    padding: 0;
    margin-top: 24px;
}

.sidebar-widget-content {
    position: relative;
    margin-bottom: 16px;
    display: block;
    font-weight: 500;
}

div.content>ul {
    margin: 0;
    padding: 0;
}

div.content>ul>li,
.search-filter-item {
    cursor: pointer;
    user-select: none;
    padding: 6px 10px;
    display: block;
    font-weight: 400;
}

div.content>ul>li.hidden {
    display: none;
}

.design-form-wrapper {
    background-color: #fff;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px 5px 0 0;
    /* transform: translateX(100%); */
    transition: all 350ms ease-in-out;
    opacity: 1;
    z-index: 10;
}

.addText-wrapper {
    padding: 0;
}

.pattern-visibility .design-form-wrapper, .custom_design-visibility .design-form-wrapper, .design-visibility .design-form-wrapper {
    opacity: 1;
    pointer-events: all;
}

.content-wrapper {
    transition: all 350ms ease-in-out;
}

.text-controls {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    border-top: 1px solid var(--flash);
    border-bottom: 1px solid var(--flash);
    font-size: 13px;
    cursor: var(--primary);
    text-align: center;
}

.text-controls-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 8px;
    color: var(--primary);
    width: calc(100% / 7);
    font-size: 13px;
    border-radius: 0;
}

.text-controls-button:hover {
    background-color: var(--light);
}

.text-controls-button[disabled] {
    pointer-events: none;
    color: var(-dark);
}

.print-color {
    border: 1px solid rgb(153, 153, 153);
    width: 20px;
    height: 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 24px;
    margin-bottom: 3px;
}

.text-controls-button:nth-child(n + 2) {
    border-left: 1px solid var(--flash);
}

.text-panel-text-area {
    padding: 12px 16px;
}

#js-text:active,
#js-text:focus {
    box-shadow: 0px 0px 5px rgba(56, 169, 240, 0.75);
    border: rgba(56, 169, 240, 0.9)
}

.font-selector {
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--flash);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 12px;
    padding-bottom: 12px;
}

.font-selector svg {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    opacity: 0.6;
}

.font-size,
.text-angle {
    padding: 12px 16px;
    color: var(--primary);
    border-bottom: 1px solid var(--flash);
    font-weight: 500;
}

.text-angle {
    padding-bottom: 0;
}

.text-angle-value,
.font-size-input {
    width: 50px;
}

.sprd-slider {
    --range: calc(var(--max) - var(--min));
    --ratio: calc((var(--val) - var(--min))/var(--range));
    --sx: calc(0.625em + var(--ratio)*(100% - 1.25em));
    -webkit-appearance: none;
    background: transparent;
    margin: 6px 0 0;
    padding: 0;
    width: 100%;
    border-radius: 15px;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none; 
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    border-radius: 16px;  
}
  
input[type="range"]::-webkit-slider-runnable-track {
    height: 10px;
    background: #ccc;
    border-radius: 16px;
}
  
input[type="range"]::-moz-range-track {
    height: 10px;
    background: #ccc;
    border-radius: 16px;
}
  
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none; 
    height: 10px;
    width: 10px;
    background-color: var(--pr-color-secondary);
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: -407px 0 0 400px var(--pr-color-secondary);
}
  
  
input[type="range"]::-moz-range-thumb {
    height: 10px;
    width: 10px;
    background-color: var(--pr-color-secondary);
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: -407px 0 0 400px var(--pr-color-secondary);
}

.upload-design {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-radius: 5px;
    padding-top: 16px;
}

#upload-design {
    opacity: 0;
    position: absolute;
    visibility: hidden;
}

.upload-header {
    font-weight: 400;
    font-size: 14px;
    font-style: italic;
}

.upload-footer {
    padding: 12px;
    padding: 12px;
    font-weight: 400;
    font-size: 14px;
}

.upload-content {
    width: 100%;
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    grid-gap: 10px;
}

.upload-panel-button {
    width: 100%;
    padding: 16px;
    text-align: center;
    color: #fff;
    background-color: var(--pr-color-secondary);
    border-radius: 32px;
    cursor: pointer;
}

.draft-preview {
    position: relative;
}

.save-draft-btn svg, .save-draft-btn.loading span {
    display: none;
}

.save-draft-btn span, .save-draft-btn.loading svg {
    display: block;
}

.upload-file-item {
    width: 100%;
    position: relative;
    display: block;
    margin: 0;
    background-color: #f8f8f8;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 5px !important;
}

.upload-file-item:hover {
    background-color: #f1f1f1;
}

.upload-file-item::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.upload-file-item img {
    width: 85%;
    height: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    object-position: center;
}

.select-design-prevew-wraper.ng-scope {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.select-design-prevew-wraper .select-design-preview,
.upload-file-item {
    width: 100%;
    height: 38%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.design-preview-control {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 0;
    grid-gap: 10px
}

.design-preview-btn {
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 600;
    margin-left: 10px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    border: 2px solid transparent;
    transition: all 350ms ease-in-out;
}

.design-preview-btn svg {
    margin-right: 6px;
}

.design-preview-control .btn-upload {
    border-color: #ff5965;
    background-color: #ff5965;
}
.design-preview-control .btn-upload:hover {
    border-color: #e04e59;
    background-color: #e04e59;
}

.design-preview-control .btn-success {
    border-color: #6071ec;
    background-color: #6071ec;
}

.design-preview-control .btn-success:hover {
    border-color: #5867d8;
    background-color: #5867d8;
}

.design-preview-control .btn-delete {
    border-color: #d1d1d1;
    background-color: #fff;
    color: #777;
}
.design-preview-control .btn-delete:hover {
    border-color: #d1d1d1;
    background-color: #f8f8f8;
    color: #333;
}

.design-preview-control .btn-default {
    border-color: #efefef;
    background-color: #efefef;
    color: #333;
}
.design-preview-control .btn-default:hover {
    border-color: #efefef;
    background-color: #fff;
    color: #333;
}

.design-loading {
    text-align: center;
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(222 222 222 / 10%);
}

.size-text-message {
    color: red;
    font-size: 12px;
}

.w-100 {
    width: 100%;
}

.mt-3 {
    margin-top: 30px;
}

.frame-container {
    z-index: 1 !important;
}

.text-notice {
    color: var(--secondary);
    font-style: italic;
}

.product-rating-count {
    display: none;
}

.text-done {
    font-weight: normal;
    font-size: 13px;
}

.filter-category-label {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary)
}

.filter-category-label.active {
    color: var(--secondary);
}

.filter-category-label button {
    border: none;
    background: none;
    transform: rotate(90deg);
    font-weight: 500;
    cursor: pointer;
}

.filter-section-content.show .filter-category-label button {
    transform: rotate(-90deg);
}

.filter-child-category {
    list-style: none;
}

.filter-child-category li {
    padding: 4px 0;
    color: #212121;
    font-weight: 400;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    transition: all 222ms ease-in-out;
    -webkit-transition: all 222ms ease-in-out;
    -moz-transition: all 222ms ease-in-out;
    -ms-transition: all 222ms ease-in-out;
    -o-transition: all 222ms ease-in-out;
    border-radius: 5px 0 0 5px;
    overflow: hidden;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    -ms-border-radius: 5px 0 0 5px;
    -o-border-radius: 5px 0 0 5px;
}

span.product-filter-variant-heading.active {
    color: var(--secondary-dk);
}

.filter-child-category li.active::before,
.filter-child-category li:hover::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f8f8f8;
    border-radius: 5px;
    z-index: -1;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.filter-child-category li.active,
.filter-child-category li:hover {
    color: var(--secondary);
    padding-left: 12px;
}

.filter-child-category li.active {
    color: #1c80b4;
}

.filter-child-category li.active::before {
    background-color: #fafafa;
}

.filter-section-content .filter-child-category {
    padding-left: 0;
    margin: 0;
    display: none;
}

.filter-section-content.show .filter-child-category {
    display: block;
}

.find-design-loading {
    display: block;
    position: relative;
}
.find-design-loading::after {
    content: "";
    padding-bottom: 40%;
    display: block;
}
.find-design-loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: center;
}

.margin-auto {
    /* margin: auto; */
}

.p-15 {
    padding: 15px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.fw-bold {
    font-weight: 550;
}

.modal-content .w-50.p-20.margin-auto .form-group {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
}

.modal-content .w-50.p-20.margin-auto .form-group label {
    white-space: nowrap;
    margin-right: 10px;
}
.modal-content .w-50.p-20.margin-auto .form-group .form-control {
    margin: 0
}
.modal-content .w-50.p-20.margin-auto .form-group .text-right {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 2px 6px;
    font-size: 13px;
    font-weight: 400;
    pointer-event: none;
}

.border-none {
    border: none;
}

.wh-100 {
    width: 100%;
    height: 100%;
}

.text-right {
    text-align: right;
}

.save-option {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.save-option input {
    margin-right: 6px;
}

.draft-list {
    height: 100%;
    overflow-y: scroll;
}

.draft-item {
    display: flex;
    align-items: stretch;
    border: 2px solid black;
    border-radius: 5px;
    margin-bottom: 8px;
    cursor: pointer;
}

.draft-item.active {
    border: 2px solid var(--secondary) !important;
}

.draft-info {
    width: 75%;
}

.draft-info-item {
    margin: 5px;
    font-weight: 400;
    word-break: break-word;
}

.draft-img {
    width: 25%;
    background-color: #ededed;
    display: flex;
    justify-content: center;
    padding: 3px;
}

.draft-img img {
    width: 100%;
}

.draft-preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.draft-preview-item.center {
    justify-content: center;
}

.draft-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    margin-top: 30px;
}

.radio-save-option {
    width: 18px;
    height: 18px;
    zoom: normal;
}

.label-save-option {
    font-size: 18px;
}

.flex-vertical {
    display: flex;
    flex-direction: vertical;
}

#mobile-save-draft .tab-content {
    height: calc(100% - 100px);
}

#mobile-save-draft .tab-pane {
    display: none;
    height: 100%;
    padding: 0 15px;
    overflow-y: scroll;
    width: 100%;
}

#mobile-save-draft .tab-pane.active {
    display: flex;
    flex-direction: column;

}

#mobile-tab-save-draft.active.tablet {
    flex-direction: row !important;
}

#mobile-tab-save-draft.active.tablet .tab-body {
    width: 100%;
    display: flex;
    flex-direction: row !important;
}

#mobile-tab-save-draft.active.tablet .tab-body .draft-preview, #mobile-tab-save-draft.active.tablet .tab-body .draft-form{
    width: 50%;
}

#mobile-tab-my-draft.active.tablet {
    flex-direction: row !important;
}

#mobile-tab-my-draft.active.tablet .tab-body, #mobile-tab-my-draft.active.tablet .tab-footer {
    width: 50%;
}

#mobile-save-draft .nav {
    display: flex;
    width: 100%;
    list-style: none;
    padding: 2px 10px;
    border-bottom: 2px solid transparent;
}

#mobile-save-draft li.nav-item.active {
    background: var(--pr-color-secondary);
    color: var(--pr-color-white);
}

#mobile-save-draft li.nav-item {
    padding: 10px 15px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 5px 5px 0 0;
    box-sizing: border-box;
    margin-bottom: -1px;
    text-align: center;
    background: var(--pr-color-flash);
    color: var(--pr-color-primary);
}


#mobile-save-draft .draft-preview-wrapper {
    height: calc(100% - 100px);
}

#mobile-save-draft .draft-item-preview {
    position: relative;
    display: flex;
    justify-content: center;
}

#mobile-save-draft .draft-list {
    height: 100px;
    overflow-y: hidden;
    overflow-x: scroll;
    width: calc(100vw - 30px);
    white-space: nowrap;
}

#mobile-tab-my-draft.active.tablet .draft-list {
    overflow-y: scroll;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    white-space: unset;
}

#mobile-save-draft .draft-item {
    display: inline-block;
    border: 2px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 8px;
    margin-right: 8px;
    cursor: pointer;
    width: 100px;
}

#mobile-tab-my-draft.active.tablet .draft-item {
    width: calc(100%/4 - 8px);
}

#mobile-tab-my-draft.active.tablet .draft-item:nth-child(4n) {
    margin-right: 0;
}

#mobile-save-draft .draft-img {
    width: 100%;
    height: 100%;
    padding: 0;
}

#mobile-save-draft .design-preview-btn {
    position: absolute;
    bottom: 0;
    padding: 14px;
}

#mobile-save-draft .design-preview-btn svg {
    margin: 0;
}

#mobile-save-draft .design-preview-btn.btn-success {
    right: 0;
}

#mobile-save-draft .design-preview-btn.btn-delete {
    left: 0;
}

#mobile-save-draft .btn-success {
    border-color: #6071ec;
    background-color: #6071ec;
}

#mobile-save-draft .btn-success:hover {
    border-color: #5867d8;
    background-color: #5867d8;
}

#mobile-save-draft .btn-delete {
    border-color: #d1d1d1;
    background-color: #fff;
    color: #777;
}
#mobile-save-draft .btn-delete:hover {
    border-color: #d1d1d1;
    background-color: #f8f8f8;
    color: #333;
}

#mobile-save-draft .flex-right {
    display: flex;
    justify-content: right;
}

#mobile-save-draft .tab-body {
    height: 100%;
}

.design-form {
    padding: 0 10px;
}

.design-form-input {
    align-items: center;
    margin-bottom: 8px;
}

.design-form-input label {
    margin-right: 10px;
    width: 100px;
    font-weight: 500;
}

.design-form-input input.form-control, .design-form-input span {
    width: 100px;
    margin-left: 10px;
    text-align: right;
}

button[disabled] {
    opacity: 0.25;
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    #mobile-save-draft .tab-content {
        width: 100%;
    }

    #mobile-save-draft .draft-preview {
        height: 500px;
    }

    #mobile-save-draft li.nav-item {
        border: 2px solid transparent;
        margin-bottom: -2px
    }
}

.design-form-wrapper .design-form-input {
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
}

.design-form-wrapper .design-form-input input[type="range"] {
    order: 3;
    flex: 0 0 100%;
    margin-top: 8px;
}

.design-form-input label {
    flex: 0 0 40%;
    margin-right: 0;
    width: auto;
    text-align: left;
}

.design-form-input .ph-20 {
    flex: 0 0 60%;
    padding: 10px 0;
}

.right-column.pattern-visibility .custom-product-main {
    height: 100%;
}
.product-type-appearances {
    padding-bottom: 30px;
}

.design-form-input-checkbox input {
    opacity: 0;
    visibility: hidden;
    width: 0;
    display: none;
}

.design-form-input.design-form-input-checkbox {
    margin-bottom: 20px;
}

.design-form-input-checkbox .checkbox {
    width: 24px;
    height: 24px;
    display: block;
    border: 2px solid #d1d1d1;
    position: relative;
    transition: all .2s ease-in-out;
    border-radius: 3px;
}
.form-input-checkbox:checked ~ label .checkbox {
    border-color: var(--pr-color-secondary);
}
.design-form-input-checkbox .checkbox::after, 
.design-form-input-checkbox .checkbox::before {
    content: "";
    width: 2px;
    height: 12px;
    display: block;
    background-color: var(--pr-color-secondary);
    position: absolute;
    border-radius: 3px;
    opacity: 0;
    transition: all .2s ease-in-out;
}
.design-form-input-checkbox .checkbox::before {
    transform: rotate(-45deg);
    height: 5px;
    top: 10px;
    left: 5px;
}
.design-form-input-checkbox .checkbox::after {
    transform: rotate(45deg);
    top: 4px;
    left: 10px;
}
.form-input-checkbox:checked ~ label .checkbox::after, 
.form-input-checkbox:checked ~ label .checkbox::before {
    opacity: 1;
}

.design-form-wrapper {
    overflow-y: auto;
}

.design-form-input.design-form-input-checkbox label[for="toggle-pattern"] {
    flex: 0 0 60%;
}

.back-screen {
    cursor: pointer;
    height: 30px;
    width: 30px;
    display: flex;
    text-align: center;
}
.addText-wrapper .header-action {
    padding: 10px;
}
.design-form-wrapper .rzslider span {
    margin-left: 0;
}

.design-form-wrapper .rzslider .rz-pointer {
    width: 20px;
    height: 20px;
    top: -8px;
}

.design-form-wrapper .rzslider .rz-pointer:after {
    top: 6px;
    left: 6px;
}

.design-form-wrapper .rzslider .rz-pointer.rz-active:after {
    background-color: var(--pr-color-primary);
}

.design-form-wrapper .rzslider .rz-pointer {
    background: var(--pr-color-secondary);
}

.design-form-wrapper .rzslider .rz-bubble.rz-limit {
    display: none;
}
.design-form-wrapper .rzslider{
    margin: 0;
}
.design-form-wrapper .rzslider .rz-bubble {
    width: auto;
}

.design-form-wrapper .rzslider .rz-bar-wrapper {
    height: 10px;
    padding-top: 0;
    margin-top: 0;
}
@media (max-width: 767px) {
    .back-screen {
        display: none;
    }
    .design-form-input label {
        flex: 0 0 30%;
        padding-right: 10px;
    }
    .design-form-input .ph-20 {
        flex: 0 0 70%;
    }
    
    .design-form-input.design-form-input-checkbox label[for="toggle-pattern"] {
        flex: 0 0 70%;
    }
    .design-form-wrapper .design-form-input {
        display: flex;
    }

    #js-text:active,
    #js-text:focus {
        box-shadow: none;
        border: none;
    }
    .product-left .filter {
        display: block;
    }
    .filter {
        height: 800px;
        overflow-y: auto;
    }
    .hot-topics-list {
        margin: revert;
    }
    .modal-right {
        height: 768px;
    }
}

@media (min-width: 990px) {
    .filter-label span:hover {
        color: var(--secondary);
        border-color: var(--secondary);
    }
}
@media (width: 1280px) {
    .filter {
        height: 580px!important;
    }
    .modal-product .list-product-content {
        height: 520px!important;
    }
}
@media (width: 1024px) and (orientation: landscape) {
    .filter {
        height: 415px;
    }
}

@media (min-width: 991px) {
    .select-design-prevew-wraper .design-preview-control {
        width: 100% !important;
    }

    .modal-content-upload .design-preview-btn {
        padding: 14px 24px;
        display: grid;
        grid-template-columns: 16px max-content;
        grid-gap: 6px;
        margin-left: 0;
    }

    .upload-file-item {
        height: auto;
    }

    .modal-content-upload .hot-topics-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 12px;
    }

    .modal-content-upload .upload-left {
        padding-right: 0;
    }
}

.upload-file-item.selected {
    border: 2px solid var(--primary-lt, #a397e1);
}

.modal-content-upload .hot-topics-list .upload-file-item {
    margin-bottom: 0 !important;
}