/* ===============================
   BASIC LAYOUT
================================ */
.d-none {
    display: none !important;
}

/* ===============================
   BASIC LAYOUT
================================ */

.update-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
}
div#cropActions button svg {
    width: 20px;
    position: relative;
    top: -2px;
    height: 20px;
    stroke-linejoin: round;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
}
.update-status .loader {
  width: 18px;
  height: 18px;
  border: 3px solid #ddd;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

div#imageModal {
    align-items: center;
}
.upload-box{
    margin-top: 60px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #e2e2e2;
    padding: 20px;
}.screen-header h4 {
    font-size: 28px;
}
.screen-header .close-it:hover {
    background-color: #333;
}

.screen-header .close-it {
    background-color: #ff0000;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}
.screen-header svg {
    width: 25px;
    height: 25px;
    cursor: pointer;
    fill: #fff;
}
.upload-box button.btn {
    background: #ff0000;
    height: 47px;
    padding: 0px 30px;
    color: #fff;
}
div#screen-upload .screen-inner {
    align-items: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    max-width: 560px;
    margin: 0 auto;
    row-gap: 29px;
}


button.secondary-btn {
    background: rgb(82 82 82);
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 10px;
    color: #ffffff;
}
.upload-box button.btn svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    margin-right: 9px;
}

.upload-icon {
    margin: 34px 0px;
}
.modal.fade.show {
    display: flex !important;
}
#imageModal .modal-dialog {
    width: 90%;
    height: 90%;
    min-height: 90%;
    min-width: 90%;
    max-width: 90%;
    max-height: 90%;
    padding: 0 !important;
}

#imageModal .modal-dialog .modal-content {
    border-radius: 0;
    height: 100%;
    width: 100%;
}
.screen { display:none; }
.screen.active { display:block; }


.preview-grid img {
  width:120px;
  height:120px;
  object-fit:cover;
}
.adjust-buttons button {
    padding: 8px 12px;
    background: #f2f2f2;
    border: 0;
    font-size: 10.8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: #695b5b;
}
.editor-canvas {
  max-width:100%;
  max-height:65vh;
}

/*#thumbStrip {*/
/*  display:flex;*/
/*  gap:8px;*/
/*  padding:10px;*/
/*  overflow-x:auto;*/
/*  border-bottom:1px solid #ddd;*/
/*}*/

/*#thumbStrip img {*/
/*  width:60px;*/
/*  height:60px;*/
/*  object-fit:cover;*/
/*  cursor:pointer;*/
/*  border:2px solid transparent;*/
/*}*/

/*#thumbStrip img.active {*/
/*  border-color:#000;*/
/*}*/

.tool-bar button {
  background:none;
  border:none;
  font-size:20px;
}

.adjust-buttons button {
  padding:8px 12px;
  border:1px solid #ddd;
  background:#f5f5f5;
}

.upload-box {
    border: 2px dashed #ddd;
    padding: 50px;
    text-align: center;
    cursor: pointer;
    padding: 40px 20px;
    overflow: hidden;
    border: 1px dashed hsla(208, 4%, calc(10% + 78% * 0), calc(0.2 * 1));
    transition: .2s ease;
    border-radius: 16px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}


/* ===============================
   PREVIEW TILE UI
================================ */
.preview-item {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px dashed #e0e0e0;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* number badge (top-left) */
.preview-index {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}

/* delete button (bottom-left) */


/* loader */
.preview-loader {
  width: 26px;
  height: 26px;
  border: 3px solid #ddd;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

div#screen-preview {
    height: 94%;
}
.preview-inner  button.btn svg {
    fill: #fff;
    width: 20px;
    height: 20px;
    margin-right: 6px;
}

.preview-inner button.btn, .c-add-to-cart {
    width: 100%;
    background: #ff0000;
    border: 0;
    height: 47px;
    font-weight: 600;
    max-width: 250px;
    color: #fff;
    border-radius: 5px;
}
.preview-inner {
    display: flex;
    align-items: baseline;
    height: 100%;
    width: 100%;
    justify-content: space-around;
}

.preview-summary {
    width: 30%;
}

.preview-grid.d-flex.flex-wrap.gap-3.mt-3 {
    width: 45%;
}

.preview-inner {
    padding: 50px;
}
.preview-grid.d-flex.flex-wrap.gap-3.mt-3 > div {
    width: 30%;
    height: 230px;
}

.accept-block__error.selected-amount {
    font-weight: 700;
}

.accept-block__message {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
    justify-content: center;
}

.accept-block__message span {
    color: #949090;
    font-size: 12px;
    font-weight: 500;
}

.accept-block__text h2 {
    font-size: 24px;
    font-weight: 700;
}

p.accept-message__icon.accept-message__icon--2 {
    display: flex;
    align-items: center;
    column-gap: 14px;
}

.preview-grid > div {
    position: relative;
}

.preview-grid > div img {
    width: 100%;
    max-height: 230px;
    height: 100%;
}
.preview-grid > div .text-center button svg {
    width: 20px;
    fill: #000000;
    height: 20px;
    stroke-width: 3.3;
}
.preview-grid > div:after {
    content: "";
    border: 1px dashed #ffffff;
    position: absolute;
    top: 0;
    width: 94%;
    height: 94%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    left: 3%;
    top: 3%;
}
.preview-index {
    display: none;
}
.preview-grid > div:before {
    background-color: #0000002b;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
}
.preview-grid > div .text-center {
    position: absolute;
    bottom: 3%;
    z-index: 1;
    display: flex;
    right: 3%;
    left: auto;
    column-gap: 4px;
    width: 94%;
    justify-content: flex-end;
}

.preview-grid > div .text-center button {
    border: 1px solid #cccaca;
    background: #fff;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.preview-grid > div .text-center button:first-child {margin-right: auto;}*/
p.accept-message__icon.accept-message__icon--2 svg {
    fill: #e83737;
    width: 58px;
}



/* ===============================
   PREVIEW GRID ITEMS
================================ */
.preview-item {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px dashed #ddd;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* number badge */
.preview-index {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
}

/* delete button */
.preview-delete {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background: #fff;
  cursor: pointer;
}
.progress-bar {
    background-color: #ff0000 !important;
    font-weight: 600 !important;
}

.progress.w-100 {
    width: 80% !important;
    position: absolute;
    height: 23px;
}
/* loader */
.preview-loader {
  width: 26px;
  height: 26px;
  border: 3px solid #ddd;
  border-top: 3px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.c-add-to-cart {
  display: none;
}
.c-add-to-cart.show {
  display: inline-block;
}

/*tools*/
.update-it {
  display: none;
}
.update-it.show {
  display: inline-block;
}
button.update-it.show {
    position: absolute;
    right: -5px;
    bottom: 10px;
}
.update-it svg {
    width: 16px;
    margin-right: 6px;
}
button.back-it {
    background-color: #333 !important;
    opacity: 1 !important;
    padding: 7px 15px;
    color: #fff;
    font-size: 12px !important;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 0;
    width: auto !important;
    max-width: none;
}
button.back-it, button.back-it:hover {
    background-color: #333 !important;
    color: #fff !important;
    
}
.update-it {
    background-color: #333 !important;
    opacity: 1 !important;
    padding: 6px 15px;
    color: #fff;
    font-size: 12px !important;
    letter-spacing: 1px;
    font-weight: 600;
}
div#cropActions div {
    position: absolute;
    bottom: 0;
    right: 10px;
    bottom: 10px;
}
.tool-bar {
    position: absolute;
    bottom: 0;
  
    height: 65px;
    width: 99%;
    justify-content: center;
    display: flex;
}
div#cropActions div button {
    font-size: 12px;
    background-color: #333 !important;
    color: #fff;
    padding: 6px 15px;
}
.preview-inner button.btn:hover, .upload-box button.btn:hover, button.btn.btn-sm.close-popup:hover {
    background: #333 !important;
    color: #fff !important;
}
.crop-btn {
    bottom: 10px !important;
    right: 10px !important;
}
.crop-btn button {
    background: none !important;
    border: 0 !important;
    bottom: 0px !important;
}
.crop-btn button svg {
    stroke: #837a7a !important;
}
div#cropActions button {
    padding: 2px 12px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    font-size: 18.8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: #695b5b;
    max-height: 34px;
    align-items: center;
    line-height: inherit;
    height: 34px;
}
button.update-it.show {
    display: flex;
}
button.back-it {
    margin-right: auto;
    width: auto;
    max-width: auto;
    position: absolute;
    left: 10px;
    top: auto;
    bottom: 10px;
}
div#adjustTools svg path {
    stroke-linejoin: round;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
}
input[type=range]::-webkit-slider-thumb {
    background-color: #061567 !important;
    -webkit-appearance: none;
    border: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    position: relative;
    z-index: 9;
    top: 2px;
}

div#sliderPanel {
    text-align: center;
}
input[type=range]{
    position: relative;
}
input[type=range]:after {
    content: "";
    border-bottom: 2px dotted #a1a1a1;
    width: 100%;
    position: absolute;
    bottom: 7px;
}
@media(min-width:768px)
{
    .preview-grid {
    overflow: auto;
    max-height: 70vh;
}
    input#adjustSlider {
        max-width: calc(100% - 200px) !important;
        margin: 0 auto !important;
        width: calc(100% - 200px) !important;
        left: 0;
        right: 0;
    }
}
div#sliderPanel div button {
    position: relative;
    top: -45px;
    background: none;
    border: 0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 0;
}
input[type=range] {
    appearance: none;
}
/*input[type=range] {*/
/*    appearance: none;*/
/*}*/

.tool-bar {
    transform: translateY(0px);
    overflow: visible;
    opacity: 1;
    transition: .2s ease-in;
}
.tool-bar.hidden {
    transform: translateY(45px);
    overflow: hidden;
    opacity: 0;
    transition: .2s ease-out;
}
.cropper-bg {
    background: #f5f5f5 !important;
}
.cropper-bg {
    background-image: none !important;
}
.btn:hover {
    color: unset !important;
    background-color: unset !important ;
    border-color: unset !important;
}
.tool-bar svg {
    stroke-linejoin: round;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
}
.adjust-buttons button svg {
    width: 18px;
    height: 18px;
    margin-right: 3px;
    position: relative;
    top: -1px;
}
div#filterTools button {
    padding: 4px 12px;
    background: #f2f2f2;
    border: 0;
    font-size: 10.8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: #695b5b;
    margin-bottom: 0;
    margin-right: 0;
}
div#sliderLabel {
    display: none;
}
button.secondary-btn.close-it {
    margin-bottom: 0;
    margin-right: 0;
}
.canvas-wrap{
    height: 73vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.tool-bar button.active {
  color: #000;
  border-bottom: 2px solid #000;
  opacity: 1;
}
.cart-uploaded-images img {
    height: 40px;
}
.tool-bar button {
  opacity: 0.5;
}

.cart-uploaded-images {
    display: none;
    grid-template-columns: auto auto;
    row-gap: 5px;
    column-gap: 5px !important;
}

td.cart-items__price.cart-secondary-typography {
    display: none;
}

td.cart-items__media {
    min-width: 33%;
    max-width: 86px !important;
}
td.cart-items__details.cart-primary-typography {width: auto !important;}

.cart-items__table-row {
    grid-auto-columns: auto auto;
    --cart-item-price-width: unset;;
}

/* .cart-uploaded-images img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    margin: 0;
    padding: 0;
} */
/* a.cart-items__media-container {
    display: none;
} */
.cart-items__table-row {
    column-gap: unset !important;
    row-gap: unset !important;
}

.cart-items__properties {
    display: none;
}

div#sliderPanel div button {
    background-color: #333;
    color: #fff;
    padding: 0px 15px;
    font-weight:600;
}
button.btn.btn-sm.close-popup svg {
    stroke: #ffffff;
}
button.btn.btn-sm.close-popup {
    background-color: red;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    opacity: 1;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
}