/* ColorMagic Print Products: design preview under the option dropdowns */

.cmpp-preview, .cmpp-preview * { box-sizing: border-box; }

.cmpp-preview {
  display: flex; flex-wrap: wrap; gap: 14px;
  clear: both; width: 100%; margin: 6px 0 22px;
}
.cmpp-preview .cmpp-preview-tile { flex: 1 1 130px; min-width: 0; max-width: 260px; }

.cmpp-preview .cmpp-preview-label {
  margin: 0 0 6px;
  font-size: 12px; font-weight: 700; line-height: 1.4;
  letter-spacing: .08em; text-transform: uppercase;
}

.cmpp-preview .cmpp-preview-frame {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; overflow: hidden;
  border: 1px dashed #b6bcc6; border-radius: 8px; background: #f4f5f7;
}
.cmpp-preview .cmpp-preview-tile.has-picture .cmpp-preview-frame { border: 1px solid #111827; background: #000; }

.cmpp-preview .cmpp-preview-frame .cmpp-preview-img {
  display: block; width: 100%; height: 100%; max-width: none; margin: 0;
  object-fit: contain; border-radius: 0; box-shadow: none;
}

.cmpp-preview .cmpp-preview-empty {
  padding: 10px;
  font-size: 13px; line-height: 1.4; text-align: center; color: #6b7280;
}
.cmpp-preview .cmpp-preview-tile.has-picture .cmpp-preview-empty { display: none; }
.cmpp-preview .cmpp-preview-tile.is-chosen .cmpp-preview-empty { color: #111827; font-weight: 600; }
