/** Shopify CDN: Minification failed

Line 566:1 Unexpected "/"

**/
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.ui-card * {
  font-family: var(--font-body-family), sans-serif !important;
}

/* Shared printess-containers */
.printess-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
}
.preload-height {
  height: 100vh; 
}

/* Index page styles */
.split {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.split .left {
  background: -o-linear-gradient(
      315deg,
      rgba(214, 49, 46, 0.8) 0%,
      rgba(235, 230, 214, 0.8) 100%
    ),
    url("/images/puzzle_bg.jpg");
  background: linear-gradient(
      135deg,
      rgba(214, 49, 46, 0.8) 0%,
      rgba(235, 230, 214, 0.8) 100%
    ),
    url("/images/puzzle_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.split .left .inner {
  padding: 48px;
  max-width: 720px;
  text-align: center;
}
.split .left h1 {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
}
.split .left p {
  margin: 0;
  opacity: 0.9;
  font-size: clamp(14px, 2.2vw, 18px);
}
.split .right h2 {
  font-weight: 600;
  margin: 0 !important;
}
.split .right {
  display: -ms-grid;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background-color: #f7f7f7;
}
.card {
  max-width: 480px;
  margin: 2rem auto;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1.75rem;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}
form {
  display: -ms-grid;
  display: grid;
  gap: 0.75rem;
}
label {
  font-size: 12px;
  color: #444;
  margin-bottom: 0 !important;
}
input[type="text"] {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}
input[type="text"]:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(214, 49, 46, 0.15);
          box-shadow: 0 0 0 3px rgba(214, 49, 46, 0.15);
  border-color: #d6312e;
}
button {
  background: #d6312e;
  color: #fff;
  border: 0;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.error {
  color: #b00020;
  margin-bottom: 0.5rem;
}
.hint {
  color: #666;
  font-size: 12px;
}

/* Line Items List Styles */
.line-items-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.line-item-form {
  margin: 0;
  padding: 0;
}

.line-item-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  background: white;
  text-align: left;
  font: inherit;
}
button.line-item-card.approved > .line-item-arrow {
  opacity: 0;
}
.line-item-card:hover {
  border-color: var(--brand);
  background-color: #fafafa;
  -webkit-transform: translateX(4px);
      -ms-transform: translateX(4px);
          transform: translateX(4px);
}

.line-item-card.approved {
  background-color: #f0f9f4;
  border-color: #c6e6d4;
  opacity: 0.7;
  cursor: not-allowed;
}

.line-item-card.approved:hover {
  opacity: 0.85;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  border-color: #c6e6d4;
}

.line-item-card:disabled {
  cursor: not-allowed;
  pointer-events: none;
}


.line-item-number {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.line-item-number i {
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}

.line-item-card.approved .line-item-number i {
  background: var(--success);
}

.line-item-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.line-item-content h3 {
  margin: 0 0 0.25rem 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.line-item-transaction,
.line-item-template {
  margin: 0.125rem 0;
  font-size: 12px;
  color: var(--muted-ink);
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  margin-top: 0.25rem;
}

.status-badge.approved {
  background: var(--success);
  color: white;
}

.status-badge.pending {
  background: #f0f0f0;
  color: var(--muted-ink);
}

.line-item-arrow {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  color: var(--muted-ink);
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  -o-transition: transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.line-item-card:hover .line-item-arrow {
  color: var(--brand);
  -webkit-transform: translateX(4px);
      -ms-transform: translateX(4px);
          transform: translateX(4px);
}

/* Editor page styles (extracted from us.html) */
:root {
  --brand: #b06328;
  --ink: #222222;
  --muted-ink: #5f5f5f;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --line: #e6e6e6;
  --beige: #f3ecda;
  --cta: #151515;
  --cta-hover: #000000;
  --success: #0a7d32;
  --danger: #b42318;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  --brand-dark: #b06328;
}
.brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 56px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.hero a.brand img {
  height: 80px;
  margin-bottom: 20px;
}
.pvo_brand {
  background-color: #fff;
  padding: 10px;
  margin: 0 auto;
  border-radius: 50%;
  width: 160px;
  height: 160px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hero {
  background-image: url("/images/page_bg_f.jpg") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background: var(--beige);
  border-bottom: 1px solid var(--line);
}
.hero .printess-container {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 18px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 50px;
}
.hero h1 {
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  font-style: normal;
}
.hero p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 12px;
}
.steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  margin-top: 12px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.step {
  background: #fff;
  padding: 8px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  cursor: auto;
}
.bc-combo-item .bc-image-box.popup-list-item:hover,
.bc-combo-item .bc-control.popup-list-item:hover,
.bc-combo-item
  .bc-button.mobile-bar-button.selected.popup-list-item.not-rounded,
.bc-combo-item .bc-control.selected {
  background-color: var(--bc-primary-50);
}
.pvo_step-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.pvo_step-left span {
  font-weight: 500 !important;
}
.pvo_step2 .pvo_step-left {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.pvo_step2 .pvo_step-left i {
  margin-top: 2px;
}
.step i {
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  min-width: 22px;
  height: 22px;
  display: -ms-grid;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-style: normal;
}
.step-checkbox {
  margin-left: auto;
  accent-color: var(--brand);
}
.main {
  padding: 16px 0;
}
.grid:not(footer .grid) {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 2fr 16px 420px;
  grid-template-columns: 2fr 420px;
      -ms-grid-rows: auto 16px auto 16px auto;
  gap: 16px;
}

.grid-item1 {
  -ms-grid-row: 1;
  -ms-grid-row-span: 5;
  -ms-grid-column: 1;
  grid-area: item1;
}

.grid-item2 {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
  grid-area: item2;
  background: #fff;
  border: 1px solid var(--line);
}

.grid-item3 {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: item3;
  background: #fff;
  border: 1px solid var(--line);
}

.grid-item4 {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
  grid-area: item4;
  background: #fff;
  border: 1px solid var(--line);
}
.printess-ui {
  /* border-top: none !important; */
}
.grid-item2 .printess-ui {
  padding: 14px 0;
  border: 0;
  margin: 0;
}
.preview-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.preview-card .note {
  text-align: center;
}
.printess-preview {
  height: 100%;
  max-height: 66vh;
  background: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  border-radius: 0;
}
.printess-preview-image,
.pvo_printess-preview-image {
  position: relative;
  max-height: 66vh;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.printess-image-loader {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
*/

.printess-image-loader.loading {
  display: -ms-grid;
  display: grid;
}

.printess-image-loader svg {
  width: 64px;
  height: 64px;
  opacity: 1;
}

.printess-image-loader .circular {
  -webkit-animation: rotate 2s linear infinite;
          animation: rotate 2s linear infinite;
}

.printess-image-loader .path {
  stroke: var(--brand);
  stroke-linecap: round;
  -webkit-animation: dash 1.5s ease-in-out infinite;
          animation: dash 1.5s ease-in-out infinite;
}

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

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

@-webkit-keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}
.bc-color-box.border-selected {
  border-radius: none !important;
}
.order-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin: 10px 0 8px 0;
}
.order-card p,
.order-card div {
  padding-bottom: 8px;
}
.order-card h3,
#approveCheck h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 5px;
}
label,
.note,
.order-card .note,
.bc-info-label-text span,
.bc-label-text.sub-inline {
  font-size: 12px !important;
  color: rgba(var(--color-foreground),.75) !important;
  font-weight: 400;
}
.bc-info-label-text,
.bc-info-label-text span,
.bc-label-text.sub-inline {
  padding-top: 0.5em !important;
}
#approveCheck {
  margin-left: 0;
}
#checkbox-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; 
  border: 2px dashed #d6312e;
  gap: 8px; 
  padding: 8px 6px !important;
}
#checkbox-wrapper label {
  color: #d6312e !important;
}
label[for="confirmationCheckbox"]{
  text-align:left !important;
}
#confirmationCheckbox {
  -webkit-appearance: auto !important;
     -moz-appearance: auto !important;
          appearance: auto !important;
  margin-top: 1px;
  height: 14px;
  width: 14px;
  border: 1px solid #d6312e !important;
}
.checkbox {
  -webkit-appearance: auto !important;
     -moz-appearance: auto !important;
          appearance: auto !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 12px 0;
}
.checkbox input {
  margin-top: 3px;
}
.checkbox label {
  margin-left: 5px;
}
.legal {
  font-size: 12px;
  color: var(--muted-ink);
}
.legal a {
  color: inherit;
}
.cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  position: relative;
  z-index: 999 !important; /* Bug Fixing BTN not clickable */
}
.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  font-size: 14px;
}
#approveBtn {
  background-color: transparent !important;
  border-radius: 42px; 
  border: 2px solid rgb(var(--color-foreground)) !important;
  color: rgb(var(--color-foreground));
  text-transform: none;
}
#approveBtn:hover {
  cursor: pointer !important;
  -webkit-box-shadow: 0 0 0 1px rgb(var(--color-foreground));
          box-shadow: 0 0 0 1px rgb(var(--color-foreground));
}
button[disabled]{
  background-color: #dedede !important;
  border: 1px solid #dedede !important;
  opacity: 0.8;
}
.btn-primary {
  background: rgb(var(--color-foreground));
  border: 1px solid rgb(var(--color-foreground));
  color: #fff;
}
.btn-primary[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #dedede;
  border: 1px solid #dedede;
  color: grey;
}
.btn-primary.ready:hover,
.btn-primary:hover {
  opacity: .6;
  -webkit-transition: .3s ease;
  -o-transition: .3s ease;
  transition: .3s ease;
}
.btn-red {
  background: rgb(var(--color-foreground));
  color: #fff;
}
.printess-footer {
  display: none !important;
}
/* Success Modal Styles */
.modal-overlay,
#pvo_approval-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 1rem;
  z-index: 9999999 !important;
}
.modal-content,
.pvo_approval-modal-container  {
  background: #fff;
  color: #111;
  max-width: 520px;
  width: 100%;
  border-radius: 12px;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
          box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 24px;
  text-align: center;
}
#lightbox-search .modal-content {
  max-width: 100vw;
}
.modal-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}
.modal-content p {
  margin: 0 0 16px 0;
  line-height: 1.5;
}
.modal-actions {
  margin-top: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
#pvo_approval-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  -webkit-box-align: center; 
      -ms-flex-align: center; 
          align-items: center; 
  -webkit-box-pack: center; 
      -ms-flex-pack: center; 
          justify-content: center; 
}
.pvo_approval-modal-container div,
.pvo_approval-modal-container h3 {
  margin-bottom: 10px;
  padding: 0 !important;
}
.pvo_approval-modal-container h3,
.pvo_approval-btn {
  margin-bottom: 10px;
}
.pvo_approval-modal-container {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  border: 1px solid var(--line);
  border-radius: 0 !important;
  max-height: 98vh !important;
}
.pvo_approval-preview-img {
  border: 1px solid var(--line);
  position: relative;
}
.pvo_fullscreen-icon {
  background-image: url("//www.puzzlesofcolor.com/cdn/shop/t/71/assets/fullscreen-icon.png?v=8126");
  background-size: contain;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
#pvo_approval-modal h3 {
  font-size: 1.3em;
}
.pvo_approval-content * {
  text-align: left;
  font-size: 12px !important;
  padding-bottom: 0 !important;
}
.pvo_warning-text {
  font-weight: bold;
  padding-top: 10px;
}
.pvo_approval-btn {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  -webkit-box-pack: justify; 
      -ms-flex-pack: justify; 
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; 
  gap: 5px; 
}
.pvo_approval-btn button {
  width: 50%; 
}

/* Help Modal Specific Styles */
.help-modal {
  max-width: 580px;
  text-align: left;
}

.help-modal h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.help-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.help-section:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.help-section h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.help-section p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted-ink);
}

.help-modal .modal-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* Upload overlay styles */
.upload-overlay {
  display: none; /* toggled via style/js */
}
.sc-upload-button-container > label
 {
  display: inline-block !important;
}
.upload-card {
  max-width: 200px;
  text-align: center;
}
.upload-brand {
  width: 96px;
  height: 96px;
  -o-object-fit: contain;
     object-fit: contain;
  display: inline-block;
}
.upload-text {
  margin-top: 12px;
}
.bc-upload-hint button > div {
  font-weight: bold;
}
.upload-progress {
  margin-top: 12px;
  width: 100%;
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.upload-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgb(var(--color-foreground));
  border-radius: 999px;
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
  -webkit-animation: upload-indeterminate 1.3s infinite linear;
          animation: upload-indeterminate 1.3s infinite linear;
}
@-webkit-keyframes upload-indeterminate {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}
@keyframes upload-indeterminate {
  0% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  100% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
}

/* Slim‑UI theming overrides */
.bc-image-box.selected {
  border-color: var(--brand) !important;
}
.printess-ui {
  color: rgb(var(--color-foreground));
  --bc-border-color: transparent;
  --bc-control-background: tranredsparent;
  --bc-button-solid-primary: #ffffff;
  --bc-button-solid-primary-back: var(--brand);
  --bc-button-solid-primary-hover: var(--brand-dark);
  --bc-button-solid-primary-active: var(--brand-dark);
  --bc-button-solid-secondary: #222222;
  --bc-button-solid-secondary-back: #ffffff;
  --bc-button-solid-secondary-hover: #f7f7f7;
  --bc-button-solid-secondary-active: #efefef;
  --bc-button-outline-primary: var(--brand);
  --bc-button-outline-primary-back: #ffffff;
  --bc-button-outline-primary-hover: var(--brand-dark);
  --bc-button-outline-primary-active: var(--brand-dark);
  --bc-button-outline-secondary: #5f5f5f;
  --bc-button-outline-secondary-back: #ffffff;
  --bc-button-outline-secondary-hover: #222222;
  border: 1px solid rgb(var(--color-foreground));
  border-radius: 0;
  margin: -16px 0 15px 0;
}
.printess-ui :is(label, small, p, span) {
  color: var(--muted-ink);
}
.printess-ui input,
.printess-ui select,
.printess-ui textarea {
  font: inherit;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
}
.printess-ui input:focus,
.printess-ui select:focus,
.printess-ui textarea:focus {
  outline: 1px solid rgba(21, 21, 21, 0.25);
  outline-offset: 1px;
}
.printess-ui input[type="range"],
.printess-ui progress {
  accent-color: var(--brand, #d6312e);
}
.printess-ui input[type="checkbox"],
.printess-ui input[type="radio"] {
  accent-color: var(--brand, #d6312e);
}
bc-image-list .bc-image-thumb-crop,
.sc-image-thumb .bc-image-thumb-crop {
  background-color: #f7f7f7;
}
.bc-image-thumb-crop svg {
  color: var(--muted-ink);
}
.sc-cluster {
  border: none;
}
.bc-combo-color-selected {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.bc-label-text {
  font-size: 1.6rem !important;
  color: rgba(var(--color-foreground),.75);
  font-weight: 600;
}
.pvo_select-pieces {
  padding-top: 10px;
}

/* Fix mobile scroll blocking after text input */
.bc-text-input,
.bc-text-input:focus {
  -ms-touch-action: manipulation !important;
      touch-action: manipulation !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
       -ms-user-select: text !important;
      user-select: text !important;
}
input,
textarea,
select {
  font-size: 16px;
}

/* Mobile styles consolidated below at @media (max-width: 768px) */
@supports not (accent-color: red) {
  .printess-ui input[type="checkbox"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 4px;
    background: #fff;
    position: relative;
  }
  .printess-ui input[type="checkbox"]:checked {
    border-color: var(--brand, #d6312e);
    background: var(--brand, #d6312e);
  }
  .printess-ui input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 9px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  .printess-ui input[type="radio"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 50%;
    background: #fff;
    position: relative;
  }
  .printess-ui input[type="radio"]:checked {
    border-color: var(--brand, #d6312e);
  }
  .printess-ui input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
  }
  .printess-ui input[type="range"] {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    height: 3px;
    background: #ddd;
    border-radius: 999px;
    outline: none;
  }
  .printess-ui input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
            appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
    border: 0;
  }
  .printess-ui input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--brand, #d6312e);
    border: 0;
  }
  .printess-ui input[type="range"]::-moz-range-track {
    background: #ddd;
    height: 3px;
    border-radius: 999px;
  }
}

.bc-button.solid {
  background-color: var(--brand);
  border-color: var(--brand);
}
.bc-button.solid:hover {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1020px) {
  .grid {
    -ms-grid-columns: 1fr !important;
    grid-template-columns: 1fr !important;
                grid-template-areas:
      "item2"
      "item3"
      "item1"
      "item4" !important;
  }
  .printess-ui {
    max-height: unset;
  }
  .grid-item1 {
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    -ms-grid-column: 1;
  }
  .grid-item2 {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .grid-item3 {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  .grid-item4 {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
  }
}
@media (max-height: 660px) {
  .pvo_approval-modal-container {
    overflow-y: scroll !important;
  }
}
@media (max-height: 740px) {
  .pvo_approval-modal-container {
    overflow-y: scroll !important;
  }
  .printess-preview-image, .pvo_printess-preview-image {
    max-height: 50vh;
  }
}
@media (max-width: 400px) {
  .pvo_approval-btn {
    -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
  }
  .pvo_approval-btn-edit,
  .pvo_approval-btn-cart {
    width: 100% !important;
  }
  .pvo_approval-btn-edit,
  .pvo_approval-btn-cart {
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  /* Body and document settings */
  body {
    position: relative !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  /* Touch input optimization */
  .printess-ui input,
  .printess-ui textarea,
  .bc-text-input {
    -ms-touch-action: manipulation !important;
        touch-action: manipulation !important;
  }

  .preview-card {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    border: 1px solid var(--line) !important;
  }

  /* Brand and header */
  .brand img {
    height: 60px;
    margin-bottom: 20px;
  }

  /* Hero section */
  .hero {
    background-image: none !important;
  }
  .hero .printess-container {
    padding: 20px 16px !important;
  }
  .hero h1 {
    font-size: 20px;
    font-weight: 400 !important;
  }

  /* Steps */
  .steps {
    gap: 10px;
  }

  /* Grid layout */
  .printess-printess-container {
    padding: 12px 14px;
  }
  .grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr !important;
  }

  /* Grid items */
  .preview-card {
    border: none !important;
    margin-top: -470px;
  }
  .grid-item2,
  .grid-item3,
  .grid-item4 {
    overflow: visible;
  }
  .grid-item3 {
    border-bottom: none;
  }
  .grid-item4 {
    border: 1px solid var(--line);
  }

  /* Preview */
  .printess-preview {
    max-height: 55vh;
  }
  .printess-preview-image {
    max-height: 42vh;
    position: relative;
  }
  /* Order card and buttons */
  .btn {
    width: 100%;
  }
  .order-card {
    margin-top: 410px;
  }
  .pvo_approval-modal-container div {
    margin-bottom: 10px !important;
  }
  .pvo_approval-modal-container {
    width: 100% !important;
  }
}
@media screen and (min-width: 767px) {
    .tab-pane {
        width: 80% !important;
    }
}

@media (min-width: 1021px) {
  .card {
    width: 480px;
  }
}

/* iOS Safari scrolling fixes */
@supports (-webkit-touch-callout: none) {
  html,
  body {
    height: auto !important;
    min-height: 100vh;
  }

  .split {
    min-height: auto;
    height: auto;
  }

  /* Ensure touch scrolling works properly */
  * {
    -webkit-overflow-scrolling: touch;
  }
}



/* PVO ADDITIONAL STYLES */
#pvo_additional_code {
  /* border: 1px solid var(--line); */
  /* border-bottom: none; */
  padding-top: 16px;
  margin-bottom: 35px; 
}
.pvo_variant-selection {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex; 
  -webkit-box-pack: start; 
      -ms-flex-pack: start; 
          justify-content: start; 
  gap: 5px;
  padding: 5px 0 0 0;
}
.pvo_variant-selection:first-child {
  margin-left: -5px !important;
}
.pvo_variant-selection div {
  width: 70px;
  height: 100%;
  background-color: transparent;
  font-weight: 400;
  text-align: center;
  line-height: 37px;
  background-position: -1px -1px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
.pvo_variant_box a {
  border: var(--variant-pills-border-width) solid rgba(var(--color-foreground),var(--variant-pills-border-opacity));
  background-color: rgb(var(--color-background));
  color: rgba(var(--color-foreground));
  border-radius: var(--variant-pills-radius);
  color: rgb(var(--color-foreground));
  display: inline-block;
  margin: .7rem .5rem .2rem 0;
  padding: 1rem 2rem;
  font-size: 1.4rem;
  letter-spacing: .1rem;
  line-height: 1;
  text-align: center;
  -webkit-transition: border var(--duration-short) ease;
  -o-transition: border var(--duration-short) ease;
  transition: border var(--duration-short) ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.pvo_active,
.pvo_variant_box:hover,
.pvo_variant_box:hover > a{
  border-color: rgb(var(--color-foreground));
}
.pvo_active > a{
  background-color: rgb(var(--color-foreground));
  color: white;
}

.pvo_variant-price {
  margin-bottom: 5px; 
  font-size: 1.8rem;
  font-weight: 400;
  margin: 1.5rem 0;
}
#pvo_additional_code .pvo_span-shipping-cost {
  padding-bottom: 16px;
}
.pvo_shipping {
  color: rgba(var(--color-foreground),.75);
  padding-bottom: 10px;
}
.pvo_delivery-date {
  padding-bottom: 10px;
  margin-bottom: 0 !important;
}
.bc-properties {
  z-index: 1 !important;
}
bc-progress .progressBar, .sc-progress .progressBar {
  background-color: var(--brand) !important;
}
#pvo_delivery-date-container > h5 {
  margin-bottom: 10px !important;
}
.tabs-information-layout {
  margin-bottom: 50px !important;
  padding: 30px;
  overflow-x: hidden;
}
.bc-modal.full-size {
  position: fixed; 
  z-index: 99999;
  overflow-y: hidden !important;
}
.sc-scale-hint {
  font-size: 1em;
}
.pvo_uplift {
  color: white !important;
  margin-left: 8px;
  font-size: 14px;
}


.pricetag {
	display: inline-block;
  width: auto;
	height: 28px;
	background-color: #d6312e;
	border-radius: 3px 4px 4px 3px;
	border-left: 1px solid #d6312e;

	/* This makes room for the triangle */
	margin-left: 19px;
	position: relative;
	color: white;
	font-weight: 500;
	font-size: 14px;
	line-height: 28px;
	padding: 0 6px;
}

/* Makes the triangle */
.pricetag:before {
	content: "";
	position: absolute;
	display: block;
	left: -14px;
	width: 0;
	height: 0;
	border-top: 14px solid transparent;
	border-bottom: 14px solid transparent;
	border-right: 14px solid #d6312e;
}

/* Makes the circle */
.pricetag:after {
	content: "";
	background-color: white;
	border-radius: 50%;
	width: 6px;
	height: 6px;
	display: block;
	position: absolute;
	left: -5px;
	top: 11px;
}

/* PRICETAG */

.pvo_ai-pricetag::after,
.pvo_pricetag {
      content: "+$4.99";
      display: inline; 
      margin-left: 5px;
      width: auto; 
      color: #d6312e !important; 
      font-size: 12px;
    }
#bc-combo-option-0 .bc-control.not-rounded::after {
      content: "";
}



.sc-scale-hint {
  display: none !important;
}
.pvo_warning-text.sc-scale-hint {
  display: inline-block !important;
}

.sc-upload-button-container.has-hint {
  -ms-grid-rows: 120px 0px !important;
  grid-template-rows: 120px 0px !important;
}


/* BUG FIXING */
.bc-image-crop-rotate-overlay {
  position: fixed !important;
}
.bc-image-crop-rotate-overlay .bc-image-container {
  max-width: 100vw !important;
  max-height: 100vh !important; 
}
.bc-adjust-controls {
  position: fixed;
  bottom: 0;
  background-color: white;
  z-index: 3; 
}

/* ADDITION FOR PUZZLES OF COLOR */

.pvo_hide {
    display: none !important;
}
.pvo_flex-center {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
    -webkit-box-align: center; 
        -ms-flex-align: center; 
            align-items: center;
}
.bc-control,
.bc-text-image-item > .bc-image-box,
.bc-text-input,
.bc-upload-icon,
.sc-upload-button,
.sc-image-thumb,
.bc-control > div {
  background-color: transparent !important;
  border: 1px solid rgb(var(--color-foreground)) !important;
  color: rgb(var(--color-foreground)) !important;
  font-size: 1.6rem;
}
.sc-image-thumb {
  background-image: url("https://editor.printess.com/v/3.3.6/printess-editor/img/default.svg") !important;
  border-radius: var(--bc-border-radius);
}
.bc-image-thumb {
  display: block !important;
}
.bc-image-box {
  border-right: none !important;
}
.bc-upload-icon,
.popup-list-item,
.bc-control > div,
.not-rounded {
  border: none !important;
}
.pvo_product-description {
  padding: 16px;
}