/** Shopify CDN: Minification failed

Line 7:18 Unexpected "{"
Line 7:27 Expected ":"

**/
#shopify-section-{{ section.id }} .page-width {
  max-width: 1480px;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 auto;
}

.custom-photo-canvas-page {
  background: #fff;
  color: #111;
}

.custom-photo-canvas-page__top {
  background: #fff;
  padding: 18px 0 10px;
}

.custom-photo-canvas-page__top-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-photo-canvas-page__search {
  width: 100%;
}

.custom-photo-canvas-page__search-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 184px;
  align-items: center;
  border: 1px solid #bdb7b2;
  background: #fff;
  min-height: 44px;
}

.custom-photo-canvas-page__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.custom-photo-canvas-page__search-input {
  border: 0;
  outline: none;
  box-shadow: none;
  font-size: 14px;
  background: transparent;
  padding: 0;
  min-height: 42px;
  width: 100%;
}

.custom-photo-canvas-page__search-input::placeholder {
  color: #77716c;
  opacity: 1;
}

.custom-photo-canvas-page__search-button {
  min-height: 34px;
  margin: 4px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.custom-photo-canvas-page__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a847e;
  font-size: 14px;
  line-height: 1.4;
}

.custom-photo-canvas-page__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.custom-photo-canvas-page__hero {
  background: #eee8e5;
  padding: 36px 0 34px;
}

.custom-photo-canvas-page__hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.custom-photo-canvas-page__hero-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.custom-photo-canvas-page__hero-text {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.5;
  color: #1b1b1b;
}

.custom-photo-canvas-page__hero-text p {
  margin: 0;
}

.custom-photo-canvas-page__main {
  background: #f5f5f5;
  padding: 18px 0 24px;
}

.custom-photo-canvas-page__upload-wrap {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.custom-photo-canvas-page__workspace {
  position: relative;
  min-height: auto;
}

.custom-photo-canvas-page__upload-stage,
.custom-photo-canvas-page__config-stage {
  width: 100%;
}

.custom-photo-canvas-page__upload-stage {
  display: block;
}

.custom-photo-canvas-page__config-stage {
  display: none;
}

.custom-photo-canvas-page__workspace.is-configurator-visible
  .custom-photo-canvas-page__upload-stage {
  display: none;
}

.custom-photo-canvas-page__workspace.is-configurator-visible
  .custom-photo-canvas-page__config-stage {
  display: block;
}

.custom-photo-canvas-page__intro {
  margin-bottom: 22px;
}

.custom-photo-canvas-page__intro-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.custom-photo-canvas-page__intro-text {
  margin: 0 auto;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.45;
  color: #1a1a1a;
}

.custom-photo-canvas-page__button-row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.custom-photo-canvas-page__upload-button {
  min-width: 280px;
  min-height: 50px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.custom-photo-canvas-page__upload-button:hover {
  opacity: 0.88;
}

.custom-photo-canvas-page__file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.custom-photo-canvas-page__terms-wrap {
  max-width: 520px;
  margin: 0 auto 0;
}

.custom-photo-canvas-page__terms {
  max-width: 280px;
  margin: 0 auto 18px;
  text-align: left;
  font-size: 11px;
  line-height: 1.3;
  color: #1f1f1f;
}

.custom-photo-canvas-page__terms a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.custom-photo-canvas-page__faq {
  margin: 14px auto 0;
  max-width: 520px;
  text-align: left;
  border-top: 1px solid #d9d9d9;
}

.custom-photo-canvas-page__faq-item {
  border-bottom: 1px solid #d9d9d9;
}

.custom-photo-canvas-page__faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #111;
}

.custom-photo-canvas-page__faq-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  color: #111;
}

.custom-photo-canvas-page__faq-answer {
  display: none;
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #555;
}

.custom-photo-canvas-page__upload-stage {
  padding-bottom: 36px;
}

.cpp-upload-loader {
  position: fixed;
  inset: 0;
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpp-upload-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cpp-upload-loader__box {
  text-align: center;
}

.cpp-upload-loader__icon {
  width: 74px;
  height: 74px;
  object-fit: contain;
  animation: cppSpin 1.15s linear infinite;
}

.cpp-upload-loader__text {
  margin-top: 14px;
  font-size: 15px;
  color: #1f1f1f;
}

@keyframes cppSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.cpp-configurator {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cpp-configurator__window {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  background: transparent;
}

.cpp-configurator__head {
  text-align: center;
  margin-bottom: 8px;
}

.cpp-configurator__title-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: #111;
}

.cpp-configurator__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
}

.cpp-configurator__stage-wrap {
  width: 100%;
}

.cpp-configurator__stage {
  position: relative;
  min-height: 640px;
  background: #e9e9e9;
  overflow: hidden;
}

.cpp-configurator__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.05)
    ),
    #e9e9e9;
}

.cpp-configurator__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 4;
}

.cpp-configurator__stage.is-dimmed::after {
  opacity: 1;
  visibility: visible;
}

.cpp-configurator__center,
.cpp-settings-panel,
.cpp-configurator__toolbar,
.cpp-material-panel {
  position: relative;
  z-index: 5;
}

.cpp-configurator__center {
  width: 100%;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 70px 118px 70px;
  transition:
    padding 0.28s ease,
    justify-content 0.28s ease;
}

.cpp-configurator__stage.is-material-open .cpp-configurator__center {
  justify-content: flex-start;
  padding: 30px 560px 118px 70px;
}

.cpp-configurator__preview-wrap {
  position: relative;
  display: inline-block;
  padding-right: 42px;
  padding-bottom: 34px;
  perspective: 1400px;
  perspective-origin: 38% 50%;
}

.cpp-configurator__canvas-outer {
  width: clamp(420px, 34vw, 560px);
  max-width: calc(100vw - 640px);
  position: relative;
  overflow: visible;
  z-index: 2;
}

.cpp-configurator__canvas-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  border: none;
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 2;
}

.cpp-configurator__canvas-inner.is-dragging {
  cursor: grabbing;
}

.cpp-configurator__image {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  filter: saturate(0.96) contrast(1.02);
  transform-origin: top left;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.cpp-configurator__frame {
  position: absolute;
  pointer-events: none;
  z-index: 30;
  opacity: 0;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.cpp-configurator__frame--outer {
  top: -8px;
  right: -8px;
  bottom: -8px;
  left: -8px;
}

.cpp-configurator__frame--inner {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  box-sizing: border-box;
}

/* FĂRĂ RAMĂ */
.cpp-configurator__canvas-outer.frame-none .cpp-configurator__frame {
  opacity: 0;
}

/* toate ramele vizibile */
.cpp-configurator__canvas-outer.frame-white .cpp-configurator__frame,
.cpp-configurator__canvas-outer.frame-black .cpp-configurator__frame,
.cpp-configurator__canvas-outer.frame-gold .cpp-configurator__frame {
  opacity: 1;
}

/* =========================
   LIVE PREVIEW – UȘOR ÎNCLINAT
========================= */
.cpp-configurator__preview-wrap {
  perspective: 1400px;
  perspective-origin: 38% 50%;
}

.cpp-configurator__canvas-outer {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.cpp-configurator__canvas-outer.frame-white,
.cpp-configurator__canvas-outer.frame-black,
.cpp-configurator__canvas-outer.frame-gold {
  --frame-front: 10px;
  --side-depth: 22px;
  transform: rotateY(-14deg) rotateX(0.4deg);
  filter: drop-shadow(16px 16px 18px rgba(0,0,0,0.20));
}

.cpp-configurator__canvas-outer.frame-gold {
  --side-depth: 24px;
}

/* =========================
   FĂRĂ MUCHIE SUS
========================= */
.cpp-configurator__canvas-outer.frame-white::before,
.cpp-configurator__canvas-outer.frame-black::before,
.cpp-configurator__canvas-outer.frame-gold::before {
  content: none;
  display: none;
}

/* =========================
   MUCHIA LATERALĂ DREAPTA
========================= */
.cpp-configurator__canvas-outer.frame-white::after,
.cpp-configurator__canvas-outer.frame-black::after,
.cpp-configurator__canvas-outer.frame-gold::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--frame-front));
  bottom: calc(-1 * var(--frame-front));
  left: calc(100% + var(--frame-front));
  width: var(--side-depth);
  z-index: 6;
  pointer-events: none;
  transform: skewY(-8deg);
  transform-origin: left top;
  clip-path: polygon(
    0 0,
    100% 10px,
    100% calc(100% - 10px),
    0 100%
  );
  box-shadow:
    inset 1px 0 0 rgba(255,255,255,0.08),
    inset -1px 0 0 rgba(0,0,0,0.22),
    8px 0 14px rgba(0,0,0,0.18);
}

/* =========================
   ALB – MUCHIE ALBĂ
========================= */
.cpp-configurator__canvas-outer.frame-white::after {
  background: linear-gradient(
    to right,
    #ebe7df 0%,
    #d9d2c6 40%,
    #bfb7a9 75%,
    #9e9588 100%
  );
}

/* =========================
   NEGRU – MUCHIE NEAGRĂ
========================= */
.cpp-configurator__canvas-outer.frame-black::after {
  background: linear-gradient(
    to right,
    #2c2c2c 0%,
    #171717 45%,
    #0c0c0c 75%,
    #000000 100%
  );
}

/* =========================
   AURIU – LATERAL NEGRU
========================= */
.cpp-configurator__canvas-outer.frame-gold::after {
  background: linear-gradient(
    to right,
    #202020 0%,
    #111111 45%,
    #060606 75%,
    #000000 100%
  );
}

/* =========================
   RAMĂ EXTERIOARĂ
========================= */
.cpp-configurator__canvas-outer.frame-white .cpp-configurator__frame--outer,
.cpp-configurator__canvas-outer.frame-black .cpp-configurator__frame--outer,
.cpp-configurator__canvas-outer.frame-gold .cpp-configurator__frame--outer {
  top: -10px;
  right: -10px;
  bottom: -10px;
  left: -10px;
}

.cpp-configurator__canvas-outer.frame-white .cpp-configurator__frame--outer {
  border: 10px solid #f3f1ec;
  box-shadow:
    inset 0 2px 3px rgba(255,255,255,0.95),
    inset 0 -3px 6px rgba(0,0,0,0.12),
    inset -2px 0 5px rgba(0,0,0,0.10),
    inset 0 0 0 1px rgba(0,0,0,0.08),
    0 8px 18px rgba(0,0,0,0.16);
}

.cpp-configurator__canvas-outer.frame-black .cpp-configurator__frame--outer {
  border: 10px solid #232323;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.05),
    inset 0 -3px 6px rgba(0,0,0,0.35),
    inset -2px 0 5px rgba(0,0,0,0.28),
    0 8px 18px rgba(0,0,0,0.22);
}

.cpp-configurator__canvas-outer.frame-gold .cpp-configurator__frame--outer {
  border: 10px solid #caa85a;
  box-shadow:
    inset 0 2px 2px rgba(255,240,180,0.72),
    inset 0 -2px 4px rgba(120,80,20,0.20),
    inset -2px 0 4px rgba(120,80,20,0.18),
    0 8px 18px rgba(0,0,0,0.18);
}

/* =========================
   AMERICAN BOX – INTERIOR
========================= */
.cpp-configurator__canvas-outer.frame-white .cpp-configurator__frame--inner,
.cpp-configurator__canvas-outer.frame-black .cpp-configurator__frame--inner,
.cpp-configurator__canvas-outer.frame-gold .cpp-configurator__frame--inner {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 8px solid #111;
  background: transparent;
  z-index: 31;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.04),
    inset 0 -4px 8px rgba(0,0,0,0.50),
    inset -2px 0 4px rgba(0,0,0,0.38);
}

/* shadow discret pe pânză */
.cpp-configurator__canvas-outer.frame-white .cpp-configurator__canvas-inner,
.cpp-configurator__canvas-outer.frame-black .cpp-configurator__canvas-inner,
.cpp-configurator__canvas-outer.frame-gold .cpp-configurator__canvas-inner {
  box-shadow:
    0 4px 10px rgba(0,0,0,0.10),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}
/* =========================
   FILTRU ALB-NEGRU
========================= */
.cpp-configurator__canvas-inner.is-bw {
  filter: grayscale(100%) contrast(105%);
}
.cpp-configurator__bottom-ruler {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  width: 100%;
  height: 18px;
  background: rgba(27, 27, 27, 0.5);
  color: #bdbdbd;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-sizing: border-box;
}

.cpp-configurator__bottom-ruler span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #bdbdbd;
  white-space: nowrap;
}

.cpp-configurator__side-ruler {
  position: absolute !important;
  left: calc(100% + 21px) !important; /* FIX REAL mijloc */
  top: 0 !important;
  width: 18px !important;
  height: 100% !important;
  background: rgba(27, 27, 27, 0.5) !important;
  color: #bdbdbd !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  z-index: 50 !important;
}

.cpp-configurator__side-ruler span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.cpp-configurator__intro-card {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: min(390px, calc(100% - 40px));
  max-height: calc(100% - 56px);
  background: #ede8e5;
  padding: 16px 18px 18px;
  text-align: center;
  z-index: 8;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.cpp-configurator__intro-title {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  color: #191919;
}

.cpp-configurator__intro-text {
  margin: 0 auto 12px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.45;
  color: #282828;
}

.cpp-configurator__size-picker {
  margin-bottom: 14px;
  border: 1px solid #d7d2cd;
  background: #f7f7f7;
}

.cpp-size-group + .cpp-size-group {
  border-top: 1px solid #d7d2cd;
}

.cpp-size-group__head {
  width: 100%;
  min-height: 46px;
  border: 0;
  background: #f7f7f7;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: #202020;
  cursor: pointer;
}

.cpp-size-group__arrow {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cpp-size-group.is-open .cpp-size-group__arrow {
  transform: rotate(180deg);
}

.cpp-size-group__panel {
  display: none;
  background: #fff;
  border-top: 1px solid #d7d2cd;
  padding: 6px 0;
  max-height: 180px;
  overflow-y: auto;
}

.cpp-size-group.is-open .cpp-size-group__panel {
  display: block;
}

.cpp-size-option {
  width: 100%;
  min-height: 34px;
  border: 0;
  background: #fff;
  padding: 0 14px 0 36px;
  text-align: left;
  font-size: 13px;
  color: #111;
  cursor: pointer;
  position: relative;
}

.cpp-size-option:hover {
  background: #f4f1ee;
}

.cpp-size-option.is-selected::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #111;
  font-weight: 700;
}

.cpp-configurator__intro-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cpp-configurator__toolbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  min-height: 98px;
  background: #000;
  border-radius: 0;
  overflow: visible;
  z-index: 40;
}

.cpp-configurator__tool,
.cpp-configurator__cart {
  min-height: 98px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  padding: 0 26px;
  box-sizing: border-box;
}

.cpp-configurator__tool {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: #000;
  text-align: left;
}

.cpp-configurator__tool--settings,
.cpp-configurator__tool--material {
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  text-align: left;
  background: #000;
}

.cpp-configurator__tool-icon,
.cpp-configurator__cart-icon {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cpp-configurator__tool-copy,
.cpp-configurator__cart-copy {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.cpp-configurator__tool-title {
  font-size: 20px;
  line-height: 1.05;
  font-weight: 500;
}

.cpp-configurator__tool-sub {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.cpp-configurator__tool-arrow,
.cpp-configurator__cart-arrow {
  flex: 0 0 auto;
  font-size: 28px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
}

.cpp-configurator__tool-icon--settings svg,
.cpp-configurator__tool-icon--material svg,
.cpp-configurator__tool-arrow svg {
  width: 30px;
  height: 30px;
  display: block;
}

.cpp-configurator__cart {
  border: 0;
  background: #0b9ea0;
  cursor: pointer;
  text-align: left;
}

.cpp-configurator__cart-price {
  font-size: 19px;
  line-height: 1.1;
  font-weight: 700;
}

.cpp-configurator__cart-price span {
  font-weight: 700;
}

.cpp-configurator__cart-old {
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 400 !important;
  font-size: 16px;
}

.cpp-configurator__cart-sub {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.92);
}

.cpp-settings-panel {
  position: absolute;
  left: 48px;
  bottom: 96px;
  z-index: 30;
  width: 260px;
  background: #2b2b2b;
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
}

.cpp-settings-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cpp-settings-panel__inner {
  background: #2d2d2d;
  color: #fff;
  padding: 22px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.cpp-settings-panel__header {
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.cpp-settings-panel__title {
  font-size: 22px;
  line-height: 1.1;
}

.cpp-settings-panel__chevron {
  font-size: 18px;
  line-height: 1;
}

.cpp-settings-panel__label,
.cpp-settings-panel__section-title {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.cpp-settings-panel__select-wrap {
  margin-bottom: 14px;
}

.cpp-settings-panel__select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #fff;
  color: #111;
  padding: 0 12px;
  font-size: 14px;
}

.cpp-settings-panel__note {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.cpp-settings-panel__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

.cpp-settings-panel__checkbox input {
  margin: 0;
}

.cpp-material-panel {
  position: absolute;
  right: 22px;
  top: 28px;
  bottom: auto;
  width: 500px;
  max-width: calc(100% - 600px);
  min-height: 430px;
  background: #efefef;
  border: 1px solid #e2e2e2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.22s ease;
  z-index: 20;
  box-sizing: border-box;
}

.cpp-material-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.cpp-material-panel__inner {
  padding: 12px;
  min-height: 430px; /* FIX: conținutul nu mai schimbă înălțimea panoului */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.cpp-material-panel__top-switches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.cpp-material-type {
  appearance: none;
  border: 1px solid #d6d6d6;
  background: #fff;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 15px;
  color: #222;
}

.cpp-material-type.is-active {
  border-color: #222;
  box-shadow: 0 0 0 1px #222 inset;
}

.cpp-material-type__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9b9b9b;
}

.cpp-material-panel__section {
  margin-bottom: 18px;
  padding: 12px;
  background: #f3f3f3;
  border: 1px solid #e4e4e4;
}

.cpp-material-panel__label,
.cpp-material-panel__frames-title {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  text-align: left;
}

.cpp-material-panel__select-wrap {
  position: relative;
}

.cpp-material-panel__select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d4d4d4;
  background: #fff;
  padding: 0 38px 0 14px;
  font-size: 14px;
  color: #222;
}

.cpp-material-panel__frames {
  padding: 12px;
  background: #f3f3f3;
  border: 1px solid #d4d4d4;
}

/* POSTER PANEL */
.cpp-poster-panel {
  margin-top: 18px;
}

.cpp-poster-choice-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cpp-poster-choice {
  appearance: none;
  border: 1px solid #d9d9d9;
  background: #fff;
  min-width: 140px;
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #222;
}

.cpp-poster-choice.is-active {
  border-color: #222;
  box-shadow: 0 0 0 1px #222 inset;
}

.cpp-poster-label-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cpp-poster-label-row .cpp-material-panel__label {
  margin-bottom: 0;
}

.cpp-poster-tooltip-trigger {
  width: 20px;
  height: 20px;
  border: 1px solid #ff6a4d;
  border-radius: 50%;
  background: #fff;
  color: #ff6a4d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.cpp-poster-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d9d9d9;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-size: 13px;
  line-height: 1.45;
  color: #222;
  z-index: 30;
  display: none;
  box-sizing: border-box;
}

.cpp-poster-tooltip.is-open {
  display: block;
}

.cpp-material-frame-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cpp-material-frame {
  appearance: none;
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
}

.cpp-material-frame.is-active {
  border-color: #111;
  box-shadow: 0 0 0 1px #111 inset;
}

.cpp-material-frame__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.cpp-material-frame__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cpp-material-frame__thumb--empty {
  border: 1px dashed #cdcdcd;
  color: #666;
  font-size: 14px;
  line-height: 1.25;
}

.cpp-material-frame__title {
  font-size: 14px;
  line-height: 1.3;
  color: #111;
}

@media (max-width: 1200px) {
  .cpp-configurator__window {
    max-width: 1020px;
  }

  .cpp-configurator__stage {
    min-height: 600px;
  }

  .cpp-configurator__center {
    min-height: 600px;
    justify-content: center;
    padding: 28px 40px 110px 40px;
  }

  .cpp-configurator__stage.is-material-open .cpp-configurator__center {
    justify-content: flex-start;
    padding: 28px 430px 110px 40px;
  }

  .cpp-configurator__canvas-outer {
    width: clamp(360px, 34vw, 500px);
    max-width: calc(100vw - 560px);
  }

  .cpp-material-panel {
    width: 430px;
    max-width: calc(100% - 500px);
    right: 18px;
    bottom: 96px;
  }
}

@media (max-width: 989px) {
  .custom-photo-canvas-page__workspace {
    min-height: auto;
  }

  .cpp-configurator__head {
    margin-bottom: 14px;
  }

  .cpp-configurator__title {
    font-size: 18px;
  }

  .cpp-configurator__stage {
    min-height: auto;
  }

  .cpp-configurator__center {
    min-height: auto;
    justify-content: center;
    padding: 34px 28px 110px;
  }

  .cpp-configurator__canvas-outer {
    width: min(100%, 460px);
    max-width: calc(100vw - 90px);
  }

  .cpp-configurator__toolbar {
    grid-template-columns: 1fr;
  }

  .cpp-configurator__tool,
  .cpp-configurator__cart {
    min-height: 72px;
    padding: 0 18px;
  }

  .cpp-configurator__tool-title {
    font-size: 18px;
  }

  .cpp-configurator__tool-sub,
  .cpp-configurator__cart-sub {
    font-size: 13px;
  }

  .cpp-settings-panel {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 84px;
  }

  .cpp-material-panel {
    left: 12px;
    right: 12px;
    bottom: 84px;
    top: auto;
    width: auto;
    max-width: none;
  }

  .cpp-material-panel__top-switches,
  .cpp-material-frame-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* FIX STEP BADGE 1 2 3 - GLOBAL */

.cpp-configurator__step-badge {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: 2px solid #ffffff;
  box-sizing: border-box;
  flex-shrink: 0;

  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}

.cpp-configurator__tool.is-active .cpp-configurator__step-badge {
  background: #ffffff;
  color: #000000;
}

.cpp-configurator__cart .cpp-configurator__step-badge {
  border-color: #ffffff;
  color: #ffffff;
}

.cpp-configurator__cart.is-active .cpp-configurator__step-badge {
  background: #ffffff;
  color: #0f8f8b;
}
/* =========================
   POSTER LIVE PREVIEW
========================= */

.cpp-configurator__canvas-outer.poster-preview {
  --poster-mat-inset: 0px;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}

/* rame exterioare */
.cpp-configurator__canvas-outer.poster-preview.poster-frame-black {
  box-shadow:
    0 0 0 10px #1f1f1f,
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.cpp-configurator__canvas-outer.poster-preview.poster-frame-white {
  box-shadow:
    /* rama propriu-zisă */
    0 0 0 10px #f3f1ec,

    /* highlight sus (lumina) */
    inset 0 3px 4px rgba(255,255,255,0.9),

    /* highlight lateral */
    inset 2px 0 4px rgba(255,255,255,0.6),

    /* umbra jos */
    inset 0 -4px 8px rgba(0,0,0,0.12),

    /* umbra dreapta */
    inset -3px 0 8px rgba(0,0,0,0.15),

    /* contur subtil */
    inset 0 0 0 1px rgba(0,0,0,0.08),

    /* shadow pe perete */
    0 18px 40px rgba(0,0,0,0.25),
    0 6px 14px rgba(0,0,0,0.18);
}

/* shell = doar container, nu mai desenează alb */
.cpp-configurator__canvas-outer.poster-preview .cpp-configurator__poster-shell {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden !important;
  background: transparent;
  z-index: 1;
}

/* mat = paspartu-ul real */
.cpp-configurator__canvas-outer.poster-preview .cpp-configurator__poster-mat {
  position: absolute;
  top: var(--poster-mat-inset);
  right: var(--poster-mat-inset);
  bottom: var(--poster-mat-inset);
  left: var(--poster-mat-inset);
  pointer-events: none;
  box-sizing: border-box;
  overflow: hidden !important;
  background: transparent;
  z-index: 2;
}

/* când e activ paspartu, zona albă e între shell și mat */
.cpp-configurator__canvas-outer.poster-preview.has-poster-mat .cpp-configurator__poster-shell {
  background: #f7f7f5;

  box-shadow:
    /* margine subtila intre rama si paspartu */
    inset 0 0 0 1px rgba(0,0,0,0.08),

    /* adancime sus */
    inset 0 4px 8px rgba(0,0,0,0.10),

    /* adancime jos (important) */
    inset 0 -6px 12px rgba(0,0,0,0.14),

    /* lateral dreapta */
    inset -4px 0 10px rgba(0,0,0,0.12),

    /* highlight stanga */
    inset 4px 0 6px rgba(255,255,255,0.5);
}
/* PASPARTU + RAMA NEAGRĂ */
.cpp-configurator__canvas-outer.poster-preview.poster-frame-black.has-poster-mat .cpp-configurator__poster-shell {
  background: linear-gradient(
    to bottom,
    #f8f8f6,
    #ececea
  );

  box-shadow:
    /* margine intre rama neagra si paspartu */
    inset 0 0 0 1px rgba(0,0,0,0.18),

    /* adancime sus */
    inset 0 5px 10px rgba(0,0,0,0.25),

    /* adancime jos mai puternica */
    inset 0 -8px 16px rgba(0,0,0,0.30),

    /* lateral dreapta */
    inset -5px 0 12px rgba(0,0,0,0.28),

    /* highlight stanga */
    inset 4px 0 8px rgba(255,255,255,0.35);
}
/* imaginea */
.cpp-configurator__canvas-outer.poster-preview .cpp-configurator__image {
  z-index: 1;
}

.cpp-configurator__canvas-outer.poster-preview.poster-mat-3 {
  --poster-mat-inset: 18px;
}

.cpp-configurator__canvas-outer.poster-preview.poster-mat-5 {
  --poster-mat-inset: 30px;
}

.cpp-configurator__canvas-outer.poster-preview.poster-mat-7 {
  --poster-mat-inset: 42px;
}
.cpp-configurator__poster-shell,
.cpp-configurator__poster-mat {
  position: absolute;
  overflow: hidden;
}

.cpp-configurator__poster-shell {
  inset: 0;
}

.cpp-configurator__poster-mat {
  inset: 0;
}

.cpp-configurator__canvas-outer.has-poster-mat .cpp-configurator__poster-shell {
  background: #f7f7f5 !important;
}

.cpp-configurator__canvas-outer.has-poster-mat .cpp-configurator__poster-mat {
  inset: var(--poster-mat-inset) !important;
  background: transparent !important;
}

.cpp-configurator__canvas-outer.no-poster-mat .cpp-configurator__poster-shell,
.cpp-configurator__canvas-outer.no-poster-mat .cpp-configurator__poster-mat {
  inset: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
/* =========================
   REDUCE SPAȚIUL SUB PREVIEW
========================= */

/* container principal */
.cpp-configurator__center {
  align-items: flex-start;
  gap: 60px; /* era prea mare */
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* preview + rigle */
.cpp-configurator__preview-wrap {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* canvas container */
.cpp-configurator__canvas-outer {
  margin-bottom: 0 !important;
}


/* =========================
   RIDICĂ TOOLBAR (butoanele jos)
========================= */

.cpp-configurator__toolbar {
  margin-top: 10px !important; /* înainte era mare */
  padding-top: 0 !important;
}

/* elimină spațiu extra din stage */
.cpp-configurator__stage-wrap {
  padding-bottom: 0 !important;
}

/* dacă există min-height mare */
.cpp-configurator__stage {
  min-height: auto !important;
}
.cpp-configurator__tool-arrow svg {
  display: none;
}

.cpp-configurator__tool-arrow::before {
  content: "›";
  font-size: 22px;
  line-height: 1;
  display: inline-block;
}
